From 71e9d299e13fa332415c8d46a73821d4bc43dd87 Mon Sep 17 00:00:00 2001 From: rraymondgh <42769112+rraymondgh@users.noreply.github.com> Date: Sat, 27 Jul 2024 21:18:33 +0100 Subject: [PATCH 01/14] qbittorrent and transmission as clients of bitmagnet. Includes graphql mutation integration. webui is not included as that is subject to change, code is available --- go.mod | 5 + go.sum | 10 + graphql/mutations/ClientDownload.graphql | 5 + graphql/schema/enums.graphqls | 6 + graphql/schema/mutation.graphqls | 5 + internal/app/appfx/module.go | 2 + internal/client/client.go | 79 +++++++ internal/client/clientfx/module.go | 14 ++ internal/client/config.go | 44 ++++ internal/client/qbittorrent.go | 43 ++++ internal/client/transmission.go | 40 ++++ internal/gql/gql.gen.go | 234 ++++++++++++++++++- internal/gql/gqlfx/module.go | 4 +- internal/gql/gqlmodel/client.go | 3 + internal/gql/gqlmodel/gen/model.gen.go | 41 ++++ internal/gql/resolvers/mutation.resolvers.go | 22 ++ internal/gql/resolvers/resolver.go | 12 +- 17 files changed, 563 insertions(+), 6 deletions(-) create mode 100644 graphql/mutations/ClientDownload.graphql create mode 100644 internal/client/client.go create mode 100644 internal/client/clientfx/module.go create mode 100644 internal/client/config.go create mode 100644 internal/client/qbittorrent.go create mode 100644 internal/client/transmission.go create mode 100644 internal/gql/gqlmodel/client.go diff --git a/go.mod b/go.mod index 70d9aa60..87245cee 100644 --- a/go.mod +++ b/go.mod @@ -11,6 +11,7 @@ require ( github.com/anacrolix/dht/v2 v2.21.1 github.com/anacrolix/missinggo/v2 v2.7.3 github.com/anacrolix/torrent v1.55.0 + github.com/autobrr/go-qbittorrent v1.9.0 github.com/bits-and-blooms/bloom/v3 v3.7.0 github.com/facette/natsort v0.0.0-20181210072756-2cd4dd1e2dcb github.com/frankban/quicktest v1.14.6 @@ -21,6 +22,7 @@ require ( github.com/grafana/pyroscope-go/godeltaprof v0.1.7 github.com/hashicorp/golang-lru/v2 v2.0.7 github.com/hedhyw/rex v0.6.0 + github.com/hekmon/transmissionrpc/v3 v3.0.0 github.com/hellofresh/health-go/v5 v5.5.3 github.com/iancoleman/strcase v0.3.0 github.com/jackc/pgx/v5 v5.5.5 @@ -69,6 +71,7 @@ require ( github.com/anacrolix/stm v0.5.0 // indirect github.com/anacrolix/sync v0.5.1 // indirect github.com/antlr4-go/antlr/v4 v4.13.0 // indirect + github.com/avast/retry-go v3.0.0+incompatible // indirect github.com/benbjohnson/immutable v0.4.3 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bits-and-blooms/bitset v1.13.0 // indirect @@ -94,7 +97,9 @@ require ( github.com/google/go-cmp v0.6.0 // indirect github.com/google/uuid v1.6.0 // indirect github.com/gorilla/websocket v1.5.1 // indirect + github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/hcl v1.0.0 // indirect + github.com/hekmon/cunits/v2 v2.1.0 // indirect github.com/huandu/xstrings v1.4.0 // indirect github.com/imdario/mergo v0.3.16 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect diff --git a/go.sum b/go.sum index 2dbabe8b..b7d19c31 100644 --- a/go.sum +++ b/go.sum @@ -87,6 +87,10 @@ github.com/antlr4-go/antlr/v4 v4.13.0/go.mod h1:pfChB/xh/Unjila75QW7+VU4TSnWnnk9 github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 h1:jfIu9sQUG6Ig+0+Ap1h4unLjW6YQJpKZVmUzxsD4E/Q= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdKJDJF9BV14lnkjHmOQgcvEKgtqs5a1N3LNdJhGE= +github.com/autobrr/go-qbittorrent v1.9.0 h1:HaLueJ99D3G1cQ2r5ADVbtfwyEhekt2eQoEZ7yhAwYs= +github.com/autobrr/go-qbittorrent v1.9.0/go.mod h1:z88B3+O/1/3doQABErvIOOxE4hjpmIpulu6XzDG/q78= +github.com/avast/retry-go v3.0.0+incompatible h1:4SOWQ7Qs+oroOTQOYnAHqelpCO0biHSxpiH9JdtuBj0= +github.com/avast/retry-go v3.0.0+incompatible/go.mod h1:XtSnn+n/sHqQIpZ10K1qAevBhOOCWBLXXy3hyiqqBrY= github.com/benbjohnson/immutable v0.2.0/go.mod h1:uc6OHo6PN2++n98KHLxW8ef4W42ylHiQSENghE1ezxI= github.com/benbjohnson/immutable v0.4.3 h1:GYHcksoJ9K6HyAUpGxwZURrbTkXA0Dh4otXGqbhdrjA= github.com/benbjohnson/immutable v0.4.3/go.mod h1:qJIKKSmdqz1tVzNtst1DZzvaqOU1onk1rc03IeM3Owk= @@ -230,6 +234,8 @@ github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/ github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= github.com/grafana/pyroscope-go/godeltaprof v0.1.7 h1:C11j63y7gymiW8VugJ9ZW0pWfxTZugdSJyC48olk5KY= github.com/grafana/pyroscope-go/godeltaprof v0.1.7/go.mod h1:Tk376Nbldo4Cha9RgiU7ik8WKFkNpfds98aUzS8omLE= +github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= +github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= @@ -237,6 +243,10 @@ github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hedhyw/rex v0.6.0 h1:VoCgjAn2st5qshzHM3Qcd4lEHq8y1PDGNp+MO5x0G64= github.com/hedhyw/rex v0.6.0/go.mod h1:n9CYz3ztkAp56mrMXw65Q3LeXCO2AZSUvO7VMHsVMF8= +github.com/hekmon/cunits/v2 v2.1.0 h1:k6wIjc4PlacNOHwKEMBgWV2/c8jyD4eRMs5mR1BBhI0= +github.com/hekmon/cunits/v2 v2.1.0/go.mod h1:9r1TycXYXaTmEWlAIfFV8JT+Xo59U96yUJAYHxzii2M= +github.com/hekmon/transmissionrpc/v3 v3.0.0 h1:0Fb11qE0IBh4V4GlOwHNYpqpjcYDp5GouolwrpmcUDQ= +github.com/hekmon/transmissionrpc/v3 v3.0.0/go.mod h1:38SlNhFzinVUuY87wGj3acOmRxeYZAZfrj6Re7UgCDg= github.com/hellofresh/health-go/v5 v5.5.3 h1:i+mfJcA8te/QhBzrBZxOw344XgIvHrc9IQzrEyn3OUQ= github.com/hellofresh/health-go/v5 v5.5.3/go.mod h1:maWprKoK7N9zno7l2ubFEGVF2SDmTHq5D9sV+lCFmGs= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= diff --git a/graphql/mutations/ClientDownload.graphql b/graphql/mutations/ClientDownload.graphql new file mode 100644 index 00000000..7b05e72a --- /dev/null +++ b/graphql/mutations/ClientDownload.graphql @@ -0,0 +1,5 @@ +mutation ClientDownload($infoHashes: [Hash20!]!) { + client { + download(infoHashes: $infoHashes) + } +} diff --git a/graphql/schema/enums.graphqls b/graphql/schema/enums.graphqls index 60d60cfe..92030401 100644 --- a/graphql/schema/enums.graphqls +++ b/graphql/schema/enums.graphqls @@ -157,3 +157,9 @@ enum TorrentContentOrderBy { Name InfoHash } + + +enum ClientID { + Transmission + QBittorrent +} \ No newline at end of file diff --git a/graphql/schema/mutation.graphqls b/graphql/schema/mutation.graphqls index e0a6823e..98b7b7f2 100644 --- a/graphql/schema/mutation.graphqls +++ b/graphql/schema/mutation.graphqls @@ -1,5 +1,6 @@ type Mutation { torrent: TorrentMutation! + client: ClientMutation! } type TorrentMutation { @@ -8,3 +9,7 @@ type TorrentMutation { setTags(infoHashes: [Hash20!]!, tagNames: [String!]!): Void deleteTags(infoHashes: [Hash20!], tagNames: [String!]): Void } + +type ClientMutation { + download(infoHashes: [Hash20!]): Void +} diff --git a/internal/app/appfx/module.go b/internal/app/appfx/module.go index 9f0d1cd5..f4969086 100644 --- a/internal/app/appfx/module.go +++ b/internal/app/appfx/module.go @@ -8,6 +8,7 @@ import ( "github.com/bitmagnet-io/bitmagnet/internal/boilerplate/app/boilerplateappfx" "github.com/bitmagnet-io/bitmagnet/internal/boilerplate/httpserver/httpserverfx" "github.com/bitmagnet-io/bitmagnet/internal/classifier/classifierfx" + "github.com/bitmagnet-io/bitmagnet/internal/client/clientfx" "github.com/bitmagnet-io/bitmagnet/internal/database/databasefx" "github.com/bitmagnet-io/bitmagnet/internal/database/migrations" "github.com/bitmagnet-io/bitmagnet/internal/dhtcrawler/dhtcrawlerfx" @@ -44,6 +45,7 @@ func New() fx.Option { torznabfx.New(), versionfx.New(), classifierfx.New(), + clientfx.New(), // cli commands: fx.Provide( classifiercmd.New, diff --git a/internal/client/client.go b/internal/client/client.go new file mode 100644 index 00000000..fcb853dd --- /dev/null +++ b/internal/client/client.go @@ -0,0 +1,79 @@ +package client + +import ( + "context" + "fmt" + + q "github.com/bitmagnet-io/bitmagnet/internal/database/query" + "github.com/bitmagnet-io/bitmagnet/internal/database/search" + "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" + "github.com/bitmagnet-io/bitmagnet/internal/protocol" +) + +type AddInfoHashesRequest struct { + ClientID gen.ClientID + InfoHashes []protocol.ID +} + +type content = search.TorrentContentResultItem + +type clientWorker interface { + AddInfoHashes(ctx context.Context, req AddInfoHashesRequest) error + download(ctx context.Context, content *content, category string) error +} + +type commonClient struct { + config *Config + search search.Search + client clientWorker +} + +func New(cfg *Config, search search.Search) commonClient { + cc := commonClient{ + config: cfg, + search: search, + } + + return cc + +} + +func (c commonClient) AddInfoHashes(ctx context.Context, req AddInfoHashesRequest) error { + + switch c.config.DownloadClient { + case gen.ClientIDTransmission: + c.client = transmissionClient{commonClient: c} + case gen.ClientIDQBittorrent: + c.client = qBitClient{commonClient: c} + default: + return fmt.Errorf("not implemented %s", c.config.DownloadClient) + } + + options := []q.Option{ + q.Where( + search.TorrentContentInfoHashCriteria(req.InfoHashes...), + ), + search.TorrentContentCoreJoins(), + search.HydrateTorrentContentContent(), + search.HydrateTorrentContentTorrent(), + q.Limit(uint(len(req.InfoHashes))), + } + sr, err := c.search.TorrentContent(ctx, options...) + if err != nil { + return err + } + + for _, cr := range sr.Items { + category := c.config.Categories[cr.Content.Type] + if category == "" { + category = c.config.DefaultCategory + } + err = c.client.download(ctx, &cr, category) + if err != nil { + return err + } + + } + + return nil +} diff --git a/internal/client/clientfx/module.go b/internal/client/clientfx/module.go new file mode 100644 index 00000000..e5bb1872 --- /dev/null +++ b/internal/client/clientfx/module.go @@ -0,0 +1,14 @@ +package clientfx + +import ( + "github.com/bitmagnet-io/bitmagnet/internal/boilerplate/config/configfx" + "github.com/bitmagnet-io/bitmagnet/internal/client" + "go.uber.org/fx" +) + +func New() fx.Option { + return fx.Module( + "client", + configfx.NewConfigModule[client.Config]("client", client.NewDefaultConfig()), + ) +} diff --git a/internal/client/config.go b/internal/client/config.go new file mode 100644 index 00000000..88109d82 --- /dev/null +++ b/internal/client/config.go @@ -0,0 +1,44 @@ +package client + +import ( + "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" + "github.com/bitmagnet-io/bitmagnet/internal/model" +) + +type DownloadClient struct { + Host string + Port string + Username string + Password string +} + +type Config struct { + Transmission DownloadClient + Qbittorrent DownloadClient + DownloadClient gen.ClientID + DefaultCategory string + Categories map[model.ContentType]string +} + +func NewDefaultConfig() Config { + cfg := Config{ + Transmission: DownloadClient{ + Host: "localhost", + Port: "9091", + }, + Qbittorrent: DownloadClient{ + Host: "localhost", + Port: "8080", + Username: "required", + Password: "required", + }, + DownloadClient: gen.ClientIDQBittorrent, + DefaultCategory: "prowlarr", + } + cat := make(map[model.ContentType]string) + cat[model.ContentTypeTvShow] = "sonarr" + cat[model.ContentTypeMovie] = "radarr" + cfg.Categories = cat + + return cfg +} diff --git a/internal/client/qbittorrent.go b/internal/client/qbittorrent.go new file mode 100644 index 00000000..377616a8 --- /dev/null +++ b/internal/client/qbittorrent.go @@ -0,0 +1,43 @@ +package client + +import ( + "context" + "fmt" + + "github.com/autobrr/go-qbittorrent" +) + +type qBitClient struct { + commonClient +} + +func (c qBitClient) download(ctx context.Context, content *content, category string) error { + + qb := qbittorrent.NewClient(qbittorrent.Config{ + Host: fmt.Sprintf("http://%v:%v/", c.config.Qbittorrent.Host, c.config.Qbittorrent.Port), + Username: c.config.Qbittorrent.Username, + Password: c.config.Qbittorrent.Password, + }) + + err := qb.LoginCtx(ctx) + if err != nil { + return err + } + + pref, err := qb.GetAppPreferencesCtx(ctx) + if err != nil { + return err + } + + err = qb.AddTorrentFromUrlCtx( + ctx, + content.Torrent.MagnetUri(), + map[string]string{ + "savepath": fmt.Sprintf("%v/%v", pref.SavePath, category), + "category": category, + }, + ) + + return err + +} diff --git a/internal/client/transmission.go b/internal/client/transmission.go new file mode 100644 index 00000000..840971b5 --- /dev/null +++ b/internal/client/transmission.go @@ -0,0 +1,40 @@ +package client + +import ( + "context" + "fmt" + "net/url" + + "github.com/hekmon/transmissionrpc/v3" +) + +type transmissionClient struct { + commonClient +} + +func (c transmissionClient) download(ctx context.Context, content *content, category string) error { + + endpoint, err := url.Parse(fmt.Sprintf("http://%v:%v/transmission/rpc", c.config.Transmission.Host, c.config.Transmission.Port)) + if err != nil { + return err + } + tbt, err := transmissionrpc.New(endpoint, nil) + if err != nil { + return err + } + + settings, err := tbt.SessionArgumentsGetAll(ctx) + if err != nil { + return err + } + + dir := *settings.DownloadDir + "/" + category + + magnet := content.Torrent.MagnetUri() + _, err = tbt.TorrentAdd(ctx, transmissionrpc.TorrentAddPayload{ + Filename: &magnet, + DownloadDir: &dir, + }) + return err + +} diff --git a/internal/gql/gql.gen.go b/internal/gql/gql.gen.go index 35c78013..7a730cdd 100644 --- a/internal/gql/gql.gen.go +++ b/internal/gql/gql.gen.go @@ -44,6 +44,7 @@ type Config struct { } type ResolverRoot interface { + ClientMutation() ClientMutationResolver Content() ContentResolver Mutation() MutationResolver Query() QueryResolver @@ -55,6 +56,10 @@ type DirectiveRoot struct { } type ComplexityRoot struct { + ClientMutation struct { + Download func(childComplexity int, infoHashes []protocol.ID) int + } + Content struct { Adult func(childComplexity int) int Attributes func(childComplexity int) int @@ -139,6 +144,7 @@ type ComplexityRoot struct { } Mutation struct { + Client func(childComplexity int) int Torrent func(childComplexity int) int } @@ -308,11 +314,15 @@ type ComplexityRoot struct { } } +type ClientMutationResolver interface { + Download(ctx context.Context, obj *gqlmodel.ClientMutation, infoHashes []protocol.ID) (*string, error) +} type ContentResolver interface { OriginalLanguage(ctx context.Context, obj *model.Content) (*model.Language, error) } type MutationResolver interface { Torrent(ctx context.Context) (gqlmodel.TorrentMutation, error) + Client(ctx context.Context) (gqlmodel.ClientMutation, error) } type QueryResolver interface { Torrent(ctx context.Context) (gqlmodel.TorrentQuery, error) @@ -348,6 +358,18 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in _ = ec switch typeName + "." + field { + case "ClientMutation.download": + if e.complexity.ClientMutation.Download == nil { + break + } + + args, err := ec.field_ClientMutation_download_args(context.TODO(), rawArgs) + if err != nil { + return 0, false + } + + return e.complexity.ClientMutation.Download(childComplexity, args["infoHashes"].([]protocol.ID)), true + case "Content.adult": if e.complexity.Content.Adult == nil { break @@ -719,6 +741,13 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.MetadataSource.Name(childComplexity), true + case "Mutation.client": + if e.complexity.Mutation.Client == nil { + break + } + + return e.complexity.Mutation.Client(childComplexity), true + case "Mutation.torrent": if e.complexity.Mutation.Torrent == nil { break @@ -1768,7 +1797,12 @@ enum TorrentContentOrderBy { Name InfoHash } -`, BuiltIn: false}, + + +enum ClientID { + Transmission + QBittorrent +}`, BuiltIn: false}, {Name: "../../graphql/schema/models.graphqls", Input: `type Torrent { infoHash: Hash20! name: String! @@ -1902,6 +1936,7 @@ type ContentCollection { `, BuiltIn: false}, {Name: "../../graphql/schema/mutation.graphqls", Input: `type Mutation { torrent: TorrentMutation! + client: ClientMutation! } type TorrentMutation { @@ -1910,6 +1945,10 @@ type TorrentMutation { setTags(infoHashes: [Hash20!]!, tagNames: [String!]!): Void deleteTags(infoHashes: [Hash20!], tagNames: [String!]): Void } + +type ClientMutation { + download(infoHashes: [Hash20!]): Void +} `, BuiltIn: false}, {Name: "../../graphql/schema/query.graphqls", Input: `type Query { torrent: TorrentQuery! @@ -2125,6 +2164,21 @@ var parsedSchema = gqlparser.MustLoadSchema(sources...) // region ***************************** args.gotpl ***************************** +func (ec *executionContext) field_ClientMutation_download_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { + var err error + args := map[string]interface{}{} + var arg0 []protocol.ID + if tmp, ok := rawArgs["infoHashes"]; ok { + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("infoHashes")) + arg0, err = ec.unmarshalOHash202ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋprotocolᚐIDᚄ(ctx, tmp) + if err != nil { + return nil, err + } + } + args["infoHashes"] = arg0 + return args, nil +} + func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} @@ -2313,6 +2367,58 @@ func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArg // region **************************** field.gotpl ***************************** +func (ec *executionContext) _ClientMutation_download(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.ClientMutation) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_ClientMutation_download(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return ec.resolvers.ClientMutation().Download(rctx, obj, fc.Args["infoHashes"].([]protocol.ID)) + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(*string) + fc.Result = res + return ec.marshalOVoid2ᚖstring(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_ClientMutation_download(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "ClientMutation", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Void does not have child fields") + }, + } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field_ClientMutation_download_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } + return fc, nil +} + func (ec *executionContext) _Content_type(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_type(ctx, field) if err != nil { @@ -4738,6 +4844,54 @@ func (ec *executionContext) fieldContext_Mutation_torrent(ctx context.Context, f return fc, nil } +func (ec *executionContext) _Mutation_client(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_Mutation_client(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return ec.resolvers.Mutation().Client(rctx) + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + if !graphql.HasFieldError(ctx, fc) { + ec.Errorf(ctx, "must not be null") + } + return graphql.Null + } + res := resTmp.(gqlmodel.ClientMutation) + fc.Result = res + return ec.marshalNClientMutation2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐClientMutation(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_Mutation_client(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "Mutation", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "download": + return ec.fieldContext_ClientMutation_download(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type ClientMutation", field.Name) + }, + } + return fc, nil +} + func (ec *executionContext) _Query_torrent(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Query_torrent(ctx, field) if err != nil { @@ -12063,6 +12217,73 @@ func (ec *executionContext) unmarshalInputVideoSourceFacetInput(ctx context.Cont // region **************************** object.gotpl **************************** +var clientMutationImplementors = []string{"ClientMutation"} + +func (ec *executionContext) _ClientMutation(ctx context.Context, sel ast.SelectionSet, obj *gqlmodel.ClientMutation) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, clientMutationImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("ClientMutation") + case "download": + field := field + + innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._ClientMutation_download(ctx, field, obj) + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + var contentImplementors = []string{"Content"} func (ec *executionContext) _Content(ctx context.Context, sel ast.SelectionSet, obj *model.Content) graphql.Marshaler { @@ -12692,6 +12913,13 @@ func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet) if out.Values[i] == graphql.Null { out.Invalids++ } + case "client": + out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { + return ec._Mutation_client(ctx, field) + }) + if out.Values[i] == graphql.Null { + out.Invalids++ + } default: panic("unknown field " + strconv.Quote(field.Name)) } @@ -14410,6 +14638,10 @@ func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.Se return res } +func (ec *executionContext) marshalNClientMutation2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐClientMutation(ctx context.Context, sel ast.SelectionSet, v gqlmodel.ClientMutation) graphql.Marshaler { + return ec._ClientMutation(ctx, sel, &v) +} + func (ec *executionContext) marshalNContentAttribute2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentAttribute(ctx context.Context, sel ast.SelectionSet, v model.ContentAttribute) graphql.Marshaler { return ec._ContentAttribute(ctx, sel, &v) } diff --git a/internal/gql/gqlfx/module.go b/internal/gql/gqlfx/module.go index 7d34807b..b2e76bef 100644 --- a/internal/gql/gqlfx/module.go +++ b/internal/gql/gqlfx/module.go @@ -3,6 +3,7 @@ package gqlfx import ( "github.com/99designs/gqlgen/graphql" "github.com/bitmagnet-io/bitmagnet/internal/boilerplate/lazy" + "github.com/bitmagnet-io/bitmagnet/internal/client" "github.com/bitmagnet-io/bitmagnet/internal/database/dao" "github.com/bitmagnet-io/bitmagnet/internal/database/search" "github.com/bitmagnet-io/bitmagnet/internal/gql" @@ -21,6 +22,7 @@ func New() fx.Option { func( ls lazy.Lazy[search.Search], ld lazy.Lazy[*dao.Query], + c client.Config, ) lazy.Lazy[gql.ResolverRoot] { return lazy.New(func() (gql.ResolverRoot, error) { s, err := ls.Get() @@ -31,7 +33,7 @@ func New() fx.Option { if err != nil { return nil, err } - return resolvers.New(d, s), nil + return resolvers.New(d, s, c), nil }) }, func( diff --git a/internal/gql/gqlmodel/client.go b/internal/gql/gqlmodel/client.go new file mode 100644 index 00000000..f66be420 --- /dev/null +++ b/internal/gql/gqlmodel/client.go @@ -0,0 +1,3 @@ +package gqlmodel + +type ClientMutation struct{} diff --git a/internal/gql/gqlmodel/gen/model.gen.go b/internal/gql/gqlmodel/gen/model.gen.go index 0555e5f5..c644dd9e 100644 --- a/internal/gql/gqlmodel/gen/model.gen.go +++ b/internal/gql/gqlmodel/gen/model.gen.go @@ -167,6 +167,47 @@ type VideoSourceFacetInput struct { Filter graphql.Omittable[[]*model.VideoSource] `json:"filter,omitempty"` } +type ClientID string + +const ( + ClientIDTransmission ClientID = "Transmission" + ClientIDQBittorrent ClientID = "QBittorrent" +) + +var AllClientID = []ClientID{ + ClientIDTransmission, + ClientIDQBittorrent, +} + +func (e ClientID) IsValid() bool { + switch e { + case ClientIDTransmission, ClientIDQBittorrent: + return true + } + return false +} + +func (e ClientID) String() string { + return string(e) +} + +func (e *ClientID) UnmarshalGQL(v interface{}) error { + str, ok := v.(string) + if !ok { + return fmt.Errorf("enums must be strings") + } + + *e = ClientID(str) + if !e.IsValid() { + return fmt.Errorf("%s is not a valid ClientID", str) + } + return nil +} + +func (e ClientID) MarshalGQL(w io.Writer) { + fmt.Fprint(w, strconv.Quote(e.String())) +} + type TorrentContentOrderBy string const ( diff --git a/internal/gql/resolvers/mutation.resolvers.go b/internal/gql/resolvers/mutation.resolvers.go index 65d38914..810130e9 100644 --- a/internal/gql/resolvers/mutation.resolvers.go +++ b/internal/gql/resolvers/mutation.resolvers.go @@ -7,16 +7,34 @@ package resolvers import ( "context" + "github.com/bitmagnet-io/bitmagnet/internal/client" "github.com/bitmagnet-io/bitmagnet/internal/gql" "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel" "github.com/bitmagnet-io/bitmagnet/internal/protocol" ) +// Download is the resolver for the download field. +func (r *clientMutationResolver) Download(ctx context.Context, obj *gqlmodel.ClientMutation, infoHashes []protocol.ID) (*string, error) { + c := client.New(&r.clientConfig, r.search) + err := c.AddInfoHashes(ctx, + client.AddInfoHashesRequest{ + ClientID: r.clientConfig.DownloadClient, + InfoHashes: infoHashes, + }) + + return nil, err +} + // Torrent is the resolver for the torrent field. func (r *mutationResolver) Torrent(ctx context.Context) (gqlmodel.TorrentMutation, error) { return gqlmodel.TorrentMutation{}, nil } +// Client is the resolver for the client field. +func (r *mutationResolver) Client(ctx context.Context) (gqlmodel.ClientMutation, error) { + return gqlmodel.ClientMutation{}, nil +} + // Delete is the resolver for the delete field. func (r *torrentMutationResolver) Delete(ctx context.Context, obj *gqlmodel.TorrentMutation, infoHashes []protocol.ID) (*string, error) { _, err := r.dao.DeleteAndBlockTorrents(ctx, infoHashes) @@ -38,11 +56,15 @@ func (r *torrentMutationResolver) DeleteTags(ctx context.Context, obj *gqlmodel. return nil, r.dao.TorrentTag.Delete(ctx, infoHashes, tagNames) } +// ClientMutation returns gql.ClientMutationResolver implementation. +func (r *Resolver) ClientMutation() gql.ClientMutationResolver { return &clientMutationResolver{r} } + // Mutation returns gql.MutationResolver implementation. func (r *Resolver) Mutation() gql.MutationResolver { return &mutationResolver{r} } // TorrentMutation returns gql.TorrentMutationResolver implementation. func (r *Resolver) TorrentMutation() gql.TorrentMutationResolver { return &torrentMutationResolver{r} } +type clientMutationResolver struct{ *Resolver } type mutationResolver struct{ *Resolver } type torrentMutationResolver struct{ *Resolver } diff --git a/internal/gql/resolvers/resolver.go b/internal/gql/resolvers/resolver.go index ccfea20f..fe7ab8c7 100644 --- a/internal/gql/resolvers/resolver.go +++ b/internal/gql/resolvers/resolver.go @@ -1,6 +1,7 @@ package resolvers import ( + "github.com/bitmagnet-io/bitmagnet/internal/client" "github.com/bitmagnet-io/bitmagnet/internal/database/dao" "github.com/bitmagnet-io/bitmagnet/internal/database/search" "github.com/bitmagnet-io/bitmagnet/internal/gql" @@ -11,16 +12,19 @@ import ( // It serves as dependency injection for your app, add any dependencies you require here. type Resolver struct { - dao *dao.Query - search search.Search + dao *dao.Query + search search.Search + clientConfig client.Config } func New( dao *dao.Query, search search.Search, + clientConfig client.Config, ) gql.ResolverRoot { return &Resolver{ - dao: dao, - search: search, + dao: dao, + search: search, + clientConfig: clientConfig, } } From 5c5a6a89f3ffdef35070cc608a26ca4403d85d70 Mon Sep 17 00:00:00 2001 From: rraymondgh <42769112+rraymondgh@users.noreply.github.com> Date: Sat, 27 Jul 2024 21:18:33 +0100 Subject: [PATCH 02/14] qbittorrent and transmission as clients of bitmagnet. Includes graphql mutation integration. webui is not included as that is subject to change, code is available --- go.mod | 13 +- go.sum | 103 ++------ graphql/mutations/ClientDownload.graphql | 5 + graphql/schema/enums.graphqls | 6 + graphql/schema/mutation.graphqls | 5 + internal/app/appfx/module.go | 2 + internal/client/client.go | 79 ++++++ internal/client/clientfx/module.go | 14 ++ internal/client/config.go | 44 ++++ internal/client/qbittorrent.go | 43 ++++ internal/client/transmission.go | 40 +++ internal/gql/gql.gen.go | 251 ++++++++++++++++++- internal/gql/gqlfx/module.go | 4 + internal/gql/gqlmodel/client.go | 3 + internal/gql/gqlmodel/gen/model.gen.go | 41 +++ internal/gql/resolvers/mutation.resolvers.go | 22 ++ internal/gql/resolvers/resolver.go | 2 + 17 files changed, 587 insertions(+), 90 deletions(-) create mode 100644 graphql/mutations/ClientDownload.graphql create mode 100644 internal/client/client.go create mode 100644 internal/client/clientfx/module.go create mode 100644 internal/client/config.go create mode 100644 internal/client/qbittorrent.go create mode 100644 internal/client/transmission.go create mode 100644 internal/gql/gqlmodel/client.go diff --git a/go.mod b/go.mod index dc8bf7cc..3ebaa86e 100644 --- a/go.mod +++ b/go.mod @@ -11,6 +11,7 @@ require ( github.com/anacrolix/dht/v2 v2.22.0 github.com/anacrolix/missinggo/v2 v2.8.0 github.com/anacrolix/torrent v1.57.1 + github.com/autobrr/go-qbittorrent v1.9.0 github.com/bits-and-blooms/bloom/v3 v3.7.0 github.com/facette/natsort v0.0.0-20181210072756-2cd4dd1e2dcb github.com/frankban/quicktest v1.14.6 @@ -20,7 +21,8 @@ require ( github.com/google/cel-go v0.21.0 github.com/grafana/pyroscope-go/godeltaprof v0.1.8 github.com/hashicorp/golang-lru/v2 v2.0.7 - github.com/hedhyw/rex v1.0.0 + github.com/hedhyw/rex v0.6.0 + github.com/hekmon/transmissionrpc/v3 v3.0.0 github.com/iancoleman/strcase v0.3.0 github.com/jackc/pgx/v5 v5.7.1 github.com/jedib0t/go-pretty/v6 v6.6.0 @@ -67,8 +69,9 @@ require ( github.com/anacrolix/missinggo/perf v1.0.0 // indirect github.com/anacrolix/multiless v0.4.0 // indirect github.com/anacrolix/stm v0.5.0 // indirect - github.com/anacrolix/sync v0.5.3 // indirect - github.com/antlr4-go/antlr/v4 v4.13.1 // indirect + github.com/anacrolix/sync v0.5.1 // indirect + github.com/antlr4-go/antlr/v4 v4.13.0 // indirect + github.com/avast/retry-go v3.0.0+incompatible // indirect github.com/benbjohnson/immutable v0.4.3 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bits-and-blooms/bitset v1.14.3 // indirect @@ -93,8 +96,10 @@ require ( github.com/golang/mock v1.6.0 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.3 // indirect + github.com/gorilla/websocket v1.5.1 // indirect + github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/hcl v1.0.0 // indirect + github.com/hekmon/cunits/v2 v2.1.0 // indirect github.com/huandu/xstrings v1.5.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect diff --git a/go.sum b/go.sum index 3db31f76..9d187925 100644 --- a/go.sum +++ b/go.sum @@ -40,7 +40,6 @@ github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuy github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/anacrolix/chansync v0.6.0 h1:/aQVvZ1yLRhmqEYrr9dC92JwzNBQ/SNnFi4uk+fTkQY= github.com/anacrolix/chansync v0.6.0/go.mod h1:DZsatdsdXxD0WiwcGl0nJVwyjCKMDv+knl1q2iBjA2k= github.com/anacrolix/dht/v2 v2.22.0 h1:wat5FLdT25vltHsjX377GBrpK9o6L2QVn541bIguCYo= @@ -65,7 +64,6 @@ github.com/anacrolix/missinggo/perf v1.0.0 h1:7ZOGYziGEBytW49+KmYGTaNfnwUqP1HBsy github.com/anacrolix/missinggo/perf v1.0.0/go.mod h1:ljAFWkBuzkO12MQclXzZrosP5urunoLS0Cbvb4V0uMQ= github.com/anacrolix/missinggo/v2 v2.2.0/go.mod h1:o0jgJoYOyaoYQ4E2ZMISVa9c88BbUBVQQW4QeRkNCGY= github.com/anacrolix/missinggo/v2 v2.5.1/go.mod h1:WEjqh2rmKECd0t1VhQkLGTdIWXO6f6NLjp5GlMZ+6FA= -github.com/anacrolix/missinggo/v2 v2.7.3/go.mod h1:mIEtp9pgaXqt8VQ3NQxFOod/eQ1H0D1XsZzKUQfwtac= github.com/anacrolix/missinggo/v2 v2.8.0 h1:6pGnVOlR6TWL9JM5Msyezij8YHU3+oHO7r82Eql/kpA= github.com/anacrolix/missinggo/v2 v2.8.0/go.mod h1:vVO5FEziQm+NFmJesc7StpkquZk+WJFCaL0Wp//2sa0= github.com/anacrolix/multiless v0.4.0 h1:lqSszHkliMsZd2hsyrDvHOw4AbYWa+ijQ66LzbjqWjM= @@ -74,8 +72,8 @@ github.com/anacrolix/stm v0.2.0/go.mod h1:zoVQRvSiGjGoTmbM0vSLIiaKjWtNPeTvXUSdJQ github.com/anacrolix/stm v0.5.0 h1:9df1KBpttF0TzLgDq51Z+TEabZKMythqgx89f1FQJt8= github.com/anacrolix/stm v0.5.0/go.mod h1:MOwrSy+jCm8Y7HYfMAwPj7qWVu7XoVvjOiYwJmpeB/M= github.com/anacrolix/sync v0.3.0/go.mod h1:BbecHL6jDSExojhNtgTFSBcdGerzNc64tz3DCOj/I0g= -github.com/anacrolix/sync v0.5.3 h1:iyMUiRRzTnD15+YQYxmDoobGdIbmUxdD4TNO67aCMYI= -github.com/anacrolix/sync v0.5.3/go.mod h1:S51SPBetDsINK/KSNJtZkfM78s5rMeiO11/GNK6Rmh4= +github.com/anacrolix/sync v0.5.1 h1:FbGju6GqSjzVoTgcXTUKkF041lnZkG5P0C3T5RL3SGc= +github.com/anacrolix/sync v0.5.1/go.mod h1:BbecHL6jDSExojhNtgTFSBcdGerzNc64tz3DCOj/I0g= github.com/anacrolix/tagflag v0.0.0-20180109131632-2146c8d41bf0/go.mod h1:1m2U/K6ZT+JZG0+bdMK6qauP49QT4wE5pmhJXOKKCHw= github.com/anacrolix/tagflag v1.0.0/go.mod h1:1m2U/K6ZT+JZG0+bdMK6qauP49QT4wE5pmhJXOKKCHw= github.com/anacrolix/tagflag v1.1.0/go.mod h1:Scxs9CV10NQatSmbyjqmqmeQNwGzlNe0CMUMIxqHIG8= @@ -85,11 +83,15 @@ github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNg github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= github.com/andybalholm/cascadia v1.3.2 h1:3Xi6Dw5lHF15JtdcmAHD3i1+T8plmv7BQ/nsViSLyss= github.com/andybalholm/cascadia v1.3.2/go.mod h1:7gtRlve5FxPPgIgX36uWBX58OdBsSS6lUvCFb+h7KvU= -github.com/antlr4-go/antlr/v4 v4.13.1 h1:SqQKkuVZ+zWkMMNkjy5FZe5mr5WURWnlpmOuzYWrPrQ= -github.com/antlr4-go/antlr/v4 v4.13.1/go.mod h1:GKmUxMtwp6ZgGwZSva4eWPC5mS6vUAmOABFgjdkM7Nw= +github.com/antlr4-go/antlr/v4 v4.13.0 h1:lxCg3LAv+EUK6t1i0y1V6/SLeUi0eKEKdhQAlS8TVTI= +github.com/antlr4-go/antlr/v4 v4.13.0/go.mod h1:pfChB/xh/Unjila75QW7+VU4TSnWnnk9UTnmpPaOR2g= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 h1:jfIu9sQUG6Ig+0+Ap1h4unLjW6YQJpKZVmUzxsD4E/Q= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdKJDJF9BV14lnkjHmOQgcvEKgtqs5a1N3LNdJhGE= +github.com/autobrr/go-qbittorrent v1.9.0 h1:HaLueJ99D3G1cQ2r5ADVbtfwyEhekt2eQoEZ7yhAwYs= +github.com/autobrr/go-qbittorrent v1.9.0/go.mod h1:z88B3+O/1/3doQABErvIOOxE4hjpmIpulu6XzDG/q78= +github.com/avast/retry-go v3.0.0+incompatible h1:4SOWQ7Qs+oroOTQOYnAHqelpCO0biHSxpiH9JdtuBj0= +github.com/avast/retry-go v3.0.0+incompatible/go.mod h1:XtSnn+n/sHqQIpZ10K1qAevBhOOCWBLXXy3hyiqqBrY= github.com/benbjohnson/immutable v0.2.0/go.mod h1:uc6OHo6PN2++n98KHLxW8ef4W42ylHiQSENghE1ezxI= github.com/benbjohnson/immutable v0.4.3 h1:GYHcksoJ9K6HyAUpGxwZURrbTkXA0Dh4otXGqbhdrjA= github.com/benbjohnson/immutable v0.4.3/go.mod h1:qJIKKSmdqz1tVzNtst1DZzvaqOU1onk1rc03IeM3Owk= @@ -118,9 +120,6 @@ github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UF github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chigopher/pathlib v0.19.1 h1:RoLlUJc0CqBGwq239cilyhxPNLXTK+HXoASGyGznx5A= github.com/chigopher/pathlib v0.19.1/go.mod h1:tzC1dZLW8o33UQpWkNkhvPwL5n4yyFRFm/jL1YGWFvY= -github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY= -github.com/chzyer/readline v1.5.0/go.mod h1:x22KAscuvRqlLoK9CsoYsmxoXZMMFVyOl86cAH8qUic= -github.com/chzyer/test v0.0.0-20210722231415-061457976a23/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudwego/base64x v0.1.4 h1:jwCgWpFanWmN8xoIUHa2rtzmkd5J2plF/dnLS6Xd/0Y= github.com/cloudwego/base64x v0.1.4/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w= @@ -170,10 +169,8 @@ github.com/glycerine/goconvey v0.0.0-20190315024820-982ee783a72e/go.mod h1:Ogl1T github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= @@ -211,8 +208,6 @@ github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:x github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180124185431-e89373fe6b4a/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -223,15 +218,10 @@ github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5a github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26/go.mod h1:dDKJzRmX4S37WGHujM7tX//fmj1uioxKzKxz3lo4HJo= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= @@ -240,29 +230,33 @@ github.com/gopherjs/gopherjs v0.0.0-20190309154008-847fc94819f9/go.mod h1:wJfORR github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= -github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= +github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= +github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= github.com/grafana/pyroscope-go/godeltaprof v0.1.8 h1:iwOtYXeeVSAeYefJNaxDytgjKtUuKQbJqgAIjlnicKg= github.com/grafana/pyroscope-go/godeltaprof v0.1.8/go.mod h1:2+l7K7twW49Ct4wFluZD3tZ6e0SjanjcUUBPVD/UuGU= +github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= +github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hedhyw/rex v1.0.0 h1:f7QNmVMBsmuEop/wg85byq6YbOHQr0q3Y78Q3IwKp+I= -github.com/hedhyw/rex v1.0.0/go.mod h1:n9CYz3ztkAp56mrMXw65Q3LeXCO2AZSUvO7VMHsVMF8= +github.com/hedhyw/rex v0.6.0 h1:VoCgjAn2st5qshzHM3Qcd4lEHq8y1PDGNp+MO5x0G64= +github.com/hedhyw/rex v0.6.0/go.mod h1:n9CYz3ztkAp56mrMXw65Q3LeXCO2AZSUvO7VMHsVMF8= +github.com/hekmon/cunits/v2 v2.1.0 h1:k6wIjc4PlacNOHwKEMBgWV2/c8jyD4eRMs5mR1BBhI0= +github.com/hekmon/cunits/v2 v2.1.0/go.mod h1:9r1TycXYXaTmEWlAIfFV8JT+Xo59U96yUJAYHxzii2M= +github.com/hekmon/transmissionrpc/v3 v3.0.0 h1:0Fb11qE0IBh4V4GlOwHNYpqpjcYDp5GouolwrpmcUDQ= +github.com/hekmon/transmissionrpc/v3 v3.0.0/go.mod h1:38SlNhFzinVUuY87wGj3acOmRxeYZAZfrj6Re7UgCDg= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/huandu/xstrings v1.0.0/go.mod h1:4qWG/gcEcfX4z/mBDHJ++3ReCw9ibxbsNJbcucJdbSo= github.com/huandu/xstrings v1.2.0/go.mod h1:DvyZB1rfVYsBIigL8HwpZgxHwXozlTgGqn63UyNX5k4= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= -github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.5.0 h1:2ag3IFq9ZDANvthTwTiqSSZLjDc+BedvHPAp5tJy2TI= github.com/huandu/xstrings v1.5.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI= github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= -github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= @@ -283,18 +277,13 @@ github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kisielk/sqlstruct v0.0.0-20201105191214-5f3e10d3ab46/go.mod h1:yyMNCyc/Ib3bDTKd379tNMpB/7/H5TjM2Y9QJ5THLbE= github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc= @@ -304,7 +293,6 @@ github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= @@ -371,7 +359,6 @@ github.com/multiformats/go-varint v0.0.7/go.mod h1:r8PUYw/fD/SjBCiKOoDlGF6QawOEL github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4= github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= @@ -396,8 +383,6 @@ github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXP github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.5.1/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= -github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_golang v1.20.4 h1:Tgh3Yr67PaOv/uTqloMsCEdeuFTatm5zIq5+qNN23vI= github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= @@ -409,8 +394,6 @@ github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQy github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= -github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= github.com/prometheus/common v0.60.0 h1:+V9PAREWNvJMAuJ1x1BaWl9dewMW4YrHZQbx0sJNllA= github.com/prometheus/common v0.60.0/go.mod h1:h0LYf1R1deLSKtD4Vdg8gy4RuOvENW2J/h19V5NADQw= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= @@ -418,12 +401,9 @@ github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.0.11/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= -github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -456,7 +436,6 @@ github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/assertions v0.0.0-20190215210624-980c5ac6f3ac/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s= @@ -525,7 +504,6 @@ github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17 github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4= github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= @@ -546,7 +524,6 @@ golang.org/x/arch v0.11.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= @@ -557,7 +534,6 @@ golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTk golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= @@ -575,8 +551,6 @@ golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= @@ -592,8 +566,6 @@ golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -610,18 +582,11 @@ golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200413165638-669c56c373c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -655,7 +620,6 @@ golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3 golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= @@ -686,8 +650,6 @@ google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= @@ -704,7 +666,6 @@ gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= @@ -735,44 +696,16 @@ honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= lukechampine.com/blake3 v1.3.0 h1:sJ3XhFINmHSrYCgl958hscfIa3bw8x4DqMP3u1YvoYE= lukechampine.com/blake3 v1.3.0/go.mod h1:0OFRp7fBtAylGVCO40o87sbupkyIGgbpv1+M1k1LM6k= -lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= -lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= -modernc.org/cc/v3 v3.37.0/go.mod h1:vtL+3mdHx/wcj3iEGz84rQa8vEqR6XM84v5Lcvfph20= -modernc.org/cc/v3 v3.38.1/go.mod h1:vtL+3mdHx/wcj3iEGz84rQa8vEqR6XM84v5Lcvfph20= -modernc.org/cc/v3 v3.40.0/go.mod h1:/bTg4dnWkSXowUO6ssQKnOV0yMVxDYNIsIrzqTFDGH0= -modernc.org/ccgo/v3 v3.0.0-20220904174949-82d86e1b6d56/go.mod h1:YSXjPL62P2AMSxBphRHPn7IkzhVHqkvOnRKAKh+W6ZI= -modernc.org/ccgo/v3 v3.0.0-20220910160915-348f15de615a/go.mod h1:8p47QxPkdugex9J4n9P2tLZ9bK01yngIVp00g4nomW0= -modernc.org/ccgo/v3 v3.16.13-0.20221017192402-261537637ce8/go.mod h1:fUB3Vn0nVPReA+7IG7yZDfjv1TMWjhQP8gCxrFAtL5g= -modernc.org/ccgo/v3 v3.16.13/go.mod h1:2Quk+5YgpImhPjv2Qsob1DnZ/4som1lJTodubIcoUkY= -modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 h1:5D53IMaUuA5InSeMu9eJtlQXS2NxAhyWQvkKEgXZhHI= modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6/go.mod h1:Qz0X07sNOR1jWYCrJMEnbW/X55x206Q7Vt4mz6/wHp4= -modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= -modernc.org/libc v1.17.4/go.mod h1:WNg2ZH56rDEwdropAJeZPQkXmDwh+JCA1s/htl6r2fA= -modernc.org/libc v1.18.0/go.mod h1:vj6zehR5bfc98ipowQOM2nIDUZnVew/wNC/2tOGS+q0= -modernc.org/libc v1.19.0/go.mod h1:ZRfIaEkgrYgZDl6pa4W39HgN5G/yDW+NRmNKZBDFrk0= -modernc.org/libc v1.20.3/go.mod h1:ZRfIaEkgrYgZDl6pa4W39HgN5G/yDW+NRmNKZBDFrk0= -modernc.org/libc v1.21.4/go.mod h1:przBsL5RDOZajTVslkugzLBj1evTue36jEomFQOoYuI= -modernc.org/libc v1.21.5/go.mod h1:przBsL5RDOZajTVslkugzLBj1evTue36jEomFQOoYuI= -modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= modernc.org/mathutil v1.6.0 h1:fRe9+AmYlaej+64JsEEhoWuAYBkOtQiMEU7n/XgfYi4= modernc.org/mathutil v1.6.0/go.mod h1:Ui5Q9q1TR2gFm0AQRqQUaBWFLAhQpCwNcuhBOSedWPo= -modernc.org/memory v1.3.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= -modernc.org/memory v1.4.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= modernc.org/memory v1.8.0 h1:IqGTL6eFMaDZZhEWwcREgeMXYwmW83LYW8cROZYkg+E= modernc.org/memory v1.8.0/go.mod h1:XPZ936zp5OMKGWPqbD3JShgd/ZoQ7899TUuQqxY+peU= -modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= -modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= -modernc.org/sqlite v1.20.0/go.mod h1:EsYz8rfOvLCiYTy5ZFsOYzoCcRMu98YYkwAcCw5YIYw= modernc.org/sqlite v1.33.0 h1:WWkA/T2G17okiLGgKAj4/RMIvgyMT19yQ038160IeYk= modernc.org/sqlite v1.33.0/go.mod h1:9uQ9hF/pCZoYZK73D/ud5Z7cIRIILSZI8NdIemVMTX8= -modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw= modernc.org/strutil v1.2.0 h1:agBi9dp1I+eOnxXeiZawM8F4LawKv4NzGWSaLfyeNZA= modernc.org/strutil v1.2.0/go.mod h1:/mdcBmfOibveCTBxUl5B5l6W+TTH1FXPLHZE6bTosX0= -modernc.org/tcl v1.15.0/go.mod h1:xRoGotBZ6dU+Zo2tca+2EqVEeMmOUBzHnhIwq4YrVnE= -modernc.org/token v1.0.1/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y= modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= -modernc.org/z v1.7.0/go.mod h1:hVdgNMh8ggTuRG1rGU8x+xGRFfiQUIAw0ZqlPy8+HyQ= nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50= -zombiezen.com/go/sqlite v0.12.0/go.mod h1:RKdRR9xoQDSnB47yy7G4PtrjGZJtupb/SyEbJZLaRes= diff --git a/graphql/mutations/ClientDownload.graphql b/graphql/mutations/ClientDownload.graphql new file mode 100644 index 00000000..7b05e72a --- /dev/null +++ b/graphql/mutations/ClientDownload.graphql @@ -0,0 +1,5 @@ +mutation ClientDownload($infoHashes: [Hash20!]!) { + client { + download(infoHashes: $infoHashes) + } +} diff --git a/graphql/schema/enums.graphqls b/graphql/schema/enums.graphqls index 166ca94a..a7a0de9e 100644 --- a/graphql/schema/enums.graphqls +++ b/graphql/schema/enums.graphqls @@ -170,3 +170,9 @@ enum QueueJobsOrderByField { ran_at priority } + + +enum ClientID { + Transmission + QBittorrent +} \ No newline at end of file diff --git a/graphql/schema/mutation.graphqls b/graphql/schema/mutation.graphqls index 45d61c70..043ec292 100644 --- a/graphql/schema/mutation.graphqls +++ b/graphql/schema/mutation.graphqls @@ -1,6 +1,7 @@ type Mutation { torrent: TorrentMutation! queue: QueueMutation! + client: ClientMutation! } type TorrentMutation { @@ -9,3 +10,7 @@ type TorrentMutation { setTags(infoHashes: [Hash20!]!, tagNames: [String!]!): Void deleteTags(infoHashes: [Hash20!], tagNames: [String!]): Void } + +type ClientMutation { + download(infoHashes: [Hash20!]): Void +} diff --git a/internal/app/appfx/module.go b/internal/app/appfx/module.go index ef0503f3..6c76e1a0 100644 --- a/internal/app/appfx/module.go +++ b/internal/app/appfx/module.go @@ -8,6 +8,7 @@ import ( "github.com/bitmagnet-io/bitmagnet/internal/boilerplate/app/boilerplateappfx" "github.com/bitmagnet-io/bitmagnet/internal/boilerplate/httpserver/httpserverfx" "github.com/bitmagnet-io/bitmagnet/internal/classifier/classifierfx" + "github.com/bitmagnet-io/bitmagnet/internal/client/clientfx" "github.com/bitmagnet-io/bitmagnet/internal/database/databasefx" "github.com/bitmagnet-io/bitmagnet/internal/database/migrations" "github.com/bitmagnet-io/bitmagnet/internal/dhtcrawler/dhtcrawlerfx" @@ -48,6 +49,7 @@ func New() fx.Option { torznabfx.New(), versionfx.New(), classifierfx.New(), + clientfx.New(), // cli commands: fx.Provide( classifiercmd.New, diff --git a/internal/client/client.go b/internal/client/client.go new file mode 100644 index 00000000..fcb853dd --- /dev/null +++ b/internal/client/client.go @@ -0,0 +1,79 @@ +package client + +import ( + "context" + "fmt" + + q "github.com/bitmagnet-io/bitmagnet/internal/database/query" + "github.com/bitmagnet-io/bitmagnet/internal/database/search" + "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" + "github.com/bitmagnet-io/bitmagnet/internal/protocol" +) + +type AddInfoHashesRequest struct { + ClientID gen.ClientID + InfoHashes []protocol.ID +} + +type content = search.TorrentContentResultItem + +type clientWorker interface { + AddInfoHashes(ctx context.Context, req AddInfoHashesRequest) error + download(ctx context.Context, content *content, category string) error +} + +type commonClient struct { + config *Config + search search.Search + client clientWorker +} + +func New(cfg *Config, search search.Search) commonClient { + cc := commonClient{ + config: cfg, + search: search, + } + + return cc + +} + +func (c commonClient) AddInfoHashes(ctx context.Context, req AddInfoHashesRequest) error { + + switch c.config.DownloadClient { + case gen.ClientIDTransmission: + c.client = transmissionClient{commonClient: c} + case gen.ClientIDQBittorrent: + c.client = qBitClient{commonClient: c} + default: + return fmt.Errorf("not implemented %s", c.config.DownloadClient) + } + + options := []q.Option{ + q.Where( + search.TorrentContentInfoHashCriteria(req.InfoHashes...), + ), + search.TorrentContentCoreJoins(), + search.HydrateTorrentContentContent(), + search.HydrateTorrentContentTorrent(), + q.Limit(uint(len(req.InfoHashes))), + } + sr, err := c.search.TorrentContent(ctx, options...) + if err != nil { + return err + } + + for _, cr := range sr.Items { + category := c.config.Categories[cr.Content.Type] + if category == "" { + category = c.config.DefaultCategory + } + err = c.client.download(ctx, &cr, category) + if err != nil { + return err + } + + } + + return nil +} diff --git a/internal/client/clientfx/module.go b/internal/client/clientfx/module.go new file mode 100644 index 00000000..e5bb1872 --- /dev/null +++ b/internal/client/clientfx/module.go @@ -0,0 +1,14 @@ +package clientfx + +import ( + "github.com/bitmagnet-io/bitmagnet/internal/boilerplate/config/configfx" + "github.com/bitmagnet-io/bitmagnet/internal/client" + "go.uber.org/fx" +) + +func New() fx.Option { + return fx.Module( + "client", + configfx.NewConfigModule[client.Config]("client", client.NewDefaultConfig()), + ) +} diff --git a/internal/client/config.go b/internal/client/config.go new file mode 100644 index 00000000..88109d82 --- /dev/null +++ b/internal/client/config.go @@ -0,0 +1,44 @@ +package client + +import ( + "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" + "github.com/bitmagnet-io/bitmagnet/internal/model" +) + +type DownloadClient struct { + Host string + Port string + Username string + Password string +} + +type Config struct { + Transmission DownloadClient + Qbittorrent DownloadClient + DownloadClient gen.ClientID + DefaultCategory string + Categories map[model.ContentType]string +} + +func NewDefaultConfig() Config { + cfg := Config{ + Transmission: DownloadClient{ + Host: "localhost", + Port: "9091", + }, + Qbittorrent: DownloadClient{ + Host: "localhost", + Port: "8080", + Username: "required", + Password: "required", + }, + DownloadClient: gen.ClientIDQBittorrent, + DefaultCategory: "prowlarr", + } + cat := make(map[model.ContentType]string) + cat[model.ContentTypeTvShow] = "sonarr" + cat[model.ContentTypeMovie] = "radarr" + cfg.Categories = cat + + return cfg +} diff --git a/internal/client/qbittorrent.go b/internal/client/qbittorrent.go new file mode 100644 index 00000000..377616a8 --- /dev/null +++ b/internal/client/qbittorrent.go @@ -0,0 +1,43 @@ +package client + +import ( + "context" + "fmt" + + "github.com/autobrr/go-qbittorrent" +) + +type qBitClient struct { + commonClient +} + +func (c qBitClient) download(ctx context.Context, content *content, category string) error { + + qb := qbittorrent.NewClient(qbittorrent.Config{ + Host: fmt.Sprintf("http://%v:%v/", c.config.Qbittorrent.Host, c.config.Qbittorrent.Port), + Username: c.config.Qbittorrent.Username, + Password: c.config.Qbittorrent.Password, + }) + + err := qb.LoginCtx(ctx) + if err != nil { + return err + } + + pref, err := qb.GetAppPreferencesCtx(ctx) + if err != nil { + return err + } + + err = qb.AddTorrentFromUrlCtx( + ctx, + content.Torrent.MagnetUri(), + map[string]string{ + "savepath": fmt.Sprintf("%v/%v", pref.SavePath, category), + "category": category, + }, + ) + + return err + +} diff --git a/internal/client/transmission.go b/internal/client/transmission.go new file mode 100644 index 00000000..840971b5 --- /dev/null +++ b/internal/client/transmission.go @@ -0,0 +1,40 @@ +package client + +import ( + "context" + "fmt" + "net/url" + + "github.com/hekmon/transmissionrpc/v3" +) + +type transmissionClient struct { + commonClient +} + +func (c transmissionClient) download(ctx context.Context, content *content, category string) error { + + endpoint, err := url.Parse(fmt.Sprintf("http://%v:%v/transmission/rpc", c.config.Transmission.Host, c.config.Transmission.Port)) + if err != nil { + return err + } + tbt, err := transmissionrpc.New(endpoint, nil) + if err != nil { + return err + } + + settings, err := tbt.SessionArgumentsGetAll(ctx) + if err != nil { + return err + } + + dir := *settings.DownloadDir + "/" + category + + magnet := content.Torrent.MagnetUri() + _, err = tbt.TorrentAdd(ctx, transmissionrpc.TorrentAddPayload{ + Filename: &magnet, + DownloadDir: &dir, + }) + return err + +} diff --git a/internal/gql/gql.gen.go b/internal/gql/gql.gen.go index 3478f7b9..aed539b6 100644 --- a/internal/gql/gql.gen.go +++ b/internal/gql/gql.gen.go @@ -47,6 +47,7 @@ type Config struct { } type ResolverRoot interface { + ClientMutation() ClientMutationResolver Content() ContentResolver Mutation() MutationResolver Query() QueryResolver @@ -62,6 +63,10 @@ type DirectiveRoot struct { } type ComplexityRoot struct { + ClientMutation struct { + Download func(childComplexity int, infoHashes []protocol.ID) int + } + Content struct { Adult func(childComplexity int) int Attributes func(childComplexity int) int @@ -158,6 +163,7 @@ type ComplexityRoot struct { } Mutation struct { + Client func(childComplexity int) int Queue func(childComplexity int) int Torrent func(childComplexity int) int } @@ -430,12 +436,16 @@ type ComplexityRoot struct { } } +type ClientMutationResolver interface { + Download(ctx context.Context, obj *gqlmodel.ClientMutation, infoHashes []protocol.ID) (*string, error) +} type ContentResolver interface { OriginalLanguage(ctx context.Context, obj *model.Content) (*model.Language, error) } type MutationResolver interface { Torrent(ctx context.Context) (gqlmodel.TorrentMutation, error) Queue(ctx context.Context) (gqlmodel.QueueMutation, error) + Client(ctx context.Context) (gqlmodel.ClientMutation, error) } type QueryResolver interface { Version(ctx context.Context) (string, error) @@ -487,6 +497,18 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in _ = ec switch typeName + "." + field { + case "ClientMutation.download": + if e.complexity.ClientMutation.Download == nil { + break + } + + args, err := ec.field_ClientMutation_download_args(context.TODO(), rawArgs) + if err != nil { + return 0, false + } + + return e.complexity.ClientMutation.Download(childComplexity, args["infoHashes"].([]protocol.ID)), true + case "Content.adult": if e.complexity.Content.Adult == nil { break @@ -900,6 +922,13 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.MetadataSource.Name(childComplexity), true + case "Mutation.client": + if e.complexity.Mutation.Client == nil { + break + } + + return e.complexity.Mutation.Client(childComplexity), true + case "Mutation.queue": if e.complexity.Mutation.Queue == nil { break @@ -2388,7 +2417,12 @@ enum QueueJobsOrderByField { ran_at priority } -`, BuiltIn: false}, + + +enum ClientID { + Transmission + QBittorrent +}`, BuiltIn: false}, {Name: "../../graphql/schema/metrics.graphqls", Input: `enum MetricsBucketDuration { minute hour @@ -2573,6 +2607,7 @@ type ContentCollection { {Name: "../../graphql/schema/mutation.graphqls", Input: `type Mutation { torrent: TorrentMutation! queue: QueueMutation! + client: ClientMutation! } type TorrentMutation { @@ -2581,6 +2616,10 @@ type TorrentMutation { setTags(infoHashes: [Hash20!]!, tagNames: [String!]!): Void deleteTags(infoHashes: [Hash20!], tagNames: [String!]): Void } + +type ClientMutation { + download(infoHashes: [Hash20!]): Void +} `, BuiltIn: false}, {Name: "../../graphql/schema/query.graphqls", Input: `type Query { version: String! @@ -2962,6 +3001,38 @@ var parsedSchema = gqlparser.MustLoadSchema(sources...) // region ***************************** args.gotpl ***************************** +func (ec *executionContext) field_ClientMutation_download_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { + var err error + args := map[string]interface{}{} + arg0, err := ec.field_ClientMutation_download_argsInfoHashes(ctx, rawArgs) + if err != nil { + return nil, err + } + args["infoHashes"] = arg0 + return args, nil +} +func (ec *executionContext) field_ClientMutation_download_argsInfoHashes( + ctx context.Context, + rawArgs map[string]interface{}, +) ([]protocol.ID, error) { + // We won't call the directive if the argument is null. + // Set call_argument_directives_with_null to true to call directives + // even if the argument is null. + _, ok := rawArgs["infoHashes"] + if !ok { + var zeroVal []protocol.ID + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("infoHashes")) + if tmp, ok := rawArgs["infoHashes"]; ok { + return ec.unmarshalOHash202ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋprotocolᚐIDᚄ(ctx, tmp) + } + + var zeroVal []protocol.ID + return zeroVal, nil +} + func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} @@ -3531,6 +3602,58 @@ func (ec *executionContext) field___Type_fields_argsIncludeDeprecated( // region **************************** field.gotpl ***************************** +func (ec *executionContext) _ClientMutation_download(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.ClientMutation) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_ClientMutation_download(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return ec.resolvers.ClientMutation().Download(rctx, obj, fc.Args["infoHashes"].([]protocol.ID)) + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(*string) + fc.Result = res + return ec.marshalOVoid2ᚖstring(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_ClientMutation_download(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "ClientMutation", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Void does not have child fields") + }, + } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field_ClientMutation_download_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } + return fc, nil +} + func (ec *executionContext) _Content_type(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_type(ctx, field) if err != nil { @@ -6277,6 +6400,54 @@ func (ec *executionContext) fieldContext_Mutation_queue(_ context.Context, field return fc, nil } +func (ec *executionContext) _Mutation_client(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_Mutation_client(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return ec.resolvers.Mutation().Client(rctx) + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + if !graphql.HasFieldError(ctx, fc) { + ec.Errorf(ctx, "must not be null") + } + return graphql.Null + } + res := resTmp.(gqlmodel.ClientMutation) + fc.Result = res + return ec.marshalNClientMutation2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐClientMutation(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_Mutation_client(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "Mutation", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "download": + return ec.fieldContext_ClientMutation_download(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type ClientMutation", field.Name) + }, + } + return fc, nil +} + func (ec *executionContext) _Query_version(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Query_version(ctx, field) if err != nil { @@ -16738,6 +16909,73 @@ func (ec *executionContext) unmarshalInputVideoSourceFacetInput(ctx context.Cont // region **************************** object.gotpl **************************** +var clientMutationImplementors = []string{"ClientMutation"} + +func (ec *executionContext) _ClientMutation(ctx context.Context, sel ast.SelectionSet, obj *gqlmodel.ClientMutation) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, clientMutationImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("ClientMutation") + case "download": + field := field + + innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._ClientMutation_download(ctx, field, obj) + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + var contentImplementors = []string{"Content"} func (ec *executionContext) _Content(ctx context.Context, sel ast.SelectionSet, obj *model.Content) graphql.Marshaler { @@ -17469,6 +17707,13 @@ func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet) if out.Values[i] == graphql.Null { out.Invalids++ } + case "client": + out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { + return ec._Mutation_client(ctx, field) + }) + if out.Values[i] == graphql.Null { + out.Invalids++ + } default: panic("unknown field " + strconv.Quote(field.Name)) } @@ -20270,6 +20515,10 @@ func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.Se return res } +func (ec *executionContext) marshalNClientMutation2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐClientMutation(ctx context.Context, sel ast.SelectionSet, v gqlmodel.ClientMutation) graphql.Marshaler { + return ec._ClientMutation(ctx, sel, &v) +} + func (ec *executionContext) marshalNContentAttribute2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentAttribute(ctx context.Context, sel ast.SelectionSet, v model.ContentAttribute) graphql.Marshaler { return ec._ContentAttribute(ctx, sel, &v) } diff --git a/internal/gql/gqlfx/module.go b/internal/gql/gqlfx/module.go index 7f625448..77c4572f 100644 --- a/internal/gql/gqlfx/module.go +++ b/internal/gql/gqlfx/module.go @@ -4,6 +4,8 @@ import ( "github.com/99designs/gqlgen/graphql" "github.com/bitmagnet-io/bitmagnet/internal/boilerplate/lazy" "github.com/bitmagnet-io/bitmagnet/internal/boilerplate/worker" + + "github.com/bitmagnet-io/bitmagnet/internal/client" "github.com/bitmagnet-io/bitmagnet/internal/database/dao" "github.com/bitmagnet-io/bitmagnet/internal/database/search" "github.com/bitmagnet-io/bitmagnet/internal/gql" @@ -70,6 +72,7 @@ func New() fx.Option { QueueMetricsClient: qmc, QueueManager: qm, TorrentMetricsClient: tm, + ClientConfig: p.ClientConfig, }, nil }), } @@ -96,6 +99,7 @@ type Params struct { QueueMetricsClient lazy.Lazy[queuemetrics.Client] QueueManager lazy.Lazy[manager.Manager] TorrentMetricsClient lazy.Lazy[torrentmetrics.Client] + ClientConfig client.Config } type Result struct { diff --git a/internal/gql/gqlmodel/client.go b/internal/gql/gqlmodel/client.go new file mode 100644 index 00000000..f66be420 --- /dev/null +++ b/internal/gql/gqlmodel/client.go @@ -0,0 +1,3 @@ +package gqlmodel + +type ClientMutation struct{} diff --git a/internal/gql/gqlmodel/gen/model.gen.go b/internal/gql/gqlmodel/gen/model.gen.go index 2c9d12d6..3d3d3cae 100644 --- a/internal/gql/gqlmodel/gen/model.gen.go +++ b/internal/gql/gqlmodel/gen/model.gen.go @@ -260,6 +260,47 @@ type WorkersQuery struct { ListAll WorkersListAllQueryResult `json:"listAll"` } +type ClientID string + +const ( + ClientIDTransmission ClientID = "Transmission" + ClientIDQBittorrent ClientID = "QBittorrent" +) + +var AllClientID = []ClientID{ + ClientIDTransmission, + ClientIDQBittorrent, +} + +func (e ClientID) IsValid() bool { + switch e { + case ClientIDTransmission, ClientIDQBittorrent: + return true + } + return false +} + +func (e ClientID) String() string { + return string(e) +} + +func (e *ClientID) UnmarshalGQL(v interface{}) error { + str, ok := v.(string) + if !ok { + return fmt.Errorf("enums must be strings") + } + + *e = ClientID(str) + if !e.IsValid() { + return fmt.Errorf("%s is not a valid ClientID", str) + } + return nil +} + +func (e ClientID) MarshalGQL(w io.Writer) { + fmt.Fprint(w, strconv.Quote(e.String())) +} + type HealthStatus string const ( diff --git a/internal/gql/resolvers/mutation.resolvers.go b/internal/gql/resolvers/mutation.resolvers.go index 45547d8b..9c23c9f7 100644 --- a/internal/gql/resolvers/mutation.resolvers.go +++ b/internal/gql/resolvers/mutation.resolvers.go @@ -7,11 +7,24 @@ package resolvers import ( "context" + "github.com/bitmagnet-io/bitmagnet/internal/client" "github.com/bitmagnet-io/bitmagnet/internal/gql" "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel" "github.com/bitmagnet-io/bitmagnet/internal/protocol" ) +// Download is the resolver for the download field. +func (r *clientMutationResolver) Download(ctx context.Context, obj *gqlmodel.ClientMutation, infoHashes []protocol.ID) (*string, error) { + c := client.New(&r.ClientConfig, r.Search) + err := c.AddInfoHashes(ctx, + client.AddInfoHashesRequest{ + ClientID: r.ClientConfig.DownloadClient, + InfoHashes: infoHashes, + }) + + return nil, err +} + // Torrent is the resolver for the torrent field. func (r *mutationResolver) Torrent(ctx context.Context) (gqlmodel.TorrentMutation, error) { return gqlmodel.TorrentMutation{}, nil @@ -22,6 +35,11 @@ func (r *mutationResolver) Queue(ctx context.Context) (gqlmodel.QueueMutation, e return gqlmodel.QueueMutation{QueueManager: r.QueueManager}, nil } +// Client is the resolver for the client field. +func (r *mutationResolver) Client(ctx context.Context) (gqlmodel.ClientMutation, error) { + return gqlmodel.ClientMutation{}, nil +} + // Delete is the resolver for the delete field. func (r *torrentMutationResolver) Delete(ctx context.Context, obj *gqlmodel.TorrentMutation, infoHashes []protocol.ID) (*string, error) { _, err := r.Dao.DeleteAndBlockTorrents(ctx, infoHashes) @@ -43,11 +61,15 @@ func (r *torrentMutationResolver) DeleteTags(ctx context.Context, obj *gqlmodel. return nil, r.Dao.TorrentTag.Delete(ctx, infoHashes, tagNames) } +// ClientMutation returns gql.ClientMutationResolver implementation. +func (r *Resolver) ClientMutation() gql.ClientMutationResolver { return &clientMutationResolver{r} } + // Mutation returns gql.MutationResolver implementation. func (r *Resolver) Mutation() gql.MutationResolver { return &mutationResolver{r} } // TorrentMutation returns gql.TorrentMutationResolver implementation. func (r *Resolver) TorrentMutation() gql.TorrentMutationResolver { return &torrentMutationResolver{r} } +type clientMutationResolver struct{ *Resolver } type mutationResolver struct{ *Resolver } type torrentMutationResolver struct{ *Resolver } diff --git a/internal/gql/resolvers/resolver.go b/internal/gql/resolvers/resolver.go index 97074d0b..cd78c221 100644 --- a/internal/gql/resolvers/resolver.go +++ b/internal/gql/resolvers/resolver.go @@ -2,6 +2,7 @@ package resolvers import ( "github.com/bitmagnet-io/bitmagnet/internal/boilerplate/worker" + "github.com/bitmagnet-io/bitmagnet/internal/client" "github.com/bitmagnet-io/bitmagnet/internal/database/dao" "github.com/bitmagnet-io/bitmagnet/internal/database/search" "github.com/bitmagnet-io/bitmagnet/internal/health" @@ -22,4 +23,5 @@ type Resolver struct { QueueMetricsClient queuemetrics.Client QueueManager manager.Manager TorrentMetricsClient torrentmetrics.Client + ClientConfig client.Config } From 181b4160b0d90b6827616bf3c8ac5b2c2ad34977 Mon Sep 17 00:00:00 2001 From: rraymondgh <42769112+rraymondgh@users.noreply.github.com> Date: Tue, 29 Oct 2024 11:23:10 +0000 Subject: [PATCH 03/14] revert correct versions of libraries --- go.mod | 8 +++--- go.sum | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index 3ebaa86e..77714544 100644 --- a/go.mod +++ b/go.mod @@ -21,7 +21,7 @@ require ( github.com/google/cel-go v0.21.0 github.com/grafana/pyroscope-go/godeltaprof v0.1.8 github.com/hashicorp/golang-lru/v2 v2.0.7 - github.com/hedhyw/rex v0.6.0 + github.com/hedhyw/rex v1.0.0 github.com/hekmon/transmissionrpc/v3 v3.0.0 github.com/iancoleman/strcase v0.3.0 github.com/jackc/pgx/v5 v5.7.1 @@ -69,8 +69,8 @@ require ( github.com/anacrolix/missinggo/perf v1.0.0 // indirect github.com/anacrolix/multiless v0.4.0 // indirect github.com/anacrolix/stm v0.5.0 // indirect - github.com/anacrolix/sync v0.5.1 // indirect - github.com/antlr4-go/antlr/v4 v4.13.0 // indirect + github.com/anacrolix/sync v0.5.3 // indirect + github.com/antlr4-go/antlr/v4 v4.13.1 // indirect github.com/avast/retry-go v3.0.0+incompatible // indirect github.com/benbjohnson/immutable v0.4.3 // indirect github.com/beorn7/perks v1.0.1 // indirect @@ -96,7 +96,7 @@ require ( github.com/golang/mock v1.6.0 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/websocket v1.5.1 // indirect + github.com/gorilla/websocket v1.5.3 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/hekmon/cunits/v2 v2.1.0 // indirect diff --git a/go.sum b/go.sum index 9d187925..2fd12197 100644 --- a/go.sum +++ b/go.sum @@ -40,6 +40,7 @@ github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuy github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= +github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/anacrolix/chansync v0.6.0 h1:/aQVvZ1yLRhmqEYrr9dC92JwzNBQ/SNnFi4uk+fTkQY= github.com/anacrolix/chansync v0.6.0/go.mod h1:DZsatdsdXxD0WiwcGl0nJVwyjCKMDv+knl1q2iBjA2k= github.com/anacrolix/dht/v2 v2.22.0 h1:wat5FLdT25vltHsjX377GBrpK9o6L2QVn541bIguCYo= @@ -64,6 +65,7 @@ github.com/anacrolix/missinggo/perf v1.0.0 h1:7ZOGYziGEBytW49+KmYGTaNfnwUqP1HBsy github.com/anacrolix/missinggo/perf v1.0.0/go.mod h1:ljAFWkBuzkO12MQclXzZrosP5urunoLS0Cbvb4V0uMQ= github.com/anacrolix/missinggo/v2 v2.2.0/go.mod h1:o0jgJoYOyaoYQ4E2ZMISVa9c88BbUBVQQW4QeRkNCGY= github.com/anacrolix/missinggo/v2 v2.5.1/go.mod h1:WEjqh2rmKECd0t1VhQkLGTdIWXO6f6NLjp5GlMZ+6FA= +github.com/anacrolix/missinggo/v2 v2.7.3/go.mod h1:mIEtp9pgaXqt8VQ3NQxFOod/eQ1H0D1XsZzKUQfwtac= github.com/anacrolix/missinggo/v2 v2.8.0 h1:6pGnVOlR6TWL9JM5Msyezij8YHU3+oHO7r82Eql/kpA= github.com/anacrolix/missinggo/v2 v2.8.0/go.mod h1:vVO5FEziQm+NFmJesc7StpkquZk+WJFCaL0Wp//2sa0= github.com/anacrolix/multiless v0.4.0 h1:lqSszHkliMsZd2hsyrDvHOw4AbYWa+ijQ66LzbjqWjM= @@ -74,6 +76,8 @@ github.com/anacrolix/stm v0.5.0/go.mod h1:MOwrSy+jCm8Y7HYfMAwPj7qWVu7XoVvjOiYwJm github.com/anacrolix/sync v0.3.0/go.mod h1:BbecHL6jDSExojhNtgTFSBcdGerzNc64tz3DCOj/I0g= github.com/anacrolix/sync v0.5.1 h1:FbGju6GqSjzVoTgcXTUKkF041lnZkG5P0C3T5RL3SGc= github.com/anacrolix/sync v0.5.1/go.mod h1:BbecHL6jDSExojhNtgTFSBcdGerzNc64tz3DCOj/I0g= +github.com/anacrolix/sync v0.5.3 h1:iyMUiRRzTnD15+YQYxmDoobGdIbmUxdD4TNO67aCMYI= +github.com/anacrolix/sync v0.5.3/go.mod h1:S51SPBetDsINK/KSNJtZkfM78s5rMeiO11/GNK6Rmh4= github.com/anacrolix/tagflag v0.0.0-20180109131632-2146c8d41bf0/go.mod h1:1m2U/K6ZT+JZG0+bdMK6qauP49QT4wE5pmhJXOKKCHw= github.com/anacrolix/tagflag v1.0.0/go.mod h1:1m2U/K6ZT+JZG0+bdMK6qauP49QT4wE5pmhJXOKKCHw= github.com/anacrolix/tagflag v1.1.0/go.mod h1:Scxs9CV10NQatSmbyjqmqmeQNwGzlNe0CMUMIxqHIG8= @@ -85,6 +89,8 @@ github.com/andybalholm/cascadia v1.3.2 h1:3Xi6Dw5lHF15JtdcmAHD3i1+T8plmv7BQ/nsVi github.com/andybalholm/cascadia v1.3.2/go.mod h1:7gtRlve5FxPPgIgX36uWBX58OdBsSS6lUvCFb+h7KvU= github.com/antlr4-go/antlr/v4 v4.13.0 h1:lxCg3LAv+EUK6t1i0y1V6/SLeUi0eKEKdhQAlS8TVTI= github.com/antlr4-go/antlr/v4 v4.13.0/go.mod h1:pfChB/xh/Unjila75QW7+VU4TSnWnnk9UTnmpPaOR2g= +github.com/antlr4-go/antlr/v4 v4.13.1 h1:SqQKkuVZ+zWkMMNkjy5FZe5mr5WURWnlpmOuzYWrPrQ= +github.com/antlr4-go/antlr/v4 v4.13.1/go.mod h1:GKmUxMtwp6ZgGwZSva4eWPC5mS6vUAmOABFgjdkM7Nw= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 h1:jfIu9sQUG6Ig+0+Ap1h4unLjW6YQJpKZVmUzxsD4E/Q= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdKJDJF9BV14lnkjHmOQgcvEKgtqs5a1N3LNdJhGE= @@ -120,6 +126,9 @@ github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UF github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chigopher/pathlib v0.19.1 h1:RoLlUJc0CqBGwq239cilyhxPNLXTK+HXoASGyGznx5A= github.com/chigopher/pathlib v0.19.1/go.mod h1:tzC1dZLW8o33UQpWkNkhvPwL5n4yyFRFm/jL1YGWFvY= +github.com/chzyer/logex v1.2.0/go.mod h1:9+9sk7u7pGNWYMkh0hdiL++6OeibzJccyQU4p4MedaY= +github.com/chzyer/readline v1.5.0/go.mod h1:x22KAscuvRqlLoK9CsoYsmxoXZMMFVyOl86cAH8qUic= +github.com/chzyer/test v0.0.0-20210722231415-061457976a23/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudwego/base64x v0.1.4 h1:jwCgWpFanWmN8xoIUHa2rtzmkd5J2plF/dnLS6Xd/0Y= github.com/cloudwego/base64x v0.1.4/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w= @@ -169,8 +178,10 @@ github.com/glycerine/goconvey v0.0.0-20190315024820-982ee783a72e/go.mod h1:Ogl1T github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= +github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= +github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= @@ -208,6 +219,8 @@ github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:x github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180124185431-e89373fe6b4a/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= @@ -218,10 +231,15 @@ github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5a github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26/go.mod h1:dDKJzRmX4S37WGHujM7tX//fmj1uioxKzKxz3lo4HJo= +github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= @@ -232,6 +250,8 @@ github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51 github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= +github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= +github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/grafana/pyroscope-go/godeltaprof v0.1.8 h1:iwOtYXeeVSAeYefJNaxDytgjKtUuKQbJqgAIjlnicKg= github.com/grafana/pyroscope-go/godeltaprof v0.1.8/go.mod h1:2+l7K7twW49Ct4wFluZD3tZ6e0SjanjcUUBPVD/UuGU= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= @@ -243,6 +263,8 @@ github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hedhyw/rex v0.6.0 h1:VoCgjAn2st5qshzHM3Qcd4lEHq8y1PDGNp+MO5x0G64= github.com/hedhyw/rex v0.6.0/go.mod h1:n9CYz3ztkAp56mrMXw65Q3LeXCO2AZSUvO7VMHsVMF8= +github.com/hedhyw/rex v1.0.0 h1:f7QNmVMBsmuEop/wg85byq6YbOHQr0q3Y78Q3IwKp+I= +github.com/hedhyw/rex v1.0.0/go.mod h1:n9CYz3ztkAp56mrMXw65Q3LeXCO2AZSUvO7VMHsVMF8= github.com/hekmon/cunits/v2 v2.1.0 h1:k6wIjc4PlacNOHwKEMBgWV2/c8jyD4eRMs5mR1BBhI0= github.com/hekmon/cunits/v2 v2.1.0/go.mod h1:9r1TycXYXaTmEWlAIfFV8JT+Xo59U96yUJAYHxzii2M= github.com/hekmon/transmissionrpc/v3 v3.0.0 h1:0Fb11qE0IBh4V4GlOwHNYpqpjcYDp5GouolwrpmcUDQ= @@ -253,10 +275,12 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO github.com/huandu/xstrings v1.0.0/go.mod h1:4qWG/gcEcfX4z/mBDHJ++3ReCw9ibxbsNJbcucJdbSo= github.com/huandu/xstrings v1.2.0/go.mod h1:DvyZB1rfVYsBIigL8HwpZgxHwXozlTgGqn63UyNX5k4= github.com/huandu/xstrings v1.3.1/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.5.0 h1:2ag3IFq9ZDANvthTwTiqSSZLjDc+BedvHPAp5tJy2TI= github.com/huandu/xstrings v1.5.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI= github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= +github.com/ianlancetaylor/demangle v0.0.0-20220319035150-800ac71e25c2/go.mod h1:aYm2/VgdVmcIU8iMfdMvDMsRAQjcfZSKFby6HOFvi/w= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= @@ -277,13 +301,18 @@ github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0= github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4= +github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= +github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kisielk/sqlstruct v0.0.0-20201105191214-5f3e10d3ab46/go.mod h1:yyMNCyc/Ib3bDTKd379tNMpB/7/H5TjM2Y9QJ5THLbE= github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc= @@ -293,6 +322,7 @@ github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= github.com/knz/go-libedit v1.10.1/go.mod h1:MZTVkCWyz0oBc7JOWP3wNAzd002ZbM/5hgShxwh4x8M= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= +github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= @@ -359,6 +389,7 @@ github.com/multiformats/go-varint v0.0.7/go.mod h1:r8PUYw/fD/SjBCiKOoDlGF6QawOEL github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= +github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4= github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= @@ -383,6 +414,8 @@ github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXP github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.5.1/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU= +github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= +github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_golang v1.20.4 h1:Tgh3Yr67PaOv/uTqloMsCEdeuFTatm5zIq5+qNN23vI= github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= @@ -394,6 +427,8 @@ github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQy github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4= +github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= +github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= github.com/prometheus/common v0.60.0 h1:+V9PAREWNvJMAuJ1x1BaWl9dewMW4YrHZQbx0sJNllA= github.com/prometheus/common v0.60.0/go.mod h1:h0LYf1R1deLSKtD4Vdg8gy4RuOvENW2J/h19V5NADQw= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= @@ -401,9 +436,12 @@ github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.0.11/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= +github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -436,6 +474,7 @@ github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/assertions v0.0.0-20190215210624-980c5ac6f3ac/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s= @@ -504,6 +543,7 @@ github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17 github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 h1:gEOO8jv9F4OT7lGCjxCBTO/36wtF6j2nSip77qHd4x4= github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1/go.mod h1:Ohn+xnUBiLI6FVj/9LpzZWtj1/D6lUovWYBkxHVV3aM= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= @@ -524,6 +564,7 @@ golang.org/x/arch v0.11.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= @@ -534,6 +575,7 @@ golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTk golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= @@ -551,6 +593,8 @@ golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= @@ -566,6 +610,8 @@ golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -582,11 +628,18 @@ golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200413165638-669c56c373c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -620,6 +673,7 @@ golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3 golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= @@ -650,6 +704,8 @@ google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= @@ -666,6 +722,7 @@ gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= @@ -696,16 +753,44 @@ honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= lukechampine.com/blake3 v1.3.0 h1:sJ3XhFINmHSrYCgl958hscfIa3bw8x4DqMP3u1YvoYE= lukechampine.com/blake3 v1.3.0/go.mod h1:0OFRp7fBtAylGVCO40o87sbupkyIGgbpv1+M1k1LM6k= +lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= +lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk= +modernc.org/cc/v3 v3.37.0/go.mod h1:vtL+3mdHx/wcj3iEGz84rQa8vEqR6XM84v5Lcvfph20= +modernc.org/cc/v3 v3.38.1/go.mod h1:vtL+3mdHx/wcj3iEGz84rQa8vEqR6XM84v5Lcvfph20= +modernc.org/cc/v3 v3.40.0/go.mod h1:/bTg4dnWkSXowUO6ssQKnOV0yMVxDYNIsIrzqTFDGH0= +modernc.org/ccgo/v3 v3.0.0-20220904174949-82d86e1b6d56/go.mod h1:YSXjPL62P2AMSxBphRHPn7IkzhVHqkvOnRKAKh+W6ZI= +modernc.org/ccgo/v3 v3.0.0-20220910160915-348f15de615a/go.mod h1:8p47QxPkdugex9J4n9P2tLZ9bK01yngIVp00g4nomW0= +modernc.org/ccgo/v3 v3.16.13-0.20221017192402-261537637ce8/go.mod h1:fUB3Vn0nVPReA+7IG7yZDfjv1TMWjhQP8gCxrFAtL5g= +modernc.org/ccgo/v3 v3.16.13/go.mod h1:2Quk+5YgpImhPjv2Qsob1DnZ/4som1lJTodubIcoUkY= +modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ= modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 h1:5D53IMaUuA5InSeMu9eJtlQXS2NxAhyWQvkKEgXZhHI= modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6/go.mod h1:Qz0X07sNOR1jWYCrJMEnbW/X55x206Q7Vt4mz6/wHp4= +modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM= +modernc.org/libc v1.17.4/go.mod h1:WNg2ZH56rDEwdropAJeZPQkXmDwh+JCA1s/htl6r2fA= +modernc.org/libc v1.18.0/go.mod h1:vj6zehR5bfc98ipowQOM2nIDUZnVew/wNC/2tOGS+q0= +modernc.org/libc v1.19.0/go.mod h1:ZRfIaEkgrYgZDl6pa4W39HgN5G/yDW+NRmNKZBDFrk0= +modernc.org/libc v1.20.3/go.mod h1:ZRfIaEkgrYgZDl6pa4W39HgN5G/yDW+NRmNKZBDFrk0= +modernc.org/libc v1.21.4/go.mod h1:przBsL5RDOZajTVslkugzLBj1evTue36jEomFQOoYuI= +modernc.org/libc v1.21.5/go.mod h1:przBsL5RDOZajTVslkugzLBj1evTue36jEomFQOoYuI= +modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E= modernc.org/mathutil v1.6.0 h1:fRe9+AmYlaej+64JsEEhoWuAYBkOtQiMEU7n/XgfYi4= modernc.org/mathutil v1.6.0/go.mod h1:Ui5Q9q1TR2gFm0AQRqQUaBWFLAhQpCwNcuhBOSedWPo= +modernc.org/memory v1.3.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= +modernc.org/memory v1.4.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU= modernc.org/memory v1.8.0 h1:IqGTL6eFMaDZZhEWwcREgeMXYwmW83LYW8cROZYkg+E= modernc.org/memory v1.8.0/go.mod h1:XPZ936zp5OMKGWPqbD3JShgd/ZoQ7899TUuQqxY+peU= +modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= +modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0= +modernc.org/sqlite v1.20.0/go.mod h1:EsYz8rfOvLCiYTy5ZFsOYzoCcRMu98YYkwAcCw5YIYw= modernc.org/sqlite v1.33.0 h1:WWkA/T2G17okiLGgKAj4/RMIvgyMT19yQ038160IeYk= modernc.org/sqlite v1.33.0/go.mod h1:9uQ9hF/pCZoYZK73D/ud5Z7cIRIILSZI8NdIemVMTX8= +modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw= modernc.org/strutil v1.2.0 h1:agBi9dp1I+eOnxXeiZawM8F4LawKv4NzGWSaLfyeNZA= modernc.org/strutil v1.2.0/go.mod h1:/mdcBmfOibveCTBxUl5B5l6W+TTH1FXPLHZE6bTosX0= +modernc.org/tcl v1.15.0/go.mod h1:xRoGotBZ6dU+Zo2tca+2EqVEeMmOUBzHnhIwq4YrVnE= +modernc.org/token v1.0.1/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= modernc.org/token v1.1.0 h1:Xl7Ap9dKaEs5kLoOQeQmPWevfnk/DM5qcLcYlA8ys6Y= modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= +modernc.org/z v1.7.0/go.mod h1:hVdgNMh8ggTuRG1rGU8x+xGRFfiQUIAw0ZqlPy8+HyQ= nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50= +zombiezen.com/go/sqlite v0.12.0/go.mod h1:RKdRR9xoQDSnB47yy7G4PtrjGZJtupb/SyEbJZLaRes= From 8f8e3796461140967a5fc12801e00ae8e8cc0fd3 Mon Sep 17 00:00:00 2001 From: rraymondgh <42769112+rraymondgh@users.noreply.github.com> Date: Wed, 30 Oct 2024 10:32:33 +0000 Subject: [PATCH 04/14] UI work excluding i18n --- go.sum | 8 - graphql/mutations/ClientDownload.graphql | 5 - graphql/mutations/Download.graphql | 5 + graphql/queries/DownloadClientEnabled.graphql | 5 + graphql/schema/enums.graphqls | 7 +- graphql/schema/mutation.graphqls | 4 +- graphql/schema/query.graphqls | 5 + internal/client/config.go | 2 + internal/gql/gql.gen.go | 512 ++++++++++++------ internal/gql/gqlmodel/client.go | 3 - internal/gql/gqlmodel/downloadclient.go | 3 + internal/gql/gqlmodel/gen/model.gen.go | 4 + internal/gql/resolvers/mutation.resolvers.go | 16 +- internal/gql/resolvers/query.resolvers.go | 7 + webui/src/app/graphql/generated/index.ts | 69 +++ webui/src/app/graphql/graphql.service.ts | 21 + .../torrents-bulk-actions.component.html | 34 ++ .../torrents-bulk-actions.component.ts | 28 + 18 files changed, 544 insertions(+), 194 deletions(-) delete mode 100644 graphql/mutations/ClientDownload.graphql create mode 100644 graphql/mutations/Download.graphql create mode 100644 graphql/queries/DownloadClientEnabled.graphql delete mode 100644 internal/gql/gqlmodel/client.go create mode 100644 internal/gql/gqlmodel/downloadclient.go diff --git a/go.sum b/go.sum index 2fd12197..a118bd09 100644 --- a/go.sum +++ b/go.sum @@ -74,8 +74,6 @@ github.com/anacrolix/stm v0.2.0/go.mod h1:zoVQRvSiGjGoTmbM0vSLIiaKjWtNPeTvXUSdJQ github.com/anacrolix/stm v0.5.0 h1:9df1KBpttF0TzLgDq51Z+TEabZKMythqgx89f1FQJt8= github.com/anacrolix/stm v0.5.0/go.mod h1:MOwrSy+jCm8Y7HYfMAwPj7qWVu7XoVvjOiYwJmpeB/M= github.com/anacrolix/sync v0.3.0/go.mod h1:BbecHL6jDSExojhNtgTFSBcdGerzNc64tz3DCOj/I0g= -github.com/anacrolix/sync v0.5.1 h1:FbGju6GqSjzVoTgcXTUKkF041lnZkG5P0C3T5RL3SGc= -github.com/anacrolix/sync v0.5.1/go.mod h1:BbecHL6jDSExojhNtgTFSBcdGerzNc64tz3DCOj/I0g= github.com/anacrolix/sync v0.5.3 h1:iyMUiRRzTnD15+YQYxmDoobGdIbmUxdD4TNO67aCMYI= github.com/anacrolix/sync v0.5.3/go.mod h1:S51SPBetDsINK/KSNJtZkfM78s5rMeiO11/GNK6Rmh4= github.com/anacrolix/tagflag v0.0.0-20180109131632-2146c8d41bf0/go.mod h1:1m2U/K6ZT+JZG0+bdMK6qauP49QT4wE5pmhJXOKKCHw= @@ -87,8 +85,6 @@ github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNg github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= github.com/andybalholm/cascadia v1.3.2 h1:3Xi6Dw5lHF15JtdcmAHD3i1+T8plmv7BQ/nsViSLyss= github.com/andybalholm/cascadia v1.3.2/go.mod h1:7gtRlve5FxPPgIgX36uWBX58OdBsSS6lUvCFb+h7KvU= -github.com/antlr4-go/antlr/v4 v4.13.0 h1:lxCg3LAv+EUK6t1i0y1V6/SLeUi0eKEKdhQAlS8TVTI= -github.com/antlr4-go/antlr/v4 v4.13.0/go.mod h1:pfChB/xh/Unjila75QW7+VU4TSnWnnk9UTnmpPaOR2g= github.com/antlr4-go/antlr/v4 v4.13.1 h1:SqQKkuVZ+zWkMMNkjy5FZe5mr5WURWnlpmOuzYWrPrQ= github.com/antlr4-go/antlr/v4 v4.13.1/go.mod h1:GKmUxMtwp6ZgGwZSva4eWPC5mS6vUAmOABFgjdkM7Nw= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= @@ -248,8 +244,6 @@ github.com/gopherjs/gopherjs v0.0.0-20190309154008-847fc94819f9/go.mod h1:wJfORR github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= -github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= -github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg= github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/grafana/pyroscope-go/godeltaprof v0.1.8 h1:iwOtYXeeVSAeYefJNaxDytgjKtUuKQbJqgAIjlnicKg= @@ -261,8 +255,6 @@ github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hedhyw/rex v0.6.0 h1:VoCgjAn2st5qshzHM3Qcd4lEHq8y1PDGNp+MO5x0G64= -github.com/hedhyw/rex v0.6.0/go.mod h1:n9CYz3ztkAp56mrMXw65Q3LeXCO2AZSUvO7VMHsVMF8= github.com/hedhyw/rex v1.0.0 h1:f7QNmVMBsmuEop/wg85byq6YbOHQr0q3Y78Q3IwKp+I= github.com/hedhyw/rex v1.0.0/go.mod h1:n9CYz3ztkAp56mrMXw65Q3LeXCO2AZSUvO7VMHsVMF8= github.com/hekmon/cunits/v2 v2.1.0 h1:k6wIjc4PlacNOHwKEMBgWV2/c8jyD4eRMs5mR1BBhI0= diff --git a/graphql/mutations/ClientDownload.graphql b/graphql/mutations/ClientDownload.graphql deleted file mode 100644 index 7b05e72a..00000000 --- a/graphql/mutations/ClientDownload.graphql +++ /dev/null @@ -1,5 +0,0 @@ -mutation ClientDownload($infoHashes: [Hash20!]!) { - client { - download(infoHashes: $infoHashes) - } -} diff --git a/graphql/mutations/Download.graphql b/graphql/mutations/Download.graphql new file mode 100644 index 00000000..397d426a --- /dev/null +++ b/graphql/mutations/Download.graphql @@ -0,0 +1,5 @@ +mutation Download($infoHashes: [Hash20!]!) { + downloadclient { + download(infoHashes: $infoHashes) + } +} diff --git a/graphql/queries/DownloadClientEnabled.graphql b/graphql/queries/DownloadClientEnabled.graphql new file mode 100644 index 00000000..067d83e5 --- /dev/null +++ b/graphql/queries/DownloadClientEnabled.graphql @@ -0,0 +1,5 @@ +query DownloadClientEnabled { + downloadClient { + enabled + } +} diff --git a/graphql/schema/enums.graphqls b/graphql/schema/enums.graphqls index a7a0de9e..bd4aafdd 100644 --- a/graphql/schema/enums.graphqls +++ b/graphql/schema/enums.graphqls @@ -171,8 +171,7 @@ enum QueueJobsOrderByField { priority } - enum ClientID { - Transmission - QBittorrent -} \ No newline at end of file + Transmission + QBittorrent +} diff --git a/graphql/schema/mutation.graphqls b/graphql/schema/mutation.graphqls index 043ec292..30e7fa54 100644 --- a/graphql/schema/mutation.graphqls +++ b/graphql/schema/mutation.graphqls @@ -1,7 +1,7 @@ type Mutation { torrent: TorrentMutation! queue: QueueMutation! - client: ClientMutation! + downloadclient: DownloadClientMutation! } type TorrentMutation { @@ -11,6 +11,6 @@ type TorrentMutation { deleteTags(infoHashes: [Hash20!], tagNames: [String!]): Void } -type ClientMutation { +type DownloadClientMutation { download(infoHashes: [Hash20!]): Void } diff --git a/graphql/schema/query.graphqls b/graphql/schema/query.graphqls index 7c93c358..9bae7c86 100644 --- a/graphql/schema/query.graphqls +++ b/graphql/schema/query.graphqls @@ -5,6 +5,7 @@ type Query { queue: QueueQuery! torrent: TorrentQuery! torrentContent: TorrentContentQuery! + downloadClient: DownloadClientConfigQuery! } type TorrentQuery { @@ -67,3 +68,7 @@ type HealthQuery { status: HealthStatus! checks: [HealthCheck!]! } + +type DownloadClientConfigQuery { + enabled: Boolean! +} diff --git a/internal/client/config.go b/internal/client/config.go index 88109d82..ba818418 100644 --- a/internal/client/config.go +++ b/internal/client/config.go @@ -13,6 +13,7 @@ type DownloadClient struct { } type Config struct { + Enabled bool Transmission DownloadClient Qbittorrent DownloadClient DownloadClient gen.ClientID @@ -22,6 +23,7 @@ type Config struct { func NewDefaultConfig() Config { cfg := Config{ + Enabled: false, Transmission: DownloadClient{ Host: "localhost", Port: "9091", diff --git a/internal/gql/gql.gen.go b/internal/gql/gql.gen.go index aed539b6..e543aa07 100644 --- a/internal/gql/gql.gen.go +++ b/internal/gql/gql.gen.go @@ -47,8 +47,8 @@ type Config struct { } type ResolverRoot interface { - ClientMutation() ClientMutationResolver Content() ContentResolver + DownloadClientMutation() DownloadClientMutationResolver Mutation() MutationResolver Query() QueryResolver QueueJob() QueueJobResolver @@ -63,10 +63,6 @@ type DirectiveRoot struct { } type ComplexityRoot struct { - ClientMutation struct { - Download func(childComplexity int, infoHashes []protocol.ID) int - } - Content struct { Adult func(childComplexity int) int Attributes func(childComplexity int) int @@ -116,6 +112,14 @@ type ComplexityRoot struct { Value func(childComplexity int) int } + DownloadClientConfigQuery struct { + Enabled func(childComplexity int) int + } + + DownloadClientMutation struct { + Download func(childComplexity int, infoHashes []protocol.ID) int + } + Episodes struct { Label func(childComplexity int) int Seasons func(childComplexity int) int @@ -163,12 +167,13 @@ type ComplexityRoot struct { } Mutation struct { - Client func(childComplexity int) int - Queue func(childComplexity int) int - Torrent func(childComplexity int) int + Downloadclient func(childComplexity int) int + Queue func(childComplexity int) int + Torrent func(childComplexity int) int } Query struct { + DownloadClient func(childComplexity int) int Health func(childComplexity int) int Queue func(childComplexity int) int Torrent func(childComplexity int) int @@ -436,16 +441,16 @@ type ComplexityRoot struct { } } -type ClientMutationResolver interface { - Download(ctx context.Context, obj *gqlmodel.ClientMutation, infoHashes []protocol.ID) (*string, error) -} type ContentResolver interface { OriginalLanguage(ctx context.Context, obj *model.Content) (*model.Language, error) } +type DownloadClientMutationResolver interface { + Download(ctx context.Context, obj *gqlmodel.DownloadClientMutation, infoHashes []protocol.ID) (*string, error) +} type MutationResolver interface { Torrent(ctx context.Context) (gqlmodel.TorrentMutation, error) Queue(ctx context.Context) (gqlmodel.QueueMutation, error) - Client(ctx context.Context) (gqlmodel.ClientMutation, error) + Downloadclient(ctx context.Context) (gqlmodel.DownloadClientMutation, error) } type QueryResolver interface { Version(ctx context.Context) (string, error) @@ -454,6 +459,7 @@ type QueryResolver interface { Queue(ctx context.Context) (gqlmodel.QueueQuery, error) Torrent(ctx context.Context) (gqlmodel.TorrentQuery, error) TorrentContent(ctx context.Context) (gqlmodel.TorrentContentQuery, error) + DownloadClient(ctx context.Context) (gen.DownloadClientConfigQuery, error) } type QueueJobResolver interface { RanAt(ctx context.Context, obj *model.QueueJob) (*time.Time, error) @@ -497,18 +503,6 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in _ = ec switch typeName + "." + field { - case "ClientMutation.download": - if e.complexity.ClientMutation.Download == nil { - break - } - - args, err := ec.field_ClientMutation_download_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.ClientMutation.Download(childComplexity, args["infoHashes"].([]protocol.ID)), true - case "Content.adult": if e.complexity.Content.Adult == nil { break @@ -768,6 +762,25 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.ContentTypeAgg.Value(childComplexity), true + case "DownloadClientConfigQuery.enabled": + if e.complexity.DownloadClientConfigQuery.Enabled == nil { + break + } + + return e.complexity.DownloadClientConfigQuery.Enabled(childComplexity), true + + case "DownloadClientMutation.download": + if e.complexity.DownloadClientMutation.Download == nil { + break + } + + args, err := ec.field_DownloadClientMutation_download_args(context.TODO(), rawArgs) + if err != nil { + return 0, false + } + + return e.complexity.DownloadClientMutation.Download(childComplexity, args["infoHashes"].([]protocol.ID)), true + case "Episodes.label": if e.complexity.Episodes.Label == nil { break @@ -922,12 +935,12 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.MetadataSource.Name(childComplexity), true - case "Mutation.client": - if e.complexity.Mutation.Client == nil { + case "Mutation.downloadclient": + if e.complexity.Mutation.Downloadclient == nil { break } - return e.complexity.Mutation.Client(childComplexity), true + return e.complexity.Mutation.Downloadclient(childComplexity), true case "Mutation.queue": if e.complexity.Mutation.Queue == nil { @@ -943,6 +956,13 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Mutation.Torrent(childComplexity), true + case "Query.downloadClient": + if e.complexity.Query.DownloadClient == nil { + break + } + + return e.complexity.Query.DownloadClient(childComplexity), true + case "Query.health": if e.complexity.Query.Health == nil { break @@ -2607,7 +2627,7 @@ type ContentCollection { {Name: "../../graphql/schema/mutation.graphqls", Input: `type Mutation { torrent: TorrentMutation! queue: QueueMutation! - client: ClientMutation! + downloadclient: DownloadClientMutation! } type TorrentMutation { @@ -2617,7 +2637,7 @@ type TorrentMutation { deleteTags(infoHashes: [Hash20!], tagNames: [String!]): Void } -type ClientMutation { +type DownloadClientMutation { download(infoHashes: [Hash20!]): Void } `, BuiltIn: false}, @@ -2628,6 +2648,7 @@ type ClientMutation { queue: QueueQuery! torrent: TorrentQuery! torrentContent: TorrentContentQuery! + downloadClient: DownloadClientConfigQuery! } type TorrentQuery { @@ -2690,6 +2711,10 @@ type HealthQuery { status: HealthStatus! checks: [HealthCheck!]! } + +type DownloadClientConfigQuery { + enabled: Boolean! +} `, BuiltIn: false}, {Name: "../../graphql/schema/queue.graphqls", Input: `type QueueQuery { jobs(input: QueueJobsQueryInput!): QueueJobsQueryResult! @@ -3001,17 +3026,17 @@ var parsedSchema = gqlparser.MustLoadSchema(sources...) // region ***************************** args.gotpl ***************************** -func (ec *executionContext) field_ClientMutation_download_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_DownloadClientMutation_download_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { var err error args := map[string]interface{}{} - arg0, err := ec.field_ClientMutation_download_argsInfoHashes(ctx, rawArgs) + arg0, err := ec.field_DownloadClientMutation_download_argsInfoHashes(ctx, rawArgs) if err != nil { return nil, err } args["infoHashes"] = arg0 return args, nil } -func (ec *executionContext) field_ClientMutation_download_argsInfoHashes( +func (ec *executionContext) field_DownloadClientMutation_download_argsInfoHashes( ctx context.Context, rawArgs map[string]interface{}, ) ([]protocol.ID, error) { @@ -3602,58 +3627,6 @@ func (ec *executionContext) field___Type_fields_argsIncludeDeprecated( // region **************************** field.gotpl ***************************** -func (ec *executionContext) _ClientMutation_download(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.ClientMutation) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ClientMutation_download(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { - ctx = rctx // use context from middleware stack in children - return ec.resolvers.ClientMutation().Download(rctx, obj, fc.Args["infoHashes"].([]protocol.ID)) - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - return graphql.Null - } - res := resTmp.(*string) - fc.Result = res - return ec.marshalOVoid2ᚖstring(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ClientMutation_download(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ClientMutation", - Field: field, - IsMethod: true, - IsResolver: true, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Void does not have child fields") - }, - } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_ClientMutation_download_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } - return fc, nil -} - func (ec *executionContext) _Content_type(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_type(ctx, field) if err != nil { @@ -5309,6 +5282,102 @@ func (ec *executionContext) fieldContext_ContentTypeAgg_isEstimate(_ context.Con return fc, nil } +func (ec *executionContext) _DownloadClientConfigQuery_enabled(ctx context.Context, field graphql.CollectedField, obj *gen.DownloadClientConfigQuery) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_DownloadClientConfigQuery_enabled(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return obj.Enabled, nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + if !graphql.HasFieldError(ctx, fc) { + ec.Errorf(ctx, "must not be null") + } + return graphql.Null + } + res := resTmp.(bool) + fc.Result = res + return ec.marshalNBoolean2bool(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_DownloadClientConfigQuery_enabled(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "DownloadClientConfigQuery", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Boolean does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _DownloadClientMutation_download(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.DownloadClientMutation) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_DownloadClientMutation_download(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return ec.resolvers.DownloadClientMutation().Download(rctx, obj, fc.Args["infoHashes"].([]protocol.ID)) + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(*string) + fc.Result = res + return ec.marshalOVoid2ᚖstring(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_DownloadClientMutation_download(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "DownloadClientMutation", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Void does not have child fields") + }, + } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field_DownloadClientMutation_download_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } + return fc, nil +} + func (ec *executionContext) _Episodes_label(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.Episodes) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Episodes_label(ctx, field) if err != nil { @@ -6400,8 +6469,8 @@ func (ec *executionContext) fieldContext_Mutation_queue(_ context.Context, field return fc, nil } -func (ec *executionContext) _Mutation_client(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_client(ctx, field) +func (ec *executionContext) _Mutation_downloadclient(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_Mutation_downloadclient(ctx, field) if err != nil { return graphql.Null } @@ -6414,7 +6483,7 @@ func (ec *executionContext) _Mutation_client(ctx context.Context, field graphql. }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().Client(rctx) + return ec.resolvers.Mutation().Downloadclient(rctx) }) if err != nil { ec.Error(ctx, err) @@ -6426,12 +6495,12 @@ func (ec *executionContext) _Mutation_client(ctx context.Context, field graphql. } return graphql.Null } - res := resTmp.(gqlmodel.ClientMutation) + res := resTmp.(gqlmodel.DownloadClientMutation) fc.Result = res - return ec.marshalNClientMutation2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐClientMutation(ctx, field.Selections, res) + return ec.marshalNDownloadClientMutation2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐDownloadClientMutation(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_Mutation_client(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_Mutation_downloadclient(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "Mutation", Field: field, @@ -6440,9 +6509,9 @@ func (ec *executionContext) fieldContext_Mutation_client(_ context.Context, fiel Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { switch field.Name { case "download": - return ec.fieldContext_ClientMutation_download(ctx, field) + return ec.fieldContext_DownloadClientMutation_download(ctx, field) } - return nil, fmt.Errorf("no field named %q was found under type ClientMutation", field.Name) + return nil, fmt.Errorf("no field named %q was found under type DownloadClientMutation", field.Name) }, } return fc, nil @@ -6742,6 +6811,54 @@ func (ec *executionContext) fieldContext_Query_torrentContent(_ context.Context, return fc, nil } +func (ec *executionContext) _Query_downloadClient(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_Query_downloadClient(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + ctx = rctx // use context from middleware stack in children + return ec.resolvers.Query().DownloadClient(rctx) + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + if !graphql.HasFieldError(ctx, fc) { + ec.Errorf(ctx, "must not be null") + } + return graphql.Null + } + res := resTmp.(gen.DownloadClientConfigQuery) + fc.Result = res + return ec.marshalNDownloadClientConfigQuery2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐDownloadClientConfigQuery(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_Query_downloadClient(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "Query", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + switch field.Name { + case "enabled": + return ec.fieldContext_DownloadClientConfigQuery_enabled(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type DownloadClientConfigQuery", field.Name) + }, + } + return fc, nil +} + func (ec *executionContext) _Query___type(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Query___type(ctx, field) if err != nil { @@ -16909,73 +17026,6 @@ func (ec *executionContext) unmarshalInputVideoSourceFacetInput(ctx context.Cont // region **************************** object.gotpl **************************** -var clientMutationImplementors = []string{"ClientMutation"} - -func (ec *executionContext) _ClientMutation(ctx context.Context, sel ast.SelectionSet, obj *gqlmodel.ClientMutation) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, clientMutationImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("ClientMutation") - case "download": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._ClientMutation_download(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - var contentImplementors = []string{"Content"} func (ec *executionContext) _Content(ctx context.Context, sel ast.SelectionSet, obj *model.Content) graphql.Marshaler { @@ -17295,6 +17345,112 @@ func (ec *executionContext) _ContentTypeAgg(ctx context.Context, sel ast.Selecti return out } +var downloadClientConfigQueryImplementors = []string{"DownloadClientConfigQuery"} + +func (ec *executionContext) _DownloadClientConfigQuery(ctx context.Context, sel ast.SelectionSet, obj *gen.DownloadClientConfigQuery) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, downloadClientConfigQueryImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("DownloadClientConfigQuery") + case "enabled": + out.Values[i] = ec._DownloadClientConfigQuery_enabled(ctx, field, obj) + if out.Values[i] == graphql.Null { + out.Invalids++ + } + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + +var downloadClientMutationImplementors = []string{"DownloadClientMutation"} + +func (ec *executionContext) _DownloadClientMutation(ctx context.Context, sel ast.SelectionSet, obj *gqlmodel.DownloadClientMutation) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, downloadClientMutationImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("DownloadClientMutation") + case "download": + field := field + + innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._DownloadClientMutation_download(ctx, field, obj) + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + var episodesImplementors = []string{"Episodes"} func (ec *executionContext) _Episodes(ctx context.Context, sel ast.SelectionSet, obj *gqlmodel.Episodes) graphql.Marshaler { @@ -17707,9 +17863,9 @@ func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet) if out.Values[i] == graphql.Null { out.Invalids++ } - case "client": + case "downloadclient": out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_client(ctx, field) + return ec._Mutation_downloadclient(ctx, field) }) if out.Values[i] == graphql.Null { out.Invalids++ @@ -17887,6 +18043,28 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) } + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) + case "downloadClient": + field := field + + innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._Query_downloadClient(ctx, field) + if res == graphql.Null { + atomic.AddUint32(&fs.Invalids, 1) + } + return res + } + + rrm := func(ctx context.Context) graphql.Marshaler { + return ec.OperationContext.RootResolverMiddleware(ctx, + func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + } + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) case "__type": out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { @@ -20515,10 +20693,6 @@ func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.Se return res } -func (ec *executionContext) marshalNClientMutation2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐClientMutation(ctx context.Context, sel ast.SelectionSet, v gqlmodel.ClientMutation) graphql.Marshaler { - return ec._ClientMutation(ctx, sel, &v) -} - func (ec *executionContext) marshalNContentAttribute2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentAttribute(ctx context.Context, sel ast.SelectionSet, v model.ContentAttribute) graphql.Marshaler { return ec._ContentAttribute(ctx, sel, &v) } @@ -20650,6 +20824,14 @@ func (ec *executionContext) marshalNDateTime2timeᚐTime(ctx context.Context, se return res } +func (ec *executionContext) marshalNDownloadClientConfigQuery2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐDownloadClientConfigQuery(ctx context.Context, sel ast.SelectionSet, v gen.DownloadClientConfigQuery) graphql.Marshaler { + return ec._DownloadClientConfigQuery(ctx, sel, &v) +} + +func (ec *executionContext) marshalNDownloadClientMutation2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐDownloadClientMutation(ctx context.Context, sel ast.SelectionSet, v gqlmodel.DownloadClientMutation) graphql.Marshaler { + return ec._DownloadClientMutation(ctx, sel, &v) +} + func (ec *executionContext) marshalNExternalLink2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐExternalLink(ctx context.Context, sel ast.SelectionSet, v model.ExternalLink) graphql.Marshaler { return ec._ExternalLink(ctx, sel, &v) } diff --git a/internal/gql/gqlmodel/client.go b/internal/gql/gqlmodel/client.go deleted file mode 100644 index f66be420..00000000 --- a/internal/gql/gqlmodel/client.go +++ /dev/null @@ -1,3 +0,0 @@ -package gqlmodel - -type ClientMutation struct{} diff --git a/internal/gql/gqlmodel/downloadclient.go b/internal/gql/gqlmodel/downloadclient.go new file mode 100644 index 00000000..9f040b19 --- /dev/null +++ b/internal/gql/gqlmodel/downloadclient.go @@ -0,0 +1,3 @@ +package gqlmodel + +type DownloadClientMutation struct{} diff --git a/internal/gql/gqlmodel/gen/model.gen.go b/internal/gql/gqlmodel/gen/model.gen.go index 3d3d3cae..20d97711 100644 --- a/internal/gql/gqlmodel/gen/model.gen.go +++ b/internal/gql/gqlmodel/gen/model.gen.go @@ -26,6 +26,10 @@ type ContentTypeFacetInput struct { Filter graphql.Omittable[[]*model.ContentType] `json:"filter,omitempty"` } +type DownloadClientConfigQuery struct { + Enabled bool `json:"enabled"` +} + type GenreAgg struct { Value string `json:"value"` Label string `json:"label"` diff --git a/internal/gql/resolvers/mutation.resolvers.go b/internal/gql/resolvers/mutation.resolvers.go index 9c23c9f7..bc0a3576 100644 --- a/internal/gql/resolvers/mutation.resolvers.go +++ b/internal/gql/resolvers/mutation.resolvers.go @@ -14,7 +14,7 @@ import ( ) // Download is the resolver for the download field. -func (r *clientMutationResolver) Download(ctx context.Context, obj *gqlmodel.ClientMutation, infoHashes []protocol.ID) (*string, error) { +func (r *downloadClientMutationResolver) Download(ctx context.Context, obj *gqlmodel.DownloadClientMutation, infoHashes []protocol.ID) (*string, error) { c := client.New(&r.ClientConfig, r.Search) err := c.AddInfoHashes(ctx, client.AddInfoHashesRequest{ @@ -35,9 +35,9 @@ func (r *mutationResolver) Queue(ctx context.Context) (gqlmodel.QueueMutation, e return gqlmodel.QueueMutation{QueueManager: r.QueueManager}, nil } -// Client is the resolver for the client field. -func (r *mutationResolver) Client(ctx context.Context) (gqlmodel.ClientMutation, error) { - return gqlmodel.ClientMutation{}, nil +// Downloadclient is the resolver for the downloadclient field. +func (r *mutationResolver) Downloadclient(ctx context.Context) (gqlmodel.DownloadClientMutation, error) { + return gqlmodel.DownloadClientMutation{}, nil } // Delete is the resolver for the delete field. @@ -61,8 +61,10 @@ func (r *torrentMutationResolver) DeleteTags(ctx context.Context, obj *gqlmodel. return nil, r.Dao.TorrentTag.Delete(ctx, infoHashes, tagNames) } -// ClientMutation returns gql.ClientMutationResolver implementation. -func (r *Resolver) ClientMutation() gql.ClientMutationResolver { return &clientMutationResolver{r} } +// DownloadClientMutation returns gql.DownloadClientMutationResolver implementation. +func (r *Resolver) DownloadClientMutation() gql.DownloadClientMutationResolver { + return &downloadClientMutationResolver{r} +} // Mutation returns gql.MutationResolver implementation. func (r *Resolver) Mutation() gql.MutationResolver { return &mutationResolver{r} } @@ -70,6 +72,6 @@ func (r *Resolver) Mutation() gql.MutationResolver { return &mutationResolver{r} // TorrentMutation returns gql.TorrentMutationResolver implementation. func (r *Resolver) TorrentMutation() gql.TorrentMutationResolver { return &torrentMutationResolver{r} } -type clientMutationResolver struct{ *Resolver } +type downloadClientMutationResolver struct{ *Resolver } type mutationResolver struct{ *Resolver } type torrentMutationResolver struct{ *Resolver } diff --git a/internal/gql/resolvers/query.resolvers.go b/internal/gql/resolvers/query.resolvers.go index e282f1ac..963ef19c 100644 --- a/internal/gql/resolvers/query.resolvers.go +++ b/internal/gql/resolvers/query.resolvers.go @@ -98,6 +98,13 @@ func (r *queryResolver) TorrentContent(ctx context.Context) (gqlmodel.TorrentCon }, nil } +// DownloadClient is the resolver for the downloadClient field. +func (r *queryResolver) DownloadClient(ctx context.Context) (gen.DownloadClientConfigQuery, error) { + return gen.DownloadClientConfigQuery{ + Enabled: r.ClientConfig.Enabled, + }, nil +} + // Files is the resolver for the files field. func (r *torrentQueryResolver) Files(ctx context.Context, obj *gqlmodel.TorrentQuery, input gqlmodel.TorrentFilesQueryInput) (query.GenericResult[model.TorrentFile], error) { return gqlmodel.TorrentQuery{ diff --git a/webui/src/app/graphql/generated/index.ts b/webui/src/app/graphql/generated/index.ts index 5edd5963..5b18f821 100644 --- a/webui/src/app/graphql/generated/index.ts +++ b/webui/src/app/graphql/generated/index.ts @@ -25,6 +25,10 @@ export type Scalars = { Year: { input: number; output: number; } }; +export type ClientId = + | 'QBittorrent' + | 'Transmission'; + export type Content = { __typename?: 'Content'; adult?: Maybe; @@ -94,6 +98,21 @@ export type ContentTypeFacetInput = { filter?: InputMaybe>>; }; +export type DownloadClientConfigQuery = { + __typename?: 'DownloadClientConfigQuery'; + enabled: Scalars['Boolean']['output']; +}; + +export type DownloadClientMutation = { + __typename?: 'DownloadClientMutation'; + download?: Maybe; +}; + + +export type DownloadClientMutationDownloadArgs = { + infoHashes?: InputMaybe>; +}; + export type Episodes = { __typename?: 'Episodes'; label: Scalars['String']['output']; @@ -256,12 +275,14 @@ export type MetricsBucketDuration = export type Mutation = { __typename?: 'Mutation'; + downloadclient: DownloadClientMutation; queue: QueueMutation; torrent: TorrentMutation; }; export type Query = { __typename?: 'Query'; + downloadClient: DownloadClientConfigQuery; health: HealthQuery; queue: QueueQuery; torrent: TorrentQuery; @@ -863,6 +884,13 @@ export type TorrentFileFragment = { __typename?: 'TorrentFile', infoHash: string export type TorrentFilesQueryResultFragment = { __typename?: 'TorrentFilesQueryResult', totalCount: number, hasNextPage?: boolean | null, items: Array<{ __typename?: 'TorrentFile', infoHash: string, index: number, path: string, size: number, fileType?: FileType | null, createdAt: string, updatedAt: string }> }; +export type DownloadMutationVariables = Exact<{ + infoHashes: Array | Scalars['Hash20']['input']; +}>; + + +export type DownloadMutation = { __typename?: 'Mutation', downloadclient: { __typename?: 'DownloadClientMutation', download?: void | null } }; + export type QueueEnqueueReprocessTorrentsBatchMutationVariables = Exact<{ input: QueueEnqueueReprocessTorrentsBatchInput; }>; @@ -908,6 +936,11 @@ export type TorrentSetTagsMutationVariables = Exact<{ export type TorrentSetTagsMutation = { __typename?: 'Mutation', torrent: { __typename?: 'TorrentMutation', setTags?: void | null } }; +export type DownloadClientEnabledQueryVariables = Exact<{ [key: string]: never; }>; + + +export type DownloadClientEnabledQuery = { __typename?: 'Query', downloadClient: { __typename?: 'DownloadClientConfigQuery', enabled: boolean } }; + export type HealthCheckQueryVariables = Exact<{ [key: string]: never; }>; @@ -1194,6 +1227,24 @@ export const TorrentFilesQueryResultFragmentDoc = gql` hasNextPage } ${TorrentFileFragmentDoc}`; +export const DownloadDocument = gql` + mutation Download($infoHashes: [Hash20!]!) { + downloadclient { + download(infoHashes: $infoHashes) + } +} + `; + + @Injectable({ + providedIn: 'root' + }) + export class DownloadGQL extends Apollo.Mutation { + override document = DownloadDocument; + + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } export const QueueEnqueueReprocessTorrentsBatchDocument = gql` mutation QueueEnqueueReprocessTorrentsBatch($input: QueueEnqueueReprocessTorrentsBatchInput!) { queue { @@ -1298,6 +1349,24 @@ export const TorrentSetTagsDocument = gql` export class TorrentSetTagsGQL extends Apollo.Mutation { override document = TorrentSetTagsDocument; + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } +export const DownloadClientEnabledDocument = gql` + query DownloadClientEnabled { + downloadClient { + enabled + } +} + `; + + @Injectable({ + providedIn: 'root' + }) + export class DownloadClientEnabledGQL extends Apollo.Query { + override document = DownloadClientEnabledDocument; + constructor(apollo: Apollo.Apollo) { super(apollo); } diff --git a/webui/src/app/graphql/graphql.service.ts b/webui/src/app/graphql/graphql.service.ts index 46a20275..200241af 100644 --- a/webui/src/app/graphql/graphql.service.ts +++ b/webui/src/app/graphql/graphql.service.ts @@ -81,6 +81,27 @@ export class GraphQLService { }) .pipe(map((r) => r.data.torrent.suggestTags)); } + + clientDownload(input: generated.DownloadMutationVariables): Observable { + return this.apollo + .mutate({ + mutation: generated.DownloadDocument, + variables: input, + fetchPolicy, + }) + .pipe(map(() => void 0)); + } + + downloadClientEnabledQuery(): Observable { + return this.apollo + .query< + generated.DownloadClientEnabledQuery, + generated.DownloadClientEnabledQueryVariables + >({ + query: generated.DownloadClientEnabledDocument, + }) + .pipe(map((r) => r.data.downloadClient.enabled)); + } } const fetchPolicy = "no-cache"; diff --git a/webui/src/app/torrents/torrents-bulk-actions.component.html b/webui/src/app/torrents/torrents-bulk-actions.component.html index 425cdc6b..181a1902 100644 --- a/webui/src/app/torrents/torrents-bulk-actions.component.html +++ b/webui/src/app/torrents/torrents-bulk-actions.component.html @@ -153,6 +153,40 @@ +
+ + + download_for_offline + @if (breakpoints.sizeAtLeast("Medium")) { + Download + } + + + + + +

+ Are you sure you want to download the selected + torrents? +

+
+ + + +
+
+
+
+ @if (selectedTabIndex > 0) { diff --git a/webui/src/app/torrents/torrents-bulk-actions.component.ts b/webui/src/app/torrents/torrents-bulk-actions.component.ts index 835de94e..3a68d035 100644 --- a/webui/src/app/torrents/torrents-bulk-actions.component.ts +++ b/webui/src/app/torrents/torrents-bulk-actions.component.ts @@ -38,10 +38,18 @@ export class TorrentsBulkActionsComponent implements OnInit { suggestedTags = Array(); selectedItems = new Array(); + downloadEnabled = false; + ngOnInit() { this.selectedItems$.subscribe((items) => { this.selectedItems = items; }); + this.graphQLService.downloadClientEnabledQuery().subscribe({ + next: (enabled: boolean) => { + this.downloadEnabled = enabled; + this.errorsService.addError(`hello: ${enabled}`); + }, + }); } selectTab(index: number): void { @@ -196,4 +204,24 @@ export class TorrentsBulkActionsComponent implements OnInit { ) .subscribe(); } + + downloadTorrents() { + const infoHashes = this.selectedItems.map(({ infoHash }) => infoHash); + this.graphQLService + .clientDownload({ infoHashes }) + .pipe( + catchError((err: Error) => { + this.errorsService.addError( + `Error downloading torrents: ${err.message}`, + ); + return EMPTY; + }), + ) + .pipe( + tap(() => { + this.updated.emit(); + }), + ) + .subscribe(); + } } From 3076f190a1150ace1b00856494a25e4facbf87d3 Mon Sep 17 00:00:00 2001 From: rraymondgh <42769112+rraymondgh@users.noreply.github.com> Date: Wed, 30 Oct 2024 11:48:34 +0000 Subject: [PATCH 05/14] templated code translations with npx i18n-auto-translation -k $API_KEY -d webui/src/app/i18n/translations -t --- webui/src/app/i18n/translations/ar.json | 9 ++++++++ webui/src/app/i18n/translations/de.json | 9 ++++++++ webui/src/app/i18n/translations/en.json | 9 ++++++++ webui/src/app/i18n/translations/es.json | 9 ++++++++ webui/src/app/i18n/translations/fr.json | 9 ++++++++ webui/src/app/i18n/translations/hi.json | 10 +++++++++ webui/src/app/i18n/translations/ja.json | 10 +++++++++ webui/src/app/i18n/translations/nl.json | 10 +++++++++ webui/src/app/i18n/translations/pt.json | 10 +++++++++ webui/src/app/i18n/translations/ru.json | 10 +++++++++ webui/src/app/i18n/translations/tr.json | 10 +++++++++ webui/src/app/i18n/translations/uk.json | 10 +++++++++ webui/src/app/i18n/translations/zh.json | 9 ++++++++ .../torrents-bulk-actions.component.html | 22 +++++++++---------- 14 files changed, 134 insertions(+), 12 deletions(-) diff --git a/webui/src/app/i18n/translations/ar.json b/webui/src/app/i18n/translations/ar.json index 571b69b4..e7c902cc 100644 --- a/webui/src/app/i18n/translations/ar.json +++ b/webui/src/app/i18n/translations/ar.json @@ -287,6 +287,15 @@ "size": "الحجم", "source": "مصدر التورنت", "summary": "الملخص", + "tags": { + "delete": "حذف العلامات", + "delete_tip": "إزالة العلامات من ملفات التورنت المحددة", + "placeholder": "العلامة...", + "put": "وضع العلامات", + "put_tip": "إضافة العلامات إلى ملفات التورنت المحددة", + "set": "تعيين العلامات", + "set_tip": "استبدال العلامات في ملفات التورنت المحددة" + }, "title": "العنوان", "toggle_drawer": "تبديل الدرج", "votes_count_n": "{{count}} أصوات" diff --git a/webui/src/app/i18n/translations/de.json b/webui/src/app/i18n/translations/de.json index c54f2933..777e5331 100644 --- a/webui/src/app/i18n/translations/de.json +++ b/webui/src/app/i18n/translations/de.json @@ -287,6 +287,15 @@ "size": "Größe", "source": "Torrent-Quelle", "summary": "Zusammenfassung", + "tags": { + "delete": "Tags löschen", + "delete_tip": "Tags aus den ausgewählten Torrents entfernen", + "placeholder": "Tag...", + "put": "Tags setzen", + "put_tip": "Tags zu den ausgewählten Torrents hinzufügen", + "set": "Tags setzen", + "set_tip": "Tags der ausgewählten Torrents ersetzen" + }, "title": "Titel", "toggle_drawer": "Schublade umschalten", "votes_count_n": "{{count}} Stimmen" diff --git a/webui/src/app/i18n/translations/en.json b/webui/src/app/i18n/translations/en.json index df2509a6..e50e505f 100644 --- a/webui/src/app/i18n/translations/en.json +++ b/webui/src/app/i18n/translations/en.json @@ -287,6 +287,15 @@ "size": "Size", "source": "Torrent Source", "summary": "Summary", + "tags": { + "delete": "Delete tags", + "delete_tip": "Remove tags from the selected torrents", + "placeholder": "Tag...", + "put": "Put tags", + "put_tip": "Add tags to the selected torrents", + "set": "Set tags", + "set_tip": "Replace tags of the selected torrents" + }, "title": "Title", "toggle_drawer": "Toggle Drawer", "votes_count_n": "{{count}} votes" diff --git a/webui/src/app/i18n/translations/es.json b/webui/src/app/i18n/translations/es.json index f6fb5907..700da610 100644 --- a/webui/src/app/i18n/translations/es.json +++ b/webui/src/app/i18n/translations/es.json @@ -287,6 +287,15 @@ "size": "Tamaño", "source": "Fuente del torrent", "summary": "Resumen", + "tags": { + "delete": "Eliminar etiquetas", + "delete_tip": "Eliminar etiquetas de los torrents seleccionados", + "placeholder": "Etiqueta...", + "put": "Poner etiquetas", + "put_tip": "Añadir etiquetas a los torrents seleccionados", + "set": "Establecer etiquetas", + "set_tip": "Reemplazar etiquetas de los torrents seleccionados" + }, "title": "Título", "toggle_drawer": "Alternar cajón", "votes_count_n": "{{count}} votos" diff --git a/webui/src/app/i18n/translations/fr.json b/webui/src/app/i18n/translations/fr.json index 1b73dccd..17ff7524 100644 --- a/webui/src/app/i18n/translations/fr.json +++ b/webui/src/app/i18n/translations/fr.json @@ -287,6 +287,15 @@ "size": "Taille", "source": "Source du torrent", "summary": "Résumé", + "tags": { + "delete": "Supprimer les tags", + "delete_tip": "Supprimer les tags des torrents sélectionnés", + "placeholder": "Tag...", + "put": "Mettre des tags", + "put_tip": "Ajouter des tags aux torrents sélectionnés", + "set": "Définir des tags", + "set_tip": "Remplacer les tags des torrents sélectionnés" + }, "title": "Titre", "toggle_drawer": "Basculer le tiroir", "votes_count_n": "{{count}} votes" diff --git a/webui/src/app/i18n/translations/hi.json b/webui/src/app/i18n/translations/hi.json index 62a95283..08a7c237 100644 --- a/webui/src/app/i18n/translations/hi.json +++ b/webui/src/app/i18n/translations/hi.json @@ -221,6 +221,7 @@ "next_page": "अगला पृष्ठ", "previous_page": "पिछला पृष्ठ", "x_to_y": "{{x}} से {{y}} तक", + "x_to_y_of_y": "__missing__", "x_to_y_of_z": "{{x}} से {{y}} तक {{z}} में" }, "routes": { @@ -286,6 +287,15 @@ "size": "आकार", "source": "टोरेंट स्रोत", "summary": "सारांश", + "tags": { + "delete": "टैग हटाएं", + "delete_tip": "चयनित टोरेंट से टैग हटाएं", + "placeholder": "टैग...", + "put": "टैग डालें", + "put_tip": "चयनित टोरेंट में टैग जोड़ें", + "set": "टैग सेट करें", + "set_tip": "चयनित टोरेंट के टैग बदलें" + }, "title": "शीर्षक", "toggle_drawer": "ड्रॉअर बदलें", "votes_count_n": "{{count}} वोट" diff --git a/webui/src/app/i18n/translations/ja.json b/webui/src/app/i18n/translations/ja.json index a2082a81..094dbe16 100644 --- a/webui/src/app/i18n/translations/ja.json +++ b/webui/src/app/i18n/translations/ja.json @@ -221,6 +221,7 @@ "next_page": "次のページ", "previous_page": "前のページ", "x_to_y": "{{x}} から {{y}} まで", + "x_to_y_of_y": "__missing__", "x_to_y_of_z": "{{x}} から {{y}} までの {{z}}" }, "routes": { @@ -286,6 +287,15 @@ "size": "サイズ", "source": "トレントソース", "summary": "概要", + "tags": { + "delete": "タグを削除", + "delete_tip": "選択したトレントからタグを削除", + "placeholder": "タグ...", + "put": "タグを付ける", + "put_tip": "選択したトレントにタグを追加する", + "set": "タグを設定する", + "set_tip": "選択したトレントのタグを置き換える" + }, "title": "タイトル", "toggle_drawer": "引き出しを切り替え", "votes_count_n": "{{count}} 票" diff --git a/webui/src/app/i18n/translations/nl.json b/webui/src/app/i18n/translations/nl.json index 7725c509..de7eb4aa 100644 --- a/webui/src/app/i18n/translations/nl.json +++ b/webui/src/app/i18n/translations/nl.json @@ -221,6 +221,7 @@ "next_page": "Volgende pagina", "previous_page": "Vorige pagina", "x_to_y": "{{x}} tot {{y}}", + "x_to_y_of_y": "__missing__", "x_to_y_of_z": "{{x}} tot {{y}} van {{z}}" }, "routes": { @@ -286,6 +287,15 @@ "size": "Grootte", "source": "Torrentbron", "summary": "Samenvatting", + "tags": { + "delete": "Tags verwijderen", + "delete_tip": "Tags verwijderen van de geselecteerde torrents", + "placeholder": "Tag...", + "put": "Tags plaatsen", + "put_tip": "Tags toevoegen aan de geselecteerde torrents", + "set": "Tags instellen", + "set_tip": "Tags van de geselecteerde torrents vervangen" + }, "title": "Titel", "toggle_drawer": "Zijpaneel in-/uitschakelen", "votes_count_n": "{{count}} stemmen" diff --git a/webui/src/app/i18n/translations/pt.json b/webui/src/app/i18n/translations/pt.json index 844747b5..259a7af1 100644 --- a/webui/src/app/i18n/translations/pt.json +++ b/webui/src/app/i18n/translations/pt.json @@ -221,6 +221,7 @@ "next_page": "Próxima página", "previous_page": "Página anterior", "x_to_y": "{{x}} a {{y}}", + "x_to_y_of_y": "__missing__", "x_to_y_of_z": "{{x}} a {{y}} de {{z}}" }, "routes": { @@ -286,6 +287,15 @@ "size": "Tamanho", "source": "Fonte do torrent", "summary": "Resumo", + "tags": { + "delete": "Excluir tags", + "delete_tip": "Remover tags dos torrents selecionados", + "placeholder": "Tag...", + "put": "Colocar tags", + "put_tip": "Adicionar tags aos torrents selecionados", + "set": "Definir tags", + "set_tip": "Substituir tags dos torrents selecionados" + }, "title": "Título", "toggle_drawer": "Alternar gaveta", "votes_count_n": "{{count}} votos" diff --git a/webui/src/app/i18n/translations/ru.json b/webui/src/app/i18n/translations/ru.json index 6e930749..9ffbfd1f 100644 --- a/webui/src/app/i18n/translations/ru.json +++ b/webui/src/app/i18n/translations/ru.json @@ -221,6 +221,7 @@ "next_page": "Следующая страница", "previous_page": "Предыдущая страница", "x_to_y": "{{x}} до {{y}}", + "x_to_y_of_y": "__missing__", "x_to_y_of_z": "{{x}} до {{y}} из {{z}}" }, "routes": { @@ -286,6 +287,15 @@ "size": "Размер", "source": "Источник торрента", "summary": "Сводка", + "tags": { + "delete": "Удалить теги", + "delete_tip": "Удалить теги из выбранных торрентов", + "placeholder": "Тег...", + "put": "Поместить теги", + "put_tip": "Добавить теги к выбранным торрентам", + "set": "Установить теги", + "set_tip": "Заменить теги выбранных торрентов" + }, "title": "Название", "toggle_drawer": "Переключить панель", "votes_count_n": "{{count}} голосов" diff --git a/webui/src/app/i18n/translations/tr.json b/webui/src/app/i18n/translations/tr.json index 1de39189..60d1fee7 100644 --- a/webui/src/app/i18n/translations/tr.json +++ b/webui/src/app/i18n/translations/tr.json @@ -221,6 +221,7 @@ "next_page": "Sonraki Sayfa", "previous_page": "Önceki Sayfa", "x_to_y": "{{x}} - {{y}} arası", + "x_to_y_of_y": "__missing__", "x_to_y_of_z": "{{x}} ile {{y}} arası, toplam {{z}}" }, "routes": { @@ -286,6 +287,15 @@ "size": "Boyut", "source": "Torrent Kaynağı", "summary": "Özet", + "tags": { + "delete": "Etiketleri sil", + "delete_tip": "Seçili torrentlerden etiketleri kaldır", + "placeholder": "Etiket...", + "put": "Etiket koy", + "put_tip": "Seçili torrentlere etiket ekle", + "set": "Etiketleri ayarla", + "set_tip": "Seçili torrentlerin etiketlerini değiştir" + }, "title": "Başlık", "toggle_drawer": "Çekmeceyi Aç/Kapat", "votes_count_n": "{{count}} oy" diff --git a/webui/src/app/i18n/translations/uk.json b/webui/src/app/i18n/translations/uk.json index af117a57..d9bee7cc 100644 --- a/webui/src/app/i18n/translations/uk.json +++ b/webui/src/app/i18n/translations/uk.json @@ -221,6 +221,7 @@ "next_page": "Наступна сторінка", "previous_page": "Попередня сторінка", "x_to_y": "{{x}} до {{y}}", + "x_to_y_of_y": "__пропав__", "x_to_y_of_z": "{{x}} до {{y}} з {{z}}" }, "routes": { @@ -286,6 +287,15 @@ "size": "Розмір", "source": "Джерело торрента", "summary": "Зведення", + "tags": { + "delete": "Видалити теги", + "delete_tip": "Видаліть теги з вибраних торрентів", + "placeholder": "Теги...", + "put": "Ставте теги", + "put_tip": "Додайте теги до вибраних торрентів", + "set": "Встановити теги", + "set_tip": "Замінити теги вибраних торрентів" + }, "title": "Назва", "toggle_drawer": "Перемкнути панель", "votes_count_n": "{{count}} голосів" diff --git a/webui/src/app/i18n/translations/zh.json b/webui/src/app/i18n/translations/zh.json index 93878dee..b03d3fee 100644 --- a/webui/src/app/i18n/translations/zh.json +++ b/webui/src/app/i18n/translations/zh.json @@ -287,6 +287,15 @@ "size": "大小", "source": "种子来源", "summary": "摘要", + "tags": { + "delete": "删除标签", + "delete_tip": "从选定的种子中删除标签", + "placeholder": "标签...", + "put": "添加标签", + "put_tip": "为选定的种子添加标签", + "set": "设置标签", + "set_tip": "替换选定种子的标签" + }, "title": "标题", "toggle_drawer": "切换抽屉", "votes_count_n": "{{count}}票" diff --git a/webui/src/app/torrents/torrents-bulk-actions.component.html b/webui/src/app/torrents/torrents-bulk-actions.component.html index 425cdc6b..a0cee9a3 100644 --- a/webui/src/app/torrents/torrents-bulk-actions.component.html +++ b/webui/src/app/torrents/torrents-bulk-actions.component.html @@ -66,7 +66,7 @@ } - Set tags + {{ t("torrents.tags.set") }} @@ -134,10 +134,8 @@

- Are you sure you want to delete the selected torrents? -
This action cannot be undone. + {{ t("torrents.delete_are_you_sure") }} +
{{ t("torrents.delete_action_cannot_be_undone") }}.

@@ -147,7 +145,7 @@ [disabled]="!selectedItems.length" (click)="deleteTorrents()" > - delete_foreverDelete + delete_forever{{ t("torrents.delete") }}
From 65fea858bed2af8f03a70d32b1e803a34b511f2b Mon Sep 17 00:00:00 2001 From: rraymondgh <42769112+rraymondgh@users.noreply.github.com> Date: Wed, 30 Oct 2024 18:03:51 +0000 Subject: [PATCH 06/14] i18n --- Taskfile.yml | 21 ++++++++++++++++++- webui/src/app/i18n/translations/ar.json | 2 ++ webui/src/app/i18n/translations/de.json | 2 ++ webui/src/app/i18n/translations/en.json | 2 ++ webui/src/app/i18n/translations/es.json | 2 ++ webui/src/app/i18n/translations/fr.json | 2 ++ webui/src/app/i18n/translations/hi.json | 2 ++ webui/src/app/i18n/translations/ja.json | 2 ++ webui/src/app/i18n/translations/nl.json | 2 ++ webui/src/app/i18n/translations/pt.json | 2 ++ webui/src/app/i18n/translations/ru.json | 2 ++ webui/src/app/i18n/translations/tr.json | 2 ++ webui/src/app/i18n/translations/uk.json | 2 ++ webui/src/app/i18n/translations/zh.json | 2 ++ .../torrents-bulk-actions.component.html | 18 ++++++++-------- .../torrents-bulk-actions.component.ts | 1 - 16 files changed, 55 insertions(+), 11 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 9a00f8ad..bfeddfcd 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -43,7 +43,7 @@ tasks: gen-classifier-schema: cmds: - - go run . classifier schema --format json > ./bitmagnet.io/schemas/classifier-0.1.json + - go run . classifier schema --format json > ./bitmagnet.io/schemas/classifier-0.1 gen-webui-graphql: dir: ./webui @@ -55,6 +55,25 @@ tasks: cmds: - npm run i18n:extract + i18n-translate: + cmds: + - for: + [ + "ar", + "de", + "es", + "fr", + "hi", + "ja", + "nl", + "pt", + "ru", + "tr", + "uk", + "zh", + ] + cmd: npx i18n-auto-translation -k $API_KEY -d webui/src/app/i18n/translations -t {{ .ITEM }} + lint: cmds: # Removing golang-ci lint as the Nix package is currently broken diff --git a/webui/src/app/i18n/translations/ar.json b/webui/src/app/i18n/translations/ar.json index e7c902cc..f857d5e6 100644 --- a/webui/src/app/i18n/translations/ar.json +++ b/webui/src/app/i18n/translations/ar.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "لا يمكن التراجع عن هذا الإجراء", "delete_are_you_sure": "هل أنت متأكد أنك تريد حذف هذا التورنت؟", "deselect_all": "إلغاء تحديد الكل", + "download": "تنزيل", + "download_confirm": "هل أنت متأكد من أنك تريد تنزيل ملفات التورنت المحددة؟", "edit_tags": "تحرير العلامات", "episodes": "الحلقات", "external_links": "روابط خارجية", diff --git a/webui/src/app/i18n/translations/de.json b/webui/src/app/i18n/translations/de.json index 777e5331..905604af 100644 --- a/webui/src/app/i18n/translations/de.json +++ b/webui/src/app/i18n/translations/de.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "Diese Aktion kann nicht rückgängig gemacht werden", "delete_are_you_sure": "Sind Sie sicher, dass Sie diesen Torrent löschen möchten?", "deselect_all": "Alle abwählen", + "download": "Herunterladen", + "download_confirm": "Möchten Sie die ausgewählten Torrents wirklich herunterladen?", "edit_tags": "Tags bearbeiten", "episodes": "Episoden", "external_links": "Externe Links", diff --git a/webui/src/app/i18n/translations/en.json b/webui/src/app/i18n/translations/en.json index e50e505f..404dbb2a 100644 --- a/webui/src/app/i18n/translations/en.json +++ b/webui/src/app/i18n/translations/en.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "This action cannot be undone", "delete_are_you_sure": "Are you sure you want to delete this torrent?", "deselect_all": "Deselect All", + "download": "Download", + "download_confirm": "Are you sure you want to download the selected torrents?", "edit_tags": "Edit tags", "episodes": "Episodes", "external_links": "External links", diff --git a/webui/src/app/i18n/translations/es.json b/webui/src/app/i18n/translations/es.json index 700da610..9d5a5097 100644 --- a/webui/src/app/i18n/translations/es.json +++ b/webui/src/app/i18n/translations/es.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "Esta acción no se puede deshacer", "delete_are_you_sure": "¿Está seguro de que desea eliminar este torrent?", "deselect_all": "Deseleccionar todo", + "download": "Descargar", + "download_confirm": "¿Estás seguro de que deseas descargar los torrents seleccionados?", "edit_tags": "Editar etiquetas", "episodes": "Episodios", "external_links": "Enlaces externos", diff --git a/webui/src/app/i18n/translations/fr.json b/webui/src/app/i18n/translations/fr.json index 17ff7524..7b589031 100644 --- a/webui/src/app/i18n/translations/fr.json +++ b/webui/src/app/i18n/translations/fr.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "Cette action ne peut pas être annulée", "delete_are_you_sure": "Êtes-vous sûr de vouloir supprimer ce torrent?", "deselect_all": "Tout désélectionner", + "download": "Télécharger", + "download_confirm": "Êtes-vous sûr de vouloir télécharger les torrents sélectionnés ?", "edit_tags": "Modifier les tags", "episodes": "Épisodes", "external_links": "Liens externes", diff --git a/webui/src/app/i18n/translations/hi.json b/webui/src/app/i18n/translations/hi.json index 08a7c237..0364e095 100644 --- a/webui/src/app/i18n/translations/hi.json +++ b/webui/src/app/i18n/translations/hi.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "यह क्रिया पूर्ववत नहीं की जा सकती", "delete_are_you_sure": "क्या आप वाकई इस टोरेंट को हटाना चाहते हैं?", "deselect_all": "सभी को अचयनित करें", + "download": "डाउनलोड करें", + "download_confirm": "क्या आप वाकई चयनित टोरेंट डाउनलोड करना चाहते हैं?", "edit_tags": "टैग संपादित करें", "episodes": "एपिसोड्स", "external_links": "बाहरी लिंक", diff --git a/webui/src/app/i18n/translations/ja.json b/webui/src/app/i18n/translations/ja.json index 094dbe16..a95b6cc0 100644 --- a/webui/src/app/i18n/translations/ja.json +++ b/webui/src/app/i18n/translations/ja.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "この操作は元に戻せません", "delete_are_you_sure": "このトレントを削除してもよろしいですか?", "deselect_all": "すべての選択を解除", + "download": "ダウンロード", + "download_confirm": "選択したトレントをダウンロードしてもよろしいですか?", "edit_tags": "タグを編集", "episodes": "エピソード", "external_links": "外部リンク", diff --git a/webui/src/app/i18n/translations/nl.json b/webui/src/app/i18n/translations/nl.json index de7eb4aa..3bac8a97 100644 --- a/webui/src/app/i18n/translations/nl.json +++ b/webui/src/app/i18n/translations/nl.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "Deze actie kan niet ongedaan worden gemaakt", "delete_are_you_sure": "Weet u zeker dat u deze torrent wilt verwijderen?", "deselect_all": "Deselecteer alles", + "download": "Downloaden", + "download_confirm": "Weet u zeker dat u de geselecteerde torrents wilt downloaden?", "edit_tags": "Tags bewerken", "episodes": "Afleveringen", "external_links": "Externe links", diff --git a/webui/src/app/i18n/translations/pt.json b/webui/src/app/i18n/translations/pt.json index 259a7af1..a0d28e87 100644 --- a/webui/src/app/i18n/translations/pt.json +++ b/webui/src/app/i18n/translations/pt.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "Esta ação não pode ser desfeita", "delete_are_you_sure": "Tem certeza de que deseja excluir este torrent?", "deselect_all": "Desmarcar todos", + "download": "Baixar", + "download_confirm": "Tem certeza de que deseja baixar os torrents selecionados?", "edit_tags": "Editar tags", "episodes": "Episódios", "external_links": "Links externos", diff --git a/webui/src/app/i18n/translations/ru.json b/webui/src/app/i18n/translations/ru.json index 9ffbfd1f..0922a2d1 100644 --- a/webui/src/app/i18n/translations/ru.json +++ b/webui/src/app/i18n/translations/ru.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "Это действие нельзя отменить", "delete_are_you_sure": "Вы уверены, что хотите удалить этот торрент?", "deselect_all": "Снять выделение", + "download": "Скачать", + "download_confirm": "Вы уверены, что хотите скачать выбранные торренты?", "edit_tags": "Редактировать теги", "episodes": "Эпизоды", "external_links": "Внешние ссылки", diff --git a/webui/src/app/i18n/translations/tr.json b/webui/src/app/i18n/translations/tr.json index 60d1fee7..e388d219 100644 --- a/webui/src/app/i18n/translations/tr.json +++ b/webui/src/app/i18n/translations/tr.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "Bu işlem geri alınamaz", "delete_are_you_sure": "Bu torrent'i silmek istediğinizden emin misiniz?", "deselect_all": "Tüm Seçimleri Kaldır", + "download": "İndir", + "download_confirm": "Seçilen torrentleri indirmek istediğinizden emin misiniz?", "edit_tags": "Etiketleri Düzenle", "episodes": "Bölümler", "external_links": "Dış Bağlantılar", diff --git a/webui/src/app/i18n/translations/uk.json b/webui/src/app/i18n/translations/uk.json index d9bee7cc..294cc8b8 100644 --- a/webui/src/app/i18n/translations/uk.json +++ b/webui/src/app/i18n/translations/uk.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "Цю дію не можна скасувати", "delete_are_you_sure": "Ви впевнені, що хочете видалити цей торрент?", "deselect_all": "Зняти виділення", + "download": "Завантажити", + "download_confirm": "Ви впевнені, що хочете завантажити вибрані торренти?", "edit_tags": "Редагувати теги", "episodes": "Епізоди", "external_links": "Зовнішні посилання", diff --git a/webui/src/app/i18n/translations/zh.json b/webui/src/app/i18n/translations/zh.json index b03d3fee..2659d108 100644 --- a/webui/src/app/i18n/translations/zh.json +++ b/webui/src/app/i18n/translations/zh.json @@ -241,6 +241,8 @@ "delete_action_cannot_be_undone": "此操作无法撤销", "delete_are_you_sure": "您确定要删除此种子吗?", "deselect_all": "取消全选", + "download": "下载", + "download_confirm": "您确定要下载选定的种子吗?", "edit_tags": "编辑标签", "episodes": "剧集", "external_links": "外部链接", diff --git a/webui/src/app/torrents/torrents-bulk-actions.component.html b/webui/src/app/torrents/torrents-bulk-actions.component.html index 56329416..a67de2e4 100644 --- a/webui/src/app/torrents/torrents-bulk-actions.component.html +++ b/webui/src/app/torrents/torrents-bulk-actions.component.html @@ -3,7 +3,9 @@ animationDuration="0" class="tab-group-bulk-actions" [selectedIndex]="selectedTabIndex" - (focusChange)="selectTab($event.index == 4 ? 0 : $event.index)" + (focusChange)=" + selectTab($event.index == (downloadEnabled ? 5 : 4) ? 0 : $event.index) + " [mat-stretch-tabs]="false" >
-
+ @if (downloadEnabled) { download_for_offline @if (breakpoints.sizeAtLeast("Medium")) { - Download + {{ t("torrents.download") }} } @@ -164,10 +166,7 @@

- Are you sure you want to download the selected - torrents? + {{ t("torrents.download_confirm") }}

@@ -177,13 +176,14 @@ [disabled]="!selectedItems.length" (click)="downloadTorrents()" > - download_for_offlineDownload + download_for_offline{{ t("torrents.download") }}
-
+ } @if (selectedTabIndex > 0) { diff --git a/webui/src/app/torrents/torrents-bulk-actions.component.ts b/webui/src/app/torrents/torrents-bulk-actions.component.ts index 3a68d035..3516a5b6 100644 --- a/webui/src/app/torrents/torrents-bulk-actions.component.ts +++ b/webui/src/app/torrents/torrents-bulk-actions.component.ts @@ -47,7 +47,6 @@ export class TorrentsBulkActionsComponent implements OnInit { this.graphQLService.downloadClientEnabledQuery().subscribe({ next: (enabled: boolean) => { this.downloadEnabled = enabled; - this.errorsService.addError(`hello: ${enabled}`); }, }); } From 6bac22c54ba0fcd0f3080d009053f0922f469788 Mon Sep 17 00:00:00 2001 From: rraymondgh <42769112+rraymondgh@users.noreply.github.com> Date: Mon, 4 Nov 2024 12:37:14 +0000 Subject: [PATCH 07/14] login once - webui prettier and build --- internal/client/client.go | 27 +++--- internal/client/qbittorrent.go | 28 ++++-- internal/client/transmission.go | 23 +++-- .../{chunk-JIO2QO4M.js => chunk-2DNC66PX.js} | 2 +- .../{chunk-TC5EWLZ6.js => chunk-3AJEMLV6.js} | 2 +- .../{chunk-2VIXJIMN.js => chunk-6NVKEHMV.js} | 2 +- .../{chunk-5HTYRI4Q.js => chunk-7HDEVHSY.js} | 2 +- .../{chunk-CBFHEGD2.js => chunk-B2KTWFU6.js} | 2 +- .../{chunk-C7LQJIED.js => chunk-BF5UYWQS.js} | 2 +- .../{chunk-6BQYS3OK.js => chunk-CCCAKKZT.js} | 2 +- .../{chunk-EF5HJP6V.js => chunk-JS3YJKHP.js} | 2 +- .../{chunk-AVA4BMHN.js => chunk-N3JJ3NXQ.js} | 2 +- .../{chunk-QXTOPNJN.js => chunk-NEBTMJTJ.js} | 2 +- .../{chunk-LQDV34E4.js => chunk-OQYWMLJI.js} | 2 +- .../{chunk-AOOWIKXT.js => chunk-QR34FW2E.js} | 2 +- .../{chunk-3RUUGSNJ.js => chunk-RD4V5RUF.js} | 2 +- .../dist/bitmagnet/browser/chunk-RJXZVS5Q.js | 3 - .../dist/bitmagnet/browser/chunk-RTNXCXB5.js | 3 + .../{chunk-IYIUYS3O.js => chunk-W2FDHTDN.js} | 2 +- .../{chunk-FRHSCC4F.js => chunk-XSWMZFX5.js} | 2 +- .../{chunk-EGT2L66S.js => chunk-Z5TALIEZ.js} | 2 +- .../{chunk-HB55W55I.js => chunk-Z6GE3BUT.js} | 92 +++++++++++-------- .../{chunk-33KK2FKQ.js => chunk-ZF4WX6G7.js} | 2 +- webui/dist/bitmagnet/browser/index.html | 2 +- webui/dist/bitmagnet/browser/main-EKJP2KUZ.js | 1 - webui/dist/bitmagnet/browser/main-FQGK2CWS.js | 1 + 26 files changed, 119 insertions(+), 95 deletions(-) rename webui/dist/bitmagnet/browser/{chunk-JIO2QO4M.js => chunk-2DNC66PX.js} (97%) rename webui/dist/bitmagnet/browser/{chunk-TC5EWLZ6.js => chunk-3AJEMLV6.js} (90%) rename webui/dist/bitmagnet/browser/{chunk-2VIXJIMN.js => chunk-6NVKEHMV.js} (93%) rename webui/dist/bitmagnet/browser/{chunk-5HTYRI4Q.js => chunk-7HDEVHSY.js} (92%) rename webui/dist/bitmagnet/browser/{chunk-CBFHEGD2.js => chunk-B2KTWFU6.js} (99%) rename webui/dist/bitmagnet/browser/{chunk-C7LQJIED.js => chunk-BF5UYWQS.js} (99%) rename webui/dist/bitmagnet/browser/{chunk-6BQYS3OK.js => chunk-CCCAKKZT.js} (98%) rename webui/dist/bitmagnet/browser/{chunk-EF5HJP6V.js => chunk-JS3YJKHP.js} (99%) rename webui/dist/bitmagnet/browser/{chunk-AVA4BMHN.js => chunk-N3JJ3NXQ.js} (92%) rename webui/dist/bitmagnet/browser/{chunk-QXTOPNJN.js => chunk-NEBTMJTJ.js} (98%) rename webui/dist/bitmagnet/browser/{chunk-LQDV34E4.js => chunk-OQYWMLJI.js} (92%) rename webui/dist/bitmagnet/browser/{chunk-AOOWIKXT.js => chunk-QR34FW2E.js} (98%) rename webui/dist/bitmagnet/browser/{chunk-3RUUGSNJ.js => chunk-RD4V5RUF.js} (97%) delete mode 100644 webui/dist/bitmagnet/browser/chunk-RJXZVS5Q.js create mode 100644 webui/dist/bitmagnet/browser/chunk-RTNXCXB5.js rename webui/dist/bitmagnet/browser/{chunk-IYIUYS3O.js => chunk-W2FDHTDN.js} (97%) rename webui/dist/bitmagnet/browser/{chunk-FRHSCC4F.js => chunk-XSWMZFX5.js} (98%) rename webui/dist/bitmagnet/browser/{chunk-EGT2L66S.js => chunk-Z5TALIEZ.js} (97%) rename webui/dist/bitmagnet/browser/{chunk-HB55W55I.js => chunk-Z6GE3BUT.js} (88%) rename webui/dist/bitmagnet/browser/{chunk-33KK2FKQ.js => chunk-ZF4WX6G7.js} (99%) delete mode 100644 webui/dist/bitmagnet/browser/main-EKJP2KUZ.js create mode 100644 webui/dist/bitmagnet/browser/main-FQGK2CWS.js diff --git a/internal/client/client.go b/internal/client/client.go index fcb853dd..a020c221 100644 --- a/internal/client/client.go +++ b/internal/client/client.go @@ -7,6 +7,7 @@ import ( q "github.com/bitmagnet-io/bitmagnet/internal/database/query" "github.com/bitmagnet-io/bitmagnet/internal/database/search" "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" + "github.com/bitmagnet-io/bitmagnet/internal/model" "github.com/bitmagnet-io/bitmagnet/internal/protocol" ) @@ -15,11 +16,11 @@ type AddInfoHashesRequest struct { InfoHashes []protocol.ID } -type content = search.TorrentContentResultItem +type content = []search.TorrentContentResultItem type clientWorker interface { AddInfoHashes(ctx context.Context, req AddInfoHashesRequest) error - download(ctx context.Context, content *content, category string) error + download(ctx context.Context, content *content) error } type commonClient struct { @@ -38,6 +39,14 @@ func New(cfg *Config, search search.Search) commonClient { } +func (c commonClient) downloadCategory(contentType model.ContentType) string { + category := c.config.Categories[contentType] + if category == "" { + category = c.config.DefaultCategory + } + return category +} + func (c commonClient) AddInfoHashes(ctx context.Context, req AddInfoHashesRequest) error { switch c.config.DownloadClient { @@ -63,17 +72,5 @@ func (c commonClient) AddInfoHashes(ctx context.Context, req AddInfoHashesReques return err } - for _, cr := range sr.Items { - category := c.config.Categories[cr.Content.Type] - if category == "" { - category = c.config.DefaultCategory - } - err = c.client.download(ctx, &cr, category) - if err != nil { - return err - } - - } - - return nil + return c.client.download(ctx, &sr.Items) } diff --git a/internal/client/qbittorrent.go b/internal/client/qbittorrent.go index 377616a8..08ed2f78 100644 --- a/internal/client/qbittorrent.go +++ b/internal/client/qbittorrent.go @@ -11,12 +11,13 @@ type qBitClient struct { commonClient } -func (c qBitClient) download(ctx context.Context, content *content, category string) error { +func (c qBitClient) download(ctx context.Context, content *content) error { qb := qbittorrent.NewClient(qbittorrent.Config{ Host: fmt.Sprintf("http://%v:%v/", c.config.Qbittorrent.Host, c.config.Qbittorrent.Port), Username: c.config.Qbittorrent.Username, Password: c.config.Qbittorrent.Password, + Timeout: 1, }) err := qb.LoginCtx(ctx) @@ -29,15 +30,22 @@ func (c qBitClient) download(ctx context.Context, content *content, category str return err } - err = qb.AddTorrentFromUrlCtx( - ctx, - content.Torrent.MagnetUri(), - map[string]string{ - "savepath": fmt.Sprintf("%v/%v", pref.SavePath, category), - "category": category, - }, - ) + for _, item := range *content { + category := c.downloadCategory(item.Content.Type) + + err = qb.AddTorrentFromUrlCtx( + ctx, + item.Torrent.MagnetUri(), + map[string]string{ + "savepath": fmt.Sprintf("%v/%v", pref.SavePath, category), + "category": category, + }, + ) + if err != nil { + return err + } + } - return err + return nil } diff --git a/internal/client/transmission.go b/internal/client/transmission.go index 840971b5..955cc5c2 100644 --- a/internal/client/transmission.go +++ b/internal/client/transmission.go @@ -12,7 +12,7 @@ type transmissionClient struct { commonClient } -func (c transmissionClient) download(ctx context.Context, content *content, category string) error { +func (c transmissionClient) download(ctx context.Context, content *content) error { endpoint, err := url.Parse(fmt.Sprintf("http://%v:%v/transmission/rpc", c.config.Transmission.Host, c.config.Transmission.Port)) if err != nil { @@ -27,14 +27,21 @@ func (c transmissionClient) download(ctx context.Context, content *content, cate if err != nil { return err } + for _, item := range *content { + category := c.downloadCategory(item.Content.Type) - dir := *settings.DownloadDir + "/" + category + dir := *settings.DownloadDir + "/" + category - magnet := content.Torrent.MagnetUri() - _, err = tbt.TorrentAdd(ctx, transmissionrpc.TorrentAddPayload{ - Filename: &magnet, - DownloadDir: &dir, - }) - return err + magnet := item.Torrent.MagnetUri() + _, err = tbt.TorrentAdd(ctx, transmissionrpc.TorrentAddPayload{ + Filename: &magnet, + DownloadDir: &dir, + }) + + if err != nil { + return err + } + } + return nil } diff --git a/webui/dist/bitmagnet/browser/chunk-JIO2QO4M.js b/webui/dist/bitmagnet/browser/chunk-2DNC66PX.js similarity index 97% rename from webui/dist/bitmagnet/browser/chunk-JIO2QO4M.js rename to webui/dist/bitmagnet/browser/chunk-2DNC66PX.js index 95f3a7ee..cecfdee7 100644 --- a/webui/dist/bitmagnet/browser/chunk-JIO2QO4M.js +++ b/webui/dist/bitmagnet/browser/chunk-2DNC66PX.js @@ -1 +1 @@ -import{d as M,e as y,f as w,g as f,h as g,j as S,k as D,l as I,m as X}from"./chunk-33KK2FKQ.js";function h(t,e){let r=+f(t)-+f(e);return r<0?-1:r>0?1:r}function T(t){return w(t,Date.now())}function _(t,e,r){let[s,o]=D(r?.in,t,e),c=s.getFullYear()-o.getFullYear(),i=s.getMonth()-o.getMonth();return c*12+i}function F(t){return e=>{let s=(t?Math[t]:Math.trunc)(e);return s===0?0:s}}function Y(t,e){return+f(t)-+f(e)}function z(t,e){let r=f(t,e?.in);return r.setHours(23,59,59,999),r}function L(t,e){let r=f(t,e?.in),s=r.getMonth();return r.setFullYear(r.getFullYear(),s+1,0),r.setHours(23,59,59,999),r}function N(t,e){let r=f(t,e?.in);return+z(r,e)==+L(r,e)}function b(t,e,r){let[s,o,c]=D(r?.in,t,t,e),i=h(o,c),n=Math.abs(_(o,c));if(n<1)return 0;o.getMonth()===1&&o.getDate()>27&&o.setDate(30),o.setMonth(o.getMonth()-i*n);let m=h(o,c)===-i;N(s)&&n===1&&h(s,c)===1&&(m=!1);let u=i*(n-+m);return u===0?0:u}function A(t,e,r){let s=Y(t,e)/1e3;return F(r?.roundingMethod)(s)}function v(t,e,r){let s=g(),o=r?.locale??s.locale??I,c=2520,i=h(t,e);if(isNaN(i))throw new RangeError("Invalid time value");let n=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:i}),[m,u]=D(r?.in,...i>0?[e,t]:[t,e]),l=A(u,m),x=(S(u)-S(m))/1e3,a=Math.round((l-x)/60),p;if(a<2)return r?.includeSeconds?l<5?o.formatDistance("lessThanXSeconds",5,n):l<10?o.formatDistance("lessThanXSeconds",10,n):l<20?o.formatDistance("lessThanXSeconds",20,n):l<40?o.formatDistance("halfAMinute",0,n):l<60?o.formatDistance("lessThanXMinutes",1,n):o.formatDistance("xMinutes",1,n):a===0?o.formatDistance("lessThanXMinutes",1,n):o.formatDistance("xMinutes",a,n);if(a<45)return o.formatDistance("xMinutes",a,n);if(a<90)return o.formatDistance("aboutXHours",1,n);if(a{let l=`x${u.replace(/(^.)/,a=>a.toUpperCase())}`,x=t[u];return x!==void 0&&(c||t[u])?m.concat(s.formatDistance(l,x)):m},[]).join(i):""}var _t=(t,e)=>H(t,{addSuffix:!0,locale:X(e)}),Ft=(t,e)=>k(t,{locale:X(e)});export{_t as a,Ft as b}; +import{d as M,e as y,f as w,g as f,h as g,j as S,k as D,l as I,m as X}from"./chunk-ZF4WX6G7.js";function h(t,e){let r=+f(t)-+f(e);return r<0?-1:r>0?1:r}function T(t){return w(t,Date.now())}function _(t,e,r){let[s,o]=D(r?.in,t,e),c=s.getFullYear()-o.getFullYear(),i=s.getMonth()-o.getMonth();return c*12+i}function F(t){return e=>{let s=(t?Math[t]:Math.trunc)(e);return s===0?0:s}}function Y(t,e){return+f(t)-+f(e)}function z(t,e){let r=f(t,e?.in);return r.setHours(23,59,59,999),r}function L(t,e){let r=f(t,e?.in),s=r.getMonth();return r.setFullYear(r.getFullYear(),s+1,0),r.setHours(23,59,59,999),r}function N(t,e){let r=f(t,e?.in);return+z(r,e)==+L(r,e)}function b(t,e,r){let[s,o,c]=D(r?.in,t,t,e),i=h(o,c),n=Math.abs(_(o,c));if(n<1)return 0;o.getMonth()===1&&o.getDate()>27&&o.setDate(30),o.setMonth(o.getMonth()-i*n);let m=h(o,c)===-i;N(s)&&n===1&&h(s,c)===1&&(m=!1);let u=i*(n-+m);return u===0?0:u}function A(t,e,r){let s=Y(t,e)/1e3;return F(r?.roundingMethod)(s)}function v(t,e,r){let s=g(),o=r?.locale??s.locale??I,c=2520,i=h(t,e);if(isNaN(i))throw new RangeError("Invalid time value");let n=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:i}),[m,u]=D(r?.in,...i>0?[e,t]:[t,e]),l=A(u,m),x=(S(u)-S(m))/1e3,a=Math.round((l-x)/60),p;if(a<2)return r?.includeSeconds?l<5?o.formatDistance("lessThanXSeconds",5,n):l<10?o.formatDistance("lessThanXSeconds",10,n):l<20?o.formatDistance("lessThanXSeconds",20,n):l<40?o.formatDistance("halfAMinute",0,n):l<60?o.formatDistance("lessThanXMinutes",1,n):o.formatDistance("xMinutes",1,n):a===0?o.formatDistance("lessThanXMinutes",1,n):o.formatDistance("xMinutes",a,n);if(a<45)return o.formatDistance("xMinutes",a,n);if(a<90)return o.formatDistance("aboutXHours",1,n);if(a{let l=`x${u.replace(/(^.)/,a=>a.toUpperCase())}`,x=t[u];return x!==void 0&&(c||t[u])?m.concat(s.formatDistance(l,x)):m},[]).join(i):""}var _t=(t,e)=>H(t,{addSuffix:!0,locale:X(e)}),Ft=(t,e)=>k(t,{locale:X(e)});export{_t as a,Ft as b}; diff --git a/webui/dist/bitmagnet/browser/chunk-TC5EWLZ6.js b/webui/dist/bitmagnet/browser/chunk-3AJEMLV6.js similarity index 90% rename from webui/dist/bitmagnet/browser/chunk-TC5EWLZ6.js rename to webui/dist/bitmagnet/browser/chunk-3AJEMLV6.js index 342b1755..49f730cd 100644 --- a/webui/dist/bitmagnet/browser/chunk-TC5EWLZ6.js +++ b/webui/dist/bitmagnet/browser/chunk-3AJEMLV6.js @@ -1 +1 @@ -import{k as m,l as t}from"./chunk-HB55W55I.js";import{B as s,ba as o,ka as n,qa as p}from"./chunk-FJILXII2.js";var a=["XSmall","Small","Medium","Large","XLarge"],d=(()=>{class i{constructor(){this.breakpointObserver=p(m),this.state=this.breakpointObserver.observe([t.XSmall,t.Small,t.Medium,t.Large,t.XLarge]).pipe(s(e=>e.breakpoints),o()),this.size$=this.state.pipe(s(e=>a.find(r=>e[t[r]])??"Medium")),this.size="Medium",this.size$.subscribe(e=>{this.size=e})}sizeAtLeast(e){return a.indexOf(e)<=a.indexOf(this.size)}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=n({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();export{d as a}; +import{k as m,l as t}from"./chunk-Z6GE3BUT.js";import{B as s,ba as o,ka as n,qa as p}from"./chunk-FJILXII2.js";var a=["XSmall","Small","Medium","Large","XLarge"],d=(()=>{class i{constructor(){this.breakpointObserver=p(m),this.state=this.breakpointObserver.observe([t.XSmall,t.Small,t.Medium,t.Large,t.XLarge]).pipe(s(e=>e.breakpoints),o()),this.size$=this.state.pipe(s(e=>a.find(r=>e[t[r]])??"Medium")),this.size="Medium",this.size$.subscribe(e=>{this.size=e})}sizeAtLeast(e){return a.indexOf(e)<=a.indexOf(this.size)}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=n({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();export{d as a}; diff --git a/webui/dist/bitmagnet/browser/chunk-2VIXJIMN.js b/webui/dist/bitmagnet/browser/chunk-6NVKEHMV.js similarity index 93% rename from webui/dist/bitmagnet/browser/chunk-2VIXJIMN.js rename to webui/dist/bitmagnet/browser/chunk-6NVKEHMV.js index 1b9129bf..a998dab6 100644 --- a/webui/dist/bitmagnet/browser/chunk-2VIXJIMN.js +++ b/webui/dist/bitmagnet/browser/chunk-6NVKEHMV.js @@ -1 +1 @@ -import{P as u,Q as C,U as g,Ua as _,b as f}from"./chunk-HB55W55I.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{Cb as i,Qb as r,Rb as d,Tb as c,Ub as m,kb as a,kc as p,lc as l,pc as s,ua as o}from"./chunk-FJILXII2.js";function x(t,M){if(t&1&&(c(0),r(1,"mat-card",1)(2,"mat-card-header")(3,"mat-card-title")(4,"h2"),p(5),d()()()(),m()),t&2){let e=M.$implicit;a(5),l(e("general.page_not_found"))}}var D=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=o({type:t,selectors:[["app-not-found"]],standalone:!0,features:[s],decls:1,vars:0,consts:[[4,"transloco"],[1,"card-not-found"]],template:function(n,h){n&1&&i(0,x,6,1,"ng-container",0)},dependencies:[_,u,g,C,f],styles:[".card-not-found[_ngcontent-%COMP%]{max-width:960px;margin:20px auto}.card-not-found[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-top:10px}"]})}}return t})();export{D as NotFoundComponent}; +import{P as u,Q as C,U as g,Ua as _,b as f}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{Cb as i,Qb as r,Rb as d,Tb as c,Ub as m,kb as a,kc as p,lc as l,pc as s,ua as o}from"./chunk-FJILXII2.js";function x(t,M){if(t&1&&(c(0),r(1,"mat-card",1)(2,"mat-card-header")(3,"mat-card-title")(4,"h2"),p(5),d()()()(),m()),t&2){let e=M.$implicit;a(5),l(e("general.page_not_found"))}}var D=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=o({type:t,selectors:[["app-not-found"]],standalone:!0,features:[s],decls:1,vars:0,consts:[[4,"transloco"],[1,"card-not-found"]],template:function(n,h){n&1&&i(0,x,6,1,"ng-container",0)},dependencies:[_,u,g,C,f],styles:[".card-not-found[_ngcontent-%COMP%]{max-width:960px;margin:20px auto}.card-not-found[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-top:10px}"]})}}return t})();export{D as NotFoundComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-5HTYRI4Q.js b/webui/dist/bitmagnet/browser/chunk-7HDEVHSY.js similarity index 92% rename from webui/dist/bitmagnet/browser/chunk-5HTYRI4Q.js rename to webui/dist/bitmagnet/browser/chunk-7HDEVHSY.js index 4d0f3b26..fce64462 100644 --- a/webui/dist/bitmagnet/browser/chunk-5HTYRI4Q.js +++ b/webui/dist/bitmagnet/browser/chunk-7HDEVHSY.js @@ -1 +1 @@ -import{b as D,d as H}from"./chunk-IYIUYS3O.js";import{P as f,R as M,U as _,Ua as P,b as C,ja as u,na as b,oa as x,qa as v,xa as O}from"./chunk-HB55W55I.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{Cb as p,Hb as c,Qb as e,Rb as n,Sb as r,Tb as s,Ub as l,kb as i,kc as m,lc as h,pc as g,ua as d}from"./chunk-FJILXII2.js";function y(t,w){if(t&1&&(s(0),e(1,"mat-card",1)(2,"mat-card-header")(3,"mat-toolbar")(4,"h2")(5,"mat-icon"),m(6,"dashboard"),n(),m(7),n()()(),e(8,"mat-card-content"),r(9,"mat-divider"),e(10,"div",2)(11,"mat-grid-list",3)(12,"mat-grid-tile",4),r(13,"app-health-card"),n()()()()(),l()),t&2){let a=w.$implicit;i(7),h(a("routes.dashboard")),i(5),c("colspan",1)("rowspan",1)}}var q=(()=>{class t{static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=d({type:t,selectors:[["app-dashboard"]],standalone:!0,features:[g],decls:1,vars:0,consts:[[4,"transloco"],[1,"dashboard-card"],[1,"grid-container"],["cols","1","rowHeight","500px"],[3,"colspan","rowspan"]],template:function(o,S){o&1&&p(0,y,14,3,"ng-container",0)},dependencies:[P,f,M,_,u,x,b,v,O,C,H,D],styles:[".grid-container[_ngcontent-%COMP%]{margin:20px}.more-button[_ngcontent-%COMP%]{position:absolute;top:5px;right:10px}app-health-card[_ngcontent-%COMP%]{width:100%;height:100%}app-health-card[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{height:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;margin-right:14px;margin-left:32px}"]})}}return t})();export{q as DashboardHomeComponent}; +import{b as D,d as H}from"./chunk-W2FDHTDN.js";import{P as f,R as M,U as _,Ua as P,b as C,ja as u,na as b,oa as x,qa as v,xa as O}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{Cb as p,Hb as c,Qb as e,Rb as n,Sb as r,Tb as s,Ub as l,kb as i,kc as m,lc as h,pc as g,ua as d}from"./chunk-FJILXII2.js";function y(t,w){if(t&1&&(s(0),e(1,"mat-card",1)(2,"mat-card-header")(3,"mat-toolbar")(4,"h2")(5,"mat-icon"),m(6,"dashboard"),n(),m(7),n()()(),e(8,"mat-card-content"),r(9,"mat-divider"),e(10,"div",2)(11,"mat-grid-list",3)(12,"mat-grid-tile",4),r(13,"app-health-card"),n()()()()(),l()),t&2){let a=w.$implicit;i(7),h(a("routes.dashboard")),i(5),c("colspan",1)("rowspan",1)}}var q=(()=>{class t{static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=d({type:t,selectors:[["app-dashboard"]],standalone:!0,features:[g],decls:1,vars:0,consts:[[4,"transloco"],[1,"dashboard-card"],[1,"grid-container"],["cols","1","rowHeight","500px"],[3,"colspan","rowspan"]],template:function(o,S){o&1&&p(0,y,14,3,"ng-container",0)},dependencies:[P,f,M,_,u,x,b,v,O,C,H,D],styles:[".grid-container[_ngcontent-%COMP%]{margin:20px}.more-button[_ngcontent-%COMP%]{position:absolute;top:5px;right:10px}app-health-card[_ngcontent-%COMP%]{width:100%;height:100%}app-health-card[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{height:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;margin-right:14px;margin-left:32px}"]})}}return t})();export{q as DashboardHomeComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-CBFHEGD2.js b/webui/dist/bitmagnet/browser/chunk-B2KTWFU6.js similarity index 99% rename from webui/dist/bitmagnet/browser/chunk-CBFHEGD2.js rename to webui/dist/bitmagnet/browser/chunk-B2KTWFU6.js index 5483ac58..db3f5350 100644 --- a/webui/dist/bitmagnet/browser/chunk-CBFHEGD2.js +++ b/webui/dist/bitmagnet/browser/chunk-B2KTWFU6.js @@ -1 +1 @@ -import{g as J,j as A}from"./chunk-6OKZFKY7.js";import{A as z,J as H,P as k,R as K,Ua as q,b as T,ba as M,ca as N,da as W,fa as I,ga as V,ha as y,i as w,o as P,p as L,wa as R,z as Y}from"./chunk-HB55W55I.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{$b as a,B as F,Cb as x,Ea as m,Fa as _,Hb as g,Mb as Q,N as $,Nb as B,Ob as O,Pb as G,Qb as s,Rb as r,Sb as S,Tb as D,Ub as E,Wb as h,Zb as d,kb as o,kc as c,lc as p,mc as C,nc as U,o as j,pc as v,qa as f,ua as b}from"./chunk-FJILXII2.js";function ce(n,u){if(n&1){let e=h();s(0,"section")(1,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return l.localSearchDisabled=!i.checked,_(l.apisDisabled=l.localSearchDisabled?!0:l.apisDisabled)}),c(2),r(),s(3,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return l.apisDisabled=!i.checked,_(l.localSearchDisabled=l.apisDisabled?l.localSearchDisabled:!0)}),c(4),r(),s(5,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return _(l.classifierRematch=i.checked)}),c(6),r(),s(7,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return _(l.orphans=i.checked)}),c(8),r()()}if(n&2){let e=a().$implicit,t=a();o(),g("checked",!t.apisDisabled),o(),p(e("dashboard.queues.match_content_by_local_search")),o(),g("checked",!t.apisDisabled),o(),p(e("dashboard.queues.match_content_by_external_api_search")),o(),g("checked",t.classifierRematch),o(),p(e("dashboard.queues.force_rematch")),o(),g("checked",t.orphans),o(),p(e("dashboard.queues.process_orphaned_torrents_only"))}}function le(n,u){n&1&&S(0,"mat-spinner")}function ue(n,u){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a().$implicit;o(),p(e("dashboard.queues.jobs_enqueued"))}}function me(n,u){if(n&1){let e=h();D(0),s(1,"mat-card")(2,"h2",1),c(3),r(),s(4,"mat-dialog-content"),x(5,ce,9,8,"section")(6,le,1,0,"mat-spinner")(7,ue,2,1,"p"),r(),s(8,"mat-dialog-actions")(9,"button",2),d("click",function(){m(e);let i=a();return _(i.handleEnqueue())}),c(10),r(),s(11,"button",3),d("click",function(){m(e);let i=a();return _(i.dialogRef.close())}),c(12),r()()(),E()}if(n&2){let e=u.$implicit,t=a();o(3),C(" ",e("dashboard.queues.enqueue_torrent_processing_batch")," "),o(2),Q(t.stage==="PENDING"?5:t.stage==="REQUESTING"?6:t.stage==="DONE"?7:-1),o(4),g("disabled",t.stage!=="PENDING"),o(),C(" ",e("dashboard.queues.enqueue_jobs")," "),o(2),C(" ",e("general.dismiss")," ")}}var ne=(()=>{class n{constructor(){this.apollo=f(w),this.dialogRef=f(N),this.availableQueueNames=A,this.statusNames=J,this.stage="PENDING",this.apisDisabled=!0,this.localSearchDisabled=!0,this.classifierRematch=!1,this.orphans=!1}handleEnqueue(){this.stage==="PENDING"&&(this.stage="REQUESTING",this.apollo.mutate({mutation:Y,variables:{input:{apisDisabled:this.apisDisabled,localSearchDisabled:this.localSearchDisabled,classifierRematch:this.classifierRematch,contentTypes:this.contentTypes,orphans:this.orphans?!0:void 0}}}).subscribe(()=>{this.stage="DONE",this.data.onEnqueued?.()}))}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=b({type:n,selectors:[["app-queue-enqueue-reprocess-torrents-batch-dialog"]],standalone:!0,features:[v],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],["mat-stroked-button","","color","warning",3,"click","disabled"],["mat-stroked-button","",3,"click"],[3,"change","checked"]],template:function(t,i){t&1&&x(0,me,13,5,"ng-container",0)},dependencies:[q,P,k,M,I,y,V,R,T],styles:["mat-dialog-content[_ngcontent-%COMP%]{min-height:240px;overflow:visible}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return n})();function _e(n,u){if(n&1){let e=h();s(0,"mat-checkbox",6),d("change",function(i){m(e);let l=a(3);return _(l.handleQueueEvent(i))}),c(1),r()}if(n&2){let e=u.$implicit,t=a(3);g("value",e)("checked",t.queues==null?null:t.queues.includes(e)),o(),p(e)}}function de(n,u){if(n&1){let e=h();s(0,"mat-checkbox",6),d("change",function(i){m(e);let l=a(3);return _(l.handleStatusEvent(i))}),c(1),r()}if(n&2){let e=u.$implicit,t=a(3);g("value",e)("checked",t.statuses==null?null:t.statuses.includes(e)),o(),p(e)}}function pe(n,u){if(n&1){let e=h();s(0,"section")(1,"h4"),c(2),r(),s(3,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return _(l.handleQueueEvent(i))}),c(4),r(),O(5,_e,2,3,"mat-checkbox",5,B),r(),s(7,"section")(8,"h4"),c(9,"Statuses:"),r(),s(10,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return _(l.handleStatusEvent(i))}),c(11,"All"),r(),O(12,de,2,3,"mat-checkbox",5,B),r()}if(n&2){let e=a().$implicit,t=a();o(2),C("",e("dashboard.queues.queues"),":"),o(),g("checked",t.queues===void 0),o(),p(e("general.all")),o(),G(t.availableQueueNames),o(5),g("checked",t.statuses===void 0),o(2),G(t.statusNames)}}function ge(n,u){n&1&&S(0,"mat-spinner")}function he(n,u){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a(2).$implicit,t=a();o(),U("",e("general.error"),": ",t.error.message,"")}}function xe(n,u){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a(2).$implicit;o(),p(e("dashboard.queues.queue_purged"))}}function fe(n,u){if(n&1&&x(0,he,2,2,"p")(1,xe,2,1,"p"),n&2){let e=a(2);Q(e.error?0:1)}}function Ce(n,u){if(n&1){let e=h();D(0),s(1,"mat-card")(2,"h2",1),c(3,"Purge Queue Jobs"),r(),s(4,"mat-dialog-content"),x(5,pe,14,4)(6,ge,1,0,"mat-spinner")(7,fe,2,1),r(),s(8,"mat-dialog-actions")(9,"button",2),d("click",function(){m(e);let i=a();return _(i.handlePurgeJobs())}),c(10),r(),s(11,"button",3),d("click",function(){m(e);let i=a();return _(i.dialogRef.close())}),c(12),r()()(),E()}if(n&2){let e=u.$implicit,t=a();o(5),Q(t.stage==="PENDING"?5:t.stage==="REQUESTING"?6:t.stage==="DONE"?7:-1),o(4),g("disabled",t.stage!=="PENDING"),o(),C(" ",e("dashboard.queues.purge_jobs")," "),o(2),C(" ",e("general.dismiss")," ")}}var ie=(()=>{class n{constructor(){this.apollo=f(w),this.dialogRef=f(N),this.availableQueueNames=A,this.statusNames=J,this.stage="PENDING"}handleQueueEvent(e){if(e.source.value==="_all"){this.queues=void 0;return}if(e.checked){let t=this.queues??[];t.includes(e.source.value)||(t=[...t,e.source.value]),t.length===this.availableQueueNames.length?(e.source.checked=!1,this.queues=void 0):this.queues=t}else{let t=this.queues?.filter(i=>i!==e.source.value);t?.length?this.queues=t:this.queues=void 0}}handleStatusEvent(e){if(e.source.value==="_all"){this.statuses=void 0;return}if(e.checked){let t=this.statuses??[];t.includes(e.source.value)||(t=[...t,e.source.value]),t.length===this.statusNames.length?(e.source.checked=!1,this.statuses=void 0):this.statuses=t}else{let t=this.statuses?.filter(i=>i!==e.source.value);t?.length?this.statuses=t:this.statuses=void 0}}handlePurgeJobs(){this.stage==="PENDING"&&(this.stage="REQUESTING",this.apollo.mutate({mutation:z,variables:{input:{queues:this.queues,statuses:this.statuses}}}).pipe($(e=>(this.stage="DONE",this.error=e,j)),F(()=>{this.stage="DONE",this.data?.onPurged?.()})).subscribe())}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=b({type:n,selectors:[["app-queue-purge-jobs-dialog"]],standalone:!0,features:[v],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],["mat-stroked-button","","color","warning",3,"click","disabled"],["mat-stroked-button","",3,"click"],["value","_all",3,"change","checked"],[3,"value","checked"],[3,"change","value","checked"]],template:function(t,i){t&1&&x(0,Ce,13,4,"ng-container",0)},dependencies:[q,P,k,M,I,y,V,R,T,H],styles:["mat-dialog-content[_ngcontent-%COMP%]{min-height:240px;overflow:visible}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return n})();function be(n,u){if(n&1){let e=h();D(0),s(1,"mat-card")(2,"mat-card-content")(3,"ul")(4,"li")(5,"a",1),d("click",function(){m(e);let i=a();return _(i.openDialogPurgeJobs())}),c(6),r()(),s(7,"li")(8,"a",1),d("click",function(){m(e);let i=a();return _(i.openDialogEnqueueReprocessTorrentsBatch())}),c(9),r()()()()(),E()}if(n&2){let e=u.$implicit;o(6),p(e("dashboard.queues.purge_queue_jobs")),o(3),p(e("dashboard.queues.enqueue_torrent_processing_batch"))}}var ze=(()=>{class n{constructor(){this.dialog=f(W)}openDialogPurgeJobs(){this.dialog.open(ie)}openDialogEnqueueReprocessTorrentsBatch(){this.dialog.open(ne)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=b({type:n,selectors:[["app-queue-admin"]],standalone:!0,features:[v],decls:1,vars:0,consts:[[4,"transloco"],["mat-button","",3,"click"]],template:function(t,i){t&1&&x(0,be,10,2,"ng-container",0)},dependencies:[q,L,k,K,T],styles:["ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}"]})}}return n})();export{ze as QueueAdminComponent}; +import{g as J,j as A}from"./chunk-6OKZFKY7.js";import{A as z,J as H,P as k,R as K,Ua as q,b as T,ba as M,ca as N,da as W,fa as I,ga as V,ha as y,i as w,o as P,p as L,wa as R,z as Y}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{$b as a,B as F,Cb as x,Ea as m,Fa as _,Hb as g,Mb as Q,N as $,Nb as B,Ob as O,Pb as G,Qb as s,Rb as r,Sb as S,Tb as D,Ub as E,Wb as h,Zb as d,kb as o,kc as c,lc as p,mc as C,nc as U,o as j,pc as v,qa as f,ua as b}from"./chunk-FJILXII2.js";function ce(n,u){if(n&1){let e=h();s(0,"section")(1,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return l.localSearchDisabled=!i.checked,_(l.apisDisabled=l.localSearchDisabled?!0:l.apisDisabled)}),c(2),r(),s(3,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return l.apisDisabled=!i.checked,_(l.localSearchDisabled=l.apisDisabled?l.localSearchDisabled:!0)}),c(4),r(),s(5,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return _(l.classifierRematch=i.checked)}),c(6),r(),s(7,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return _(l.orphans=i.checked)}),c(8),r()()}if(n&2){let e=a().$implicit,t=a();o(),g("checked",!t.apisDisabled),o(),p(e("dashboard.queues.match_content_by_local_search")),o(),g("checked",!t.apisDisabled),o(),p(e("dashboard.queues.match_content_by_external_api_search")),o(),g("checked",t.classifierRematch),o(),p(e("dashboard.queues.force_rematch")),o(),g("checked",t.orphans),o(),p(e("dashboard.queues.process_orphaned_torrents_only"))}}function le(n,u){n&1&&S(0,"mat-spinner")}function ue(n,u){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a().$implicit;o(),p(e("dashboard.queues.jobs_enqueued"))}}function me(n,u){if(n&1){let e=h();D(0),s(1,"mat-card")(2,"h2",1),c(3),r(),s(4,"mat-dialog-content"),x(5,ce,9,8,"section")(6,le,1,0,"mat-spinner")(7,ue,2,1,"p"),r(),s(8,"mat-dialog-actions")(9,"button",2),d("click",function(){m(e);let i=a();return _(i.handleEnqueue())}),c(10),r(),s(11,"button",3),d("click",function(){m(e);let i=a();return _(i.dialogRef.close())}),c(12),r()()(),E()}if(n&2){let e=u.$implicit,t=a();o(3),C(" ",e("dashboard.queues.enqueue_torrent_processing_batch")," "),o(2),Q(t.stage==="PENDING"?5:t.stage==="REQUESTING"?6:t.stage==="DONE"?7:-1),o(4),g("disabled",t.stage!=="PENDING"),o(),C(" ",e("dashboard.queues.enqueue_jobs")," "),o(2),C(" ",e("general.dismiss")," ")}}var ne=(()=>{class n{constructor(){this.apollo=f(w),this.dialogRef=f(N),this.availableQueueNames=A,this.statusNames=J,this.stage="PENDING",this.apisDisabled=!0,this.localSearchDisabled=!0,this.classifierRematch=!1,this.orphans=!1}handleEnqueue(){this.stage==="PENDING"&&(this.stage="REQUESTING",this.apollo.mutate({mutation:Y,variables:{input:{apisDisabled:this.apisDisabled,localSearchDisabled:this.localSearchDisabled,classifierRematch:this.classifierRematch,contentTypes:this.contentTypes,orphans:this.orphans?!0:void 0}}}).subscribe(()=>{this.stage="DONE",this.data.onEnqueued?.()}))}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=b({type:n,selectors:[["app-queue-enqueue-reprocess-torrents-batch-dialog"]],standalone:!0,features:[v],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],["mat-stroked-button","","color","warning",3,"click","disabled"],["mat-stroked-button","",3,"click"],[3,"change","checked"]],template:function(t,i){t&1&&x(0,me,13,5,"ng-container",0)},dependencies:[q,P,k,M,I,y,V,R,T],styles:["mat-dialog-content[_ngcontent-%COMP%]{min-height:240px;overflow:visible}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return n})();function _e(n,u){if(n&1){let e=h();s(0,"mat-checkbox",6),d("change",function(i){m(e);let l=a(3);return _(l.handleQueueEvent(i))}),c(1),r()}if(n&2){let e=u.$implicit,t=a(3);g("value",e)("checked",t.queues==null?null:t.queues.includes(e)),o(),p(e)}}function de(n,u){if(n&1){let e=h();s(0,"mat-checkbox",6),d("change",function(i){m(e);let l=a(3);return _(l.handleStatusEvent(i))}),c(1),r()}if(n&2){let e=u.$implicit,t=a(3);g("value",e)("checked",t.statuses==null?null:t.statuses.includes(e)),o(),p(e)}}function pe(n,u){if(n&1){let e=h();s(0,"section")(1,"h4"),c(2),r(),s(3,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return _(l.handleQueueEvent(i))}),c(4),r(),O(5,_e,2,3,"mat-checkbox",5,B),r(),s(7,"section")(8,"h4"),c(9,"Statuses:"),r(),s(10,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return _(l.handleStatusEvent(i))}),c(11,"All"),r(),O(12,de,2,3,"mat-checkbox",5,B),r()}if(n&2){let e=a().$implicit,t=a();o(2),C("",e("dashboard.queues.queues"),":"),o(),g("checked",t.queues===void 0),o(),p(e("general.all")),o(),G(t.availableQueueNames),o(5),g("checked",t.statuses===void 0),o(2),G(t.statusNames)}}function ge(n,u){n&1&&S(0,"mat-spinner")}function he(n,u){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a(2).$implicit,t=a();o(),U("",e("general.error"),": ",t.error.message,"")}}function xe(n,u){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a(2).$implicit;o(),p(e("dashboard.queues.queue_purged"))}}function fe(n,u){if(n&1&&x(0,he,2,2,"p")(1,xe,2,1,"p"),n&2){let e=a(2);Q(e.error?0:1)}}function Ce(n,u){if(n&1){let e=h();D(0),s(1,"mat-card")(2,"h2",1),c(3,"Purge Queue Jobs"),r(),s(4,"mat-dialog-content"),x(5,pe,14,4)(6,ge,1,0,"mat-spinner")(7,fe,2,1),r(),s(8,"mat-dialog-actions")(9,"button",2),d("click",function(){m(e);let i=a();return _(i.handlePurgeJobs())}),c(10),r(),s(11,"button",3),d("click",function(){m(e);let i=a();return _(i.dialogRef.close())}),c(12),r()()(),E()}if(n&2){let e=u.$implicit,t=a();o(5),Q(t.stage==="PENDING"?5:t.stage==="REQUESTING"?6:t.stage==="DONE"?7:-1),o(4),g("disabled",t.stage!=="PENDING"),o(),C(" ",e("dashboard.queues.purge_jobs")," "),o(2),C(" ",e("general.dismiss")," ")}}var ie=(()=>{class n{constructor(){this.apollo=f(w),this.dialogRef=f(N),this.availableQueueNames=A,this.statusNames=J,this.stage="PENDING"}handleQueueEvent(e){if(e.source.value==="_all"){this.queues=void 0;return}if(e.checked){let t=this.queues??[];t.includes(e.source.value)||(t=[...t,e.source.value]),t.length===this.availableQueueNames.length?(e.source.checked=!1,this.queues=void 0):this.queues=t}else{let t=this.queues?.filter(i=>i!==e.source.value);t?.length?this.queues=t:this.queues=void 0}}handleStatusEvent(e){if(e.source.value==="_all"){this.statuses=void 0;return}if(e.checked){let t=this.statuses??[];t.includes(e.source.value)||(t=[...t,e.source.value]),t.length===this.statusNames.length?(e.source.checked=!1,this.statuses=void 0):this.statuses=t}else{let t=this.statuses?.filter(i=>i!==e.source.value);t?.length?this.statuses=t:this.statuses=void 0}}handlePurgeJobs(){this.stage==="PENDING"&&(this.stage="REQUESTING",this.apollo.mutate({mutation:z,variables:{input:{queues:this.queues,statuses:this.statuses}}}).pipe($(e=>(this.stage="DONE",this.error=e,j)),F(()=>{this.stage="DONE",this.data?.onPurged?.()})).subscribe())}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=b({type:n,selectors:[["app-queue-purge-jobs-dialog"]],standalone:!0,features:[v],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],["mat-stroked-button","","color","warning",3,"click","disabled"],["mat-stroked-button","",3,"click"],["value","_all",3,"change","checked"],[3,"value","checked"],[3,"change","value","checked"]],template:function(t,i){t&1&&x(0,Ce,13,4,"ng-container",0)},dependencies:[q,P,k,M,I,y,V,R,T,H],styles:["mat-dialog-content[_ngcontent-%COMP%]{min-height:240px;overflow:visible}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return n})();function be(n,u){if(n&1){let e=h();D(0),s(1,"mat-card")(2,"mat-card-content")(3,"ul")(4,"li")(5,"a",1),d("click",function(){m(e);let i=a();return _(i.openDialogPurgeJobs())}),c(6),r()(),s(7,"li")(8,"a",1),d("click",function(){m(e);let i=a();return _(i.openDialogEnqueueReprocessTorrentsBatch())}),c(9),r()()()()(),E()}if(n&2){let e=u.$implicit;o(6),p(e("dashboard.queues.purge_queue_jobs")),o(3),p(e("dashboard.queues.enqueue_torrent_processing_batch"))}}var ze=(()=>{class n{constructor(){this.dialog=f(W)}openDialogPurgeJobs(){this.dialog.open(ie)}openDialogEnqueueReprocessTorrentsBatch(){this.dialog.open(ne)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=b({type:n,selectors:[["app-queue-admin"]],standalone:!0,features:[v],decls:1,vars:0,consts:[[4,"transloco"],["mat-button","",3,"click"]],template:function(t,i){t&1&&x(0,be,10,2,"ng-container",0)},dependencies:[q,L,k,K,T],styles:["ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}"]})}}return n})();export{ze as QueueAdminComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-C7LQJIED.js b/webui/dist/bitmagnet/browser/chunk-BF5UYWQS.js similarity index 99% rename from webui/dist/bitmagnet/browser/chunk-C7LQJIED.js rename to webui/dist/bitmagnet/browser/chunk-BF5UYWQS.js index 196c2883..9722bd69 100644 --- a/webui/dist/bitmagnet/browser/chunk-C7LQJIED.js +++ b/webui/dist/bitmagnet/browser/chunk-BF5UYWQS.js @@ -1 +1 @@ -import{c as H,e as _}from"./chunk-VHNPENGG.js";import{b as y,c as G,f as d,g as s,h as O,i as l,j as T,k as Q,l as L}from"./chunk-33KK2FKQ.js";import{a as N}from"./chunk-HB55W55I.js";import{Hb as F,Sb as q,a as S,b as C,h as E,pc as I,qa as W,ua as v}from"./chunk-FJILXII2.js";var Yt=(()=>{class r{constructor(){this.themeInfo=W(_),this.transloco=W(N),this.$data=new E,this.width=500,this.height=500}ngOnInit(){this.updateChart(),this.$data.subscribe(e=>{this.data=e,this.updateChart()}),this.themeInfo.info$.subscribe(()=>{this.updateChart()}),this.transloco.langChanges$.subscribe(()=>{this.updateChart()})}updateChart(){this.chartConfig=this.adapter.create(this.data)}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275cmp=v({type:r,selectors:[["app-chart"]],inputs:{$data:"$data",adapter:"adapter",width:"width",height:"height"},standalone:!0,features:[I],decls:1,vars:5,consts:[["baseChart","",3,"data","options","type","height","width"]],template:function(n,a){n&1&&q(0,"canvas",0),n&2&&F("data",a.chartConfig.data)("options",a.chartConfig.options)("type",a.chartConfig.type)("height",a.height)("width",a.width)},dependencies:[H]})}}return r})();function M(r,t){let e=s(r,t?.in);return e.setHours(0,0,0,0),e}function $(r,t,e){let[n,a]=Q(e?.in,r,t),o=M(n),c=M(a),m=+o-T(o),h=+c-T(c);return Math.round((m-h)/G)}function B(r,t){let e=s(r,t?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}function X(r,t){let e=s(r,t?.in);return $(e,B(e))+1}function p(r,t){return l(r,C(S({},t),{weekStartsOn:1}))}function b(r,t){let e=s(r,t?.in),n=e.getFullYear(),a=d(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let o=p(a),c=d(e,0);c.setFullYear(n,0,4),c.setHours(0,0,0,0);let m=p(c);return e.getTime()>=o.getTime()?n+1:e.getTime()>=m.getTime()?n:n-1}function R(r,t){let e=b(r,t),n=d(t?.in||r,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),p(n)}function j(r,t){let e=s(r,t?.in),n=+p(e)-+R(e);return Math.round(n/y)+1}function k(r,t){let e=s(r,t?.in),n=e.getFullYear(),a=O(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,c=d(t?.in||r,0);c.setFullYear(n+1,0,o),c.setHours(0,0,0,0);let m=l(c,t),h=d(t?.in||r,0);h.setFullYear(n,0,o),h.setHours(0,0,0,0);let D=l(h,t);return+e>=+m?n+1:+e>=+D?n:n-1}function V(r,t){let e=O(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,a=k(r,t),o=d(t?.in||r,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),l(o,t)}function Z(r,t){let e=s(r,t?.in),n=+l(e,t)-+V(e,t);return Math.round(n/y)+1}function i(r,t){let e=r<0?"-":"",n=Math.abs(r).toString().padStart(t,"0");return e+n}var g={y(r,t){let e=r.getFullYear(),n=e>0?e:1-e;return i(t==="yy"?n%100:n,t.length)},M(r,t){let e=r.getMonth();return t==="M"?String(e+1):i(e+1,2)},d(r,t){return i(r.getDate(),t.length)},a(r,t){let e=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h(r,t){return i(r.getHours()%12||12,t.length)},H(r,t){return i(r.getHours(),t.length)},m(r,t){return i(r.getMinutes(),t.length)},s(r,t){return i(r.getSeconds(),t.length)},S(r,t){let e=t.length,n=r.getMilliseconds(),a=Math.trunc(n*Math.pow(10,e-3));return i(a,t.length)}};var x={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},P={G:function(r,t,e){let n=r.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return e.era(n,{width:"abbreviated"});case"GGGGG":return e.era(n,{width:"narrow"});case"GGGG":default:return e.era(n,{width:"wide"})}},y:function(r,t,e){if(t==="yo"){let n=r.getFullYear(),a=n>0?n:1-n;return e.ordinalNumber(a,{unit:"year"})}return g.y(r,t)},Y:function(r,t,e,n){let a=k(r,n),o=a>0?a:1-a;if(t==="YY"){let c=o%100;return i(c,2)}return t==="Yo"?e.ordinalNumber(o,{unit:"year"}):i(o,t.length)},R:function(r,t){let e=b(r);return i(e,t.length)},u:function(r,t){let e=r.getFullYear();return i(e,t.length)},Q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return i(n,2);case"Qo":return e.ordinalNumber(n,{unit:"quarter"});case"QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return i(n,2);case"qo":return e.ordinalNumber(n,{unit:"quarter"});case"qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,t,e){let n=r.getMonth();switch(t){case"M":case"MM":return g.M(r,t);case"Mo":return e.ordinalNumber(n+1,{unit:"month"});case"MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(r,t,e){let n=r.getMonth();switch(t){case"L":return String(n+1);case"LL":return i(n+1,2);case"Lo":return e.ordinalNumber(n+1,{unit:"month"});case"LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(r,t,e,n){let a=Z(r,n);return t==="wo"?e.ordinalNumber(a,{unit:"week"}):i(a,t.length)},I:function(r,t,e){let n=j(r);return t==="Io"?e.ordinalNumber(n,{unit:"week"}):i(n,t.length)},d:function(r,t,e){return t==="do"?e.ordinalNumber(r.getDate(),{unit:"date"}):g.d(r,t)},D:function(r,t,e){let n=X(r);return t==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):i(n,t.length)},E:function(r,t,e){let n=r.getDay();switch(t){case"E":case"EE":case"EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(n,{width:"short",context:"formatting"});case"EEEE":default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(r,t,e,n){let a=r.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return i(o,2);case"eo":return e.ordinalNumber(o,{unit:"day"});case"eee":return e.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(a,{width:"short",context:"formatting"});case"eeee":default:return e.day(a,{width:"wide",context:"formatting"})}},c:function(r,t,e,n){let a=r.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return i(o,t.length);case"co":return e.ordinalNumber(o,{unit:"day"});case"ccc":return e.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(a,{width:"narrow",context:"standalone"});case"cccccc":return e.day(a,{width:"short",context:"standalone"});case"cccc":default:return e.day(a,{width:"wide",context:"standalone"})}},i:function(r,t,e){let n=r.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return i(a,t.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(n,{width:"short",context:"formatting"});case"iiii":default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(r,t,e){let a=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(r,t,e){let n=r.getHours(),a;switch(n===12?a=x.noon:n===0?a=x.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(r,t,e){let n=r.getHours(),a;switch(n>=17?a=x.evening:n>=12?a=x.afternoon:n>=4?a=x.morning:a=x.night,t){case"B":case"BB":case"BBB":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(r,t,e){if(t==="ho"){let n=r.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return g.h(r,t)},H:function(r,t,e){return t==="Ho"?e.ordinalNumber(r.getHours(),{unit:"hour"}):g.H(r,t)},K:function(r,t,e){let n=r.getHours()%12;return t==="Ko"?e.ordinalNumber(n,{unit:"hour"}):i(n,t.length)},k:function(r,t,e){let n=r.getHours();return n===0&&(n=24),t==="ko"?e.ordinalNumber(n,{unit:"hour"}):i(n,t.length)},m:function(r,t,e){return t==="mo"?e.ordinalNumber(r.getMinutes(),{unit:"minute"}):g.m(r,t)},s:function(r,t,e){return t==="so"?e.ordinalNumber(r.getSeconds(),{unit:"second"}):g.s(r,t)},S:function(r,t){return g.S(r,t)},X:function(r,t,e){let n=r.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return J(n);case"XXXX":case"XX":return w(n);case"XXXXX":case"XXX":default:return w(n,":")}},x:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"x":return J(n);case"xxxx":case"xx":return w(n);case"xxxxx":case"xxx":default:return w(n,":")}},O:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+A(n,":");case"OOOO":default:return"GMT"+w(n,":")}},z:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+A(n,":");case"zzzz":default:return"GMT"+w(n,":")}},t:function(r,t,e){let n=Math.trunc(+r/1e3);return i(n,t.length)},T:function(r,t,e){return i(+r,t.length)}};function A(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),a=Math.trunc(n/60),o=n%60;return o===0?e+String(a):e+String(a)+t+i(o,2)}function J(r,t){return r%60===0?(r>0?"-":"+")+i(Math.abs(r)/60,2):w(r,t)}function w(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),a=i(Math.trunc(n/60),2),o=i(n%60,2);return e+a+t+o}var K=(r,t)=>{switch(r){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},U=(r,t)=>{switch(r){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},ot=(r,t)=>{let e=r.match(/(P+)(p+)?/)||[],n=e[1],a=e[2];if(!a)return K(r,t);let o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",K(n,t)).replace("{{time}}",U(a,t))},z={p:U,P:ot};var it=/^D+$/,st=/^Y+$/,ct=["D","DD","YY","YYYY"];function tt(r){return it.test(r)}function et(r){return st.test(r)}function rt(r,t,e){let n=ut(r,t,e);if(console.warn(n),ct.includes(r))throw new RangeError(n)}function ut(r,t,e){let n=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${t}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function nt(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function at(r){return!(!nt(r)&&typeof r!="number"||isNaN(+s(r)))}var ft=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,dt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,mt=/^'([^]*?)'?$/,ht=/''/g,lt=/[a-zA-Z]/;function Le(r,t,e){let n=O(),a=e?.locale??n.locale??L,o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,c=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,m=s(r,e?.in);if(!at(m))throw new RangeError("Invalid time value");let h=t.match(dt).map(f=>{let u=f[0];if(u==="p"||u==="P"){let Y=z[u];return Y(f,a.formatLong)}return f}).join("").match(ft).map(f=>{if(f==="''")return{isToken:!1,value:"'"};let u=f[0];if(u==="'")return{isToken:!1,value:gt(f)};if(P[u])return{isToken:!0,value:f};if(u.match(lt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+u+"`");return{isToken:!1,value:f}});a.localize.preprocessor&&(h=a.localize.preprocessor(m,h));let D={firstWeekContainsDate:o,weekStartsOn:c,locale:a};return h.map(f=>{if(!f.isToken)return f.value;let u=f.value;(!e?.useAdditionalWeekYearTokens&&et(u)||!e?.useAdditionalDayOfYearTokens&&tt(u))&&rt(u,t,String(r));let Y=P[u[0]];return Y(m,u,a.localize,D)}).join("")}function gt(r){let t=r.match(mt);return t?t[1].replace(ht,"'"):r}var $e=(r,t)=>`${r}-${t}`;export{Le as a,Yt as b,$e as c}; +import{c as H,e as _}from"./chunk-VHNPENGG.js";import{b as y,c as G,f as d,g as s,h as O,i as l,j as T,k as Q,l as L}from"./chunk-ZF4WX6G7.js";import{a as N}from"./chunk-Z6GE3BUT.js";import{Hb as F,Sb as q,a as S,b as C,h as E,pc as I,qa as W,ua as v}from"./chunk-FJILXII2.js";var Yt=(()=>{class r{constructor(){this.themeInfo=W(_),this.transloco=W(N),this.$data=new E,this.width=500,this.height=500}ngOnInit(){this.updateChart(),this.$data.subscribe(e=>{this.data=e,this.updateChart()}),this.themeInfo.info$.subscribe(()=>{this.updateChart()}),this.transloco.langChanges$.subscribe(()=>{this.updateChart()})}updateChart(){this.chartConfig=this.adapter.create(this.data)}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275cmp=v({type:r,selectors:[["app-chart"]],inputs:{$data:"$data",adapter:"adapter",width:"width",height:"height"},standalone:!0,features:[I],decls:1,vars:5,consts:[["baseChart","",3,"data","options","type","height","width"]],template:function(n,a){n&1&&q(0,"canvas",0),n&2&&F("data",a.chartConfig.data)("options",a.chartConfig.options)("type",a.chartConfig.type)("height",a.height)("width",a.width)},dependencies:[H]})}}return r})();function M(r,t){let e=s(r,t?.in);return e.setHours(0,0,0,0),e}function $(r,t,e){let[n,a]=Q(e?.in,r,t),o=M(n),c=M(a),m=+o-T(o),h=+c-T(c);return Math.round((m-h)/G)}function B(r,t){let e=s(r,t?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}function X(r,t){let e=s(r,t?.in);return $(e,B(e))+1}function p(r,t){return l(r,C(S({},t),{weekStartsOn:1}))}function b(r,t){let e=s(r,t?.in),n=e.getFullYear(),a=d(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let o=p(a),c=d(e,0);c.setFullYear(n,0,4),c.setHours(0,0,0,0);let m=p(c);return e.getTime()>=o.getTime()?n+1:e.getTime()>=m.getTime()?n:n-1}function R(r,t){let e=b(r,t),n=d(t?.in||r,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),p(n)}function j(r,t){let e=s(r,t?.in),n=+p(e)-+R(e);return Math.round(n/y)+1}function k(r,t){let e=s(r,t?.in),n=e.getFullYear(),a=O(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,c=d(t?.in||r,0);c.setFullYear(n+1,0,o),c.setHours(0,0,0,0);let m=l(c,t),h=d(t?.in||r,0);h.setFullYear(n,0,o),h.setHours(0,0,0,0);let D=l(h,t);return+e>=+m?n+1:+e>=+D?n:n-1}function V(r,t){let e=O(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,a=k(r,t),o=d(t?.in||r,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),l(o,t)}function Z(r,t){let e=s(r,t?.in),n=+l(e,t)-+V(e,t);return Math.round(n/y)+1}function i(r,t){let e=r<0?"-":"",n=Math.abs(r).toString().padStart(t,"0");return e+n}var g={y(r,t){let e=r.getFullYear(),n=e>0?e:1-e;return i(t==="yy"?n%100:n,t.length)},M(r,t){let e=r.getMonth();return t==="M"?String(e+1):i(e+1,2)},d(r,t){return i(r.getDate(),t.length)},a(r,t){let e=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h(r,t){return i(r.getHours()%12||12,t.length)},H(r,t){return i(r.getHours(),t.length)},m(r,t){return i(r.getMinutes(),t.length)},s(r,t){return i(r.getSeconds(),t.length)},S(r,t){let e=t.length,n=r.getMilliseconds(),a=Math.trunc(n*Math.pow(10,e-3));return i(a,t.length)}};var x={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},P={G:function(r,t,e){let n=r.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return e.era(n,{width:"abbreviated"});case"GGGGG":return e.era(n,{width:"narrow"});case"GGGG":default:return e.era(n,{width:"wide"})}},y:function(r,t,e){if(t==="yo"){let n=r.getFullYear(),a=n>0?n:1-n;return e.ordinalNumber(a,{unit:"year"})}return g.y(r,t)},Y:function(r,t,e,n){let a=k(r,n),o=a>0?a:1-a;if(t==="YY"){let c=o%100;return i(c,2)}return t==="Yo"?e.ordinalNumber(o,{unit:"year"}):i(o,t.length)},R:function(r,t){let e=b(r);return i(e,t.length)},u:function(r,t){let e=r.getFullYear();return i(e,t.length)},Q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return i(n,2);case"Qo":return e.ordinalNumber(n,{unit:"quarter"});case"QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return i(n,2);case"qo":return e.ordinalNumber(n,{unit:"quarter"});case"qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,t,e){let n=r.getMonth();switch(t){case"M":case"MM":return g.M(r,t);case"Mo":return e.ordinalNumber(n+1,{unit:"month"});case"MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(r,t,e){let n=r.getMonth();switch(t){case"L":return String(n+1);case"LL":return i(n+1,2);case"Lo":return e.ordinalNumber(n+1,{unit:"month"});case"LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(r,t,e,n){let a=Z(r,n);return t==="wo"?e.ordinalNumber(a,{unit:"week"}):i(a,t.length)},I:function(r,t,e){let n=j(r);return t==="Io"?e.ordinalNumber(n,{unit:"week"}):i(n,t.length)},d:function(r,t,e){return t==="do"?e.ordinalNumber(r.getDate(),{unit:"date"}):g.d(r,t)},D:function(r,t,e){let n=X(r);return t==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):i(n,t.length)},E:function(r,t,e){let n=r.getDay();switch(t){case"E":case"EE":case"EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(n,{width:"short",context:"formatting"});case"EEEE":default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(r,t,e,n){let a=r.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return i(o,2);case"eo":return e.ordinalNumber(o,{unit:"day"});case"eee":return e.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(a,{width:"short",context:"formatting"});case"eeee":default:return e.day(a,{width:"wide",context:"formatting"})}},c:function(r,t,e,n){let a=r.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return i(o,t.length);case"co":return e.ordinalNumber(o,{unit:"day"});case"ccc":return e.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(a,{width:"narrow",context:"standalone"});case"cccccc":return e.day(a,{width:"short",context:"standalone"});case"cccc":default:return e.day(a,{width:"wide",context:"standalone"})}},i:function(r,t,e){let n=r.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return i(a,t.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(n,{width:"short",context:"formatting"});case"iiii":default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(r,t,e){let a=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(r,t,e){let n=r.getHours(),a;switch(n===12?a=x.noon:n===0?a=x.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(r,t,e){let n=r.getHours(),a;switch(n>=17?a=x.evening:n>=12?a=x.afternoon:n>=4?a=x.morning:a=x.night,t){case"B":case"BB":case"BBB":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(r,t,e){if(t==="ho"){let n=r.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return g.h(r,t)},H:function(r,t,e){return t==="Ho"?e.ordinalNumber(r.getHours(),{unit:"hour"}):g.H(r,t)},K:function(r,t,e){let n=r.getHours()%12;return t==="Ko"?e.ordinalNumber(n,{unit:"hour"}):i(n,t.length)},k:function(r,t,e){let n=r.getHours();return n===0&&(n=24),t==="ko"?e.ordinalNumber(n,{unit:"hour"}):i(n,t.length)},m:function(r,t,e){return t==="mo"?e.ordinalNumber(r.getMinutes(),{unit:"minute"}):g.m(r,t)},s:function(r,t,e){return t==="so"?e.ordinalNumber(r.getSeconds(),{unit:"second"}):g.s(r,t)},S:function(r,t){return g.S(r,t)},X:function(r,t,e){let n=r.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return J(n);case"XXXX":case"XX":return w(n);case"XXXXX":case"XXX":default:return w(n,":")}},x:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"x":return J(n);case"xxxx":case"xx":return w(n);case"xxxxx":case"xxx":default:return w(n,":")}},O:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+A(n,":");case"OOOO":default:return"GMT"+w(n,":")}},z:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+A(n,":");case"zzzz":default:return"GMT"+w(n,":")}},t:function(r,t,e){let n=Math.trunc(+r/1e3);return i(n,t.length)},T:function(r,t,e){return i(+r,t.length)}};function A(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),a=Math.trunc(n/60),o=n%60;return o===0?e+String(a):e+String(a)+t+i(o,2)}function J(r,t){return r%60===0?(r>0?"-":"+")+i(Math.abs(r)/60,2):w(r,t)}function w(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),a=i(Math.trunc(n/60),2),o=i(n%60,2);return e+a+t+o}var K=(r,t)=>{switch(r){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},U=(r,t)=>{switch(r){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},ot=(r,t)=>{let e=r.match(/(P+)(p+)?/)||[],n=e[1],a=e[2];if(!a)return K(r,t);let o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",K(n,t)).replace("{{time}}",U(a,t))},z={p:U,P:ot};var it=/^D+$/,st=/^Y+$/,ct=["D","DD","YY","YYYY"];function tt(r){return it.test(r)}function et(r){return st.test(r)}function rt(r,t,e){let n=ut(r,t,e);if(console.warn(n),ct.includes(r))throw new RangeError(n)}function ut(r,t,e){let n=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${t}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function nt(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function at(r){return!(!nt(r)&&typeof r!="number"||isNaN(+s(r)))}var ft=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,dt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,mt=/^'([^]*?)'?$/,ht=/''/g,lt=/[a-zA-Z]/;function Le(r,t,e){let n=O(),a=e?.locale??n.locale??L,o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,c=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,m=s(r,e?.in);if(!at(m))throw new RangeError("Invalid time value");let h=t.match(dt).map(f=>{let u=f[0];if(u==="p"||u==="P"){let Y=z[u];return Y(f,a.formatLong)}return f}).join("").match(ft).map(f=>{if(f==="''")return{isToken:!1,value:"'"};let u=f[0];if(u==="'")return{isToken:!1,value:gt(f)};if(P[u])return{isToken:!0,value:f};if(u.match(lt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+u+"`");return{isToken:!1,value:f}});a.localize.preprocessor&&(h=a.localize.preprocessor(m,h));let D={firstWeekContainsDate:o,weekStartsOn:c,locale:a};return h.map(f=>{if(!f.isToken)return f.value;let u=f.value;(!e?.useAdditionalWeekYearTokens&&et(u)||!e?.useAdditionalDayOfYearTokens&&tt(u))&&rt(u,t,String(r));let Y=P[u[0]];return Y(m,u,a.localize,D)}).join("")}function gt(r){let t=r.match(mt);return t?t[1].replace(ht,"'"):r}var $e=(r,t)=>`${r}-${t}`;export{Le as a,Yt as b,$e as c}; diff --git a/webui/dist/bitmagnet/browser/chunk-6BQYS3OK.js b/webui/dist/bitmagnet/browser/chunk-CCCAKKZT.js similarity index 98% rename from webui/dist/bitmagnet/browser/chunk-6BQYS3OK.js rename to webui/dist/bitmagnet/browser/chunk-CCCAKKZT.js index 05331f32..bd90a73e 100644 --- a/webui/dist/bitmagnet/browser/chunk-6BQYS3OK.js +++ b/webui/dist/bitmagnet/browser/chunk-CCCAKKZT.js @@ -1 +1 @@ -import{a as Ne,b as Ae,c as j}from"./chunk-C7LQJIED.js";import{e as je}from"./chunk-VHNPENGG.js";import{a as Me,m as De}from"./chunk-33KK2FKQ.js";import{a as Ie}from"./chunk-TC5EWLZ6.js";import{G as ve,J as ke,M as Te,P as J,Q as Se,R as K,U as Q,Ua as q,a as be,b as G,i as ge,n as Ce,na as ye,oa as we,qa as Y,r as xe,ra as Oe,va as Ee,xa as Pe,ya as Be,za as Ve}from"./chunk-HB55W55I.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{$b as p,$c as he,B as ue,Cb as F,Ea as _,Fa as f,Hb as l,Kb as N,N as pe,Nb as D,Ob as E,Pb as P,Q as te,Qb as i,Rb as c,Sb as B,Tb as z,Ub as H,Wb as re,Zb as h,a as v,b as k,ka as de,kb as a,kc as u,l as I,lc as T,mc as _e,o as me,pc as U,qa as O,qc as fe,ua as L,uc as ne,vc as ie}from"./chunk-FJILXII2.js";var R=(n,s)=>{let{bucketParams:e,earliestBucket:r}=Ye(n,s),t=Object.entries(s.torrent.metrics.buckets.reduce((b,x)=>{if(x.source!==(n.source??x.source))return b;let C=y(x.bucket,e);if(r&&r.index>C.index&&(C=void 0),!C)return b;let d=b[x.source]??[];return k(v({},b),{[x.source]:{created:x.updated?d.created:k(v({},d.created),{[C.key]:{count:x.count+(d.created?.[C.key]?.count??0),startTime:C.start}}),updated:x.updated?k(v({},d.updated),{[C.key]:{count:x.count+(d.updated?.[C.key]?.count??0),startTime:C.start}}):d.updated}})},{})).map(([b,x])=>{let C;if(Object.keys(x).length){let d=Array(),M=Re(Array("created","updated").flatMap(S=>{let A=Re(Object.entries(x[S]??{}).filter(([,ee])=>ee?.count).sort(([ee],[Qe])=>parseInt(ee)b.events?[b.events.earliestBucket]:[]).sort()[0],o=t.flatMap(b=>b.events?[b.events.latestBucket]:[]).sort().reverse()[0];return g&&o&&(m={earliestBucket:g,latestBucket:o}),{params:k(v({},n),{buckets:e}),sourceSummaries:t,bucketSpan:m,availableSources:s.torrent.listSources.sources.map(b=>({key:b.key,name:b.name}))}},Re=n=>Object.fromEntries(n),Ye=(n,s)=>{let e=n.buckets.duration==="AUTO"?"hour":n.buckets.duration,r=n.buckets.multiplier==="AUTO"?1:n.buckets.multiplier,t=n.buckets.timeframe,m=new Date,g=y(m,{duration:e,multiplier:r}),o=y(m.getTime()-1e3*V[t],{duration:e,multiplier:r}),b=[o,...s.torrent.metrics.buckets.flatMap(d=>[y(d.bucket,{duration:e,multiplier:r})]),g].filter(d=>d.index>=o.index).sort((d,M)=>d.index-M.index),x=b[0],C=b[b.length-1];if(n.buckets.multiplier==="AUTO"){let M=C.index-x.index;r=Math.min(60,Math.max(Math.floor(M/(20*5))*5,1))}return{bucketParams:{duration:e,multiplier:r,timeframe:t},earliestBucket:y(m.getTime()-1e3*V[t],{duration:e,multiplier:r}),latestBucket:y(Math.max(m.getTime(),C.start.getTime()),{duration:e,multiplier:r})}},y=(n,s)=>{let e=new Date(n),r=1e3*W[s.duration]*s.multiplier,t=Math.floor(e.getTime()/r);return{key:`${t}`,index:t,start:new Date(t*r)}};var oe={duration:"minute",multiplier:1,timeframe:"hours_1"},$e=["day","hour","minute"],W={minute:60,hour:60*60,day:60*60*24},ae={buckets:oe,autoRefresh:"off"},se={torrent:{metrics:{buckets:[]},listSources:{sources:[{key:"dht",name:"DHT"}]}}},X=["created","updated"],Le=["minutes_15","minutes_30","hours_1","hours_6","hours_12","days_1","weeks_1"],V={minutes_15:60*15,minutes_30:60*30,hours_1:60*60,hours_6:60*60*6,hours_12:60*60*12,days_1:60*60*24,weeks_1:60*60*24*7},Fe=["off","seconds_10","seconds_30","minutes_1","minutes_5"],ze={off:null,seconds_10:10,seconds_30:30,minutes_1:60,minutes_5:60*5},He=R(ae,se);var Z=class{constructor(s,e=ae,r){this.apollo=s,this.errorsService=r,this.rawResultSubject=new I(se),this.resultSubject=new I(He),this.result$=this.resultSubject.asObservable(),this.loadingSubject=new I(!1),this.paramsSubject=new I(e),this.params$=this.paramsSubject.asObservable(),this.variablesSubject=new I(Ue(e)),this.paramsSubject.pipe(te(50)).subscribe(t=>{let m=this.variablesSubject.getValue(),g=Ue(t);JSON.stringify(m)!==JSON.stringify(g)?this.variablesSubject.next(g):this.resultSubject.next(R(t,this.rawResultSubject.getValue()))}),this.variablesSubject.pipe(te(50)).subscribe(t=>this.request(t)),this.rawResultSubject.subscribe(t=>{let m=this.paramsSubject.getValue();this.resultSubject.next(R(m,t)),this.setInterval(m.autoRefresh)})}setInterval(s){clearTimeout(this.refreshTimeout);let e=ze[s??this.params.autoRefresh];e&&(this.refreshTimeout=setTimeout(()=>{this.refresh()},e*1e3))}get params(){return this.paramsSubject.getValue()}get bucketDuration(){let s=this.params.buckets.duration;return s==="AUTO"?"hour":s}get bucketMultiplier(){return this.resultSubject.getValue().params.buckets.multiplier??this.params.buckets.multiplier}get loading(){return this.loadingSubject.getValue()}setTimeframe(s){this.updateParams(e=>k(v({},e),{buckets:k(v({},e.buckets),{timeframe:s})}))}setSource(s){this.updateParams(e=>k(v({},e),{source:s??void 0}))}setBucketDuration(s,e){this.updateParams(r=>k(v({},r),{buckets:k(v({},r.buckets),{duration:s,multiplier:e??"AUTO"})}))}setBucketMultiplier(s){this.updateParams(e=>k(v({},e),{buckets:k(v({},e.buckets),{multiplier:s})}))}setEvent(s){this.updateParams(e=>k(v({},e),{event:s??void 0}))}setAutoRefreshInterval(s){this.updateParams(e=>k(v({},e),{autoRefresh:s}))}updateParams(s){this.paramsSubject.next(s(this.params))}refresh(){this.variablesSubject.next(this.variablesSubject.getValue())}request(s){return clearTimeout(this.refreshTimeout),this.loadingSubject.next(!0),this.apollo.query({query:ve,variables:s,fetchPolicy:"no-cache"}).pipe(ue(e=>{e&&(this.loadingSubject.next(!1),this.rawResultSubject.next(e.data))})).pipe(pe(e=>(this.errorsService.addError(`Failed to load torrent metrics: ${e.message}`),this.loadingSubject.next(!1),this.setInterval(),me))).subscribe()}},Ue=n=>({input:{bucketDuration:n.buckets.duration==="AUTO"?"hour":n.buckets.duration,sources:n.source?[n.source]:void 0,startTime:new Date(new Date().getTime()-1e3*V[n.buckets.timeframe]).toISOString()}});var $={created:"primary",updated:"secondary"},Je=(()=>{class n{constructor(){this.themeInfo=O(je),this.transloco=O(be)}create(e){let{colors:r}=this.themeInfo.info,t=Array(),m=[];if(e){let g=e.sourceSummaries.filter(d=>!d.isEmpty),o=Array.from(new Set(g.flatMap(d=>d.events?[d.events.earliestBucket,d.events.latestBucket]:[]))).sort(),b=new Date,x=Math.min(o[0],y(b.getTime()-1e3*V[e.params.buckets.timeframe],e.params.buckets).index),C=Math.max(o[o.length-1],y(b,e.params.buckets).index);if(o.length){for(let M=x;M<=C;M++)t.push(this.formatBucketKey(e.params.buckets,M));let d=X.filter(M=>(e.params.event??M)===M);for(let M of g)for(let S of d){let A=Array();for(let w=x;w<=C;w++)A.push(M.events?.eventBuckets?.[S]?.entries?.[`${w}`]?.count??0);m.push({yAxisID:"yCount",label:[M.source,S].join("/"),data:A,borderColor:r[j($[S],50)],pointBackgroundColor:r[j($[S],20)],pointBorderColor:r[j($[S],80)],pointHoverBackgroundColor:r[j($[S],40)],pointHoverBorderColor:r[j($[S],60)]})}}}return{type:"line",options:{animation:!1,elements:{line:{tension:.5}},scales:{yCount:{position:"left",ticks:{callback:g=>parseInt(g).toLocaleString(this.transloco.getActiveLang())}}},plugins:{legend:{display:!0},decimation:{enabled:!0}}},data:{labels:t,datasets:m}}}formatBucketKey(e,r){let t;switch(e.duration){case"day":t="d LLL";break;case"hour":t="d LLL H:00";break;case"minute":t="H:mm";break}return Ne(1e3*W[e.duration]*e.multiplier*r,t,{locale:De(this.transloco.getActiveLang())})}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=de({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Ze=(n,s)=>s.key,et=()=>["dht"];function tt(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e))}}function rt(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e+"s"))}}function nt(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit;l("value",e.key),a(),T(e.name)}}function it(n,s){if(n&1){let e=re();i(0,"button",16),h("click",function(){let t=_(e).$implicit,m=p(2);return f(m.torrentMetricsController.params.source===t||m.torrentMetricsController.setSource(t))}),i(1,"mat-icon"),u(2),c()()}if(n&2){let e=s.$implicit,r=p(2);N(r.torrentMetricsController.params.source===e?"selected":"deselected"),l("matTooltip",e),a(2),T(r.torrentMetricsController.params.source===e?"radio_button_checked":"radio_button_unchecked")}}function ot(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.event."+e))}}function at(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e))}}function st(n,s){if(n&1){let e=re();z(0),i(1,"mat-card")(2,"mat-card-content")(3,"mat-grid-list",1)(4,"mat-grid-tile",2)(5,"mat-card",3)(6,"mat-card-header")(7,"mat-card-title")(8,"h4"),u(9),c()()(),i(10,"mat-card-content")(11,"mat-form-field",4)(12,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setTimeframe(t))}),E(13,tt,2,2,"mat-option",6,D),c()(),i(15,"div",7)(16,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[0]))}),i(17,"mat-icon"),u(18,"first_page"),c()(),i(19,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.torrentMetricsController.params.buckets.timeframe)-1]))}),i(20,"mat-icon"),u(21,"navigate_before"),c()(),i(22,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.torrentMetricsController.params.buckets.timeframe)+1]))}),i(23,"mat-icon"),u(24,"navigate_next"),c()(),i(25,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.length-1]))}),i(26,"mat-icon"),u(27,"last_page"),c()()()()()(),i(28,"mat-grid-tile",2)(29,"mat-card",9)(30,"mat-card-header")(31,"mat-card-title")(32,"h4"),u(33),c()()(),i(34,"mat-card-content")(35,"mat-form-field",10)(36,"input",11),ne(37,"async"),h("change",function(t){_(e);let m=p();return f(m.handleMultiplierEvent(t))}),c()(),i(38,"mat-form-field",12)(39,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setBucketDuration(t))}),E(40,rt,2,2,"mat-option",6,D),c()(),i(42,"div",7)(43,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketMultiplier(t.torrentMetricsController.bucketMultiplier-1))}),i(44,"mat-icon"),u(45,"remove"),c()(),i(46,"button",13),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketMultiplier(t.torrentMetricsController.bucketMultiplier+1))}),i(47,"mat-icon"),u(48,"add"),c()(),i(49,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[0]))}),i(50,"mat-icon"),u(51,"first_page"),c()(),i(52,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.torrentMetricsController.bucketDuration)-1]))}),i(53,"mat-icon"),u(54,"navigate_before"),c()(),i(55,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.torrentMetricsController.bucketDuration)+1]))}),i(56,"mat-icon"),u(57,"navigate_next"),c()(),i(58,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.length-1]))}),i(59,"mat-icon"),u(60,"last_page"),c()()()()()(),i(61,"mat-grid-tile",2)(62,"mat-card")(63,"mat-card-header")(64,"mat-card-title")(65,"h4"),u(66),c()()(),i(67,"mat-card-content")(68,"mat-form-field",4)(69,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setSource(t==="_all"?null:t))}),i(70,"mat-option",14),u(71,"All"),c(),E(72,nt,2,2,"mat-option",6,Ze),ne(74,"async"),c()(),i(75,"div",15)(76,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setSource(null))}),i(77,"mat-icon",17),u(78,"workspaces"),c()(),E(79,it,3,4,"button",18,D),c()()()(),i(81,"mat-grid-tile",2)(82,"mat-card")(83,"mat-card-header")(84,"mat-card-title")(85,"h4"),u(86),c()()(),i(87,"mat-card-content")(88,"mat-form-field",4)(89,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setEvent(t==="_all"?null:t))}),i(90,"mat-option",14),u(91,"All"),c(),E(92,ot,2,2,"mat-option",6,D),c()(),i(94,"div",15)(95,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setEvent(null))}),i(96,"mat-icon",17),u(97,"radio_button_checked"),c()(),i(98,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.params.event==="created"||t.torrentMetricsController.setEvent("created"))}),i(99,"mat-icon"),u(100,"add_circle"),c()(),i(101,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.params.event==="updated"||t.torrentMetricsController.setEvent("updated"))}),i(102,"mat-icon"),u(103,"check_circle"),c()()()()()(),i(104,"mat-grid-tile",2)(105,"mat-card",19)(106,"mat-card-header")(107,"mat-card-title")(108,"h4"),u(109),c()()(),i(110,"mat-card-content")(111,"mat-form-field",4)(112,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setAutoRefreshInterval(t))}),E(113,at,2,2,"mat-option",6,D),c()(),i(115,"div",15)(116,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.refresh())}),i(117,"mat-icon"),u(118,"sync"),c()()()()()()(),i(119,"div",20),B(120,"mat-progress-bar",21),c(),i(121,"mat-grid-list",1)(122,"mat-grid-tile",2)(123,"mat-card")(124,"mat-card-header")(125,"mat-card-title")(126,"h4"),u(127),c()()(),i(128,"mat-card-content"),B(129,"app-chart",22),c()()(),B(130,"mat-grid-tile",2),c()()(),H()}if(n&2){let e,r,t,m,g=s.$implicit,o=p();a(3),l("cols",o.breakpoints.sizeAtLeast("Large")?5:o.breakpoints.sizeAtLeast("Medium")?3:o.breakpoints.sizeAtLeast("Small")?2:1),a(),l("colspan",1)("rowspan",2),a(5),T(g("dashboard.metrics.timeframe")),a(3),l("value",o.torrentMetricsController.params.buckets.timeframe),a(),P(o.timeframeNames),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)<=0),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)<=0),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)>=o.timeframeNames.length-1),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)>=o.timeframeNames.length-1),a(3),l("colspan",1)("rowspan",2),a(5),_e(" ",g("dashboard.metrics.resolution")," "),a(3),l("placeholder",(e=(e=ie(37,57,o.torrentMetricsController.result$))==null||e.params==null||e.params.buckets==null||e.params.buckets.multiplier==null?null:e.params.buckets.multiplier.toString())!==null&&e!==void 0?e:"")("value",o.torrentMetricsController.params.buckets.multiplier),a(3),l("value",o.torrentMetricsController.bucketDuration),a(),P(o.resolutionNames),a(3),l("disabled",o.torrentMetricsController.bucketMultiplier===1),a(6),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)<=0),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)<=0),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)>=o.resolutionNames.length-1),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)>=o.resolutionNames.length-1),a(3),l("colspan",1)("rowspan",2),a(5),T(g("torrents.source")),a(3),l("value",(r=o.torrentMetricsController.params.source)!==null&&r!==void 0?r:"_all"),a(3),P((t=ie(74,59,o.torrentMetricsController.result$))==null?null:t.availableSources),a(4),N(o.torrentMetricsController.params.source?"deselected":"selected"),l("matTooltip","all"),a(3),P(fe(61,et)),a(2),l("colspan",1)("rowspan",2),a(5),T(g("dashboard.metrics.event")),a(3),l("value",(m=o.torrentMetricsController.params.event)!==null&&m!==void 0?m:"_all"),a(3),P(o.eventNames),a(3),N(o.torrentMetricsController.params.event?"deselected":"selected"),l("matTooltip","all"),a(3),N(o.torrentMetricsController.params.event==="created"?"selected":"deselected"),l("matTooltip","created"),a(3),N(o.torrentMetricsController.params.event==="updated"?"selected":"deselected"),l("matTooltip","updated"),a(3),l("colspan",1)("rowspan",2),a(5),T(g("general.refresh")),a(3),l("value",o.torrentMetricsController.params.autoRefresh),a(),P(o.autoRefreshIntervalNames),a(3),l("matTooltip","Refresh"),a(4),l("mode",o.torrentMetricsController.loading?"indeterminate":"determinate")("value",0),a(),l("cols",o.breakpoints.sizeAtLeast("Large")?2:1),a(),l("colspan",1)("rowspan",6),a(5),T(g("dashboard.metrics.throughput")),a(2),l("adapter",o.timeline)("$data",o.torrentMetricsController.result$)("height",400)("width",550),a(),l("colspan",1)("rowspan",5)}}var Ke=(()=>{class n{constructor(){this.breakpoints=O(Ie),this.apollo=O(ge),this.torrentMetricsController=new Z(this.apollo,{buckets:oe,autoRefresh:"seconds_30"},O(Me)),this.timeline=O(Je),this.resolutionNames=$e,this.timeframeNames=Le,this.autoRefreshIntervalNames=Fe,this.eventNames=X}ngOnDestroy(){this.torrentMetricsController.setAutoRefreshInterval("off")}handleMultiplierEvent(e){let r=e.currentTarget.value;this.torrentMetricsController.setBucketMultiplier(/^\d+$/.test(r)?parseInt(r):"AUTO")}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=L({type:n,selectors:[["app-torrent-metrics"]],standalone:!0,features:[U],decls:1,vars:0,consts:[[4,"transloco"],["rowHeight","100px",3,"cols"],[3,"colspan","rowspan"],[1,"form-timeframe"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],[1,"paginator","actions"],["mat-icon-button","",3,"click","disabled"],[1,"form-resolution"],["subscriptSizing","dynamic",1,"form-input-multiplier"],["type","number","matInput","","min","1","step","1",3,"change","placeholder","value"],["subscriptSizing","dynamic",1,"form-select-duration"],["mat-icon-button","",3,"click"],["value","_all"],[1,"actions"],["mat-icon-button","",3,"click","matTooltip"],["fontSet","material-icons"],["mat-icon-button","",3,"class","matTooltip"],[1,"form-refresh"],[1,"progress-bar-container"],[3,"mode","value"],[3,"adapter","$data","height","width"]],template:function(r,t){r&1&&F(0,st,131,62,"ng-container",0)},dependencies:[q,Ce,xe,J,K,Q,Se,Te,we,ye,Y,Oe,Ee,Ve,Be,G,he,Ae,ke],styles:[".actions[_ngcontent-%COMP%]{width:210px;padding-top:12px;--mdc-icon-button-state-layer-size: 32px}.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:22px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:0}.progress-bar-container[_ngcontent-%COMP%]{width:100%;height:10px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{min-width:190px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:16px;font-size:18px}mat-form-field[_ngcontent-%COMP%]{width:186px}.form-resolution[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:-2px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%]{width:60px;margin-right:10px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-resolution[_ngcontent-%COMP%] .form-select-duration[_ngcontent-%COMP%]{width:116px}"]})}}return n})();function ct(n,s){if(n&1&&(z(0),i(1,"mat-card",1)(2,"mat-card-header")(3,"mat-toolbar")(4,"h2"),B(5,"mat-icon",2),u(6),c()()(),i(7,"mat-card-content"),B(8,"app-torrent-metrics"),c()(),H()),n&2){let e=s.$implicit;a(6),T(e("routes.torrents"))}}var tr=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=L({type:n,selectors:[["app-torrents"]],standalone:!0,features:[U],decls:1,vars:0,consts:[[4,"transloco"],[1,"dashboard-card"],["svgIcon","magnet"]],template:function(r,t){r&1&&F(0,ct,9,1,"ng-container",0)},dependencies:[q,J,K,Q,Y,Pe,G,Ke],styles:["mat-card-header[_ngcontent-%COMP%]{flex-wrap:wrap}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;margin:0 60px 0 48px;height:48px;line-height:48px}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:6px;margin-right:14px;line-height:1.25rem}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{flex:0 0 100%}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:2px}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}"]})}}return n})();export{tr as TorrentsDashboardComponent}; +import{a as Ne,b as Ae,c as j}from"./chunk-BF5UYWQS.js";import{e as je}from"./chunk-VHNPENGG.js";import{a as Me,m as De}from"./chunk-ZF4WX6G7.js";import{a as Ie}from"./chunk-3AJEMLV6.js";import{G as ve,J as ke,M as Te,P as J,Q as Se,R as K,U as Q,Ua as q,a as be,b as G,i as ge,n as Ce,na as ye,oa as we,qa as Y,r as xe,ra as Oe,va as Ee,xa as Pe,ya as Be,za as Ve}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{$b as p,$c as he,B as ue,Cb as F,Ea as _,Fa as f,Hb as l,Kb as N,N as pe,Nb as D,Ob as E,Pb as P,Q as te,Qb as i,Rb as c,Sb as B,Tb as z,Ub as H,Wb as re,Zb as h,a as v,b as k,ka as de,kb as a,kc as u,l as I,lc as T,mc as _e,o as me,pc as U,qa as O,qc as fe,ua as L,uc as ne,vc as ie}from"./chunk-FJILXII2.js";var R=(n,s)=>{let{bucketParams:e,earliestBucket:r}=Ye(n,s),t=Object.entries(s.torrent.metrics.buckets.reduce((b,x)=>{if(x.source!==(n.source??x.source))return b;let C=y(x.bucket,e);if(r&&r.index>C.index&&(C=void 0),!C)return b;let d=b[x.source]??[];return k(v({},b),{[x.source]:{created:x.updated?d.created:k(v({},d.created),{[C.key]:{count:x.count+(d.created?.[C.key]?.count??0),startTime:C.start}}),updated:x.updated?k(v({},d.updated),{[C.key]:{count:x.count+(d.updated?.[C.key]?.count??0),startTime:C.start}}):d.updated}})},{})).map(([b,x])=>{let C;if(Object.keys(x).length){let d=Array(),M=Re(Array("created","updated").flatMap(S=>{let A=Re(Object.entries(x[S]??{}).filter(([,ee])=>ee?.count).sort(([ee],[Qe])=>parseInt(ee)b.events?[b.events.earliestBucket]:[]).sort()[0],o=t.flatMap(b=>b.events?[b.events.latestBucket]:[]).sort().reverse()[0];return g&&o&&(m={earliestBucket:g,latestBucket:o}),{params:k(v({},n),{buckets:e}),sourceSummaries:t,bucketSpan:m,availableSources:s.torrent.listSources.sources.map(b=>({key:b.key,name:b.name}))}},Re=n=>Object.fromEntries(n),Ye=(n,s)=>{let e=n.buckets.duration==="AUTO"?"hour":n.buckets.duration,r=n.buckets.multiplier==="AUTO"?1:n.buckets.multiplier,t=n.buckets.timeframe,m=new Date,g=y(m,{duration:e,multiplier:r}),o=y(m.getTime()-1e3*V[t],{duration:e,multiplier:r}),b=[o,...s.torrent.metrics.buckets.flatMap(d=>[y(d.bucket,{duration:e,multiplier:r})]),g].filter(d=>d.index>=o.index).sort((d,M)=>d.index-M.index),x=b[0],C=b[b.length-1];if(n.buckets.multiplier==="AUTO"){let M=C.index-x.index;r=Math.min(60,Math.max(Math.floor(M/(20*5))*5,1))}return{bucketParams:{duration:e,multiplier:r,timeframe:t},earliestBucket:y(m.getTime()-1e3*V[t],{duration:e,multiplier:r}),latestBucket:y(Math.max(m.getTime(),C.start.getTime()),{duration:e,multiplier:r})}},y=(n,s)=>{let e=new Date(n),r=1e3*W[s.duration]*s.multiplier,t=Math.floor(e.getTime()/r);return{key:`${t}`,index:t,start:new Date(t*r)}};var oe={duration:"minute",multiplier:1,timeframe:"hours_1"},$e=["day","hour","minute"],W={minute:60,hour:60*60,day:60*60*24},ae={buckets:oe,autoRefresh:"off"},se={torrent:{metrics:{buckets:[]},listSources:{sources:[{key:"dht",name:"DHT"}]}}},X=["created","updated"],Le=["minutes_15","minutes_30","hours_1","hours_6","hours_12","days_1","weeks_1"],V={minutes_15:60*15,minutes_30:60*30,hours_1:60*60,hours_6:60*60*6,hours_12:60*60*12,days_1:60*60*24,weeks_1:60*60*24*7},Fe=["off","seconds_10","seconds_30","minutes_1","minutes_5"],ze={off:null,seconds_10:10,seconds_30:30,minutes_1:60,minutes_5:60*5},He=R(ae,se);var Z=class{constructor(s,e=ae,r){this.apollo=s,this.errorsService=r,this.rawResultSubject=new I(se),this.resultSubject=new I(He),this.result$=this.resultSubject.asObservable(),this.loadingSubject=new I(!1),this.paramsSubject=new I(e),this.params$=this.paramsSubject.asObservable(),this.variablesSubject=new I(Ue(e)),this.paramsSubject.pipe(te(50)).subscribe(t=>{let m=this.variablesSubject.getValue(),g=Ue(t);JSON.stringify(m)!==JSON.stringify(g)?this.variablesSubject.next(g):this.resultSubject.next(R(t,this.rawResultSubject.getValue()))}),this.variablesSubject.pipe(te(50)).subscribe(t=>this.request(t)),this.rawResultSubject.subscribe(t=>{let m=this.paramsSubject.getValue();this.resultSubject.next(R(m,t)),this.setInterval(m.autoRefresh)})}setInterval(s){clearTimeout(this.refreshTimeout);let e=ze[s??this.params.autoRefresh];e&&(this.refreshTimeout=setTimeout(()=>{this.refresh()},e*1e3))}get params(){return this.paramsSubject.getValue()}get bucketDuration(){let s=this.params.buckets.duration;return s==="AUTO"?"hour":s}get bucketMultiplier(){return this.resultSubject.getValue().params.buckets.multiplier??this.params.buckets.multiplier}get loading(){return this.loadingSubject.getValue()}setTimeframe(s){this.updateParams(e=>k(v({},e),{buckets:k(v({},e.buckets),{timeframe:s})}))}setSource(s){this.updateParams(e=>k(v({},e),{source:s??void 0}))}setBucketDuration(s,e){this.updateParams(r=>k(v({},r),{buckets:k(v({},r.buckets),{duration:s,multiplier:e??"AUTO"})}))}setBucketMultiplier(s){this.updateParams(e=>k(v({},e),{buckets:k(v({},e.buckets),{multiplier:s})}))}setEvent(s){this.updateParams(e=>k(v({},e),{event:s??void 0}))}setAutoRefreshInterval(s){this.updateParams(e=>k(v({},e),{autoRefresh:s}))}updateParams(s){this.paramsSubject.next(s(this.params))}refresh(){this.variablesSubject.next(this.variablesSubject.getValue())}request(s){return clearTimeout(this.refreshTimeout),this.loadingSubject.next(!0),this.apollo.query({query:ve,variables:s,fetchPolicy:"no-cache"}).pipe(ue(e=>{e&&(this.loadingSubject.next(!1),this.rawResultSubject.next(e.data))})).pipe(pe(e=>(this.errorsService.addError(`Failed to load torrent metrics: ${e.message}`),this.loadingSubject.next(!1),this.setInterval(),me))).subscribe()}},Ue=n=>({input:{bucketDuration:n.buckets.duration==="AUTO"?"hour":n.buckets.duration,sources:n.source?[n.source]:void 0,startTime:new Date(new Date().getTime()-1e3*V[n.buckets.timeframe]).toISOString()}});var $={created:"primary",updated:"secondary"},Je=(()=>{class n{constructor(){this.themeInfo=O(je),this.transloco=O(be)}create(e){let{colors:r}=this.themeInfo.info,t=Array(),m=[];if(e){let g=e.sourceSummaries.filter(d=>!d.isEmpty),o=Array.from(new Set(g.flatMap(d=>d.events?[d.events.earliestBucket,d.events.latestBucket]:[]))).sort(),b=new Date,x=Math.min(o[0],y(b.getTime()-1e3*V[e.params.buckets.timeframe],e.params.buckets).index),C=Math.max(o[o.length-1],y(b,e.params.buckets).index);if(o.length){for(let M=x;M<=C;M++)t.push(this.formatBucketKey(e.params.buckets,M));let d=X.filter(M=>(e.params.event??M)===M);for(let M of g)for(let S of d){let A=Array();for(let w=x;w<=C;w++)A.push(M.events?.eventBuckets?.[S]?.entries?.[`${w}`]?.count??0);m.push({yAxisID:"yCount",label:[M.source,S].join("/"),data:A,borderColor:r[j($[S],50)],pointBackgroundColor:r[j($[S],20)],pointBorderColor:r[j($[S],80)],pointHoverBackgroundColor:r[j($[S],40)],pointHoverBorderColor:r[j($[S],60)]})}}}return{type:"line",options:{animation:!1,elements:{line:{tension:.5}},scales:{yCount:{position:"left",ticks:{callback:g=>parseInt(g).toLocaleString(this.transloco.getActiveLang())}}},plugins:{legend:{display:!0},decimation:{enabled:!0}}},data:{labels:t,datasets:m}}}formatBucketKey(e,r){let t;switch(e.duration){case"day":t="d LLL";break;case"hour":t="d LLL H:00";break;case"minute":t="H:mm";break}return Ne(1e3*W[e.duration]*e.multiplier*r,t,{locale:De(this.transloco.getActiveLang())})}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=de({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Ze=(n,s)=>s.key,et=()=>["dht"];function tt(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e))}}function rt(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e+"s"))}}function nt(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit;l("value",e.key),a(),T(e.name)}}function it(n,s){if(n&1){let e=re();i(0,"button",16),h("click",function(){let t=_(e).$implicit,m=p(2);return f(m.torrentMetricsController.params.source===t||m.torrentMetricsController.setSource(t))}),i(1,"mat-icon"),u(2),c()()}if(n&2){let e=s.$implicit,r=p(2);N(r.torrentMetricsController.params.source===e?"selected":"deselected"),l("matTooltip",e),a(2),T(r.torrentMetricsController.params.source===e?"radio_button_checked":"radio_button_unchecked")}}function ot(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.event."+e))}}function at(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e))}}function st(n,s){if(n&1){let e=re();z(0),i(1,"mat-card")(2,"mat-card-content")(3,"mat-grid-list",1)(4,"mat-grid-tile",2)(5,"mat-card",3)(6,"mat-card-header")(7,"mat-card-title")(8,"h4"),u(9),c()()(),i(10,"mat-card-content")(11,"mat-form-field",4)(12,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setTimeframe(t))}),E(13,tt,2,2,"mat-option",6,D),c()(),i(15,"div",7)(16,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[0]))}),i(17,"mat-icon"),u(18,"first_page"),c()(),i(19,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.torrentMetricsController.params.buckets.timeframe)-1]))}),i(20,"mat-icon"),u(21,"navigate_before"),c()(),i(22,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.torrentMetricsController.params.buckets.timeframe)+1]))}),i(23,"mat-icon"),u(24,"navigate_next"),c()(),i(25,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.length-1]))}),i(26,"mat-icon"),u(27,"last_page"),c()()()()()(),i(28,"mat-grid-tile",2)(29,"mat-card",9)(30,"mat-card-header")(31,"mat-card-title")(32,"h4"),u(33),c()()(),i(34,"mat-card-content")(35,"mat-form-field",10)(36,"input",11),ne(37,"async"),h("change",function(t){_(e);let m=p();return f(m.handleMultiplierEvent(t))}),c()(),i(38,"mat-form-field",12)(39,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setBucketDuration(t))}),E(40,rt,2,2,"mat-option",6,D),c()(),i(42,"div",7)(43,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketMultiplier(t.torrentMetricsController.bucketMultiplier-1))}),i(44,"mat-icon"),u(45,"remove"),c()(),i(46,"button",13),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketMultiplier(t.torrentMetricsController.bucketMultiplier+1))}),i(47,"mat-icon"),u(48,"add"),c()(),i(49,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[0]))}),i(50,"mat-icon"),u(51,"first_page"),c()(),i(52,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.torrentMetricsController.bucketDuration)-1]))}),i(53,"mat-icon"),u(54,"navigate_before"),c()(),i(55,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.torrentMetricsController.bucketDuration)+1]))}),i(56,"mat-icon"),u(57,"navigate_next"),c()(),i(58,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.length-1]))}),i(59,"mat-icon"),u(60,"last_page"),c()()()()()(),i(61,"mat-grid-tile",2)(62,"mat-card")(63,"mat-card-header")(64,"mat-card-title")(65,"h4"),u(66),c()()(),i(67,"mat-card-content")(68,"mat-form-field",4)(69,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setSource(t==="_all"?null:t))}),i(70,"mat-option",14),u(71,"All"),c(),E(72,nt,2,2,"mat-option",6,Ze),ne(74,"async"),c()(),i(75,"div",15)(76,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setSource(null))}),i(77,"mat-icon",17),u(78,"workspaces"),c()(),E(79,it,3,4,"button",18,D),c()()()(),i(81,"mat-grid-tile",2)(82,"mat-card")(83,"mat-card-header")(84,"mat-card-title")(85,"h4"),u(86),c()()(),i(87,"mat-card-content")(88,"mat-form-field",4)(89,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setEvent(t==="_all"?null:t))}),i(90,"mat-option",14),u(91,"All"),c(),E(92,ot,2,2,"mat-option",6,D),c()(),i(94,"div",15)(95,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setEvent(null))}),i(96,"mat-icon",17),u(97,"radio_button_checked"),c()(),i(98,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.params.event==="created"||t.torrentMetricsController.setEvent("created"))}),i(99,"mat-icon"),u(100,"add_circle"),c()(),i(101,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.params.event==="updated"||t.torrentMetricsController.setEvent("updated"))}),i(102,"mat-icon"),u(103,"check_circle"),c()()()()()(),i(104,"mat-grid-tile",2)(105,"mat-card",19)(106,"mat-card-header")(107,"mat-card-title")(108,"h4"),u(109),c()()(),i(110,"mat-card-content")(111,"mat-form-field",4)(112,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setAutoRefreshInterval(t))}),E(113,at,2,2,"mat-option",6,D),c()(),i(115,"div",15)(116,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.refresh())}),i(117,"mat-icon"),u(118,"sync"),c()()()()()()(),i(119,"div",20),B(120,"mat-progress-bar",21),c(),i(121,"mat-grid-list",1)(122,"mat-grid-tile",2)(123,"mat-card")(124,"mat-card-header")(125,"mat-card-title")(126,"h4"),u(127),c()()(),i(128,"mat-card-content"),B(129,"app-chart",22),c()()(),B(130,"mat-grid-tile",2),c()()(),H()}if(n&2){let e,r,t,m,g=s.$implicit,o=p();a(3),l("cols",o.breakpoints.sizeAtLeast("Large")?5:o.breakpoints.sizeAtLeast("Medium")?3:o.breakpoints.sizeAtLeast("Small")?2:1),a(),l("colspan",1)("rowspan",2),a(5),T(g("dashboard.metrics.timeframe")),a(3),l("value",o.torrentMetricsController.params.buckets.timeframe),a(),P(o.timeframeNames),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)<=0),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)<=0),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)>=o.timeframeNames.length-1),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)>=o.timeframeNames.length-1),a(3),l("colspan",1)("rowspan",2),a(5),_e(" ",g("dashboard.metrics.resolution")," "),a(3),l("placeholder",(e=(e=ie(37,57,o.torrentMetricsController.result$))==null||e.params==null||e.params.buckets==null||e.params.buckets.multiplier==null?null:e.params.buckets.multiplier.toString())!==null&&e!==void 0?e:"")("value",o.torrentMetricsController.params.buckets.multiplier),a(3),l("value",o.torrentMetricsController.bucketDuration),a(),P(o.resolutionNames),a(3),l("disabled",o.torrentMetricsController.bucketMultiplier===1),a(6),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)<=0),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)<=0),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)>=o.resolutionNames.length-1),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)>=o.resolutionNames.length-1),a(3),l("colspan",1)("rowspan",2),a(5),T(g("torrents.source")),a(3),l("value",(r=o.torrentMetricsController.params.source)!==null&&r!==void 0?r:"_all"),a(3),P((t=ie(74,59,o.torrentMetricsController.result$))==null?null:t.availableSources),a(4),N(o.torrentMetricsController.params.source?"deselected":"selected"),l("matTooltip","all"),a(3),P(fe(61,et)),a(2),l("colspan",1)("rowspan",2),a(5),T(g("dashboard.metrics.event")),a(3),l("value",(m=o.torrentMetricsController.params.event)!==null&&m!==void 0?m:"_all"),a(3),P(o.eventNames),a(3),N(o.torrentMetricsController.params.event?"deselected":"selected"),l("matTooltip","all"),a(3),N(o.torrentMetricsController.params.event==="created"?"selected":"deselected"),l("matTooltip","created"),a(3),N(o.torrentMetricsController.params.event==="updated"?"selected":"deselected"),l("matTooltip","updated"),a(3),l("colspan",1)("rowspan",2),a(5),T(g("general.refresh")),a(3),l("value",o.torrentMetricsController.params.autoRefresh),a(),P(o.autoRefreshIntervalNames),a(3),l("matTooltip","Refresh"),a(4),l("mode",o.torrentMetricsController.loading?"indeterminate":"determinate")("value",0),a(),l("cols",o.breakpoints.sizeAtLeast("Large")?2:1),a(),l("colspan",1)("rowspan",6),a(5),T(g("dashboard.metrics.throughput")),a(2),l("adapter",o.timeline)("$data",o.torrentMetricsController.result$)("height",400)("width",550),a(),l("colspan",1)("rowspan",5)}}var Ke=(()=>{class n{constructor(){this.breakpoints=O(Ie),this.apollo=O(ge),this.torrentMetricsController=new Z(this.apollo,{buckets:oe,autoRefresh:"seconds_30"},O(Me)),this.timeline=O(Je),this.resolutionNames=$e,this.timeframeNames=Le,this.autoRefreshIntervalNames=Fe,this.eventNames=X}ngOnDestroy(){this.torrentMetricsController.setAutoRefreshInterval("off")}handleMultiplierEvent(e){let r=e.currentTarget.value;this.torrentMetricsController.setBucketMultiplier(/^\d+$/.test(r)?parseInt(r):"AUTO")}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=L({type:n,selectors:[["app-torrent-metrics"]],standalone:!0,features:[U],decls:1,vars:0,consts:[[4,"transloco"],["rowHeight","100px",3,"cols"],[3,"colspan","rowspan"],[1,"form-timeframe"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],[1,"paginator","actions"],["mat-icon-button","",3,"click","disabled"],[1,"form-resolution"],["subscriptSizing","dynamic",1,"form-input-multiplier"],["type","number","matInput","","min","1","step","1",3,"change","placeholder","value"],["subscriptSizing","dynamic",1,"form-select-duration"],["mat-icon-button","",3,"click"],["value","_all"],[1,"actions"],["mat-icon-button","",3,"click","matTooltip"],["fontSet","material-icons"],["mat-icon-button","",3,"class","matTooltip"],[1,"form-refresh"],[1,"progress-bar-container"],[3,"mode","value"],[3,"adapter","$data","height","width"]],template:function(r,t){r&1&&F(0,st,131,62,"ng-container",0)},dependencies:[q,Ce,xe,J,K,Q,Se,Te,we,ye,Y,Oe,Ee,Ve,Be,G,he,Ae,ke],styles:[".actions[_ngcontent-%COMP%]{width:210px;padding-top:12px;--mdc-icon-button-state-layer-size: 32px}.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:22px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:0}.progress-bar-container[_ngcontent-%COMP%]{width:100%;height:10px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{min-width:190px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:16px;font-size:18px}mat-form-field[_ngcontent-%COMP%]{width:186px}.form-resolution[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:-2px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%]{width:60px;margin-right:10px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-resolution[_ngcontent-%COMP%] .form-select-duration[_ngcontent-%COMP%]{width:116px}"]})}}return n})();function ct(n,s){if(n&1&&(z(0),i(1,"mat-card",1)(2,"mat-card-header")(3,"mat-toolbar")(4,"h2"),B(5,"mat-icon",2),u(6),c()()(),i(7,"mat-card-content"),B(8,"app-torrent-metrics"),c()(),H()),n&2){let e=s.$implicit;a(6),T(e("routes.torrents"))}}var tr=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=L({type:n,selectors:[["app-torrents"]],standalone:!0,features:[U],decls:1,vars:0,consts:[[4,"transloco"],[1,"dashboard-card"],["svgIcon","magnet"]],template:function(r,t){r&1&&F(0,ct,9,1,"ng-container",0)},dependencies:[q,J,K,Q,Y,Pe,G,Ke],styles:["mat-card-header[_ngcontent-%COMP%]{flex-wrap:wrap}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;margin:0 60px 0 48px;height:48px;line-height:48px}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:6px;margin-right:14px;line-height:1.25rem}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{flex:0 0 100%}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:2px}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}"]})}}return n})();export{tr as TorrentsDashboardComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-EF5HJP6V.js b/webui/dist/bitmagnet/browser/chunk-JS3YJKHP.js similarity index 99% rename from webui/dist/bitmagnet/browser/chunk-EF5HJP6V.js rename to webui/dist/bitmagnet/browser/chunk-JS3YJKHP.js index 745699f7..45c24316 100644 --- a/webui/dist/bitmagnet/browser/chunk-EF5HJP6V.js +++ b/webui/dist/bitmagnet/browser/chunk-JS3YJKHP.js @@ -1 +1 @@ -import{a as ge,b as Te}from"./chunk-3RUUGSNJ.js";import{a as W}from"./chunk-33KK2FKQ.js";import{a as he}from"./chunk-TC5EWLZ6.js";import{$ as te,Da as oe,Ea as re,F as jt,Fa as ae,Ga as le,Ha as se,I as Lt,Ia as ce,Ja as pe,K as Vt,Ka as me,La as _e,M as Ht,Ma as de,N as Gt,Na as ue,O as Yt,Oa as Ce,P as Kt,Pa as xe,Qa as fe,R as qt,T as Ut,Ua as L,W as Xt,X as Jt,Y as Zt,Z as Qt,_ as Wt,a as R,aa as ee,b as j,d as zt,e as Bt,f as Ft,g as Ot,i as Dt,ja as ne,n as Nt,o as Rt,qa as tt,va as ie,ya as et}from"./chunk-HB55W55I.js";import{m as At}from"./chunk-ZBBMS7J5.js";import{$b as c,$c as kt,B as st,Cb as C,Ea as M,Fa as $,Hb as g,Mb as d,N as Y,Na as wt,Nb as K,Ob as k,Pb as P,Q as St,Qb as s,Rb as r,Sb as h,Tb as T,Ub as b,Wb as B,Zb as A,a as X,ad as Q,b as vt,ha as J,hb as It,id as Pt,jc as pt,kb as o,kc as l,l as E,lb as ct,lc as x,mc as m,nc as yt,o as G,pc as N,qa as y,rc as Mt,sc as $t,ua as D,uc as v,vc as w,wc as Z,xa as Et}from"./chunk-FJILXII2.js";var be={movie:{singular:"Movie",plural:"Movies",icon:"movie"},tv_show:{singular:"TV Show",plural:"TV Shows",icon:"live_tv"},music:{singular:"Music",plural:"Music",icon:"music_note"},ebook:{singular:"E-Book",plural:"E-Books",icon:"auto_stories"},comic:{singular:"Comic",plural:"Comics",icon:"comic_bubble"},audiobook:{singular:"Audiobook",plural:"Audiobooks",icon:"mic"},software:{singular:"Software",plural:"Software",icon:"desktop_windows"},game:{singular:"Game",plural:"Games",icon:"sports_esports"},xxx:{singular:"XXX",plural:"XXX",icon:"18_up_rating"},null:{singular:"Unknown",plural:"Unknown",icon:"question_mark"}},_i=Object.entries(be).map(([t,n])=>X({key:t},n)),di=t=>t?be[t]:void 0;var Ne=(t,n)=>n.id;function Re(t,n){if(t&1&&(s(0,"mat-chip",1)(1,"mat-icon",2),l(2,"sell"),r(),l(3),r()),t&2){let e=n.$implicit;o(3),m(" ",e," ")}}function je(t,n){if(t&1&&l(0),t&2){let e=n.$implicit,i=n.$index,a=c(),p=c().$implicit;m(" ",p("languages."+e.id)+(i{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-chips"]],inputs:{torrentContent:"torrentContent"},standalone:!0,features:[N],decls:1,vars:0,consts:[[4,"transloco"],[1,"chip-primary"],["matChipAvatar",""],["matChipAvatar","","svgIcon","binary"]],template:function(i,a){i&1&&C(0,qe,10,6,"ng-container",0)},dependencies:[L,Zt,Xt,Wt,tt,j],styles:["mat-chip-set[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;left:4px}"]})}}return t})();var Ue="array",Xe="bit",Se="bits",Je="byte",Ee="bytes",V="",Ze="exponent",Qe="function",we="iec",We="Invalid number",tn="Invalid rounding method",_t="jedec",en="object",Ie=".",nn="round",on="s",rn="si",an="kbit",ln="kB",sn=" ",cn="string",pn="0",dt={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function ye(t,{bits:n=!1,pad:e=!1,base:i=-1,round:a=2,locale:p=V,localeOptions:_={},separator:F=V,spacer:S=sn,symbols:Pe={},standard:I=V,output:at=cn,fullform:Ae=!1,fullforms:ut=[],exponent:Ct=-1,roundingMethod:ze=nn,precision:q=0}={}){let f=Ct,O=Number(t),u=[],z=0,lt=V;I===rn?(i=10,I=_t):I===we||I===_t?i=2:i===2?I=we:(i=10,I=_t);let U=i===10?1e3:1024,Be=Ae===!0,xt=O<0,ft=Math[ze];if(typeof t!="bigint"&&isNaN(t))throw new TypeError(We);if(typeof ft!==Qe)throw new TypeError(tn);if(xt&&(O=-O),(f===-1||isNaN(f))&&(f=Math.floor(Math.log(O)/Math.log(U)),f<0&&(f=0)),f>8&&(q>0&&(q+=8-f),f=8),at===Ze)return f;if(O===0)u[0]=0,lt=u[1]=dt.symbol[I][n?Se:Ee][f];else{z=O/(i===2?Math.pow(2,f*10):Math.pow(1e3,f)),n&&(z=z*8,z>=U&&f<8&&(z=z/U,f++));let H=Math.pow(10,f>0?a:0);u[0]=ft(z*H)/H,u[0]===U&&f<8&&Ct===-1&&(u[0]=1,f++),lt=u[1]=i===10&&f===1?n?an:ln:dt.symbol[I][n?Se:Ee][f]}if(xt&&(u[0]=-u[0]),q>0&&(u[0]=u[0].toPrecision(q)),u[1]=Pe[u[1]]||u[1],p===!0?u[0]=u[0].toLocaleString():p.length>0?u[0]=u[0].toLocaleString(p,_):F.length>0&&(u[0]=u[0].toString().replace(Ie,F)),e&&a>0){let H=u[0].toString(),gt=F||(H.match(/(\D)/g)||[]).pop()||Ie,ht=H.toString().split(gt),Tt=ht[1]||V,bt=Tt.length,Fe=a-bt;u[0]=`${ht[0]}${gt}${Tt.padEnd(bt+Fe,pn)}`}return Be&&(u[1]=ut[f]?ut[f]:dt.fullform[I][f]+(n?Xe:Je)+(u[0]===1?V:on)),at===Ue?u:at===en?{value:u[0],symbol:u[1],exponent:f,unit:lt}:u.join(S)}var nt=(()=>{class t{constructor(){this.transloco=y(R)}transform(e,i=2){return ye(e,{locale:this.transloco.getActiveLang(),base:i})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Et({name:"filesize",type:t,pure:!1,standalone:!0})}}return t})();var mn=t=>t.toLowerCase().replaceAll(/[^a-z0-9\-]/g,"-").replace(/^-+/,"").replaceAll(/-+/g,"-"),Me=mn;var _n={items:[],hasNextPage:!1,totalCount:0,aggregations:{queue:[],status:[]}},it=class{constructor(n,e,i){this.apollo=n,this.errorsService=e,this.currentRequest=new E(0),this.loadingSubject=new E(!1),this.loading$=this.loadingSubject.asObservable(),this.result=_n,this.resultSubject=new E(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(st(a=>a.items)),i.subscribe(a=>{this.loadResult(a)}),this.resultSubject.subscribe(a=>{this.result=a})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:jt,variables:n,fetchPolicy:"no-cache"}).pipe(st(a=>a.data.torrent.files)).pipe(Y(a=>(this.errorsService.addError(`Error loading item results: ${a.message}`),G)));this.currentSubscription=i.subscribe(a=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(a))})}},ot=class{constructor(n){this.torrent=n,this.loading$=new E(!1).asObservable(),this.file={infoHash:n.infoHash,index:0,path:n.name,size:n.size,fileType:n.fileType,extension:n.extension,createdAt:n.createdAt,updatedAt:n.updatedAt},this.result={hasNextPage:!1,items:[this.file],totalCount:1},this.result$=new E(this.result).asObservable(),this.items$=new E([this.file]).asObservable()}connect({}){return this.items$}disconnect(){}};var rt=class{constructor(n){let e={infoHash:n,limit:10,page:1};this.controlsSubject=new E(e),this.controls$=this.controlsSubject.asObservable(),this.controls$.pipe(St(100)).subscribe(i=>{let a=this.variablesSubject.getValue(),p=$e(i);JSON.stringify(a)!==JSON.stringify(p)&&this.variablesSubject.next(p)}),this.variablesSubject=new E($e(e)),this.variables$=this.variablesSubject.asObservable()}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}handlePageEvent(n){this.update(e=>vt(X({},e),{limit:n.pageSize,page:n.page}))}},$e=t=>({input:{infoHashes:[t.infoHash],limit:t.limit,page:t.page,totalCount:!0,hasNextPage:!1}});var Cn=(t,n)=>({x:t,y:n});function xn(t,n){if(t&1&&(s(0,"p"),l(1),v(2,"number"),v(3,"number"),r()),t&2){let e=c().$implicit,i=c();o(),m(" ",e("torrents.showing_x_of_y_files",$t(5,Cn,w(2,1,i.dataSource.result.totalCount),i.torrent.filesCount==null?"?":w(3,3,i.torrent.filesCount)))," ")}}function fn(t,n){if(t&1&&(s(0,"th",13),l(1),r()),t&2){let e=c().$implicit;o(),x(e("torrents.file_index"))}}function gn(t,n){if(t&1&&(s(0,"td",14),l(1),r()),t&2){let e=n.$implicit,i=c(2);o(),m(" ",i.item(e).index," ")}}function hn(t,n){if(t&1&&(s(0,"th",13),l(1),r()),t&2){let e=c().$implicit;o(),x(e("torrents.file_path"))}}function Tn(t,n){if(t&1&&(s(0,"td",14),l(1),r()),t&2){let e=n.$implicit,i=c(2);o(),m(" ",i.item(e).path," ")}}function bn(t,n){if(t&1&&(s(0,"th",13),l(1),r()),t&2){let e=c().$implicit;o(),x(e("torrents.file_type"))}}function vn(t,n){if(t&1&&(s(0,"td",14),l(1),r()),t&2){let e,i=n.$implicit,a=c().$implicit,p=c();o(),m(" ",a("file_types."+((e=p.item(i).fileType)!==null&&e!==void 0?e:"unknown"))," ")}}function Sn(t,n){if(t&1&&(s(0,"th",13),l(1),r()),t&2){let e=c().$implicit;o(),x(e("torrents.file_size"))}}function En(t,n){if(t&1&&(s(0,"td",14)(1,"span",15),v(2,"filesize"),l(3),v(4,"filesize"),r()()),t&2){let e=n.$implicit,i=c(2);o(),g("matTooltip",Z(2,2,i.item(e).size,10)),o(2),x(w(4,5,i.item(e).size))}}function wn(t,n){t&1&&h(0,"tr",16)}function In(t,n){t&1&&h(0,"tr",17)}function yn(t,n){if(t&1){let e=B();s(0,"app-paginator",18),A("paging",function(a){M(e);let p=c(2);return $(p.controller.handlePageEvent(a))}),r()}if(t&2){let e=c(2);g("page",e.controls.page)("pageSize",e.controls.limit)("pageLength",e.dataSource.result.items.length)("totalLength",e.dataSource.result.totalCount)("totalIsEstimate",!1)("showLastPage",!0)}}function Mn(t,n){if(t&1&&(T(0),s(1,"div",1),h(2,"mat-progress-bar",2),v(3,"async"),r(),C(4,xn,4,8,"p"),s(5,"table",3),T(6,4),C(7,fn,2,1,"th",5)(8,gn,2,1,"td",6),b(),T(9,7),C(10,hn,2,1,"th",5)(11,Tn,2,1,"td",6),b(),T(12,8),C(13,bn,2,1,"th",5)(14,vn,2,1,"td",6),b(),T(15,9),C(16,Sn,2,1,"th",5)(17,En,5,7,"td",6),b(),C(18,wn,1,0,"tr",10)(19,In,1,0,"tr",11),r(),C(20,yn,1,6,"app-paginator",12),b()),t&2){let e=c();o(2),g("mode",w(3,8,e.dataSource.loading$)?"indeterminate":"determinate")("value",0),o(2),d(e.torrent.filesStatus==="over_threshold"?4:-1),o(),g("dataSource",e.dataSource)("multiTemplateDataRows",!0),o(13),g("matHeaderRowDef",e.displayedColumns),o(),g("matRowDefColumns",e.displayedColumns),o(),d(e.dataSource.result.totalCount>10?20:-1)}}var ke=(()=>{class t{constructor(){this.apollo=y(Dt),this.errorsService=y(W),this.transloco=y(R),this.displayedColumns=["index","path","type","size"]}ngOnInit(){this.controller=new rt(this.torrent.infoHash),this.dataSource=this.torrent.filesStatus==="single"?new ot(this.torrent):new it(this.apollo,this.errorsService,this.controller.variables$),this.controller.controls$.subscribe(e=>{this.controls=e})}item(e){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-files-table"]],inputs:{torrent:"torrent"},standalone:!0,features:[N],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-results",3,"dataSource","multiTemplateDataRows"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","path"],["matColumnDef","type"],["matColumnDef","size"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"],["mat-header-cell",""],["mat-cell",""],[1,"filesize",3,"matTooltip"],["mat-header-row",""],["mat-row",""],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"]],template:function(i,a){i&1&&C(0,Mn,21,10,"ng-container",0)},dependencies:[L,ie,oe,ae,pe,le,re,me,se,ce,_e,de,et,j,kt,Q,nt,ge],styles:["span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted}"]})}}return t})();var $n=(t,n)=>n.key,kn=(t,n)=>n.id,Pn=(t,n)=>n.metadataSource.key,An=t=>({count:t});function zn(t,n){if(t&1&&h(0,"img",3),t&2){let e=c().$implicit,i=c();g("ngSrc","https://image.tmdb.org/t/p/w300/"+n)("alt",e("torrents.poster"))("width",i.breakpoints.sizeAtLeast("Medium")?300:150)("height",i.breakpoints.sizeAtLeast("Medium")?450:225)}}function Bn(t,n){if(t&1&&(s(0,"h2")(1,"a",14),l(2),r()()),t&2){let e=c().$implicit,i=c();o(),g("routerLink","permalink/"+i.torrentContent.infoHash)("matTooltip",e("torrents.permalink")),o(),x(i.torrentContent.torrent.name)}}function Fn(t,n){if(t&1&&(s(0,"p",4)(1,"strong"),l(2),r(),l(3,"\xA0 "),s(4,"span",15),v(5,"filesize"),l(6),v(7,"filesize"),r()()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.size"),":"),o(2),g("matTooltip",Z(5,3,i.torrentContent.torrent.size,10)),o(2),x(w(7,6,i.torrentContent.torrent.size))}}function On(t,n){if(t&1&&(s(0,"p",5)(1,"strong"),l(2),r(),l(3),v(4,"timeAgo"),r()),t&2){let e=c().$implicit,i=c();o(2),x(e("torrents.published")),o(),m(" ",w(4,2,i.torrentContent.publishedAt)," ")}}function Dn(t,n){if(t&1&&(s(0,"p",6)(1,"strong"),l(2),r(),l(3),r()),t&2){let e,i=c().$implicit,a=c();o(2),m("",i("torrents.s_l"),":"),o(),yt(" ",(e=a.torrentContent.seeders)!==null&&e!==void 0?e:"?"," / ",(e=a.torrentContent.leechers)!==null&&e!==void 0?e:"?"," ")}}function Nn(t,n){if(t&1&&(s(0,"span"),l(1),r()),t&2){let e=n.$implicit,i=n.$index;o(),x((i>0?", ":"")+e.name)}}function Rn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3),r()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.title"),":"),o(),m(" ",i.torrentContent.content.title," ")}}function jn(t,n){if(t&1&&l(0),t&2){let e=n.$implicit,i=n.$index,a=c(3);m(" ",(i>0?", ":"")+e.name+(e.id===(a.torrentContent.content==null||a.torrentContent.content.originalLanguage==null?null:a.torrentContent.content.originalLanguage.id)?" (original)":"")," ")}}function Ln(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3,"\xA0 "),k(4,jn,1,1,null,null,kn),r()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.languages"),":"),o(2),P(i.torrentContent.languages)}}function Vn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3),r()),t&2){let e,i=c().$implicit,a=c();o(2),m("",i("torrents.original_release_date"),":"),o(),m(" ",(e=a.torrentContent.content==null?null:a.torrentContent.content.releaseDate)!==null&&e!==void 0?e:a.torrentContent.content==null?null:a.torrentContent.content.releaseYear," ")}}function Hn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3),r()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.episodes"),":"),o(),m(" ",i.torrentContent.episodes.label," ")}}function Gn(t,n){if(t&1&&(s(0,"p"),l(1),r()),t&2){let e=c(2);o(),m(" ",e.torrentContent.content.overview," ")}}function Yn(t,n){if(t&1&&(T(0),s(1,"p")(2,"strong"),l(3),r(),l(4),r(),b()),t&2){let e=c().$implicit;o(3),m("",e("torrents.genres"),":"),o(),m(" ",n.join(", ")," ")}}function Kn(t,n){if(t&1&&(T(0),l(1),v(2,"number"),b()),t&2){let e=c(2).$implicit,i=c();o(),m("(",e("torrents.votes_count_n",Mt(3,An,w(2,1,i.torrentContent.content==null?null:i.torrentContent.content.voteCount))),")")}}function qn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3),C(4,Kn,3,5,"ng-container"),r()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.rating"),":"),o(),m(" ",i.torrentContent.content==null?null:i.torrentContent.content.voteAverage," / 10 "),o(),d((i.torrentContent.content==null?null:i.torrentContent.content.voteCount)!=null?4:-1)}}function Un(t,n){if(t&1&&(l(0),s(1,"a",16),l(2),r()),t&2){let e=n.$implicit,i=n.$index;m(" ",i>0?", ":"",""),o(),g("href",e.url,It),o(),x(e.metadataSource.name)}}function Xn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3,"\xA0 "),k(4,Un,3,3,"a",16,Pn),r()),t&2){let e=c().$implicit;o(2),m("",e("torrents.external_links"),":"),o(2),P(n)}}function Jn(t,n){if(t&1&&(s(0,"span",17),l(1),r()),t&2){let e=c(2).$implicit;o(),x(e("torrents.files"))}}function Zn(t,n){t&1&&(s(0,"span",18),l(1),v(2,"number"),r()),t&2&&(o(),m("(",w(2,1,n),")"))}function Qn(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"file_present"),r(),C(2,Jn,2,1,"span",17)(3,Zn,3,3,"span",18)),t&2){let e,i=c(2);o(2),d(i.breakpoints.sizeAtLeast("Medium")?2:-1),o(),d((e=i.filesCount())?3:-1,e)}}function Wn(t,n){if(t&1&&(s(0,"p"),l(1),r()),t&2){let e=c(2).$implicit;o(),x(e("torrents.files_no_info"))}}function ti(t,n){if(t&1&&(s(0,"mat-card",19),C(1,Wn,2,1,"p"),h(2,"app-torrent-files-table",20),r()),t&2){let e=c(2);o(),d(e.torrentContent.torrent.filesStatus==="no_info"?1:-1),o(),g("torrent",e.torrentContent.torrent)}}function ei(t,n){if(t&1&&(s(0,"span",17),l(1),r()),t&2){let e=c(2).$implicit;o(),x(e("torrents.edit_tags"))}}function ni(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"sell"),r(),C(2,ei,2,1,"span",17)),t&2){let e=c(2);o(2),d(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ii(t,n){if(t&1){let e=B();s(0,"mat-chip-row",26),A("edited",function(a){let p=M(e).$implicit,_=c(3);return $(_.renameTag(p,a.value))})("removed",function(){let a=M(e).$implicit,p=c(3);return $(p.deleteTag(a))}),l(1),s(2,"mat-icon",27),l(3,"cancel"),r()()}if(t&2){let e=n.$implicit;g("editable",!0),o(),m(" ",e," ")}}function oi(t,n){if(t&1&&(s(0,"mat-option",25),l(1),r()),t&2){let e=n.$implicit;g("value",e),o(),x(e)}}function ri(t,n){if(t&1){let e=B();s(0,"mat-card")(1,"mat-form-field",21)(2,"mat-chip-grid",null,0),k(4,ii,4,2,"mat-chip-row",22,K),r(),s(6,"input",23),A("matChipInputTokenEnd",function(a){M(e);let p=c(2);return $(a.value&&p.addTag(a.value))}),r(),s(7,"mat-autocomplete",24,1),A("optionSelected",function(a){M(e);let p=c(2);return $(p.addTag(a.option.viewValue))}),k(9,oi,2,2,"mat-option",25,K),r()()()}if(t&2){let e=pt(3),i=pt(8),a=c().$implicit,p=c();o(4),P(p.torrentContent.torrent.tagNames),o(2),g("placeholder",a("torrents.new_tag"))("formControl",p.newTagCtrl)("matAutocomplete",i)("matChipInputFor",e)("matChipInputSeparatorKeyCodes",p.separatorKeysCodes)("value",p.newTagCtrl.value),o(3),P(p.suggestedTags)}}function ai(t,n){if(t&1&&(s(0,"span",17),l(1),r()),t&2){let e=c(2).$implicit;o(),x(e("torrents.delete"))}}function li(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"delete_forever"),r(),C(2,ai,2,1,"span",17)),t&2){let e=c(2);o(2),d(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function si(t,n){if(t&1){let e=B();s(0,"mat-card")(1,"mat-card-content",28)(2,"p")(3,"strong"),l(4),r(),h(5,"br"),l(6),r()(),s(7,"mat-card-actions",29)(8,"button",30),A("click",function(){M(e);let a=c(2);return $(a.delete())}),s(9,"mat-icon"),l(10,"delete_forever"),r(),l(11),r()()()}if(t&2){let e=c().$implicit;o(4),x(e("torrents.delete_are_you_sure")),o(2),m("",e("torrents.delete_action_cannot_be_undone")," "),o(5),m("",e("torrents.delete")," ")}}function ci(t,n){t&1&&(s(0,"mat-icon",31),l(1,"close"),r())}function pi(t,n){t&1&&(s(0,"mat-tab"),C(1,ci,2,0,"ng-template",12),r())}function mi(t,n){if(t&1){let e=B();T(0),C(1,zn,1,4,"img",3)(2,Bn,3,3,"h2")(3,Fn,8,8,"p",4)(4,On,5,4,"p",5)(5,Dn,4,3,"p",6),s(6,"p",7)(7,"strong"),l(8),r(),s(9,"span",8),l(10),r()(),s(11,"p")(12,"strong"),l(13),r(),l(14,"\xA0 "),k(15,Nn,2,1,"span",null,$n),r(),C(17,Rn,4,2,"p")(18,Ln,6,1,"p")(19,Vn,4,2,"p")(20,Hn,4,2,"p")(21,Gn,2,1,"p")(22,Yn,5,2,"ng-container")(23,qn,5,3,"p")(24,Xn,6,1,"p"),h(25,"mat-divider",9),s(26,"mat-tab-group",10),A("focusChange",function(a){M(e);let p=c();return $(p.selectTab(a.index==4?0:a.index))}),h(27,"mat-tab",11),s(28,"mat-tab"),C(29,Qn,4,2,"ng-template",12)(30,ti,3,2,"ng-template",13),r(),s(31,"mat-tab"),C(32,ni,3,1,"ng-template",12)(33,ri,11,6,"ng-template",13),r(),s(34,"mat-tab"),C(35,li,3,1,"ng-template",12)(36,si,12,3,"ng-template",13),r(),C(37,pi,2,0,"mat-tab"),r(),b()}if(t&2){let e,i,a,p=n.$implicit,_=c();o(),d((e=_.getAttribute("poster_path","tmdb"))?1:-1,e),o(),d(_.heading?2:-1),o(),d(_.size?3:-1),o(),d(_.published?4:-1),o(),d(_.peers?5:-1),o(3),m("",p("torrents.info_hash"),":"),o(),g("matTooltip",p("torrents.copy_to_clipboard"))("cdkCopyToClipboard",_.torrentContent.infoHash),o(),x(_.torrentContent.infoHash),o(3),m("",p("torrents.source"),":"),o(2),P(_.torrentContent.torrent.sources),o(2),d(_.torrentContent.content?17:-1),o(),d(_.torrentContent.languages!=null&&_.torrentContent.languages.length?18:-1),o(),d(_.torrentContent.content!=null&&_.torrentContent.content.releaseYear?19:-1),o(),d(_.torrentContent.episodes?20:-1),o(),d(_.torrentContent.content!=null&&_.torrentContent.content.overview?21:-1),o(),d((i=_.getCollections("genre"))?22:-1,i),o(),d((_.torrentContent.content==null?null:_.torrentContent.content.voteAverage)!=null?23:-1),o(),d((a=_.torrentContent.content==null?null:_.torrentContent.content.externalLinks)?24:-1,a),o(2),g("selectedIndex",_.selectedTabIndex)("mat-stretch-tabs",!1),o(11),d(_.selectedTabIndex>0?37:-1)}}var Eo=(()=>{class t{constructor(e,i){this.graphQLService=e,this.errorsService=i,this.breakpoints=y(he),this.heading=!0,this.size=!0,this.peers=!0,this.published=!0,this.updated=new wt,this.newTagCtrl=new Ft(""),this.editedTags=Array(),this.suggestedTags=Array(),this.selectedTabIndex=0,this.separatorKeysCodes=[13,188],this.transloco=y(R),this.newTagCtrl.valueChanges.subscribe(a=>(a&&(a=Me(a),this.newTagCtrl.setValue(a,{emitEvent:!1})),e.torrentSuggestTags({input:{prefix:a,exclusions:this.torrentContent.torrent.tagNames}}).pipe(J(p=>{this.suggestedTags.splice(0,this.suggestedTags.length,...p.suggestions.map(_=>_.name))})).subscribe()))}selectTab(e){this.selectedTabIndex=e}addTag(e){this.editTags(i=>[...i,e]),this.saveTags()}renameTag(e,i){this.editTags(a=>a.map(p=>p===e?i:p)),this.saveTags()}deleteTag(e){this.editTags(i=>i.filter(a=>a!==e)),this.saveTags()}editTags(e){this.editedTags=e(this.editedTags),this.newTagCtrl.reset()}saveTags(){this.graphQLService.torrentSetTags({infoHashes:[this.torrentContent.infoHash],tagNames:this.editedTags}).pipe(Y(e=>(this.errorsService.addError(`Error saving tags: ${e.message}`),G))).pipe(J(()=>{this.editedTags=[],this.updated.emit(null)})).subscribe()}delete(){this.graphQLService.torrentDelete({infoHashes:[this.torrentContent.infoHash]}).pipe(Y(e=>(this.errorsService.addError(`Error deleting torrent: ${e.message}`),G))).pipe(J(()=>{this.updated.emit(null)})).subscribe()}getAttribute(e,i){return this.torrentContent.content?.attributes?.find(a=>a.key===e&&(i===void 0||a.source===i))?.value}getCollections(e){let i=this.torrentContent.content?.collections?.filter(a=>a.type===e).map(a=>a.name);return i?.length?i.sort():void 0}filesCount(){return this.torrentContent.torrent.filesStatus==="single"?1:this.torrentContent.torrent.filesCount??void 0}static{this.\u0275fac=function(i){return new(i||t)(ct(Lt),ct(W))}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-content"]],inputs:{torrentContent:"torrentContent",heading:"heading",size:"size",peers:"peers",published:"published"},outputs:{updated:"updated"},standalone:!0,features:[N],decls:1,vars:0,consts:[["chipGrid",""],["auto","matAutocomplete"],[4,"transloco"],[1,"poster",3,"ngSrc","alt","width","height"],[1,"size"],[1,"published"],[1,"peers"],[1,"info-hash"],[3,"matTooltip","cdkCopyToClipboard"],[2,"clear","both"],["animationDuration","0",3,"focusChange","selectedIndex","mat-stretch-tabs"],["aria-labelledby","hidden"],["mat-tab-label",""],["matTabContent",""],[3,"routerLink","matTooltip"],[1,"filesize",3,"matTooltip"],["target","_blank",3,"href"],[1,"label"],[1,"files-count"],[1,"torrent-files"],[3,"torrent"],["subscriptSizing","dynamic",1,"form-edit-tags"],[3,"editable"],["autocapitalize","none",3,"matChipInputTokenEnd","placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","value"],[3,"optionSelected"],[3,"value"],[3,"edited","removed","editable"],["matChipRemove",""],[2,"margin-top","10px"],[1,"button-row"],["mat-stroked-button","","color","warn",3,"click"],[2,"margin-right","0"]],template:function(i,a){i&1&&C(0,mi,38,21,"ng-container",2)},dependencies:[L,Vt,Gt,Nt,Yt,Rt,Kt,Ut,qt,te,ee,Jt,Qt,ne,Ht,tt,ue,Ce,xe,fe,et,zt,Bt,Ot,At,j,Q,nt,Pt,Te,ke],styles:["h2[_ngcontent-%COMP%]{margin-top:10px;max-width:900px;white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word}.poster[_ngcontent-%COMP%]{float:right;margin:10px;border:1px solid currentColor}.info-hash[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word}.info-hash[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:5px;cursor:crosshair;text-decoration:underline;text-decoration-style:dotted}.torrent-files[_ngcontent-%COMP%]{padding-top:10px;max-height:800px;overflow:scroll}.torrent-files[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{margin-bottom:10px;width:800px}.torrent-files[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:20px;border-bottom:1px solid rgba(0,0,0,.12)}.torrent-files[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%]{background-color:#f5f5f5}.form-edit-tags[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper{display:none}.files-count[_ngcontent-%COMP%]{margin-left:4px}.mat-mdc-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:0}span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted} .mdc-tab[aria-labelledby=hidden]{display:none} .mdc-tab[role=tab]{padding-left:15px;padding-right:15px} .mdc-tab .label, .mdc-tab .files-count{margin-left:8px}"]})}}return t})();export{be as a,_i as b,di as c,nt as d,fi as e,Eo as f}; +import{a as ge,b as Te}from"./chunk-RD4V5RUF.js";import{a as W}from"./chunk-ZF4WX6G7.js";import{a as he}from"./chunk-3AJEMLV6.js";import{$ as te,Da as oe,Ea as re,F as jt,Fa as ae,Ga as le,Ha as se,I as Lt,Ia as ce,Ja as pe,K as Vt,Ka as me,La as _e,M as Ht,Ma as de,N as Gt,Na as ue,O as Yt,Oa as Ce,P as Kt,Pa as xe,Qa as fe,R as qt,T as Ut,Ua as L,W as Xt,X as Jt,Y as Zt,Z as Qt,_ as Wt,a as R,aa as ee,b as j,d as zt,e as Bt,f as Ft,g as Ot,i as Dt,ja as ne,n as Nt,o as Rt,qa as tt,va as ie,ya as et}from"./chunk-Z6GE3BUT.js";import{m as At}from"./chunk-ZBBMS7J5.js";import{$b as c,$c as kt,B as st,Cb as C,Ea as M,Fa as $,Hb as g,Mb as d,N as Y,Na as wt,Nb as K,Ob as k,Pb as P,Q as St,Qb as s,Rb as r,Sb as h,Tb as T,Ub as b,Wb as B,Zb as A,a as X,ad as Q,b as vt,ha as J,hb as It,id as Pt,jc as pt,kb as o,kc as l,l as E,lb as ct,lc as x,mc as m,nc as yt,o as G,pc as N,qa as y,rc as Mt,sc as $t,ua as D,uc as v,vc as w,wc as Z,xa as Et}from"./chunk-FJILXII2.js";var be={movie:{singular:"Movie",plural:"Movies",icon:"movie"},tv_show:{singular:"TV Show",plural:"TV Shows",icon:"live_tv"},music:{singular:"Music",plural:"Music",icon:"music_note"},ebook:{singular:"E-Book",plural:"E-Books",icon:"auto_stories"},comic:{singular:"Comic",plural:"Comics",icon:"comic_bubble"},audiobook:{singular:"Audiobook",plural:"Audiobooks",icon:"mic"},software:{singular:"Software",plural:"Software",icon:"desktop_windows"},game:{singular:"Game",plural:"Games",icon:"sports_esports"},xxx:{singular:"XXX",plural:"XXX",icon:"18_up_rating"},null:{singular:"Unknown",plural:"Unknown",icon:"question_mark"}},_i=Object.entries(be).map(([t,n])=>X({key:t},n)),di=t=>t?be[t]:void 0;var Ne=(t,n)=>n.id;function Re(t,n){if(t&1&&(s(0,"mat-chip",1)(1,"mat-icon",2),l(2,"sell"),r(),l(3),r()),t&2){let e=n.$implicit;o(3),m(" ",e," ")}}function je(t,n){if(t&1&&l(0),t&2){let e=n.$implicit,i=n.$index,a=c(),p=c().$implicit;m(" ",p("languages."+e.id)+(i{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-chips"]],inputs:{torrentContent:"torrentContent"},standalone:!0,features:[N],decls:1,vars:0,consts:[[4,"transloco"],[1,"chip-primary"],["matChipAvatar",""],["matChipAvatar","","svgIcon","binary"]],template:function(i,a){i&1&&C(0,qe,10,6,"ng-container",0)},dependencies:[L,Zt,Xt,Wt,tt,j],styles:["mat-chip-set[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;left:4px}"]})}}return t})();var Ue="array",Xe="bit",Se="bits",Je="byte",Ee="bytes",V="",Ze="exponent",Qe="function",we="iec",We="Invalid number",tn="Invalid rounding method",_t="jedec",en="object",Ie=".",nn="round",on="s",rn="si",an="kbit",ln="kB",sn=" ",cn="string",pn="0",dt={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function ye(t,{bits:n=!1,pad:e=!1,base:i=-1,round:a=2,locale:p=V,localeOptions:_={},separator:F=V,spacer:S=sn,symbols:Pe={},standard:I=V,output:at=cn,fullform:Ae=!1,fullforms:ut=[],exponent:Ct=-1,roundingMethod:ze=nn,precision:q=0}={}){let f=Ct,O=Number(t),u=[],z=0,lt=V;I===rn?(i=10,I=_t):I===we||I===_t?i=2:i===2?I=we:(i=10,I=_t);let U=i===10?1e3:1024,Be=Ae===!0,xt=O<0,ft=Math[ze];if(typeof t!="bigint"&&isNaN(t))throw new TypeError(We);if(typeof ft!==Qe)throw new TypeError(tn);if(xt&&(O=-O),(f===-1||isNaN(f))&&(f=Math.floor(Math.log(O)/Math.log(U)),f<0&&(f=0)),f>8&&(q>0&&(q+=8-f),f=8),at===Ze)return f;if(O===0)u[0]=0,lt=u[1]=dt.symbol[I][n?Se:Ee][f];else{z=O/(i===2?Math.pow(2,f*10):Math.pow(1e3,f)),n&&(z=z*8,z>=U&&f<8&&(z=z/U,f++));let H=Math.pow(10,f>0?a:0);u[0]=ft(z*H)/H,u[0]===U&&f<8&&Ct===-1&&(u[0]=1,f++),lt=u[1]=i===10&&f===1?n?an:ln:dt.symbol[I][n?Se:Ee][f]}if(xt&&(u[0]=-u[0]),q>0&&(u[0]=u[0].toPrecision(q)),u[1]=Pe[u[1]]||u[1],p===!0?u[0]=u[0].toLocaleString():p.length>0?u[0]=u[0].toLocaleString(p,_):F.length>0&&(u[0]=u[0].toString().replace(Ie,F)),e&&a>0){let H=u[0].toString(),gt=F||(H.match(/(\D)/g)||[]).pop()||Ie,ht=H.toString().split(gt),Tt=ht[1]||V,bt=Tt.length,Fe=a-bt;u[0]=`${ht[0]}${gt}${Tt.padEnd(bt+Fe,pn)}`}return Be&&(u[1]=ut[f]?ut[f]:dt.fullform[I][f]+(n?Xe:Je)+(u[0]===1?V:on)),at===Ue?u:at===en?{value:u[0],symbol:u[1],exponent:f,unit:lt}:u.join(S)}var nt=(()=>{class t{constructor(){this.transloco=y(R)}transform(e,i=2){return ye(e,{locale:this.transloco.getActiveLang(),base:i})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Et({name:"filesize",type:t,pure:!1,standalone:!0})}}return t})();var mn=t=>t.toLowerCase().replaceAll(/[^a-z0-9\-]/g,"-").replace(/^-+/,"").replaceAll(/-+/g,"-"),Me=mn;var _n={items:[],hasNextPage:!1,totalCount:0,aggregations:{queue:[],status:[]}},it=class{constructor(n,e,i){this.apollo=n,this.errorsService=e,this.currentRequest=new E(0),this.loadingSubject=new E(!1),this.loading$=this.loadingSubject.asObservable(),this.result=_n,this.resultSubject=new E(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(st(a=>a.items)),i.subscribe(a=>{this.loadResult(a)}),this.resultSubject.subscribe(a=>{this.result=a})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:jt,variables:n,fetchPolicy:"no-cache"}).pipe(st(a=>a.data.torrent.files)).pipe(Y(a=>(this.errorsService.addError(`Error loading item results: ${a.message}`),G)));this.currentSubscription=i.subscribe(a=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(a))})}},ot=class{constructor(n){this.torrent=n,this.loading$=new E(!1).asObservable(),this.file={infoHash:n.infoHash,index:0,path:n.name,size:n.size,fileType:n.fileType,extension:n.extension,createdAt:n.createdAt,updatedAt:n.updatedAt},this.result={hasNextPage:!1,items:[this.file],totalCount:1},this.result$=new E(this.result).asObservable(),this.items$=new E([this.file]).asObservable()}connect({}){return this.items$}disconnect(){}};var rt=class{constructor(n){let e={infoHash:n,limit:10,page:1};this.controlsSubject=new E(e),this.controls$=this.controlsSubject.asObservable(),this.controls$.pipe(St(100)).subscribe(i=>{let a=this.variablesSubject.getValue(),p=$e(i);JSON.stringify(a)!==JSON.stringify(p)&&this.variablesSubject.next(p)}),this.variablesSubject=new E($e(e)),this.variables$=this.variablesSubject.asObservable()}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}handlePageEvent(n){this.update(e=>vt(X({},e),{limit:n.pageSize,page:n.page}))}},$e=t=>({input:{infoHashes:[t.infoHash],limit:t.limit,page:t.page,totalCount:!0,hasNextPage:!1}});var Cn=(t,n)=>({x:t,y:n});function xn(t,n){if(t&1&&(s(0,"p"),l(1),v(2,"number"),v(3,"number"),r()),t&2){let e=c().$implicit,i=c();o(),m(" ",e("torrents.showing_x_of_y_files",$t(5,Cn,w(2,1,i.dataSource.result.totalCount),i.torrent.filesCount==null?"?":w(3,3,i.torrent.filesCount)))," ")}}function fn(t,n){if(t&1&&(s(0,"th",13),l(1),r()),t&2){let e=c().$implicit;o(),x(e("torrents.file_index"))}}function gn(t,n){if(t&1&&(s(0,"td",14),l(1),r()),t&2){let e=n.$implicit,i=c(2);o(),m(" ",i.item(e).index," ")}}function hn(t,n){if(t&1&&(s(0,"th",13),l(1),r()),t&2){let e=c().$implicit;o(),x(e("torrents.file_path"))}}function Tn(t,n){if(t&1&&(s(0,"td",14),l(1),r()),t&2){let e=n.$implicit,i=c(2);o(),m(" ",i.item(e).path," ")}}function bn(t,n){if(t&1&&(s(0,"th",13),l(1),r()),t&2){let e=c().$implicit;o(),x(e("torrents.file_type"))}}function vn(t,n){if(t&1&&(s(0,"td",14),l(1),r()),t&2){let e,i=n.$implicit,a=c().$implicit,p=c();o(),m(" ",a("file_types."+((e=p.item(i).fileType)!==null&&e!==void 0?e:"unknown"))," ")}}function Sn(t,n){if(t&1&&(s(0,"th",13),l(1),r()),t&2){let e=c().$implicit;o(),x(e("torrents.file_size"))}}function En(t,n){if(t&1&&(s(0,"td",14)(1,"span",15),v(2,"filesize"),l(3),v(4,"filesize"),r()()),t&2){let e=n.$implicit,i=c(2);o(),g("matTooltip",Z(2,2,i.item(e).size,10)),o(2),x(w(4,5,i.item(e).size))}}function wn(t,n){t&1&&h(0,"tr",16)}function In(t,n){t&1&&h(0,"tr",17)}function yn(t,n){if(t&1){let e=B();s(0,"app-paginator",18),A("paging",function(a){M(e);let p=c(2);return $(p.controller.handlePageEvent(a))}),r()}if(t&2){let e=c(2);g("page",e.controls.page)("pageSize",e.controls.limit)("pageLength",e.dataSource.result.items.length)("totalLength",e.dataSource.result.totalCount)("totalIsEstimate",!1)("showLastPage",!0)}}function Mn(t,n){if(t&1&&(T(0),s(1,"div",1),h(2,"mat-progress-bar",2),v(3,"async"),r(),C(4,xn,4,8,"p"),s(5,"table",3),T(6,4),C(7,fn,2,1,"th",5)(8,gn,2,1,"td",6),b(),T(9,7),C(10,hn,2,1,"th",5)(11,Tn,2,1,"td",6),b(),T(12,8),C(13,bn,2,1,"th",5)(14,vn,2,1,"td",6),b(),T(15,9),C(16,Sn,2,1,"th",5)(17,En,5,7,"td",6),b(),C(18,wn,1,0,"tr",10)(19,In,1,0,"tr",11),r(),C(20,yn,1,6,"app-paginator",12),b()),t&2){let e=c();o(2),g("mode",w(3,8,e.dataSource.loading$)?"indeterminate":"determinate")("value",0),o(2),d(e.torrent.filesStatus==="over_threshold"?4:-1),o(),g("dataSource",e.dataSource)("multiTemplateDataRows",!0),o(13),g("matHeaderRowDef",e.displayedColumns),o(),g("matRowDefColumns",e.displayedColumns),o(),d(e.dataSource.result.totalCount>10?20:-1)}}var ke=(()=>{class t{constructor(){this.apollo=y(Dt),this.errorsService=y(W),this.transloco=y(R),this.displayedColumns=["index","path","type","size"]}ngOnInit(){this.controller=new rt(this.torrent.infoHash),this.dataSource=this.torrent.filesStatus==="single"?new ot(this.torrent):new it(this.apollo,this.errorsService,this.controller.variables$),this.controller.controls$.subscribe(e=>{this.controls=e})}item(e){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-files-table"]],inputs:{torrent:"torrent"},standalone:!0,features:[N],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-results",3,"dataSource","multiTemplateDataRows"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","path"],["matColumnDef","type"],["matColumnDef","size"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"],["mat-header-cell",""],["mat-cell",""],[1,"filesize",3,"matTooltip"],["mat-header-row",""],["mat-row",""],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"]],template:function(i,a){i&1&&C(0,Mn,21,10,"ng-container",0)},dependencies:[L,ie,oe,ae,pe,le,re,me,se,ce,_e,de,et,j,kt,Q,nt,ge],styles:["span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted}"]})}}return t})();var $n=(t,n)=>n.key,kn=(t,n)=>n.id,Pn=(t,n)=>n.metadataSource.key,An=t=>({count:t});function zn(t,n){if(t&1&&h(0,"img",3),t&2){let e=c().$implicit,i=c();g("ngSrc","https://image.tmdb.org/t/p/w300/"+n)("alt",e("torrents.poster"))("width",i.breakpoints.sizeAtLeast("Medium")?300:150)("height",i.breakpoints.sizeAtLeast("Medium")?450:225)}}function Bn(t,n){if(t&1&&(s(0,"h2")(1,"a",14),l(2),r()()),t&2){let e=c().$implicit,i=c();o(),g("routerLink","permalink/"+i.torrentContent.infoHash)("matTooltip",e("torrents.permalink")),o(),x(i.torrentContent.torrent.name)}}function Fn(t,n){if(t&1&&(s(0,"p",4)(1,"strong"),l(2),r(),l(3,"\xA0 "),s(4,"span",15),v(5,"filesize"),l(6),v(7,"filesize"),r()()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.size"),":"),o(2),g("matTooltip",Z(5,3,i.torrentContent.torrent.size,10)),o(2),x(w(7,6,i.torrentContent.torrent.size))}}function On(t,n){if(t&1&&(s(0,"p",5)(1,"strong"),l(2),r(),l(3),v(4,"timeAgo"),r()),t&2){let e=c().$implicit,i=c();o(2),x(e("torrents.published")),o(),m(" ",w(4,2,i.torrentContent.publishedAt)," ")}}function Dn(t,n){if(t&1&&(s(0,"p",6)(1,"strong"),l(2),r(),l(3),r()),t&2){let e,i=c().$implicit,a=c();o(2),m("",i("torrents.s_l"),":"),o(),yt(" ",(e=a.torrentContent.seeders)!==null&&e!==void 0?e:"?"," / ",(e=a.torrentContent.leechers)!==null&&e!==void 0?e:"?"," ")}}function Nn(t,n){if(t&1&&(s(0,"span"),l(1),r()),t&2){let e=n.$implicit,i=n.$index;o(),x((i>0?", ":"")+e.name)}}function Rn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3),r()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.title"),":"),o(),m(" ",i.torrentContent.content.title," ")}}function jn(t,n){if(t&1&&l(0),t&2){let e=n.$implicit,i=n.$index,a=c(3);m(" ",(i>0?", ":"")+e.name+(e.id===(a.torrentContent.content==null||a.torrentContent.content.originalLanguage==null?null:a.torrentContent.content.originalLanguage.id)?" (original)":"")," ")}}function Ln(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3,"\xA0 "),k(4,jn,1,1,null,null,kn),r()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.languages"),":"),o(2),P(i.torrentContent.languages)}}function Vn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3),r()),t&2){let e,i=c().$implicit,a=c();o(2),m("",i("torrents.original_release_date"),":"),o(),m(" ",(e=a.torrentContent.content==null?null:a.torrentContent.content.releaseDate)!==null&&e!==void 0?e:a.torrentContent.content==null?null:a.torrentContent.content.releaseYear," ")}}function Hn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3),r()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.episodes"),":"),o(),m(" ",i.torrentContent.episodes.label," ")}}function Gn(t,n){if(t&1&&(s(0,"p"),l(1),r()),t&2){let e=c(2);o(),m(" ",e.torrentContent.content.overview," ")}}function Yn(t,n){if(t&1&&(T(0),s(1,"p")(2,"strong"),l(3),r(),l(4),r(),b()),t&2){let e=c().$implicit;o(3),m("",e("torrents.genres"),":"),o(),m(" ",n.join(", ")," ")}}function Kn(t,n){if(t&1&&(T(0),l(1),v(2,"number"),b()),t&2){let e=c(2).$implicit,i=c();o(),m("(",e("torrents.votes_count_n",Mt(3,An,w(2,1,i.torrentContent.content==null?null:i.torrentContent.content.voteCount))),")")}}function qn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3),C(4,Kn,3,5,"ng-container"),r()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.rating"),":"),o(),m(" ",i.torrentContent.content==null?null:i.torrentContent.content.voteAverage," / 10 "),o(),d((i.torrentContent.content==null?null:i.torrentContent.content.voteCount)!=null?4:-1)}}function Un(t,n){if(t&1&&(l(0),s(1,"a",16),l(2),r()),t&2){let e=n.$implicit,i=n.$index;m(" ",i>0?", ":"",""),o(),g("href",e.url,It),o(),x(e.metadataSource.name)}}function Xn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3,"\xA0 "),k(4,Un,3,3,"a",16,Pn),r()),t&2){let e=c().$implicit;o(2),m("",e("torrents.external_links"),":"),o(2),P(n)}}function Jn(t,n){if(t&1&&(s(0,"span",17),l(1),r()),t&2){let e=c(2).$implicit;o(),x(e("torrents.files"))}}function Zn(t,n){t&1&&(s(0,"span",18),l(1),v(2,"number"),r()),t&2&&(o(),m("(",w(2,1,n),")"))}function Qn(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"file_present"),r(),C(2,Jn,2,1,"span",17)(3,Zn,3,3,"span",18)),t&2){let e,i=c(2);o(2),d(i.breakpoints.sizeAtLeast("Medium")?2:-1),o(),d((e=i.filesCount())?3:-1,e)}}function Wn(t,n){if(t&1&&(s(0,"p"),l(1),r()),t&2){let e=c(2).$implicit;o(),x(e("torrents.files_no_info"))}}function ti(t,n){if(t&1&&(s(0,"mat-card",19),C(1,Wn,2,1,"p"),h(2,"app-torrent-files-table",20),r()),t&2){let e=c(2);o(),d(e.torrentContent.torrent.filesStatus==="no_info"?1:-1),o(),g("torrent",e.torrentContent.torrent)}}function ei(t,n){if(t&1&&(s(0,"span",17),l(1),r()),t&2){let e=c(2).$implicit;o(),x(e("torrents.edit_tags"))}}function ni(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"sell"),r(),C(2,ei,2,1,"span",17)),t&2){let e=c(2);o(2),d(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ii(t,n){if(t&1){let e=B();s(0,"mat-chip-row",26),A("edited",function(a){let p=M(e).$implicit,_=c(3);return $(_.renameTag(p,a.value))})("removed",function(){let a=M(e).$implicit,p=c(3);return $(p.deleteTag(a))}),l(1),s(2,"mat-icon",27),l(3,"cancel"),r()()}if(t&2){let e=n.$implicit;g("editable",!0),o(),m(" ",e," ")}}function oi(t,n){if(t&1&&(s(0,"mat-option",25),l(1),r()),t&2){let e=n.$implicit;g("value",e),o(),x(e)}}function ri(t,n){if(t&1){let e=B();s(0,"mat-card")(1,"mat-form-field",21)(2,"mat-chip-grid",null,0),k(4,ii,4,2,"mat-chip-row",22,K),r(),s(6,"input",23),A("matChipInputTokenEnd",function(a){M(e);let p=c(2);return $(a.value&&p.addTag(a.value))}),r(),s(7,"mat-autocomplete",24,1),A("optionSelected",function(a){M(e);let p=c(2);return $(p.addTag(a.option.viewValue))}),k(9,oi,2,2,"mat-option",25,K),r()()()}if(t&2){let e=pt(3),i=pt(8),a=c().$implicit,p=c();o(4),P(p.torrentContent.torrent.tagNames),o(2),g("placeholder",a("torrents.new_tag"))("formControl",p.newTagCtrl)("matAutocomplete",i)("matChipInputFor",e)("matChipInputSeparatorKeyCodes",p.separatorKeysCodes)("value",p.newTagCtrl.value),o(3),P(p.suggestedTags)}}function ai(t,n){if(t&1&&(s(0,"span",17),l(1),r()),t&2){let e=c(2).$implicit;o(),x(e("torrents.delete"))}}function li(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"delete_forever"),r(),C(2,ai,2,1,"span",17)),t&2){let e=c(2);o(2),d(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function si(t,n){if(t&1){let e=B();s(0,"mat-card")(1,"mat-card-content",28)(2,"p")(3,"strong"),l(4),r(),h(5,"br"),l(6),r()(),s(7,"mat-card-actions",29)(8,"button",30),A("click",function(){M(e);let a=c(2);return $(a.delete())}),s(9,"mat-icon"),l(10,"delete_forever"),r(),l(11),r()()()}if(t&2){let e=c().$implicit;o(4),x(e("torrents.delete_are_you_sure")),o(2),m("",e("torrents.delete_action_cannot_be_undone")," "),o(5),m("",e("torrents.delete")," ")}}function ci(t,n){t&1&&(s(0,"mat-icon",31),l(1,"close"),r())}function pi(t,n){t&1&&(s(0,"mat-tab"),C(1,ci,2,0,"ng-template",12),r())}function mi(t,n){if(t&1){let e=B();T(0),C(1,zn,1,4,"img",3)(2,Bn,3,3,"h2")(3,Fn,8,8,"p",4)(4,On,5,4,"p",5)(5,Dn,4,3,"p",6),s(6,"p",7)(7,"strong"),l(8),r(),s(9,"span",8),l(10),r()(),s(11,"p")(12,"strong"),l(13),r(),l(14,"\xA0 "),k(15,Nn,2,1,"span",null,$n),r(),C(17,Rn,4,2,"p")(18,Ln,6,1,"p")(19,Vn,4,2,"p")(20,Hn,4,2,"p")(21,Gn,2,1,"p")(22,Yn,5,2,"ng-container")(23,qn,5,3,"p")(24,Xn,6,1,"p"),h(25,"mat-divider",9),s(26,"mat-tab-group",10),A("focusChange",function(a){M(e);let p=c();return $(p.selectTab(a.index==4?0:a.index))}),h(27,"mat-tab",11),s(28,"mat-tab"),C(29,Qn,4,2,"ng-template",12)(30,ti,3,2,"ng-template",13),r(),s(31,"mat-tab"),C(32,ni,3,1,"ng-template",12)(33,ri,11,6,"ng-template",13),r(),s(34,"mat-tab"),C(35,li,3,1,"ng-template",12)(36,si,12,3,"ng-template",13),r(),C(37,pi,2,0,"mat-tab"),r(),b()}if(t&2){let e,i,a,p=n.$implicit,_=c();o(),d((e=_.getAttribute("poster_path","tmdb"))?1:-1,e),o(),d(_.heading?2:-1),o(),d(_.size?3:-1),o(),d(_.published?4:-1),o(),d(_.peers?5:-1),o(3),m("",p("torrents.info_hash"),":"),o(),g("matTooltip",p("torrents.copy_to_clipboard"))("cdkCopyToClipboard",_.torrentContent.infoHash),o(),x(_.torrentContent.infoHash),o(3),m("",p("torrents.source"),":"),o(2),P(_.torrentContent.torrent.sources),o(2),d(_.torrentContent.content?17:-1),o(),d(_.torrentContent.languages!=null&&_.torrentContent.languages.length?18:-1),o(),d(_.torrentContent.content!=null&&_.torrentContent.content.releaseYear?19:-1),o(),d(_.torrentContent.episodes?20:-1),o(),d(_.torrentContent.content!=null&&_.torrentContent.content.overview?21:-1),o(),d((i=_.getCollections("genre"))?22:-1,i),o(),d((_.torrentContent.content==null?null:_.torrentContent.content.voteAverage)!=null?23:-1),o(),d((a=_.torrentContent.content==null?null:_.torrentContent.content.externalLinks)?24:-1,a),o(2),g("selectedIndex",_.selectedTabIndex)("mat-stretch-tabs",!1),o(11),d(_.selectedTabIndex>0?37:-1)}}var Eo=(()=>{class t{constructor(e,i){this.graphQLService=e,this.errorsService=i,this.breakpoints=y(he),this.heading=!0,this.size=!0,this.peers=!0,this.published=!0,this.updated=new wt,this.newTagCtrl=new Ft(""),this.editedTags=Array(),this.suggestedTags=Array(),this.selectedTabIndex=0,this.separatorKeysCodes=[13,188],this.transloco=y(R),this.newTagCtrl.valueChanges.subscribe(a=>(a&&(a=Me(a),this.newTagCtrl.setValue(a,{emitEvent:!1})),e.torrentSuggestTags({input:{prefix:a,exclusions:this.torrentContent.torrent.tagNames}}).pipe(J(p=>{this.suggestedTags.splice(0,this.suggestedTags.length,...p.suggestions.map(_=>_.name))})).subscribe()))}selectTab(e){this.selectedTabIndex=e}addTag(e){this.editTags(i=>[...i,e]),this.saveTags()}renameTag(e,i){this.editTags(a=>a.map(p=>p===e?i:p)),this.saveTags()}deleteTag(e){this.editTags(i=>i.filter(a=>a!==e)),this.saveTags()}editTags(e){this.editedTags=e(this.editedTags),this.newTagCtrl.reset()}saveTags(){this.graphQLService.torrentSetTags({infoHashes:[this.torrentContent.infoHash],tagNames:this.editedTags}).pipe(Y(e=>(this.errorsService.addError(`Error saving tags: ${e.message}`),G))).pipe(J(()=>{this.editedTags=[],this.updated.emit(null)})).subscribe()}delete(){this.graphQLService.torrentDelete({infoHashes:[this.torrentContent.infoHash]}).pipe(Y(e=>(this.errorsService.addError(`Error deleting torrent: ${e.message}`),G))).pipe(J(()=>{this.updated.emit(null)})).subscribe()}getAttribute(e,i){return this.torrentContent.content?.attributes?.find(a=>a.key===e&&(i===void 0||a.source===i))?.value}getCollections(e){let i=this.torrentContent.content?.collections?.filter(a=>a.type===e).map(a=>a.name);return i?.length?i.sort():void 0}filesCount(){return this.torrentContent.torrent.filesStatus==="single"?1:this.torrentContent.torrent.filesCount??void 0}static{this.\u0275fac=function(i){return new(i||t)(ct(Lt),ct(W))}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-content"]],inputs:{torrentContent:"torrentContent",heading:"heading",size:"size",peers:"peers",published:"published"},outputs:{updated:"updated"},standalone:!0,features:[N],decls:1,vars:0,consts:[["chipGrid",""],["auto","matAutocomplete"],[4,"transloco"],[1,"poster",3,"ngSrc","alt","width","height"],[1,"size"],[1,"published"],[1,"peers"],[1,"info-hash"],[3,"matTooltip","cdkCopyToClipboard"],[2,"clear","both"],["animationDuration","0",3,"focusChange","selectedIndex","mat-stretch-tabs"],["aria-labelledby","hidden"],["mat-tab-label",""],["matTabContent",""],[3,"routerLink","matTooltip"],[1,"filesize",3,"matTooltip"],["target","_blank",3,"href"],[1,"label"],[1,"files-count"],[1,"torrent-files"],[3,"torrent"],["subscriptSizing","dynamic",1,"form-edit-tags"],[3,"editable"],["autocapitalize","none",3,"matChipInputTokenEnd","placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","value"],[3,"optionSelected"],[3,"value"],[3,"edited","removed","editable"],["matChipRemove",""],[2,"margin-top","10px"],[1,"button-row"],["mat-stroked-button","","color","warn",3,"click"],[2,"margin-right","0"]],template:function(i,a){i&1&&C(0,mi,38,21,"ng-container",2)},dependencies:[L,Vt,Gt,Nt,Yt,Rt,Kt,Ut,qt,te,ee,Jt,Qt,ne,Ht,tt,ue,Ce,xe,fe,et,zt,Bt,Ot,At,j,Q,nt,Pt,Te,ke],styles:["h2[_ngcontent-%COMP%]{margin-top:10px;max-width:900px;white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word}.poster[_ngcontent-%COMP%]{float:right;margin:10px;border:1px solid currentColor}.info-hash[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word}.info-hash[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:5px;cursor:crosshair;text-decoration:underline;text-decoration-style:dotted}.torrent-files[_ngcontent-%COMP%]{padding-top:10px;max-height:800px;overflow:scroll}.torrent-files[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{margin-bottom:10px;width:800px}.torrent-files[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:20px;border-bottom:1px solid rgba(0,0,0,.12)}.torrent-files[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%]{background-color:#f5f5f5}.form-edit-tags[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper{display:none}.files-count[_ngcontent-%COMP%]{margin-left:4px}.mat-mdc-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:0}span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted} .mdc-tab[aria-labelledby=hidden]{display:none} .mdc-tab[role=tab]{padding-left:15px;padding-right:15px} .mdc-tab .label, .mdc-tab .files-count{margin-left:8px}"]})}}return t})();export{be as a,_i as b,di as c,nt as d,fi as e,Eo as f}; diff --git a/webui/dist/bitmagnet/browser/chunk-AVA4BMHN.js b/webui/dist/bitmagnet/browser/chunk-N3JJ3NXQ.js similarity index 92% rename from webui/dist/bitmagnet/browser/chunk-AVA4BMHN.js rename to webui/dist/bitmagnet/browser/chunk-N3JJ3NXQ.js index 0a992132..c49ab60b 100644 --- a/webui/dist/bitmagnet/browser/chunk-AVA4BMHN.js +++ b/webui/dist/bitmagnet/browser/chunk-N3JJ3NXQ.js @@ -1 +1 @@ -import{c as R,e as U,f as $}from"./chunk-EF5HJP6V.js";import"./chunk-3RUUGSNJ.js";import"./chunk-JIO2QO4M.js";import"./chunk-33KK2FKQ.js";import"./chunk-TC5EWLZ6.js";import{E as O,J as I,P as S,Q as w,R as E,S as A,U as F,Ua as L,V as z,b as P,i as b,qa as D,va as H,ya as q}from"./chunk-HB55W55I.js";import"./chunk-6XXA7HXI.js";import{j as k,l as y}from"./chunk-ZBBMS7J5.js";import{$b as s,Cb as d,Hb as c,Mb as _,Qb as i,Rb as a,Sb as m,Tb as x,Ub as M,cc as v,hb as h,kb as r,kc as f,lc as C,pc as T,qa as l,ua as g}from"./chunk-FJILXII2.js";function j(e,u){e&1&&m(0,"mat-progress-bar",1)}function B(e,u){if(e&1&&(i(0,"mat-card",2)(1,"mat-card-header")(2,"mat-icon",3),f(3),a(),i(4,"mat-card-title")(5,"h2"),f(6),a(),i(7,"a",4),m(8,"mat-icon",5),a()(),i(9,"mat-card-subtitle"),m(10,"app-torrent-chips",6),a()(),i(11,"mat-card-content"),m(12,"app-torrent-content",7),a()()),e&2){let o,t,p=s().$implicit,n=s();r(2),c("matTooltip",p("content_types.singular."+((o=n.torrentContent.contentType)!==null&&o!==void 0?o:"null"))),r(),C((t=(t=n.contentTypeInfo(n.torrentContent.contentType))==null?null:t.icon)!==null&&t!==void 0?t:"question_mark"),r(3),C(n.torrentContent.torrent.name),r(),v("href",n.torrentContent.torrent.magnetUri,h),r(3),c("torrentContent",n.torrentContent),r(2),c("torrentContent",n.torrentContent)("heading",!1)}}function G(e,u){if(e&1&&(x(0),d(1,j,1,0,"mat-progress-bar",1)(2,B,13,7,"mat-card",2),M()),e&2){let o=s();r(),_(o.loading?1:2)}}var mt=(()=>{class e{constructor(){this.route=l(k),this.router=l(y),this.apollo=l(b),this.loading=!0,this.contentTypeInfo=R}ngOnInit(){this.loading=!0,this.route.paramMap.subscribe(o=>{let t=o.get("infoHash");if(typeof t!="string"||!/^[0-9a-f]{40}$/.test(t))return this.notFound();this.apollo.query({query:O,variables:{input:{infoHashes:[t]}},fetchPolicy:"no-cache"}).subscribe(p=>{let n=p.data.torrentContent.search.items;if(n.length===0)return this.notFound();this.torrentContent=n[0],this.loading=!1})})}notFound(){this.router.navigate(["/not-found"],{skipLocationChange:!0})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=g({type:e,selectors:[["app-torrent-permalink"]],standalone:!0,features:[T],decls:1,vars:0,consts:[[4,"transloco"],["mode","indeterminate"],[1,"torrent-permalink"],["matCardAvatar","",3,"matTooltip"],[1,"magnet-link",3,"href"],["svgIcon","magnet"],[3,"torrentContent"],[3,"torrentContent","heading"]],template:function(t,p){t&1&&d(0,G,3,1,"ng-container",0)},dependencies:[L,S,z,E,F,A,w,D,H,q,P,I,$,U],styles:[".torrent-permalink[_ngcontent-%COMP%]{max-width:900px;margin:20px auto}.torrent-permalink[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:24px;word-break:break-word;overflow-wrap:break-word;padding-right:80px}.torrent-permalink[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] .magnet-link[_ngcontent-%COMP%]{position:absolute;right:20px;top:20px}.torrent-permalink[_ngcontent-%COMP%] .mat-mdc-card-avatar[_ngcontent-%COMP%]{font-size:44px;margin-top:-10px;border-radius:0;overflow:visible}.torrent-permalink[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{margin:16px 0 14px -56px;font-size:6px}"]})}}return e})();export{mt as TorrentPermalinkComponent}; +import{c as R,e as U,f as $}from"./chunk-JS3YJKHP.js";import"./chunk-RD4V5RUF.js";import"./chunk-2DNC66PX.js";import"./chunk-ZF4WX6G7.js";import"./chunk-3AJEMLV6.js";import{E as O,J as I,P as S,Q as w,R as E,S as A,U as F,Ua as L,V as z,b as P,i as b,qa as D,va as H,ya as q}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import{j as k,l as y}from"./chunk-ZBBMS7J5.js";import{$b as s,Cb as d,Hb as c,Mb as _,Qb as i,Rb as a,Sb as m,Tb as x,Ub as M,cc as v,hb as h,kb as r,kc as f,lc as C,pc as T,qa as l,ua as g}from"./chunk-FJILXII2.js";function j(e,u){e&1&&m(0,"mat-progress-bar",1)}function B(e,u){if(e&1&&(i(0,"mat-card",2)(1,"mat-card-header")(2,"mat-icon",3),f(3),a(),i(4,"mat-card-title")(5,"h2"),f(6),a(),i(7,"a",4),m(8,"mat-icon",5),a()(),i(9,"mat-card-subtitle"),m(10,"app-torrent-chips",6),a()(),i(11,"mat-card-content"),m(12,"app-torrent-content",7),a()()),e&2){let o,t,p=s().$implicit,n=s();r(2),c("matTooltip",p("content_types.singular."+((o=n.torrentContent.contentType)!==null&&o!==void 0?o:"null"))),r(),C((t=(t=n.contentTypeInfo(n.torrentContent.contentType))==null?null:t.icon)!==null&&t!==void 0?t:"question_mark"),r(3),C(n.torrentContent.torrent.name),r(),v("href",n.torrentContent.torrent.magnetUri,h),r(3),c("torrentContent",n.torrentContent),r(2),c("torrentContent",n.torrentContent)("heading",!1)}}function G(e,u){if(e&1&&(x(0),d(1,j,1,0,"mat-progress-bar",1)(2,B,13,7,"mat-card",2),M()),e&2){let o=s();r(),_(o.loading?1:2)}}var mt=(()=>{class e{constructor(){this.route=l(k),this.router=l(y),this.apollo=l(b),this.loading=!0,this.contentTypeInfo=R}ngOnInit(){this.loading=!0,this.route.paramMap.subscribe(o=>{let t=o.get("infoHash");if(typeof t!="string"||!/^[0-9a-f]{40}$/.test(t))return this.notFound();this.apollo.query({query:O,variables:{input:{infoHashes:[t]}},fetchPolicy:"no-cache"}).subscribe(p=>{let n=p.data.torrentContent.search.items;if(n.length===0)return this.notFound();this.torrentContent=n[0],this.loading=!1})})}notFound(){this.router.navigate(["/not-found"],{skipLocationChange:!0})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=g({type:e,selectors:[["app-torrent-permalink"]],standalone:!0,features:[T],decls:1,vars:0,consts:[[4,"transloco"],["mode","indeterminate"],[1,"torrent-permalink"],["matCardAvatar","",3,"matTooltip"],[1,"magnet-link",3,"href"],["svgIcon","magnet"],[3,"torrentContent"],[3,"torrentContent","heading"]],template:function(t,p){t&1&&d(0,G,3,1,"ng-container",0)},dependencies:[L,S,z,E,F,A,w,D,H,q,P,I,$,U],styles:[".torrent-permalink[_ngcontent-%COMP%]{max-width:900px;margin:20px auto}.torrent-permalink[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:24px;word-break:break-word;overflow-wrap:break-word;padding-right:80px}.torrent-permalink[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] .magnet-link[_ngcontent-%COMP%]{position:absolute;right:20px;top:20px}.torrent-permalink[_ngcontent-%COMP%] .mat-mdc-card-avatar[_ngcontent-%COMP%]{font-size:44px;margin-top:-10px;border-radius:0;overflow:visible}.torrent-permalink[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{margin:16px 0 14px -56px;font-size:6px}"]})}}return e})();export{mt as TorrentPermalinkComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-QXTOPNJN.js b/webui/dist/bitmagnet/browser/chunk-NEBTMJTJ.js similarity index 98% rename from webui/dist/bitmagnet/browser/chunk-QXTOPNJN.js rename to webui/dist/bitmagnet/browser/chunk-NEBTMJTJ.js index 380b7c51..39f2c81d 100644 --- a/webui/dist/bitmagnet/browser/chunk-QXTOPNJN.js +++ b/webui/dist/bitmagnet/browser/chunk-NEBTMJTJ.js @@ -1 +1 @@ -import{a as Be,b as je}from"./chunk-3RUUGSNJ.js";import"./chunk-JIO2QO4M.js";import{a as me}from"./chunk-33KK2FKQ.js";import{a as Fe}from"./chunk-TC5EWLZ6.js";import{Aa as we,Ba as Me,C as ue,Ca as Je,Da as Ie,Ea as Ee,Fa as Pe,Ga as $e,Ha as Qe,Ia as ke,Ja as Oe,K as _e,Ka as Ve,L as ge,La as De,M as xe,Ma as qe,P as fe,Q as be,R as Ce,U as he,Ua as A,a as B,b as F,ba as ve,h as le,i as ce,n as se,q as pe,qa as ye,r as de,va as Se,ya as j,za as Te}from"./chunk-HB55W55I.js";import{c as oe,d as re,g as N,h as W,i as ae}from"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{$b as l,$c as D,B as P,Cb as u,Ea as _,Fa as g,Gb as O,Hb as d,Kb as H,Mb as E,N as U,Na as ee,O as X,Ob as $,Pb as Q,Q as Z,Qb as a,Rb as c,Sb as I,Tb as h,Ub as v,Wb as y,Zb as x,a as f,ad as q,b,bd as ne,jc as z,kb as r,kc as p,l as w,lc as S,mc as m,o as K,pc as V,qa as J,qc as te,ua as k,uc as T,vc as M,xc as ie}from"./chunk-FJILXII2.js";var Ge=()=>["expandedDetail"];function Ke(t,n){t&1&&(a(0,"th",18),p(1,"ID"),c())}function Ue(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).id," ")}}function Xe(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.queue")," ")}}function Ze(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).queue," ")}}function et(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.priority")," ")}}function tt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),T(2,"number"),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",M(2,1,i.item(e).priority)," ")}}function it(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("general.status")," ")}}function nt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).status," ")}}function ot(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),S(e("general.error"))}}function rt(t,n){if(t&1&&(p(0),T(1,"slice")),t&2){let e=l().$implicit,i=l(2);m(" ",ie(1,1,i.item(e).error,0,20)+"..."," ")}}function at(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),u(1,rt,2,5),c()}if(t&2){let e=n.$implicit;r(),E(e.error?1:-1)}}function lt(t,n){if(t&1&&(a(0,"th",20),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.created_at")," ")}}function ct(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),T(2,"timeAgo"),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",M(2,1,i.item(e).createdAt)," ")}}function st(t,n){if(t&1&&(a(0,"th",20),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.ran_at")," ")}}function pt(t,n){t&1&&(p(0),T(1,"timeAgo")),t&2&&m(" ",M(1,1,n)," ")}function dt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),u(1,pt,2,3),c()}if(t&2){let e,i=n.$implicit;r(),E((e=i.ranAt)?1:-1,e)}}function mt(t,n){if(t&1&&(a(0,"h5")(1,"span",23),p(2),c()(),a(3,"pre",24),p(4),c()),t&2){let e=n,i=l(2).$implicit;r(),d("matTooltip",i("torrents.copy_to_clipboard"))("cdkCopyToClipboard",e),r(),m("",i("general.error"),":"),r(2),S(e)}}function ut(t,n){if(t&1&&(a(0,"td",21)(1,"div",22)(2,"p")(3,"strong"),p(4,"ID:"),c(),p(5,"\xA0"),a(6,"span",23),p(7),c()(),a(8,"h5")(9,"span",23),p(10),c()(),a(11,"pre",24),p(12),c(),u(13,mt,5,4),c()()),t&2){let e,i=n.$implicit,o=l().$implicit,s=l();O("colspan",s.displayedColumns.length),r(),d("@detailExpand",s.expandedId.getValue()===i.id?"expanded":"collapsed"),r(5),d("matTooltip",o("torrents.copy_to_clipboard"))("cdkCopyToClipboard",s.item(i).id),r(),S(s.item(i).id),r(2),d("matTooltip",o("torrents.copy_to_clipboard"))("cdkCopyToClipboard",s.item(i).payload),r(),m("",o("dashboard.queues.payload"),":"),r(2),S(s.beautifyPayload(s.item(i).payload)),r(),E((e=s.item(i).error)?13:-1,e)}}function _t(t,n){t&1&&I(0,"tr",25)}function gt(t,n){if(t&1&&I(0,"tr",26),t&2){let e=n.$implicit,i=l(2);H("summary-row "+(e.id===i.expandedId.getValue()?"expanded":"collapsed"))}}function xt(t,n){if(t&1&&I(0,"tr",26),t&2){let e=n.$implicit,i=l(2);H("expanded-detail-row "+(e.id===i.expandedId.getValue()?"expanded":"collapsed"))}}function ft(t,n){if(t&1&&(h(0),a(1,"div",1),I(2,"mat-progress-bar",2),T(3,"async"),c(),a(4,"table",3),h(5,4),u(6,Ke,2,0,"th",5)(7,Ue,2,1,"td",6),v(),h(8,7),u(9,Xe,2,1,"th",5)(10,Ze,2,1,"td",6),v(),h(11,8),u(12,et,2,1,"th",5)(13,tt,3,3,"td",6),v(),h(14,9),u(15,it,2,1,"th",5)(16,nt,2,1,"td",6),v(),h(17,10),u(18,ot,2,1,"th",5)(19,at,2,1,"td",6),v(),h(20,11),u(21,lt,2,1,"th",12)(22,ct,3,3,"td",6),v(),h(23,13),u(24,st,2,1,"th",12)(25,dt,2,1,"td",6),v(),h(26,14),u(27,ut,14,10,"td",15),v(),u(28,_t,1,0,"tr",16)(29,gt,1,2,"tr",17)(30,xt,1,2,"tr",17),c(),v()),t&2){let e=l();r(2),d("mode",M(3,7,e.dataSource.loading$)?"indeterminate":"determinate")("value",0),r(2),d("dataSource",e.dataSource)("multiTemplateDataRows",!0),r(24),d("matHeaderRowDef",e.displayedColumns),r(),d("matRowDefColumns",e.displayedColumns),r(),d("matRowDefColumns",te(9,Ge))}}var Ae=(()=>{class t{constructor(){this.transloco=J(B),this.displayedColumns=bt,this.updated=new ee,this.expandedId=new w(null),this.items=Array()}ngOnInit(){this.dataSource.items$.subscribe(e=>{if(this.items=e,e.length){let i=this.expandedId.getValue();i&&!e.some(({id:o})=>o===i)&&this.expandedId.next(null)}})}isAllSelected(){return this.items.every(e=>this.selection.isSelected(e.id))}toggleAllRows(){if(this.isAllSelected()){this.selection.clear();return}this.selection.select(...this.items.map(e=>e.id))}toggleQueueJobId(e){this.expandedId.getValue()===e?this.expandedId.next(null):this.expandedId.next(e)}item(e){return e}beautifyPayload(e){try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-queue-jobs-table"]],inputs:{dataSource:"dataSource",selection:"selection",displayedColumns:"displayedColumns"},outputs:{updated:"updated"},standalone:!0,features:[V],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-results",3,"dataSource","multiTemplateDataRows"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","queue"],["matColumnDef","priority"],["matColumnDef","status"],["matColumnDef","error"],["matColumnDef","createdAt"],["mat-header-cell","","style","text-align: center",4,"matHeaderCellDef"],["matColumnDef","ranAt"],["matColumnDef","expandedDetail"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"class",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",3,"click"],["mat-header-cell","",2,"text-align","center"],["mat-cell",""],[1,"item-detail"],[1,"copy",3,"matTooltip","cdkCopyToClipboard"],[1,"payload"],["mat-header-row",""],["mat-row",""]],template:function(i,o){i&1&&u(0,ft,31,10,"ng-container",0)},dependencies:[A,_e,Se,Ie,Pe,Oe,$e,Ee,Ve,Qe,ke,De,qe,j,F,D,ne,q,je],styles:[".item-detail[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-top:20px}.item-detail[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{margin-bottom:20px}tr[_ngcontent-%COMP%]:not(.expanded-detail-row) td[_ngcontent-%COMP%]{cursor:pointer}tr.expanded-detail-row[_ngcontent-%COMP%]{height:0}tr.expanded-detail-row[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0;padding-top:8px}tr.expanded-detail-row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding-top:8px;padding-bottom:4px}tr.expanded-detail-row[_ngcontent-%COMP%] span.copy[_ngcontent-%COMP%]{cursor:crosshair;text-decoration:underline;text-decoration-style:dotted}pre[_ngcontent-%COMP%]{opacity:0;max-height:200px;max-width:100px;overflow:scroll;background:#7773;padding:10px}.expanded-detail-row.expanded[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{opacity:1;max-width:1200px}"],data:{animation:[oe("detailExpand",[W("collapsed,void",N({height:"0px",minHeight:"0"})),W("expanded",N({height:"*"})),ae("expanded <=> collapsed",re("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return t})(),bt=["id","queue","priority","status","error","createdAt","ranAt"];var Ct={items:[],hasNextPage:!1,totalCount:0,aggregations:{queue:[],status:[]}},R=class{constructor(n,e,i){this.apollo=n,this.errorsService=e,this.currentRequest=new w(0),this.loadingSubject=new w(!1),this.loading$=this.loadingSubject.asObservable(),this.result=Ct,this.resultSubject=new w(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(P(o=>o.items)),i.subscribe(o=>{this.variables=o,this.loadResult(o)}),this.resultSubject.subscribe(o=>{this.result=o})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}refresh(){this.variables&&this.loadResult(this.variables)}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:ue,variables:n,fetchPolicy:"no-cache"}).pipe(P(o=>o.data.queue.jobs)).pipe(U(o=>(this.errorsService.addError(`Error loading item results: ${o.message}`),K)));this.currentSubscription=i.subscribe(o=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(o))})}};var L=class{constructor(n=ht){this.controlsSubject=new w(n),this.controls$=this.controlsSubject.asObservable(),this.variablesSubject=new w(Re(n)),this.variables$=this.variablesSubject.asObservable(),this.controls$.pipe(Z(100)).subscribe(e=>{let i=this.variablesSubject.getValue(),o=Re(e);JSON.stringify(i)!==JSON.stringify(o)&&this.variablesSubject.next(o)})}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}activateFilter(n,e){this.update(i=>{let o=n.extractInput(i.facets);return b(f({},i),{page:1,facets:n.patchInput(i.facets,b(f({},o),{filter:Array.from(new Set([...o.filter??[],e])).sort()}))})})}deactivateFilter(n,e){this.update(i=>{let o=n.extractInput(i.facets),s=o.filter?.filter(C=>C!==e);return b(f({},i),{page:1,facets:n.patchInput(i.facets,b(f({},o),{filter:s?.length?s:void 0}))})})}selectOrderBy(n){let e={field:n,descending:Y.find(i=>i.field===n)?.descending??!1};this.update(i=>b(f({},i),{orderBy:e,page:1}))}toggleOrderByDirection(){this.update(n=>b(f({},n),{orderBy:b(f({},n.orderBy),{descending:!n.orderBy.descending}),page:1}))}handlePageEvent(n){this.update(e=>b(f({},e),{limit:n.pageSize,page:n.page}))}},Re=t=>({input:{limit:t.limit,page:t.page,totalCount:!0,orderBy:[t.orderBy,...t.orderBy.field!=="created_at"?[{field:"created_at",descending:t.orderBy.descending}]:[]],queues:t.queues,statuses:t.statuses,facets:{queue:{aggregate:!0,filter:t.facets.queue.filter},status:{aggregate:!0,filter:t.facets.status.filter}}}}),Y=[{field:"created_at",descending:!0},{field:"ran_at",descending:!0},{field:"priority",descending:!1}],ht={limit:20,page:1,orderBy:{field:"ran_at",descending:!0},facets:{queue:{},status:{}}},vt={key:"queue",extractInput:t=>t.queue,patchInput:(t,n)=>b(f({},t),{queue:n}),extractAggregations:t=>t.queue??[],resolveLabel:t=>t.label},yt={key:"status",extractInput:t=>t.status,patchInput:(t,n)=>b(f({},t),{status:n}),extractAggregations:t=>t.status??[],resolveLabel:(t,n)=>n.translate("dashboard.queues."+t.label)},Le=[vt,yt];var St=(t,n)=>n.key,Tt=(t,n)=>n.field,He=(t,n)=>n.value;function wt(t,n){if(t&1){let e=y();a(0,"mat-checkbox",20),x("change",function(o){let s=_(e).$implicit,C=l(2).$implicit,G=l(2);return g(o.checked?G.controller.activateFilter(C,s.value):G.controller.deactivateFilter(C,s.value))}),p(1),a(2,"small"),p(3),T(4,"number"),c()()}if(t&2){let e=n.$implicit,i=l(2).$implicit;d("checked",i.filter==null?null:i.filter.includes(e.value)),r(),m(" ",e.label," "),r(2),S(M(4,3,e.count))}}function Mt(t,n){if(t&1&&(a(0,"mat-card-content",17),$(1,wt,5,5,"mat-checkbox",19,He),c()),t&2){let e=l().$implicit;r(),Q(e.aggregations)}}function Jt(t,n){if(t&1){let e=y();a(0,"mat-checkbox",22),x("change",function(){let o=_(e).$implicit,s=l(2).$implicit,C=l(2);return g(C.controller.activateFilter(s,o.value))}),p(1),a(2,"small"),p(3),T(4,"number"),c()()}if(t&2){let e=n.$implicit;r(),m(" ",e.label," "),r(2),S(M(4,2,e.count))}}function It(t,n){if(t&1&&(a(0,"mat-card-content",18),$(1,Jt,5,4,"mat-checkbox",21,He),c()),t&2){let e=l().$implicit;r(),Q(e.aggregations)}}function Et(t,n){if(t&1&&(a(0,"mat-card")(1,"mat-card-header")(2,"mat-card-title"),p(3),c()(),u(4,Mt,3,0,"mat-card-content",17)(5,It,3,0,"mat-card-content",18),c()),t&2){let e=n.$implicit,i=l().$implicit;r(3),m(" ",i("facets."+e.key)," "),r(),E(e.filter!=null&&e.filter.length?4:5)}}function Pt(t,n){if(t&1&&(a(0,"mat-option",11),p(1),c()),t&2){let e=n.$implicit,i=l().$implicit;d("value",e.field),r(),m(" ",i("dashboard.queues."+e.field)," ")}}function $t(t,n){if(t&1){let e=y();h(0),a(1,"mat-drawer-container",2)(2,"mat-drawer",3,0),$(4,Et,6,2,"mat-card",null,St),T(6,"async"),c(),a(7,"mat-drawer-content")(8,"div",4)(9,"div",5)(10,"button",6),x("click",function(){_(e);let o=z(3);return g(o.toggle())}),a(11,"mat-icon",7),p(12),c()()(),a(13,"div",8)(14,"mat-form-field",9)(15,"mat-label"),p(16),c(),a(17,"mat-select",10),x("valueChange",function(o){_(e);let s=l();return g(s.controller.selectOrderBy(o))}),$(18,Pt,2,2,"mat-option",11,Tt),c()(),a(20,"button",12),x("click",function(){_(e);let o=l();return g(o.controller.toggleOrderByDirection())}),a(21,"mat-icon"),p(22),c()()(),a(23,"div",13)(24,"button",14),x("click",function(){_(e);let o=l();return g(o.dataSource.refresh())}),a(25,"mat-icon"),p(26,"sync"),c()()()(),I(27,"app-queue-jobs-table",15),a(28,"app-paginator",16),x("paging",function(o){_(e);let s=l();return g(s.controller.handlePageEvent(o))}),c()()(),v()}if(t&2){let e=n.$implicit,i=z(3),o=l();r(2),d("mode",o.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",o.breakpoints.sizeAtLeast("Medium")),O("role",o.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),r(2),Q(M(6,18,o.facets$)),r(6),d("matTooltip",e("torrents.toggle_drawer")),r(2),S(i.opened?"arrow_circle_left":"arrow_circle_right"),r(4),S(e("torrents.order_by")),r(),d("value",o.controls.orderBy.field),r(),Q(o.orderByOptions),r(2),d("matTooltip",e("torrents.order_direction_toggle")),r(2),S(o.controls.orderBy.descending?"arrow_downward":"arrow_upward"),r(2),d("matTooltip",e("torrents.refresh")),r(3),d("dataSource",o.dataSource)("selection",o.selection),r(),d("page",o.controls.page)("pageSize",o.controls.limit)("pageLength",o.dataSource.result.items.length)("totalLength",o.dataSource.result.totalCount)("totalIsEstimate",!1)("showLastPage",!0)}}var hi=(()=>{class t{constructor(){this.apollo=J(ce),this.errorsService=J(me),this.breakpoints=J(Fe),this.transloco=J(B),this.controller=new L,this.dataSource=new R(this.apollo,this.errorsService,this.controller.variables$),this.selection=new le,this.orderByOptions=Y,this.facets$=this.controller.controls$.pipe(X(this.dataSource.result$),P(([e,i])=>Le.map(o=>b(f(f({},o),o.extractInput(e.facets)),{aggregations:o.extractAggregations(i.aggregations).map(s=>b(f({},s),{label:o.resolveLabel(s,this.transloco)}))})))),this.controller.controls$.subscribe(e=>{this.controls=e})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-queue-jobs"]],standalone:!0,features:[V],decls:1,vars:0,consts:[["drawer",""],[4,"transloco"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],[1,"query-form"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["fontSet","material-icons"],[1,"form-field-container","form-field-container-order-by"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],["mat-icon-button","",3,"click","matTooltip"],[1,"form-field-container","button-container","button-container-refresh"],["mat-mini-fab","","color","primary",3,"click","matTooltip"],[3,"dataSource","selection"],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"],[1,"filtered"],[1,"unfiltered"],[3,"checked"],[3,"change","checked"],["checked","true"],["checked","true",3,"change"]],template:function(i,o){i&1&&u(0,$t,29,20,"ng-container",1)},dependencies:[A,se,de,pe,fe,Ce,he,be,ve,xe,ge,ye,Te,Me,Je,we,j,F,D,q,Be,Ae],styles:[".drawer[_ngcontent-%COMP%]{width:220px}.query-form[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;position:relative;clear:both;display:flex;flex-wrap:wrap}.query-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;position:relative;margin-left:20px;padding-bottom:20px}.query-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:8px}.query-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%]{padding-right:40px}.query-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.query-form[_ngcontent-%COMP%] .form-field-container.button-container-toggle-drawer[_ngcontent-%COMP%]{margin-left:5px}.query-form[_ngcontent-%COMP%] .button-container-toggle-direction[_ngcontent-%COMP%]{margin-left:4px}app-paginator[_ngcontent-%COMP%]{float:right;padding-top:14px;padding-bottom:20px}"]})}}return t})();export{hi as QueueJobsComponent}; +import{a as Be,b as je}from"./chunk-RD4V5RUF.js";import"./chunk-2DNC66PX.js";import{a as me}from"./chunk-ZF4WX6G7.js";import{a as Fe}from"./chunk-3AJEMLV6.js";import{Aa as we,Ba as Me,C as ue,Ca as Je,Da as Ie,Ea as Ee,Fa as Pe,Ga as $e,Ha as Qe,Ia as ke,Ja as Oe,K as _e,Ka as Ve,L as ge,La as De,M as xe,Ma as qe,P as fe,Q as be,R as Ce,U as he,Ua as A,a as B,b as F,ba as ve,h as le,i as ce,n as se,q as pe,qa as ye,r as de,va as Se,ya as j,za as Te}from"./chunk-Z6GE3BUT.js";import{c as oe,d as re,g as N,h as W,i as ae}from"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{$b as l,$c as D,B as P,Cb as u,Ea as _,Fa as g,Gb as O,Hb as d,Kb as H,Mb as E,N as U,Na as ee,O as X,Ob as $,Pb as Q,Q as Z,Qb as a,Rb as c,Sb as I,Tb as h,Ub as v,Wb as y,Zb as x,a as f,ad as q,b,bd as ne,jc as z,kb as r,kc as p,l as w,lc as S,mc as m,o as K,pc as V,qa as J,qc as te,ua as k,uc as T,vc as M,xc as ie}from"./chunk-FJILXII2.js";var Ge=()=>["expandedDetail"];function Ke(t,n){t&1&&(a(0,"th",18),p(1,"ID"),c())}function Ue(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).id," ")}}function Xe(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.queue")," ")}}function Ze(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).queue," ")}}function et(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.priority")," ")}}function tt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),T(2,"number"),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",M(2,1,i.item(e).priority)," ")}}function it(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("general.status")," ")}}function nt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).status," ")}}function ot(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),S(e("general.error"))}}function rt(t,n){if(t&1&&(p(0),T(1,"slice")),t&2){let e=l().$implicit,i=l(2);m(" ",ie(1,1,i.item(e).error,0,20)+"..."," ")}}function at(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),u(1,rt,2,5),c()}if(t&2){let e=n.$implicit;r(),E(e.error?1:-1)}}function lt(t,n){if(t&1&&(a(0,"th",20),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.created_at")," ")}}function ct(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),T(2,"timeAgo"),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",M(2,1,i.item(e).createdAt)," ")}}function st(t,n){if(t&1&&(a(0,"th",20),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.ran_at")," ")}}function pt(t,n){t&1&&(p(0),T(1,"timeAgo")),t&2&&m(" ",M(1,1,n)," ")}function dt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),u(1,pt,2,3),c()}if(t&2){let e,i=n.$implicit;r(),E((e=i.ranAt)?1:-1,e)}}function mt(t,n){if(t&1&&(a(0,"h5")(1,"span",23),p(2),c()(),a(3,"pre",24),p(4),c()),t&2){let e=n,i=l(2).$implicit;r(),d("matTooltip",i("torrents.copy_to_clipboard"))("cdkCopyToClipboard",e),r(),m("",i("general.error"),":"),r(2),S(e)}}function ut(t,n){if(t&1&&(a(0,"td",21)(1,"div",22)(2,"p")(3,"strong"),p(4,"ID:"),c(),p(5,"\xA0"),a(6,"span",23),p(7),c()(),a(8,"h5")(9,"span",23),p(10),c()(),a(11,"pre",24),p(12),c(),u(13,mt,5,4),c()()),t&2){let e,i=n.$implicit,o=l().$implicit,s=l();O("colspan",s.displayedColumns.length),r(),d("@detailExpand",s.expandedId.getValue()===i.id?"expanded":"collapsed"),r(5),d("matTooltip",o("torrents.copy_to_clipboard"))("cdkCopyToClipboard",s.item(i).id),r(),S(s.item(i).id),r(2),d("matTooltip",o("torrents.copy_to_clipboard"))("cdkCopyToClipboard",s.item(i).payload),r(),m("",o("dashboard.queues.payload"),":"),r(2),S(s.beautifyPayload(s.item(i).payload)),r(),E((e=s.item(i).error)?13:-1,e)}}function _t(t,n){t&1&&I(0,"tr",25)}function gt(t,n){if(t&1&&I(0,"tr",26),t&2){let e=n.$implicit,i=l(2);H("summary-row "+(e.id===i.expandedId.getValue()?"expanded":"collapsed"))}}function xt(t,n){if(t&1&&I(0,"tr",26),t&2){let e=n.$implicit,i=l(2);H("expanded-detail-row "+(e.id===i.expandedId.getValue()?"expanded":"collapsed"))}}function ft(t,n){if(t&1&&(h(0),a(1,"div",1),I(2,"mat-progress-bar",2),T(3,"async"),c(),a(4,"table",3),h(5,4),u(6,Ke,2,0,"th",5)(7,Ue,2,1,"td",6),v(),h(8,7),u(9,Xe,2,1,"th",5)(10,Ze,2,1,"td",6),v(),h(11,8),u(12,et,2,1,"th",5)(13,tt,3,3,"td",6),v(),h(14,9),u(15,it,2,1,"th",5)(16,nt,2,1,"td",6),v(),h(17,10),u(18,ot,2,1,"th",5)(19,at,2,1,"td",6),v(),h(20,11),u(21,lt,2,1,"th",12)(22,ct,3,3,"td",6),v(),h(23,13),u(24,st,2,1,"th",12)(25,dt,2,1,"td",6),v(),h(26,14),u(27,ut,14,10,"td",15),v(),u(28,_t,1,0,"tr",16)(29,gt,1,2,"tr",17)(30,xt,1,2,"tr",17),c(),v()),t&2){let e=l();r(2),d("mode",M(3,7,e.dataSource.loading$)?"indeterminate":"determinate")("value",0),r(2),d("dataSource",e.dataSource)("multiTemplateDataRows",!0),r(24),d("matHeaderRowDef",e.displayedColumns),r(),d("matRowDefColumns",e.displayedColumns),r(),d("matRowDefColumns",te(9,Ge))}}var Ae=(()=>{class t{constructor(){this.transloco=J(B),this.displayedColumns=bt,this.updated=new ee,this.expandedId=new w(null),this.items=Array()}ngOnInit(){this.dataSource.items$.subscribe(e=>{if(this.items=e,e.length){let i=this.expandedId.getValue();i&&!e.some(({id:o})=>o===i)&&this.expandedId.next(null)}})}isAllSelected(){return this.items.every(e=>this.selection.isSelected(e.id))}toggleAllRows(){if(this.isAllSelected()){this.selection.clear();return}this.selection.select(...this.items.map(e=>e.id))}toggleQueueJobId(e){this.expandedId.getValue()===e?this.expandedId.next(null):this.expandedId.next(e)}item(e){return e}beautifyPayload(e){try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-queue-jobs-table"]],inputs:{dataSource:"dataSource",selection:"selection",displayedColumns:"displayedColumns"},outputs:{updated:"updated"},standalone:!0,features:[V],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-results",3,"dataSource","multiTemplateDataRows"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","queue"],["matColumnDef","priority"],["matColumnDef","status"],["matColumnDef","error"],["matColumnDef","createdAt"],["mat-header-cell","","style","text-align: center",4,"matHeaderCellDef"],["matColumnDef","ranAt"],["matColumnDef","expandedDetail"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"class",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",3,"click"],["mat-header-cell","",2,"text-align","center"],["mat-cell",""],[1,"item-detail"],[1,"copy",3,"matTooltip","cdkCopyToClipboard"],[1,"payload"],["mat-header-row",""],["mat-row",""]],template:function(i,o){i&1&&u(0,ft,31,10,"ng-container",0)},dependencies:[A,_e,Se,Ie,Pe,Oe,$e,Ee,Ve,Qe,ke,De,qe,j,F,D,ne,q,je],styles:[".item-detail[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-top:20px}.item-detail[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{margin-bottom:20px}tr[_ngcontent-%COMP%]:not(.expanded-detail-row) td[_ngcontent-%COMP%]{cursor:pointer}tr.expanded-detail-row[_ngcontent-%COMP%]{height:0}tr.expanded-detail-row[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0;padding-top:8px}tr.expanded-detail-row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding-top:8px;padding-bottom:4px}tr.expanded-detail-row[_ngcontent-%COMP%] span.copy[_ngcontent-%COMP%]{cursor:crosshair;text-decoration:underline;text-decoration-style:dotted}pre[_ngcontent-%COMP%]{opacity:0;max-height:200px;max-width:100px;overflow:scroll;background:#7773;padding:10px}.expanded-detail-row.expanded[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{opacity:1;max-width:1200px}"],data:{animation:[oe("detailExpand",[W("collapsed,void",N({height:"0px",minHeight:"0"})),W("expanded",N({height:"*"})),ae("expanded <=> collapsed",re("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return t})(),bt=["id","queue","priority","status","error","createdAt","ranAt"];var Ct={items:[],hasNextPage:!1,totalCount:0,aggregations:{queue:[],status:[]}},R=class{constructor(n,e,i){this.apollo=n,this.errorsService=e,this.currentRequest=new w(0),this.loadingSubject=new w(!1),this.loading$=this.loadingSubject.asObservable(),this.result=Ct,this.resultSubject=new w(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(P(o=>o.items)),i.subscribe(o=>{this.variables=o,this.loadResult(o)}),this.resultSubject.subscribe(o=>{this.result=o})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}refresh(){this.variables&&this.loadResult(this.variables)}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:ue,variables:n,fetchPolicy:"no-cache"}).pipe(P(o=>o.data.queue.jobs)).pipe(U(o=>(this.errorsService.addError(`Error loading item results: ${o.message}`),K)));this.currentSubscription=i.subscribe(o=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(o))})}};var L=class{constructor(n=ht){this.controlsSubject=new w(n),this.controls$=this.controlsSubject.asObservable(),this.variablesSubject=new w(Re(n)),this.variables$=this.variablesSubject.asObservable(),this.controls$.pipe(Z(100)).subscribe(e=>{let i=this.variablesSubject.getValue(),o=Re(e);JSON.stringify(i)!==JSON.stringify(o)&&this.variablesSubject.next(o)})}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}activateFilter(n,e){this.update(i=>{let o=n.extractInput(i.facets);return b(f({},i),{page:1,facets:n.patchInput(i.facets,b(f({},o),{filter:Array.from(new Set([...o.filter??[],e])).sort()}))})})}deactivateFilter(n,e){this.update(i=>{let o=n.extractInput(i.facets),s=o.filter?.filter(C=>C!==e);return b(f({},i),{page:1,facets:n.patchInput(i.facets,b(f({},o),{filter:s?.length?s:void 0}))})})}selectOrderBy(n){let e={field:n,descending:Y.find(i=>i.field===n)?.descending??!1};this.update(i=>b(f({},i),{orderBy:e,page:1}))}toggleOrderByDirection(){this.update(n=>b(f({},n),{orderBy:b(f({},n.orderBy),{descending:!n.orderBy.descending}),page:1}))}handlePageEvent(n){this.update(e=>b(f({},e),{limit:n.pageSize,page:n.page}))}},Re=t=>({input:{limit:t.limit,page:t.page,totalCount:!0,orderBy:[t.orderBy,...t.orderBy.field!=="created_at"?[{field:"created_at",descending:t.orderBy.descending}]:[]],queues:t.queues,statuses:t.statuses,facets:{queue:{aggregate:!0,filter:t.facets.queue.filter},status:{aggregate:!0,filter:t.facets.status.filter}}}}),Y=[{field:"created_at",descending:!0},{field:"ran_at",descending:!0},{field:"priority",descending:!1}],ht={limit:20,page:1,orderBy:{field:"ran_at",descending:!0},facets:{queue:{},status:{}}},vt={key:"queue",extractInput:t=>t.queue,patchInput:(t,n)=>b(f({},t),{queue:n}),extractAggregations:t=>t.queue??[],resolveLabel:t=>t.label},yt={key:"status",extractInput:t=>t.status,patchInput:(t,n)=>b(f({},t),{status:n}),extractAggregations:t=>t.status??[],resolveLabel:(t,n)=>n.translate("dashboard.queues."+t.label)},Le=[vt,yt];var St=(t,n)=>n.key,Tt=(t,n)=>n.field,He=(t,n)=>n.value;function wt(t,n){if(t&1){let e=y();a(0,"mat-checkbox",20),x("change",function(o){let s=_(e).$implicit,C=l(2).$implicit,G=l(2);return g(o.checked?G.controller.activateFilter(C,s.value):G.controller.deactivateFilter(C,s.value))}),p(1),a(2,"small"),p(3),T(4,"number"),c()()}if(t&2){let e=n.$implicit,i=l(2).$implicit;d("checked",i.filter==null?null:i.filter.includes(e.value)),r(),m(" ",e.label," "),r(2),S(M(4,3,e.count))}}function Mt(t,n){if(t&1&&(a(0,"mat-card-content",17),$(1,wt,5,5,"mat-checkbox",19,He),c()),t&2){let e=l().$implicit;r(),Q(e.aggregations)}}function Jt(t,n){if(t&1){let e=y();a(0,"mat-checkbox",22),x("change",function(){let o=_(e).$implicit,s=l(2).$implicit,C=l(2);return g(C.controller.activateFilter(s,o.value))}),p(1),a(2,"small"),p(3),T(4,"number"),c()()}if(t&2){let e=n.$implicit;r(),m(" ",e.label," "),r(2),S(M(4,2,e.count))}}function It(t,n){if(t&1&&(a(0,"mat-card-content",18),$(1,Jt,5,4,"mat-checkbox",21,He),c()),t&2){let e=l().$implicit;r(),Q(e.aggregations)}}function Et(t,n){if(t&1&&(a(0,"mat-card")(1,"mat-card-header")(2,"mat-card-title"),p(3),c()(),u(4,Mt,3,0,"mat-card-content",17)(5,It,3,0,"mat-card-content",18),c()),t&2){let e=n.$implicit,i=l().$implicit;r(3),m(" ",i("facets."+e.key)," "),r(),E(e.filter!=null&&e.filter.length?4:5)}}function Pt(t,n){if(t&1&&(a(0,"mat-option",11),p(1),c()),t&2){let e=n.$implicit,i=l().$implicit;d("value",e.field),r(),m(" ",i("dashboard.queues."+e.field)," ")}}function $t(t,n){if(t&1){let e=y();h(0),a(1,"mat-drawer-container",2)(2,"mat-drawer",3,0),$(4,Et,6,2,"mat-card",null,St),T(6,"async"),c(),a(7,"mat-drawer-content")(8,"div",4)(9,"div",5)(10,"button",6),x("click",function(){_(e);let o=z(3);return g(o.toggle())}),a(11,"mat-icon",7),p(12),c()()(),a(13,"div",8)(14,"mat-form-field",9)(15,"mat-label"),p(16),c(),a(17,"mat-select",10),x("valueChange",function(o){_(e);let s=l();return g(s.controller.selectOrderBy(o))}),$(18,Pt,2,2,"mat-option",11,Tt),c()(),a(20,"button",12),x("click",function(){_(e);let o=l();return g(o.controller.toggleOrderByDirection())}),a(21,"mat-icon"),p(22),c()()(),a(23,"div",13)(24,"button",14),x("click",function(){_(e);let o=l();return g(o.dataSource.refresh())}),a(25,"mat-icon"),p(26,"sync"),c()()()(),I(27,"app-queue-jobs-table",15),a(28,"app-paginator",16),x("paging",function(o){_(e);let s=l();return g(s.controller.handlePageEvent(o))}),c()()(),v()}if(t&2){let e=n.$implicit,i=z(3),o=l();r(2),d("mode",o.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",o.breakpoints.sizeAtLeast("Medium")),O("role",o.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),r(2),Q(M(6,18,o.facets$)),r(6),d("matTooltip",e("torrents.toggle_drawer")),r(2),S(i.opened?"arrow_circle_left":"arrow_circle_right"),r(4),S(e("torrents.order_by")),r(),d("value",o.controls.orderBy.field),r(),Q(o.orderByOptions),r(2),d("matTooltip",e("torrents.order_direction_toggle")),r(2),S(o.controls.orderBy.descending?"arrow_downward":"arrow_upward"),r(2),d("matTooltip",e("torrents.refresh")),r(3),d("dataSource",o.dataSource)("selection",o.selection),r(),d("page",o.controls.page)("pageSize",o.controls.limit)("pageLength",o.dataSource.result.items.length)("totalLength",o.dataSource.result.totalCount)("totalIsEstimate",!1)("showLastPage",!0)}}var hi=(()=>{class t{constructor(){this.apollo=J(ce),this.errorsService=J(me),this.breakpoints=J(Fe),this.transloco=J(B),this.controller=new L,this.dataSource=new R(this.apollo,this.errorsService,this.controller.variables$),this.selection=new le,this.orderByOptions=Y,this.facets$=this.controller.controls$.pipe(X(this.dataSource.result$),P(([e,i])=>Le.map(o=>b(f(f({},o),o.extractInput(e.facets)),{aggregations:o.extractAggregations(i.aggregations).map(s=>b(f({},s),{label:o.resolveLabel(s,this.transloco)}))})))),this.controller.controls$.subscribe(e=>{this.controls=e})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-queue-jobs"]],standalone:!0,features:[V],decls:1,vars:0,consts:[["drawer",""],[4,"transloco"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],[1,"query-form"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["fontSet","material-icons"],[1,"form-field-container","form-field-container-order-by"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],["mat-icon-button","",3,"click","matTooltip"],[1,"form-field-container","button-container","button-container-refresh"],["mat-mini-fab","","color","primary",3,"click","matTooltip"],[3,"dataSource","selection"],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"],[1,"filtered"],[1,"unfiltered"],[3,"checked"],[3,"change","checked"],["checked","true"],["checked","true",3,"change"]],template:function(i,o){i&1&&u(0,$t,29,20,"ng-container",1)},dependencies:[A,se,de,pe,fe,Ce,he,be,ve,xe,ge,ye,Te,Me,Je,we,j,F,D,q,Be,Ae],styles:[".drawer[_ngcontent-%COMP%]{width:220px}.query-form[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;position:relative;clear:both;display:flex;flex-wrap:wrap}.query-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;position:relative;margin-left:20px;padding-bottom:20px}.query-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:8px}.query-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%]{padding-right:40px}.query-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.query-form[_ngcontent-%COMP%] .form-field-container.button-container-toggle-drawer[_ngcontent-%COMP%]{margin-left:5px}.query-form[_ngcontent-%COMP%] .button-container-toggle-direction[_ngcontent-%COMP%]{margin-left:4px}app-paginator[_ngcontent-%COMP%]{float:right;padding-top:14px;padding-bottom:20px}"]})}}return t})();export{hi as QueueJobsComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-LQDV34E4.js b/webui/dist/bitmagnet/browser/chunk-OQYWMLJI.js similarity index 92% rename from webui/dist/bitmagnet/browser/chunk-LQDV34E4.js rename to webui/dist/bitmagnet/browser/chunk-OQYWMLJI.js index b9a5023e..8ebcde08 100644 --- a/webui/dist/bitmagnet/browser/chunk-LQDV34E4.js +++ b/webui/dist/bitmagnet/browser/chunk-OQYWMLJI.js @@ -1 +1 @@ -import"./chunk-RJXZVS5Q.js";import"./chunk-EF5HJP6V.js";import"./chunk-3RUUGSNJ.js";import"./chunk-JIO2QO4M.js";import"./chunk-33KK2FKQ.js";import{a as R}from"./chunk-TC5EWLZ6.js";import{Aa as z,Ba as q,Ca as B,Ua as F,b as y,p as D,qa as I,r as S,ya as E}from"./chunk-HB55W55I.js";import"./chunk-6XXA7HXI.js";import{k as L,m as h,n as T}from"./chunk-ZBBMS7J5.js";import{$b as O,Cb as M,Ea as _,Fa as f,Gb as C,Hb as l,Kb as p,Qb as r,Rb as i,Sb as d,Tb as w,Ub as b,Wb as k,Zb as x,jc as a,kb as t,kc as c,lc as s,pc as A,qa as g,qc as P,ua as v}from"./chunk-FJILXII2.js";var Q=()=>({exact:!0});function $(n,V){if(n&1){let e=k();w(0),r(1,"mat-drawer-container",6)(2,"mat-drawer",7,0)(4,"nav")(5,"ul")(6,"li")(7,"a",8,1)(9,"mat-icon"),c(10,"dashboard"),i(),c(11),i()(),r(12,"li")(13,"a",9,2),d(15,"mat-icon",10),c(16),i()(),r(17,"li")(18,"a",11,3),d(20,"mat-icon",12),c(21),i()()()()(),r(22,"mat-drawer-content")(23,"div",13)(24,"button",14),x("click",function(){_(e);let m=a(3);return f(m.toggle())}),r(25,"mat-icon",15),c(26),i()()(),d(27,"router-outlet",null,4),i()(),b()}if(n&2){let e=V.$implicit,o=a(3),m=a(8),j=a(14),H=a(19),u=O();t(2),l("mode",u.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",u.breakpoints.sizeAtLeast("Medium")),C("role",u.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),t(5),p(m.isActive?"active":""),l("routerLinkActiveOptions",P(15,Q)),t(4),s(e("routes.home")),t(2),p(j.isActive?"active":""),t(3),s(e("routes.queues")),t(2),p(H.isActive?"active":""),t(3),s(e("routes.torrents")),t(3),l("matTooltip",e("torrents.toggle_drawer")),t(2),s(o.opened?"arrow_circle_left":"arrow_circle_right")}}var st=(()=>{class n{constructor(){this.breakpoints=g(R)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=v({type:n,selectors:[["app-dashboard"]],standalone:!0,features:[A],decls:1,vars:0,consts:[["drawer",""],["linkHome","routerLinkActive"],["linkQueues","routerLinkActive"],["linkTorrents","routerLinkActive"],["outlet",""],[4,"transloco"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],["mat-button","","routerLink","/dashboard","routerLinkActive","",3,"routerLinkActiveOptions"],["mat-button","","routerLink","queues","routerLinkActive",""],["svgIcon","queue"],["mat-button","","routerLink","torrents","routerLinkActive",""],["svgIcon","magnet"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["aria-label","Side nav toggle icon","fontSet","material-icons"]],template:function(o,m){o&1&&M(0,$,29,16,"ng-container",5)},dependencies:[F,D,S,I,q,B,z,E,L,h,T,y],styles:["mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{padding-top:12px;--mat-text-button-icon-spacing: 14px}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;font-size:var(--mat-expansion-container-text-size);justify-content:flex-start;padding-left:20px}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}mat-drawer-content[_ngcontent-%COMP%] .button-container-toggle-drawer[_ngcontent-%COMP%]{position:absolute;left:20px;top:28px;z-index:100}.drawer[_ngcontent-%COMP%]{width:220px}"]})}}return n})();export{st as DashboardComponent}; +import"./chunk-RTNXCXB5.js";import"./chunk-JS3YJKHP.js";import"./chunk-RD4V5RUF.js";import"./chunk-2DNC66PX.js";import"./chunk-ZF4WX6G7.js";import{a as R}from"./chunk-3AJEMLV6.js";import{Aa as z,Ba as q,Ca as B,Ua as F,b as y,p as D,qa as I,r as S,ya as E}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import{k as L,m as h,n as T}from"./chunk-ZBBMS7J5.js";import{$b as O,Cb as M,Ea as _,Fa as f,Gb as C,Hb as l,Kb as p,Qb as r,Rb as i,Sb as d,Tb as w,Ub as b,Wb as k,Zb as x,jc as a,kb as t,kc as c,lc as s,pc as A,qa as g,qc as P,ua as v}from"./chunk-FJILXII2.js";var Q=()=>({exact:!0});function $(n,V){if(n&1){let e=k();w(0),r(1,"mat-drawer-container",6)(2,"mat-drawer",7,0)(4,"nav")(5,"ul")(6,"li")(7,"a",8,1)(9,"mat-icon"),c(10,"dashboard"),i(),c(11),i()(),r(12,"li")(13,"a",9,2),d(15,"mat-icon",10),c(16),i()(),r(17,"li")(18,"a",11,3),d(20,"mat-icon",12),c(21),i()()()()(),r(22,"mat-drawer-content")(23,"div",13)(24,"button",14),x("click",function(){_(e);let m=a(3);return f(m.toggle())}),r(25,"mat-icon",15),c(26),i()()(),d(27,"router-outlet",null,4),i()(),b()}if(n&2){let e=V.$implicit,o=a(3),m=a(8),j=a(14),H=a(19),u=O();t(2),l("mode",u.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",u.breakpoints.sizeAtLeast("Medium")),C("role",u.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),t(5),p(m.isActive?"active":""),l("routerLinkActiveOptions",P(15,Q)),t(4),s(e("routes.home")),t(2),p(j.isActive?"active":""),t(3),s(e("routes.queues")),t(2),p(H.isActive?"active":""),t(3),s(e("routes.torrents")),t(3),l("matTooltip",e("torrents.toggle_drawer")),t(2),s(o.opened?"arrow_circle_left":"arrow_circle_right")}}var st=(()=>{class n{constructor(){this.breakpoints=g(R)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=v({type:n,selectors:[["app-dashboard"]],standalone:!0,features:[A],decls:1,vars:0,consts:[["drawer",""],["linkHome","routerLinkActive"],["linkQueues","routerLinkActive"],["linkTorrents","routerLinkActive"],["outlet",""],[4,"transloco"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],["mat-button","","routerLink","/dashboard","routerLinkActive","",3,"routerLinkActiveOptions"],["mat-button","","routerLink","queues","routerLinkActive",""],["svgIcon","queue"],["mat-button","","routerLink","torrents","routerLinkActive",""],["svgIcon","magnet"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["aria-label","Side nav toggle icon","fontSet","material-icons"]],template:function(o,m){o&1&&M(0,$,29,16,"ng-container",5)},dependencies:[F,D,S,I,q,B,z,E,L,h,T,y],styles:["mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{padding-top:12px;--mat-text-button-icon-spacing: 14px}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;font-size:var(--mat-expansion-container-text-size);justify-content:flex-start;padding-left:20px}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}mat-drawer-content[_ngcontent-%COMP%] .button-container-toggle-drawer[_ngcontent-%COMP%]{position:absolute;left:20px;top:28px;z-index:100}.drawer[_ngcontent-%COMP%]{width:220px}"]})}}return n})();export{st as DashboardComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-AOOWIKXT.js b/webui/dist/bitmagnet/browser/chunk-QR34FW2E.js similarity index 98% rename from webui/dist/bitmagnet/browser/chunk-AOOWIKXT.js rename to webui/dist/bitmagnet/browser/chunk-QR34FW2E.js index 9e703eb1..9cf3e8c1 100644 --- a/webui/dist/bitmagnet/browser/chunk-AOOWIKXT.js +++ b/webui/dist/bitmagnet/browser/chunk-QR34FW2E.js @@ -1 +1 @@ -import{a as D,b as N,c as z,d as Ae,e as Ne,f as ze,g as Qe}from"./chunk-RJXZVS5Q.js";import{a as Re,b as De}from"./chunk-EF5HJP6V.js";import{a as qe}from"./chunk-3RUUGSNJ.js";import"./chunk-JIO2QO4M.js";import{a as Ce}from"./chunk-33KK2FKQ.js";import{a as Le}from"./chunk-TC5EWLZ6.js";import{Aa as Fe,Ba as Ve,Ca as Be,E as ye,J as ve,L as Se,M as be,Ua as je,a as se,b as le,ba as Te,d as pe,e as ue,f as me,g as de,h as _e,i as ge,ja as we,ka as Me,la as Oe,ma as Pe,n as fe,q as he,qa as ke,r as xe,ra as Ie,ya as Ee,za as $e}from"./chunk-HB55W55I.js";import"./chunk-6XXA7HXI.js";import{j as ae,l as ce}from"./chunk-ZBBMS7J5.js";import{$ as X,$b as s,$c as oe,B as M,Cb as x,Ea as _,Fa as g,Gb as ee,Hb as f,Kb as L,Mb as v,N as W,O as Y,Ob as k,Pb as I,Q as K,Qb as p,Rb as u,Sb as A,Tb as te,Ub as ne,Wb as P,Zb as h,a,ad as re,b as l,jc as R,kb as c,kc as m,l as y,lc as E,mc as S,nc as $,o as G,pc as ie,qa as O,ua as Z,uc as b,vc as T}from"./chunk-FJILXII2.js";var Q={items:[],totalCount:0,totalCountIsEstimate:!1,aggregations:{}},V=class{constructor(n,e,o){this.apollo=n,this.errorsService=e,this.currentRequest=new y(0),this.loadingSubject=new y(!1),this.loading$=this.loadingSubject.asObservable(),this.result=Q,this.resultSubject=new y(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(M(i=>i.items)),this.overallTotalCount$=this.resultSubject.pipe(M(i=>{let r=0,d=!1;for(let w of i.aggregations.contentType??[])r+=w.count,d=d||w.isEstimate;return{count:r,isEstimate:d}})),this.availableContentTypes$=this.resultSubject.pipe(X((i,r)=>Array.from(new Set([...i,...(r.aggregations.contentType??[]).flatMap(d=>d.value?[d.value]:[])])),[])),this.contentTypeCounts$=this.resultSubject.pipe(M(i=>Object.fromEntries((i.aggregations.contentType??[]).map(r=>[r.value,{count:r.count,isEstimate:r.isEstimate}])))),o.subscribe(i=>{this.input=i.input,this.loadResult({input:l(a({},i.input),{cached:!0})})}),this.resultSubject.subscribe(i=>{this.result=i})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}refresh(){this.loadResult({input:l(a({},this.input),{cached:!1})})}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let o=this.apollo.query({query:ye,variables:n,fetchPolicy:"no-cache"}).pipe(M(i=>i.data.torrentContent.search)).pipe(W(i=>(this.errorsService.addError(`Error loading item results: ${i.message}`),G)));this.currentSubscription=o.subscribe(i=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(i))})}};var He=t=>({input:{queryString:t.queryString,limit:t.limit,page:t.page,totalCount:!0,hasNextPage:!0,orderBy:[t.orderBy],facets:{contentType:{aggregate:!0,filter:t.contentType?[t.contentType==="null"?null:t.contentType]:void 0},genre:t.facets.genre.active?{aggregate:!0,filter:t.facets.genre.filter}:void 0,language:t.facets.language.active?{aggregate:t.facets.language.active,filter:t.facets.language.filter}:void 0,torrentFileType:t.facets.fileType.active?{aggregate:!0,filter:t.facets.fileType.filter}:void 0,torrentSource:t.facets.torrentSource.active?{aggregate:!0,filter:t.facets.torrentSource.filter}:void 0,torrentTag:t.facets.torrentTag.active?{aggregate:!0,filter:t.facets.torrentTag.filter}:void 0,videoResolution:t.facets.videoResolution.active?{aggregate:!0,filter:t.facets.videoResolution.filter}:void 0,videoSource:t.facets.videoSource.active?{aggregate:!0,filter:t.facets.videoSource.filter}:void 0}}}),C={active:!1},B=class{constructor(n){this.controlsSubject=new y(n),this.controls$=this.controlsSubject.asObservable(),this.paramsSubject=new y(He(n)),this.params$=this.paramsSubject.asObservable(),this.controls$.pipe(K(100)).subscribe(e=>{let o=this.paramsSubject.getValue(),i=He(e);JSON.stringify(o)!==JSON.stringify(i)&&this.paramsSubject.next(i)})}update(n){let e=this.controlsSubject.getValue(),o=n(e);JSON.stringify(e)!==JSON.stringify(o)&&this.controlsSubject.next(o)}selectLanguage(n){this.update(e=>l(a({},e),{language:n}))}selectContentType(n){this.update(e=>l(a({},e),{contentType:n,page:1,facets:l(a({},e.facets),{genre:H(n,Je.contentTypes)?e.facets.genre:C,videoResolution:H(n,Ue.contentTypes)?e.facets.videoResolution:C,videoSource:H(n,Ge.contentTypes)?e.facets.videoSource:C})}))}activateFacet(n){this.update(e=>l(a({},e),{facets:n.patchInput(e.facets,l(a({},n.extractInput(e.facets)),{active:!0}))}))}deactivateFacet(n){this.update(e=>{let o=n.extractInput(e.facets);return l(a({},e),{page:o.filter?1:e.page,facets:n.patchInput(e.facets,l(a({},o),{active:!1,filter:void 0}))})})}activateFilter(n,e){this.update(o=>{let i=n.extractInput(o.facets);return l(a({},o),{page:1,facets:n.patchInput(o.facets,l(a({},i),{filter:Array.from(new Set([...i.filter??[],e])).sort()}))})})}deactivateFilter(n,e){this.update(o=>{let i=n.extractInput(o.facets),r=i.filter?.filter(d=>d!==e);return l(a({},o),{page:1,facets:n.patchInput(o.facets,l(a({},i),{filter:r?.length?r:void 0}))})})}setQueryString(n){n=n||void 0,this.update(e=>{let o=e.orderBy;return n?n!==e.queryString&&(o=U):o.field==="relevance"&&(o=F),l(a({},e),{queryString:n,orderBy:o,page:n===e.queryString?e.page:1})})}selectOrderBy(n){let e={field:n,descending:J.find(o=>o.field===n)?.descending??!1};this.update(o=>l(a({},o),{orderBy:e.field!=="relevance"||o.queryString?e:F,page:1}))}toggleOrderByDirection(){this.update(n=>l(a({},n),{orderBy:l(a({},n.orderBy),{descending:!n.orderBy.descending}),page:1}))}handlePageEvent(n){this.update(e=>l(a({},e),{limit:n.pageSize,page:n.page}))}},et={key:"torrent_source",icon:"mediation",allowNull:!1,extractInput:t=>t.torrentSource,patchInput:(t,n)=>l(a({},t),{torrentSource:n}),extractAggregations:t=>t.torrentSource??[],resolveLabel:t=>t.label},tt={key:"torrent_tag",icon:"sell",allowNull:!1,extractInput:t=>t.torrentTag,patchInput:(t,n)=>l(a({},t),{torrentTag:n}),extractAggregations:t=>t.torrentTag??[],resolveLabel:t=>t.value},nt={key:"file_type",icon:"file_present",allowNull:!1,extractInput:t=>t.fileType,patchInput:(t,n)=>l(a({},t),{fileType:n}),extractAggregations:t=>t.torrentFileType??[],resolveLabel:(t,n)=>n.translate(`file_types.${t.value}`)},it={key:"language",icon:"translate",allowNull:!1,extractInput:t=>t.language,patchInput:(t,n)=>l(a({},t),{language:n}),extractAggregations:t=>t.language??[],resolveLabel:(t,n)=>n.translate(`languages.${t.value}`)},Je={key:"genre",icon:"theater_comedy",allowNull:!1,contentTypes:["movie","tv_show"],extractInput:t=>t.genre,patchInput:(t,n)=>l(a({},t),{genre:n}),extractAggregations:t=>t.genre??[],resolveLabel:t=>t.label},Ue={key:"video_resolution",icon:"aspect_ratio",allowNull:!0,contentTypes:["movie","tv_show","xxx"],extractInput:t=>t.videoResolution,patchInput:(t,n)=>l(a({},t),{videoResolution:n}),extractAggregations:t=>(t.videoResolution??[]).map(n=>l(a({},n),{value:n.value??null})),resolveLabel:t=>t.value?.slice(1)??"?"},Ge={key:"video_source",icon:"album",allowNull:!0,contentTypes:["movie","tv_show","xxx"],extractInput:t=>t.videoSource,patchInput:(t,n)=>l(a({},t),{videoSource:n}),extractAggregations:t=>(t.videoSource??[]).map(n=>l(a({},n),{value:n.value??null})),resolveLabel:t=>t.value??"?"},j=[et,tt,nt,it,Je,Ue,Ge],J=[{field:"relevance",descending:!0},{field:"published_at",descending:!0},{field:"updated_at",descending:!0},{field:"size",descending:!0},{field:"files_count",descending:!0},{field:"seeders",descending:!0},{field:"leechers",descending:!0},{field:"name",descending:!1}],F={field:"published_at",descending:!0},U={field:"relevance",descending:!0},H=(t,n)=>!n||t&&n.includes(t);var We=(t,n)=>n.key,ot=(t,n)=>n.field,Ye=(t,n)=>n.value;function rt(t,n){if(t&1&&(p(0,"small"),m(1),b(2,"number"),u()),t&2){let e=n;c(),$("",e.isEstimate?"~":"","",T(2,2,e.count),"")}}function at(t,n){if(t&1&&(p(0,"small"),m(1),b(2,"number"),u()),t&2){let e=n;c(),$("",e.isEstimate?"~":"","",T(2,2,e.count),"")}}function ct(t,n){t&1&&(p(0,"small"),m(1,"0"),u())}function st(t,n){if(t&1){let e=P();p(0,"li",5),h("click",function(){_(e);let i=s().$implicit,r=s(2);return g(r.controller.selectContentType(i.key))}),p(1,"mat-icon"),m(2),u(),m(3),x(4,at,3,4,"small"),b(5,"async"),x(6,ct,2,0,"small"),u()}if(t&2){let e,o=s().$implicit,i=s().$implicit,r=s();L(r.controls.contentType===o.key?"active":""),c(2),E(o.icon),c(),S(" ",i("content_types.plural."+o.key)," "),c(),v((e=(e=T(5,5,r.dataSource.contentTypeCounts$))==null?null:e[o.key])?4:6,e)}}function lt(t,n){if(t&1&&(x(0,st,7,7,"li",23),b(1,"async")),t&2){let e,o=n.$implicit,i=s(2);v(o.key==="null"||(e=T(1,1,i.dataSource.availableContentTypes$))!=null&&e.includes(o.key)?0:-1)}}function pt(t,n){if(t&1){let e=P();p(0,"mat-checkbox",29),h("change",function(i){let r=_(e).$implicit,d=s(3).$implicit,w=s(2);return g(i.checked?w.controller.activateFilter(d,r.value):w.controller.deactivateFilter(d,r.value))}),m(1),p(2,"small"),m(3),b(4,"number"),u()()}if(t&2){let e=n.$implicit,o=s(3).$implicit;f("checked",o.filter==null?null:o.filter.includes(e.value)),c(),S(" ",e.label," "),c(2),$("",e.isEstimate?"~":"","",T(4,4,e.count),"")}}function ut(t,n){if(t&1&&(p(0,"section",26),k(1,pt,5,6,"mat-checkbox",28,Ye),u()),t&2){let e=s(2).$implicit;c(),I(e.aggregations)}}function mt(t,n){if(t&1){let e=P();p(0,"mat-checkbox",31),h("change",function(){let i=_(e).$implicit,r=s(4).$implicit,d=s(2);return g(d.controller.activateFilter(r,i.value))}),m(1),p(2,"small"),m(3),b(4,"number"),u()()}if(t&2){let e=n.$implicit;c(),S(" ",e.label," "),c(2),$("",e.isEstimate?"~":"","",T(4,3,e.count),"")}}function dt(t,n){if(t&1&&k(0,mt,5,5,"mat-checkbox",30,Ye),t&2){let e=s(3).$implicit;I(e.aggregations)}}function _t(t,n){if(t&1&&m(0),t&2){let e=s(4).$implicit;S(" ",e("general.none")," ")}}function gt(t,n){if(t&1&&(p(0,"section",27),x(1,dt,2,0)(2,_t,1,1),u()),t&2){let e=s(2).$implicit;c(),v(e.aggregations.length?1:2)}}function ft(t,n){if(t&1){let e=P();p(0,"mat-expansion-panel",25),h("opened",function(){_(e);let i=s().$implicit,r=s(2);return g(r.controller.activateFacet(i))})("closed",function(){_(e);let i=s().$implicit,r=s(2);return g(r.controller.deactivateFacet(i))}),p(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon"),m(4),u(),m(5),u()(),x(6,ut,3,0,"section",26)(7,gt,3,1,"section",27),u()}if(t&2){let e=s().$implicit,o=s().$implicit;f("expanded",e.active),c(4),E(e.icon),c(),S(" ",o("facets."+e.key)," "),c(),v(e.filter!=null&&e.filter.length?6:7)}}function ht(t,n){if(t&1&&x(0,ft,8,4,"mat-expansion-panel",24),t&2){let e=n.$implicit;v(e.relevant?0:-1)}}function xt(t,n){if(t&1){let e=P();p(0,"button",17),h("click",function(){_(e);let i=s(2);return i.queryString.reset(),g(i.controller.setQueryString(null))}),p(1,"mat-icon"),m(2,"close"),u()()}if(t&2){let e=s().$implicit;f("matTooltip",e("torrents.clear_search"))}}function Ct(t,n){if(t&1&&(p(0,"mat-option",32),m(1),u()),t&2){let e=s().$implicit,o=s().$implicit;f("value",e.field),c(),S(" ",o("torrents.ordering."+e.field)," ")}}function yt(t,n){if(t&1&&x(0,Ct,2,2,"mat-option",32),t&2){let e=n.$implicit,o=s(2);v(e.field!="relevance"||o.queryString.value?0:-1)}}function vt(t,n){if(t&1){let e=P();te(0),p(1,"mat-drawer-container",2)(2,"mat-drawer",3,0)(4,"mat-expansion-panel",4)(5,"mat-expansion-panel-header")(6,"mat-panel-title")(7,"mat-icon"),m(8,"interests"),u(),m(9),u()(),p(10,"section")(11,"nav")(12,"ul")(13,"li",5),h("click",function(){_(e);let i=s();return g(i.controller.selectContentType(null))}),p(14,"mat-icon",6),m(15,"emergency"),u(),m(16),x(17,rt,3,4,"small"),b(18,"async"),u(),k(19,lt,2,3,null,null,We),u()()()(),k(21,ht,1,1,null,null,We),b(23,"async"),u(),p(24,"mat-drawer-content")(25,"div",7)(26,"div",8)(27,"button",9),h("click",function(){_(e);let i=R(3);return g(i.toggle())}),p(28,"mat-icon",10),m(29),u()()(),p(30,"div",11)(31,"mat-form-field",12)(32,"input",13),h("keyup.enter",function(){_(e);let i=s();return g(i.controller.setQueryString(i.queryString.value))}),u(),x(33,xt,3,1,"button",14),u()(),p(34,"div",15)(35,"mat-form-field",12)(36,"mat-label"),m(37),u(),p(38,"mat-select",16),h("valueChange",function(i){_(e);let r=s();return g(r.controller.selectOrderBy(i))}),k(39,yt,1,1,null,null,ot),u()(),p(41,"button",17),h("click",function(){_(e);let i=s();return g(i.controller.toggleOrderByDirection())}),p(42,"mat-icon"),m(43),u()()(),p(44,"div",18)(45,"button",19),h("click",function(){_(e);let i=s();return g(i.dataSource.refresh())}),p(46,"mat-icon"),m(47,"sync"),u()()()(),A(48,"mat-divider"),p(49,"app-torrents-bulk-actions",20),h("updated",function(){_(e);let i=s();return g(i.dataSource.refresh())}),u(),A(50,"mat-divider"),p(51,"app-torrents-table",21),h("updated",function(){_(e);let i=s();return g(i.dataSource.refresh())}),u(),p(52,"app-paginator",22),h("paging",function(i){_(e);let r=s();return g(r.controller.handlePageEvent(i))}),u()()(),ne()}if(t&2){let e,o=n.$implicit,i=R(3),r=s();c(2),f("mode",r.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",r.breakpoints.sizeAtLeast("Medium")),ee("role",r.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),c(2),f("expanded",r.breakpoints.sizeAtLeast("Medium")),c(5),S(" ",o("facets.content_type")," "),c(4),L(r.controls.contentType===null?"active":""),c(3),S("",o("content_types.plural.all")," "),c(),v((e=T(18,29,r.dataSource.overallTotalCount$))?17:-1,e),c(2),I(r.contentTypes),c(2),I(T(23,31,r.facets$)),c(6),f("matTooltip",o("torrents.toggle_drawer")),c(2),E(i.opened?"arrow_circle_left":"arrow_circle_right"),c(3),f("placeholder",o("torrents.search"))("formControl",r.queryString),c(),v(r.queryString.value?33:-1),c(4),E(o("torrents.order_by")),c(),f("value",r.controls.orderBy.field),c(),I(r.orderByOptions),c(2),f("matTooltip",o("torrents.order_direction_toggle")),c(2),E(r.controls.orderBy.descending?"arrow_downward":"arrow_upward"),c(2),f("matTooltip",o("torrents.refresh")),c(4),f("selectedItems$",r.selectedItems$),c(2),f("dataSource",r.dataSource)("displayedColumns",r.breakpoints.sizeAtLeast("Medium")?r.allColumns:r.compactColumns)("selection",r.selection),c(),f("page",r.controls.page)("pageSize",r.controls.limit)("pageLength",r.dataSource.result.items.length)("totalLength",r.dataSource.result.totalCount)("totalIsEstimate",r.dataSource.result.totalCountIsEstimate)("hasNextPage",r.dataSource.result.hasNextPage)}}var fn=(()=>{class t{constructor(){this.route=O(ae),this.router=O(ce),this.apollo=O(ge),this.errorsService=O(Ce),this.transloco=O(se),this.breakpoints=O(Le),this.contentTypes=De,this.orderByOptions=J,this.allColumns=ze,this.compactColumns=Qe,this.queryString=new me(""),this.result=Q,this.selection=new _e(!0,[]),this.selectedItemsSubject=new y([]),this.selectedItems$=this.selectedItemsSubject.asObservable(),this.subscriptions=Array(),this.controls=l(a({},St),{language:this.transloco.getActiveLang()}),this.controller=new B(this.controls),this.dataSource=new V(this.apollo,this.errorsService,this.controller.params$),this.subscriptions.push(this.controller.controls$.subscribe(e=>{this.controls=e})),this.facets$=this.controller.controls$.pipe(Y(this.dataSource.result$),M(([e,o])=>j.map(i=>l(a(a({},i),i.extractInput(e.facets)),{relevant:!i.contentTypes||!!(e.contentType&&e.contentType!=="null"&&i.contentTypes.includes(e.contentType)),aggregations:i.extractAggregations(o.aggregations).map(r=>l(a({},r),{label:i.resolveLabel(r,this.transloco)}))})))),this.subscriptions.push(this.dataSource.result$.subscribe(e=>{this.result=e;let o=new Set(e.items.map(({infoHash:i})=>i));this.selection.deselect(...this.selection.selected.filter(i=>!o.has(i)))}))}ngOnInit(){this.subscriptions.push(this.route.queryParams.subscribe(e=>{let o=N(e,"query");this.queryString.setValue(o??null),this.controller.update(i=>{let r=D(e,"facets"),d=i.orderBy;return o?o!==i.queryString&&(d=U):d.field==="relevance"&&(d=F),l(a({},i),{queryString:o,orderBy:d,contentType:bt(e,"content_type"),limit:z(e,"limit")??i.limit,page:z(e,"page")??i.page,facets:j.reduce((w,q)=>{let Xe=r?.includes(q.key)??!1,Ze=D(e,q.key);return q.patchInput(w,{active:Xe,filter:Ze})},i.facets)})})}),this.controller.controls$.subscribe(e=>{let o=e.page,i=e.limit;o===1&&(o=void 0),i===Ke&&(i=void 0),this.router.navigate([],{relativeTo:this.route,queryParams:a({query:e.queryString?encodeURIComponent(e.queryString):void 0,page:o,limit:i,content_type:e.contentType},Tt(e.facets)),queryParamsHandling:"merge"})}),this.selection.changed.subscribe(e=>{let o=new Set(e.source.selected);this.selectedItemsSubject.next(this.result.items.filter(i=>o.has(i.infoHash)))}))}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe()),this.subscriptions=new Array}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=Z({type:t,selectors:[["app-torrents-search"]],standalone:!0,features:[ie],decls:1,vars:0,consts:[["drawer",""],[4,"transloco"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],[1,"panel-content-type",3,"expanded"],[3,"click"],["fontSet","material-icons"],[1,"search-form"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["aria-label","Side nav toggle icon","fontSet","material-icons"],[1,"form-field-container","form-field-container-search-query"],["subscriptSizing","dynamic"],["matInput","","autocapitalize","none",3,"keyup.enter","placeholder","formControl"],["mat-icon-button","",3,"matTooltip"],[1,"form-field-container","form-field-container-order-by"],[3,"valueChange","value"],["mat-icon-button","",3,"click","matTooltip"],[1,"form-field-container","button-container","button-container-refresh"],["mat-mini-fab","","color","primary",3,"click","matTooltip"],[3,"updated","selectedItems$"],[3,"updated","dataSource","displayedColumns","selection"],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","hasNextPage"],[3,"class"],[3,"expanded"],[3,"opened","closed","expanded"],[1,"filtered"],[1,"unfiltered"],[3,"checked"],[3,"change","checked"],["checked","true"],["checked","true",3,"change"],[3,"value"]],template:function(o,i){o&1&&x(0,vt,53,33,"ng-container",1)},dependencies:[je,fe,xe,he,Te,we,Me,Oe,Pe,be,Se,ke,Ie,$e,Ve,Be,Fe,Ee,pe,ue,de,le,oe,re,ve,qe,Ae,Ne],styles:[".mat-expansion-panel[_ngcontent-%COMP%]{margin-top:14px;margin-right:14px}.mat-expansion-panel[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:-10px}.mat-expansion-panel.panel-content-type[_ngcontent-%COMP%]{margin-top:20px}.mat-expansion-panel.panel-content-type[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:0}.mat-expansion-panel[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0;margin:0}.mat-expansion-panel[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative;line-height:40px;padding-left:40px}.mat-expansion-panel[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:absolute;left:0;top:8px}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{cursor:pointer}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{top:6px}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{float:right;font-size:.8rem}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{display:block}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] label{min-width:220px}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{margin-left:10px;position:absolute;right:0}.search-form[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;position:relative;clear:both;display:flex;flex-wrap:wrap}.search-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;position:relative;margin-left:20px;padding-bottom:20px}.search-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:8px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%]{padding-right:40px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%]{width:300px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%] .mat-mdc-form-field-infix{padding-right:50px}.search-form[_ngcontent-%COMP%] .button-container-toggle-direction[_ngcontent-%COMP%]{margin-left:4px}app-paginator[_ngcontent-%COMP%]{float:right;padding-top:14px;padding-bottom:20px}"],changeDetection:0})}}return t})(),Ke=20,St={language:"en",page:1,limit:Ke,contentType:null,orderBy:F,facets:{genre:C,language:C,fileType:C,torrentSource:C,torrentTag:C,videoResolution:C,videoSource:C}},bt=(t,n)=>{let e=N(t,n);return e&&e in Re?e:null},Tt=t=>{let[n,e]=j.reduce((o,i)=>{let r=i.extractInput(t);return r.active?[[...o[0],i.key],r.filter?l(a({},o[1]),{[i.key]:r.filter}):o[1]]:o},[[],{}]);return a({facets:n.length?n.join(","):void 0},Object.fromEntries(Object.entries(e).map(([o,i])=>[o,encodeURIComponent(i.join(","))])))};export{fn as TorrentsSearchComponent}; +import{a as D,b as N,c as z,d as Ae,e as Ne,f as ze,g as Qe}from"./chunk-RTNXCXB5.js";import{a as Re,b as De}from"./chunk-JS3YJKHP.js";import{a as qe}from"./chunk-RD4V5RUF.js";import"./chunk-2DNC66PX.js";import{a as Ce}from"./chunk-ZF4WX6G7.js";import{a as Le}from"./chunk-3AJEMLV6.js";import{Aa as Fe,Ba as Ve,Ca as Be,E as ye,J as ve,L as Se,M as be,Ua as je,a as se,b as le,ba as Te,d as pe,e as ue,f as me,g as de,h as _e,i as ge,ja as we,ka as Me,la as Oe,ma as Pe,n as fe,q as he,qa as ke,r as xe,ra as Ie,ya as Ee,za as $e}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import{j as ae,l as ce}from"./chunk-ZBBMS7J5.js";import{$ as X,$b as s,$c as oe,B as M,Cb as x,Ea as _,Fa as g,Gb as ee,Hb as f,Kb as L,Mb as v,N as W,O as Y,Ob as k,Pb as I,Q as K,Qb as p,Rb as u,Sb as A,Tb as te,Ub as ne,Wb as P,Zb as h,a,ad as re,b as l,jc as R,kb as c,kc as m,l as y,lc as E,mc as S,nc as $,o as G,pc as ie,qa as O,ua as Z,uc as b,vc as T}from"./chunk-FJILXII2.js";var Q={items:[],totalCount:0,totalCountIsEstimate:!1,aggregations:{}},V=class{constructor(n,e,o){this.apollo=n,this.errorsService=e,this.currentRequest=new y(0),this.loadingSubject=new y(!1),this.loading$=this.loadingSubject.asObservable(),this.result=Q,this.resultSubject=new y(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(M(i=>i.items)),this.overallTotalCount$=this.resultSubject.pipe(M(i=>{let r=0,d=!1;for(let w of i.aggregations.contentType??[])r+=w.count,d=d||w.isEstimate;return{count:r,isEstimate:d}})),this.availableContentTypes$=this.resultSubject.pipe(X((i,r)=>Array.from(new Set([...i,...(r.aggregations.contentType??[]).flatMap(d=>d.value?[d.value]:[])])),[])),this.contentTypeCounts$=this.resultSubject.pipe(M(i=>Object.fromEntries((i.aggregations.contentType??[]).map(r=>[r.value,{count:r.count,isEstimate:r.isEstimate}])))),o.subscribe(i=>{this.input=i.input,this.loadResult({input:l(a({},i.input),{cached:!0})})}),this.resultSubject.subscribe(i=>{this.result=i})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}refresh(){this.loadResult({input:l(a({},this.input),{cached:!1})})}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let o=this.apollo.query({query:ye,variables:n,fetchPolicy:"no-cache"}).pipe(M(i=>i.data.torrentContent.search)).pipe(W(i=>(this.errorsService.addError(`Error loading item results: ${i.message}`),G)));this.currentSubscription=o.subscribe(i=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(i))})}};var He=t=>({input:{queryString:t.queryString,limit:t.limit,page:t.page,totalCount:!0,hasNextPage:!0,orderBy:[t.orderBy],facets:{contentType:{aggregate:!0,filter:t.contentType?[t.contentType==="null"?null:t.contentType]:void 0},genre:t.facets.genre.active?{aggregate:!0,filter:t.facets.genre.filter}:void 0,language:t.facets.language.active?{aggregate:t.facets.language.active,filter:t.facets.language.filter}:void 0,torrentFileType:t.facets.fileType.active?{aggregate:!0,filter:t.facets.fileType.filter}:void 0,torrentSource:t.facets.torrentSource.active?{aggregate:!0,filter:t.facets.torrentSource.filter}:void 0,torrentTag:t.facets.torrentTag.active?{aggregate:!0,filter:t.facets.torrentTag.filter}:void 0,videoResolution:t.facets.videoResolution.active?{aggregate:!0,filter:t.facets.videoResolution.filter}:void 0,videoSource:t.facets.videoSource.active?{aggregate:!0,filter:t.facets.videoSource.filter}:void 0}}}),C={active:!1},B=class{constructor(n){this.controlsSubject=new y(n),this.controls$=this.controlsSubject.asObservable(),this.paramsSubject=new y(He(n)),this.params$=this.paramsSubject.asObservable(),this.controls$.pipe(K(100)).subscribe(e=>{let o=this.paramsSubject.getValue(),i=He(e);JSON.stringify(o)!==JSON.stringify(i)&&this.paramsSubject.next(i)})}update(n){let e=this.controlsSubject.getValue(),o=n(e);JSON.stringify(e)!==JSON.stringify(o)&&this.controlsSubject.next(o)}selectLanguage(n){this.update(e=>l(a({},e),{language:n}))}selectContentType(n){this.update(e=>l(a({},e),{contentType:n,page:1,facets:l(a({},e.facets),{genre:H(n,Je.contentTypes)?e.facets.genre:C,videoResolution:H(n,Ue.contentTypes)?e.facets.videoResolution:C,videoSource:H(n,Ge.contentTypes)?e.facets.videoSource:C})}))}activateFacet(n){this.update(e=>l(a({},e),{facets:n.patchInput(e.facets,l(a({},n.extractInput(e.facets)),{active:!0}))}))}deactivateFacet(n){this.update(e=>{let o=n.extractInput(e.facets);return l(a({},e),{page:o.filter?1:e.page,facets:n.patchInput(e.facets,l(a({},o),{active:!1,filter:void 0}))})})}activateFilter(n,e){this.update(o=>{let i=n.extractInput(o.facets);return l(a({},o),{page:1,facets:n.patchInput(o.facets,l(a({},i),{filter:Array.from(new Set([...i.filter??[],e])).sort()}))})})}deactivateFilter(n,e){this.update(o=>{let i=n.extractInput(o.facets),r=i.filter?.filter(d=>d!==e);return l(a({},o),{page:1,facets:n.patchInput(o.facets,l(a({},i),{filter:r?.length?r:void 0}))})})}setQueryString(n){n=n||void 0,this.update(e=>{let o=e.orderBy;return n?n!==e.queryString&&(o=U):o.field==="relevance"&&(o=F),l(a({},e),{queryString:n,orderBy:o,page:n===e.queryString?e.page:1})})}selectOrderBy(n){let e={field:n,descending:J.find(o=>o.field===n)?.descending??!1};this.update(o=>l(a({},o),{orderBy:e.field!=="relevance"||o.queryString?e:F,page:1}))}toggleOrderByDirection(){this.update(n=>l(a({},n),{orderBy:l(a({},n.orderBy),{descending:!n.orderBy.descending}),page:1}))}handlePageEvent(n){this.update(e=>l(a({},e),{limit:n.pageSize,page:n.page}))}},et={key:"torrent_source",icon:"mediation",allowNull:!1,extractInput:t=>t.torrentSource,patchInput:(t,n)=>l(a({},t),{torrentSource:n}),extractAggregations:t=>t.torrentSource??[],resolveLabel:t=>t.label},tt={key:"torrent_tag",icon:"sell",allowNull:!1,extractInput:t=>t.torrentTag,patchInput:(t,n)=>l(a({},t),{torrentTag:n}),extractAggregations:t=>t.torrentTag??[],resolveLabel:t=>t.value},nt={key:"file_type",icon:"file_present",allowNull:!1,extractInput:t=>t.fileType,patchInput:(t,n)=>l(a({},t),{fileType:n}),extractAggregations:t=>t.torrentFileType??[],resolveLabel:(t,n)=>n.translate(`file_types.${t.value}`)},it={key:"language",icon:"translate",allowNull:!1,extractInput:t=>t.language,patchInput:(t,n)=>l(a({},t),{language:n}),extractAggregations:t=>t.language??[],resolveLabel:(t,n)=>n.translate(`languages.${t.value}`)},Je={key:"genre",icon:"theater_comedy",allowNull:!1,contentTypes:["movie","tv_show"],extractInput:t=>t.genre,patchInput:(t,n)=>l(a({},t),{genre:n}),extractAggregations:t=>t.genre??[],resolveLabel:t=>t.label},Ue={key:"video_resolution",icon:"aspect_ratio",allowNull:!0,contentTypes:["movie","tv_show","xxx"],extractInput:t=>t.videoResolution,patchInput:(t,n)=>l(a({},t),{videoResolution:n}),extractAggregations:t=>(t.videoResolution??[]).map(n=>l(a({},n),{value:n.value??null})),resolveLabel:t=>t.value?.slice(1)??"?"},Ge={key:"video_source",icon:"album",allowNull:!0,contentTypes:["movie","tv_show","xxx"],extractInput:t=>t.videoSource,patchInput:(t,n)=>l(a({},t),{videoSource:n}),extractAggregations:t=>(t.videoSource??[]).map(n=>l(a({},n),{value:n.value??null})),resolveLabel:t=>t.value??"?"},j=[et,tt,nt,it,Je,Ue,Ge],J=[{field:"relevance",descending:!0},{field:"published_at",descending:!0},{field:"updated_at",descending:!0},{field:"size",descending:!0},{field:"files_count",descending:!0},{field:"seeders",descending:!0},{field:"leechers",descending:!0},{field:"name",descending:!1}],F={field:"published_at",descending:!0},U={field:"relevance",descending:!0},H=(t,n)=>!n||t&&n.includes(t);var We=(t,n)=>n.key,ot=(t,n)=>n.field,Ye=(t,n)=>n.value;function rt(t,n){if(t&1&&(p(0,"small"),m(1),b(2,"number"),u()),t&2){let e=n;c(),$("",e.isEstimate?"~":"","",T(2,2,e.count),"")}}function at(t,n){if(t&1&&(p(0,"small"),m(1),b(2,"number"),u()),t&2){let e=n;c(),$("",e.isEstimate?"~":"","",T(2,2,e.count),"")}}function ct(t,n){t&1&&(p(0,"small"),m(1,"0"),u())}function st(t,n){if(t&1){let e=P();p(0,"li",5),h("click",function(){_(e);let i=s().$implicit,r=s(2);return g(r.controller.selectContentType(i.key))}),p(1,"mat-icon"),m(2),u(),m(3),x(4,at,3,4,"small"),b(5,"async"),x(6,ct,2,0,"small"),u()}if(t&2){let e,o=s().$implicit,i=s().$implicit,r=s();L(r.controls.contentType===o.key?"active":""),c(2),E(o.icon),c(),S(" ",i("content_types.plural."+o.key)," "),c(),v((e=(e=T(5,5,r.dataSource.contentTypeCounts$))==null?null:e[o.key])?4:6,e)}}function lt(t,n){if(t&1&&(x(0,st,7,7,"li",23),b(1,"async")),t&2){let e,o=n.$implicit,i=s(2);v(o.key==="null"||(e=T(1,1,i.dataSource.availableContentTypes$))!=null&&e.includes(o.key)?0:-1)}}function pt(t,n){if(t&1){let e=P();p(0,"mat-checkbox",29),h("change",function(i){let r=_(e).$implicit,d=s(3).$implicit,w=s(2);return g(i.checked?w.controller.activateFilter(d,r.value):w.controller.deactivateFilter(d,r.value))}),m(1),p(2,"small"),m(3),b(4,"number"),u()()}if(t&2){let e=n.$implicit,o=s(3).$implicit;f("checked",o.filter==null?null:o.filter.includes(e.value)),c(),S(" ",e.label," "),c(2),$("",e.isEstimate?"~":"","",T(4,4,e.count),"")}}function ut(t,n){if(t&1&&(p(0,"section",26),k(1,pt,5,6,"mat-checkbox",28,Ye),u()),t&2){let e=s(2).$implicit;c(),I(e.aggregations)}}function mt(t,n){if(t&1){let e=P();p(0,"mat-checkbox",31),h("change",function(){let i=_(e).$implicit,r=s(4).$implicit,d=s(2);return g(d.controller.activateFilter(r,i.value))}),m(1),p(2,"small"),m(3),b(4,"number"),u()()}if(t&2){let e=n.$implicit;c(),S(" ",e.label," "),c(2),$("",e.isEstimate?"~":"","",T(4,3,e.count),"")}}function dt(t,n){if(t&1&&k(0,mt,5,5,"mat-checkbox",30,Ye),t&2){let e=s(3).$implicit;I(e.aggregations)}}function _t(t,n){if(t&1&&m(0),t&2){let e=s(4).$implicit;S(" ",e("general.none")," ")}}function gt(t,n){if(t&1&&(p(0,"section",27),x(1,dt,2,0)(2,_t,1,1),u()),t&2){let e=s(2).$implicit;c(),v(e.aggregations.length?1:2)}}function ft(t,n){if(t&1){let e=P();p(0,"mat-expansion-panel",25),h("opened",function(){_(e);let i=s().$implicit,r=s(2);return g(r.controller.activateFacet(i))})("closed",function(){_(e);let i=s().$implicit,r=s(2);return g(r.controller.deactivateFacet(i))}),p(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon"),m(4),u(),m(5),u()(),x(6,ut,3,0,"section",26)(7,gt,3,1,"section",27),u()}if(t&2){let e=s().$implicit,o=s().$implicit;f("expanded",e.active),c(4),E(e.icon),c(),S(" ",o("facets."+e.key)," "),c(),v(e.filter!=null&&e.filter.length?6:7)}}function ht(t,n){if(t&1&&x(0,ft,8,4,"mat-expansion-panel",24),t&2){let e=n.$implicit;v(e.relevant?0:-1)}}function xt(t,n){if(t&1){let e=P();p(0,"button",17),h("click",function(){_(e);let i=s(2);return i.queryString.reset(),g(i.controller.setQueryString(null))}),p(1,"mat-icon"),m(2,"close"),u()()}if(t&2){let e=s().$implicit;f("matTooltip",e("torrents.clear_search"))}}function Ct(t,n){if(t&1&&(p(0,"mat-option",32),m(1),u()),t&2){let e=s().$implicit,o=s().$implicit;f("value",e.field),c(),S(" ",o("torrents.ordering."+e.field)," ")}}function yt(t,n){if(t&1&&x(0,Ct,2,2,"mat-option",32),t&2){let e=n.$implicit,o=s(2);v(e.field!="relevance"||o.queryString.value?0:-1)}}function vt(t,n){if(t&1){let e=P();te(0),p(1,"mat-drawer-container",2)(2,"mat-drawer",3,0)(4,"mat-expansion-panel",4)(5,"mat-expansion-panel-header")(6,"mat-panel-title")(7,"mat-icon"),m(8,"interests"),u(),m(9),u()(),p(10,"section")(11,"nav")(12,"ul")(13,"li",5),h("click",function(){_(e);let i=s();return g(i.controller.selectContentType(null))}),p(14,"mat-icon",6),m(15,"emergency"),u(),m(16),x(17,rt,3,4,"small"),b(18,"async"),u(),k(19,lt,2,3,null,null,We),u()()()(),k(21,ht,1,1,null,null,We),b(23,"async"),u(),p(24,"mat-drawer-content")(25,"div",7)(26,"div",8)(27,"button",9),h("click",function(){_(e);let i=R(3);return g(i.toggle())}),p(28,"mat-icon",10),m(29),u()()(),p(30,"div",11)(31,"mat-form-field",12)(32,"input",13),h("keyup.enter",function(){_(e);let i=s();return g(i.controller.setQueryString(i.queryString.value))}),u(),x(33,xt,3,1,"button",14),u()(),p(34,"div",15)(35,"mat-form-field",12)(36,"mat-label"),m(37),u(),p(38,"mat-select",16),h("valueChange",function(i){_(e);let r=s();return g(r.controller.selectOrderBy(i))}),k(39,yt,1,1,null,null,ot),u()(),p(41,"button",17),h("click",function(){_(e);let i=s();return g(i.controller.toggleOrderByDirection())}),p(42,"mat-icon"),m(43),u()()(),p(44,"div",18)(45,"button",19),h("click",function(){_(e);let i=s();return g(i.dataSource.refresh())}),p(46,"mat-icon"),m(47,"sync"),u()()()(),A(48,"mat-divider"),p(49,"app-torrents-bulk-actions",20),h("updated",function(){_(e);let i=s();return g(i.dataSource.refresh())}),u(),A(50,"mat-divider"),p(51,"app-torrents-table",21),h("updated",function(){_(e);let i=s();return g(i.dataSource.refresh())}),u(),p(52,"app-paginator",22),h("paging",function(i){_(e);let r=s();return g(r.controller.handlePageEvent(i))}),u()()(),ne()}if(t&2){let e,o=n.$implicit,i=R(3),r=s();c(2),f("mode",r.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",r.breakpoints.sizeAtLeast("Medium")),ee("role",r.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),c(2),f("expanded",r.breakpoints.sizeAtLeast("Medium")),c(5),S(" ",o("facets.content_type")," "),c(4),L(r.controls.contentType===null?"active":""),c(3),S("",o("content_types.plural.all")," "),c(),v((e=T(18,29,r.dataSource.overallTotalCount$))?17:-1,e),c(2),I(r.contentTypes),c(2),I(T(23,31,r.facets$)),c(6),f("matTooltip",o("torrents.toggle_drawer")),c(2),E(i.opened?"arrow_circle_left":"arrow_circle_right"),c(3),f("placeholder",o("torrents.search"))("formControl",r.queryString),c(),v(r.queryString.value?33:-1),c(4),E(o("torrents.order_by")),c(),f("value",r.controls.orderBy.field),c(),I(r.orderByOptions),c(2),f("matTooltip",o("torrents.order_direction_toggle")),c(2),E(r.controls.orderBy.descending?"arrow_downward":"arrow_upward"),c(2),f("matTooltip",o("torrents.refresh")),c(4),f("selectedItems$",r.selectedItems$),c(2),f("dataSource",r.dataSource)("displayedColumns",r.breakpoints.sizeAtLeast("Medium")?r.allColumns:r.compactColumns)("selection",r.selection),c(),f("page",r.controls.page)("pageSize",r.controls.limit)("pageLength",r.dataSource.result.items.length)("totalLength",r.dataSource.result.totalCount)("totalIsEstimate",r.dataSource.result.totalCountIsEstimate)("hasNextPage",r.dataSource.result.hasNextPage)}}var fn=(()=>{class t{constructor(){this.route=O(ae),this.router=O(ce),this.apollo=O(ge),this.errorsService=O(Ce),this.transloco=O(se),this.breakpoints=O(Le),this.contentTypes=De,this.orderByOptions=J,this.allColumns=ze,this.compactColumns=Qe,this.queryString=new me(""),this.result=Q,this.selection=new _e(!0,[]),this.selectedItemsSubject=new y([]),this.selectedItems$=this.selectedItemsSubject.asObservable(),this.subscriptions=Array(),this.controls=l(a({},St),{language:this.transloco.getActiveLang()}),this.controller=new B(this.controls),this.dataSource=new V(this.apollo,this.errorsService,this.controller.params$),this.subscriptions.push(this.controller.controls$.subscribe(e=>{this.controls=e})),this.facets$=this.controller.controls$.pipe(Y(this.dataSource.result$),M(([e,o])=>j.map(i=>l(a(a({},i),i.extractInput(e.facets)),{relevant:!i.contentTypes||!!(e.contentType&&e.contentType!=="null"&&i.contentTypes.includes(e.contentType)),aggregations:i.extractAggregations(o.aggregations).map(r=>l(a({},r),{label:i.resolveLabel(r,this.transloco)}))})))),this.subscriptions.push(this.dataSource.result$.subscribe(e=>{this.result=e;let o=new Set(e.items.map(({infoHash:i})=>i));this.selection.deselect(...this.selection.selected.filter(i=>!o.has(i)))}))}ngOnInit(){this.subscriptions.push(this.route.queryParams.subscribe(e=>{let o=N(e,"query");this.queryString.setValue(o??null),this.controller.update(i=>{let r=D(e,"facets"),d=i.orderBy;return o?o!==i.queryString&&(d=U):d.field==="relevance"&&(d=F),l(a({},i),{queryString:o,orderBy:d,contentType:bt(e,"content_type"),limit:z(e,"limit")??i.limit,page:z(e,"page")??i.page,facets:j.reduce((w,q)=>{let Xe=r?.includes(q.key)??!1,Ze=D(e,q.key);return q.patchInput(w,{active:Xe,filter:Ze})},i.facets)})})}),this.controller.controls$.subscribe(e=>{let o=e.page,i=e.limit;o===1&&(o=void 0),i===Ke&&(i=void 0),this.router.navigate([],{relativeTo:this.route,queryParams:a({query:e.queryString?encodeURIComponent(e.queryString):void 0,page:o,limit:i,content_type:e.contentType},Tt(e.facets)),queryParamsHandling:"merge"})}),this.selection.changed.subscribe(e=>{let o=new Set(e.source.selected);this.selectedItemsSubject.next(this.result.items.filter(i=>o.has(i.infoHash)))}))}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe()),this.subscriptions=new Array}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=Z({type:t,selectors:[["app-torrents-search"]],standalone:!0,features:[ie],decls:1,vars:0,consts:[["drawer",""],[4,"transloco"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],[1,"panel-content-type",3,"expanded"],[3,"click"],["fontSet","material-icons"],[1,"search-form"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["aria-label","Side nav toggle icon","fontSet","material-icons"],[1,"form-field-container","form-field-container-search-query"],["subscriptSizing","dynamic"],["matInput","","autocapitalize","none",3,"keyup.enter","placeholder","formControl"],["mat-icon-button","",3,"matTooltip"],[1,"form-field-container","form-field-container-order-by"],[3,"valueChange","value"],["mat-icon-button","",3,"click","matTooltip"],[1,"form-field-container","button-container","button-container-refresh"],["mat-mini-fab","","color","primary",3,"click","matTooltip"],[3,"updated","selectedItems$"],[3,"updated","dataSource","displayedColumns","selection"],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","hasNextPage"],[3,"class"],[3,"expanded"],[3,"opened","closed","expanded"],[1,"filtered"],[1,"unfiltered"],[3,"checked"],[3,"change","checked"],["checked","true"],["checked","true",3,"change"],[3,"value"]],template:function(o,i){o&1&&x(0,vt,53,33,"ng-container",1)},dependencies:[je,fe,xe,he,Te,we,Me,Oe,Pe,be,Se,ke,Ie,$e,Ve,Be,Fe,Ee,pe,ue,de,le,oe,re,ve,qe,Ae,Ne],styles:[".mat-expansion-panel[_ngcontent-%COMP%]{margin-top:14px;margin-right:14px}.mat-expansion-panel[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:-10px}.mat-expansion-panel.panel-content-type[_ngcontent-%COMP%]{margin-top:20px}.mat-expansion-panel.panel-content-type[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:0}.mat-expansion-panel[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0;margin:0}.mat-expansion-panel[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative;line-height:40px;padding-left:40px}.mat-expansion-panel[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:absolute;left:0;top:8px}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{cursor:pointer}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{top:6px}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{float:right;font-size:.8rem}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{display:block}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] label{min-width:220px}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{margin-left:10px;position:absolute;right:0}.search-form[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;position:relative;clear:both;display:flex;flex-wrap:wrap}.search-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;position:relative;margin-left:20px;padding-bottom:20px}.search-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:8px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%]{padding-right:40px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%]{width:300px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%] .mat-mdc-form-field-infix{padding-right:50px}.search-form[_ngcontent-%COMP%] .button-container-toggle-direction[_ngcontent-%COMP%]{margin-left:4px}app-paginator[_ngcontent-%COMP%]{float:right;padding-top:14px;padding-bottom:20px}"],changeDetection:0})}}return t})(),Ke=20,St={language:"en",page:1,limit:Ke,contentType:null,orderBy:F,facets:{genre:C,language:C,fileType:C,torrentSource:C,torrentTag:C,videoResolution:C,videoSource:C}},bt=(t,n)=>{let e=N(t,n);return e&&e in Re?e:null},Tt=t=>{let[n,e]=j.reduce((o,i)=>{let r=i.extractInput(t);return r.active?[[...o[0],i.key],r.filter?l(a({},o[1]),{[i.key]:r.filter}):o[1]]:o},[[],{}]);return a({facets:n.length?n.join(","):void 0},Object.fromEntries(Object.entries(e).map(([o,i])=>[o,encodeURIComponent(i.join(","))])))};export{fn as TorrentsSearchComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-3RUUGSNJ.js b/webui/dist/bitmagnet/browser/chunk-RD4V5RUF.js similarity index 97% rename from webui/dist/bitmagnet/browser/chunk-3RUUGSNJ.js rename to webui/dist/bitmagnet/browser/chunk-RD4V5RUF.js index 46f83642..15e7ebbe 100644 --- a/webui/dist/bitmagnet/browser/chunk-3RUUGSNJ.js +++ b/webui/dist/bitmagnet/browser/chunk-RD4V5RUF.js @@ -1 +1 @@ -import{a as Q}from"./chunk-JIO2QO4M.js";import{L as H,M as j,Ua as K,a as N,b as A,n as $,qa as q,r as D,ya as G,za as J}from"./chunk-HB55W55I.js";import{$b as o,Cb as x,Ea as m,Fa as _,Hb as c,Kc as C,Mb as P,Na as T,Nb as L,Ob as w,Pb as z,Qb as a,Rb as p,Tb as M,Ub as E,Wb as b,Zb as u,ad as B,kb as s,kc as l,mc as f,pc as V,qa as v,rc as k,sc as F,tc as O,ua as S,uc as d,vc as h,xa as y,zb as I}from"./chunk-FJILXII2.js";var U=(t,r,i)=>({x:t,y:r,z:i}),W=(t,r)=>({x:t,y:r}),X=t=>[null,t];function Y(t,r){if(t&1&&(a(0,"mat-option",4),l(1),p()),t&2){let i=r.$implicit;c("value",i),s(),f(" ",i," ")}}function Z(t,r){if(t&1&&(l(0),d(1,"number"),d(2,"number"),d(3,"number")),t&2){let i=o().$implicit,e=o();f(" ",i("paginator.x_to_y_of_z",O(7,U,h(1,1,e.firstItemIndex),h(2,3,e.lastItemIndex),(e.totalIsEstimate?"~":"")+h(3,5,e.totalLength)))," ")}}function tt(t,r){if(t&1&&(l(0),d(1,"number"),d(2,"number")),t&2){let i=o().$implicit,e=o();f(" ",i("paginator.x_to_y",F(5,W,h(1,1,e.firstItemIndex),h(2,3,e.lastItemIndex)))," ")}}function et(t,r){if(t&1){let i=b();a(0,"button",7),u("click",function(){let n;m(i);let g=o(2);return g.page=(n=g.pageCount)!==null&&n!==void 0?n:1,_(g.emitChange())}),a(1,"mat-icon"),l(2,"last_page"),p()()}if(t&2){let i=o().$implicit,e=o();c("disabled",k(2,X,e.page).includes(e.pageCount))("matTooltip",i("paginator.last_page"))}}function it(t,r){if(t&1){let i=b();M(0),a(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),l(4,"Items per page"),p(),a(5,"mat-select",3),u("valueChange",function(n){m(i);let g=o();return g.pageSize=n,g.page=1,_(g.emitChange())}),w(6,Y,2,2,"mat-option",4,L),p()(),a(8,"p",5),x(9,Z,4,11)(10,tt,3,8),p(),a(11,"div",6)(12,"button",7),u("click",function(){m(i);let n=o();return n.page=1,_(n.emitChange())}),a(13,"mat-icon"),l(14,"first_page"),p()(),a(15,"button",7),u("click",function(){m(i);let n=o();return n.page=n.page-1,_(n.emitChange())}),a(16,"mat-icon"),l(17,"navigate_before"),p()(),a(18,"button",7),u("click",function(){m(i);let n=o();return n.page=n.page+1,_(n.emitChange())}),a(19,"mat-icon"),l(20,"navigate_next"),p()(),x(21,et,3,4,"button",8),p()(),E()}if(t&2){let i=r.$implicit,e=o();s(5),c("value",e.pageSize),s(),z(e.pageSizes),s(3),P(e.hasTotalLength?9:10),s(3),c("disabled",!e.hasPreviousPage)("matTooltip",i("paginator.first_page")),s(3),c("disabled",!e.hasPreviousPage)("matTooltip",i("paginator.previous_page")),s(3),c("disabled",!e.actuallyHasNextPage)("matTooltip",i("paginator.next_page")),s(3),P(e.showLastPage?21:-1)}}var ht=(()=>{class t{constructor(){this.page=1,this.pageSize=10,this.pageSizes=[10,20,50,100],this.pageLength=0,this.totalLength=null,this.totalIsEstimate=!1,this.hasNextPage=null,this.showLastPage=!1,this.paging=new T}get firstItemIndex(){return(this.page-1)*this.pageSize+1}get lastItemIndex(){return(this.page-1)*this.pageSize+this.pageLength}get hasTotalLength(){return typeof this.totalLength=="number"}get hasPreviousPage(){return this.page>1}get pageCount(){return typeof this.totalLength!="number"?null:Math.ceil(this.totalLength/this.pageSize)}get actuallyHasNextPage(){return typeof this.hasNextPage=="boolean"?this.hasNextPage:typeof this.totalLength!="number"?!1:this.page*this.pageSize *[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.paginator[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 20px}.paginator[_ngcontent-%COMP%] .field-items-per-page[_ngcontent-%COMP%]{width:140px}"]})}}return t})();var vt=(()=>{class t{constructor(){this.transloco=v(N)}transform(i){return Q(i,this.transloco.getActiveLang())}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=y({name:"timeAgo",type:t,pure:!1,standalone:!0})}}return t})();export{ht as a,vt as b}; +import{a as Q}from"./chunk-2DNC66PX.js";import{L as H,M as j,Ua as K,a as N,b as A,n as $,qa as q,r as D,ya as G,za as J}from"./chunk-Z6GE3BUT.js";import{$b as o,Cb as x,Ea as m,Fa as _,Hb as c,Kc as C,Mb as P,Na as T,Nb as L,Ob as w,Pb as z,Qb as a,Rb as p,Tb as M,Ub as E,Wb as b,Zb as u,ad as B,kb as s,kc as l,mc as f,pc as V,qa as v,rc as k,sc as F,tc as O,ua as S,uc as d,vc as h,xa as y,zb as I}from"./chunk-FJILXII2.js";var U=(t,r,i)=>({x:t,y:r,z:i}),W=(t,r)=>({x:t,y:r}),X=t=>[null,t];function Y(t,r){if(t&1&&(a(0,"mat-option",4),l(1),p()),t&2){let i=r.$implicit;c("value",i),s(),f(" ",i," ")}}function Z(t,r){if(t&1&&(l(0),d(1,"number"),d(2,"number"),d(3,"number")),t&2){let i=o().$implicit,e=o();f(" ",i("paginator.x_to_y_of_z",O(7,U,h(1,1,e.firstItemIndex),h(2,3,e.lastItemIndex),(e.totalIsEstimate?"~":"")+h(3,5,e.totalLength)))," ")}}function tt(t,r){if(t&1&&(l(0),d(1,"number"),d(2,"number")),t&2){let i=o().$implicit,e=o();f(" ",i("paginator.x_to_y",F(5,W,h(1,1,e.firstItemIndex),h(2,3,e.lastItemIndex)))," ")}}function et(t,r){if(t&1){let i=b();a(0,"button",7),u("click",function(){let n;m(i);let g=o(2);return g.page=(n=g.pageCount)!==null&&n!==void 0?n:1,_(g.emitChange())}),a(1,"mat-icon"),l(2,"last_page"),p()()}if(t&2){let i=o().$implicit,e=o();c("disabled",k(2,X,e.page).includes(e.pageCount))("matTooltip",i("paginator.last_page"))}}function it(t,r){if(t&1){let i=b();M(0),a(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),l(4,"Items per page"),p(),a(5,"mat-select",3),u("valueChange",function(n){m(i);let g=o();return g.pageSize=n,g.page=1,_(g.emitChange())}),w(6,Y,2,2,"mat-option",4,L),p()(),a(8,"p",5),x(9,Z,4,11)(10,tt,3,8),p(),a(11,"div",6)(12,"button",7),u("click",function(){m(i);let n=o();return n.page=1,_(n.emitChange())}),a(13,"mat-icon"),l(14,"first_page"),p()(),a(15,"button",7),u("click",function(){m(i);let n=o();return n.page=n.page-1,_(n.emitChange())}),a(16,"mat-icon"),l(17,"navigate_before"),p()(),a(18,"button",7),u("click",function(){m(i);let n=o();return n.page=n.page+1,_(n.emitChange())}),a(19,"mat-icon"),l(20,"navigate_next"),p()(),x(21,et,3,4,"button",8),p()(),E()}if(t&2){let i=r.$implicit,e=o();s(5),c("value",e.pageSize),s(),z(e.pageSizes),s(3),P(e.hasTotalLength?9:10),s(3),c("disabled",!e.hasPreviousPage)("matTooltip",i("paginator.first_page")),s(3),c("disabled",!e.hasPreviousPage)("matTooltip",i("paginator.previous_page")),s(3),c("disabled",!e.actuallyHasNextPage)("matTooltip",i("paginator.next_page")),s(3),P(e.showLastPage?21:-1)}}var ht=(()=>{class t{constructor(){this.page=1,this.pageSize=10,this.pageSizes=[10,20,50,100],this.pageLength=0,this.totalLength=null,this.totalIsEstimate=!1,this.hasNextPage=null,this.showLastPage=!1,this.paging=new T}get firstItemIndex(){return(this.page-1)*this.pageSize+1}get lastItemIndex(){return(this.page-1)*this.pageSize+this.pageLength}get hasTotalLength(){return typeof this.totalLength=="number"}get hasPreviousPage(){return this.page>1}get pageCount(){return typeof this.totalLength!="number"?null:Math.ceil(this.totalLength/this.pageSize)}get actuallyHasNextPage(){return typeof this.hasNextPage=="boolean"?this.hasNextPage:typeof this.totalLength!="number"?!1:this.page*this.pageSize *[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.paginator[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 20px}.paginator[_ngcontent-%COMP%] .field-items-per-page[_ngcontent-%COMP%]{width:140px}"]})}}return t})();var vt=(()=>{class t{constructor(){this.transloco=v(N)}transform(i){return Q(i,this.transloco.getActiveLang())}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=y({name:"timeAgo",type:t,pure:!1,standalone:!0})}}return t})();export{ht as a,vt as b}; diff --git a/webui/dist/bitmagnet/browser/chunk-RJXZVS5Q.js b/webui/dist/bitmagnet/browser/chunk-RJXZVS5Q.js deleted file mode 100644 index 08d18332..00000000 --- a/webui/dist/bitmagnet/browser/chunk-RJXZVS5Q.js +++ /dev/null @@ -1,3 +0,0 @@ -import{c as Lt,d as Nt,e as jt,f as Gt}from"./chunk-EF5HJP6V.js";import{b as Qt}from"./chunk-3RUUGSNJ.js";import{a as dt}from"./chunk-33KK2FKQ.js";import{a as R}from"./chunk-TC5EWLZ6.js";import{$ as wt,Da as kt,Ea as It,Fa as Et,Ga as At,Ha as Pt,I as _t,Ia as Ot,Ja as Vt,K as ut,Ka as Dt,La as Bt,M as gt,Ma as $t,N as xt,Na as Rt,O as Ct,Oa as Ht,P as ht,Pa as zt,Qa as Ft,R as Tt,T as ft,Ua as $,X as bt,Z as vt,aa as St,b as V,ba as yt,d as rt,e as lt,f as st,g as ct,n as mt,o as pt,qa as D,va as Mt,ya as B}from"./chunk-HB55W55I.js";import{c as it,d as ot,g as Q,h as j,i as at}from"./chunk-6XXA7HXI.js";import{j as et,l as nt}from"./chunk-ZBBMS7J5.js";import{$b as s,$c as tt,Cb as p,Ea as _,Fa as u,Gb as Y,Hb as m,Kb as J,Mb as w,N as k,Na as A,Nb as H,Ob as z,Pb as F,Qb as l,Rb as r,Sb as h,Tb as T,Ub as f,Wb as b,Zb as g,cc as L,h as U,ha as y,hb as K,jc as N,kb as o,kc as c,l as q,lc as x,mc as S,nc as W,o as M,pc as P,qa as v,qc as X,ua as E,uc as I,vc as O,wc as Z}from"./chunk-FJILXII2.js";var Ae=(e,a)=>{let n=G(e,a)?.split(",").map(i=>i.trim()).filter(Boolean);return n?.length?Array.from(new Set(n)).sort():void 0},G=(e,a)=>typeof e[a]=="string"&&decodeURIComponent(e[a])||void 0,Pe=(e,a)=>{if(e&&e[a]&&/^\d+$/.test(e[a]))return parseInt(e[a])};function Jt(e,a){if(e&1&&(l(0,"span",7),c(1),r()),e&2){let t=s(2).$implicit;o(),x(t("torrents.copy"))}}function Wt(e,a){if(e&1&&(l(0,"mat-icon"),c(1,"content_copy"),r(),p(2,Jt,2,1,"span",7)),e&2){let t=s(2);o(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function Xt(e,a){if(e&1&&(l(0,"mat-card")(1,"mat-card-actions",8)(2,"button",9),h(3,"mat-icon",10),c(4),r(),l(5,"button",9)(6,"mat-icon"),c(7,"tag"),r(),c(8),r()()()),e&2){let t=s().$implicit,n=s();o(2),m("disabled",!n.selectedItems.length)("cdkCopyToClipboard",n.getSelectedMagnetLinks()),o(2),S("",t("torrents.magnet_links")," "),o(),m("disabled",!n.selectedItems.length)("cdkCopyToClipboard",n.getSelectedInfoHashes()),o(3),S("",t("torrents.info_hashes")," ")}}function Zt(e,a){if(e&1&&(l(0,"span",7),c(1),r()),e&2){let t=s(2).$implicit;o(),x(t("torrents.edit_tags"))}}function te(e,a){if(e&1&&(l(0,"mat-icon"),c(1,"sell"),r(),p(2,Zt,2,1,"span",7)),e&2){let t=s(2);o(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ee(e,a){if(e&1){let t=b();l(0,"mat-chip-row",20),g("edited",function(i){let d=_(t).$implicit,C=s(3);return u(C.renameTag(d,i.value))})("removed",function(){let i=_(t).$implicit,d=s(3);return u(d.deleteTag(i))}),c(1),l(2,"mat-icon",21),c(3,"cancel"),r()()}if(e&2){let t=a.$implicit;m("editable",!0)("aria-description","press enter to edit"),o(),S(" ",t," ")}}function ne(e,a){if(e&1&&(l(0,"mat-option",16),c(1),r()),e&2){let t=a.$implicit;m("value",t),o(),x(t)}}function ie(e,a){if(e&1){let t=b();l(0,"mat-card")(1,"mat-form-field",11)(2,"mat-chip-grid",12,0),z(4,ee,4,3,"mat-chip-row",13,H),r(),l(6,"input",14),g("matChipInputTokenEnd",function(i){_(t);let d=s(2);return u(i.value&&d.addTag(i.value))}),r(),l(7,"mat-autocomplete",15,1),g("optionSelected",function(i){_(t);let d=s(2);return u(d.addTag(i.option.viewValue))}),z(9,ne,2,2,"mat-option",16,H),r()(),l(11,"mat-card-actions",8)(12,"button",17),g("click",function(){_(t);let i=s(2);return u(i.setTags())}),c(13," Set tags "),r(),l(14,"button",18),g("click",function(){_(t);let i=s(2);return u(i.putTags())}),c(15," Put tags "),r(),l(16,"button",19),g("click",function(){_(t);let i=s(2);return u(i.deleteTags())}),c(17," Delete tags "),r()()()}if(e&2){let t=N(3),n=N(8),i=s(2);o(4),F(i.editedTags),o(2),m("formControl",i.newTagCtrl)("matAutocomplete",n)("matChipInputFor",t)("matChipInputSeparatorKeyCodes",i.separatorKeysCodes)("value",i.newTagCtrl.value),o(3),F(i.suggestedTags),o(3),m("disabled",!i.selectedItems.length),o(2),m("disabled",!i.selectedItems.length||!i.editedTags.length&&!i.newTagCtrl.value),o(2),m("disabled",!i.selectedItems.length||!i.editedTags.length&&!i.newTagCtrl.value)}}function oe(e,a){if(e&1&&(l(0,"span",7),c(1),r()),e&2){let t=s(2).$implicit;o(),x(t("torrents.delete"))}}function ae(e,a){if(e&1&&(l(0,"mat-icon"),c(1,"delete_forever"),r(),p(2,oe,2,1,"span",7)),e&2){let t=s(2);o(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function re(e,a){if(e&1){let t=b();l(0,"mat-card")(1,"mat-card-content")(2,"p")(3,"strong"),c(4,"Are you sure you want to delete the selected torrents?"),r(),h(5,"br"),c(6,"This action cannot be undone. "),r()(),l(7,"mat-card-actions",8)(8,"button",22),g("click",function(){_(t);let i=s(2);return u(i.deleteTorrents())}),l(9,"mat-icon"),c(10,"delete_forever"),r(),c(11,"Delete "),r()()()}if(e&2){let t=s(2);o(8),m("disabled",!t.selectedItems.length)}}function le(e,a){e&1&&(l(0,"mat-icon",23),c(1,"close"),r())}function se(e,a){e&1&&(l(0,"mat-tab"),p(1,le,2,0,"ng-template",5),r())}function ce(e,a){if(e&1){let t=b();T(0),l(1,"mat-tab-group",3),g("focusChange",function(i){_(t);let d=s();return u(d.selectTab(i.index==4?0:i.index))}),h(2,"mat-tab",4),l(3,"mat-tab"),p(4,Wt,3,1,"ng-template",5)(5,Xt,9,6,"ng-template",6),r(),l(6,"mat-tab"),p(7,te,3,1,"ng-template",5)(8,ie,18,8,"ng-template",6),r(),l(9,"mat-tab"),p(10,ae,3,1,"ng-template",5)(11,re,12,1,"ng-template",6),r(),p(12,se,2,0,"mat-tab"),r(),f()}if(e&2){let t=s();o(),m("selectedIndex",t.selectedTabIndex)("mat-stretch-tabs",!1),o(),m("aria-labelledby","hidden"),o(10),w(t.selectedTabIndex>0?12:-1)}}var tn=(()=>{class e{constructor(){this.graphQLService=v(_t),this.errorsService=v(dt),this.breakpoints=v(R),this.selectedItems$=new U,this.updated=new A,this.separatorKeysCodes=[13,188],this.selectedTabIndex=0,this.newTagCtrl=new st(""),this.editedTags=Array(),this.suggestedTags=Array(),this.selectedItems=new Array}ngOnInit(){this.selectedItems$.subscribe(t=>{this.selectedItems=t})}selectTab(t){this.selectedTabIndex=t}getSelectedMagnetLinks(){return this.selectedItems.map(t=>t.torrent.magnetUri).join(` -`)}getSelectedInfoHashes(){return this.selectedItems.map(t=>t.infoHash).join(` -`)}addTag(t){this.editedTags.includes(t)||this.editedTags.push(t),this.newTagCtrl.reset(),this.updateSuggestedTags()}deleteTag(t){this.editedTags=this.editedTags.filter(n=>n!==t),this.updateSuggestedTags()}renameTag(t,n){this.editedTags=this.editedTags.map(i=>i===t?n:i),this.updateSuggestedTags()}putTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentPutTags({infoHashes:t,tagNames:this.editedTags}).pipe(k(n=>(this.errorsService.addError(`Error putting tags: ${n.message}`),M))).pipe(y(()=>{this.updated.emit()})).subscribe()}setTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentSetTags({infoHashes:t,tagNames:this.editedTags}).pipe(k(n=>(this.errorsService.addError(`Error setting tags: ${n.message}`),M))).pipe(y(()=>{this.updated.emit()})).subscribe()}deleteTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentDeleteTags({infoHashes:t,tagNames:this.editedTags}).pipe(k(n=>(this.errorsService.addError(`Error deleting tags: ${n.message}`),M))).pipe(y(()=>{this.updated.emit()})).subscribe()}updateSuggestedTags(){return this.graphQLService.torrentSuggestTags({input:{prefix:this.newTagCtrl.value,exclusions:this.editedTags}}).pipe(y(t=>{this.suggestedTags.splice(0,this.suggestedTags.length,...t.suggestions.map(n=>n.name))})).subscribe()}deleteTorrents(){let t=this.selectedItems.map(({infoHash:n})=>n);this.graphQLService.torrentDelete({infoHashes:t}).pipe(k(n=>(this.errorsService.addError(`Error deleting torrents: ${n.message}`),M))).pipe(y(()=>{this.updated.emit()})).subscribe()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=E({type:e,selectors:[["app-torrents-bulk-actions"]],inputs:{selectedItems$:"selectedItems$"},outputs:{updated:"updated"},standalone:!0,features:[P],decls:1,vars:0,consts:[["chipGrid",""],["auto","matAutocomplete"],[4,"transloco"],["animationDuration","0",1,"tab-group-bulk-actions",3,"focusChange","selectedIndex","mat-stretch-tabs"],[1,"bulk-tab-placeholder",3,"aria-labelledby"],["mat-tab-label",""],["matTabContent",""],[1,"label"],[1,"button-row"],["mat-stroked-button","",3,"disabled","cdkCopyToClipboard"],["svgIcon","magnet"],["subscriptSizing","dynamic",1,"form-edit-tags"],["aria-label","Enter tags"],[3,"editable","aria-description"],["placeholder","Tag...",3,"matChipInputTokenEnd","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","value"],[3,"optionSelected"],[3,"value"],["mat-stroked-button","","color","primary","matTooltip","Replace tags of the selected torrents",3,"click","disabled"],["mat-stroked-button","","color","primary","matTooltip","Add tags to the selected torrents",3,"click","disabled"],["mat-stroked-button","","color","primary","matTooltip","Remove tags from the selected torrents",3,"click","disabled"],[3,"edited","removed","editable","aria-description"],["matChipRemove",""],["mat-stroked-button","","color","warn",3,"click","disabled"],[2,"margin-right","0"]],template:function(n,i){n&1&&p(0,ce,13,4,"ng-container",2)},dependencies:[$,ut,xt,mt,Ct,pt,ht,ft,Tt,wt,St,bt,vt,gt,D,Rt,Ht,zt,Ft,B,rt,lt,ct,V],styles:["mat-tab-group[_ngcontent-%COMP%]{padding-left:10px}button[_ngcontent-%COMP%]{margin-right:10px}p[_ngcontent-%COMP%]{margin-top:0} .mdc-tab[aria-labelledby=hidden]{display:none}"]})}}return e})();var me=()=>["expandedDetail"];function pe(e,a){if(e&1){let t=b();l(0,"th",19)(1,"mat-checkbox",20),g("change",function(){_(t);let i=s(2);return u(i.toggleAllRows())}),r()()}if(e&2){let t=s().$implicit,n=s();o(),m("checked",n.selection.hasValue()&&n.isAllSelected())("indeterminate",n.selection.hasValue()&&!n.isAllSelected())("matTooltip",n.isAllSelected()?t("torrents.deselect_all"):t("torrents.select_all"))}}function de(e,a){if(e&1){let t=b();l(0,"td",21)(1,"mat-checkbox",22),g("click",function(i){return _(t),u(i.stopPropagation())})("change",function(i){let d=_(t).$implicit,C=s(2);return u(i?C.selection.toggle(C.item(d).infoHash):null)}),r()()}if(e&2){let t=a.$implicit,n=s(2);o(),m("checked",n.selection.isSelected(n.item(t).infoHash))}}function _e(e,a){if(e&1&&(l(0,"th",19),c(1),r()),e&2){let t=s().$implicit;o(),x(t("torrents.summary"))}}function ue(e,a){if(e&1&&(l(0,"p",26),c(1),r()),e&2){let t=s().$implicit,n=s(2);o(),x(n.item(t).torrent.name)}}function ge(e,a){if(e&1){let t=b();l(0,"td",23),g("click",function(i){let d=_(t).$implicit;return s(2).toggleTorrentContentId(d.id),u(i.stopPropagation())}),l(1,"mat-icon",24),c(2),r(),l(3,"span",25),c(4),r(),p(5,ue,2,1,"p",26),h(6,"app-torrent-chips",27),r()}if(e&2){let t,n,i=a.$implicit,d=s().$implicit,C=s();o(),m("matTooltip",d("content_types.singular."+((t=C.item(i).contentType)!==null&&t!==void 0?t:"null"))),o(),x((n=(n=C.contentTypeInfo(C.item(i).contentType))==null?null:n.icon)!==null&&n!==void 0?n:"question_mark"),o(2),x(C.item(i).title),o(),w(C.item(i).title!==C.item(i).torrent.name?5:-1),o(),m("torrentContent",i)}}function xe(e,a){if(e&1&&(l(0,"th",19),c(1),r()),e&2){let t=s().$implicit;o(),x(t("torrents.size"))}}function Ce(e,a){if(e&1&&(l(0,"td",21)(1,"span",28),I(2,"filesize"),c(3),I(4,"filesize"),r()()),e&2){let t=a.$implicit,n=s(2);o(),m("matTooltip",Z(2,2,n.item(t).torrent.size,10)),o(2),x(O(4,5,n.item(t).torrent.size))}}function he(e,a){if(e&1&&(l(0,"th",19),c(1),r()),e&2){let t=s().$implicit;o(),x(t("torrents.published"))}}function Te(e,a){if(e&1&&(l(0,"td",29)(1,"abbr",30),c(2),I(3,"timeAgo"),r()()),e&2){let t=a.$implicit,n=s(2);o(),L("matTooltip",n.item(t).publishedAt),o(),S(" ",O(3,2,n.item(t).publishedAt)," ")}}function fe(e,a){if(e&1&&(l(0,"th",19)(1,"abbr",24),c(2),r()()),e&2){let t=s().$implicit;o(),m("matTooltip",t("torrents.seeders")+" / "+t("torrents.leechers")),o(),x(t("torrents.s_l"))}}function be(e,a){if(e&1&&(l(0,"td",21),c(1),r()),e&2){let t,n=a.$implicit,i=s(2);o(),W(" ",(t=i.item(n).seeders)!==null&&t!==void 0?t:"?"," / ",(t=i.item(n).leechers)!==null&&t!==void 0?t:"?"," ")}}function ve(e,a){if(e&1&&(l(0,"th",31),c(1),r()),e&2){let t=s().$implicit;o(),S(" ",t("torrents.magnet")," ")}}function we(e,a){if(e&1&&(l(0,"td",21)(1,"a",32),h(2,"mat-icon",33),r()()),e&2){let t=a.$implicit,n=s(2);o(),L("href",n.item(t).torrent.magnetUri,K)}}function Se(e,a){if(e&1){let t=b();l(0,"td",21)(1,"div",34)(2,"app-torrent-content",35),g("updated",function(){let i=_(t).$implicit,d=s(2);return u(d.updated.emit(d.item(i).infoHash))}),r()()()}if(e&2){let t=a.$implicit,n=s(2);Y("colspan",n.displayedColumns.length),o(),m("@detailExpand",n.expandedId.getValue()===t.id?"expanded":"collapsed"),o(),m("torrentContent",t)("size",!1)("published",n.breakpoints.sizeAtLeast("Medium"))("peers",n.breakpoints.sizeAtLeast("Medium"))}}function ye(e,a){e&1&&h(0,"tr",36)}function Me(e,a){if(e&1&&h(0,"tr",37),e&2){let t=a.$implicit,n=s(2);J("summary-row "+(t.id===n.expandedId.getValue()?"expanded":"collapsed"))}}function ke(e,a){e&1&&h(0,"tr",38)}function Ie(e,a){if(e&1&&(T(0),l(1,"div",1),h(2,"mat-progress-bar",2),I(3,"async"),r(),l(4,"table",3),T(5,4),p(6,pe,2,3,"th",5)(7,de,2,1,"td",6),f(),T(8,7),p(9,_e,2,1,"th",5)(10,ge,7,5,"td",8),f(),T(11,9),p(12,xe,2,1,"th",5)(13,Ce,5,7,"td",6),f(),T(14,10),p(15,he,2,1,"th",5)(16,Te,4,4,"td",11),f(),T(17,12),p(18,fe,3,2,"th",5)(19,be,2,2,"td",6),f(),T(20,13),p(21,ve,2,1,"th",14)(22,we,3,1,"td",6),f(),T(23,15),p(24,Se,3,6,"td",6),f(),p(25,ye,1,0,"tr",16)(26,Me,1,2,"tr",17)(27,ke,1,0,"tr",18),r(),f()),e&2){let t=s();o(2),m("mode",O(3,7,t.dataSource.loading$)?"indeterminate":"determinate")("value",0),o(2),m("dataSource",t.dataSource)("multiTemplateDataRows",!0),o(21),m("matHeaderRowDef",t.displayedColumns),o(),m("matRowDefColumns",t.displayedColumns),o(),m("matRowDefColumns",X(9,me))}}var vn=(()=>{class e{constructor(){this.route=v(et),this.router=v(nt),this.breakpoints=v(R),this.contentTypeInfo=Lt,this.displayedColumns=Ee,this.updated=new A,this.items=Array(),this.expandedId=new q(null)}ngOnInit(){this.dataSource.items$.subscribe(t=>{this.items=t}),this.route.queryParams.subscribe(t=>{let n=this.expandedId.getValue()??void 0,i=G(t,"expanded");n!==i&&this.expandedId.next(i??null)}),this.expandedId.subscribe(t=>{this.router.navigate([],{relativeTo:this.route,queryParams:{expanded:t?encodeURIComponent(t):void 0},queryParamsHandling:"merge"})})}isAllSelected(){return this.items.every(t=>this.selection.isSelected(t.infoHash))}toggleAllRows(){if(this.isAllSelected()){this.selection.clear();return}this.selection.select(...this.items.map(t=>t.infoHash))}toggleTorrentContentId(t){this.expandedId.getValue()===t?this.expandedId.next(null):this.expandedId.next(t)}item(t){return t}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=E({type:e,selectors:[["app-torrents-table"]],inputs:{dataSource:"dataSource",selection:"selection",displayedColumns:"displayedColumns"},outputs:{updated:"updated"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-torrents",3,"dataSource","multiTemplateDataRows"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","summary"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","size"],["matColumnDef","publishedAt"],["class","td-published-at","mat-cell","",4,"matCellDef"],["matColumnDef","peers"],["matColumnDef","magnet"],["mat-header-cell","","style","text-align: center",4,"matHeaderCellDef"],["matColumnDef","expandedDetail"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"class",4,"matRowDef","matRowDefColumns"],["mat-row","","class","expanded-detail-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[3,"change","checked","indeterminate","matTooltip"],["mat-cell",""],[3,"click","change","checked"],["mat-cell","",3,"click"],[3,"matTooltip"],[1,"title"],[1,"original-name"],[3,"torrentContent"],[1,"filesize",3,"matTooltip"],["mat-cell","",1,"td-published-at"],["matTooltipClass","tooltip-published-at",3,"matTooltip"],["mat-header-cell","",2,"text-align","center"],[3,"href"],["svgIcon","magnet"],[1,"item-detail"],[3,"updated","torrentContent","size","published","peers"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"expanded-detail-row"]],template:function(n,i){n&1&&p(0,Ie,28,10,"ng-container",0)},dependencies:[$,yt,D,Mt,kt,Et,Vt,At,It,Dt,Pt,Ot,Bt,$t,B,V,tt,Nt,Qt,jt,Gt],styles:[".progress-bar-container[_ngcontent-%COMP%]{height:10px}tr.expanded-detail-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:0}tr.expanded[_ngcontent-%COMP%] + tr.expanded-detail-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:1px}th.cdk-column-select[_ngcontent-%COMP%], td.cdk-column-select[_ngcontent-%COMP%]{padding-right:0}td.mat-column-summary[_ngcontent-%COMP%]{vertical-align:middle;cursor:pointer;white-space:pre-wrap;padding-top:8px;padding-bottom:8px}td.mat-column-summary[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{line-height:30px;overflow:hidden;margin-right:20px;font-weight:700}td.mat-column-summary[_ngcontent-%COMP%] .original-name[_ngcontent-%COMP%]{margin:2px 0 8px 34px}td.mat-column-summary[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], td.mat-column-summary[_ngcontent-%COMP%] .original-name[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-word;overflow-wrap:break-word}td.mat-column-summary[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{display:inline-block;position:relative;top:6px;margin-right:10px}td.mat-column-summary[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}td.mat-column-summary[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{margin:2px 10px 2px 0}tr.expanded-detail-row[_ngcontent-%COMP%]{height:0}tr.mat-mdc-row.expanded[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0}tr.mat-mdc-row.expanded[_ngcontent-%COMP%] + .expanded-detail-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding-bottom:10px}.mat-column-magnet[_ngcontent-%COMP%]{text-align:center}.mat-column-magnet[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}.item-detail[_ngcontent-%COMP%]{width:100%;overflow:hidden}.td-published-at[_ngcontent-%COMP%] abbr[_ngcontent-%COMP%]{cursor:default;text-decoration:underline;text-decoration-style:dotted}.cdk-column-peers[_ngcontent-%COMP%]{white-space:nowrap}span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted}"],data:{animation:[it("detailExpand",[j("collapsed,void",Q({height:"0px",minHeight:"0"})),j("expanded",Q({height:"*"})),at("expanded <=> collapsed",ot("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return e})(),Ee=["select","summary","size","publishedAt","peers","magnet"],wn=["select","summary","size","magnet"];export{Ae as a,G as b,Pe as c,tn as d,vn as e,Ee as f,wn as g}; diff --git a/webui/dist/bitmagnet/browser/chunk-RTNXCXB5.js b/webui/dist/bitmagnet/browser/chunk-RTNXCXB5.js new file mode 100644 index 00000000..475cedb7 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-RTNXCXB5.js @@ -0,0 +1,3 @@ +import{c as Ft,d as Qt,e as jt,f as Gt}from"./chunk-JS3YJKHP.js";import{b as Nt}from"./chunk-RD4V5RUF.js";import{a as dt}from"./chunk-ZF4WX6G7.js";import{a as H}from"./chunk-3AJEMLV6.js";import{$ as wt,Da as kt,Ea as Et,Fa as Mt,Ga as At,Ha as Pt,I as _t,Ia as Ot,Ja as Vt,K as ut,Ka as Bt,La as Dt,M as gt,Ma as $t,N as xt,Na as Rt,O as Ct,Oa as Ht,P as ht,Pa as zt,Qa as Lt,R as ft,T as Tt,Ua as R,X as bt,Z as vt,aa as St,b as B,ba as yt,d as rt,e as lt,f as st,g as ct,n as mt,o as pt,qa as D,va as It,ya as $}from"./chunk-Z6GE3BUT.js";import{c as it,d as ot,g as N,h as j,i as at}from"./chunk-6XXA7HXI.js";import{j as et,l as nt}from"./chunk-ZBBMS7J5.js";import{$b as s,$c as tt,Cb as d,Ea as _,Fa as u,Gb as Y,Hb as p,Kb as J,Mb as w,N as E,Na as P,Nb as z,Ob as L,Pb as F,Qb as l,Rb as r,Sb as f,Tb as T,Ub as b,Wb as v,Zb as x,cc as y,h as U,ha as I,hb as K,jc as Q,kb as i,kc as c,l as q,lc as g,mc as C,nc as W,o as k,pc as O,qa as S,qc as X,ua as A,uc as M,vc as V,wc as Z}from"./chunk-FJILXII2.js";var Be=(e,a)=>{let n=G(e,a)?.split(",").map(o=>o.trim()).filter(Boolean);return n?.length?Array.from(new Set(n)).sort():void 0},G=(e,a)=>typeof e[a]=="string"&&decodeURIComponent(e[a])||void 0,De=(e,a)=>{if(e&&e[a]&&/^\d+$/.test(e[a]))return parseInt(e[a])};function Jt(e,a){if(e&1&&(l(0,"span",7),c(1),r()),e&2){let t=s(2).$implicit;i(),g(t("torrents.copy"))}}function Wt(e,a){if(e&1&&(l(0,"mat-icon"),c(1,"content_copy"),r(),d(2,Jt,2,1,"span",7)),e&2){let t=s(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function Xt(e,a){if(e&1&&(l(0,"mat-card")(1,"mat-card-actions",8)(2,"button",9),f(3,"mat-icon",10),c(4),r(),l(5,"button",9)(6,"mat-icon"),c(7,"tag"),r(),c(8),r()()()),e&2){let t=s().$implicit,n=s();i(2),p("disabled",!n.selectedItems.length)("cdkCopyToClipboard",n.getSelectedMagnetLinks()),i(2),C("",t("torrents.magnet_links")," "),i(),p("disabled",!n.selectedItems.length)("cdkCopyToClipboard",n.getSelectedInfoHashes()),i(3),C("",t("torrents.info_hashes")," ")}}function Zt(e,a){if(e&1&&(l(0,"span",7),c(1),r()),e&2){let t=s(2).$implicit;i(),g(t("torrents.edit_tags"))}}function te(e,a){if(e&1&&(l(0,"mat-icon"),c(1,"sell"),r(),d(2,Zt,2,1,"span",7)),e&2){let t=s(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ee(e,a){if(e&1){let t=v();l(0,"mat-chip-row",18),x("edited",function(o){let m=_(t).$implicit,h=s(3);return u(h.renameTag(m,o.value))})("removed",function(){let o=_(t).$implicit,m=s(3);return u(m.deleteTag(o))}),c(1),l(2,"mat-icon",19),c(3,"cancel"),r()()}if(e&2){let t=a.$implicit;p("editable",!0)("aria-description","press enter to edit"),i(),C(" ",t," ")}}function ne(e,a){if(e&1&&(l(0,"mat-option",16),c(1),r()),e&2){let t=a.$implicit;p("value",t),i(),g(t)}}function ie(e,a){if(e&1){let t=v();l(0,"mat-card")(1,"mat-form-field",11)(2,"mat-chip-grid",12,0),L(4,ee,4,3,"mat-chip-row",13,z),r(),l(6,"input",14),x("matChipInputTokenEnd",function(o){_(t);let m=s(2);return u(o.value&&m.addTag(o.value))}),r(),l(7,"mat-autocomplete",15,1),x("optionSelected",function(o){_(t);let m=s(2);return u(m.addTag(o.option.viewValue))}),L(9,ne,2,2,"mat-option",16,z),r()(),l(11,"mat-card-actions",8)(12,"button",17),x("click",function(){_(t);let o=s(2);return u(o.setTags())}),c(13),r(),l(14,"button",17),x("click",function(){_(t);let o=s(2);return u(o.putTags())}),c(15),r(),l(16,"button",17),x("click",function(){_(t);let o=s(2);return u(o.deleteTags())}),c(17),r()()()}if(e&2){let t=Q(3),n=Q(8),o=s().$implicit,m=s();i(4),F(m.editedTags),i(2),y("placeholder",o("torrents.tags.placeholder")),p("formControl",m.newTagCtrl)("matAutocomplete",n)("matChipInputFor",t)("matChipInputSeparatorKeyCodes",m.separatorKeysCodes)("value",m.newTagCtrl.value),i(3),F(m.suggestedTags),i(3),y("matTooltip",o("torrents.tags.set_tip")),p("disabled",!m.selectedItems.length),i(),C(" ",o("torrents.tags.set")," "),i(),y("matTooltip",o("torrents.tags.put_tip")),p("disabled",!m.selectedItems.length||!m.editedTags.length&&!m.newTagCtrl.value),i(),C(" ",o("torrents.tags.put")," "),i(),y("matTooltip",o("torrents.tags.delete_tip")),p("disabled",!m.selectedItems.length||!m.editedTags.length&&!m.newTagCtrl.value),i(),C(" ",o("torrents.tags.delete")," ")}}function oe(e,a){if(e&1&&(l(0,"span",7),c(1),r()),e&2){let t=s(2).$implicit;i(),g(t("torrents.delete"))}}function ae(e,a){if(e&1&&(l(0,"mat-icon"),c(1,"delete_forever"),r(),d(2,oe,2,1,"span",7)),e&2){let t=s(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function re(e,a){if(e&1){let t=v();l(0,"mat-card")(1,"mat-card-content")(2,"p")(3,"strong"),c(4),r(),f(5,"br"),c(6),r()(),l(7,"mat-card-actions",8)(8,"button",20),x("click",function(){_(t);let o=s(2);return u(o.deleteTorrents())}),l(9,"mat-icon"),c(10,"delete_forever"),r(),c(11),r()()()}if(e&2){let t=s().$implicit,n=s();i(4),g(t("torrents.delete_are_you_sure")),i(2),C("",t("torrents.delete_action_cannot_be_undone"),". "),i(2),p("disabled",!n.selectedItems.length),i(3),C("",t("torrents.delete")," ")}}function le(e,a){if(e&1&&(l(0,"span",7),c(1),r()),e&2){let t=s(3).$implicit;i(),g(t("torrents.download"))}}function se(e,a){if(e&1&&(l(0,"mat-icon"),c(1,"download_for_offline"),r(),d(2,le,2,1,"span",7)),e&2){let t=s(3);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ce(e,a){if(e&1){let t=v();l(0,"mat-card")(1,"mat-card-content")(2,"p")(3,"strong"),c(4),r()()(),l(5,"mat-card-actions",8)(6,"button",20),x("click",function(){_(t);let o=s(3);return u(o.downloadTorrents())}),l(7,"mat-icon"),c(8,"download_for_offline"),r(),c(9),r()()()}if(e&2){let t=s(2).$implicit,n=s();i(4),g(t("torrents.download_confirm")),i(2),p("disabled",!n.selectedItems.length),i(3),C("",t("torrents.download")," ")}}function me(e,a){e&1&&(l(0,"mat-tab"),d(1,se,3,1,"ng-template",5)(2,ce,10,3,"ng-template",6),r())}function pe(e,a){e&1&&(l(0,"mat-icon",21),c(1,"close"),r())}function de(e,a){e&1&&(l(0,"mat-tab"),d(1,pe,2,0,"ng-template",5),r())}function _e(e,a){if(e&1){let t=v();T(0),l(1,"mat-tab-group",3),x("focusChange",function(o){_(t);let m=s();return u(m.selectTab(o.index==(m.downloadEnabled?5:4)?0:o.index))}),f(2,"mat-tab",4),l(3,"mat-tab"),d(4,Wt,3,1,"ng-template",5)(5,Xt,9,6,"ng-template",6),r(),l(6,"mat-tab"),d(7,te,3,1,"ng-template",5)(8,ie,18,15,"ng-template",6),r(),l(9,"mat-tab"),d(10,ae,3,1,"ng-template",5)(11,re,12,4,"ng-template",6),r(),d(12,me,3,0,"mat-tab")(13,de,2,0,"mat-tab"),r(),b()}if(e&2){let t=s();i(),p("selectedIndex",t.selectedTabIndex)("mat-stretch-tabs",!1),i(),p("aria-labelledby","hidden"),i(10),w(t.downloadEnabled?12:-1),i(),w(t.selectedTabIndex>0?13:-1)}}var an=(()=>{class e{constructor(){this.graphQLService=S(_t),this.errorsService=S(dt),this.breakpoints=S(H),this.selectedItems$=new U,this.updated=new P,this.separatorKeysCodes=[13,188],this.selectedTabIndex=0,this.newTagCtrl=new st(""),this.editedTags=Array(),this.suggestedTags=Array(),this.selectedItems=new Array,this.downloadEnabled=!1}ngOnInit(){this.selectedItems$.subscribe(t=>{this.selectedItems=t}),this.graphQLService.downloadClientEnabledQuery().subscribe({next:t=>{this.downloadEnabled=t}})}selectTab(t){this.selectedTabIndex=t}getSelectedMagnetLinks(){return this.selectedItems.map(t=>t.torrent.magnetUri).join(` +`)}getSelectedInfoHashes(){return this.selectedItems.map(t=>t.infoHash).join(` +`)}addTag(t){this.editedTags.includes(t)||this.editedTags.push(t),this.newTagCtrl.reset(),this.updateSuggestedTags()}deleteTag(t){this.editedTags=this.editedTags.filter(n=>n!==t),this.updateSuggestedTags()}renameTag(t,n){this.editedTags=this.editedTags.map(o=>o===t?n:o),this.updateSuggestedTags()}putTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentPutTags({infoHashes:t,tagNames:this.editedTags}).pipe(E(n=>(this.errorsService.addError(`Error putting tags: ${n.message}`),k))).pipe(I(()=>{this.updated.emit()})).subscribe()}setTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentSetTags({infoHashes:t,tagNames:this.editedTags}).pipe(E(n=>(this.errorsService.addError(`Error setting tags: ${n.message}`),k))).pipe(I(()=>{this.updated.emit()})).subscribe()}deleteTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentDeleteTags({infoHashes:t,tagNames:this.editedTags}).pipe(E(n=>(this.errorsService.addError(`Error deleting tags: ${n.message}`),k))).pipe(I(()=>{this.updated.emit()})).subscribe()}updateSuggestedTags(){return this.graphQLService.torrentSuggestTags({input:{prefix:this.newTagCtrl.value,exclusions:this.editedTags}}).pipe(I(t=>{this.suggestedTags.splice(0,this.suggestedTags.length,...t.suggestions.map(n=>n.name))})).subscribe()}deleteTorrents(){let t=this.selectedItems.map(({infoHash:n})=>n);this.graphQLService.torrentDelete({infoHashes:t}).pipe(E(n=>(this.errorsService.addError(`Error deleting torrents: ${n.message}`),k))).pipe(I(()=>{this.updated.emit()})).subscribe()}downloadTorrents(){let t=this.selectedItems.map(({infoHash:n})=>n);this.graphQLService.clientDownload({infoHashes:t}).pipe(E(n=>(this.errorsService.addError(`Error downloading torrents: ${n.message}`),k))).pipe(I(()=>{this.updated.emit()})).subscribe()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=A({type:e,selectors:[["app-torrents-bulk-actions"]],inputs:{selectedItems$:"selectedItems$"},outputs:{updated:"updated"},standalone:!0,features:[O],decls:1,vars:0,consts:[["chipGrid",""],["auto","matAutocomplete"],[4,"transloco"],["animationDuration","0",1,"tab-group-bulk-actions",3,"focusChange","selectedIndex","mat-stretch-tabs"],[1,"bulk-tab-placeholder",3,"aria-labelledby"],["mat-tab-label",""],["matTabContent",""],[1,"label"],[1,"button-row"],["mat-stroked-button","",3,"disabled","cdkCopyToClipboard"],["svgIcon","magnet"],["subscriptSizing","dynamic",1,"form-edit-tags"],["aria-label","Enter tags"],[3,"editable","aria-description"],[3,"matChipInputTokenEnd","placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","value"],[3,"optionSelected"],[3,"value"],["mat-stroked-button","","color","primary",3,"click","disabled","matTooltip"],[3,"edited","removed","editable","aria-description"],["matChipRemove",""],["mat-stroked-button","","color","warn",3,"click","disabled"],[2,"margin-right","0"]],template:function(n,o){n&1&&d(0,_e,14,5,"ng-container",2)},dependencies:[R,ut,xt,mt,Ct,pt,ht,Tt,ft,wt,St,bt,vt,gt,D,Rt,Ht,zt,Lt,$,rt,lt,ct,B],styles:["mat-tab-group[_ngcontent-%COMP%]{padding-left:10px}button[_ngcontent-%COMP%]{margin-right:10px}p[_ngcontent-%COMP%]{margin-top:0} .mdc-tab[aria-labelledby=hidden]{display:none}"]})}}return e})();var ue=()=>["expandedDetail"];function ge(e,a){if(e&1){let t=v();l(0,"th",19)(1,"mat-checkbox",20),x("change",function(){_(t);let o=s(2);return u(o.toggleAllRows())}),r()()}if(e&2){let t=s().$implicit,n=s();i(),p("checked",n.selection.hasValue()&&n.isAllSelected())("indeterminate",n.selection.hasValue()&&!n.isAllSelected())("matTooltip",n.isAllSelected()?t("torrents.deselect_all"):t("torrents.select_all"))}}function xe(e,a){if(e&1){let t=v();l(0,"td",21)(1,"mat-checkbox",22),x("click",function(o){return _(t),u(o.stopPropagation())})("change",function(o){let m=_(t).$implicit,h=s(2);return u(o?h.selection.toggle(h.item(m).infoHash):null)}),r()()}if(e&2){let t=a.$implicit,n=s(2);i(),p("checked",n.selection.isSelected(n.item(t).infoHash))}}function Ce(e,a){if(e&1&&(l(0,"th",19),c(1),r()),e&2){let t=s().$implicit;i(),g(t("torrents.summary"))}}function he(e,a){if(e&1&&(l(0,"p",26),c(1),r()),e&2){let t=s().$implicit,n=s(2);i(),g(n.item(t).torrent.name)}}function fe(e,a){if(e&1){let t=v();l(0,"td",23),x("click",function(o){let m=_(t).$implicit;return s(2).toggleTorrentContentId(m.id),u(o.stopPropagation())}),l(1,"mat-icon",24),c(2),r(),l(3,"span",25),c(4),r(),d(5,he,2,1,"p",26),f(6,"app-torrent-chips",27),r()}if(e&2){let t,n,o=a.$implicit,m=s().$implicit,h=s();i(),p("matTooltip",m("content_types.singular."+((t=h.item(o).contentType)!==null&&t!==void 0?t:"null"))),i(),g((n=(n=h.contentTypeInfo(h.item(o).contentType))==null?null:n.icon)!==null&&n!==void 0?n:"question_mark"),i(2),g(h.item(o).title),i(),w(h.item(o).title!==h.item(o).torrent.name?5:-1),i(),p("torrentContent",o)}}function Te(e,a){if(e&1&&(l(0,"th",19),c(1),r()),e&2){let t=s().$implicit;i(),g(t("torrents.size"))}}function be(e,a){if(e&1&&(l(0,"td",21)(1,"span",28),M(2,"filesize"),c(3),M(4,"filesize"),r()()),e&2){let t=a.$implicit,n=s(2);i(),p("matTooltip",Z(2,2,n.item(t).torrent.size,10)),i(2),g(V(4,5,n.item(t).torrent.size))}}function ve(e,a){if(e&1&&(l(0,"th",19),c(1),r()),e&2){let t=s().$implicit;i(),g(t("torrents.published"))}}function we(e,a){if(e&1&&(l(0,"td",29)(1,"abbr",30),c(2),M(3,"timeAgo"),r()()),e&2){let t=a.$implicit,n=s(2);i(),y("matTooltip",n.item(t).publishedAt),i(),C(" ",V(3,2,n.item(t).publishedAt)," ")}}function Se(e,a){if(e&1&&(l(0,"th",19)(1,"abbr",24),c(2),r()()),e&2){let t=s().$implicit;i(),p("matTooltip",t("torrents.seeders")+" / "+t("torrents.leechers")),i(),g(t("torrents.s_l"))}}function ye(e,a){if(e&1&&(l(0,"td",21),c(1),r()),e&2){let t,n=a.$implicit,o=s(2);i(),W(" ",(t=o.item(n).seeders)!==null&&t!==void 0?t:"?"," / ",(t=o.item(n).leechers)!==null&&t!==void 0?t:"?"," ")}}function Ie(e,a){if(e&1&&(l(0,"th",31),c(1),r()),e&2){let t=s().$implicit;i(),C(" ",t("torrents.magnet")," ")}}function ke(e,a){if(e&1&&(l(0,"td",21)(1,"a",32),f(2,"mat-icon",33),r()()),e&2){let t=a.$implicit,n=s(2);i(),y("href",n.item(t).torrent.magnetUri,K)}}function Ee(e,a){if(e&1){let t=v();l(0,"td",21)(1,"div",34)(2,"app-torrent-content",35),x("updated",function(){let o=_(t).$implicit,m=s(2);return u(m.updated.emit(m.item(o).infoHash))}),r()()()}if(e&2){let t=a.$implicit,n=s(2);Y("colspan",n.displayedColumns.length),i(),p("@detailExpand",n.expandedId.getValue()===t.id?"expanded":"collapsed"),i(),p("torrentContent",t)("size",!1)("published",n.breakpoints.sizeAtLeast("Medium"))("peers",n.breakpoints.sizeAtLeast("Medium"))}}function Me(e,a){e&1&&f(0,"tr",36)}function Ae(e,a){if(e&1&&f(0,"tr",37),e&2){let t=a.$implicit,n=s(2);J("summary-row "+(t.id===n.expandedId.getValue()?"expanded":"collapsed"))}}function Pe(e,a){e&1&&f(0,"tr",38)}function Oe(e,a){if(e&1&&(T(0),l(1,"div",1),f(2,"mat-progress-bar",2),M(3,"async"),r(),l(4,"table",3),T(5,4),d(6,ge,2,3,"th",5)(7,xe,2,1,"td",6),b(),T(8,7),d(9,Ce,2,1,"th",5)(10,fe,7,5,"td",8),b(),T(11,9),d(12,Te,2,1,"th",5)(13,be,5,7,"td",6),b(),T(14,10),d(15,ve,2,1,"th",5)(16,we,4,4,"td",11),b(),T(17,12),d(18,Se,3,2,"th",5)(19,ye,2,2,"td",6),b(),T(20,13),d(21,Ie,2,1,"th",14)(22,ke,3,1,"td",6),b(),T(23,15),d(24,Ee,3,6,"td",6),b(),d(25,Me,1,0,"tr",16)(26,Ae,1,2,"tr",17)(27,Pe,1,0,"tr",18),r(),b()),e&2){let t=s();i(2),p("mode",V(3,7,t.dataSource.loading$)?"indeterminate":"determinate")("value",0),i(2),p("dataSource",t.dataSource)("multiTemplateDataRows",!0),i(21),p("matHeaderRowDef",t.displayedColumns),i(),p("matRowDefColumns",t.displayedColumns),i(),p("matRowDefColumns",X(9,ue))}}var In=(()=>{class e{constructor(){this.route=S(et),this.router=S(nt),this.breakpoints=S(H),this.contentTypeInfo=Ft,this.displayedColumns=Ve,this.updated=new P,this.items=Array(),this.expandedId=new q(null)}ngOnInit(){this.dataSource.items$.subscribe(t=>{this.items=t}),this.route.queryParams.subscribe(t=>{let n=this.expandedId.getValue()??void 0,o=G(t,"expanded");n!==o&&this.expandedId.next(o??null)}),this.expandedId.subscribe(t=>{this.router.navigate([],{relativeTo:this.route,queryParams:{expanded:t?encodeURIComponent(t):void 0},queryParamsHandling:"merge"})})}isAllSelected(){return this.items.every(t=>this.selection.isSelected(t.infoHash))}toggleAllRows(){if(this.isAllSelected()){this.selection.clear();return}this.selection.select(...this.items.map(t=>t.infoHash))}toggleTorrentContentId(t){this.expandedId.getValue()===t?this.expandedId.next(null):this.expandedId.next(t)}item(t){return t}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=A({type:e,selectors:[["app-torrents-table"]],inputs:{dataSource:"dataSource",selection:"selection",displayedColumns:"displayedColumns"},outputs:{updated:"updated"},standalone:!0,features:[O],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-torrents",3,"dataSource","multiTemplateDataRows"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","summary"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","size"],["matColumnDef","publishedAt"],["class","td-published-at","mat-cell","",4,"matCellDef"],["matColumnDef","peers"],["matColumnDef","magnet"],["mat-header-cell","","style","text-align: center",4,"matHeaderCellDef"],["matColumnDef","expandedDetail"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"class",4,"matRowDef","matRowDefColumns"],["mat-row","","class","expanded-detail-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[3,"change","checked","indeterminate","matTooltip"],["mat-cell",""],[3,"click","change","checked"],["mat-cell","",3,"click"],[3,"matTooltip"],[1,"title"],[1,"original-name"],[3,"torrentContent"],[1,"filesize",3,"matTooltip"],["mat-cell","",1,"td-published-at"],["matTooltipClass","tooltip-published-at",3,"matTooltip"],["mat-header-cell","",2,"text-align","center"],[3,"href"],["svgIcon","magnet"],[1,"item-detail"],[3,"updated","torrentContent","size","published","peers"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"expanded-detail-row"]],template:function(n,o){n&1&&d(0,Oe,28,10,"ng-container",0)},dependencies:[R,yt,D,It,kt,Mt,Vt,At,Et,Bt,Pt,Ot,Dt,$t,$,B,tt,Qt,Nt,jt,Gt],styles:[".progress-bar-container[_ngcontent-%COMP%]{height:10px}tr.expanded-detail-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:0}tr.expanded[_ngcontent-%COMP%] + tr.expanded-detail-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:1px}th.cdk-column-select[_ngcontent-%COMP%], td.cdk-column-select[_ngcontent-%COMP%]{padding-right:0}td.mat-column-summary[_ngcontent-%COMP%]{vertical-align:middle;cursor:pointer;white-space:pre-wrap;padding-top:8px;padding-bottom:8px}td.mat-column-summary[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{line-height:30px;overflow:hidden;margin-right:20px;font-weight:700}td.mat-column-summary[_ngcontent-%COMP%] .original-name[_ngcontent-%COMP%]{margin:2px 0 8px 34px}td.mat-column-summary[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], td.mat-column-summary[_ngcontent-%COMP%] .original-name[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-word;overflow-wrap:break-word}td.mat-column-summary[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{display:inline-block;position:relative;top:6px;margin-right:10px}td.mat-column-summary[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}td.mat-column-summary[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{margin:2px 10px 2px 0}tr.expanded-detail-row[_ngcontent-%COMP%]{height:0}tr.mat-mdc-row.expanded[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0}tr.mat-mdc-row.expanded[_ngcontent-%COMP%] + .expanded-detail-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding-bottom:10px}.mat-column-magnet[_ngcontent-%COMP%]{text-align:center}.mat-column-magnet[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}.item-detail[_ngcontent-%COMP%]{width:100%;overflow:hidden}.td-published-at[_ngcontent-%COMP%] abbr[_ngcontent-%COMP%]{cursor:default;text-decoration:underline;text-decoration-style:dotted}.cdk-column-peers[_ngcontent-%COMP%]{white-space:nowrap}span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted}"],data:{animation:[it("detailExpand",[j("collapsed,void",N({height:"0px",minHeight:"0"})),j("expanded",N({height:"*"})),at("expanded <=> collapsed",ot("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return e})(),Ve=["select","summary","size","publishedAt","peers","magnet"],kn=["select","summary","size","magnet"];export{Be as a,G as b,De as c,an as d,In as e,Ve as f,kn as g}; diff --git a/webui/dist/bitmagnet/browser/chunk-IYIUYS3O.js b/webui/dist/bitmagnet/browser/chunk-W2FDHTDN.js similarity index 97% rename from webui/dist/bitmagnet/browser/chunk-IYIUYS3O.js rename to webui/dist/bitmagnet/browser/chunk-W2FDHTDN.js index 2a46b582..a4a389e5 100644 --- a/webui/dist/bitmagnet/browser/chunk-IYIUYS3O.js +++ b/webui/dist/bitmagnet/browser/chunk-W2FDHTDN.js @@ -1 +1 @@ -import{B as J,J as K,P as T,Q as U,R as X,U as k,b as M,da as Y,ea as Z,fa as tt,ga as et,ha as nt,i as z,ia as it,na as at,o as b,qa as u,r as H,sa as ot,ta as rt,ya as lt}from"./chunk-HB55W55I.js";import{$b as l,B as F,Cb as s,Ea as Q,Fa as A,Hb as V,Kb as G,Mb as v,Ob as P,Pb as $,Qb as r,Rb as o,Sb as _,Tb as f,Ub as C,Wb as N,Zb as R,a as I,b as D,jc as q,kb as a,kc as c,l as j,la as W,lc as m,mc as g,nc as y,qa as p,rc as S,ua as x,va as B,yc as L}from"./chunk-FJILXII2.js";var w={error:"error",degraded:"warning",down:"warning",unknown:"pending",inactive:"circle",up:"check_circle",started:"play_circle"},ct={status:"unknown",checks:[],icon:w.unknown,workers:[],error:null},mt=1e4,h=class{constructor(){this.apollo=p(z),this.resultSubject=new j(ct),this.result$=this.resultSubject.asObservable(),this.result=ct,this.watchQuery(),this.result$.subscribe(i=>{this.result=i})}watchQuery(){this.apollo.watchQuery({query:J,fetchPolicy:"no-cache",pollInterval:mt}).valueChanges.pipe(F(i=>({status:i.data.health.status==="down"?"degraded":i.data.health.status,checks:i.data.health.checks.map(e=>D(I({},e),{icon:w[e.status]})),workers:i.data.workers.listAll.workers.map(e=>D(I({},e),{icon:w[e.started?"started":"inactive"]})),icon:w[i.data.health.status],error:null}))).subscribe({next:i=>this.resultSubject.next(i),error:i=>{this.resultSubject.next({status:"error",checks:[],workers:[],error:i,icon:w.error}),setTimeout(this.watchQuery.bind(this),mt)}})}};var st=(t,i)=>i.key;function xt(t,i){if(t&1&&(r(0,"p"),c(1),o()),t&2){let e=l().$implicit,n=l();a(),y("",e("health.check_failed_with_error"),": ",n.health.result.error,"")}}function ft(t,i){if(t&1&&(r(0,"th"),c(1),o()),t&2){let e=l(2).$implicit;a(),m(e("general.error"))}}function Ct(t,i){if(t&1&&(r(0,"td"),c(1),o()),t&2){let e=l().$implicit;a(),m(e.error)}}function gt(t,i){if(t&1&&(r(0,"tr")(1,"td",2)(2,"mat-icon"),c(3),o()(),r(4,"th",3),c(5),o(),r(6,"td"),c(7),o(),s(8,Ct,2,1,"td"),o()),t&2){let e=i.$implicit,n=l(2).$implicit,d=l();a(3),m(e.icon),a(2),m(n("health.components."+e.key)),a(2),m(n("health.statuses."+e.status)),a(),v(d.health.result.status==="down"?8:-1)}}function Mt(t,i){t&1&&_(0,"td")}function vt(t,i){if(t&1&&(r(0,"tr")(1,"td",2)(2,"mat-icon"),c(3),o()(),r(4,"th",3),c(5),o(),r(6,"td"),c(7),o(),s(8,Mt,1,0,"td"),o()),t&2){let e=i.$implicit,n=l(2).$implicit,d=l();a(3),m(e.icon),a(2),y(" ",n("health.worker"),": ",n("health.workers."+e.key)," "),a(2),g(" ",n("health.statuses."+(e.started?"started":"inactive"))," "),a(),v(d.health.result.status==="down"?8:-1)}}function yt(t,i){if(t&1&&(r(0,"table",1)(1,"thead")(2,"tr"),_(3,"th"),r(4,"th"),c(5),o(),r(6,"th"),c(7),o(),s(8,ft,2,1,"th"),o()(),r(9,"tbody"),P(10,gt,9,4,"tr",null,st),P(12,vt,9,5,"tr",null,st),o()()),t&2){let e=l().$implicit,n=l();a(5),m(e("health.component")),a(2),m(e("general.status")),a(),v(n.health.result.status==="down"?8:-1),a(2),$(n.health.result.checks),a(2),$(n.health.result.workers)}}function St(t,i){if(t&1&&(f(0),s(1,xt,2,2,"p")(2,yt,14,3,"table",1),C()),t&2){let e=l();a(),v(e.health.result.error?1:2)}}var E=(()=>{class t{constructor(){this.health=p(h)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-summary"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"table-health"],[1,"td-icon"],["scope","row"]],template:function(n,d){n&1&&s(0,St,3,1,"ng-container",0)},dependencies:[M,u],styles:[".table-health[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table-health[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:20px}.table-health[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}"]})}}return t})();var wt=t=>({status:t});function bt(t,i){if(t&1&&(f(0),r(1,"mat-card",1)(2,"mat-card-header")(3,"mat-card-title")(4,"h3")(5,"mat-icon"),c(6),o(),c(7),o()()(),r(8,"mat-card-content",2),_(9,"app-health-summary"),o()(),C()),t&2){let e=i.$implicit,n=l();a(6),m(n.health.result.icon),a(),g(" ",e("health.bitmagnet_is_status",S(2,wt,e("health.statuses."+(n.health.result.error?"down":n.health.result.status))))," ")}}var Vt=(()=>{class t{constructor(){this.health=p(h)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-card"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"dashboard-card","dashboard-card-health"],[1,"dashboard-card-content"]],template:function(n,d){n&1&&s(0,bt,10,4,"ng-container",0)},dependencies:[M,u,T,X,k,U,E],styles:[".dashboard-card-health[_ngcontent-%COMP%]{position:absolute;inset:15px}.dashboard-card-health[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0}.dashboard-card-health[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;margin-left:4px;margin-right:6px}"]})}}return t})();var ut=t=>({status:t});function Ht(t,i){if(t&1&&(r(0,"h2",3),c(1),o(),r(2,"mat-dialog-content"),_(3,"app-health-summary"),o(),r(4,"mat-dialog-actions")(5,"button",4),c(6),o()()),t&2){let e=l().$implicit,n=l();a(),y(" ",e("health.summary"),": ",e("health.bitmagnet_is_status",S(3,ut,e("health.statuses."+(n.health.result.error?"down":n.health.result.status))))," "),a(5),g(" ",e("general.dismiss")," ")}}function Tt(t,i){if(t&1){let e=N();f(0),r(1,"button",2),R("click",function(){Q(e);let d=q(5),_t=l();return A(_t.dialog.open(d))}),r(2,"mat-icon"),c(3),o()(),s(4,Ht,7,5,"ng-template",null,0,L),C()}if(t&2){let e=i.$implicit,n=l();a(),G("health-icon health-icon-"+n.health.result.status),V("matTooltip",e("health.bitmagnet_is_status",S(4,ut,e("health.statuses."+n.health.result.status)))),a(2),m(n.health.result.icon)}}var Ut=(()=>{class t{constructor(){this.health=p(h),this.dialog=p(Y)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-widget"]],decls:1,vars:0,consts:[["healthDialog",""],[4,"transloco"],["mat-icon-button","",3,"click","matTooltip"],["matDialogTitle",""],["mat-button","","matDialogClose","","color","primary"]],template:function(n,d){n&1&&s(0,Tt,6,6,"ng-container",1)},dependencies:[M,u,lt,Z,tt,nt,et,b,H,E]})}}return t})();var _e=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=W({providers:[h],imports:[K,u,it,b,H,T,k,at,rt,ot]})}}return t})();export{h as a,Vt as b,Ut as c,_e as d}; +import{B as J,J as K,P as T,Q as U,R as X,U as k,b as M,da as Y,ea as Z,fa as tt,ga as et,ha as nt,i as z,ia as it,na as at,o as b,qa as u,r as H,sa as ot,ta as rt,ya as lt}from"./chunk-Z6GE3BUT.js";import{$b as l,B as F,Cb as s,Ea as Q,Fa as A,Hb as V,Kb as G,Mb as v,Ob as P,Pb as $,Qb as r,Rb as o,Sb as _,Tb as f,Ub as C,Wb as N,Zb as R,a as I,b as D,jc as q,kb as a,kc as c,l as j,la as W,lc as m,mc as g,nc as y,qa as p,rc as S,ua as x,va as B,yc as L}from"./chunk-FJILXII2.js";var w={error:"error",degraded:"warning",down:"warning",unknown:"pending",inactive:"circle",up:"check_circle",started:"play_circle"},ct={status:"unknown",checks:[],icon:w.unknown,workers:[],error:null},mt=1e4,h=class{constructor(){this.apollo=p(z),this.resultSubject=new j(ct),this.result$=this.resultSubject.asObservable(),this.result=ct,this.watchQuery(),this.result$.subscribe(i=>{this.result=i})}watchQuery(){this.apollo.watchQuery({query:J,fetchPolicy:"no-cache",pollInterval:mt}).valueChanges.pipe(F(i=>({status:i.data.health.status==="down"?"degraded":i.data.health.status,checks:i.data.health.checks.map(e=>D(I({},e),{icon:w[e.status]})),workers:i.data.workers.listAll.workers.map(e=>D(I({},e),{icon:w[e.started?"started":"inactive"]})),icon:w[i.data.health.status],error:null}))).subscribe({next:i=>this.resultSubject.next(i),error:i=>{this.resultSubject.next({status:"error",checks:[],workers:[],error:i,icon:w.error}),setTimeout(this.watchQuery.bind(this),mt)}})}};var st=(t,i)=>i.key;function xt(t,i){if(t&1&&(r(0,"p"),c(1),o()),t&2){let e=l().$implicit,n=l();a(),y("",e("health.check_failed_with_error"),": ",n.health.result.error,"")}}function ft(t,i){if(t&1&&(r(0,"th"),c(1),o()),t&2){let e=l(2).$implicit;a(),m(e("general.error"))}}function Ct(t,i){if(t&1&&(r(0,"td"),c(1),o()),t&2){let e=l().$implicit;a(),m(e.error)}}function gt(t,i){if(t&1&&(r(0,"tr")(1,"td",2)(2,"mat-icon"),c(3),o()(),r(4,"th",3),c(5),o(),r(6,"td"),c(7),o(),s(8,Ct,2,1,"td"),o()),t&2){let e=i.$implicit,n=l(2).$implicit,d=l();a(3),m(e.icon),a(2),m(n("health.components."+e.key)),a(2),m(n("health.statuses."+e.status)),a(),v(d.health.result.status==="down"?8:-1)}}function Mt(t,i){t&1&&_(0,"td")}function vt(t,i){if(t&1&&(r(0,"tr")(1,"td",2)(2,"mat-icon"),c(3),o()(),r(4,"th",3),c(5),o(),r(6,"td"),c(7),o(),s(8,Mt,1,0,"td"),o()),t&2){let e=i.$implicit,n=l(2).$implicit,d=l();a(3),m(e.icon),a(2),y(" ",n("health.worker"),": ",n("health.workers."+e.key)," "),a(2),g(" ",n("health.statuses."+(e.started?"started":"inactive"))," "),a(),v(d.health.result.status==="down"?8:-1)}}function yt(t,i){if(t&1&&(r(0,"table",1)(1,"thead")(2,"tr"),_(3,"th"),r(4,"th"),c(5),o(),r(6,"th"),c(7),o(),s(8,ft,2,1,"th"),o()(),r(9,"tbody"),P(10,gt,9,4,"tr",null,st),P(12,vt,9,5,"tr",null,st),o()()),t&2){let e=l().$implicit,n=l();a(5),m(e("health.component")),a(2),m(e("general.status")),a(),v(n.health.result.status==="down"?8:-1),a(2),$(n.health.result.checks),a(2),$(n.health.result.workers)}}function St(t,i){if(t&1&&(f(0),s(1,xt,2,2,"p")(2,yt,14,3,"table",1),C()),t&2){let e=l();a(),v(e.health.result.error?1:2)}}var E=(()=>{class t{constructor(){this.health=p(h)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-summary"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"table-health"],[1,"td-icon"],["scope","row"]],template:function(n,d){n&1&&s(0,St,3,1,"ng-container",0)},dependencies:[M,u],styles:[".table-health[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table-health[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:20px}.table-health[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}"]})}}return t})();var wt=t=>({status:t});function bt(t,i){if(t&1&&(f(0),r(1,"mat-card",1)(2,"mat-card-header")(3,"mat-card-title")(4,"h3")(5,"mat-icon"),c(6),o(),c(7),o()()(),r(8,"mat-card-content",2),_(9,"app-health-summary"),o()(),C()),t&2){let e=i.$implicit,n=l();a(6),m(n.health.result.icon),a(),g(" ",e("health.bitmagnet_is_status",S(2,wt,e("health.statuses."+(n.health.result.error?"down":n.health.result.status))))," ")}}var Vt=(()=>{class t{constructor(){this.health=p(h)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-card"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"dashboard-card","dashboard-card-health"],[1,"dashboard-card-content"]],template:function(n,d){n&1&&s(0,bt,10,4,"ng-container",0)},dependencies:[M,u,T,X,k,U,E],styles:[".dashboard-card-health[_ngcontent-%COMP%]{position:absolute;inset:15px}.dashboard-card-health[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0}.dashboard-card-health[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;margin-left:4px;margin-right:6px}"]})}}return t})();var ut=t=>({status:t});function Ht(t,i){if(t&1&&(r(0,"h2",3),c(1),o(),r(2,"mat-dialog-content"),_(3,"app-health-summary"),o(),r(4,"mat-dialog-actions")(5,"button",4),c(6),o()()),t&2){let e=l().$implicit,n=l();a(),y(" ",e("health.summary"),": ",e("health.bitmagnet_is_status",S(3,ut,e("health.statuses."+(n.health.result.error?"down":n.health.result.status))))," "),a(5),g(" ",e("general.dismiss")," ")}}function Tt(t,i){if(t&1){let e=N();f(0),r(1,"button",2),R("click",function(){Q(e);let d=q(5),_t=l();return A(_t.dialog.open(d))}),r(2,"mat-icon"),c(3),o()(),s(4,Ht,7,5,"ng-template",null,0,L),C()}if(t&2){let e=i.$implicit,n=l();a(),G("health-icon health-icon-"+n.health.result.status),V("matTooltip",e("health.bitmagnet_is_status",S(4,ut,e("health.statuses."+n.health.result.status)))),a(2),m(n.health.result.icon)}}var Ut=(()=>{class t{constructor(){this.health=p(h),this.dialog=p(Y)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-widget"]],decls:1,vars:0,consts:[["healthDialog",""],[4,"transloco"],["mat-icon-button","",3,"click","matTooltip"],["matDialogTitle",""],["mat-button","","matDialogClose","","color","primary"]],template:function(n,d){n&1&&s(0,Tt,6,6,"ng-container",1)},dependencies:[M,u,lt,Z,tt,nt,et,b,H,E]})}}return t})();var _e=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=W({providers:[h],imports:[K,u,it,b,H,T,k,at,rt,ot]})}}return t})();export{h as a,Vt as b,Ut as c,_e as d}; diff --git a/webui/dist/bitmagnet/browser/chunk-FRHSCC4F.js b/webui/dist/bitmagnet/browser/chunk-XSWMZFX5.js similarity index 98% rename from webui/dist/bitmagnet/browser/chunk-FRHSCC4F.js rename to webui/dist/bitmagnet/browser/chunk-XSWMZFX5.js index 749f360c..7fb6459a 100644 --- a/webui/dist/bitmagnet/browser/chunk-FRHSCC4F.js +++ b/webui/dist/bitmagnet/browser/chunk-XSWMZFX5.js @@ -1 +1 @@ -import{a as Fe,b as He,c as Z,d as Ue,e as Ge,f as ee,g as Ke,h as Ye,i as D,j as Je,k as We,l as Xe}from"./chunk-6OKZFKY7.js";import{a as je,b as Re,c as O}from"./chunk-C7LQJIED.js";import{e as X}from"./chunk-VHNPENGG.js";import{b as $e}from"./chunk-JIO2QO4M.js";import{a as Se,m as Le}from"./chunk-33KK2FKQ.js";import{a as De}from"./chunk-TC5EWLZ6.js";import{D as we,J as G,M as Te,P as K,Q as qe,R as Ve,U as Y,Ua as Ae,a as H,b as ve,i as xe,ia as Be,n as Me,na as J,o as ye,oa as Ee,qa as W,r as U,ra as Oe,sa as Ie,ta as ze,va as Ne,ya as Pe,za as Qe}from"./chunk-HB55W55I.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{$b as _,$c as ke,B as ce,Cb as de,Ea as g,Fa as C,Hb as u,Kb as I,N as le,Nb as z,Ob as N,Pb as P,Q as ne,Qb as o,Rb as l,Sb as F,Tb as fe,Ub as _e,Wb as re,Zb as k,a as M,b as y,ka as R,kb as c,kc as p,l as A,la as ue,lc as S,mc as he,o as se,pc as be,qa as T,ua as me,uc as ge,va as pe,vc as Ce}from"./chunk-FJILXII2.js";var Ze=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=pe({type:n})}static{this.\u0275inj=ue({imports:[G,W,Be,ye,U,K,Y,J,ze,Ie]})}}return n})();var lt={pending:"primary",processed:"success",failed:"error",retry:"caution"},et=(()=>{class n{constructor(){this.themeInfo=T(X),this.transloco=T(H)}create(e){let{colors:i}=this.themeInfo.info,t=Array(),a=[];if(e&&Array.from(new Set(e.queues.flatMap(v=>v.events?[v.events.earliestBucket,v.events.latestBucket]:[]))).sort().length){let v=e.queues.filter(h=>!h.isEmpty);t.push(...v.map(h=>h.queue));let x=Array();switch(e.params.event){case"created":x.push("pending");break;case"processed":x.push("processed");break;case"failed":x.push("retry","failed");break;default:x.push(...Ke);break}a.push(...x.map(h=>({label:this.transloco.translate("dashboard.queues."+h),data:v.map(d=>d.statusCounts[h]),backgroundColor:i[O(lt[h],50)]})))}return{type:"bar",options:{animation:!1,scales:{x:{ticks:{callback:r=>parseInt(r).toLocaleString(this.transloco.getActiveLang())}},y:{}},indexAxis:"y",plugins:{legend:{display:!0}}},data:{labels:t,datasets:a}}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var j="\\d+",oe="".concat(j,"(?:[\\.,]").concat(j,")?"),ut="(".concat(j,"Y)?(").concat(j,"M)?(").concat(j,"W)?(").concat(j,"D)?"),mt="T(".concat(oe,"H)?(").concat(oe,"M)?(").concat(oe,"S)?"),pt="P(?:".concat(ut,"(?:").concat(mt,")?)"),dt=["years","months","weeks","days","hours","minutes","seconds"],tt={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0},ft=new RegExp(pt),it=function(n){let s=n.replace(/,/g,".").match(ft);if(!s)throw new RangeError("invalid duration: ".concat(n));let e=s.slice(1);if(e.filter(function(i){return i!=null}).length===0)throw new RangeError("invalid duration: ".concat(n));if(e.filter(function(i){return/\./.test(i||"")}).length>1)throw new RangeError("only the smallest unit can be fractional");return e.reduce(function(i,t,a){return Object.assign(i,{[dt[a]]:parseFloat(t||"0")||0}),i},{})},_t=function(n,s){s||(s=new Date);let e=Object.assign({},tt,n),i=s.getTime(),t=new Date(i);t.setFullYear(t.getFullYear()+e.years),t.setMonth(t.getMonth()+e.months),t.setDate(t.getDate()+e.days);let a=e.hours*3600*1e3,r=e.minutes*60*1e3;return t.setMilliseconds(t.getMilliseconds()+e.seconds*1e3+a+r),t.setDate(t.getDate()+e.weeks*7),t},nt=function(n,s){s||(s=new Date);let e=Object.assign({},tt,n),i=s.getTime(),t=new Date(i),a=_t(e,t),r=s.getTimezoneOffset(),v=a.getTimezoneOffset(),x=(r-v)*60;return(a.getTime()-t.getTime())/1e3+x};var te=class{constructor(s,e=Ue,i){this.apollo=s,this.errorsService=i,this.rawResultSubject=new A({queue:{metrics:{buckets:[]}}}),this.resultSubject=new A(Ge),this.result$=this.resultSubject.asObservable(),this.loadingSubject=new A(!1),this.paramsSubject=new A(e),this.params$=this.paramsSubject.asObservable(),this.variablesSubject=new A(rt(e)),this.paramsSubject.pipe(ne(50)).subscribe(t=>{let a=this.variablesSubject.getValue(),r=rt(t);JSON.stringify(a)!==JSON.stringify(r)?this.variablesSubject.next(r):this.resultSubject.next(ot(t,this.rawResultSubject.getValue()))}),this.variablesSubject.pipe(ne(50)).subscribe(t=>this.request(t)),this.rawResultSubject.subscribe(t=>{let a=this.paramsSubject.getValue();this.resultSubject.next(ot(a,t)),this.setInterval(a.autoRefresh)})}setInterval(s){clearTimeout(this.refreshTimeout);let e=Xe[s??this.params.autoRefresh];e&&(this.refreshTimeout=setTimeout(()=>{this.refresh()},e*1e3))}get params(){return this.paramsSubject.getValue()}get bucketDuration(){let s=this.params.buckets.duration;return s==="AUTO"?"hour":s}get bucketMultiplier(){return this.resultSubject.getValue().params.buckets.multiplier??this.params.buckets.multiplier}get loading(){return this.loadingSubject.getValue()}setTimeframe(s){this.updateParams(e=>y(M({},e),{buckets:y(M({},e.buckets),{timeframe:s})}))}setQueue(s){this.updateParams(e=>y(M({},e),{queue:s??void 0}))}setBucketDuration(s,e){this.updateParams(i=>y(M({},i),{buckets:y(M({},i.buckets),{duration:s,multiplier:e??"AUTO"})}))}setBucketMultiplier(s){this.updateParams(e=>y(M({},e),{buckets:y(M({},e.buckets),{multiplier:s})}))}setEvent(s){this.updateParams(e=>y(M({},e),{event:s??void 0}))}setAutoRefreshInterval(s){this.updateParams(e=>y(M({},e),{autoRefresh:s}))}updateParams(s){this.paramsSubject.next(s(this.params))}refresh(){this.variablesSubject.next(this.variablesSubject.getValue())}request(s){return clearTimeout(this.refreshTimeout),this.loadingSubject.next(!0),this.apollo.query({query:we,variables:s,fetchPolicy:"no-cache"}).pipe(ce(e=>{e&&(this.loadingSubject.next(!1),this.rawResultSubject.next(e.data))})).pipe(le(e=>(this.errorsService.addError(`Failed to load queue metrics: ${e.message}`),this.loadingSubject.next(!1),this.setInterval(),se))).subscribe()}},rt=n=>({input:{bucketDuration:n.buckets.duration==="AUTO"?"hour":n.buckets.duration,queues:n.queue?[n.queue]:void 0,startTime:n.buckets.timeframe==="all"?void 0:new Date(new Date().getTime()-1e3*D[n.buckets.timeframe]).toISOString()}}),at=n=>Object.fromEntries(n),ot=(n,s)=>{let{bucketParams:e,earliestBucket:i,latestBucket:t}=ht(n,s),a=Object.entries(s.queue.metrics.buckets.reduce((h,d)=>{if(d.queue!==(n.queue??d.queue))return h;let f,m;if((n.event??!0)&&(f=q(d.createdAtBucket,e),i&&i.index>f.index&&(f=void 0)),d.ranAtBucket&&n.event!=="created"&&(m=q(d.ranAtBucket,e),m&&(t.indexm.index)&&(m=void 0)),d.queue!==n.queue&&!f&&(!m||d.status==="pending"))return h;let[V,b]=h[d.queue]??[Fe,[]],w=d.latency?nt(it(d.latency)):void 0;return y(M({},h),{[d.queue]:[(d.status==="pending"?f:m)?y(M({},V),{[d.status]:d.count+V[d.status]}):V,{created:f?y(M({},b.created),{[f.key]:{count:d.count+(b.created?.[f.key]?.count??0),latency:0,startTime:f.start}}):b.created,processed:m&&d.status==="processed"&&(n.event??!0)?y(M({},b.processed),{[m.key]:{count:d.count+(b.processed?.[m.key]?.count??0),latency:(b.processed?.[m.key]?.latency??0)+(w??0),startTime:m.start}}):b.processed,failed:m&&d.status==="failed"&&(n.event??!0)?y(M({},b.failed),{[m.key]:{count:d.count+(b.failed?.[m.key]?.count??0),latency:(b.failed?.[m.key]?.latency??0)+(w??0),startTime:m.start}}):b.failed}]})},{})).map(([h,[d,f]])=>{let m;if(Object.keys(f).length){let V=Array(),b=at(Array("created","processed","failed").flatMap(w=>{let B=at(Object.entries(f[w]??{}).filter(([,ie])=>ie?.count).sort(([ie],[ct])=>parseInt(ie)h.events?[h.events.earliestBucket]:[]).sort()[0],x=a.flatMap(h=>h.events?[h.events.latestBucket]:[]).sort().reverse()[0];return v&&x&&(r={earliestBucket:v,latestBucket:x}),{params:y(M({},n),{buckets:e}),queues:a,bucketSpan:r}},ht=(n,s)=>{let e=n.buckets.duration==="AUTO"?"hour":n.buckets.duration,i=n.buckets.multiplier==="AUTO"?1:n.buckets.multiplier,t=n.buckets.timeframe,a=new Date,r=q(a,{duration:e,multiplier:i}),v=t==="all"?void 0:q(a.getTime()-1e3*D[t],{duration:e,multiplier:i}),x=[...v?[v]:[],...s.queue.metrics.buckets.flatMap(f=>[q(f.createdAtBucket,{duration:e,multiplier:i}),...f.ranAtBucket?[q(f.ranAtBucket,{duration:e,multiplier:i})]:[]]),r].filter(f=>!v||f.index>=v.index).sort((f,m)=>f.index-m.index),h=x[0],d=x[x.length-1];if(n.buckets.multiplier==="AUTO"){let m=d.index-h.index;i=Math.min(60,Math.max(Math.floor(m/(20*5))*5,1))}return{bucketParams:{duration:e,multiplier:i,timeframe:t},earliestBucket:t==="all"?void 0:q(a.getTime()-1e3*D[t],{duration:e,multiplier:i}),latestBucket:q(Math.max(a.getTime(),d.start.getTime()),{duration:e,multiplier:i})}},q=(n,s)=>{let e=new Date(n),i=1e3*Z[s.duration]*s.multiplier,t=Math.floor(e.getTime()/i);return{key:`${t}`,index:t,start:new Date(t*i)}};var L={created:"primary",processed:"success",failed:"error"},st=(()=>{class n{constructor(){this.themeInfo=T(X),this.transloco=T(H)}create(e){let{colors:i}=this.themeInfo.info,t=Array(),a=[];if(e){let r=e.queues.filter(f=>!f.isEmpty),v=Array.from(new Set(r.flatMap(f=>f.events?[f.events.earliestBucket,f.events.latestBucket]:[]))).sort(),x=new Date,h=e.params.buckets.timeframe==="all"?v[0]:Math.min(v[0],q(x.getTime()-1e3*D[e.params.buckets.timeframe],e.params.buckets).index),d=Math.max(v[v.length-1],q(x,e.params.buckets).index);if(v.length){for(let m=h;m<=d;m++)t.push(this.formatBucketKey(e.params.buckets,m));let f=ee.filter(m=>(e.params.event??m)===m);for(let m of r){for(let b of f){let w=Array();for(let B=h;B<=d;B++)w.push(m.events?.eventBuckets?.[b]?.entries?.[`${B}`]?.count??0);a.push({yAxisID:"yCount",label:m.queue+": "+this.transloco.translate("dashboard.queues."+b),data:w,borderColor:i[O(L[b],50)],pointBackgroundColor:i[O(L[b],20)],pointBorderColor:i[O(L[b],80)],pointHoverBackgroundColor:i[O(L[b],40)],pointHoverBorderColor:i[O(L[b],60)]})}if(["processed","failed"].filter(b=>f.includes(b)).length){let b=Array();for(let w=h;w<=d;w++){let B=["processed","failed"].filter(E=>f.includes(E)).reduce((E,$)=>{let Q=m.events?.eventBuckets?.[$]?.entries?.[`${w}`];return Q?.count?[(E?.[0]??0)+Q.latency,(E?.[1]??0)+Q.count]:E},null);b.push(B?B[0]/B[1]:null)}a.push({yAxisID:"yLatency",label:m.queue+": "+this.transloco.translate("dashboard.queues.latency"),data:b,borderColor:i["tertiary-50"],pointHoverBackgroundColor:i["tertiary-80"],pointHoverBorderColor:i["tertiary-20"]})}}}}return{type:"line",options:{animation:!1,elements:{line:{tension:.5}},scales:{yCount:{position:"left",ticks:{callback:r=>parseInt(r).toLocaleString(this.transloco.getActiveLang())}},yLatency:{position:"right",ticks:{callback:this.formatDuration.bind(this)}}},plugins:{legend:{display:!0},decimation:{enabled:!0}}},data:{labels:t,datasets:a}}}formatBucketKey(e,i){let t;switch(e.duration){case"day":t="d LLL";break;case"hour":t="d LLL H:00";break;case"minute":t="H:mm";break}return je(1e3*Z[e.duration]*e.multiplier*i,t,{locale:Le(this.transloco.getActiveLang())})}formatDuration(e){if(typeof e=="string"&&(e=parseInt(e)),e===0)return"0";let i=e,t=0,a=0,r=0;return i>=60&&(t=Math.floor(i/60),i=i%60,t>=5&&(i=0,t>=60&&(a=Math.floor(t/60),t=t%60,a>=5&&(t=0,a>=24&&(r=Math.floor(a/24),a=a%24))))),$e({days:r,hours:a,minutes:t,seconds:i},this.transloco.getActiveLang())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function bt(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit,i=_().$implicit;u("value",e),c(),S(i("dashboard.interval."+e))}}function gt(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit,i=_().$implicit;u("value",e),c(),S(i("dashboard.interval."+e+"s"))}}function Ct(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit;u("value",e),c(),S(e)}}function kt(n,s){if(n&1){let e=re();o(0,"button",16),k("click",function(){let t=g(e).$implicit,a=_(2);return C(a.queueMetricsController.params.queue===t||a.queueMetricsController.setQueue(t))}),o(1,"mat-icon"),p(2),l()()}if(n&2){let e=s.$implicit,i=_(2);I(i.queueMetricsController.params.queue===e?"selected":"deselected"),u("matTooltip",e),c(2),S(i.queueMetricsController.params.queue===e?"radio_button_checked":"radio_button_unchecked")}}function vt(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit,i=_().$implicit;u("value",e),c(),S(i("dashboard.event."+e))}}function xt(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit,i=_().$implicit;u("value",e),c(),S(i("dashboard.interval."+e))}}function Mt(n,s){if(n&1){let e=re();fe(0),o(1,"mat-card")(2,"mat-card-content")(3,"mat-grid-list",1)(4,"mat-grid-tile",2)(5,"mat-card",3)(6,"mat-card-header")(7,"mat-card-title")(8,"h4"),p(9),l()()(),o(10,"mat-card-content")(11,"mat-form-field",4)(12,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setTimeframe(t))}),N(13,bt,2,2,"mat-option",6,z),l()(),o(15,"div",7)(16,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setTimeframe(t.timeframeNames[0]))}),o(17,"mat-icon"),p(18,"first_page"),l()(),o(19,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.queueMetricsController.params.buckets.timeframe)-1]))}),o(20,"mat-icon"),p(21,"navigate_before"),l()(),o(22,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.queueMetricsController.params.buckets.timeframe)+1]))}),o(23,"mat-icon"),p(24,"navigate_next"),l()(),o(25,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.length-1]))}),o(26,"mat-icon"),p(27,"last_page"),l()()()()()(),o(28,"mat-grid-tile",2)(29,"mat-card",9)(30,"mat-card-header")(31,"mat-card-title")(32,"h4"),p(33),l()()(),o(34,"mat-card-content")(35,"mat-form-field",10)(36,"input",11),ge(37,"async"),k("change",function(t){g(e);let a=_();return C(a.handleMultiplierEvent(t))}),l()(),o(38,"mat-form-field",12)(39,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setBucketDuration(t))}),N(40,gt,2,2,"mat-option",6,z),l()(),o(42,"div",7)(43,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketMultiplier(t.queueMetricsController.bucketMultiplier-1))}),o(44,"mat-icon"),p(45,"remove"),l()(),o(46,"button",13),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketMultiplier(t.queueMetricsController.bucketMultiplier+1))}),o(47,"mat-icon"),p(48,"add"),l()(),o(49,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketDuration(t.resolutionNames[0]))}),o(50,"mat-icon"),p(51,"first_page"),l()(),o(52,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.queueMetricsController.bucketDuration)-1]))}),o(53,"mat-icon"),p(54,"navigate_before"),l()(),o(55,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.queueMetricsController.bucketDuration)+1]))}),o(56,"mat-icon"),p(57,"navigate_next"),l()(),o(58,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.length-1]))}),o(59,"mat-icon"),p(60,"last_page"),l()()()()()(),o(61,"mat-grid-tile",2)(62,"mat-card")(63,"mat-card-header")(64,"mat-card-title")(65,"h4"),p(66),l()()(),o(67,"mat-card-content")(68,"mat-form-field",4)(69,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setQueue(t==="_all"?null:t))}),o(70,"mat-option",14),p(71),l(),N(72,Ct,2,2,"mat-option",6,z),l()(),o(74,"div",15)(75,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setQueue(null))}),o(76,"mat-icon",17),p(77,"workspaces"),l()(),N(78,kt,3,4,"button",18,z),l()()()(),o(80,"mat-grid-tile",2)(81,"mat-card")(82,"mat-card-header")(83,"mat-card-title")(84,"h4"),p(85),l()()(),o(86,"mat-card-content")(87,"mat-form-field",4)(88,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setEvent(t==="_all"?null:t))}),o(89,"mat-option",14),p(90,"All"),l(),N(91,vt,2,2,"mat-option",6,z),l()(),o(93,"div",15)(94,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setEvent(null))}),o(95,"mat-icon",17),p(96,"radio_button_checked"),l()(),o(97,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.params.event==="created"||t.queueMetricsController.setEvent("created"))}),o(98,"mat-icon"),p(99,"add_circle"),l()(),o(100,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.params.event==="processed"||t.queueMetricsController.setEvent("processed"))}),o(101,"mat-icon"),p(102,"check_circle"),l()(),o(103,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.params.event==="failed"||t.queueMetricsController.setEvent("failed"))}),o(104,"mat-icon"),p(105,"error"),l()()()()()(),o(106,"mat-grid-tile",2)(107,"mat-card",19)(108,"mat-card-header")(109,"mat-card-title")(110,"h4"),p(111),l()()(),o(112,"mat-card-content")(113,"mat-form-field",4)(114,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setAutoRefreshInterval(t))}),N(115,xt,2,2,"mat-option",6,z),l()(),o(117,"div",15)(118,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.refresh())}),o(119,"mat-icon"),p(120,"sync"),l()()()()()()(),o(121,"div",20),F(122,"mat-progress-bar",21),l(),o(123,"mat-grid-list",1)(124,"mat-grid-tile",2)(125,"mat-card")(126,"mat-card-header")(127,"mat-card-title")(128,"h4"),p(129),l()()(),o(130,"mat-card-content"),F(131,"app-chart",22),l()()(),o(132,"mat-grid-tile",2)(133,"mat-card")(134,"mat-card-header")(135,"mat-card-title")(136,"h4"),p(137),l()()(),o(138,"mat-card-content"),F(139,"app-chart",22),l()()()()()(),_e()}if(n&2){let e,i,t,a=s.$implicit,r=_();c(3),u("cols",r.breakpoints.sizeAtLeast("Large")?5:r.breakpoints.sizeAtLeast("Medium")?3:r.breakpoints.sizeAtLeast("Small")?2:1),c(),u("colspan",1)("rowspan",2),c(5),S(a("dashboard.metrics.timeframe")),c(3),u("value",r.queueMetricsController.params.buckets.timeframe),c(),P(r.timeframeNames),c(3),u("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)<=0),c(3),u("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)<=0),c(3),u("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)>=r.timeframeNames.length-1),c(3),u("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)>=r.timeframeNames.length-1),c(3),u("colspan",1)("rowspan",2),c(5),he(" ",a("dashboard.metrics.resolution")," "),c(3),u("placeholder",(e=(e=Ce(37,66,r.queueMetricsController.result$))==null||e.params==null||e.params.buckets==null||e.params.buckets.multiplier==null?null:e.params.buckets.multiplier.toString())!==null&&e!==void 0?e:"")("value",r.queueMetricsController.params.buckets.multiplier),c(3),u("value",r.queueMetricsController.bucketDuration),c(),P(r.resolutionNames),c(3),u("disabled",r.queueMetricsController.bucketMultiplier===1),c(6),u("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)<=0),c(3),u("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)<=0),c(3),u("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)>=r.resolutionNames.length-1),c(3),u("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)>=r.resolutionNames.length-1),c(3),u("colspan",1)("rowspan",2),c(5),S(a("dashboard.queues.queue")),c(3),u("value",(i=r.queueMetricsController.params.queue)!==null&&i!==void 0?i:"_all"),c(2),S(a("general.all")),c(),P(r.availableQueueNames),c(3),I(r.queueMetricsController.params.queue?"deselected":"selected"),u("matTooltip",a("general.all")),c(3),P(r.availableQueueNames),c(2),u("colspan",1)("rowspan",2),c(5),S(a("dashboard.metrics.event")),c(3),u("value",(t=r.queueMetricsController.params.event)!==null&&t!==void 0?t:"_all"),c(3),P(r.eventNames),c(3),I(r.queueMetricsController.params.event?"deselected":"selected"),u("matTooltip",a("general.all")),c(3),I(r.queueMetricsController.params.event==="created"?"selected":"deselected"),u("matTooltip",a("dashboard.queues.created")),c(3),I(r.queueMetricsController.params.event==="processed"?"selected":"deselected"),u("matTooltip",a("dashboard.queues.processed")),c(3),I(r.queueMetricsController.params.event==="failed"?"selected":"deselected"),u("matTooltip",a("dashboard.queues.failed")),c(3),u("colspan",1)("rowspan",2),c(5),S(a("general.refresh")),c(3),u("value",r.queueMetricsController.params.autoRefresh),c(),P(r.autoRefreshIntervalNames),c(3),u("matTooltip",a("general.refresh")),c(4),u("mode",r.queueMetricsController.loading?"indeterminate":"determinate")("value",0),c(),u("cols",r.breakpoints.sizeAtLeast("Large")?2:1),c(),u("colspan",1)("rowspan",5),c(5),S(a("dashboard.queues.total_counts_by_status")),c(2),u("adapter",r.totals)("$data",r.queueMetricsController.result$)("height",400)("width",550),c(),u("colspan",1)("rowspan",5),c(5),S(a("dashboard.metrics.throughput")),c(2),u("adapter",r.timeline)("$data",r.queueMetricsController.result$)("height",400)("width",550)}}var zi=(()=>{class n{constructor(){this.breakpoints=T(De),this.apollo=T(xe),this.queueMetricsController=new te(this.apollo,{buckets:{duration:"AUTO",multiplier:"AUTO",timeframe:"all"},autoRefresh:"seconds_30"},T(Se)),this.timeline=T(st),this.totals=T(et),this.resolutionNames=He,this.timeframeNames=Ye,this.availableQueueNames=Je,this.autoRefreshIntervalNames=We,this.eventNames=ee}ngOnInit(){this.queueMetricsController.result$.subscribe(e=>{if(this.queueMetricsController.params.buckets.timeframe==="all"&&this.queueMetricsController.params.buckets.duration==="AUTO"&&e.params.buckets.duration==="hour"){let i=e.bucketSpan;i&&i.latestBucket-i.earliestBucket<12&&this.queueMetricsController.setBucketDuration("minute")}})}ngOnDestroy(){this.queueMetricsController.setAutoRefreshInterval("off")}handleMultiplierEvent(e){let i=e.currentTarget.value;this.queueMetricsController.setBucketMultiplier(/^\d+$/.test(i)?parseInt(i):"AUTO")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=me({type:n,selectors:[["app-queue-visualize"]],standalone:!0,features:[be],decls:1,vars:0,consts:[[4,"transloco"],["rowHeight","100px",3,"cols"],[3,"colspan","rowspan"],[1,"form-timeframe"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],[1,"paginator","actions"],["mat-icon-button","",3,"click","disabled"],[1,"form-resolution"],["subscriptSizing","dynamic",1,"form-input-multiplier"],["type","number","matInput","","min","1","step","1",3,"change","placeholder","value"],["subscriptSizing","dynamic",1,"form-select-duration"],["mat-icon-button","",3,"click"],["value","_all"],[1,"actions"],["mat-icon-button","",3,"click","matTooltip"],["fontSet","material-icons"],["mat-icon-button","",3,"class","matTooltip"],[1,"form-refresh"],[1,"progress-bar-container"],[3,"mode","value"],[3,"adapter","$data","height","width"]],template:function(i,t){i&1&&de(0,Mt,140,68,"ng-container",0)},dependencies:[Ae,Me,U,K,Ve,Y,qe,Te,Ee,J,W,Oe,Ne,Qe,Pe,ve,ke,Re,G,Ze],styles:[".actions[_ngcontent-%COMP%]{width:210px;padding-top:12px;--mdc-icon-button-state-layer-size: 32px}.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:22px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:0}.progress-bar-container[_ngcontent-%COMP%]{width:100%;height:10px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{min-width:190px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:16px;font-size:18px}mat-form-field[_ngcontent-%COMP%]{width:186px}.form-resolution[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:-2px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%]{width:60px;margin-right:10px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-resolution[_ngcontent-%COMP%] .form-select-duration[_ngcontent-%COMP%]{width:116px}"]})}}return n})();export{zi as QueueVisualizeComponent}; +import{a as Fe,b as He,c as Z,d as Ue,e as Ge,f as ee,g as Ke,h as Ye,i as D,j as Je,k as We,l as Xe}from"./chunk-6OKZFKY7.js";import{a as je,b as Re,c as O}from"./chunk-BF5UYWQS.js";import{e as X}from"./chunk-VHNPENGG.js";import{b as $e}from"./chunk-2DNC66PX.js";import{a as Se,m as Le}from"./chunk-ZF4WX6G7.js";import{a as De}from"./chunk-3AJEMLV6.js";import{D as we,J as G,M as Te,P as K,Q as qe,R as Ve,U as Y,Ua as Ae,a as H,b as ve,i as xe,ia as Be,n as Me,na as J,o as ye,oa as Ee,qa as W,r as U,ra as Oe,sa as Ie,ta as ze,va as Ne,ya as Pe,za as Qe}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{$b as _,$c as ke,B as ce,Cb as de,Ea as g,Fa as C,Hb as u,Kb as I,N as le,Nb as z,Ob as N,Pb as P,Q as ne,Qb as o,Rb as l,Sb as F,Tb as fe,Ub as _e,Wb as re,Zb as k,a as M,b as y,ka as R,kb as c,kc as p,l as A,la as ue,lc as S,mc as he,o as se,pc as be,qa as T,ua as me,uc as ge,va as pe,vc as Ce}from"./chunk-FJILXII2.js";var Ze=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=pe({type:n})}static{this.\u0275inj=ue({imports:[G,W,Be,ye,U,K,Y,J,ze,Ie]})}}return n})();var lt={pending:"primary",processed:"success",failed:"error",retry:"caution"},et=(()=>{class n{constructor(){this.themeInfo=T(X),this.transloco=T(H)}create(e){let{colors:i}=this.themeInfo.info,t=Array(),a=[];if(e&&Array.from(new Set(e.queues.flatMap(v=>v.events?[v.events.earliestBucket,v.events.latestBucket]:[]))).sort().length){let v=e.queues.filter(h=>!h.isEmpty);t.push(...v.map(h=>h.queue));let x=Array();switch(e.params.event){case"created":x.push("pending");break;case"processed":x.push("processed");break;case"failed":x.push("retry","failed");break;default:x.push(...Ke);break}a.push(...x.map(h=>({label:this.transloco.translate("dashboard.queues."+h),data:v.map(d=>d.statusCounts[h]),backgroundColor:i[O(lt[h],50)]})))}return{type:"bar",options:{animation:!1,scales:{x:{ticks:{callback:r=>parseInt(r).toLocaleString(this.transloco.getActiveLang())}},y:{}},indexAxis:"y",plugins:{legend:{display:!0}}},data:{labels:t,datasets:a}}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var j="\\d+",oe="".concat(j,"(?:[\\.,]").concat(j,")?"),ut="(".concat(j,"Y)?(").concat(j,"M)?(").concat(j,"W)?(").concat(j,"D)?"),mt="T(".concat(oe,"H)?(").concat(oe,"M)?(").concat(oe,"S)?"),pt="P(?:".concat(ut,"(?:").concat(mt,")?)"),dt=["years","months","weeks","days","hours","minutes","seconds"],tt={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0},ft=new RegExp(pt),it=function(n){let s=n.replace(/,/g,".").match(ft);if(!s)throw new RangeError("invalid duration: ".concat(n));let e=s.slice(1);if(e.filter(function(i){return i!=null}).length===0)throw new RangeError("invalid duration: ".concat(n));if(e.filter(function(i){return/\./.test(i||"")}).length>1)throw new RangeError("only the smallest unit can be fractional");return e.reduce(function(i,t,a){return Object.assign(i,{[dt[a]]:parseFloat(t||"0")||0}),i},{})},_t=function(n,s){s||(s=new Date);let e=Object.assign({},tt,n),i=s.getTime(),t=new Date(i);t.setFullYear(t.getFullYear()+e.years),t.setMonth(t.getMonth()+e.months),t.setDate(t.getDate()+e.days);let a=e.hours*3600*1e3,r=e.minutes*60*1e3;return t.setMilliseconds(t.getMilliseconds()+e.seconds*1e3+a+r),t.setDate(t.getDate()+e.weeks*7),t},nt=function(n,s){s||(s=new Date);let e=Object.assign({},tt,n),i=s.getTime(),t=new Date(i),a=_t(e,t),r=s.getTimezoneOffset(),v=a.getTimezoneOffset(),x=(r-v)*60;return(a.getTime()-t.getTime())/1e3+x};var te=class{constructor(s,e=Ue,i){this.apollo=s,this.errorsService=i,this.rawResultSubject=new A({queue:{metrics:{buckets:[]}}}),this.resultSubject=new A(Ge),this.result$=this.resultSubject.asObservable(),this.loadingSubject=new A(!1),this.paramsSubject=new A(e),this.params$=this.paramsSubject.asObservable(),this.variablesSubject=new A(rt(e)),this.paramsSubject.pipe(ne(50)).subscribe(t=>{let a=this.variablesSubject.getValue(),r=rt(t);JSON.stringify(a)!==JSON.stringify(r)?this.variablesSubject.next(r):this.resultSubject.next(ot(t,this.rawResultSubject.getValue()))}),this.variablesSubject.pipe(ne(50)).subscribe(t=>this.request(t)),this.rawResultSubject.subscribe(t=>{let a=this.paramsSubject.getValue();this.resultSubject.next(ot(a,t)),this.setInterval(a.autoRefresh)})}setInterval(s){clearTimeout(this.refreshTimeout);let e=Xe[s??this.params.autoRefresh];e&&(this.refreshTimeout=setTimeout(()=>{this.refresh()},e*1e3))}get params(){return this.paramsSubject.getValue()}get bucketDuration(){let s=this.params.buckets.duration;return s==="AUTO"?"hour":s}get bucketMultiplier(){return this.resultSubject.getValue().params.buckets.multiplier??this.params.buckets.multiplier}get loading(){return this.loadingSubject.getValue()}setTimeframe(s){this.updateParams(e=>y(M({},e),{buckets:y(M({},e.buckets),{timeframe:s})}))}setQueue(s){this.updateParams(e=>y(M({},e),{queue:s??void 0}))}setBucketDuration(s,e){this.updateParams(i=>y(M({},i),{buckets:y(M({},i.buckets),{duration:s,multiplier:e??"AUTO"})}))}setBucketMultiplier(s){this.updateParams(e=>y(M({},e),{buckets:y(M({},e.buckets),{multiplier:s})}))}setEvent(s){this.updateParams(e=>y(M({},e),{event:s??void 0}))}setAutoRefreshInterval(s){this.updateParams(e=>y(M({},e),{autoRefresh:s}))}updateParams(s){this.paramsSubject.next(s(this.params))}refresh(){this.variablesSubject.next(this.variablesSubject.getValue())}request(s){return clearTimeout(this.refreshTimeout),this.loadingSubject.next(!0),this.apollo.query({query:we,variables:s,fetchPolicy:"no-cache"}).pipe(ce(e=>{e&&(this.loadingSubject.next(!1),this.rawResultSubject.next(e.data))})).pipe(le(e=>(this.errorsService.addError(`Failed to load queue metrics: ${e.message}`),this.loadingSubject.next(!1),this.setInterval(),se))).subscribe()}},rt=n=>({input:{bucketDuration:n.buckets.duration==="AUTO"?"hour":n.buckets.duration,queues:n.queue?[n.queue]:void 0,startTime:n.buckets.timeframe==="all"?void 0:new Date(new Date().getTime()-1e3*D[n.buckets.timeframe]).toISOString()}}),at=n=>Object.fromEntries(n),ot=(n,s)=>{let{bucketParams:e,earliestBucket:i,latestBucket:t}=ht(n,s),a=Object.entries(s.queue.metrics.buckets.reduce((h,d)=>{if(d.queue!==(n.queue??d.queue))return h;let f,m;if((n.event??!0)&&(f=q(d.createdAtBucket,e),i&&i.index>f.index&&(f=void 0)),d.ranAtBucket&&n.event!=="created"&&(m=q(d.ranAtBucket,e),m&&(t.indexm.index)&&(m=void 0)),d.queue!==n.queue&&!f&&(!m||d.status==="pending"))return h;let[V,b]=h[d.queue]??[Fe,[]],w=d.latency?nt(it(d.latency)):void 0;return y(M({},h),{[d.queue]:[(d.status==="pending"?f:m)?y(M({},V),{[d.status]:d.count+V[d.status]}):V,{created:f?y(M({},b.created),{[f.key]:{count:d.count+(b.created?.[f.key]?.count??0),latency:0,startTime:f.start}}):b.created,processed:m&&d.status==="processed"&&(n.event??!0)?y(M({},b.processed),{[m.key]:{count:d.count+(b.processed?.[m.key]?.count??0),latency:(b.processed?.[m.key]?.latency??0)+(w??0),startTime:m.start}}):b.processed,failed:m&&d.status==="failed"&&(n.event??!0)?y(M({},b.failed),{[m.key]:{count:d.count+(b.failed?.[m.key]?.count??0),latency:(b.failed?.[m.key]?.latency??0)+(w??0),startTime:m.start}}):b.failed}]})},{})).map(([h,[d,f]])=>{let m;if(Object.keys(f).length){let V=Array(),b=at(Array("created","processed","failed").flatMap(w=>{let B=at(Object.entries(f[w]??{}).filter(([,ie])=>ie?.count).sort(([ie],[ct])=>parseInt(ie)h.events?[h.events.earliestBucket]:[]).sort()[0],x=a.flatMap(h=>h.events?[h.events.latestBucket]:[]).sort().reverse()[0];return v&&x&&(r={earliestBucket:v,latestBucket:x}),{params:y(M({},n),{buckets:e}),queues:a,bucketSpan:r}},ht=(n,s)=>{let e=n.buckets.duration==="AUTO"?"hour":n.buckets.duration,i=n.buckets.multiplier==="AUTO"?1:n.buckets.multiplier,t=n.buckets.timeframe,a=new Date,r=q(a,{duration:e,multiplier:i}),v=t==="all"?void 0:q(a.getTime()-1e3*D[t],{duration:e,multiplier:i}),x=[...v?[v]:[],...s.queue.metrics.buckets.flatMap(f=>[q(f.createdAtBucket,{duration:e,multiplier:i}),...f.ranAtBucket?[q(f.ranAtBucket,{duration:e,multiplier:i})]:[]]),r].filter(f=>!v||f.index>=v.index).sort((f,m)=>f.index-m.index),h=x[0],d=x[x.length-1];if(n.buckets.multiplier==="AUTO"){let m=d.index-h.index;i=Math.min(60,Math.max(Math.floor(m/(20*5))*5,1))}return{bucketParams:{duration:e,multiplier:i,timeframe:t},earliestBucket:t==="all"?void 0:q(a.getTime()-1e3*D[t],{duration:e,multiplier:i}),latestBucket:q(Math.max(a.getTime(),d.start.getTime()),{duration:e,multiplier:i})}},q=(n,s)=>{let e=new Date(n),i=1e3*Z[s.duration]*s.multiplier,t=Math.floor(e.getTime()/i);return{key:`${t}`,index:t,start:new Date(t*i)}};var L={created:"primary",processed:"success",failed:"error"},st=(()=>{class n{constructor(){this.themeInfo=T(X),this.transloco=T(H)}create(e){let{colors:i}=this.themeInfo.info,t=Array(),a=[];if(e){let r=e.queues.filter(f=>!f.isEmpty),v=Array.from(new Set(r.flatMap(f=>f.events?[f.events.earliestBucket,f.events.latestBucket]:[]))).sort(),x=new Date,h=e.params.buckets.timeframe==="all"?v[0]:Math.min(v[0],q(x.getTime()-1e3*D[e.params.buckets.timeframe],e.params.buckets).index),d=Math.max(v[v.length-1],q(x,e.params.buckets).index);if(v.length){for(let m=h;m<=d;m++)t.push(this.formatBucketKey(e.params.buckets,m));let f=ee.filter(m=>(e.params.event??m)===m);for(let m of r){for(let b of f){let w=Array();for(let B=h;B<=d;B++)w.push(m.events?.eventBuckets?.[b]?.entries?.[`${B}`]?.count??0);a.push({yAxisID:"yCount",label:m.queue+": "+this.transloco.translate("dashboard.queues."+b),data:w,borderColor:i[O(L[b],50)],pointBackgroundColor:i[O(L[b],20)],pointBorderColor:i[O(L[b],80)],pointHoverBackgroundColor:i[O(L[b],40)],pointHoverBorderColor:i[O(L[b],60)]})}if(["processed","failed"].filter(b=>f.includes(b)).length){let b=Array();for(let w=h;w<=d;w++){let B=["processed","failed"].filter(E=>f.includes(E)).reduce((E,$)=>{let Q=m.events?.eventBuckets?.[$]?.entries?.[`${w}`];return Q?.count?[(E?.[0]??0)+Q.latency,(E?.[1]??0)+Q.count]:E},null);b.push(B?B[0]/B[1]:null)}a.push({yAxisID:"yLatency",label:m.queue+": "+this.transloco.translate("dashboard.queues.latency"),data:b,borderColor:i["tertiary-50"],pointHoverBackgroundColor:i["tertiary-80"],pointHoverBorderColor:i["tertiary-20"]})}}}}return{type:"line",options:{animation:!1,elements:{line:{tension:.5}},scales:{yCount:{position:"left",ticks:{callback:r=>parseInt(r).toLocaleString(this.transloco.getActiveLang())}},yLatency:{position:"right",ticks:{callback:this.formatDuration.bind(this)}}},plugins:{legend:{display:!0},decimation:{enabled:!0}}},data:{labels:t,datasets:a}}}formatBucketKey(e,i){let t;switch(e.duration){case"day":t="d LLL";break;case"hour":t="d LLL H:00";break;case"minute":t="H:mm";break}return je(1e3*Z[e.duration]*e.multiplier*i,t,{locale:Le(this.transloco.getActiveLang())})}formatDuration(e){if(typeof e=="string"&&(e=parseInt(e)),e===0)return"0";let i=e,t=0,a=0,r=0;return i>=60&&(t=Math.floor(i/60),i=i%60,t>=5&&(i=0,t>=60&&(a=Math.floor(t/60),t=t%60,a>=5&&(t=0,a>=24&&(r=Math.floor(a/24),a=a%24))))),$e({days:r,hours:a,minutes:t,seconds:i},this.transloco.getActiveLang())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function bt(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit,i=_().$implicit;u("value",e),c(),S(i("dashboard.interval."+e))}}function gt(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit,i=_().$implicit;u("value",e),c(),S(i("dashboard.interval."+e+"s"))}}function Ct(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit;u("value",e),c(),S(e)}}function kt(n,s){if(n&1){let e=re();o(0,"button",16),k("click",function(){let t=g(e).$implicit,a=_(2);return C(a.queueMetricsController.params.queue===t||a.queueMetricsController.setQueue(t))}),o(1,"mat-icon"),p(2),l()()}if(n&2){let e=s.$implicit,i=_(2);I(i.queueMetricsController.params.queue===e?"selected":"deselected"),u("matTooltip",e),c(2),S(i.queueMetricsController.params.queue===e?"radio_button_checked":"radio_button_unchecked")}}function vt(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit,i=_().$implicit;u("value",e),c(),S(i("dashboard.event."+e))}}function xt(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit,i=_().$implicit;u("value",e),c(),S(i("dashboard.interval."+e))}}function Mt(n,s){if(n&1){let e=re();fe(0),o(1,"mat-card")(2,"mat-card-content")(3,"mat-grid-list",1)(4,"mat-grid-tile",2)(5,"mat-card",3)(6,"mat-card-header")(7,"mat-card-title")(8,"h4"),p(9),l()()(),o(10,"mat-card-content")(11,"mat-form-field",4)(12,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setTimeframe(t))}),N(13,bt,2,2,"mat-option",6,z),l()(),o(15,"div",7)(16,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setTimeframe(t.timeframeNames[0]))}),o(17,"mat-icon"),p(18,"first_page"),l()(),o(19,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.queueMetricsController.params.buckets.timeframe)-1]))}),o(20,"mat-icon"),p(21,"navigate_before"),l()(),o(22,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.queueMetricsController.params.buckets.timeframe)+1]))}),o(23,"mat-icon"),p(24,"navigate_next"),l()(),o(25,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.length-1]))}),o(26,"mat-icon"),p(27,"last_page"),l()()()()()(),o(28,"mat-grid-tile",2)(29,"mat-card",9)(30,"mat-card-header")(31,"mat-card-title")(32,"h4"),p(33),l()()(),o(34,"mat-card-content")(35,"mat-form-field",10)(36,"input",11),ge(37,"async"),k("change",function(t){g(e);let a=_();return C(a.handleMultiplierEvent(t))}),l()(),o(38,"mat-form-field",12)(39,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setBucketDuration(t))}),N(40,gt,2,2,"mat-option",6,z),l()(),o(42,"div",7)(43,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketMultiplier(t.queueMetricsController.bucketMultiplier-1))}),o(44,"mat-icon"),p(45,"remove"),l()(),o(46,"button",13),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketMultiplier(t.queueMetricsController.bucketMultiplier+1))}),o(47,"mat-icon"),p(48,"add"),l()(),o(49,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketDuration(t.resolutionNames[0]))}),o(50,"mat-icon"),p(51,"first_page"),l()(),o(52,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.queueMetricsController.bucketDuration)-1]))}),o(53,"mat-icon"),p(54,"navigate_before"),l()(),o(55,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.queueMetricsController.bucketDuration)+1]))}),o(56,"mat-icon"),p(57,"navigate_next"),l()(),o(58,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.length-1]))}),o(59,"mat-icon"),p(60,"last_page"),l()()()()()(),o(61,"mat-grid-tile",2)(62,"mat-card")(63,"mat-card-header")(64,"mat-card-title")(65,"h4"),p(66),l()()(),o(67,"mat-card-content")(68,"mat-form-field",4)(69,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setQueue(t==="_all"?null:t))}),o(70,"mat-option",14),p(71),l(),N(72,Ct,2,2,"mat-option",6,z),l()(),o(74,"div",15)(75,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setQueue(null))}),o(76,"mat-icon",17),p(77,"workspaces"),l()(),N(78,kt,3,4,"button",18,z),l()()()(),o(80,"mat-grid-tile",2)(81,"mat-card")(82,"mat-card-header")(83,"mat-card-title")(84,"h4"),p(85),l()()(),o(86,"mat-card-content")(87,"mat-form-field",4)(88,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setEvent(t==="_all"?null:t))}),o(89,"mat-option",14),p(90,"All"),l(),N(91,vt,2,2,"mat-option",6,z),l()(),o(93,"div",15)(94,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setEvent(null))}),o(95,"mat-icon",17),p(96,"radio_button_checked"),l()(),o(97,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.params.event==="created"||t.queueMetricsController.setEvent("created"))}),o(98,"mat-icon"),p(99,"add_circle"),l()(),o(100,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.params.event==="processed"||t.queueMetricsController.setEvent("processed"))}),o(101,"mat-icon"),p(102,"check_circle"),l()(),o(103,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.params.event==="failed"||t.queueMetricsController.setEvent("failed"))}),o(104,"mat-icon"),p(105,"error"),l()()()()()(),o(106,"mat-grid-tile",2)(107,"mat-card",19)(108,"mat-card-header")(109,"mat-card-title")(110,"h4"),p(111),l()()(),o(112,"mat-card-content")(113,"mat-form-field",4)(114,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setAutoRefreshInterval(t))}),N(115,xt,2,2,"mat-option",6,z),l()(),o(117,"div",15)(118,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.refresh())}),o(119,"mat-icon"),p(120,"sync"),l()()()()()()(),o(121,"div",20),F(122,"mat-progress-bar",21),l(),o(123,"mat-grid-list",1)(124,"mat-grid-tile",2)(125,"mat-card")(126,"mat-card-header")(127,"mat-card-title")(128,"h4"),p(129),l()()(),o(130,"mat-card-content"),F(131,"app-chart",22),l()()(),o(132,"mat-grid-tile",2)(133,"mat-card")(134,"mat-card-header")(135,"mat-card-title")(136,"h4"),p(137),l()()(),o(138,"mat-card-content"),F(139,"app-chart",22),l()()()()()(),_e()}if(n&2){let e,i,t,a=s.$implicit,r=_();c(3),u("cols",r.breakpoints.sizeAtLeast("Large")?5:r.breakpoints.sizeAtLeast("Medium")?3:r.breakpoints.sizeAtLeast("Small")?2:1),c(),u("colspan",1)("rowspan",2),c(5),S(a("dashboard.metrics.timeframe")),c(3),u("value",r.queueMetricsController.params.buckets.timeframe),c(),P(r.timeframeNames),c(3),u("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)<=0),c(3),u("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)<=0),c(3),u("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)>=r.timeframeNames.length-1),c(3),u("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)>=r.timeframeNames.length-1),c(3),u("colspan",1)("rowspan",2),c(5),he(" ",a("dashboard.metrics.resolution")," "),c(3),u("placeholder",(e=(e=Ce(37,66,r.queueMetricsController.result$))==null||e.params==null||e.params.buckets==null||e.params.buckets.multiplier==null?null:e.params.buckets.multiplier.toString())!==null&&e!==void 0?e:"")("value",r.queueMetricsController.params.buckets.multiplier),c(3),u("value",r.queueMetricsController.bucketDuration),c(),P(r.resolutionNames),c(3),u("disabled",r.queueMetricsController.bucketMultiplier===1),c(6),u("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)<=0),c(3),u("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)<=0),c(3),u("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)>=r.resolutionNames.length-1),c(3),u("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)>=r.resolutionNames.length-1),c(3),u("colspan",1)("rowspan",2),c(5),S(a("dashboard.queues.queue")),c(3),u("value",(i=r.queueMetricsController.params.queue)!==null&&i!==void 0?i:"_all"),c(2),S(a("general.all")),c(),P(r.availableQueueNames),c(3),I(r.queueMetricsController.params.queue?"deselected":"selected"),u("matTooltip",a("general.all")),c(3),P(r.availableQueueNames),c(2),u("colspan",1)("rowspan",2),c(5),S(a("dashboard.metrics.event")),c(3),u("value",(t=r.queueMetricsController.params.event)!==null&&t!==void 0?t:"_all"),c(3),P(r.eventNames),c(3),I(r.queueMetricsController.params.event?"deselected":"selected"),u("matTooltip",a("general.all")),c(3),I(r.queueMetricsController.params.event==="created"?"selected":"deselected"),u("matTooltip",a("dashboard.queues.created")),c(3),I(r.queueMetricsController.params.event==="processed"?"selected":"deselected"),u("matTooltip",a("dashboard.queues.processed")),c(3),I(r.queueMetricsController.params.event==="failed"?"selected":"deselected"),u("matTooltip",a("dashboard.queues.failed")),c(3),u("colspan",1)("rowspan",2),c(5),S(a("general.refresh")),c(3),u("value",r.queueMetricsController.params.autoRefresh),c(),P(r.autoRefreshIntervalNames),c(3),u("matTooltip",a("general.refresh")),c(4),u("mode",r.queueMetricsController.loading?"indeterminate":"determinate")("value",0),c(),u("cols",r.breakpoints.sizeAtLeast("Large")?2:1),c(),u("colspan",1)("rowspan",5),c(5),S(a("dashboard.queues.total_counts_by_status")),c(2),u("adapter",r.totals)("$data",r.queueMetricsController.result$)("height",400)("width",550),c(),u("colspan",1)("rowspan",5),c(5),S(a("dashboard.metrics.throughput")),c(2),u("adapter",r.timeline)("$data",r.queueMetricsController.result$)("height",400)("width",550)}}var zi=(()=>{class n{constructor(){this.breakpoints=T(De),this.apollo=T(xe),this.queueMetricsController=new te(this.apollo,{buckets:{duration:"AUTO",multiplier:"AUTO",timeframe:"all"},autoRefresh:"seconds_30"},T(Se)),this.timeline=T(st),this.totals=T(et),this.resolutionNames=He,this.timeframeNames=Ye,this.availableQueueNames=Je,this.autoRefreshIntervalNames=We,this.eventNames=ee}ngOnInit(){this.queueMetricsController.result$.subscribe(e=>{if(this.queueMetricsController.params.buckets.timeframe==="all"&&this.queueMetricsController.params.buckets.duration==="AUTO"&&e.params.buckets.duration==="hour"){let i=e.bucketSpan;i&&i.latestBucket-i.earliestBucket<12&&this.queueMetricsController.setBucketDuration("minute")}})}ngOnDestroy(){this.queueMetricsController.setAutoRefreshInterval("off")}handleMultiplierEvent(e){let i=e.currentTarget.value;this.queueMetricsController.setBucketMultiplier(/^\d+$/.test(i)?parseInt(i):"AUTO")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=me({type:n,selectors:[["app-queue-visualize"]],standalone:!0,features:[be],decls:1,vars:0,consts:[[4,"transloco"],["rowHeight","100px",3,"cols"],[3,"colspan","rowspan"],[1,"form-timeframe"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],[1,"paginator","actions"],["mat-icon-button","",3,"click","disabled"],[1,"form-resolution"],["subscriptSizing","dynamic",1,"form-input-multiplier"],["type","number","matInput","","min","1","step","1",3,"change","placeholder","value"],["subscriptSizing","dynamic",1,"form-select-duration"],["mat-icon-button","",3,"click"],["value","_all"],[1,"actions"],["mat-icon-button","",3,"click","matTooltip"],["fontSet","material-icons"],["mat-icon-button","",3,"class","matTooltip"],[1,"form-refresh"],[1,"progress-bar-container"],[3,"mode","value"],[3,"adapter","$data","height","width"]],template:function(i,t){i&1&&de(0,Mt,140,68,"ng-container",0)},dependencies:[Ae,Me,U,K,Ve,Y,qe,Te,Ee,J,W,Oe,Ne,Qe,Pe,ve,ke,Re,G,Ze],styles:[".actions[_ngcontent-%COMP%]{width:210px;padding-top:12px;--mdc-icon-button-state-layer-size: 32px}.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:22px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:0}.progress-bar-container[_ngcontent-%COMP%]{width:100%;height:10px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{min-width:190px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:16px;font-size:18px}mat-form-field[_ngcontent-%COMP%]{width:186px}.form-resolution[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:-2px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%]{width:60px;margin-right:10px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-resolution[_ngcontent-%COMP%] .form-select-duration[_ngcontent-%COMP%]{width:116px}"]})}}return n})();export{zi as QueueVisualizeComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-EGT2L66S.js b/webui/dist/bitmagnet/browser/chunk-Z5TALIEZ.js similarity index 97% rename from webui/dist/bitmagnet/browser/chunk-EGT2L66S.js rename to webui/dist/bitmagnet/browser/chunk-Z5TALIEZ.js index 351a6a20..f6be42b7 100644 --- a/webui/dist/bitmagnet/browser/chunk-EGT2L66S.js +++ b/webui/dist/bitmagnet/browser/chunk-Z5TALIEZ.js @@ -1 +1 @@ -import{P as A,R as E,Ra as z,Sa as D,Ta as I,U as y,Ua as S,b as O,qa as L,xa as T}from"./chunk-HB55W55I.js";import"./chunk-6XXA7HXI.js";import{i as C,j as M,k as x,l as _,m as k,n as P}from"./chunk-ZBBMS7J5.js";import{Cb as h,Hb as c,Qb as r,Rb as e,Sb as l,Tb as b,Ub as g,jc as s,kb as i,kc as n,lc as m,o as u,pc as f,qa as d,ua as v}from"./chunk-FJILXII2.js";function q(a,R){if(a&1&&(b(0),r(1,"mat-card",6)(2,"mat-card-header")(3,"mat-toolbar")(4,"nav",7)(5,"h2"),l(6,"mat-icon",8),n(7),e(),r(8,"a",9,0)(10,"mat-icon"),n(11,"monitoring"),e(),n(12),e(),r(13,"a",10,1)(15,"mat-icon"),n(16,"toc"),e(),n(17),e(),r(18,"a",11,2)(20,"mat-icon"),n(21,"construction"),e(),n(22),e()(),l(23,"mat-tab-nav-panel",null,3),e()(),r(25,"mat-card-content"),l(26,"router-outlet",null,4),e()(),g()),a&2){let t=R.$implicit,o=s(9),p=s(14),w=s(19),V=s(24);i(4),c("tabPanel",V),i(3),m(t("routes.queues")),i(),c("active",o.isActive),i(4),m(t("routes.visualize")),i(),c("active",p.isActive),i(4),m(t("routes.jobs")),i(),c("active",w.isActive),i(4),m(t("routes.admin"))}}var W=(()=>{class a{constructor(){this.route=d(M),this.router=d(_),this.subscriptions=new Array}ngOnInit(){this.subscriptions.push(this.route.url.subscribe(()=>(this.route.firstChild||this.redirectVisualize(),u)),this.router.events.subscribe(t=>(t.type===C.NavigationEnd&&t.urlAfterRedirects==="/dashboard/queue"&&this.redirectVisualize(),u)))}redirectVisualize(){this.router.navigate(["visualize"],{relativeTo:this.route})}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe()),this.subscriptions=new Array}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=v({type:a,selectors:[["app-queue-dashboard"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["linkVisualize","routerLinkActive"],["linkJobs","routerLinkActive"],["linkAdmin","routerLinkActive"],["tabPanel",""],["outlet",""],[4,"transloco"],[1,"dashboard-card"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["svgIcon","queue"],["mat-tab-link","","routerLink","visualize","routerLinkActive","",3,"active"],["mat-tab-link","","routerLink","jobs","routerLinkActive","",3,"active"],["mat-tab-link","","routerLink","admin","routerLinkActive","",3,"active"]],template:function(o,p){o&1&&h(0,q,28,8,"ng-container",5)},dependencies:[S,A,E,y,L,z,I,D,T,x,k,P,O],styles:["mat-card-header[_ngcontent-%COMP%]{flex-wrap:wrap}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;margin:0 60px 0 48px;height:48px;line-height:48px}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:6px;margin-right:14px;line-height:1.25rem}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{flex:0 0 100%}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:2px}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}"]})}}return a})();export{W as QueueDashboardComponent}; +import{P as A,R as E,Ra as z,Sa as D,Ta as I,U as y,Ua as S,b as O,qa as L,xa as T}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import{i as C,j as M,k as x,l as _,m as k,n as P}from"./chunk-ZBBMS7J5.js";import{Cb as h,Hb as c,Qb as r,Rb as e,Sb as l,Tb as b,Ub as g,jc as s,kb as i,kc as n,lc as m,o as u,pc as f,qa as d,ua as v}from"./chunk-FJILXII2.js";function q(a,R){if(a&1&&(b(0),r(1,"mat-card",6)(2,"mat-card-header")(3,"mat-toolbar")(4,"nav",7)(5,"h2"),l(6,"mat-icon",8),n(7),e(),r(8,"a",9,0)(10,"mat-icon"),n(11,"monitoring"),e(),n(12),e(),r(13,"a",10,1)(15,"mat-icon"),n(16,"toc"),e(),n(17),e(),r(18,"a",11,2)(20,"mat-icon"),n(21,"construction"),e(),n(22),e()(),l(23,"mat-tab-nav-panel",null,3),e()(),r(25,"mat-card-content"),l(26,"router-outlet",null,4),e()(),g()),a&2){let t=R.$implicit,o=s(9),p=s(14),w=s(19),V=s(24);i(4),c("tabPanel",V),i(3),m(t("routes.queues")),i(),c("active",o.isActive),i(4),m(t("routes.visualize")),i(),c("active",p.isActive),i(4),m(t("routes.jobs")),i(),c("active",w.isActive),i(4),m(t("routes.admin"))}}var W=(()=>{class a{constructor(){this.route=d(M),this.router=d(_),this.subscriptions=new Array}ngOnInit(){this.subscriptions.push(this.route.url.subscribe(()=>(this.route.firstChild||this.redirectVisualize(),u)),this.router.events.subscribe(t=>(t.type===C.NavigationEnd&&t.urlAfterRedirects==="/dashboard/queue"&&this.redirectVisualize(),u)))}redirectVisualize(){this.router.navigate(["visualize"],{relativeTo:this.route})}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe()),this.subscriptions=new Array}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=v({type:a,selectors:[["app-queue-dashboard"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["linkVisualize","routerLinkActive"],["linkJobs","routerLinkActive"],["linkAdmin","routerLinkActive"],["tabPanel",""],["outlet",""],[4,"transloco"],[1,"dashboard-card"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["svgIcon","queue"],["mat-tab-link","","routerLink","visualize","routerLinkActive","",3,"active"],["mat-tab-link","","routerLink","jobs","routerLinkActive","",3,"active"],["mat-tab-link","","routerLink","admin","routerLinkActive","",3,"active"]],template:function(o,p){o&1&&h(0,q,28,8,"ng-container",5)},dependencies:[S,A,E,y,L,z,I,D,T,x,k,P,O],styles:["mat-card-header[_ngcontent-%COMP%]{flex-wrap:wrap}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;margin:0 60px 0 48px;height:48px;line-height:48px}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:6px;margin-right:14px;line-height:1.25rem}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{flex:0 0 100%}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:2px}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}"]})}}return a})();export{W as QueueDashboardComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-HB55W55I.js b/webui/dist/bitmagnet/browser/chunk-Z6GE3BUT.js similarity index 88% rename from webui/dist/bitmagnet/browser/chunk-HB55W55I.js rename to webui/dist/bitmagnet/browser/chunk-Z6GE3BUT.js index 5907fad6..e5eac6d1 100644 --- a/webui/dist/bitmagnet/browser/chunk-HB55W55I.js +++ b/webui/dist/bitmagnet/browser/chunk-Z6GE3BUT.js @@ -1,14 +1,14 @@ -import{c as gt,d as Xe,e as $u,g as Oe,h as nt,i as Ze,j as Yu,k as Ku}from"./chunk-6XXA7HXI.js";import{a as hc,b as la,h as Wu,q as Gu}from"./chunk-ZBBMS7J5.js";import{$b as fe,Aa as Su,Ac as Uu,B as ke,C as Zo,Ca as Tu,Cb as te,Da as Pe,Db as Nu,Dc as lc,Ea as ce,Eb as na,F as wu,Fa as le,Fb as tt,G as zi,Ga as Wt,Gb as W,Gc as pe,H as mn,Ha as ea,Hb as ue,Hc as bn,I as Nt,Ia as Ke,Ib as ft,J as Cu,Ja as It,Jb as P,Jc as O,K as Fe,Ka as Ee,Kb as qe,Kc as $e,L as ye,La as ta,Lb as Lu,Lc as bi,M as ic,Mb as ge,Mc as Yt,N as Jo,Na as z,Nb as ac,Nc as dc,Oa as B,Ob as sc,Pa as ia,Pb as cc,Pc as uc,Q as fi,Qa as E,Qb as w,Ra as Gt,Rb as I,S as Ye,Sb as ie,Sc as oe,T as nc,Ta as Mu,U as Ur,V as Di,Va as Au,Vb as pt,W as ku,Wa as we,Wb as Ge,Xa as Ou,Xb as St,Xc as aa,Yb as ju,Zb as ee,Zc as sa,_ as Du,_b as Vu,_c as ca,a as N,aa as Eu,ac as se,b as Qe,ba as qr,bc as A,c as gu,ca as Yn,cd as yt,da as Me,dc as he,e as Te,ea as st,ec as re,ed as qu,f as bu,fa as $,fb as Kn,fc as S,ga as Iu,gb as Ru,gc as T,h as We,ha as gi,hc as Bu,ia as Wr,ic as zu,j as vu,ja as Lt,jc as $t,k as R,ka as Z,kb as V,kc as Tt,l as Vi,la as L,lb as u,lc as oi,m as Xo,mb as rc,mc as ra,n as _u,na as C,nb as Ae,o as Bi,oc as de,p as mt,pa as x,pb as fn,pc as Q,q as b,qa as F,r as Pt,rb as Gr,rc as Hu,s as ni,sb as Ue,sc as Qu,t as ri,u as at,ua as H,ub as oc,v as yu,va as j,vb as gn,w as ki,wa as D,wb as Fu,x as He,xb as ne,y as xu,ya as pn,yb as Pu,yc as oa,z as Qr,zb as ae}from"./chunk-FJILXII2.js";function da(i){i||(Tu(da),i=F(ta));let n=new We(e=>i.onDestroy(e.next.bind(e)));return e=>e.pipe($(n))}function Xu(i){return i&&i.constructor&&typeof i.constructor.isBuffer=="function"&&i.constructor.isBuffer(i)}function Zu(i){return i}function mc(i,n){n=n||{};let e=n.delimiter||".",t=n.maxDepth,r=n.transformKey||Zu,o={};function a(s,c,l){l=l||1,Object.keys(s).forEach(function(d){let h=s[d],m=n.safe&&Array.isArray(h),p=Object.prototype.toString.call(h),f=Xu(h),g=p==="[object Object]"||p==="[object Array]",_=c?c+e+r(d):r(d);if(!m&&!f&&g&&Object.keys(h).length&&(!n.maxDepth||l0&&(m=s(h.shift()),p=s(h[0]))}f[m]=pc(i[d],n)}),o}var bc=class{translations;constructor(n){this.translations=n}getTranslation(n){return He(this.translations.get(n)||{})}},th=new C("TRANSLOCO_LOADER");function fc(i,n){return i&&(Object.prototype.hasOwnProperty.call(i,n)?i[n]:n.split(".").reduce((e,t)=>e?.[t],i))}function $b(i,n,e){i=N({},i);let t=n.split("."),r=t.length-1;return t.reduce((o,a,s)=>(s===r?o[a]=e:o[a]=Array.isArray(o[a])?o[a].slice():N({},o[a]),o&&o[a]),i),i}function ih(i){return i?Array.isArray(i)?i.length:Cc(i)?Object.keys(i).length:i?i.length:0:0}function Yb(i){return ih(i)===0}function Kb(i){return typeof i=="function"}function Zn(i){return typeof i=="string"}function Cc(i){return!!i&&typeof i=="object"&&!Array.isArray(i)}function nh(i){return i.replace(/(?:^\w|[A-Z]|\b\w)/g,(n,e)=>e==0?n.toLowerCase():n.toUpperCase()).replace(/\s+|_|-|\//g,"")}function vc(i){return i==null}function Ju(i){return vc(i)===!1}function rh(i){return i&&typeof i.scope=="string"}function Xb(i){return i&&Cc(i.loader)}function Zb(i){return pc(i)}function eh(i){return mc(i,{safe:!0})}var Jn=new C("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Xn}),Xn={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"],scopes:{keepCasing:!1}};function Jb(i={}){return Qe(N(N({},Xn),i),{missingHandler:N(N({},Xn.missingHandler),i.missingHandler),flatten:N(N({},Xn.flatten),i.flatten),scopes:N(N({},Xn.scopes),i.scopes)})}var oh=new C("TRANSLOCO_TRANSPILER"),ev=(()=>{class i{config=F(Jn,{optional:!0})??Xn;get interpolationMatcher(){return tv(this.config)}transpile({value:e,params:t={},translation:r,key:o}){if(Zn(e)){let a,s=e;for(;(a=this.interpolationMatcher.exec(s))!==null;){let[c,l]=a;s=s.replace(c,()=>{let d=l.trim(),h=fc(t,d);return Ju(h)?h:Ju(r[d])?this.transpile({params:t,translation:r,key:o,value:r[d]}):""})}return s}else t&&(Cc(e)?e=this.handleObject({value:e,params:t,translation:r,key:o}):Array.isArray(e)&&(e=this.handleArray({value:e,params:t,translation:r,key:o})));return e}handleObject({value:e,params:t={},translation:r,key:o}){let a=e;return Object.keys(t).forEach(s=>{let c=this.transpile({value:fc(a,s),params:fc(t,s),translation:r,key:o});a=$b(a,s,c)}),a}handleArray(r){var o=r,{value:e}=o,t=gu(o,["value"]);return e.map(a=>this.transpile(N({value:a},t)))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})();function tv(i){let[n,e]=i.interpolation;return new RegExp(`${n}([^${n}${e}]*?)${e}`,"g")}var ah=new C("TRANSLOCO_MISSING_HANDLER"),iv=(()=>{class i{handle(e,t){if(t.missingHandler.logMissingKey&&!t.prodMode){let r=`Missing translation for '${e}'`;console.warn(`%c ${r}`,"font-size: 12px; color: red")}return e}static \u0275fac=function(t){return new(t||i)};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})(),sh=new C("TRANSLOCO_INTERCEPTOR"),nv=(()=>{class i{preSaveTranslation(e){return e}preSaveTranslationKey(e,t){return t}static \u0275fac=function(t){return new(t||i)};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})(),ch=new C("TRANSLOCO_FALLBACK_STRATEGY"),rv=(()=>{class i{userConfig;constructor(e){this.userConfig=e}getNextLangs(){let e=this.userConfig.fallbackLang;if(!e)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(e)?e:[e]}static \u0275fac=function(t){return new(t||i)(x(Jn))};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})();function $r(i){if(!i)return"";let n=i.split("/");return n.pop(),n.join("/")}function Hi(i){return i?i.split("/").pop():""}function _c(i,n,e="|"){if(Zn(i)){let t=i.split(e),r=t.pop();return r===n?[!0,t.toString()]:[!1,r]}return[!1,""]}function ov(i,n){let[e]=_c(n,"static");return e?!1:!!i.config.reRenderOnLangChange}function av(i){return i?n=>n:Ye(1)}function sv(i,n){return Object.keys(i).reduce((e,t)=>(e[`${n}/${t}`]=i[t],e),{})}function lh(i,n){return Xb(i)?sv(i.loader,n):void 0}function gc(i){return{scope:$r(i)||null,langName:Hi(i)}}function dh(i){let{path:n,inlineLoader:e,mainLoader:t,data:r}=i;if(e){let o=e[n];if(Kb(o)===!1)throw`You're using an inline loader but didn't provide a loader for ${n}`;return e[n]().then(a=>a.default?a.default:a)}return t.getTranslation(n,r)}function cv({mainLoader:i,path:n,data:e,fallbackPath:t,inlineLoader:r}){return(t?[n,t]:[n]).map(a=>{let s=dh({path:a,mainLoader:i,inlineLoader:r,data:e});return ki(s).pipe(ke(c=>({translation:c,lang:a})))})}var lv;var dv=(()=>{class i{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new R;events$=this.events.asObservable();config;constructor(e,t,r,o,a,s){this.loader=e,this.parser=t,this.missingHandler=r,this.interceptor=o,this.fallbackStrategy=s,this.loader||(this.loader=new bc(this.translations)),lv=this,this.config=JSON.parse(JSON.stringify(a)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new Vi(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.events$.pipe(da()).subscribe(c=>{c.type==="translationLoadSuccess"&&c.wasFailure&&this.setActiveLang(c.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(e){this.defaultLang=e}getActiveLang(){return this.lang.getValue()}setActiveLang(e){return this.parser.onLangChanged?.(e),this.lang.next(e),this.events.next({type:"langChanged",payload:gc(e)}),this}setAvailableLangs(e){this.availableLangs=e}getAvailableLangs(){return this.availableLangs}load(e,t={}){let r=this.cache.get(e);if(r)return r;let o,a=this._isLangScoped(e),s;a&&(s=$r(e));let c={path:e,mainLoader:this.loader,inlineLoader:t.inlineLoader,data:a?{scope:s}:void 0};if(this.useFallbackTranslation(e)){let d=a?`${s}/${this.firstFallbackLang}`:this.firstFallbackLang,h=cv(Qe(N({},c),{fallbackPath:d}));o=mn(h)}else{let d=dh(c);o=ki(d)}let l=o.pipe(Du(this.config.failedRetries),gi(d=>{if(Array.isArray(d)){d.forEach(h=>{this.handleSuccess(h.lang,h.translation),h.lang!==e&&this.cache.set(h.lang,He({}))});return}this.handleSuccess(e,d)}),Jo(d=>(this.config.prodMode||console.error(`Error while trying to load "${e}"`,d),this.handleFailure(e,t))),qr(1));return this.cache.set(e,l),l}translate(e,t={},r=this.getActiveLang()){if(!e)return e;let{scope:o,resolveLang:a}=this.resolveLangAndScope(r);if(Array.isArray(e))return e.map(l=>this.translate(o?`${o}.${l}`:l,t,a));e=o?`${o}.${e}`:e;let s=this.getTranslation(a),c=s[e];return c?this.parser.transpile({value:c,params:t,translation:s,key:e}):this._handleMissingKey(e,c,t)}selectTranslate(e,t,r,o=!1){let a,s=(l,d)=>this.load(l,d).pipe(ke(()=>o?this.translateObject(e,t,l):this.translate(e,t,l)));if(vc(r))return this.langChanges$.pipe(st(l=>s(l)));if(r=Array.isArray(r)?r[0]:r,rh(r)){let l=r;r=l.scope,a=lh(l,l.scope)}if(r=r,this.isLang(r)||this.isScopeWithLang(r))return s(r);let c=r;return this.langChanges$.pipe(st(l=>s(`${c}/${l}`,{inlineLoader:a})))}isScopeWithLang(e){return this.isLang(Hi(e))}translateObject(e,t={},r=this.getActiveLang()){if(Zn(e)||Array.isArray(e)){let{resolveLang:a,scope:s}=this.resolveLangAndScope(r);if(Array.isArray(e))return e.map(d=>this.translateObject(s?`${s}.${d}`:d,t,a));let c=this.getTranslation(a);e=s?`${s}.${e}`:e;let l=Zb(this.getObjectByKey(c,e));return Yb(l)?this.translate(e,t,r):this.parser.transpile({value:l,params:t,translation:c,key:e})}let o=[];for(let[a,s]of this.getEntries(e))o.push(this.translateObject(a,s,r));return o}selectTranslateObject(e,t,r){if(Zn(e)||Array.isArray(e))return this.selectTranslate(e,t,r,!0);let[[o,a],...s]=this.getEntries(e);return this.selectTranslateObject(o,a,r).pipe(ke(c=>{let l=[c];for(let[d,h]of s)l.push(this.translateObject(d,h,r));return l}))}getTranslation(e){if(e){if(this.isLang(e))return this.translations.get(e)||{};{let{scope:t,resolveLang:r}=this.resolveLangAndScope(e),o=this.translations.get(r)||{};return this.getObjectByKey(o,t)}}return this.translations}selectTranslation(e){let t=this.langChanges$;if(e){let r=Hi(e)!==e;this.isLang(e)||r?t=He(e):t=this.langChanges$.pipe(ke(o=>`${e}/${o}`))}return t.pipe(st(r=>this.load(r).pipe(ke(()=>this.getTranslation(r)))))}setTranslation(e,t=this.getActiveLang(),r={}){let a=N(N({},{merge:!0,emitChange:!0}),r),s=$r(t),c=e;if(s){let p=this.getMappedScope(s);c=eh({[p]:e})}let l=s?Hi(t):t,d=N(N({},a.merge&&this.getTranslation(l)),c),h=this.config.flatten.aot?d:eh(d),m=this.interceptor.preSaveTranslation(h,l);this.translations.set(l,m),a.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(e,t,r={}){let o=r.lang||this.getActiveLang(),a=this.interceptor.preSaveTranslationKey(e,t,o),s={[e]:a};this.setTranslation(s,o,Qe(N({},r),{merge:!0}))}setFallbackLangForMissingTranslation({fallbackLang:e}){let t=Array.isArray(e)?e[0]:e;e&&this.useFallbackTranslation(t)&&(this.firstFallbackLang=t)}_handleMissingKey(e,t,r){if(this.config.missingHandler.allowEmpty&&t==="")return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;let o=this.translate(e,r,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,o}return this.missingHandler.handle(e,this.getMissingHandlerData(),r)}_isLangScoped(e){return this.getAvailableLangsIds().indexOf(e)===-1}isLang(e){return this.getAvailableLangsIds().indexOf(e)!==-1}_loadDependencies(e,t){let r=Hi(e);return this._isLangScoped(e)&&!this.isLoadedTranslation(r)?Zo([this.load(r),this.load(e,{inlineLoader:t})]):this.load(e,{inlineLoader:t})}_completeScopeWithLang(e){return this._isLangScoped(e)&&!this.isLang(Hi(e))?`${e}/${this.getActiveLang()}`:e}_setScopeAlias(e,t){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[e]=t}ngOnDestroy(){this.cache.clear()}isLoadedTranslation(e){return ih(this.getTranslation(e))}getAvailableLangsIds(){let e=this.getAvailableLangs()[0];return Zn(e)?this.getAvailableLangs():this.getAvailableLangs().map(t=>t.id)}getMissingHandlerData(){return Qe(N({},this.config),{activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang})}useFallbackTranslation(e){return this.config.missingHandler.useFallbackTranslation&&e!==this.firstFallbackLang}handleSuccess(e,t){this.setTranslation(t,e,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:gc(e)}),this.failedLangs.forEach(r=>this.cache.delete(r)),this.failedLangs.clear()}handleFailure(e,t){vc(t.failedCounter)&&(t.failedCounter=0,t.fallbackLangs||(t.fallbackLangs=this.fallbackStrategy.getNextLangs(e)));let r=e.split("/"),a=t.fallbackLangs[t.failedCounter];if(this.failedLangs.add(e),this.cache.has(a))return this.handleSuccess(a,this.getTranslation(a)),Bi;let s=a===r[r.length-1];if(!a||s){let l="Unable to load translation and all the fallback languages";throw r.length>1&&(l+=", did you misspelled the scope name?"),new Error(l)}let c=a;return r.length>1&&(r[r.length-1]=a,c=r.join("/")),t.failedCounter++,this.events.next({type:"translationLoadFailure",payload:gc(e)}),this.load(c,t)}getMappedScope(e){let{scopeMapping:t={},scopes:r={keepCasing:!1}}=this.config;return t[e]||(r.keepCasing?e:nh(e))}resolveLangAndScope(e){let t=e,r;if(this._isLangScoped(e)){let o=Hi(e),a=this.isLang(o);t=a?o:this.getActiveLang(),r=this.getMappedScope(a?$r(e):e)}return{scope:r,resolveLang:t}}getObjectByKey(e,t){let r={},o=`${t}.`;for(let a in e)a.startsWith(o)&&(r[a.replace(o,"")]=e[a]);return r}getEntries(e){return e instanceof Map?e.entries():Object.entries(e)}static \u0275fac=function(t){return new(t||i)(x(th,8),x(oh),x(ah),x(sh),x(Jn),x(ch))};static \u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),uv=(()=>{class i{html;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=H({type:i,selectors:[["ng-component"]],inputs:{html:"html"},standalone:!0,features:[Q],decls:1,vars:1,consts:[[1,"transloco-loader-template",3,"innerHTML"]],template:function(t,r){t&1&&ie(0,"div",0),t&2&&ue("innerHTML",r.html,Ru)},encapsulation:2})}return i})(),yc=class{view;vcr;constructor(n,e){this.view=n,this.vcr=e}attachView(){if(this.view instanceof Ae)this.vcr.createEmbeddedView(this.view);else if(Zn(this.view)){let n=this.vcr.createComponent(uv);n.instance.html=this.view,n.hostView.detectChanges()}else this.vcr.createComponent(this.view)}detachView(){this.vcr.clear()}},hv=new C("TRANSLOCO_LANG"),mv=new C("TRANSLOCO_LOADING_TEMPLATE"),pv=new C("TRANSLOCO_SCOPE"),xc=class{initialized=!1;resolve({inline:n,provider:e,active:t}){let r=t;if(this.initialized)return r=t,r;if(e){let[,o]=_c(e,"static");r=o}if(n){let[,o]=_c(n,"static");r=o}return this.initialized=!0,r}resolveLangBasedOnScope(n){return $r(n)?Hi(n):n}resolveLangPath(n,e){return e?`${e}/${n}`:n}},wc=class{service;constructor(n){this.service=n}resolve(n){let{inline:e,provider:t}=n;if(e)return e;if(t){if(rh(t)){let{scope:r,alias:o=this.service.config.scopes.keepCasing?r:nh(r)}=t;return this.service._setScopeAlias(r,o),r}return t}}},UE=(()=>{class i{destroyRef=F(ta);service=F(dv);tpl=F(Ae,{optional:!0});providerLang=F(hv,{optional:!0});providerScope=F(pv,{optional:!0});providedLoadingTpl=F(mv,{optional:!0});cdr=F(pe);host=F(E);vcr=F(Ue);renderer=F(Gr);view;memo=new Map;key;params={};inlineScope;inlineRead;prefix;inlineLang;inlineTpl;currentLang;loaderTplHandler;initialized=!1;path;langResolver=new xc;scopeResolver=new wc(this.service);strategy=this.tpl===null?"attribute":"structural";static ngTemplateContextGuard(e,t){return!0}ngOnInit(){let e=ov(this.service,this.providerLang||this.inlineLang);if(this.service.langChanges$.pipe(st(t=>{let r=this.langResolver.resolve({inline:this.inlineLang,provider:this.providerLang,active:t});return Array.isArray(this.providerScope)?mn(this.providerScope.map(o=>this.resolveScope(r,o))):this.resolveScope(r,this.providerScope)}),av(e),da(this.destroyRef)).subscribe(()=>{this.currentLang=this.langResolver.resolveLangBasedOnScope(this.path),this.strategy==="attribute"?this.attributeStrategy():this.structuralStrategy(this.currentLang,this.prefix||this.inlineRead),this.cdr.markForCheck(),this.initialized=!0}),!this.initialized){let t=this.resolveLoadingContent();t&&(this.loaderTplHandler=new yc(t,this.vcr),this.loaderTplHandler.attachView())}}ngOnChanges(e){this.strategy==="attribute"&&Object.keys(e).some(r=>!e[r].firstChange)&&this.attributeStrategy()}attributeStrategy(){this.detachLoader(),this.renderer.setProperty(this.host.nativeElement,"innerText",this.service.translate(this.key,this.params,this.currentLang))}structuralStrategy(e,t){this.memo.clear();let r=this.getTranslateFn(e,t);this.view?(this.view.context.$implicit=r,this.view.context.currentLang=this.currentLang):(this.detachLoader(),this.view=this.vcr.createEmbeddedView(this.tpl,{$implicit:r,currentLang:this.currentLang}))}getTranslateFn(e,t){return(r,o)=>{let a=t?`${t}.${r}`:r,s=o?`${a}${JSON.stringify(o)}`:a;return this.memo.has(s)||this.memo.set(s,this.service.translate(a,o,e)),this.memo.get(s)}}resolveLoadingContent(){return this.inlineTpl||this.providedLoadingTpl}ngOnDestroy(){this.memo.clear()}detachLoader(){this.loaderTplHandler?.detachView()}resolveScope(e,t){let r=this.scopeResolver.resolve({inline:this.inlineScope,provider:t});this.path=this.langResolver.resolveLangPath(e,r);let o=lh(t,r);return this.service._loadDependencies(this.path,o)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=D({type:i,selectors:[["","transloco",""]],inputs:{key:[0,"transloco","key"],params:[0,"translocoParams","params"],inlineScope:[0,"translocoScope","inlineScope"],inlineRead:[0,"translocoRead","inlineRead"],prefix:[0,"translocoPrefix","prefix"],inlineLang:[0,"translocoLang","inlineLang"],inlineTpl:[0,"translocoLoadingTpl","inlineTpl"]},standalone:!0,features:[Pe]})}return i})();var uh=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=j({type:i});static \u0275inj=L({})}return i})();function qE(i){let n=[bv(ev),_v(iv),yv(nv),vv(rv)];return i.config&&n.push(fv(i.config)),i.loader&&n.push(gv(i.loader)),n}function fv(i){return pn([{provide:Jn,useValue:Jb(i)}])}function gv(i){return pn([{provide:th,useClass:i}])}function bv(i){return pn([{provide:oh,useClass:i,deps:[Jn]}])}function vv(i){return pn([{provide:ch,useClass:i,deps:[Jn]}])}function _v(i){return pn([{provide:ah,useClass:i}])}function yv(i){return pn([{provide:sh,useClass:i}])}var WE=new C("TRANSLOCO_TEST_LANGS - Available testing languages"),GE=new C("TRANSLOCO_TEST_OPTIONS - Testing options");var bh=(()=>{class i{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(t){return new(t||i)(u(Gr),u(E))}}static{this.\u0275dir=D({type:i})}}return i})(),wv=(()=>{class i extends bh{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,features:[ne]})}}return i})(),vn=new C("");var Cv={provide:vn,useExisting:Lt(()=>vh),multi:!0};function kv(){let i=uc()?uc().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Dv=new C(""),vh=(()=>{class i extends bh{constructor(e,t,r){super(e,t),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!kv())}writeValue(e){let t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(t){return new(t||i)(u(Gr),u(E),u(Dv,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,r){t&1&&ee("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},features:[de([Cv]),ne]})}}return i})();function Qi(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function _h(i){return i!=null&&typeof i.length=="number"}var eo=new C(""),Sc=new C(""),Ev=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ui=class{static min(n){return Iv(n)}static max(n){return Sv(n)}static required(n){return Tv(n)}static requiredTrue(n){return Mv(n)}static email(n){return Av(n)}static minLength(n){return Ov(n)}static maxLength(n){return Rv(n)}static pattern(n){return Fv(n)}static nullValidator(n){return yh(n)}static compose(n){return Eh(n)}static composeAsync(n){return Ih(n)}};function Iv(i){return n=>{if(Qi(n.value)||Qi(i))return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(Qi(n.value)||Qi(i))return null;let e=parseFloat(n.value);return!isNaN(e)&&e>i?{max:{max:i,actual:n.value}}:null}}function Tv(i){return Qi(i.value)?{required:!0}:null}function Mv(i){return i.value===!0?null:{required:!0}}function Av(i){return Qi(i.value)||Ev.test(i.value)?null:{email:!0}}function Ov(i){return n=>Qi(n.value)||!_h(n.value)?null:n.value.length_h(n.value)&&n.value.length>i?{maxlength:{requiredLength:i,actualLength:n.value.length}}:null}function Fv(i){if(!i)return yh;let n,e;return typeof i=="string"?(e="",i.charAt(0)!=="^"&&(e+="^"),e+=i,i.charAt(i.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=i.toString(),n=i),t=>{if(Qi(t.value))return null;let r=t.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function yh(i){return null}function xh(i){return i!=null}function wh(i){return Uu(i)?ki(i):i}function Ch(i){let n={};return i.forEach(e=>{n=e!=null?N(N({},n),e):n}),Object.keys(n).length===0?null:n}function kh(i,n){return n.map(e=>e(i))}function Pv(i){return!i.validate}function Dh(i){return i.map(n=>Pv(n)?n:e=>n.validate(e))}function Eh(i){if(!i)return null;let n=i.filter(xh);return n.length==0?null:function(e){return Ch(kh(e,n))}}function Tc(i){return i!=null?Eh(Dh(i)):null}function Ih(i){if(!i)return null;let n=i.filter(xh);return n.length==0?null:function(e){let t=kh(e,n).map(wh);return mn(t).pipe(ke(Ch))}}function Mc(i){return i!=null?Ih(Dh(i)):null}function hh(i,n){return i===null?[n]:Array.isArray(i)?[...i,n]:[i,n]}function Sh(i){return i._rawValidators}function Th(i){return i._rawAsyncValidators}function kc(i){return i?Array.isArray(i)?i:[i]:[]}function ha(i,n){return Array.isArray(i)?i.includes(n):i===n}function mh(i,n){let e=kc(n);return kc(i).forEach(r=>{ha(e,r)||e.push(r)}),e}function ph(i,n){return kc(n).filter(e=>!ha(i,e))}var ma=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Tc(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Mc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},ir=class extends ma{get formDirective(){return null}get path(){return null}},ai=class extends ma{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Dc=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},Nv={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},uI=Qe(N({},Nv),{"[class.ng-submitted]":"isSubmitted"}),hI=(()=>{class i extends Dc{constructor(e){super(e)}static{this.\u0275fac=function(t){return new(t||i)(u(ai,2))}}static{this.\u0275dir=D({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,r){t&2&&P("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ne]})}}return i})();var Yr="VALID",ua="INVALID",er="PENDING",Kr="DISABLED",qi=class{},pa=class extends qi{constructor(n,e){super(),this.value=n,this.source=e}},Zr=class extends qi{constructor(n,e){super(),this.pristine=n,this.source=e}},Jr=class extends qi{constructor(n,e){super(),this.touched=n,this.source=e}},tr=class extends qi{constructor(n,e){super(),this.status=n,this.source=e}},Ec=class extends qi{constructor(n){super(),this.source=n}},Ic=class extends qi{constructor(n){super(),this.source=n}};function Mh(i){return(xa(i)?i.validators:i)||null}function Lv(i){return Array.isArray(i)?Tc(i):i||null}function Ah(i,n){return(xa(n)?n.asyncValidators:i)||null}function jv(i){return Array.isArray(i)?Mc(i):i||null}function xa(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function Vv(i,n,e){let t=i.controls;if(!(n?Object.keys(t):t).length)throw new Wr(1e3,"");if(!t[e])throw new Wr(1001,"")}function Bv(i,n,e){i._forEachChild((t,r)=>{if(e[r]===void 0)throw new Wr(1002,"")})}var fa=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=bi(()=>this.statusReactive()),this.statusReactive=gn(void 0),this._pristine=bi(()=>this.pristineReactive()),this.pristineReactive=gn(!0),this._touched=bi(()=>this.touchedReactive()),this.touchedReactive=gn(!1),this._events=new R,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Yt(this.statusReactive)}set status(n){Yt(()=>this.statusReactive.set(n))}get valid(){return this.status===Yr}get invalid(){return this.status===ua}get pending(){return this.status==er}get disabled(){return this.status===Kr}get enabled(){return this.status!==Kr}get pristine(){return Yt(this.pristineReactive)}set pristine(n){Yt(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Yt(this.touchedReactive)}set touched(n){Yt(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(mh(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(mh(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ph(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ph(n,this._rawAsyncValidators))}hasValidator(n){return ha(this._rawValidators,n)}hasAsyncValidator(n){return ha(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(Qe(N({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new Jr(!0,t))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:t})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t),e&&n.emitEvent!==!1&&this._events.next(new Jr(!1,t))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(Qe(N({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new Zr(!1,t))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),e&&n.emitEvent!==!1&&this._events.next(new Zr(!0,t))}markAsPending(n={}){this.status=er;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new tr(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(Qe(N({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Kr,this.errors=null,this._forEachChild(r=>{r.disable(Qe(N({},n),{onlySelf:!0}))}),this._updateValue();let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new pa(this.value,t)),this._events.next(new tr(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Qe(N({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Yr,this._forEachChild(t=>{t.enable(Qe(N({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Qe(N({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yr||this.status===er)&&this._runAsyncValidator(t,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new pa(this.value,e)),this._events.next(new tr(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(Qe(N({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Kr:Yr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=er,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let t=wh(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((t,r)=>t&&t._find(r),this)}getError(n,e){let t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,t){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||t)&&this._events.next(new tr(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,t)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?Kr:this.errors?ua:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(er)?er:this._anyControlsHaveStatus(ua)?ua:Yr}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let t=!this._anyControlsDirty(),r=this.pristine!==t;this.pristine=t,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new Zr(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Jr(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){xa(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=Lv(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=jv(this._rawAsyncValidators)}},ga=class extends fa{constructor(n,e,t){super(Mh(e),Ah(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,t={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){Bv(this,!0,n),Object.keys(n).forEach(t=>{Vv(this,!0,t),this.controls[t].setValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(t=>{let r=this.controls[t];r&&r.patchValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((t,r)=>{t.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,t)=>(n[t]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,t)=>t._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let t=this.controls[e];t&&n(t,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,t]of Object.entries(this.controls))if(this.contains(e)&&n(t))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,t,r)=>((t.enabled||this.disabled)&&(e[r]=t.value),e))}_reduceChildren(n,e){let t=n;return this._forEachChild((r,o)=>{t=e(t,r,o)}),t}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var wa=new C("CallSetDisabledState",{providedIn:"root",factory:()=>Ac}),Ac="always";function ba(i,n,e=Ac){Oc(i,n),n.valueAccessor.writeValue(i.value),(i.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(i.disabled),Hv(i,n),Uv(i,n),Qv(i,n),zv(i,n)}function va(i,n,e=!0){let t=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(t),n.valueAccessor.registerOnTouched(t)),ya(i,n),i&&(n._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function _a(i,n){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function zv(i,n){if(n.valueAccessor.setDisabledState){let e=t=>{n.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(e),n._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}function Oc(i,n){let e=Sh(i);n.validator!==null?i.setValidators(hh(e,n.validator)):typeof e=="function"&&i.setValidators([e]);let t=Th(i);n.asyncValidator!==null?i.setAsyncValidators(hh(t,n.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let r=()=>i.updateValueAndValidity();_a(n._rawValidators,r),_a(n._rawAsyncValidators,r)}function ya(i,n){let e=!1;if(i!==null){if(n.validator!==null){let r=Sh(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.validator);o.length!==r.length&&(e=!0,i.setValidators(o))}}if(n.asyncValidator!==null){let r=Th(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.asyncValidator);o.length!==r.length&&(e=!0,i.setAsyncValidators(o))}}}let t=()=>{};return _a(n._rawValidators,t),_a(n._rawAsyncValidators,t),e}function Hv(i,n){n.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&Oh(i,n)})}function Qv(i,n){n.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&Oh(i,n),i.updateOn!=="submit"&&i.markAsTouched()})}function Oh(i,n){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Uv(i,n){let e=(t,r)=>{n.valueAccessor.writeValue(t),r&&n.viewToModelUpdate(t)};i.registerOnChange(e),n._registerOnDestroy(()=>{i._unregisterOnChange(e)})}function Rh(i,n){i==null,Oc(i,n)}function qv(i,n){return ya(i,n)}function Wv(i,n){if(!i.hasOwnProperty("model"))return!1;let e=i.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function Gv(i){return Object.getPrototypeOf(i.constructor)===wv}function Fh(i,n){i._syncPendingControls(),n.forEach(e=>{let t=e.control;t.updateOn==="submit"&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function $v(i,n){if(!n)return null;Array.isArray(n);let e,t,r;return n.forEach(o=>{o.constructor===vh?e=o:Gv(o)?t=o:r=o}),r||t||e||null}function Yv(i,n){let e=i.indexOf(n);e>-1&&i.splice(e,1)}var Kv={provide:ir,useExisting:Lt(()=>_n)},Xr=Promise.resolve(),_n=(()=>{class i extends ir{get submitted(){return Yt(this.submittedReactive)}constructor(e,t,r){super(),this.callSetDisabledState=r,this._submitted=bi(()=>this.submittedReactive()),this.submittedReactive=gn(!1),this._directives=new Set,this.ngSubmit=new z,this.form=new ga({},Tc(e),Mc(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Xr.then(()=>{let t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),ba(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Xr.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Xr.then(()=>{let t=this._findContainer(e.path),r=new ga({});Rh(r,e),t.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Xr.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Xr.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Fh(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static{this.\u0275fac=function(t){return new(t||i)(u(eo,10),u(Sc,10),u(wa,8))}}static{this.\u0275dir=D({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,r){t&1&&ee("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[de([Kv]),ne]})}}return i})();function fh(i,n){let e=i.indexOf(n);e>-1&&i.splice(e,1)}function gh(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var Xv=class extends fa{constructor(n=null,e,t){super(Mh(e),Ah(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),xa(e)&&(e.nonNullable||e.initialValueIsDefault)&&(gh(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){fh(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){fh(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){gh(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var Zv=i=>i instanceof Xv;var Ph=new C(""),Jv={provide:ai,useExisting:Lt(()=>e_)},e_=(()=>{class i extends ai{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,t,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this.update=new z,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=$v(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let t=e.form.previousValue;t&&va(t,this,!1),ba(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Wv(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&va(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static{this.\u0275fac=function(t){return new(t||i)(u(eo,10),u(Sc,10),u(vn,10),u(Ph,8),u(wa,8))}}static{this.\u0275dir=D({type:i,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[de([Jv]),ne,Pe]})}}return i})(),t_={provide:ir,useExisting:Lt(()=>yn)},yn=(()=>{class i extends ir{get submitted(){return Yt(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,t,r){super(),this.callSetDisabledState=r,this._submitted=bi(()=>this._submittedReactive()),this._submittedReactive=gn(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new z,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ya(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let t=this.form.get(e.path);return ba(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){va(e.control||null,e,!1),Yv(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this._submittedReactive.set(!0),Fh(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Ec(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Ic(this.form))}_updateDomValue(){this.directives.forEach(e=>{let t=e.control,r=this.form.get(e.path);t!==r&&(va(t||null,e),Zv(r)&&(ba(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let t=this.form.get(e.path);Rh(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let t=this.form.get(e.path);t&&qv(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Oc(this.form,this),this._oldForm&&ya(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(t){return new(t||i)(u(eo,10),u(Sc,10),u(wa,8))}}static{this.\u0275dir=D({type:i,selectors:[["","formGroup",""]],hostBindings:function(t,r){t&1&&ee("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[de([t_]),ne,Pe]})}}return i})();var i_=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var Nh=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:Ph,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:wa,useValue:e.callSetDisabledState??Ac}]}}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[i_]})}}return i})();function ka(i){return i&&typeof i.connect=="function"&&!(i instanceof vu)}var nr=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(nr||{}),to=new C("_ViewRepeater"),rr=class{applyChanges(n,e,t,r,o){n.forEachOperation((a,s,c)=>{let l,d;if(a.previousIndex==null){let h=t(a,s,c);l=e.createEmbeddedView(h.templateRef,h.context,h.index),d=nr.INSERTED}else c==null?(e.remove(s),d=nr.REMOVED):(l=e.get(s),e.move(l,c),d=nr.MOVED);o&&o({context:l?.context,operation:d,record:a})})}detach(){}};var Ca=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,t=!0,r){this._multiple=n,this._emitChanges=t,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new R,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(t=>this._markSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(t=>this._unmarkSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,t=new Set(n);n.forEach(o=>this._markSelected(o)),e.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let t of e)if(this.compareWith(n,t))return t;return n}else return n}};var Da=(()=>{class i{constructor(){this._listeners=[]}notify(e,t){for(let r of this._listeners)r(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Fc="Invariant Violation",jh=Object.setPrototypeOf,n_=jh===void 0?function(i,n){return i.__proto__=n,i}:jh,Sa=function(i){mt(n,i);function n(e){e===void 0&&(e=Fc);var t=i.call(this,typeof e=="number"?Fc+": "+e+" (see https://github.com/apollographql/invariant-packages)":e)||this;return t.framesToPop=1,t.name=Fc,n_(t,n.prototype),t}return n}(Error);function Wi(i,n){if(!i)throw new Sa(n)}var Ia=["debug","log","warn","error","silent"],Pc=Ia.indexOf("log");function Ea(i){return function(){if(Ia.indexOf(i)>=Pc){var n=console[i]||console.log;return n.apply(console,arguments)}}}(function(i){i.debug=Ea("debug"),i.log=Ea("log"),i.warn=Ea("warn"),i.error=Ea("error")})(Wi||(Wi={}));function Vh(i){var n=Ia[Pc];return Pc=Math.max(0,Ia.indexOf(i)),n}var io="3.11.8";function xt(i){try{return i()}catch{}}var or=xt(function(){return globalThis})||xt(function(){return window})||xt(function(){return self})||xt(function(){return global})||xt(function(){return xt.constructor("return this")()});var Bh=new Map;function no(i){var n=Bh.get(i)||1;return Bh.set(i,n+1),"".concat(i,":").concat(n,":").concat(Math.random().toString(36).slice(2))}function Ta(i,n){n===void 0&&(n=0);var e=no("stringifyForDisplay");return JSON.stringify(i,function(t,r){return r===void 0?e:r},n).split(JSON.stringify(e)).join("")}function Ma(i){return function(n){for(var e=[],t=1;t"}}function Nc(i,n){if(n===void 0&&(n=[]),!!i)return or[zh]&&or[zh](i,n.map(Hh))}function Lc(i,n){if(n===void 0&&(n=[]),!!i)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:io,message:i,args:n.map(Hh)})))}var r_=globalThis.__DEV__!==!1;function ar(i,n){if(!!!i)throw new Error(n)}function Qh(i){return typeof i=="object"&&i!==null}function Uh(i,n){if(!!!i)throw new Error(n??"Unexpected invariant triggered.")}var o_=/\r\n|[\n\r]/g;function sr(i,n){let e=0,t=1;for(let r of i.body.matchAll(o_)){if(typeof r.index=="number"||Uh(!1),r.index>=n)break;e=r.index+r[0].length,t+=1}return{line:t,column:n+1-e}}function jc(i){return Aa(i.source,sr(i.source,i.start))}function Aa(i,n){let e=i.locationOffset.column-1,t="".padStart(e)+i.body,r=n.line-1,o=i.locationOffset.line-1,a=n.line+o,s=n.line===1?e:0,c=n.column+s,l=`${i.name}:${a}:${c} +import{c as gt,d as Ze,e as $u,g as Oe,h as nt,i as Je,j as Yu,k as Ku}from"./chunk-6XXA7HXI.js";import{a as hc,b as la,h as Wu,q as Gu}from"./chunk-ZBBMS7J5.js";import{$b as fe,Aa as Su,Ac as Uu,B as xe,C as Zo,Ca as Tu,Cb as te,Da as Pe,Db as Nu,Dc as lc,Ea as ce,Eb as na,F as wu,Fa as le,Fb as tt,G as zi,Ga as Wt,Gb as W,Gc as pe,H as mn,Ha as ea,Hb as ue,Hc as bn,I as Nt,Ia as Xe,Ib as ft,J as Cu,Ja as It,Jb as P,Jc as O,K as Fe,Ka as Ee,Kb as qe,Kc as Ye,L as ye,La as ta,Lb as Lu,Lc as bi,M as ic,Mb as ge,Mc as Yt,N as Jo,Na as z,Nb as ac,Nc as dc,Oa as B,Ob as sc,Pa as ia,Pb as cc,Pc as uc,Q as fi,Qa as E,Qb as w,Ra as Gt,Rb as I,S as Ke,Sb as ie,Sc as oe,T as nc,Ta as Mu,U as qr,V as Di,Va as Au,Vb as pt,W as ku,Wa as Ce,Wb as $e,Xa as Ou,Xb as St,Xc as aa,Yb as ju,Zb as ee,Zc as sa,_ as Du,_b as Vu,_c as ca,a as N,aa as Eu,ac as se,b as Qe,ba as Wr,bc as A,c as gu,ca as Yn,cd as yt,da as Me,dc as he,e as Te,ea as st,ec as re,ed as qu,f as bu,fa as $,fb as Kn,fc as S,ga as Iu,gb as Ru,gc as T,h as Ge,ha as gi,hc as Bu,ia as Gr,ic as zu,j as vu,ja as Lt,jc as $t,k as R,ka as Z,kb as V,kc as Tt,l as Vi,la as L,lb as u,lc as oi,m as Xo,mb as rc,mc as ra,n as _u,na as C,nb as Ae,o as Bi,oc as de,p as mt,pa as x,pb as fn,pc as Q,q as b,qa as F,r as Pt,rb as $r,rc as Hu,s as ni,sb as Ue,sc as Qu,t as ri,u as at,ua as H,ub as oc,v as yu,va as j,vb as gn,w as ki,wa as D,wb as Fu,x as He,xb as ne,y as xu,ya as pn,yb as Pu,yc as oa,z as Ur,zb as ae}from"./chunk-FJILXII2.js";function da(i){i||(Tu(da),i=F(ta));let n=new Ge(e=>i.onDestroy(e.next.bind(e)));return e=>e.pipe($(n))}function Xu(i){return i&&i.constructor&&typeof i.constructor.isBuffer=="function"&&i.constructor.isBuffer(i)}function Zu(i){return i}function mc(i,n){n=n||{};let e=n.delimiter||".",t=n.maxDepth,r=n.transformKey||Zu,o={};function a(s,c,l){l=l||1,Object.keys(s).forEach(function(d){let h=s[d],m=n.safe&&Array.isArray(h),p=Object.prototype.toString.call(h),f=Xu(h),g=p==="[object Object]"||p==="[object Array]",_=c?c+e+r(d):r(d);if(!m&&!f&&g&&Object.keys(h).length&&(!n.maxDepth||l0&&(m=s(h.shift()),p=s(h[0]))}f[m]=pc(i[d],n)}),o}var bc=class{translations;constructor(n){this.translations=n}getTranslation(n){return He(this.translations.get(n)||{})}},th=new C("TRANSLOCO_LOADER");function fc(i,n){return i&&(Object.prototype.hasOwnProperty.call(i,n)?i[n]:n.split(".").reduce((e,t)=>e?.[t],i))}function Kb(i,n,e){i=N({},i);let t=n.split("."),r=t.length-1;return t.reduce((o,a,s)=>(s===r?o[a]=e:o[a]=Array.isArray(o[a])?o[a].slice():N({},o[a]),o&&o[a]),i),i}function ih(i){return i?Array.isArray(i)?i.length:Cc(i)?Object.keys(i).length:i?i.length:0:0}function Xb(i){return ih(i)===0}function Zb(i){return typeof i=="function"}function Zn(i){return typeof i=="string"}function Cc(i){return!!i&&typeof i=="object"&&!Array.isArray(i)}function nh(i){return i.replace(/(?:^\w|[A-Z]|\b\w)/g,(n,e)=>e==0?n.toLowerCase():n.toUpperCase()).replace(/\s+|_|-|\//g,"")}function vc(i){return i==null}function Ju(i){return vc(i)===!1}function rh(i){return i&&typeof i.scope=="string"}function Jb(i){return i&&Cc(i.loader)}function ev(i){return pc(i)}function eh(i){return mc(i,{safe:!0})}var Jn=new C("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Xn}),Xn={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"],scopes:{keepCasing:!1}};function tv(i={}){return Qe(N(N({},Xn),i),{missingHandler:N(N({},Xn.missingHandler),i.missingHandler),flatten:N(N({},Xn.flatten),i.flatten),scopes:N(N({},Xn.scopes),i.scopes)})}var oh=new C("TRANSLOCO_TRANSPILER"),iv=(()=>{class i{config=F(Jn,{optional:!0})??Xn;get interpolationMatcher(){return nv(this.config)}transpile({value:e,params:t={},translation:r,key:o}){if(Zn(e)){let a,s=e;for(;(a=this.interpolationMatcher.exec(s))!==null;){let[c,l]=a;s=s.replace(c,()=>{let d=l.trim(),h=fc(t,d);return Ju(h)?h:Ju(r[d])?this.transpile({params:t,translation:r,key:o,value:r[d]}):""})}return s}else t&&(Cc(e)?e=this.handleObject({value:e,params:t,translation:r,key:o}):Array.isArray(e)&&(e=this.handleArray({value:e,params:t,translation:r,key:o})));return e}handleObject({value:e,params:t={},translation:r,key:o}){let a=e;return Object.keys(t).forEach(s=>{let c=this.transpile({value:fc(a,s),params:fc(t,s),translation:r,key:o});a=Kb(a,s,c)}),a}handleArray(r){var o=r,{value:e}=o,t=gu(o,["value"]);return e.map(a=>this.transpile(N({value:a},t)))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})();function nv(i){let[n,e]=i.interpolation;return new RegExp(`${n}([^${n}${e}]*?)${e}`,"g")}var ah=new C("TRANSLOCO_MISSING_HANDLER"),rv=(()=>{class i{handle(e,t){if(t.missingHandler.logMissingKey&&!t.prodMode){let r=`Missing translation for '${e}'`;console.warn(`%c ${r}`,"font-size: 12px; color: red")}return e}static \u0275fac=function(t){return new(t||i)};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})(),sh=new C("TRANSLOCO_INTERCEPTOR"),ov=(()=>{class i{preSaveTranslation(e){return e}preSaveTranslationKey(e,t){return t}static \u0275fac=function(t){return new(t||i)};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})(),ch=new C("TRANSLOCO_FALLBACK_STRATEGY"),av=(()=>{class i{userConfig;constructor(e){this.userConfig=e}getNextLangs(){let e=this.userConfig.fallbackLang;if(!e)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(e)?e:[e]}static \u0275fac=function(t){return new(t||i)(x(Jn))};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})();function Yr(i){if(!i)return"";let n=i.split("/");return n.pop(),n.join("/")}function Hi(i){return i?i.split("/").pop():""}function _c(i,n,e="|"){if(Zn(i)){let t=i.split(e),r=t.pop();return r===n?[!0,t.toString()]:[!1,r]}return[!1,""]}function sv(i,n){let[e]=_c(n,"static");return e?!1:!!i.config.reRenderOnLangChange}function cv(i){return i?n=>n:Ke(1)}function lv(i,n){return Object.keys(i).reduce((e,t)=>(e[`${n}/${t}`]=i[t],e),{})}function lh(i,n){return Jb(i)?lv(i.loader,n):void 0}function gc(i){return{scope:Yr(i)||null,langName:Hi(i)}}function dh(i){let{path:n,inlineLoader:e,mainLoader:t,data:r}=i;if(e){let o=e[n];if(Zb(o)===!1)throw`You're using an inline loader but didn't provide a loader for ${n}`;return e[n]().then(a=>a.default?a.default:a)}return t.getTranslation(n,r)}function dv({mainLoader:i,path:n,data:e,fallbackPath:t,inlineLoader:r}){return(t?[n,t]:[n]).map(a=>{let s=dh({path:a,mainLoader:i,inlineLoader:r,data:e});return ki(s).pipe(xe(c=>({translation:c,lang:a})))})}var uv;var hv=(()=>{class i{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new R;events$=this.events.asObservable();config;constructor(e,t,r,o,a,s){this.loader=e,this.parser=t,this.missingHandler=r,this.interceptor=o,this.fallbackStrategy=s,this.loader||(this.loader=new bc(this.translations)),uv=this,this.config=JSON.parse(JSON.stringify(a)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new Vi(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.events$.pipe(da()).subscribe(c=>{c.type==="translationLoadSuccess"&&c.wasFailure&&this.setActiveLang(c.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(e){this.defaultLang=e}getActiveLang(){return this.lang.getValue()}setActiveLang(e){return this.parser.onLangChanged?.(e),this.lang.next(e),this.events.next({type:"langChanged",payload:gc(e)}),this}setAvailableLangs(e){this.availableLangs=e}getAvailableLangs(){return this.availableLangs}load(e,t={}){let r=this.cache.get(e);if(r)return r;let o,a=this._isLangScoped(e),s;a&&(s=Yr(e));let c={path:e,mainLoader:this.loader,inlineLoader:t.inlineLoader,data:a?{scope:s}:void 0};if(this.useFallbackTranslation(e)){let d=a?`${s}/${this.firstFallbackLang}`:this.firstFallbackLang,h=dv(Qe(N({},c),{fallbackPath:d}));o=mn(h)}else{let d=dh(c);o=ki(d)}let l=o.pipe(Du(this.config.failedRetries),gi(d=>{if(Array.isArray(d)){d.forEach(h=>{this.handleSuccess(h.lang,h.translation),h.lang!==e&&this.cache.set(h.lang,He({}))});return}this.handleSuccess(e,d)}),Jo(d=>(this.config.prodMode||console.error(`Error while trying to load "${e}"`,d),this.handleFailure(e,t))),Wr(1));return this.cache.set(e,l),l}translate(e,t={},r=this.getActiveLang()){if(!e)return e;let{scope:o,resolveLang:a}=this.resolveLangAndScope(r);if(Array.isArray(e))return e.map(l=>this.translate(o?`${o}.${l}`:l,t,a));e=o?`${o}.${e}`:e;let s=this.getTranslation(a),c=s[e];return c?this.parser.transpile({value:c,params:t,translation:s,key:e}):this._handleMissingKey(e,c,t)}selectTranslate(e,t,r,o=!1){let a,s=(l,d)=>this.load(l,d).pipe(xe(()=>o?this.translateObject(e,t,l):this.translate(e,t,l)));if(vc(r))return this.langChanges$.pipe(st(l=>s(l)));if(r=Array.isArray(r)?r[0]:r,rh(r)){let l=r;r=l.scope,a=lh(l,l.scope)}if(r=r,this.isLang(r)||this.isScopeWithLang(r))return s(r);let c=r;return this.langChanges$.pipe(st(l=>s(`${c}/${l}`,{inlineLoader:a})))}isScopeWithLang(e){return this.isLang(Hi(e))}translateObject(e,t={},r=this.getActiveLang()){if(Zn(e)||Array.isArray(e)){let{resolveLang:a,scope:s}=this.resolveLangAndScope(r);if(Array.isArray(e))return e.map(d=>this.translateObject(s?`${s}.${d}`:d,t,a));let c=this.getTranslation(a);e=s?`${s}.${e}`:e;let l=ev(this.getObjectByKey(c,e));return Xb(l)?this.translate(e,t,r):this.parser.transpile({value:l,params:t,translation:c,key:e})}let o=[];for(let[a,s]of this.getEntries(e))o.push(this.translateObject(a,s,r));return o}selectTranslateObject(e,t,r){if(Zn(e)||Array.isArray(e))return this.selectTranslate(e,t,r,!0);let[[o,a],...s]=this.getEntries(e);return this.selectTranslateObject(o,a,r).pipe(xe(c=>{let l=[c];for(let[d,h]of s)l.push(this.translateObject(d,h,r));return l}))}getTranslation(e){if(e){if(this.isLang(e))return this.translations.get(e)||{};{let{scope:t,resolveLang:r}=this.resolveLangAndScope(e),o=this.translations.get(r)||{};return this.getObjectByKey(o,t)}}return this.translations}selectTranslation(e){let t=this.langChanges$;if(e){let r=Hi(e)!==e;this.isLang(e)||r?t=He(e):t=this.langChanges$.pipe(xe(o=>`${e}/${o}`))}return t.pipe(st(r=>this.load(r).pipe(xe(()=>this.getTranslation(r)))))}setTranslation(e,t=this.getActiveLang(),r={}){let a=N(N({},{merge:!0,emitChange:!0}),r),s=Yr(t),c=e;if(s){let p=this.getMappedScope(s);c=eh({[p]:e})}let l=s?Hi(t):t,d=N(N({},a.merge&&this.getTranslation(l)),c),h=this.config.flatten.aot?d:eh(d),m=this.interceptor.preSaveTranslation(h,l);this.translations.set(l,m),a.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(e,t,r={}){let o=r.lang||this.getActiveLang(),a=this.interceptor.preSaveTranslationKey(e,t,o),s={[e]:a};this.setTranslation(s,o,Qe(N({},r),{merge:!0}))}setFallbackLangForMissingTranslation({fallbackLang:e}){let t=Array.isArray(e)?e[0]:e;e&&this.useFallbackTranslation(t)&&(this.firstFallbackLang=t)}_handleMissingKey(e,t,r){if(this.config.missingHandler.allowEmpty&&t==="")return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;let o=this.translate(e,r,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,o}return this.missingHandler.handle(e,this.getMissingHandlerData(),r)}_isLangScoped(e){return this.getAvailableLangsIds().indexOf(e)===-1}isLang(e){return this.getAvailableLangsIds().indexOf(e)!==-1}_loadDependencies(e,t){let r=Hi(e);return this._isLangScoped(e)&&!this.isLoadedTranslation(r)?Zo([this.load(r),this.load(e,{inlineLoader:t})]):this.load(e,{inlineLoader:t})}_completeScopeWithLang(e){return this._isLangScoped(e)&&!this.isLang(Hi(e))?`${e}/${this.getActiveLang()}`:e}_setScopeAlias(e,t){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[e]=t}ngOnDestroy(){this.cache.clear()}isLoadedTranslation(e){return ih(this.getTranslation(e))}getAvailableLangsIds(){let e=this.getAvailableLangs()[0];return Zn(e)?this.getAvailableLangs():this.getAvailableLangs().map(t=>t.id)}getMissingHandlerData(){return Qe(N({},this.config),{activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang})}useFallbackTranslation(e){return this.config.missingHandler.useFallbackTranslation&&e!==this.firstFallbackLang}handleSuccess(e,t){this.setTranslation(t,e,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:gc(e)}),this.failedLangs.forEach(r=>this.cache.delete(r)),this.failedLangs.clear()}handleFailure(e,t){vc(t.failedCounter)&&(t.failedCounter=0,t.fallbackLangs||(t.fallbackLangs=this.fallbackStrategy.getNextLangs(e)));let r=e.split("/"),a=t.fallbackLangs[t.failedCounter];if(this.failedLangs.add(e),this.cache.has(a))return this.handleSuccess(a,this.getTranslation(a)),Bi;let s=a===r[r.length-1];if(!a||s){let l="Unable to load translation and all the fallback languages";throw r.length>1&&(l+=", did you misspelled the scope name?"),new Error(l)}let c=a;return r.length>1&&(r[r.length-1]=a,c=r.join("/")),t.failedCounter++,this.events.next({type:"translationLoadFailure",payload:gc(e)}),this.load(c,t)}getMappedScope(e){let{scopeMapping:t={},scopes:r={keepCasing:!1}}=this.config;return t[e]||(r.keepCasing?e:nh(e))}resolveLangAndScope(e){let t=e,r;if(this._isLangScoped(e)){let o=Hi(e),a=this.isLang(o);t=a?o:this.getActiveLang(),r=this.getMappedScope(a?Yr(e):e)}return{scope:r,resolveLang:t}}getObjectByKey(e,t){let r={},o=`${t}.`;for(let a in e)a.startsWith(o)&&(r[a.replace(o,"")]=e[a]);return r}getEntries(e){return e instanceof Map?e.entries():Object.entries(e)}static \u0275fac=function(t){return new(t||i)(x(th,8),x(oh),x(ah),x(sh),x(Jn),x(ch))};static \u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),mv=(()=>{class i{html;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=H({type:i,selectors:[["ng-component"]],inputs:{html:"html"},standalone:!0,features:[Q],decls:1,vars:1,consts:[[1,"transloco-loader-template",3,"innerHTML"]],template:function(t,r){t&1&&ie(0,"div",0),t&2&&ue("innerHTML",r.html,Ru)},encapsulation:2})}return i})(),yc=class{view;vcr;constructor(n,e){this.view=n,this.vcr=e}attachView(){if(this.view instanceof Ae)this.vcr.createEmbeddedView(this.view);else if(Zn(this.view)){let n=this.vcr.createComponent(mv);n.instance.html=this.view,n.hostView.detectChanges()}else this.vcr.createComponent(this.view)}detachView(){this.vcr.clear()}},pv=new C("TRANSLOCO_LANG"),fv=new C("TRANSLOCO_LOADING_TEMPLATE"),gv=new C("TRANSLOCO_SCOPE"),xc=class{initialized=!1;resolve({inline:n,provider:e,active:t}){let r=t;if(this.initialized)return r=t,r;if(e){let[,o]=_c(e,"static");r=o}if(n){let[,o]=_c(n,"static");r=o}return this.initialized=!0,r}resolveLangBasedOnScope(n){return Yr(n)?Hi(n):n}resolveLangPath(n,e){return e?`${e}/${n}`:n}},wc=class{service;constructor(n){this.service=n}resolve(n){let{inline:e,provider:t}=n;if(e)return e;if(t){if(rh(t)){let{scope:r,alias:o=this.service.config.scopes.keepCasing?r:nh(r)}=t;return this.service._setScopeAlias(r,o),r}return t}}},WE=(()=>{class i{destroyRef=F(ta);service=F(hv);tpl=F(Ae,{optional:!0});providerLang=F(pv,{optional:!0});providerScope=F(gv,{optional:!0});providedLoadingTpl=F(fv,{optional:!0});cdr=F(pe);host=F(E);vcr=F(Ue);renderer=F($r);view;memo=new Map;key;params={};inlineScope;inlineRead;prefix;inlineLang;inlineTpl;currentLang;loaderTplHandler;initialized=!1;path;langResolver=new xc;scopeResolver=new wc(this.service);strategy=this.tpl===null?"attribute":"structural";static ngTemplateContextGuard(e,t){return!0}ngOnInit(){let e=sv(this.service,this.providerLang||this.inlineLang);if(this.service.langChanges$.pipe(st(t=>{let r=this.langResolver.resolve({inline:this.inlineLang,provider:this.providerLang,active:t});return Array.isArray(this.providerScope)?mn(this.providerScope.map(o=>this.resolveScope(r,o))):this.resolveScope(r,this.providerScope)}),cv(e),da(this.destroyRef)).subscribe(()=>{this.currentLang=this.langResolver.resolveLangBasedOnScope(this.path),this.strategy==="attribute"?this.attributeStrategy():this.structuralStrategy(this.currentLang,this.prefix||this.inlineRead),this.cdr.markForCheck(),this.initialized=!0}),!this.initialized){let t=this.resolveLoadingContent();t&&(this.loaderTplHandler=new yc(t,this.vcr),this.loaderTplHandler.attachView())}}ngOnChanges(e){this.strategy==="attribute"&&Object.keys(e).some(r=>!e[r].firstChange)&&this.attributeStrategy()}attributeStrategy(){this.detachLoader(),this.renderer.setProperty(this.host.nativeElement,"innerText",this.service.translate(this.key,this.params,this.currentLang))}structuralStrategy(e,t){this.memo.clear();let r=this.getTranslateFn(e,t);this.view?(this.view.context.$implicit=r,this.view.context.currentLang=this.currentLang):(this.detachLoader(),this.view=this.vcr.createEmbeddedView(this.tpl,{$implicit:r,currentLang:this.currentLang}))}getTranslateFn(e,t){return(r,o)=>{let a=t?`${t}.${r}`:r,s=o?`${a}${JSON.stringify(o)}`:a;return this.memo.has(s)||this.memo.set(s,this.service.translate(a,o,e)),this.memo.get(s)}}resolveLoadingContent(){return this.inlineTpl||this.providedLoadingTpl}ngOnDestroy(){this.memo.clear()}detachLoader(){this.loaderTplHandler?.detachView()}resolveScope(e,t){let r=this.scopeResolver.resolve({inline:this.inlineScope,provider:t});this.path=this.langResolver.resolveLangPath(e,r);let o=lh(t,r);return this.service._loadDependencies(this.path,o)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=D({type:i,selectors:[["","transloco",""]],inputs:{key:[0,"transloco","key"],params:[0,"translocoParams","params"],inlineScope:[0,"translocoScope","inlineScope"],inlineRead:[0,"translocoRead","inlineRead"],prefix:[0,"translocoPrefix","prefix"],inlineLang:[0,"translocoLang","inlineLang"],inlineTpl:[0,"translocoLoadingTpl","inlineTpl"]},standalone:!0,features:[Pe]})}return i})();var uh=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=j({type:i});static \u0275inj=L({})}return i})();function GE(i){let n=[_v(iv),xv(rv),wv(ov),yv(av)];return i.config&&n.push(bv(i.config)),i.loader&&n.push(vv(i.loader)),n}function bv(i){return pn([{provide:Jn,useValue:tv(i)}])}function vv(i){return pn([{provide:th,useClass:i}])}function _v(i){return pn([{provide:oh,useClass:i,deps:[Jn]}])}function yv(i){return pn([{provide:ch,useClass:i,deps:[Jn]}])}function xv(i){return pn([{provide:ah,useClass:i}])}function wv(i){return pn([{provide:sh,useClass:i}])}var $E=new C("TRANSLOCO_TEST_LANGS - Available testing languages"),YE=new C("TRANSLOCO_TEST_OPTIONS - Testing options");var bh=(()=>{class i{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(t){return new(t||i)(u($r),u(E))}}static{this.\u0275dir=D({type:i})}}return i})(),kv=(()=>{class i extends bh{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,features:[ne]})}}return i})(),vn=new C("");var Dv={provide:vn,useExisting:Lt(()=>vh),multi:!0};function Ev(){let i=uc()?uc().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Iv=new C(""),vh=(()=>{class i extends bh{constructor(e,t,r){super(e,t),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Ev())}writeValue(e){let t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(t){return new(t||i)(u($r),u(E),u(Iv,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,r){t&1&&ee("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},features:[de([Dv]),ne]})}}return i})();function Qi(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function _h(i){return i!=null&&typeof i.length=="number"}var to=new C(""),Sc=new C(""),Sv=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ui=class{static min(n){return Tv(n)}static max(n){return Mv(n)}static required(n){return Av(n)}static requiredTrue(n){return Ov(n)}static email(n){return Rv(n)}static minLength(n){return Fv(n)}static maxLength(n){return Pv(n)}static pattern(n){return Nv(n)}static nullValidator(n){return yh(n)}static compose(n){return Eh(n)}static composeAsync(n){return Ih(n)}};function Tv(i){return n=>{if(Qi(n.value)||Qi(i))return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(Qi(n.value)||Qi(i))return null;let e=parseFloat(n.value);return!isNaN(e)&&e>i?{max:{max:i,actual:n.value}}:null}}function Av(i){return Qi(i.value)?{required:!0}:null}function Ov(i){return i.value===!0?null:{required:!0}}function Rv(i){return Qi(i.value)||Sv.test(i.value)?null:{email:!0}}function Fv(i){return n=>Qi(n.value)||!_h(n.value)?null:n.value.length_h(n.value)&&n.value.length>i?{maxlength:{requiredLength:i,actualLength:n.value.length}}:null}function Nv(i){if(!i)return yh;let n,e;return typeof i=="string"?(e="",i.charAt(0)!=="^"&&(e+="^"),e+=i,i.charAt(i.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=i.toString(),n=i),t=>{if(Qi(t.value))return null;let r=t.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function yh(i){return null}function xh(i){return i!=null}function wh(i){return Uu(i)?ki(i):i}function Ch(i){let n={};return i.forEach(e=>{n=e!=null?N(N({},n),e):n}),Object.keys(n).length===0?null:n}function kh(i,n){return n.map(e=>e(i))}function Lv(i){return!i.validate}function Dh(i){return i.map(n=>Lv(n)?n:e=>n.validate(e))}function Eh(i){if(!i)return null;let n=i.filter(xh);return n.length==0?null:function(e){return Ch(kh(e,n))}}function Tc(i){return i!=null?Eh(Dh(i)):null}function Ih(i){if(!i)return null;let n=i.filter(xh);return n.length==0?null:function(e){let t=kh(e,n).map(wh);return mn(t).pipe(xe(Ch))}}function Mc(i){return i!=null?Ih(Dh(i)):null}function hh(i,n){return i===null?[n]:Array.isArray(i)?[...i,n]:[i,n]}function Sh(i){return i._rawValidators}function Th(i){return i._rawAsyncValidators}function kc(i){return i?Array.isArray(i)?i:[i]:[]}function ha(i,n){return Array.isArray(i)?i.includes(n):i===n}function mh(i,n){let e=kc(n);return kc(i).forEach(r=>{ha(e,r)||e.push(r)}),e}function ph(i,n){return kc(n).filter(e=>!ha(i,e))}var ma=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Tc(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Mc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},ir=class extends ma{get formDirective(){return null}get path(){return null}},ai=class extends ma{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Dc=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},jv={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},mI=Qe(N({},jv),{"[class.ng-submitted]":"isSubmitted"}),pI=(()=>{class i extends Dc{constructor(e){super(e)}static{this.\u0275fac=function(t){return new(t||i)(u(ai,2))}}static{this.\u0275dir=D({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,r){t&2&&P("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ne]})}}return i})();var Kr="VALID",ua="INVALID",er="PENDING",Xr="DISABLED",qi=class{},pa=class extends qi{constructor(n,e){super(),this.value=n,this.source=e}},Jr=class extends qi{constructor(n,e){super(),this.pristine=n,this.source=e}},eo=class extends qi{constructor(n,e){super(),this.touched=n,this.source=e}},tr=class extends qi{constructor(n,e){super(),this.status=n,this.source=e}},Ec=class extends qi{constructor(n){super(),this.source=n}},Ic=class extends qi{constructor(n){super(),this.source=n}};function Mh(i){return(xa(i)?i.validators:i)||null}function Vv(i){return Array.isArray(i)?Tc(i):i||null}function Ah(i,n){return(xa(n)?n.asyncValidators:i)||null}function Bv(i){return Array.isArray(i)?Mc(i):i||null}function xa(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function zv(i,n,e){let t=i.controls;if(!(n?Object.keys(t):t).length)throw new Gr(1e3,"");if(!t[e])throw new Gr(1001,"")}function Hv(i,n,e){i._forEachChild((t,r)=>{if(e[r]===void 0)throw new Gr(1002,"")})}var fa=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=bi(()=>this.statusReactive()),this.statusReactive=gn(void 0),this._pristine=bi(()=>this.pristineReactive()),this.pristineReactive=gn(!0),this._touched=bi(()=>this.touchedReactive()),this.touchedReactive=gn(!1),this._events=new R,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Yt(this.statusReactive)}set status(n){Yt(()=>this.statusReactive.set(n))}get valid(){return this.status===Kr}get invalid(){return this.status===ua}get pending(){return this.status==er}get disabled(){return this.status===Xr}get enabled(){return this.status!==Xr}get pristine(){return Yt(this.pristineReactive)}set pristine(n){Yt(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Yt(this.touchedReactive)}set touched(n){Yt(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(mh(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(mh(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ph(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ph(n,this._rawAsyncValidators))}hasValidator(n){return ha(this._rawValidators,n)}hasAsyncValidator(n){return ha(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(Qe(N({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new eo(!0,t))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:t})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t),e&&n.emitEvent!==!1&&this._events.next(new eo(!1,t))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(Qe(N({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new Jr(!1,t))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),e&&n.emitEvent!==!1&&this._events.next(new Jr(!0,t))}markAsPending(n={}){this.status=er;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new tr(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(Qe(N({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Xr,this.errors=null,this._forEachChild(r=>{r.disable(Qe(N({},n),{onlySelf:!0}))}),this._updateValue();let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new pa(this.value,t)),this._events.next(new tr(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Qe(N({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Kr,this._forEachChild(t=>{t.enable(Qe(N({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Qe(N({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Kr||this.status===er)&&this._runAsyncValidator(t,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new pa(this.value,e)),this._events.next(new tr(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(Qe(N({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xr:Kr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=er,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let t=wh(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((t,r)=>t&&t._find(r),this)}getError(n,e){let t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,t){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||t)&&this._events.next(new tr(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,t)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?Xr:this.errors?ua:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(er)?er:this._anyControlsHaveStatus(ua)?ua:Kr}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let t=!this._anyControlsDirty(),r=this.pristine!==t;this.pristine=t,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new Jr(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new eo(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){xa(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=Vv(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=Bv(this._rawAsyncValidators)}},ga=class extends fa{constructor(n,e,t){super(Mh(e),Ah(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,t={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){Hv(this,!0,n),Object.keys(n).forEach(t=>{zv(this,!0,t),this.controls[t].setValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(t=>{let r=this.controls[t];r&&r.patchValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((t,r)=>{t.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,t)=>(n[t]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,t)=>t._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let t=this.controls[e];t&&n(t,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,t]of Object.entries(this.controls))if(this.contains(e)&&n(t))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,t,r)=>((t.enabled||this.disabled)&&(e[r]=t.value),e))}_reduceChildren(n,e){let t=n;return this._forEachChild((r,o)=>{t=e(t,r,o)}),t}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var wa=new C("CallSetDisabledState",{providedIn:"root",factory:()=>Ac}),Ac="always";function ba(i,n,e=Ac){Oc(i,n),n.valueAccessor.writeValue(i.value),(i.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(i.disabled),Uv(i,n),Wv(i,n),qv(i,n),Qv(i,n)}function va(i,n,e=!0){let t=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(t),n.valueAccessor.registerOnTouched(t)),ya(i,n),i&&(n._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function _a(i,n){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function Qv(i,n){if(n.valueAccessor.setDisabledState){let e=t=>{n.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(e),n._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}function Oc(i,n){let e=Sh(i);n.validator!==null?i.setValidators(hh(e,n.validator)):typeof e=="function"&&i.setValidators([e]);let t=Th(i);n.asyncValidator!==null?i.setAsyncValidators(hh(t,n.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let r=()=>i.updateValueAndValidity();_a(n._rawValidators,r),_a(n._rawAsyncValidators,r)}function ya(i,n){let e=!1;if(i!==null){if(n.validator!==null){let r=Sh(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.validator);o.length!==r.length&&(e=!0,i.setValidators(o))}}if(n.asyncValidator!==null){let r=Th(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.asyncValidator);o.length!==r.length&&(e=!0,i.setAsyncValidators(o))}}}let t=()=>{};return _a(n._rawValidators,t),_a(n._rawAsyncValidators,t),e}function Uv(i,n){n.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&Oh(i,n)})}function qv(i,n){n.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&Oh(i,n),i.updateOn!=="submit"&&i.markAsTouched()})}function Oh(i,n){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Wv(i,n){let e=(t,r)=>{n.valueAccessor.writeValue(t),r&&n.viewToModelUpdate(t)};i.registerOnChange(e),n._registerOnDestroy(()=>{i._unregisterOnChange(e)})}function Rh(i,n){i==null,Oc(i,n)}function Gv(i,n){return ya(i,n)}function $v(i,n){if(!i.hasOwnProperty("model"))return!1;let e=i.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function Yv(i){return Object.getPrototypeOf(i.constructor)===kv}function Fh(i,n){i._syncPendingControls(),n.forEach(e=>{let t=e.control;t.updateOn==="submit"&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Kv(i,n){if(!n)return null;Array.isArray(n);let e,t,r;return n.forEach(o=>{o.constructor===vh?e=o:Yv(o)?t=o:r=o}),r||t||e||null}function Xv(i,n){let e=i.indexOf(n);e>-1&&i.splice(e,1)}var Zv={provide:ir,useExisting:Lt(()=>_n)},Zr=Promise.resolve(),_n=(()=>{class i extends ir{get submitted(){return Yt(this.submittedReactive)}constructor(e,t,r){super(),this.callSetDisabledState=r,this._submitted=bi(()=>this.submittedReactive()),this.submittedReactive=gn(!1),this._directives=new Set,this.ngSubmit=new z,this.form=new ga({},Tc(e),Mc(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Zr.then(()=>{let t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),ba(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Zr.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Zr.then(()=>{let t=this._findContainer(e.path),r=new ga({});Rh(r,e),t.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Zr.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Zr.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Fh(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static{this.\u0275fac=function(t){return new(t||i)(u(to,10),u(Sc,10),u(wa,8))}}static{this.\u0275dir=D({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,r){t&1&&ee("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[de([Zv]),ne]})}}return i})();function fh(i,n){let e=i.indexOf(n);e>-1&&i.splice(e,1)}function gh(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var Jv=class extends fa{constructor(n=null,e,t){super(Mh(e),Ah(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),xa(e)&&(e.nonNullable||e.initialValueIsDefault)&&(gh(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){fh(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){fh(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){gh(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var e_=i=>i instanceof Jv;var Ph=new C(""),t_={provide:ai,useExisting:Lt(()=>i_)},i_=(()=>{class i extends ai{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,t,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this.update=new z,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Kv(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let t=e.form.previousValue;t&&va(t,this,!1),ba(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}$v(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&va(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static{this.\u0275fac=function(t){return new(t||i)(u(to,10),u(Sc,10),u(vn,10),u(Ph,8),u(wa,8))}}static{this.\u0275dir=D({type:i,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[de([t_]),ne,Pe]})}}return i})(),n_={provide:ir,useExisting:Lt(()=>yn)},yn=(()=>{class i extends ir{get submitted(){return Yt(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,t,r){super(),this.callSetDisabledState=r,this._submitted=bi(()=>this._submittedReactive()),this._submittedReactive=gn(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new z,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ya(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let t=this.form.get(e.path);return ba(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){va(e.control||null,e,!1),Xv(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this._submittedReactive.set(!0),Fh(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Ec(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Ic(this.form))}_updateDomValue(){this.directives.forEach(e=>{let t=e.control,r=this.form.get(e.path);t!==r&&(va(t||null,e),e_(r)&&(ba(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let t=this.form.get(e.path);Rh(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let t=this.form.get(e.path);t&&Gv(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Oc(this.form,this),this._oldForm&&ya(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(t){return new(t||i)(u(to,10),u(Sc,10),u(wa,8))}}static{this.\u0275dir=D({type:i,selectors:[["","formGroup",""]],hostBindings:function(t,r){t&1&&ee("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[de([n_]),ne,Pe]})}}return i})();var r_=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var Nh=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:Ph,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:wa,useValue:e.callSetDisabledState??Ac}]}}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[r_]})}}return i})();function ka(i){return i&&typeof i.connect=="function"&&!(i instanceof vu)}var nr=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(nr||{}),io=new C("_ViewRepeater"),rr=class{applyChanges(n,e,t,r,o){n.forEachOperation((a,s,c)=>{let l,d;if(a.previousIndex==null){let h=t(a,s,c);l=e.createEmbeddedView(h.templateRef,h.context,h.index),d=nr.INSERTED}else c==null?(e.remove(s),d=nr.REMOVED):(l=e.get(s),e.move(l,c),d=nr.MOVED);o&&o({context:l?.context,operation:d,record:a})})}detach(){}};var Ca=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,t=!0,r){this._multiple=n,this._emitChanges=t,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new R,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(t=>this._markSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(t=>this._unmarkSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,t=new Set(n);n.forEach(o=>this._markSelected(o)),e.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let t of e)if(this.compareWith(n,t))return t;return n}else return n}};var Da=(()=>{class i{constructor(){this._listeners=[]}notify(e,t){for(let r of this._listeners)r(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Fc="Invariant Violation",jh=Object.setPrototypeOf,o_=jh===void 0?function(i,n){return i.__proto__=n,i}:jh,Sa=function(i){mt(n,i);function n(e){e===void 0&&(e=Fc);var t=i.call(this,typeof e=="number"?Fc+": "+e+" (see https://github.com/apollographql/invariant-packages)":e)||this;return t.framesToPop=1,t.name=Fc,o_(t,n.prototype),t}return n}(Error);function Wi(i,n){if(!i)throw new Sa(n)}var Ia=["debug","log","warn","error","silent"],Pc=Ia.indexOf("log");function Ea(i){return function(){if(Ia.indexOf(i)>=Pc){var n=console[i]||console.log;return n.apply(console,arguments)}}}(function(i){i.debug=Ea("debug"),i.log=Ea("log"),i.warn=Ea("warn"),i.error=Ea("error")})(Wi||(Wi={}));function Vh(i){var n=Ia[Pc];return Pc=Math.max(0,Ia.indexOf(i)),n}var no="3.11.8";function xt(i){try{return i()}catch{}}var or=xt(function(){return globalThis})||xt(function(){return window})||xt(function(){return self})||xt(function(){return global})||xt(function(){return xt.constructor("return this")()});var Bh=new Map;function ro(i){var n=Bh.get(i)||1;return Bh.set(i,n+1),"".concat(i,":").concat(n,":").concat(Math.random().toString(36).slice(2))}function Ta(i,n){n===void 0&&(n=0);var e=ro("stringifyForDisplay");return JSON.stringify(i,function(t,r){return r===void 0?e:r},n).split(JSON.stringify(e)).join("")}function Ma(i){return function(n){for(var e=[],t=1;t"}}function Nc(i,n){if(n===void 0&&(n=[]),!!i)return or[zh]&&or[zh](i,n.map(Hh))}function Lc(i,n){if(n===void 0&&(n=[]),!!i)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:no,message:i,args:n.map(Hh)})))}var a_=globalThis.__DEV__!==!1;function ar(i,n){if(!!!i)throw new Error(n)}function Qh(i){return typeof i=="object"&&i!==null}function Uh(i,n){if(!!!i)throw new Error(n??"Unexpected invariant triggered.")}var s_=/\r\n|[\n\r]/g;function sr(i,n){let e=0,t=1;for(let r of i.body.matchAll(s_)){if(typeof r.index=="number"||Uh(!1),r.index>=n)break;e=r.index+r[0].length,t+=1}return{line:t,column:n+1-e}}function jc(i){return Aa(i.source,sr(i.source,i.start))}function Aa(i,n){let e=i.locationOffset.column-1,t="".padStart(e)+i.body,r=n.line-1,o=i.locationOffset.line-1,a=n.line+o,s=n.line===1?e:0,c=n.column+s,l=`${i.name}:${a}:${c} `,d=t.split(/\r\n|[\n\r]/g),h=d[r];if(h.length>120){let m=Math.floor(c/80),p=c%80,f=[];for(let g=0;g["|",g]),["|","^".padStart(p)],["|",f[m+1]]])}return l+qh([[`${a-1} |`,d[r-1]],[`${a} |`,h],["|","^".padStart(c)],[`${a+1} |`,d[r+1]]])}function qh(i){let n=i.filter(([t,r])=>r!==void 0),e=Math.max(...n.map(([t])=>t.length));return n.map(([t,r])=>t.padStart(e)+(r?" "+r:"")).join(` -`)}function a_(i){let n=i[0];return n==null||"kind"in n||"length"in n?{nodes:n,source:i[1],positions:i[2],path:i[3],originalError:i[4],extensions:i[5]}:n}var Oa=class i extends Error{constructor(n,...e){var t,r,o;let{nodes:a,source:s,positions:c,path:l,originalError:d,extensions:h}=a_(e);super(n),this.name="GraphQLError",this.path=l??void 0,this.originalError=d??void 0,this.nodes=Wh(Array.isArray(a)?a:a?[a]:void 0);let m=Wh((t=this.nodes)===null||t===void 0?void 0:t.map(f=>f.loc).filter(f=>f!=null));this.source=s??(m==null||(r=m[0])===null||r===void 0?void 0:r.source),this.positions=c??m?.map(f=>f.start),this.locations=c&&s?c.map(f=>sr(s,f)):m?.map(f=>sr(f.source,f.start));let p=Qh(d?.extensions)?d?.extensions:void 0;this.extensions=(o=h??p)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),d!=null&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,i):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let n=this.message;if(this.nodes)for(let e of this.nodes)e.loc&&(n+=` +`)}function c_(i){let n=i[0];return n==null||"kind"in n||"length"in n?{nodes:n,source:i[1],positions:i[2],path:i[3],originalError:i[4],extensions:i[5]}:n}var Oa=class i extends Error{constructor(n,...e){var t,r,o;let{nodes:a,source:s,positions:c,path:l,originalError:d,extensions:h}=c_(e);super(n),this.name="GraphQLError",this.path=l??void 0,this.originalError=d??void 0,this.nodes=Wh(Array.isArray(a)?a:a?[a]:void 0);let m=Wh((t=this.nodes)===null||t===void 0?void 0:t.map(f=>f.loc).filter(f=>f!=null));this.source=s??(m==null||(r=m[0])===null||r===void 0?void 0:r.source),this.positions=c??m?.map(f=>f.start),this.locations=c&&s?c.map(f=>sr(s,f)):m?.map(f=>sr(f.source,f.start));let p=Qh(d?.extensions)?d?.extensions:void 0;this.extensions=(o=h??p)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),d!=null&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,i):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let n=this.message;if(this.nodes)for(let e of this.nodes)e.loc&&(n+=` `+jc(e.loc));else if(this.source&&this.locations)for(let e of this.locations)n+=` -`+Aa(this.source,e);return n}toJSON(){let n={message:this.message};return this.locations!=null&&(n.locations=this.locations),this.path!=null&&(n.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(n.extensions=this.extensions),n}};function Wh(i){return i===void 0||i.length===0?void 0:i}function ct(i,n,e){return new Oa(`Syntax Error: ${e}`,{source:i,positions:[n]})}var ro=class{constructor(n,e,t){this.start=n.start,this.end=e.end,this.startToken=n,this.endToken=e,this.source=t}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},cr=class{constructor(n,e,t,r,o,a){this.kind=n,this.start=e,this.end=t,this.line=r,this.column=o,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},Vc={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},s_=new Set(Object.keys(Vc));function Bc(i){let n=i?.kind;return typeof n=="string"&&s_.has(n)}var xn=function(i){return i.QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription",i}(xn||{});var Ra=function(i){return i.QUERY="QUERY",i.MUTATION="MUTATION",i.SUBSCRIPTION="SUBSCRIPTION",i.FIELD="FIELD",i.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",i.FRAGMENT_SPREAD="FRAGMENT_SPREAD",i.INLINE_FRAGMENT="INLINE_FRAGMENT",i.VARIABLE_DEFINITION="VARIABLE_DEFINITION",i.SCHEMA="SCHEMA",i.SCALAR="SCALAR",i.OBJECT="OBJECT",i.FIELD_DEFINITION="FIELD_DEFINITION",i.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.ENUM_VALUE="ENUM_VALUE",i.INPUT_OBJECT="INPUT_OBJECT",i.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",i}(Ra||{});var G=function(i){return i.NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",i}(G||{});function Fa(i){return i===9||i===32}function lr(i){return i>=48&&i<=57}function Gh(i){return i>=97&&i<=122||i>=65&&i<=90}function zc(i){return Gh(i)||i===95}function $h(i){return Gh(i)||lr(i)||i===95}function Yh(i){var n;let e=Number.MAX_SAFE_INTEGER,t=null,r=-1;for(let a=0;as===0?a:a.slice(e)).slice((n=t)!==null&&n!==void 0?n:0,r+1)}function c_(i){let n=0;for(;n1&&t.slice(1).every(p=>p.length===0||Fa(p.charCodeAt(0))),a=e.endsWith('\\"""'),s=i.endsWith('"')&&!a,c=i.endsWith("\\"),l=s||c,d=!(n!=null&&n.minimize)&&(!r||i.length>70||l||o||a),h="",m=r&&Fa(i.charCodeAt(0));return(d&&!m||o)&&(h+=` +`+Aa(this.source,e);return n}toJSON(){let n={message:this.message};return this.locations!=null&&(n.locations=this.locations),this.path!=null&&(n.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(n.extensions=this.extensions),n}};function Wh(i){return i===void 0||i.length===0?void 0:i}function ct(i,n,e){return new Oa(`Syntax Error: ${e}`,{source:i,positions:[n]})}var oo=class{constructor(n,e,t){this.start=n.start,this.end=e.end,this.startToken=n,this.endToken=e,this.source=t}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},cr=class{constructor(n,e,t,r,o,a){this.kind=n,this.start=e,this.end=t,this.line=r,this.column=o,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},Vc={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},l_=new Set(Object.keys(Vc));function Bc(i){let n=i?.kind;return typeof n=="string"&&l_.has(n)}var xn=function(i){return i.QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription",i}(xn||{});var Ra=function(i){return i.QUERY="QUERY",i.MUTATION="MUTATION",i.SUBSCRIPTION="SUBSCRIPTION",i.FIELD="FIELD",i.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",i.FRAGMENT_SPREAD="FRAGMENT_SPREAD",i.INLINE_FRAGMENT="INLINE_FRAGMENT",i.VARIABLE_DEFINITION="VARIABLE_DEFINITION",i.SCHEMA="SCHEMA",i.SCALAR="SCALAR",i.OBJECT="OBJECT",i.FIELD_DEFINITION="FIELD_DEFINITION",i.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.ENUM_VALUE="ENUM_VALUE",i.INPUT_OBJECT="INPUT_OBJECT",i.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",i}(Ra||{});var G=function(i){return i.NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",i}(G||{});function Fa(i){return i===9||i===32}function lr(i){return i>=48&&i<=57}function Gh(i){return i>=97&&i<=122||i>=65&&i<=90}function zc(i){return Gh(i)||i===95}function $h(i){return Gh(i)||lr(i)||i===95}function Yh(i){var n;let e=Number.MAX_SAFE_INTEGER,t=null,r=-1;for(let a=0;as===0?a:a.slice(e)).slice((n=t)!==null&&n!==void 0?n:0,r+1)}function d_(i){let n=0;for(;n1&&t.slice(1).every(p=>p.length===0||Fa(p.charCodeAt(0))),a=e.endsWith('\\"""'),s=i.endsWith('"')&&!a,c=i.endsWith("\\"),l=s||c,d=!(n!=null&&n.minimize)&&(!r||i.length>70||l||o||a),h="",m=r&&Fa(i.charCodeAt(0));return(d&&!m||o)&&(h+=` `),h+=e,(d||l)&&(h+=` -`),'"""'+h+'"""'}var k=function(i){return i.SOF="",i.EOF="",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment",i}(k||{});var ao=class{constructor(n){let e=new cr(k.SOF,0,0,0,0);this.source=n,this.lastToken=e,this.token=e,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let n=this.token;if(n.kind!==k.EOF)do if(n.next)n=n.next;else{let e=l_(this,n.end);n.next=e,e.prev=n,n=e}while(n.kind===k.COMMENT);return n}};function Zh(i){return i===k.BANG||i===k.DOLLAR||i===k.AMP||i===k.PAREN_L||i===k.PAREN_R||i===k.SPREAD||i===k.COLON||i===k.EQUALS||i===k.AT||i===k.BRACKET_L||i===k.BRACKET_R||i===k.BRACE_L||i===k.PIPE||i===k.BRACE_R}function dr(i){return i>=0&&i<=55295||i>=57344&&i<=1114111}function Pa(i,n){return Jh(i.charCodeAt(n))&&em(i.charCodeAt(n+1))}function Jh(i){return i>=55296&&i<=56319}function em(i){return i>=56320&&i<=57343}function wn(i,n){let e=i.source.body.codePointAt(n);if(e===void 0)return k.EOF;if(e>=32&&e<=126){let t=String.fromCodePoint(e);return t==='"'?`'"'`:`"${t}"`}return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function lt(i,n,e,t,r){let o=i.line,a=1+e-i.lineStart;return new cr(n,e,t,o,a,r)}function l_(i,n){let e=i.source.body,t=e.length,r=n;for(;r=48&&i<=57?i-48:i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:-1}function f_(i,n){let e=i.source.body;switch(e.charCodeAt(n+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` -`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw ct(i.source,n,`Invalid character escape sequence: "${e.slice(n,n+2)}".`)}function g_(i,n){let e=i.source.body,t=e.length,r=i.lineStart,o=n+3,a=o,s="",c=[];for(;o2?"["+w_(i)+"]":"{ "+e.map(([r,o])=>r+": "+Na(o,n)).join(", ")+" }"}function x_(i,n){if(i.length===0)return"[]";if(n.length>2)return"[Array]";let e=Math.min(10,i.length),t=i.length-e,r=[];for(let o=0;o1&&r.push(`... ${t} more items`),"["+r.join(", ")+"]"}function w_(i){let n=Object.prototype.toString.call(i).replace(/^\[object /,"").replace(/]$/,"");if(n==="Object"&&typeof i.constructor=="function"){let e=i.constructor.name;if(typeof e=="string"&&e!=="")return e}return n}var C_=globalThis.process&&!0,tm=C_?function(n,e){return n instanceof e}:function(n,e){if(n instanceof e)return!0;if(typeof n=="object"&&n!==null){var t;let r=e.prototype[Symbol.toStringTag],o=Symbol.toStringTag in n?n[Symbol.toStringTag]:(t=n.constructor)===null||t===void 0?void 0:t.name;if(r===o){let a=ur(n);throw new Error(`Cannot use ${r} "${a}" from another module or realm. +`),'"""'+h+'"""'}var k=function(i){return i.SOF="",i.EOF="",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment",i}(k||{});var so=class{constructor(n){let e=new cr(k.SOF,0,0,0,0);this.source=n,this.lastToken=e,this.token=e,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let n=this.token;if(n.kind!==k.EOF)do if(n.next)n=n.next;else{let e=u_(this,n.end);n.next=e,e.prev=n,n=e}while(n.kind===k.COMMENT);return n}};function Zh(i){return i===k.BANG||i===k.DOLLAR||i===k.AMP||i===k.PAREN_L||i===k.PAREN_R||i===k.SPREAD||i===k.COLON||i===k.EQUALS||i===k.AT||i===k.BRACKET_L||i===k.BRACKET_R||i===k.BRACE_L||i===k.PIPE||i===k.BRACE_R}function dr(i){return i>=0&&i<=55295||i>=57344&&i<=1114111}function Pa(i,n){return Jh(i.charCodeAt(n))&&em(i.charCodeAt(n+1))}function Jh(i){return i>=55296&&i<=56319}function em(i){return i>=56320&&i<=57343}function wn(i,n){let e=i.source.body.codePointAt(n);if(e===void 0)return k.EOF;if(e>=32&&e<=126){let t=String.fromCodePoint(e);return t==='"'?`'"'`:`"${t}"`}return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function lt(i,n,e,t,r){let o=i.line,a=1+e-i.lineStart;return new cr(n,e,t,o,a,r)}function u_(i,n){let e=i.source.body,t=e.length,r=n;for(;r=48&&i<=57?i-48:i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:-1}function b_(i,n){let e=i.source.body;switch(e.charCodeAt(n+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw ct(i.source,n,`Invalid character escape sequence: "${e.slice(n,n+2)}".`)}function v_(i,n){let e=i.source.body,t=e.length,r=i.lineStart,o=n+3,a=o,s="",c=[];for(;o2?"["+k_(i)+"]":"{ "+e.map(([r,o])=>r+": "+Na(o,n)).join(", ")+" }"}function C_(i,n){if(i.length===0)return"[]";if(n.length>2)return"[Array]";let e=Math.min(10,i.length),t=i.length-e,r=[];for(let o=0;o1&&r.push(`... ${t} more items`),"["+r.join(", ")+"]"}function k_(i){let n=Object.prototype.toString.call(i).replace(/^\[object /,"").replace(/]$/,"");if(n==="Object"&&typeof i.constructor=="function"){let e=i.constructor.name;if(typeof e=="string"&&e!=="")return e}return n}var D_=globalThis.process&&!0,tm=D_?function(n,e){return n instanceof e}:function(n,e){if(n instanceof e)return!0;if(typeof n=="object"&&n!==null){var t;let r=e.prototype[Symbol.toStringTag],o=Symbol.toStringTag in n?n[Symbol.toStringTag]:(t=n.constructor)===null||t===void 0?void 0:t.name;if(r===o){let a=ur(n);throw new Error(`Cannot use ${r} "${a}" from another module or realm. Ensure that there is only one instance of "graphql" in the node_modules directory. If different versions of "graphql" are the dependencies of other @@ -19,9 +19,9 @@ https://yarnpkg.com/en/docs/selective-version-resolutions Duplicate "graphql" modules cannot be used at the same time since different versions may have different capabilities and behavior. The data from one version used in the function from another could produce confusing and -spurious results.`)}}return!1};var hr=class{constructor(n,e="GraphQL request",t={line:1,column:1}){typeof n=="string"||ar(!1,`Body must be a string. Received: ${ur(n)}.`),this.body=n,this.name=e,this.locationOffset=t,this.locationOffset.line>0||ar(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ar(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function im(i){return tm(i,hr)}function ja(i,n){return new Qc(i,n).parseDocument()}var Qc=class{constructor(n,e={}){let t=im(n)?n:new hr(n);this._lexer=new ao(t),this._options=e,this._tokenCounter=0}parseName(){let n=this.expectToken(k.NAME);return this.node(n,{kind:G.NAME,value:n.value})}parseDocument(){return this.node(this._lexer.token,{kind:G.DOCUMENT,definitions:this.many(k.SOF,this.parseDefinition,k.EOF)})}parseDefinition(){if(this.peek(k.BRACE_L))return this.parseOperationDefinition();let n=this.peekDescription(),e=n?this._lexer.lookahead():this._lexer.token;if(e.kind===k.NAME){switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(n)throw ct(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(e.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(e)}parseOperationDefinition(){let n=this._lexer.token;if(this.peek(k.BRACE_L))return this.node(n,{kind:G.OPERATION_DEFINITION,operation:xn.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let e=this.parseOperationType(),t;return this.peek(k.NAME)&&(t=this.parseName()),this.node(n,{kind:G.OPERATION_DEFINITION,operation:e,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let n=this.expectToken(k.NAME);switch(n.value){case"query":return xn.QUERY;case"mutation":return xn.MUTATION;case"subscription":return xn.SUBSCRIPTION}throw this.unexpected(n)}parseVariableDefinitions(){return this.optionalMany(k.PAREN_L,this.parseVariableDefinition,k.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:G.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(k.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(k.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let n=this._lexer.token;return this.expectToken(k.DOLLAR),this.node(n,{kind:G.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:G.SELECTION_SET,selections:this.many(k.BRACE_L,this.parseSelection,k.BRACE_R)})}parseSelection(){return this.peek(k.SPREAD)?this.parseFragment():this.parseField()}parseField(){let n=this._lexer.token,e=this.parseName(),t,r;return this.expectOptionalToken(k.COLON)?(t=e,r=this.parseName()):r=e,this.node(n,{kind:G.FIELD,alias:t,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(k.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(n){let e=n?this.parseConstArgument:this.parseArgument;return this.optionalMany(k.PAREN_L,e,k.PAREN_R)}parseArgument(n=!1){let e=this._lexer.token,t=this.parseName();return this.expectToken(k.COLON),this.node(e,{kind:G.ARGUMENT,name:t,value:this.parseValueLiteral(n)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let n=this._lexer.token;this.expectToken(k.SPREAD);let e=this.expectOptionalKeyword("on");return!e&&this.peek(k.NAME)?this.node(n,{kind:G.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(n,{kind:G.INLINE_FRAGMENT,typeCondition:e?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let n=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(n,{kind:G.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(n,{kind:G.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(n){let e=this._lexer.token;switch(e.kind){case k.BRACKET_L:return this.parseList(n);case k.BRACE_L:return this.parseObject(n);case k.INT:return this.advanceLexer(),this.node(e,{kind:G.INT,value:e.value});case k.FLOAT:return this.advanceLexer(),this.node(e,{kind:G.FLOAT,value:e.value});case k.STRING:case k.BLOCK_STRING:return this.parseStringLiteral();case k.NAME:switch(this.advanceLexer(),e.value){case"true":return this.node(e,{kind:G.BOOLEAN,value:!0});case"false":return this.node(e,{kind:G.BOOLEAN,value:!1});case"null":return this.node(e,{kind:G.NULL});default:return this.node(e,{kind:G.ENUM,value:e.value})}case k.DOLLAR:if(n)if(this.expectToken(k.DOLLAR),this._lexer.token.kind===k.NAME){let t=this._lexer.token.value;throw ct(this._lexer.source,e.start,`Unexpected variable "$${t}" in constant value.`)}else throw this.unexpected(e);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let n=this._lexer.token;return this.advanceLexer(),this.node(n,{kind:G.STRING,value:n.value,block:n.kind===k.BLOCK_STRING})}parseList(n){let e=()=>this.parseValueLiteral(n);return this.node(this._lexer.token,{kind:G.LIST,values:this.any(k.BRACKET_L,e,k.BRACKET_R)})}parseObject(n){let e=()=>this.parseObjectField(n);return this.node(this._lexer.token,{kind:G.OBJECT,fields:this.any(k.BRACE_L,e,k.BRACE_R)})}parseObjectField(n){let e=this._lexer.token,t=this.parseName();return this.expectToken(k.COLON),this.node(e,{kind:G.OBJECT_FIELD,name:t,value:this.parseValueLiteral(n)})}parseDirectives(n){let e=[];for(;this.peek(k.AT);)e.push(this.parseDirective(n));return e}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(n){let e=this._lexer.token;return this.expectToken(k.AT),this.node(e,{kind:G.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(n)})}parseTypeReference(){let n=this._lexer.token,e;if(this.expectOptionalToken(k.BRACKET_L)){let t=this.parseTypeReference();this.expectToken(k.BRACKET_R),e=this.node(n,{kind:G.LIST_TYPE,type:t})}else e=this.parseNamedType();return this.expectOptionalToken(k.BANG)?this.node(n,{kind:G.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:G.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(k.STRING)||this.peek(k.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.many(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);return this.node(n,{kind:G.SCHEMA_DEFINITION,description:e,directives:t,operationTypes:r})}parseOperationTypeDefinition(){let n=this._lexer.token,e=this.parseOperationType();this.expectToken(k.COLON);let t=this.parseNamedType();return this.node(n,{kind:G.OPERATION_TYPE_DEFINITION,operation:e,type:t})}parseScalarTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();return this.node(n,{kind:G.SCALAR_TYPE_DEFINITION,description:e,name:t,directives:r})}parseObjectTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(n,{kind:G.OBJECT_TYPE_DEFINITION,description:e,name:t,interfaces:r,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(k.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseFieldDefinition,k.BRACE_R)}parseFieldDefinition(){let n=this._lexer.token,e=this.parseDescription(),t=this.parseName(),r=this.parseArgumentDefs();this.expectToken(k.COLON);let o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(n,{kind:G.FIELD_DEFINITION,description:e,name:t,arguments:r,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(k.PAREN_L,this.parseInputValueDef,k.PAREN_R)}parseInputValueDef(){let n=this._lexer.token,e=this.parseDescription(),t=this.parseName();this.expectToken(k.COLON);let r=this.parseTypeReference(),o;this.expectOptionalToken(k.EQUALS)&&(o=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(n,{kind:G.INPUT_VALUE_DEFINITION,description:e,name:t,type:r,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(n,{kind:G.INTERFACE_TYPE_DEFINITION,description:e,name:t,interfaces:r,directives:o,fields:a})}parseUnionTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(n,{kind:G.UNION_TYPE_DEFINITION,description:e,name:t,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(k.EQUALS)?this.delimitedMany(k.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(n,{kind:G.ENUM_TYPE_DEFINITION,description:e,name:t,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(k.BRACE_L,this.parseEnumValueDefinition,k.BRACE_R)}parseEnumValueDefinition(){let n=this._lexer.token,e=this.parseDescription(),t=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(n,{kind:G.ENUM_VALUE_DEFINITION,description:e,name:t,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw ct(this._lexer.source,this._lexer.token.start,`${La(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(n,{kind:G.INPUT_OBJECT_TYPE_DEFINITION,description:e,name:t,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseInputValueDef,k.BRACE_R)}parseTypeSystemExtension(){let n=this._lexer.lookahead();if(n.kind===k.NAME)switch(n.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(n)}parseSchemaExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let e=this.parseConstDirectives(),t=this.optionalMany(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);if(e.length===0&&t.length===0)throw this.unexpected();return this.node(n,{kind:G.SCHEMA_EXTENSION,directives:e,operationTypes:t})}parseScalarTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let e=this.parseName(),t=this.parseConstDirectives();if(t.length===0)throw this.unexpected();return this.node(n,{kind:G.SCALAR_TYPE_EXTENSION,name:e,directives:t})}parseObjectTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let e=this.parseName(),t=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(t.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:G.OBJECT_TYPE_EXTENSION,name:e,interfaces:t,directives:r,fields:o})}parseInterfaceTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let e=this.parseName(),t=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(t.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:G.INTERFACE_TYPE_EXTENSION,name:e,interfaces:t,directives:r,fields:o})}parseUnionTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let e=this.parseName(),t=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(t.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:G.UNION_TYPE_EXTENSION,name:e,directives:t,types:r})}parseEnumTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let e=this.parseName(),t=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(t.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:G.ENUM_TYPE_EXTENSION,name:e,directives:t,values:r})}parseInputObjectTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let e=this.parseName(),t=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(t.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:G.INPUT_OBJECT_TYPE_EXTENSION,name:e,directives:t,fields:r})}parseDirectiveDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("directive"),this.expectToken(k.AT);let t=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(n,{kind:G.DIRECTIVE_DEFINITION,description:e,name:t,arguments:r,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(k.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let n=this._lexer.token,e=this.parseName();if(Object.prototype.hasOwnProperty.call(Ra,e.value))return e;throw this.unexpected(n)}node(n,e){return this._options.noLocation!==!0&&(e.loc=new ro(n,this._lexer.lastToken,this._lexer.source)),e}peek(n){return this._lexer.token.kind===n}expectToken(n){let e=this._lexer.token;if(e.kind===n)return this.advanceLexer(),e;throw ct(this._lexer.source,e.start,`Expected ${nm(n)}, found ${La(e)}.`)}expectOptionalToken(n){return this._lexer.token.kind===n?(this.advanceLexer(),!0):!1}expectKeyword(n){let e=this._lexer.token;if(e.kind===k.NAME&&e.value===n)this.advanceLexer();else throw ct(this._lexer.source,e.start,`Expected "${n}", found ${La(e)}.`)}expectOptionalKeyword(n){let e=this._lexer.token;return e.kind===k.NAME&&e.value===n?(this.advanceLexer(),!0):!1}unexpected(n){let e=n??this._lexer.token;return ct(this._lexer.source,e.start,`Unexpected ${La(e)}.`)}any(n,e,t){this.expectToken(n);let r=[];for(;!this.expectOptionalToken(t);)r.push(e.call(this));return r}optionalMany(n,e,t){if(this.expectOptionalToken(n)){let r=[];do r.push(e.call(this));while(!this.expectOptionalToken(t));return r}return[]}many(n,e,t){this.expectToken(n);let r=[];do r.push(e.call(this));while(!this.expectOptionalToken(t));return r}delimitedMany(n,e){this.expectOptionalToken(n);let t=[];do t.push(e.call(this));while(this.expectOptionalToken(n));return t}advanceLexer(){let{maxTokens:n}=this._options,e=this._lexer.advance();if(n!==void 0&&e.kind!==k.EOF&&(++this._tokenCounter,this._tokenCounter>n))throw ct(this._lexer.source,e.start,`Document contains more that ${n} tokens. Parsing aborted.`)}};function La(i){let n=i.value;return nm(i.kind)+(n!=null?` "${n}"`:"")}function nm(i){return Zh(i)?`"${i}"`:i}function rm(i){return`"${i.replace(k_,D_)}"`}var k_=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function D_(i){return E_[i.charCodeAt(0)]}var E_=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var Cn=Object.freeze({});function wt(i,n,e=Vc){let t=new Map;for(let v of Object.values(G))t.set(v,Uc(n,v));let r,o=Array.isArray(i),a=[i],s=-1,c=[],l=i,d,h,m=[],p=[];do{s++;let v=s===a.length,M=v&&c.length!==0;if(v){if(d=p.length===0?void 0:m[m.length-1],l=h,h=p.pop(),M)if(o){l=l.slice();let q=0;for(let[U,J]of c){let be=U-q;J===null?(l.splice(be,1),q++):l[be]=J}}else{l=Object.defineProperties({},Object.getOwnPropertyDescriptors(l));for(let[q,U]of c)l[q]=U}s=r.index,a=r.keys,c=r.edits,o=r.inArray,r=r.prev}else if(h){if(d=o?s:a[s],l=h[d],l==null)continue;m.push(d)}let y;if(!Array.isArray(l)){var f,g;Bc(l)||ar(!1,`Invalid AST Node: ${ur(l)}.`);let q=v?(f=t.get(l.kind))===null||f===void 0?void 0:f.leave:(g=t.get(l.kind))===null||g===void 0?void 0:g.enter;if(y=q?.call(n,l,d,h,m,p),y===Cn)break;if(y===!1){if(!v){m.pop();continue}}else if(y!==void 0&&(c.push([d,y]),!v))if(Bc(y))l=y;else{m.pop();continue}}if(y===void 0&&M&&c.push([d,l]),v)m.pop();else{var _;r={inArray:o,index:s,keys:a,edits:c,prev:r},o=Array.isArray(l),a=o?l:(_=e[l.kind])!==null&&_!==void 0?_:[],s=-1,c=[],h&&p.push(h),h=l}}while(r!==void 0);return c.length!==0?c[c.length-1][1]:i}function Uc(i,n){let e=i[n];return typeof e=="object"?e:typeof e=="function"?{enter:e,leave:void 0}:{enter:i.enter,leave:i.leave}}function mr(i){return wt(i,S_)}var I_=80,S_={Name:{leave:i=>i.value},Variable:{leave:i=>"$"+i.name},Document:{leave:i=>X(i.definitions,` +spurious results.`)}}return!1};var hr=class{constructor(n,e="GraphQL request",t={line:1,column:1}){typeof n=="string"||ar(!1,`Body must be a string. Received: ${ur(n)}.`),this.body=n,this.name=e,this.locationOffset=t,this.locationOffset.line>0||ar(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ar(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function im(i){return tm(i,hr)}function ja(i,n){return new Qc(i,n).parseDocument()}var Qc=class{constructor(n,e={}){let t=im(n)?n:new hr(n);this._lexer=new so(t),this._options=e,this._tokenCounter=0}parseName(){let n=this.expectToken(k.NAME);return this.node(n,{kind:G.NAME,value:n.value})}parseDocument(){return this.node(this._lexer.token,{kind:G.DOCUMENT,definitions:this.many(k.SOF,this.parseDefinition,k.EOF)})}parseDefinition(){if(this.peek(k.BRACE_L))return this.parseOperationDefinition();let n=this.peekDescription(),e=n?this._lexer.lookahead():this._lexer.token;if(e.kind===k.NAME){switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(n)throw ct(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(e.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(e)}parseOperationDefinition(){let n=this._lexer.token;if(this.peek(k.BRACE_L))return this.node(n,{kind:G.OPERATION_DEFINITION,operation:xn.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let e=this.parseOperationType(),t;return this.peek(k.NAME)&&(t=this.parseName()),this.node(n,{kind:G.OPERATION_DEFINITION,operation:e,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let n=this.expectToken(k.NAME);switch(n.value){case"query":return xn.QUERY;case"mutation":return xn.MUTATION;case"subscription":return xn.SUBSCRIPTION}throw this.unexpected(n)}parseVariableDefinitions(){return this.optionalMany(k.PAREN_L,this.parseVariableDefinition,k.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:G.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(k.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(k.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let n=this._lexer.token;return this.expectToken(k.DOLLAR),this.node(n,{kind:G.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:G.SELECTION_SET,selections:this.many(k.BRACE_L,this.parseSelection,k.BRACE_R)})}parseSelection(){return this.peek(k.SPREAD)?this.parseFragment():this.parseField()}parseField(){let n=this._lexer.token,e=this.parseName(),t,r;return this.expectOptionalToken(k.COLON)?(t=e,r=this.parseName()):r=e,this.node(n,{kind:G.FIELD,alias:t,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(k.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(n){let e=n?this.parseConstArgument:this.parseArgument;return this.optionalMany(k.PAREN_L,e,k.PAREN_R)}parseArgument(n=!1){let e=this._lexer.token,t=this.parseName();return this.expectToken(k.COLON),this.node(e,{kind:G.ARGUMENT,name:t,value:this.parseValueLiteral(n)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let n=this._lexer.token;this.expectToken(k.SPREAD);let e=this.expectOptionalKeyword("on");return!e&&this.peek(k.NAME)?this.node(n,{kind:G.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(n,{kind:G.INLINE_FRAGMENT,typeCondition:e?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let n=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(n,{kind:G.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(n,{kind:G.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(n){let e=this._lexer.token;switch(e.kind){case k.BRACKET_L:return this.parseList(n);case k.BRACE_L:return this.parseObject(n);case k.INT:return this.advanceLexer(),this.node(e,{kind:G.INT,value:e.value});case k.FLOAT:return this.advanceLexer(),this.node(e,{kind:G.FLOAT,value:e.value});case k.STRING:case k.BLOCK_STRING:return this.parseStringLiteral();case k.NAME:switch(this.advanceLexer(),e.value){case"true":return this.node(e,{kind:G.BOOLEAN,value:!0});case"false":return this.node(e,{kind:G.BOOLEAN,value:!1});case"null":return this.node(e,{kind:G.NULL});default:return this.node(e,{kind:G.ENUM,value:e.value})}case k.DOLLAR:if(n)if(this.expectToken(k.DOLLAR),this._lexer.token.kind===k.NAME){let t=this._lexer.token.value;throw ct(this._lexer.source,e.start,`Unexpected variable "$${t}" in constant value.`)}else throw this.unexpected(e);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let n=this._lexer.token;return this.advanceLexer(),this.node(n,{kind:G.STRING,value:n.value,block:n.kind===k.BLOCK_STRING})}parseList(n){let e=()=>this.parseValueLiteral(n);return this.node(this._lexer.token,{kind:G.LIST,values:this.any(k.BRACKET_L,e,k.BRACKET_R)})}parseObject(n){let e=()=>this.parseObjectField(n);return this.node(this._lexer.token,{kind:G.OBJECT,fields:this.any(k.BRACE_L,e,k.BRACE_R)})}parseObjectField(n){let e=this._lexer.token,t=this.parseName();return this.expectToken(k.COLON),this.node(e,{kind:G.OBJECT_FIELD,name:t,value:this.parseValueLiteral(n)})}parseDirectives(n){let e=[];for(;this.peek(k.AT);)e.push(this.parseDirective(n));return e}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(n){let e=this._lexer.token;return this.expectToken(k.AT),this.node(e,{kind:G.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(n)})}parseTypeReference(){let n=this._lexer.token,e;if(this.expectOptionalToken(k.BRACKET_L)){let t=this.parseTypeReference();this.expectToken(k.BRACKET_R),e=this.node(n,{kind:G.LIST_TYPE,type:t})}else e=this.parseNamedType();return this.expectOptionalToken(k.BANG)?this.node(n,{kind:G.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:G.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(k.STRING)||this.peek(k.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.many(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);return this.node(n,{kind:G.SCHEMA_DEFINITION,description:e,directives:t,operationTypes:r})}parseOperationTypeDefinition(){let n=this._lexer.token,e=this.parseOperationType();this.expectToken(k.COLON);let t=this.parseNamedType();return this.node(n,{kind:G.OPERATION_TYPE_DEFINITION,operation:e,type:t})}parseScalarTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();return this.node(n,{kind:G.SCALAR_TYPE_DEFINITION,description:e,name:t,directives:r})}parseObjectTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(n,{kind:G.OBJECT_TYPE_DEFINITION,description:e,name:t,interfaces:r,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(k.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseFieldDefinition,k.BRACE_R)}parseFieldDefinition(){let n=this._lexer.token,e=this.parseDescription(),t=this.parseName(),r=this.parseArgumentDefs();this.expectToken(k.COLON);let o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(n,{kind:G.FIELD_DEFINITION,description:e,name:t,arguments:r,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(k.PAREN_L,this.parseInputValueDef,k.PAREN_R)}parseInputValueDef(){let n=this._lexer.token,e=this.parseDescription(),t=this.parseName();this.expectToken(k.COLON);let r=this.parseTypeReference(),o;this.expectOptionalToken(k.EQUALS)&&(o=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(n,{kind:G.INPUT_VALUE_DEFINITION,description:e,name:t,type:r,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(n,{kind:G.INTERFACE_TYPE_DEFINITION,description:e,name:t,interfaces:r,directives:o,fields:a})}parseUnionTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(n,{kind:G.UNION_TYPE_DEFINITION,description:e,name:t,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(k.EQUALS)?this.delimitedMany(k.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(n,{kind:G.ENUM_TYPE_DEFINITION,description:e,name:t,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(k.BRACE_L,this.parseEnumValueDefinition,k.BRACE_R)}parseEnumValueDefinition(){let n=this._lexer.token,e=this.parseDescription(),t=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(n,{kind:G.ENUM_VALUE_DEFINITION,description:e,name:t,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw ct(this._lexer.source,this._lexer.token.start,`${La(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(n,{kind:G.INPUT_OBJECT_TYPE_DEFINITION,description:e,name:t,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseInputValueDef,k.BRACE_R)}parseTypeSystemExtension(){let n=this._lexer.lookahead();if(n.kind===k.NAME)switch(n.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(n)}parseSchemaExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let e=this.parseConstDirectives(),t=this.optionalMany(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);if(e.length===0&&t.length===0)throw this.unexpected();return this.node(n,{kind:G.SCHEMA_EXTENSION,directives:e,operationTypes:t})}parseScalarTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let e=this.parseName(),t=this.parseConstDirectives();if(t.length===0)throw this.unexpected();return this.node(n,{kind:G.SCALAR_TYPE_EXTENSION,name:e,directives:t})}parseObjectTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let e=this.parseName(),t=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(t.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:G.OBJECT_TYPE_EXTENSION,name:e,interfaces:t,directives:r,fields:o})}parseInterfaceTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let e=this.parseName(),t=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(t.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:G.INTERFACE_TYPE_EXTENSION,name:e,interfaces:t,directives:r,fields:o})}parseUnionTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let e=this.parseName(),t=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(t.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:G.UNION_TYPE_EXTENSION,name:e,directives:t,types:r})}parseEnumTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let e=this.parseName(),t=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(t.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:G.ENUM_TYPE_EXTENSION,name:e,directives:t,values:r})}parseInputObjectTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let e=this.parseName(),t=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(t.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:G.INPUT_OBJECT_TYPE_EXTENSION,name:e,directives:t,fields:r})}parseDirectiveDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("directive"),this.expectToken(k.AT);let t=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(n,{kind:G.DIRECTIVE_DEFINITION,description:e,name:t,arguments:r,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(k.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let n=this._lexer.token,e=this.parseName();if(Object.prototype.hasOwnProperty.call(Ra,e.value))return e;throw this.unexpected(n)}node(n,e){return this._options.noLocation!==!0&&(e.loc=new oo(n,this._lexer.lastToken,this._lexer.source)),e}peek(n){return this._lexer.token.kind===n}expectToken(n){let e=this._lexer.token;if(e.kind===n)return this.advanceLexer(),e;throw ct(this._lexer.source,e.start,`Expected ${nm(n)}, found ${La(e)}.`)}expectOptionalToken(n){return this._lexer.token.kind===n?(this.advanceLexer(),!0):!1}expectKeyword(n){let e=this._lexer.token;if(e.kind===k.NAME&&e.value===n)this.advanceLexer();else throw ct(this._lexer.source,e.start,`Expected "${n}", found ${La(e)}.`)}expectOptionalKeyword(n){let e=this._lexer.token;return e.kind===k.NAME&&e.value===n?(this.advanceLexer(),!0):!1}unexpected(n){let e=n??this._lexer.token;return ct(this._lexer.source,e.start,`Unexpected ${La(e)}.`)}any(n,e,t){this.expectToken(n);let r=[];for(;!this.expectOptionalToken(t);)r.push(e.call(this));return r}optionalMany(n,e,t){if(this.expectOptionalToken(n)){let r=[];do r.push(e.call(this));while(!this.expectOptionalToken(t));return r}return[]}many(n,e,t){this.expectToken(n);let r=[];do r.push(e.call(this));while(!this.expectOptionalToken(t));return r}delimitedMany(n,e){this.expectOptionalToken(n);let t=[];do t.push(e.call(this));while(this.expectOptionalToken(n));return t}advanceLexer(){let{maxTokens:n}=this._options,e=this._lexer.advance();if(n!==void 0&&e.kind!==k.EOF&&(++this._tokenCounter,this._tokenCounter>n))throw ct(this._lexer.source,e.start,`Document contains more that ${n} tokens. Parsing aborted.`)}};function La(i){let n=i.value;return nm(i.kind)+(n!=null?` "${n}"`:"")}function nm(i){return Zh(i)?`"${i}"`:i}function rm(i){return`"${i.replace(E_,I_)}"`}var E_=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function I_(i){return S_[i.charCodeAt(0)]}var S_=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var Cn=Object.freeze({});function wt(i,n,e=Vc){let t=new Map;for(let v of Object.values(G))t.set(v,Uc(n,v));let r,o=Array.isArray(i),a=[i],s=-1,c=[],l=i,d,h,m=[],p=[];do{s++;let v=s===a.length,M=v&&c.length!==0;if(v){if(d=p.length===0?void 0:m[m.length-1],l=h,h=p.pop(),M)if(o){l=l.slice();let q=0;for(let[U,J]of c){let be=U-q;J===null?(l.splice(be,1),q++):l[be]=J}}else{l=Object.defineProperties({},Object.getOwnPropertyDescriptors(l));for(let[q,U]of c)l[q]=U}s=r.index,a=r.keys,c=r.edits,o=r.inArray,r=r.prev}else if(h){if(d=o?s:a[s],l=h[d],l==null)continue;m.push(d)}let y;if(!Array.isArray(l)){var f,g;Bc(l)||ar(!1,`Invalid AST Node: ${ur(l)}.`);let q=v?(f=t.get(l.kind))===null||f===void 0?void 0:f.leave:(g=t.get(l.kind))===null||g===void 0?void 0:g.enter;if(y=q?.call(n,l,d,h,m,p),y===Cn)break;if(y===!1){if(!v){m.pop();continue}}else if(y!==void 0&&(c.push([d,y]),!v))if(Bc(y))l=y;else{m.pop();continue}}if(y===void 0&&M&&c.push([d,l]),v)m.pop();else{var _;r={inArray:o,index:s,keys:a,edits:c,prev:r},o=Array.isArray(l),a=o?l:(_=e[l.kind])!==null&&_!==void 0?_:[],s=-1,c=[],h&&p.push(h),h=l}}while(r!==void 0);return c.length!==0?c[c.length-1][1]:i}function Uc(i,n){let e=i[n];return typeof e=="object"?e:typeof e=="function"?{enter:e,leave:void 0}:{enter:i.enter,leave:i.leave}}function mr(i){return wt(i,M_)}var T_=80,M_={Name:{leave:i=>i.value},Variable:{leave:i=>"$"+i.name},Document:{leave:i=>X(i.definitions,` -`)},OperationDefinition:{leave(i){let n=De("(",X(i.variableDefinitions,", "),")"),e=X([i.operation,X([i.name,n]),X(i.directives," ")]," ");return(e==="query"?"":e+" ")+i.selectionSet}},VariableDefinition:{leave:({variable:i,type:n,defaultValue:e,directives:t})=>i+": "+n+De(" = ",e)+De(" ",X(t," "))},SelectionSet:{leave:({selections:i})=>si(i)},Field:{leave({alias:i,name:n,arguments:e,directives:t,selectionSet:r}){let o=De("",i,": ")+n,a=o+De("(",X(e,", "),")");return a.length>I_&&(a=o+De(`( +`)},OperationDefinition:{leave(i){let n=De("(",X(i.variableDefinitions,", "),")"),e=X([i.operation,X([i.name,n]),X(i.directives," ")]," ");return(e==="query"?"":e+" ")+i.selectionSet}},VariableDefinition:{leave:({variable:i,type:n,defaultValue:e,directives:t})=>i+": "+n+De(" = ",e)+De(" ",X(t," "))},SelectionSet:{leave:({selections:i})=>si(i)},Field:{leave({alias:i,name:n,arguments:e,directives:t,selectionSet:r}){let o=De("",i,": ")+n,a=o+De("(",X(e,", "),")");return a.length>T_&&(a=o+De(`( `,Va(X(e,` `)),` )`)),X([a,X(t," "),r]," ")}},Argument:{leave:({name:i,value:n})=>i+": "+n},FragmentSpread:{leave:({name:i,directives:n})=>"..."+i+De(" ",X(n," "))},InlineFragment:{leave:({typeCondition:i,directives:n,selectionSet:e})=>X(["...",De("on ",i),X(n," "),e]," ")},FragmentDefinition:{leave:({name:i,typeCondition:n,variableDefinitions:e,directives:t,selectionSet:r})=>`fragment ${i}${De("(",X(e,", "),")")} on ${n} ${De("",X(t," ")," ")}`+r},IntValue:{leave:({value:i})=>i},FloatValue:{leave:({value:i})=>i},StringValue:{leave:({value:i,block:n})=>n?Kh(i):rm(i)},BooleanValue:{leave:({value:i})=>i?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:i})=>i},ListValue:{leave:({values:i})=>"["+X(i,", ")+"]"},ObjectValue:{leave:({fields:i})=>"{"+X(i,", ")+"}"},ObjectField:{leave:({name:i,value:n})=>i+": "+n},Directive:{leave:({name:i,arguments:n})=>"@"+i+De("(",X(n,", "),")")},NamedType:{leave:({name:i})=>i},ListType:{leave:({type:i})=>"["+i+"]"},NonNullType:{leave:({type:i})=>i+"!"},SchemaDefinition:{leave:({description:i,directives:n,operationTypes:e})=>De("",i,` @@ -46,15 +46,15 @@ spurious results.`)}}return!1};var hr=class{constructor(n,e="GraphQL request",t= `)),` }`)}function De(i,n,e=""){return n!=null&&n!==""?i+n+e:""}function Va(i){return De(" ",i.replace(/\n/g,` `))}function om(i){var n;return(n=i?.some(e=>e.includes(` -`)))!==null&&n!==void 0?n:!1}function so(i){return i.kind===G.FIELD||i.kind===G.FRAGMENT_SPREAD||i.kind===G.INLINE_FRAGMENT}function ci(i,n){var e=i.directives;return!e||!e.length?!0:am(e).every(function(t){var r=t.directive,o=t.ifArgument,a=!1;return o.value.kind==="Variable"?(a=n&&n[o.value.name.value],Y(a!==void 0,70,r.name.value)):a=o.value.value,r.name.value==="skip"?!a:a})}function Ei(i,n,e){var t=new Set(i),r=t.size;return wt(n,{Directive:function(o){if(t.delete(o.name.value)&&(!e||!t.size))return Cn}}),e?!t.size:t.sizeObject.create(null),{forEach:q_,slice:sm}=Array.prototype,{hasOwnProperty:W_}=Object.prototype,Qt=class i{constructor(n=!0,e=U_){this.weakness=n,this.makeData=e}lookup(){return this.lookupArray(arguments)}lookupArray(n){let e=this;return q_.call(n,t=>e=e.getChildTrie(t)),W_.call(e,"data")?e.data:e.data=this.makeData(sm.call(n))}peek(){return this.peekArray(arguments)}peekArray(n){let e=this;for(let t=0,r=n.length;e&&t=0})||!1;function Ie(i){return i!==null&&typeof i=="object"}function Gc(i,n){var e=n,t=[];i.definitions.forEach(function(o){if(o.kind==="OperationDefinition")throw Be(74,o.operation,o.name?" named '".concat(o.name.value,"'"):"");o.kind==="FragmentDefinition"&&t.push(o)}),typeof e>"u"&&(Y(t.length===1,75,t.length),e=t[0].name.value);var r=b(b({},i),{definitions:at([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:e}}]}}],i.definitions,!0)});return r}function Ii(i){i===void 0&&(i=[]);var n={};return i.forEach(function(e){n[e.name.value]=e}),n}function Si(i,n){switch(i.kind){case"InlineFragment":return i;case"FragmentSpread":{var e=i.name.value;if(typeof n=="function")return n(e);var t=n&&n[e];return Y(t,76,e),t||null}default:return null}}function Y_(){}var $i=class{constructor(n=1/0,e=Y_){this.max=n,this.dispose=e,this.map=new Map,this.newest=null,this.oldest=null}has(n){return this.map.has(n)}get(n){let e=this.getNode(n);return e&&e.value}get size(){return this.map.size}getNode(n){let e=this.map.get(n);if(e&&e!==this.newest){let{older:t,newer:r}=e;r&&(r.older=t),t&&(t.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e}set(n,e){let t=this.getNode(n);return t?t.value=e:(t={key:n,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=t),this.newest=t,this.oldest=this.oldest||t,this.map.set(n,t),t.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(n){let e=this.map.get(n);return e?(e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.map.delete(n),this.dispose(e.value,n),!0):!1}};function $c(){}var K_=$c,X_=typeof WeakRef<"u"?WeakRef:function(i){return{deref:()=>i}},Z_=typeof WeakMap<"u"?WeakMap:Map,J_=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:$c,unregister:$c}},ey=10024,vi=class{constructor(n=1/0,e=K_){this.max=n,this.dispose=e,this.map=new Z_,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let t=this.unfinalizedNodes.values();for(let r=0;r0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new J_(this.deleteNode.bind(this))}has(n){return this.map.has(n)}get(n){let e=this.getNode(n);return e&&e.value}getNode(n){let e=this.map.get(n);if(e&&e!==this.newest){let{older:t,newer:r}=e;r&&(r.older=t),t&&(t.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e}set(n,e){let t=this.getNode(n);return t?t.value=e:(t={key:n,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=t),this.newest=t,this.oldest=this.oldest||t,this.scheduleFinalization(t),this.map.set(n,t),this.size++,t.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(n){n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.size--;let e=n.key||n.keyRef&&n.keyRef.deref();this.dispose(n.value,e),n.keyRef?this.registry.unregister(n):this.unfinalizedNodes.delete(n),e&&this.map.delete(e)}delete(n){let e=this.map.get(n);return e?(this.deleteNode(e),!0):!1}scheduleFinalization(n){this.unfinalizedNodes.add(n),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}};var Yc=new WeakSet;function cm(i){i.size<=(i.max||-1)||Yc.has(i)||(Yc.add(i),setTimeout(function(){i.clean(),Yc.delete(i)},100))}var pr=function(i,n){var e=new vi(i,n);return e.set=function(t,r){var o=vi.prototype.set.call(this,t,r);return cm(this),o},e},za=function(i,n){var e=new $i(i,n);return e.set=function(t,r){var o=$i.prototype.set.call(this,t,r);return cm(this),o},e};var ty=Symbol.for("apollo.cacheSize"),dt=b({},or[ty]);var kn={};function Ha(i,n){kn[i]=n}var lm=globalThis.__DEV__!==!1?ny:void 0,dm=globalThis.__DEV__!==!1?ry:void 0,um=globalThis.__DEV__!==!1?hm:void 0;function iy(){var i={parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4};return Object.fromEntries(Object.entries(i).map(function(n){var e=n[0],t=n[1];return[e,dt[e]||t]}))}function ny(){var i,n,e,t,r;if(globalThis.__DEV__===!1)throw new Error("only supported in development mode");return{limits:iy(),sizes:b({print:(i=kn.print)===null||i===void 0?void 0:i.call(kn),parser:(n=kn.parser)===null||n===void 0?void 0:n.call(kn),canonicalStringify:(e=kn.canonicalStringify)===null||e===void 0?void 0:e.call(kn),links:Xc(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:pm(this.queryManager.documentTransform)}},(r=(t=this.cache).getMemoryInternals)===null||r===void 0?void 0:r.call(t))}}function hm(){return{cache:{fragmentQueryDocuments:Yi(this.getFragmentDoc)}}}function ry(){var i=this.config.fragments;return b(b({},hm.apply(this)),{addTypenameDocumentTransform:pm(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:Yi(this.storeReader.executeSelectionSet),executeSubSelectedArray:Yi(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:Yi(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:Yi(i?.findFragmentSpreads),lookup:Yi(i?.lookup),transform:Yi(i?.transform)}})}function oy(i){return!!i&&"dirtyKey"in i}function Yi(i){return oy(i)?i.size:void 0}function mm(i){return i!=null}function pm(i){return Kc(i).map(function(n){return{cache:n}})}function Kc(i){return i?at(at([Yi(i?.performWork)],Kc(i?.left),!0),Kc(i?.right),!0).filter(mm):[]}function Xc(i){var n;return i?at(at([(n=i?.getMemoryInternals)===null||n===void 0?void 0:n.call(i)],Xc(i?.left),!0),Xc(i?.right),!0).filter(mm):[]}var Mt=Object.assign(function(n){return JSON.stringify(n,ay)},{reset:function(){fr=new za(dt.canonicalStringify||1e3)}});globalThis.__DEV__!==!1&&Ha("canonicalStringify",function(){return fr.size});var fr;Mt.reset();function ay(i,n){if(n&&typeof n=="object"){var e=Object.getPrototypeOf(n);if(e===Object.prototype||e===null){var t=Object.keys(n);if(t.every(sy))return n;var r=JSON.stringify(t),o=fr.get(r);if(!o){t.sort();var a=JSON.stringify(t);o=fr.get(a)||t,fr.set(r,o),fr.set(a,o)}var s=Object.create(e);return o.forEach(function(c){s[c]=n[c]}),s}}return n}function sy(i,n,e){return n===0||e[n-1]<=i}function Kt(i){return{__ref:String(i)}}function Ce(i){return!!(i&&typeof i=="object"&&typeof i.__ref=="string")}function Zc(i){return Ie(i)&&i.kind==="Document"&&Array.isArray(i.definitions)}function cy(i){return i.kind==="StringValue"}function ly(i){return i.kind==="BooleanValue"}function dy(i){return i.kind==="IntValue"}function uy(i){return i.kind==="FloatValue"}function hy(i){return i.kind==="Variable"}function my(i){return i.kind==="ObjectValue"}function py(i){return i.kind==="ListValue"}function fy(i){return i.kind==="EnumValue"}function gy(i){return i.kind==="NullValue"}function Ki(i,n,e,t){if(dy(e)||uy(e))i[n.value]=Number(e.value);else if(ly(e)||cy(e))i[n.value]=e.value;else if(my(e)){var r={};e.fields.map(function(a){return Ki(r,a.name,a.value,t)}),i[n.value]=r}else if(hy(e)){var o=(t||{})[e.name.value];i[n.value]=o}else if(py(e))i[n.value]=e.values.map(function(a){var s={};return Ki(s,n,a,t),s[n.value]});else if(fy(e))i[n.value]=e.value;else if(gy(e))i[n.value]=null;else throw Be(85,n.value,e.kind)}function Jc(i,n){var e=null;i.directives&&(e={},i.directives.forEach(function(r){e[r.name.value]={},r.arguments&&r.arguments.forEach(function(o){var a=o.name,s=o.value;return Ki(e[r.name.value],a,s,n)})}));var t=null;return i.arguments&&i.arguments.length&&(t={},i.arguments.forEach(function(r){var o=r.name,a=r.value;return Ki(t,o,a,n)})),Qa(i.name.value,t,e)}var by=["connection","include","skip","client","rest","export","nonreactive"],co=Mt,Qa=Object.assign(function(i,n,e){if(n&&e&&e.connection&&e.connection.key)if(e.connection.filter&&e.connection.filter.length>0){var t=e.connection.filter?e.connection.filter:[];t.sort();var r={};return t.forEach(function(s){r[s]=n[s]}),"".concat(e.connection.key,"(").concat(co(r),")")}else return e.connection.key;var o=i;if(n){var a=co(n);o+="(".concat(a,")")}return e&&Object.keys(e).forEach(function(s){by.indexOf(s)===-1&&(e[s]&&Object.keys(e[s]).length?o+="@".concat(s,"(").concat(co(e[s]),")"):o+="@".concat(s))}),o},{setStringify:function(i){var n=co;return co=i,n}});function Ti(i,n){if(i.arguments&&i.arguments.length){var e={};return i.arguments.forEach(function(t){var r=t.name,o=t.value;return Ki(e,r,o,n)}),e}return null}function jt(i){return i.alias?i.alias.value:i.name.value}function lo(i,n,e){for(var t,r=0,o=n.selections;rObject.create(null),{forEach:_y,slice:yy}=Array.prototype,{hasOwnProperty:xy}=Object.prototype,Ua=class i{constructor(n=!0,e=vy){this.weakness=n,this.makeData=e}lookup(...n){return this.lookupArray(n)}lookupArray(n){let e=this;return _y.call(n,t=>e=e.getChildTrie(t)),xy.call(e,"data")?e.data:e.data=this.makeData(yy.call(n))}peek(...n){return this.peekArray(n)}peekArray(n){let e=this;for(let t=0,r=n.length;e&&tclass{constructor(){this.id=["slot",wy++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let n=bt;n;n=n.parent)if(this.id in n.slots){let e=n.slots[this.id];if(e===gm)break;return n!==bt&&(bt.slots[this.id]=e),!0}return bt&&(bt.slots[this.id]=gm),!1}getValue(){if(this.hasValue())return bt.slots[this.id]}withValue(n,e,t,r){let o={__proto__:null,[this.id]:n},a=bt;bt={parent:a,slots:o};try{return e.apply(r,t)}finally{bt=a}}static bind(n){let e=bt;return function(){let t=bt;try{return bt=e,n.apply(this,arguments)}finally{bt=t}}}static noContext(n,e,t){if(bt){let r=bt;try{return bt=null,n.apply(t,e)}finally{bt=r}}else return n.apply(t,e)}};function bm(i){try{return i()}catch{}}var il="@wry/context:Slot",ky=bm(()=>globalThis)||bm(()=>global)||Object.create(null),vm=ky,En=vm[il]||Array[il]||function(i){try{Object.defineProperty(vm,il,{value:i,enumerable:!1,writable:!1,configurable:!0})}finally{return i}}(Cy());var{bind:_m,noContext:ym}=En;var In=new En;var{hasOwnProperty:xm}=Object.prototype,ho=Array.from||function(i){let n=[];return i.forEach(e=>n.push(e)),n};function br(i){let{unsubscribe:n}=i;typeof n=="function"&&(i.unsubscribe=void 0,n())}var mo=[],Iy=100;function vr(i,n){if(!i)throw new Error(n||"assertion failure")}function Cm(i,n){let e=i.length;return e>0&&e===n.length&&i[e-1]===n[e-1]}function km(i){switch(i.length){case 0:throw new Error("unknown value");case 1:return i[0];case 2:throw i[1]}}function Dm(i){return i.slice(0)}var Em=(()=>{class i{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++i.count}peek(){if(this.value.length===1&&!Zi(this))return wm(this),this.value[0]}recompute(e){return vr(!this.recomputing,"already recomputing"),wm(this),Zi(this)?Sy(this,e):km(this.value)}setDirty(){this.dirty||(this.dirty=!0,Im(this),br(this))}dispose(){this.setDirty(),Om(this),nl(this,(e,t)=>{e.setDirty(),Rm(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=mo.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(ho(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),mo.push(this.deps),this.deps=null)}}return i.count=0,i})();function wm(i){let n=In.getValue();if(n)return i.parents.add(n),n.childValues.has(i)||n.childValues.set(i,[]),Zi(i)?Tm(n,i):Mm(n,i),n}function Sy(i,n){return Om(i),In.withValue(i,Ty,[i,n]),Ay(i,n)&&My(i),km(i.value)}function Ty(i,n){i.recomputing=!0;let{normalizeResult:e}=i,t;e&&i.value.length===1&&(t=Dm(i.value)),i.value.length=0;try{if(i.value[0]=i.fn.apply(null,n),e&&t&&!Cm(t,i.value))try{i.value[0]=e(i.value[0],t[0])}catch{}}catch(r){i.value[1]=r}i.recomputing=!1}function Zi(i){return i.dirty||!!(i.dirtyChildren&&i.dirtyChildren.size)}function My(i){i.dirty=!1,!Zi(i)&&Sm(i)}function Im(i){nl(i,Tm)}function Sm(i){nl(i,Mm)}function nl(i,n){let e=i.parents.size;if(e){let t=ho(i.parents);for(let r=0;r0&&i.childValues.forEach((n,e)=>{Rm(i,e)}),i.forgetDeps(),vr(i.dirtyChildren===null)}function Rm(i,n){n.parents.delete(i),i.childValues.delete(n),Am(i,n)}function Ay(i,n){if(typeof i.subscribe=="function")try{br(i),i.unsubscribe=i.subscribe.apply(null,n)}catch{return i.setDirty(),!1}return!0}var Oy={setDirty:!0,dispose:!0,forget:!0};function po(i){let n=new Map,e=i&&i.subscribe;function t(r){let o=In.getValue();if(o){let a=n.get(r);a||n.set(r,a=new Set),o.dependOn(a),typeof e=="function"&&(br(a),a.unsubscribe=e(r))}}return t.dirty=function(o,a){let s=n.get(o);if(s){let c=a&&xm.call(Oy,a)?a:"setDirty";ho(s).forEach(l=>l[c]()),n.delete(o),br(s)}},t}var Fm;function Ry(...i){return(Fm||(Fm=new Ua(typeof WeakMap=="function"))).lookupArray(i)}var rl=new Set;function Ai(i,{max:n=Math.pow(2,16),keyArgs:e,makeCacheKey:t=Ry,normalizeResult:r,subscribe:o,cache:a=$i}=Object.create(null)){let s=typeof a=="function"?new a(n,m=>m.dispose()):a,c=function(){let m=t.apply(null,e?e.apply(null,arguments):arguments);if(m===void 0)return i.apply(null,arguments);let p=s.get(m);p||(s.set(m,p=new Em(i)),p.normalizeResult=r,p.subscribe=o,p.forget=()=>s.delete(m));let f=p.recompute(Array.prototype.slice.call(arguments));return s.set(m,p),rl.add(s),In.hasValue()||(rl.forEach(g=>g.clean()),rl.clear()),f};Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:n,keyArgs:e,makeCacheKey:t,normalizeResult:r,subscribe:o,cache:s});function l(m){let p=m&&s.get(m);p&&p.setDirty()}c.dirtyKey=l,c.dirty=function(){l(t.apply(null,arguments))};function d(m){let p=m&&s.get(m);if(p)return p.peek()}c.peekKey=d,c.peek=function(){return d(t.apply(null,arguments))};function h(m){return m?s.delete(m):!1}return c.forgetKey=h,c.forget=function(){return h(t.apply(null,arguments))},c.makeCacheKey=t,c.getKey=e?function(){return t.apply(null,e.apply(null,arguments))}:t,Object.freeze(c)}function Fy(i){return i}var _r=function(){function i(n,e){e===void 0&&(e=Object.create(null)),this.resultCache=Ba?new WeakSet:new Set,this.transform=n,e.getCacheKey&&(this.getCacheKey=e.getCacheKey),this.cached=e.cache!==!1,this.resetCache()}return i.prototype.getCacheKey=function(n){return[n]},i.identity=function(){return new i(Fy,{cache:!1})},i.split=function(n,e,t){return t===void 0&&(t=i.identity()),Object.assign(new i(function(r){var o=n(r)?e:t;return o.transformDocument(r)},{cache:!1}),{left:e,right:t})},i.prototype.resetCache=function(){var n=this;if(this.cached){var e=new Qt(li);this.performWork=Ai(i.prototype.performWork.bind(this),{makeCacheKey:function(t){var r=n.getCacheKey(t);if(r)return Y(Array.isArray(r),69),e.lookupArray(r)},max:dt["documentTransform.cache"],cache:vi})}},i.prototype.performWork=function(n){return Xi(n),this.transform(n)},i.prototype.transformDocument=function(n){if(this.resultCache.has(n))return n;var e=this.performWork(n);return this.resultCache.add(e),e},i.prototype.concat=function(n){var e=this;return Object.assign(new i(function(t){return n.transformDocument(e.transformDocument(t))},{cache:!1}),{left:this,right:n})},i}();var fo,Ji=Object.assign(function(i){var n=fo.get(i);return n||(n=mr(i),fo.set(i,n)),n},{reset:function(){fo=new pr(dt.print||2e3)}});Ji.reset();globalThis.__DEV__!==!1&&Ha("print",function(){return fo?fo.size:0});var Ve=Array.isArray;function vt(i){return Array.isArray(i)&&i.length>0}var Pm={kind:G.FIELD,name:{kind:G.NAME,value:"__typename"}};function Lm(i,n){return!i||i.selectionSet.selections.every(function(e){return e.kind===G.FRAGMENT_SPREAD&&Lm(n[e.name.value],n)})}function Py(i){return Lm(_i(i)||tl(i),Ii(Mi(i)))?null:i}function Ny(i){var n=new Map,e=new Map;return i.forEach(function(t){t&&(t.name?n.set(t.name,t):t.test&&e.set(t.test,t))}),function(t){var r=n.get(t.name.value);return!r&&e.size&&e.forEach(function(o,a){a(t)&&(r=o)}),r}}function Nm(i){var n=new Map;return function(t){t===void 0&&(t=i);var r=n.get(t);return r||n.set(t,r={variables:new Set,fragmentSpreads:new Set}),r}}function qa(i,n){Xi(n);for(var e=Nm(""),t=Nm(""),r=function(v){for(var M=0,y=void 0;M=0;--a)n.definitions[a].kind===G.OPERATION_DEFINITION&&++o;var s=Ny(i),c=function(v){return vt(v)&&v.map(s).some(function(M){return M&&M.remove})},l=new Map,d=!1,h={enter:function(v){if(c(v.directives))return d=!0,null}},m=wt(n,{Field:h,InlineFragment:h,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(v,M,y,q,U){var J=r(U);J&&J.variables.add(v.name.value)}},FragmentSpread:{enter:function(v,M,y,q,U){if(c(v.directives))return d=!0,null;var J=r(U);J&&J.fragmentSpreads.add(v.name.value)}},FragmentDefinition:{enter:function(v,M,y,q){l.set(JSON.stringify(q),v)},leave:function(v,M,y,q){var U=l.get(JSON.stringify(q));if(v===U)return v;if(o>0&&v.selectionSet.selections.every(function(J){return J.kind===G.FIELD&&J.name.value==="__typename"}))return t(v.name.value).removed=!0,d=!0,null}},Directive:{leave:function(v){if(s(v))return d=!0,null}}});if(!d)return n;var p=function(v){return v.transitiveVars||(v.transitiveVars=new Set(v.variables),v.removed||v.fragmentSpreads.forEach(function(M){p(t(M)).transitiveVars.forEach(function(y){v.transitiveVars.add(y)})})),v},f=new Set;m.definitions.forEach(function(v){v.kind===G.OPERATION_DEFINITION?p(e(v.name&&v.name.value)).fragmentSpreads.forEach(function(M){f.add(M)}):v.kind===G.FRAGMENT_DEFINITION&&o===0&&!t(v.name.value).removed&&f.add(v.name.value)}),f.forEach(function(v){p(t(v)).fragmentSpreads.forEach(function(M){f.add(M)})});var g=function(v){return!!(!f.has(v)||t(v).removed)},_={enter:function(v){if(g(v.name.value))return null}};return Py(wt(m,{FragmentSpread:_,FragmentDefinition:_,OperationDefinition:{leave:function(v){if(v.variableDefinitions){var M=p(e(v.name&&v.name.value)).transitiveVars;if(M.size1)for(var t=new Vt,r=1;r=i.length?{done:!0}:{done:!1,value:i[t++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function By(i,n){if(i){if(typeof i=="string")return jm(i,n);var e=Object.prototype.toString.call(i).slice(8,-1);if(e==="Object"&&i.constructor&&(e=i.constructor.name),e==="Map"||e==="Set")return Array.from(i);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return jm(i,n)}}function jm(i,n){(n==null||n>i.length)&&(n=i.length);for(var e=0,t=new Array(n);e1,s=!1,c=arguments[1],l=c;return new o(function(d){return r.subscribe({next:function(h){var m=!s;if(s=!0,!m||a)try{l=t(l,h)}catch(p){return d.error(p)}else l=h},error:function(h){d.error(h)},complete:function(){if(!s&&!a)return d.error(new TypeError("Cannot reduce an empty sequence"));d.next(l),d.complete()}})})},n.concat=function(){for(var t=this,r=arguments.length,o=new Array(r),a=0;a=0&&s.splice(m,1),l()}});s.push(h)},error:function(d){a.error(d)},complete:function(){l()}});function l(){c.closed&&s.length===0&&a.complete()}return function(){s.forEach(function(d){return d.unsubscribe()}),c.unsubscribe()}})},n[cl]=function(){return this},i.from=function(t){var r=typeof this=="function"?this:i;if(t==null)throw new TypeError(t+" is not an object");var o=Ga(t,cl);if(o){var a=o.call(t);if(Object(a)!==a)throw new TypeError(a+" is not an object");return Hy(a)&&a.constructor===r?a:new r(function(s){return a.subscribe(s)})}if(hl("iterator")&&(o=Ga(t,zy),o))return new r(function(s){Wa(function(){if(!s.closed){for(var c=Vy(o.call(t)),l;!(l=c()).done;){var d=l.value;if(s.next(d),s.closed)return}s.complete()}})});if(Array.isArray(t))return new r(function(s){Wa(function(){if(!s.closed){for(var c=0;c=0;--s){var c=a[s],l=!isNaN(+c),d=l?[]:{};d[c]=o,o=d}e=t.merge(e,o)}),e}function wr(i){var n=Za(i);return vt(n)}function Za(i){var n=vt(i.errors)?i.errors.slice(0):[];return en(i)&&vt(i.incremental)&&i.incremental.forEach(function(e){e.errors&&n.push.apply(n,e.errors)}),n}function yi(){for(var i=[],n=0;nObject.create(null),{forEach:G_,slice:sm}=Array.prototype,{hasOwnProperty:$_}=Object.prototype,Qt=class i{constructor(n=!0,e=W_){this.weakness=n,this.makeData=e}lookup(){return this.lookupArray(arguments)}lookupArray(n){let e=this;return G_.call(n,t=>e=e.getChildTrie(t)),$_.call(e,"data")?e.data:e.data=this.makeData(sm.call(n))}peek(){return this.peekArray(arguments)}peekArray(n){let e=this;for(let t=0,r=n.length;e&&t=0})||!1;function Ie(i){return i!==null&&typeof i=="object"}function Gc(i,n){var e=n,t=[];i.definitions.forEach(function(o){if(o.kind==="OperationDefinition")throw Be(74,o.operation,o.name?" named '".concat(o.name.value,"'"):"");o.kind==="FragmentDefinition"&&t.push(o)}),typeof e>"u"&&(Y(t.length===1,75,t.length),e=t[0].name.value);var r=b(b({},i),{definitions:at([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:e}}]}}],i.definitions,!0)});return r}function Ii(i){i===void 0&&(i=[]);var n={};return i.forEach(function(e){n[e.name.value]=e}),n}function Si(i,n){switch(i.kind){case"InlineFragment":return i;case"FragmentSpread":{var e=i.name.value;if(typeof n=="function")return n(e);var t=n&&n[e];return Y(t,76,e),t||null}default:return null}}function X_(){}var $i=class{constructor(n=1/0,e=X_){this.max=n,this.dispose=e,this.map=new Map,this.newest=null,this.oldest=null}has(n){return this.map.has(n)}get(n){let e=this.getNode(n);return e&&e.value}get size(){return this.map.size}getNode(n){let e=this.map.get(n);if(e&&e!==this.newest){let{older:t,newer:r}=e;r&&(r.older=t),t&&(t.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e}set(n,e){let t=this.getNode(n);return t?t.value=e:(t={key:n,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=t),this.newest=t,this.oldest=this.oldest||t,this.map.set(n,t),t.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(n){let e=this.map.get(n);return e?(e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.map.delete(n),this.dispose(e.value,n),!0):!1}};function $c(){}var Z_=$c,J_=typeof WeakRef<"u"?WeakRef:function(i){return{deref:()=>i}},ey=typeof WeakMap<"u"?WeakMap:Map,ty=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:$c,unregister:$c}},iy=10024,vi=class{constructor(n=1/0,e=Z_){this.max=n,this.dispose=e,this.map=new ey,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let t=this.unfinalizedNodes.values();for(let r=0;r0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new ty(this.deleteNode.bind(this))}has(n){return this.map.has(n)}get(n){let e=this.getNode(n);return e&&e.value}getNode(n){let e=this.map.get(n);if(e&&e!==this.newest){let{older:t,newer:r}=e;r&&(r.older=t),t&&(t.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e}set(n,e){let t=this.getNode(n);return t?t.value=e:(t={key:n,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=t),this.newest=t,this.oldest=this.oldest||t,this.scheduleFinalization(t),this.map.set(n,t),this.size++,t.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(n){n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.size--;let e=n.key||n.keyRef&&n.keyRef.deref();this.dispose(n.value,e),n.keyRef?this.registry.unregister(n):this.unfinalizedNodes.delete(n),e&&this.map.delete(e)}delete(n){let e=this.map.get(n);return e?(this.deleteNode(e),!0):!1}scheduleFinalization(n){this.unfinalizedNodes.add(n),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}};var Yc=new WeakSet;function cm(i){i.size<=(i.max||-1)||Yc.has(i)||(Yc.add(i),setTimeout(function(){i.clean(),Yc.delete(i)},100))}var pr=function(i,n){var e=new vi(i,n);return e.set=function(t,r){var o=vi.prototype.set.call(this,t,r);return cm(this),o},e},za=function(i,n){var e=new $i(i,n);return e.set=function(t,r){var o=$i.prototype.set.call(this,t,r);return cm(this),o},e};var ny=Symbol.for("apollo.cacheSize"),dt=b({},or[ny]);var kn={};function Ha(i,n){kn[i]=n}var lm=globalThis.__DEV__!==!1?oy:void 0,dm=globalThis.__DEV__!==!1?ay:void 0,um=globalThis.__DEV__!==!1?hm:void 0;function ry(){var i={parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4};return Object.fromEntries(Object.entries(i).map(function(n){var e=n[0],t=n[1];return[e,dt[e]||t]}))}function oy(){var i,n,e,t,r;if(globalThis.__DEV__===!1)throw new Error("only supported in development mode");return{limits:ry(),sizes:b({print:(i=kn.print)===null||i===void 0?void 0:i.call(kn),parser:(n=kn.parser)===null||n===void 0?void 0:n.call(kn),canonicalStringify:(e=kn.canonicalStringify)===null||e===void 0?void 0:e.call(kn),links:Xc(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:pm(this.queryManager.documentTransform)}},(r=(t=this.cache).getMemoryInternals)===null||r===void 0?void 0:r.call(t))}}function hm(){return{cache:{fragmentQueryDocuments:Yi(this.getFragmentDoc)}}}function ay(){var i=this.config.fragments;return b(b({},hm.apply(this)),{addTypenameDocumentTransform:pm(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:Yi(this.storeReader.executeSelectionSet),executeSubSelectedArray:Yi(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:Yi(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:Yi(i?.findFragmentSpreads),lookup:Yi(i?.lookup),transform:Yi(i?.transform)}})}function sy(i){return!!i&&"dirtyKey"in i}function Yi(i){return sy(i)?i.size:void 0}function mm(i){return i!=null}function pm(i){return Kc(i).map(function(n){return{cache:n}})}function Kc(i){return i?at(at([Yi(i?.performWork)],Kc(i?.left),!0),Kc(i?.right),!0).filter(mm):[]}function Xc(i){var n;return i?at(at([(n=i?.getMemoryInternals)===null||n===void 0?void 0:n.call(i)],Xc(i?.left),!0),Xc(i?.right),!0).filter(mm):[]}var Mt=Object.assign(function(n){return JSON.stringify(n,cy)},{reset:function(){fr=new za(dt.canonicalStringify||1e3)}});globalThis.__DEV__!==!1&&Ha("canonicalStringify",function(){return fr.size});var fr;Mt.reset();function cy(i,n){if(n&&typeof n=="object"){var e=Object.getPrototypeOf(n);if(e===Object.prototype||e===null){var t=Object.keys(n);if(t.every(ly))return n;var r=JSON.stringify(t),o=fr.get(r);if(!o){t.sort();var a=JSON.stringify(t);o=fr.get(a)||t,fr.set(r,o),fr.set(a,o)}var s=Object.create(e);return o.forEach(function(c){s[c]=n[c]}),s}}return n}function ly(i,n,e){return n===0||e[n-1]<=i}function Kt(i){return{__ref:String(i)}}function ke(i){return!!(i&&typeof i=="object"&&typeof i.__ref=="string")}function Zc(i){return Ie(i)&&i.kind==="Document"&&Array.isArray(i.definitions)}function dy(i){return i.kind==="StringValue"}function uy(i){return i.kind==="BooleanValue"}function hy(i){return i.kind==="IntValue"}function my(i){return i.kind==="FloatValue"}function py(i){return i.kind==="Variable"}function fy(i){return i.kind==="ObjectValue"}function gy(i){return i.kind==="ListValue"}function by(i){return i.kind==="EnumValue"}function vy(i){return i.kind==="NullValue"}function Ki(i,n,e,t){if(hy(e)||my(e))i[n.value]=Number(e.value);else if(uy(e)||dy(e))i[n.value]=e.value;else if(fy(e)){var r={};e.fields.map(function(a){return Ki(r,a.name,a.value,t)}),i[n.value]=r}else if(py(e)){var o=(t||{})[e.name.value];i[n.value]=o}else if(gy(e))i[n.value]=e.values.map(function(a){var s={};return Ki(s,n,a,t),s[n.value]});else if(by(e))i[n.value]=e.value;else if(vy(e))i[n.value]=null;else throw Be(85,n.value,e.kind)}function Jc(i,n){var e=null;i.directives&&(e={},i.directives.forEach(function(r){e[r.name.value]={},r.arguments&&r.arguments.forEach(function(o){var a=o.name,s=o.value;return Ki(e[r.name.value],a,s,n)})}));var t=null;return i.arguments&&i.arguments.length&&(t={},i.arguments.forEach(function(r){var o=r.name,a=r.value;return Ki(t,o,a,n)})),Qa(i.name.value,t,e)}var _y=["connection","include","skip","client","rest","export","nonreactive"],lo=Mt,Qa=Object.assign(function(i,n,e){if(n&&e&&e.connection&&e.connection.key)if(e.connection.filter&&e.connection.filter.length>0){var t=e.connection.filter?e.connection.filter:[];t.sort();var r={};return t.forEach(function(s){r[s]=n[s]}),"".concat(e.connection.key,"(").concat(lo(r),")")}else return e.connection.key;var o=i;if(n){var a=lo(n);o+="(".concat(a,")")}return e&&Object.keys(e).forEach(function(s){_y.indexOf(s)===-1&&(e[s]&&Object.keys(e[s]).length?o+="@".concat(s,"(").concat(lo(e[s]),")"):o+="@".concat(s))}),o},{setStringify:function(i){var n=lo;return lo=i,n}});function Ti(i,n){if(i.arguments&&i.arguments.length){var e={};return i.arguments.forEach(function(t){var r=t.name,o=t.value;return Ki(e,r,o,n)}),e}return null}function jt(i){return i.alias?i.alias.value:i.name.value}function uo(i,n,e){for(var t,r=0,o=n.selections;rObject.create(null),{forEach:xy,slice:wy}=Array.prototype,{hasOwnProperty:Cy}=Object.prototype,Ua=class i{constructor(n=!0,e=yy){this.weakness=n,this.makeData=e}lookup(...n){return this.lookupArray(n)}lookupArray(n){let e=this;return xy.call(n,t=>e=e.getChildTrie(t)),Cy.call(e,"data")?e.data:e.data=this.makeData(wy.call(n))}peek(...n){return this.peekArray(n)}peekArray(n){let e=this;for(let t=0,r=n.length;e&&tclass{constructor(){this.id=["slot",ky++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let n=bt;n;n=n.parent)if(this.id in n.slots){let e=n.slots[this.id];if(e===gm)break;return n!==bt&&(bt.slots[this.id]=e),!0}return bt&&(bt.slots[this.id]=gm),!1}getValue(){if(this.hasValue())return bt.slots[this.id]}withValue(n,e,t,r){let o={__proto__:null,[this.id]:n},a=bt;bt={parent:a,slots:o};try{return e.apply(r,t)}finally{bt=a}}static bind(n){let e=bt;return function(){let t=bt;try{return bt=e,n.apply(this,arguments)}finally{bt=t}}}static noContext(n,e,t){if(bt){let r=bt;try{return bt=null,n.apply(t,e)}finally{bt=r}}else return n.apply(t,e)}};function bm(i){try{return i()}catch{}}var il="@wry/context:Slot",Ey=bm(()=>globalThis)||bm(()=>global)||Object.create(null),vm=Ey,En=vm[il]||Array[il]||function(i){try{Object.defineProperty(vm,il,{value:i,enumerable:!1,writable:!1,configurable:!0})}finally{return i}}(Dy());var{bind:_m,noContext:ym}=En;var In=new En;var{hasOwnProperty:xm}=Object.prototype,mo=Array.from||function(i){let n=[];return i.forEach(e=>n.push(e)),n};function br(i){let{unsubscribe:n}=i;typeof n=="function"&&(i.unsubscribe=void 0,n())}var po=[],Ty=100;function vr(i,n){if(!i)throw new Error(n||"assertion failure")}function Cm(i,n){let e=i.length;return e>0&&e===n.length&&i[e-1]===n[e-1]}function km(i){switch(i.length){case 0:throw new Error("unknown value");case 1:return i[0];case 2:throw i[1]}}function Dm(i){return i.slice(0)}var Em=(()=>{class i{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++i.count}peek(){if(this.value.length===1&&!Zi(this))return wm(this),this.value[0]}recompute(e){return vr(!this.recomputing,"already recomputing"),wm(this),Zi(this)?My(this,e):km(this.value)}setDirty(){this.dirty||(this.dirty=!0,Im(this),br(this))}dispose(){this.setDirty(),Om(this),nl(this,(e,t)=>{e.setDirty(),Rm(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=po.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(mo(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),po.push(this.deps),this.deps=null)}}return i.count=0,i})();function wm(i){let n=In.getValue();if(n)return i.parents.add(n),n.childValues.has(i)||n.childValues.set(i,[]),Zi(i)?Tm(n,i):Mm(n,i),n}function My(i,n){return Om(i),In.withValue(i,Ay,[i,n]),Ry(i,n)&&Oy(i),km(i.value)}function Ay(i,n){i.recomputing=!0;let{normalizeResult:e}=i,t;e&&i.value.length===1&&(t=Dm(i.value)),i.value.length=0;try{if(i.value[0]=i.fn.apply(null,n),e&&t&&!Cm(t,i.value))try{i.value[0]=e(i.value[0],t[0])}catch{}}catch(r){i.value[1]=r}i.recomputing=!1}function Zi(i){return i.dirty||!!(i.dirtyChildren&&i.dirtyChildren.size)}function Oy(i){i.dirty=!1,!Zi(i)&&Sm(i)}function Im(i){nl(i,Tm)}function Sm(i){nl(i,Mm)}function nl(i,n){let e=i.parents.size;if(e){let t=mo(i.parents);for(let r=0;r0&&i.childValues.forEach((n,e)=>{Rm(i,e)}),i.forgetDeps(),vr(i.dirtyChildren===null)}function Rm(i,n){n.parents.delete(i),i.childValues.delete(n),Am(i,n)}function Ry(i,n){if(typeof i.subscribe=="function")try{br(i),i.unsubscribe=i.subscribe.apply(null,n)}catch{return i.setDirty(),!1}return!0}var Fy={setDirty:!0,dispose:!0,forget:!0};function fo(i){let n=new Map,e=i&&i.subscribe;function t(r){let o=In.getValue();if(o){let a=n.get(r);a||n.set(r,a=new Set),o.dependOn(a),typeof e=="function"&&(br(a),a.unsubscribe=e(r))}}return t.dirty=function(o,a){let s=n.get(o);if(s){let c=a&&xm.call(Fy,a)?a:"setDirty";mo(s).forEach(l=>l[c]()),n.delete(o),br(s)}},t}var Fm;function Py(...i){return(Fm||(Fm=new Ua(typeof WeakMap=="function"))).lookupArray(i)}var rl=new Set;function Ai(i,{max:n=Math.pow(2,16),keyArgs:e,makeCacheKey:t=Py,normalizeResult:r,subscribe:o,cache:a=$i}=Object.create(null)){let s=typeof a=="function"?new a(n,m=>m.dispose()):a,c=function(){let m=t.apply(null,e?e.apply(null,arguments):arguments);if(m===void 0)return i.apply(null,arguments);let p=s.get(m);p||(s.set(m,p=new Em(i)),p.normalizeResult=r,p.subscribe=o,p.forget=()=>s.delete(m));let f=p.recompute(Array.prototype.slice.call(arguments));return s.set(m,p),rl.add(s),In.hasValue()||(rl.forEach(g=>g.clean()),rl.clear()),f};Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:n,keyArgs:e,makeCacheKey:t,normalizeResult:r,subscribe:o,cache:s});function l(m){let p=m&&s.get(m);p&&p.setDirty()}c.dirtyKey=l,c.dirty=function(){l(t.apply(null,arguments))};function d(m){let p=m&&s.get(m);if(p)return p.peek()}c.peekKey=d,c.peek=function(){return d(t.apply(null,arguments))};function h(m){return m?s.delete(m):!1}return c.forgetKey=h,c.forget=function(){return h(t.apply(null,arguments))},c.makeCacheKey=t,c.getKey=e?function(){return t.apply(null,e.apply(null,arguments))}:t,Object.freeze(c)}function Ny(i){return i}var _r=function(){function i(n,e){e===void 0&&(e=Object.create(null)),this.resultCache=Ba?new WeakSet:new Set,this.transform=n,e.getCacheKey&&(this.getCacheKey=e.getCacheKey),this.cached=e.cache!==!1,this.resetCache()}return i.prototype.getCacheKey=function(n){return[n]},i.identity=function(){return new i(Ny,{cache:!1})},i.split=function(n,e,t){return t===void 0&&(t=i.identity()),Object.assign(new i(function(r){var o=n(r)?e:t;return o.transformDocument(r)},{cache:!1}),{left:e,right:t})},i.prototype.resetCache=function(){var n=this;if(this.cached){var e=new Qt(li);this.performWork=Ai(i.prototype.performWork.bind(this),{makeCacheKey:function(t){var r=n.getCacheKey(t);if(r)return Y(Array.isArray(r),69),e.lookupArray(r)},max:dt["documentTransform.cache"],cache:vi})}},i.prototype.performWork=function(n){return Xi(n),this.transform(n)},i.prototype.transformDocument=function(n){if(this.resultCache.has(n))return n;var e=this.performWork(n);return this.resultCache.add(e),e},i.prototype.concat=function(n){var e=this;return Object.assign(new i(function(t){return n.transformDocument(e.transformDocument(t))},{cache:!1}),{left:this,right:n})},i}();var go,Ji=Object.assign(function(i){var n=go.get(i);return n||(n=mr(i),go.set(i,n)),n},{reset:function(){go=new pr(dt.print||2e3)}});Ji.reset();globalThis.__DEV__!==!1&&Ha("print",function(){return go?go.size:0});var Ve=Array.isArray;function vt(i){return Array.isArray(i)&&i.length>0}var Pm={kind:G.FIELD,name:{kind:G.NAME,value:"__typename"}};function Lm(i,n){return!i||i.selectionSet.selections.every(function(e){return e.kind===G.FRAGMENT_SPREAD&&Lm(n[e.name.value],n)})}function Ly(i){return Lm(_i(i)||tl(i),Ii(Mi(i)))?null:i}function jy(i){var n=new Map,e=new Map;return i.forEach(function(t){t&&(t.name?n.set(t.name,t):t.test&&e.set(t.test,t))}),function(t){var r=n.get(t.name.value);return!r&&e.size&&e.forEach(function(o,a){a(t)&&(r=o)}),r}}function Nm(i){var n=new Map;return function(t){t===void 0&&(t=i);var r=n.get(t);return r||n.set(t,r={variables:new Set,fragmentSpreads:new Set}),r}}function qa(i,n){Xi(n);for(var e=Nm(""),t=Nm(""),r=function(v){for(var M=0,y=void 0;M=0;--a)n.definitions[a].kind===G.OPERATION_DEFINITION&&++o;var s=jy(i),c=function(v){return vt(v)&&v.map(s).some(function(M){return M&&M.remove})},l=new Map,d=!1,h={enter:function(v){if(c(v.directives))return d=!0,null}},m=wt(n,{Field:h,InlineFragment:h,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(v,M,y,q,U){var J=r(U);J&&J.variables.add(v.name.value)}},FragmentSpread:{enter:function(v,M,y,q,U){if(c(v.directives))return d=!0,null;var J=r(U);J&&J.fragmentSpreads.add(v.name.value)}},FragmentDefinition:{enter:function(v,M,y,q){l.set(JSON.stringify(q),v)},leave:function(v,M,y,q){var U=l.get(JSON.stringify(q));if(v===U)return v;if(o>0&&v.selectionSet.selections.every(function(J){return J.kind===G.FIELD&&J.name.value==="__typename"}))return t(v.name.value).removed=!0,d=!0,null}},Directive:{leave:function(v){if(s(v))return d=!0,null}}});if(!d)return n;var p=function(v){return v.transitiveVars||(v.transitiveVars=new Set(v.variables),v.removed||v.fragmentSpreads.forEach(function(M){p(t(M)).transitiveVars.forEach(function(y){v.transitiveVars.add(y)})})),v},f=new Set;m.definitions.forEach(function(v){v.kind===G.OPERATION_DEFINITION?p(e(v.name&&v.name.value)).fragmentSpreads.forEach(function(M){f.add(M)}):v.kind===G.FRAGMENT_DEFINITION&&o===0&&!t(v.name.value).removed&&f.add(v.name.value)}),f.forEach(function(v){p(t(v)).fragmentSpreads.forEach(function(M){f.add(M)})});var g=function(v){return!!(!f.has(v)||t(v).removed)},_={enter:function(v){if(g(v.name.value))return null}};return Ly(wt(m,{FragmentSpread:_,FragmentDefinition:_,OperationDefinition:{leave:function(v){if(v.variableDefinitions){var M=p(e(v.name&&v.name.value)).transitiveVars;if(M.size1)for(var t=new Vt,r=1;r=i.length?{done:!0}:{done:!1,value:i[t++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hy(i,n){if(i){if(typeof i=="string")return jm(i,n);var e=Object.prototype.toString.call(i).slice(8,-1);if(e==="Object"&&i.constructor&&(e=i.constructor.name),e==="Map"||e==="Set")return Array.from(i);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return jm(i,n)}}function jm(i,n){(n==null||n>i.length)&&(n=i.length);for(var e=0,t=new Array(n);e1,s=!1,c=arguments[1],l=c;return new o(function(d){return r.subscribe({next:function(h){var m=!s;if(s=!0,!m||a)try{l=t(l,h)}catch(p){return d.error(p)}else l=h},error:function(h){d.error(h)},complete:function(){if(!s&&!a)return d.error(new TypeError("Cannot reduce an empty sequence"));d.next(l),d.complete()}})})},n.concat=function(){for(var t=this,r=arguments.length,o=new Array(r),a=0;a=0&&s.splice(m,1),l()}});s.push(h)},error:function(d){a.error(d)},complete:function(){l()}});function l(){c.closed&&s.length===0&&a.complete()}return function(){s.forEach(function(d){return d.unsubscribe()}),c.unsubscribe()}})},n[cl]=function(){return this},i.from=function(t){var r=typeof this=="function"?this:i;if(t==null)throw new TypeError(t+" is not an object");var o=Ga(t,cl);if(o){var a=o.call(t);if(Object(a)!==a)throw new TypeError(a+" is not an object");return Uy(a)&&a.constructor===r?a:new r(function(s){return a.subscribe(s)})}if(hl("iterator")&&(o=Ga(t,Qy),o))return new r(function(s){Wa(function(){if(!s.closed){for(var c=zy(o.call(t)),l;!(l=c()).done;){var d=l.value;if(s.next(d),s.closed)return}s.complete()}})});if(Array.isArray(t))return new r(function(s){Wa(function(){if(!s.closed){for(var c=0;c=0;--s){var c=a[s],l=!isNaN(+c),d=l?[]:{};d[c]=o,o=d}e=t.merge(e,o)}),e}function wr(i){var n=Za(i);return vt(n)}function Za(i){var n=vt(i.errors)?i.errors.slice(0):[];return en(i)&&vt(i.incremental)&&i.incremental.forEach(function(e){e.errors&&n.push.apply(n,e.errors)}),n}function yi(){for(var i=[],n=0;n-1;){if(_=void 0,be=[s.slice(0,g),s.slice(g+a.length)],_=be[0],s=be[1],v=_.indexOf(`\r \r -`),M=n0(_.slice(0,v)),y=M["content-type"],y&&y.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(q=_.slice(v),q){if(U=Jm(i,q),Object.keys(U).length>1||"data"in U||"incremental"in U||"errors"in U||"payload"in U)if(Gm(U)){if(J={},"payload"in U){if(Object.keys(U).length===1&&U.payload===null)return[2];J=b({},U.payload)}"errors"in U&&(J=b(b({},J),{extensions:b(b({},"extensions"in J?J.extensions:null),(_e={},_e[wo]=U.errors,_e))})),n(J)}else n(U);else if(Object.keys(U).length===1&&"hasNext"in U&&!U.hasNext)return[2]}g=s.indexOf(a)}return[3,1];case 3:return[2]}})})}function n0(i){var n={};return i.split(` -`).forEach(function(e){var t=e.indexOf(":");if(t>-1){var r=e.slice(0,t).trim().toLowerCase(),o=e.slice(t+1).trim();n[r]=o}}),n}function Jm(i,n){if(i.status>=300){var e=function(){try{return JSON.parse(n)}catch{return n}};Ja(i,e(),"Response not successful: Received status code ".concat(i.status))}try{return JSON.parse(n)}catch(r){var t=r;throw t.name="ServerParseError",t.response=i,t.statusCode=i.status,t.bodyText=n,t}}function ep(i,n){i.result&&i.result.errors&&i.result.data&&n.next(i.result),n.error(i)}function tp(i){return function(n){return n.text().then(function(e){return Jm(n,e)}).then(function(e){return!Array.isArray(e)&&!Xm.call(e,"data")&&!Xm.call(e,"errors")&&Ja(n,e,"Server response was missing for query '".concat(Array.isArray(i)?i.map(function(t){return t.operationName}):i.operationName,"'.")),e})}}var Co=function(i,n){var e;try{e=JSON.stringify(i)}catch(r){var t=Be(40,n,r.message);throw t.parseError=r,t}return e};var r0={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},o0={accept:"*/*","content-type":"application/json"},a0={method:"POST"},ip={http:r0,headers:o0,options:a0},np=function(i,n){return n(i)};function rp(i,n){for(var e=[],t=2;t"u")throw Be(38)};var ap=function(i,n){var e=i.getContext(),t=e.uri;return t||(typeof n=="function"?n(i):n||"/graphql")};function sp(i,n){var e=[],t=function(h,m){e.push("".concat(h,"=").concat(encodeURIComponent(m)))};if("query"in n&&t("query",n.query),n.operationName&&t("operationName",n.operationName),n.variables){var r=void 0;try{r=Co(n.variables,"Variables map")}catch(h){return{parseError:h}}t("variables",r)}if(n.extensions){var o=void 0;try{o=Co(n.extensions,"Extensions map")}catch(h){return{parseError:h}}t("extensions",o)}var a="",s=i,c=i.indexOf("#");c!==-1&&(a=i.substr(c),s=i.substr(0,c));var l=s.indexOf("?")===-1?"?":"&",d=s+l+e.join("&")+a;return{newURI:d}}var cp=xt(function(){return fetch}),lp=function(i){i===void 0&&(i={});var n=i.uri,e=n===void 0?"/graphql":n,t=i.fetch,r=i.print,o=r===void 0?np:r,a=i.includeExtensions,s=i.preserveHeaderCase,c=i.useGETForQueries,l=i.includeUnusedVariables,d=l===void 0?!1:l,h=Pt(i,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&op(t||cp);var m={http:{includeExtensions:a,preserveHeaderCase:s},options:h.fetchOptions,credentials:h.credentials,headers:h.headers};return new Xt(function(p){var f=ap(p,e),g=p.getContext(),_={};if(g.clientAwareness){var v=g.clientAwareness,M=v.name,y=v.version;M&&(_["apollographql-client-name"]=M),y&&(_["apollographql-client-version"]=y)}var q=b(b({},_),g.headers),U={http:g.http,options:g.fetchOptions,credentials:g.credentials,headers:q};if(Ei(["client"],p.query)){var J=go(p.query);if(!J)return yo(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));p.query=J}var be=rp(p,o,ip,m,U),_e=be.options,ze=be.body;ze.variables&&!d&&(ze.variables=_l(ze.variables,p.query));var et;!_e.signal&&typeof AbortController<"u"&&(et=new AbortController,_e.signal=et.signal);var Wn=function(qt){return qt.kind==="OperationDefinition"&&qt.operation==="mutation"},Gn=function(qt){return qt.kind==="OperationDefinition"&&qt.operation==="subscription"},_t=Gn(di(p.query)),ji=Ei(["defer"],p.query);if(c&&!p.query.definitions.some(Wn)&&(_e.method="GET"),ji||_t){_e.headers=_e.headers||{};var ec="multipart/mixed;";_t&&ji&&globalThis.__DEV__!==!1&&Y.warn(39),_t?ec+="boundary=graphql;subscriptionSpec=1.0,application/json":ji&&(ec+="deferSpec=20220824,application/json"),_e.headers.accept=ec}if(_e.method==="GET"){var hu=sp(f,ze),Wb=hu.newURI,mu=hu.parseError;if(mu)return yo(mu);f=Wb}else try{_e.body=Co(ze,"Payload")}catch(qt){return yo(qt)}return new xe(function(qt){var Gb=t||xt(function(){return fetch})||cp,pu=qt.next.bind(qt);return Gb(f,_e).then(function($n){var tc;p.setContext({response:$n});var fu=(tc=$n.headers)===null||tc===void 0?void 0:tc.get("content-type");return fu!==null&&/^multipart\/mixed/i.test(fu)?Zm($n,pu):tp(p)($n).then(pu)}).then(function(){et=void 0,qt.complete()}).catch(function($n){et=void 0,ep($n,qt)}),function(){et&&et.abort()}})})};var Cl=function(i){mt(n,i);function n(e){e===void 0&&(e={});var t=i.call(this,lp(e).request)||this;return t.options=e,t}return n}(Xt);var{toString:dp,hasOwnProperty:c0}=Object.prototype,up=Function.prototype.toString,kl=new Map;function Ne(i,n){try{return Dl(i,n)}finally{kl.clear()}}var El=Ne;function Dl(i,n){if(i===n)return!0;let e=dp.call(i),t=dp.call(n);if(e!==t)return!1;switch(e){case"[object Array]":if(i.length!==n.length)return!1;case"[object Object]":{if(mp(i,n))return!0;let r=hp(i),o=hp(n),a=r.length;if(a!==o.length)return!1;for(let s=0;s=0&&i.indexOf(n,e)===e}function mp(i,n){let e=kl.get(i);if(e){if(e.has(n))return!0}else kl.set(i,e=new Set);return e.add(n),!1}function rs(i,n,e,t){var r=n.data,o=Pt(n,["data"]),a=e.data,s=Pt(e,["data"]);return El(o,s)&&ns(di(i).selectionSet,r,a,{fragmentMap:Ii(Mi(i)),variables:t})}function ns(i,n,e,t){if(n===e)return!0;var r=new Set;return i.selections.every(function(o){if(r.has(o)||(r.add(o),!ci(o,t.variables))||pp(o))return!0;if(At(o)){var a=jt(o),s=n&&n[a],c=e&&e[a],l=o.selectionSet;if(!l)return El(s,c);var d=Array.isArray(s),h=Array.isArray(c);if(d!==h)return!1;if(d&&h){var m=s.length;if(c.length!==m)return!1;for(var p=0;p"u"||typeof o=="string"?o:this.identify(o),query:l,optimistic:s}),h;return new xe(function(m){return e.watch(b(b({},d),{immediate:!0,callback:function(p){if(!(h&&rs(l,{data:h?.result},{data:p.result}))){var f={data:p.result,complete:!!p.complete};p.missing&&(f.missing=Tn(p.missing.map(function(g){return g.missing}))),h=p,m.next(f)}}}))})},i.prototype.readFragment=function(n,e){return e===void 0&&(e=!!n.optimistic),this.read(b(b({},n),{query:this.getFragmentDoc(n.fragment,n.fragmentName),rootId:n.id,optimistic:e}))},i.prototype.writeQuery=function(n){var e=n.id,t=n.data,r=Pt(n,["id","data"]);return this.write(Object.assign(r,{dataId:e||"ROOT_QUERY",result:t}))},i.prototype.writeFragment=function(n){var e=n.id,t=n.data,r=n.fragment,o=n.fragmentName,a=Pt(n,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(r,o),dataId:e,result:t}))},i.prototype.updateQuery=function(n,e){return this.batch({update:function(t){var r=t.readQuery(n),o=e(r);return o==null?r:(t.writeQuery(b(b({},n),{data:o})),o)}})},i.prototype.updateFragment=function(n,e){return this.batch({update:function(t){var r=t.readFragment(n),o=e(r);return o==null?r:(t.writeFragment(b(b({},n),{data:o})),o)}})},i}();globalThis.__DEV__!==!1&&(os.prototype.getMemoryInternals=um);var ko=function(i){mt(n,i);function n(e,t,r,o){var a,s=i.call(this,e)||this;if(s.message=e,s.path=t,s.query=r,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=(a={},a[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=n.prototype,s}return n}(Error);var it=Object.prototype.hasOwnProperty;function Do(i){return i==null}function ss(i,n){var e=i.__typename,t=i.id,r=i._id;if(typeof e=="string"&&(n&&(n.keyObject=Do(t)?Do(r)?void 0:{_id:r}:{id:t}),Do(t)&&!Do(r)&&(t=r),!Do(t)))return"".concat(e,":").concat(typeof t=="number"||typeof t=="string"?t:JSON.stringify(t))}var fp={dataIdFromObject:ss,addTypename:!0,resultCaching:!0,canonizeResults:!1};function gp(i){return yi(fp,i)}function cs(i){var n=i.canonizeResults;return n===void 0?fp.canonizeResults:n}function bp(i,n){return Ce(n)?i.get(n.__ref,"__typename"):n&&n.__typename}var Il=/^[_a-z][_0-9a-z]*/i;function ui(i){var n=i.match(Il);return n?n[0]:i}function as(i,n,e){return Ie(n)?Ve(n)?n.every(function(t){return as(i,t,e)}):i.selections.every(function(t){if(At(t)&&ci(t,e)){var r=jt(t);return it.call(n,r)&&(!t.selectionSet||as(t.selectionSet,n[r],e))}return!0}):!1}function tn(i){return Ie(i)&&!Ce(i)&&!Ve(i)}function vp(){return new Vt}function ls(i,n){var e=Ii(Mi(i));return{fragmentMap:e,lookupFragment:function(t){var r=e[t];return!r&&n&&(r=n.lookup(t)),r||null}}}var ds=Object.create(null),Sl=function(){return ds},_p=Object.create(null),kr=function(){function i(n,e){var t=this;this.policies=n,this.group=e,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(r,o){return vo(Ce(r)?t.get(r.__ref,o):r&&r[o])},this.canRead=function(r){return Ce(r)?t.has(r.__ref):typeof r=="object"},this.toReference=function(r,o){if(typeof r=="string")return Kt(r);if(Ce(r))return r;var a=t.policies.identify(r)[0];if(a){var s=Kt(a);return o&&t.merge(a,r),s}}}return i.prototype.toObject=function(){return b({},this.data)},i.prototype.has=function(n){return this.lookup(n,!0)!==void 0},i.prototype.get=function(n,e){if(this.group.depend(n,e),it.call(this.data,n)){var t=this.data[n];if(t&&it.call(t,e))return t[e]}if(e==="__typename"&&it.call(this.policies.rootTypenamesById,n))return this.policies.rootTypenamesById[n];if(this instanceof nn)return this.parent.get(n,e)},i.prototype.lookup=function(n,e){if(e&&this.group.depend(n,"__exists"),it.call(this.data,n))return this.data[n];if(this instanceof nn)return this.parent.lookup(n,e);if(this.policies.rootTypenamesById[n])return Object.create(null)},i.prototype.merge=function(n,e){var t=this,r;Ce(n)&&(n=n.__ref),Ce(e)&&(e=e.__ref);var o=typeof n=="string"?this.lookup(r=n):n,a=typeof e=="string"?this.lookup(r=e):e;if(a){Y(typeof r=="string",1);var s=new Vt(p0).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(a).forEach(function(l){if(!o||o[l]!==s[l]){c[l]=1;var d=ui(l);d!==l&&!t.policies.hasKeyArgs(s.__typename,d)&&(c[d]=1),s[l]===void 0&&!(t instanceof nn)&&delete s[l]}}),c.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete c.__typename,Object.keys(c).forEach(function(l){return t.group.dirty(r,l)})}}},i.prototype.modify=function(n,e){var t=this,r=this.lookup(n);if(r){var o=Object.create(null),a=!1,s=!0,c={DELETE:ds,INVALIDATE:_p,isReference:Ce,toReference:this.toReference,canRead:this.canRead,readField:function(l,d){return t.policies.readField(typeof l=="string"?{fieldName:l,from:d||Kt(n)}:l,{store:t})}};if(Object.keys(r).forEach(function(l){var d=ui(l),h=r[l];if(h!==void 0){var m=typeof e=="function"?e:e[l]||e[d];if(m){var p=m===Sl?ds:m(vo(h),b(b({},c),{fieldName:d,storeFieldName:l,storage:t.getStorage(n,l)}));if(p===_p)t.group.dirty(n,l);else if(p===ds&&(p=void 0),p!==h&&(o[l]=p,a=!0,h=p,globalThis.__DEV__!==!1)){var f=function(U){if(t.lookup(U.__ref)===void 0)return globalThis.__DEV__!==!1&&Y.warn(2,U),!0};if(Ce(p))f(p);else if(Array.isArray(p))for(var g=!1,_=void 0,v=0,M=p;v0){var e=--this.rootIds[n];return e||delete this.rootIds[n],e}return 0},i.prototype.getRootIdSet=function(n){return n===void 0&&(n=new Set),Object.keys(this.rootIds).forEach(n.add,n),this instanceof nn?this.parent.getRootIdSet(n):Object.keys(this.policies.rootTypenamesById).forEach(n.add,n),n},i.prototype.gc=function(){var n=this,e=this.getRootIdSet(),t=this.toObject();e.forEach(function(a){it.call(t,a)&&(Object.keys(n.findChildRefIds(a)).forEach(e.add,e),delete t[a])});var r=Object.keys(t);if(r.length){for(var o=this;o instanceof nn;)o=o.parent;r.forEach(function(a){return o.delete(a)})}return r},i.prototype.findChildRefIds=function(n){if(!it.call(this.refs,n)){var e=this.refs[n]=Object.create(null),t=this.data[n];if(!t)return e;var r=new Set([t]);r.forEach(function(o){Ce(o)&&(e[o.__ref]=!0),Ie(o)&&Object.keys(o).forEach(function(a){var s=o[a];Ie(s)&&r.add(s)})})}return this.refs[n]},i.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},i}();var yp=function(){function i(n,e){e===void 0&&(e=null),this.caching=n,this.parent=e,this.d=null,this.resetCaching()}return i.prototype.resetCaching=function(){this.d=this.caching?po():null,this.keyMaker=new Qt(li)},i.prototype.depend=function(n,e){if(this.d){this.d(Tl(n,e));var t=ui(e);t!==e&&this.d(Tl(n,t)),this.parent&&this.parent.depend(n,e)}},i.prototype.dirty=function(n,e){this.d&&this.d.dirty(Tl(n,e),e==="__exists"?"forget":"setDirty")},i}();function Tl(i,n){return n+"#"+i}function Ml(i,n){On(i)&&i.group.depend(n,"__exists")}(function(i){var n=function(e){mt(t,e);function t(r){var o=r.policies,a=r.resultCaching,s=a===void 0?!0:a,c=r.seed,l=e.call(this,o,new yp(s))||this;return l.stump=new m0(l),l.storageTrie=new Qt(li),c&&l.replace(c),l}return t.prototype.addLayer=function(r,o){return this.stump.addLayer(r,o)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(i);i.Root=n})(kr||(kr={}));var nn=function(i){mt(n,i);function n(e,t,r,o){var a=i.call(this,t.policies,o)||this;return a.id=e,a.parent=t,a.replay=r,a.group=o,r(a),a}return n.prototype.addLayer=function(e,t){return new n(e,this,t,this.group)},n.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(o){var a=t.data[o],s=r.lookup(o);s?a?a!==s&&Object.keys(a).forEach(function(c){Ne(a[c],s[c])||t.group.dirty(o,c)}):(t.group.dirty(o,"__exists"),Object.keys(s).forEach(function(c){t.group.dirty(o,c)})):t.delete(o)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},n.prototype.toObject=function(){return b(b({},this.parent.toObject()),this.data)},n.prototype.findChildRefIds=function(e){var t=this.parent.findChildRefIds(e);return it.call(this.data,e)?b(b({},t),i.prototype.findChildRefIds.call(this,e)):t},n.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},n}(kr),m0=function(i){mt(n,i);function n(e){return i.call(this,"EntityStore.Stump",e,function(){},new yp(e.group.caching,e.group))||this}return n.prototype.removeLayer=function(){return this},n.prototype.merge=function(e,t){return this.parent.merge(e,t)},n}(nn);function p0(i,n,e){var t=i[e],r=n[e];return Ne(t,r)?t:r}function On(i){return!!(i instanceof kr&&i.group.caching)}function f0(i){return Ie(i)?Ve(i)?i.slice(0):b({__proto__:Object.getPrototypeOf(i)},i):i}var Al=function(){function i(){this.known=new(Ba?WeakSet:Set),this.pool=new Qt(li),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return i.prototype.isKnown=function(n){return Ie(n)&&this.known.has(n)},i.prototype.pass=function(n){if(Ie(n)){var e=f0(n);return this.passes.set(e,n),e}return n},i.prototype.admit=function(n){var e=this;if(Ie(n)){var t=this.passes.get(n);if(t)return t;var r=Object.getPrototypeOf(n);switch(r){case Array.prototype:{if(this.known.has(n))return n;var o=n.map(this.admit,this),a=this.pool.lookupArray(o);return a.array||(this.known.add(a.array=o),globalThis.__DEV__!==!1&&Object.freeze(o)),a.array}case null:case Object.prototype:{if(this.known.has(n))return n;var s=Object.getPrototypeOf(n),c=[s],l=this.sortedKeys(n);c.push(l.json);var d=c.length;l.sorted.forEach(function(p){c.push(e.admit(n[p]))});var a=this.pool.lookupArray(c);if(!a.object){var h=a.object=Object.create(s);this.known.add(h),l.sorted.forEach(function(p,f){h[p]=c[d+f]}),globalThis.__DEV__!==!1&&Object.freeze(h)}return a.object}}}return n},i.prototype.sortedKeys=function(n){var e=Object.keys(n),t=this.pool.lookupArray(e);if(!t.keys){e.sort();var r=JSON.stringify(e);(t.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,t.keys={sorted:e,json:r})}return t.keys},i}();function xp(i){return[i.selectionSet,i.objectOrReference,i.context,i.context.canonizeResults]}var wp=function(){function i(n){var e=this;this.knownResults=new(li?WeakMap:Map),this.config=yi(n,{addTypename:n.addTypename!==!1,canonizeResults:cs(n)}),this.canon=n.canon||new Al,this.executeSelectionSet=Ai(function(t){var r,o=t.context.canonizeResults,a=xp(t);a[3]=!o;var s=(r=e.executeSelectionSet).peek.apply(r,a);return s?o?b(b({},s),{result:e.canon.admit(s.result)}):s:(Ml(t.context.store,t.enclosingRef.__ref),e.execSelectionSetImpl(t))},{max:this.config.resultCacheMaxSize||dt["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:xp,makeCacheKey:function(t,r,o,a){if(On(o.store))return o.store.makeCacheKey(t,Ce(r)?r.__ref:r,o.varString,a)}}),this.executeSubSelectedArray=Ai(function(t){return Ml(t.context.store,t.enclosingRef.__ref),e.execSubSelectedArrayImpl(t)},{max:this.config.resultCacheMaxSize||dt["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(t){var r=t.field,o=t.array,a=t.context;if(On(a.store))return a.store.makeCacheKey(r,o,a.varString)}})}return i.prototype.resetCanon=function(){this.canon=new Al},i.prototype.diffQueryAgainstStore=function(n){var e=n.store,t=n.query,r=n.rootId,o=r===void 0?"ROOT_QUERY":r,a=n.variables,s=n.returnPartialData,c=s===void 0?!0:s,l=n.canonizeResults,d=l===void 0?this.config.canonizeResults:l,h=this.config.cache.policies;a=b(b({},Dn(uo(t))),a);var m=Kt(o),p=this.executeSelectionSet({selectionSet:di(t).selectionSet,objectOrReference:m,enclosingRef:m,context:b({store:e,query:t,policies:h,variables:a,varString:Mt(a),canonizeResults:d},ls(t,this.config.fragments))}),f;if(p.missing&&(f=[new ko(g0(p.missing),p.missing,t,a)],!c))throw f[0];return{result:p.result,complete:!f,missing:f}},i.prototype.isFresh=function(n,e,t,r){if(On(r.store)&&this.knownResults.get(n)===t){var o=this.executeSelectionSet.peek(t,e,r,this.canon.isKnown(n));if(o&&n===o.result)return!0}return!1},i.prototype.execSelectionSetImpl=function(n){var e=this,t=n.selectionSet,r=n.objectOrReference,o=n.enclosingRef,a=n.context;if(Ce(r)&&!a.policies.rootTypenamesById[r.__ref]&&!a.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var s=a.variables,c=a.policies,l=a.store,d=l.getFieldValue(r,"__typename"),h=[],m,p=new Vt;this.config.addTypename&&typeof d=="string"&&!c.rootIdsByTypename[d]&&h.push({__typename:d});function f(y,q){var U;return y.missing&&(m=p.merge(m,(U={},U[q]=y.missing,U))),y.result}var g=new Set(t.selections);g.forEach(function(y){var q,U;if(ci(y,s))if(At(y)){var J=c.readField({fieldName:y.name.value,field:y,variables:a.variables,from:r},a),be=jt(y);J===void 0?Sn.added(y)||(m=p.merge(m,(q={},q[be]="Can't find field '".concat(y.name.value,"' on ").concat(Ce(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),q))):Ve(J)?J.length>0&&(J=f(e.executeSubSelectedArray({field:y,array:J,enclosingRef:o,context:a}),be)):y.selectionSet?J!=null&&(J=f(e.executeSelectionSet({selectionSet:y.selectionSet,objectOrReference:J,enclosingRef:Ce(J)?J:o,context:a}),be)):a.canonizeResults&&(J=e.canon.pass(J)),J!==void 0&&h.push((U={},U[be]=J,U))}else{var _e=Si(y,a.lookupFragment);if(!_e&&y.kind===G.FRAGMENT_SPREAD)throw Be(9,y.name.value);_e&&c.fragmentMatches(_e,d)&&_e.selectionSet.selections.forEach(g.add,g)}});var _=Tn(h),v={result:_,missing:m},M=a.canonizeResults?this.canon.admit(v):vo(v);return M.result&&this.knownResults.set(M.result,t),M},i.prototype.execSubSelectedArrayImpl=function(n){var e=this,t=n.field,r=n.array,o=n.enclosingRef,a=n.context,s,c=new Vt;function l(d,h){var m;return d.missing&&(s=c.merge(s,(m={},m[h]=d.missing,m))),d.result}return t.selectionSet&&(r=r.filter(a.store.canRead)),r=r.map(function(d,h){return d===null?null:Ve(d)?l(e.executeSubSelectedArray({field:t,array:d,enclosingRef:o,context:a}),h):t.selectionSet?l(e.executeSelectionSet({selectionSet:t.selectionSet,objectOrReference:d,enclosingRef:Ce(d)?d:o,context:a}),h):(globalThis.__DEV__!==!1&&b0(a.store,t,d),d)}),{result:a.canonizeResults?this.canon.admit(r):r,missing:s}},i}();function g0(i){try{JSON.stringify(i,function(n,e){if(typeof e=="string")throw e;return e})}catch(n){return n}}function b0(i,n,e){if(!n.selectionSet){var t=new Set([e]);t.forEach(function(r){Ie(r)&&(Y(!Ce(r),10,bp(i,r),n.name.value),Object.values(r).forEach(t.add,t))})}}var Dr=new En,Cp=new WeakMap;function Eo(i){var n=Cp.get(i);return n||Cp.set(i,n={vars:new Set,dep:po()}),n}function Ol(i){Eo(i).vars.forEach(function(n){return n.forgetCache(i)})}function kp(i){Eo(i).vars.forEach(function(n){return n.attachCache(i)})}function us(i){var n=new Set,e=new Set,t=function(o){if(arguments.length>0){if(i!==o){i=o,n.forEach(function(c){Eo(c).dep.dirty(t),v0(c)});var a=Array.from(e);e.clear(),a.forEach(function(c){return c(i)})}}else{var s=Dr.getValue();s&&(r(s),Eo(s).dep(t))}return i};t.onNextChange=function(o){return e.add(o),function(){e.delete(o)}};var r=t.attachCache=function(o){return n.add(o),Eo(o).vars.add(t),t};return t.forgetCache=function(o){return n.delete(o)},t}function v0(i){i.broadcastWatches&&i.broadcastWatches()}var Dp=Object.create(null);function Rl(i){var n=JSON.stringify(i);return Dp[n]||(Dp[n]=Object.create(null))}function Fl(i){var n=Rl(i);return n.keyFieldsFn||(n.keyFieldsFn=function(e,t){var r=function(a,s){return t.readField(s,a)},o=t.keyObject=Nl(i,function(a){var s=Er(t.storeObject,a,r);return s===void 0&&e!==t.storeObject&&it.call(e,a[0])&&(s=Er(e,a,Ip)),Y(s!==void 0,4,a.join("."),e),s});return"".concat(t.typename,":").concat(JSON.stringify(o))})}function Pl(i){var n=Rl(i);return n.keyArgsFn||(n.keyArgsFn=function(e,t){var r=t.field,o=t.variables,a=t.fieldName,s=Nl(i,function(l){var d=l[0],h=d.charAt(0);if(h==="@"){if(r&&vt(r.directives)){var m=d.slice(1),p=r.directives.find(function(v){return v.name.value===m}),f=p&&Ti(p,o);return f&&Er(f,l.slice(1))}return}if(h==="$"){var g=d.slice(1);if(o&&it.call(o,g)){var _=l.slice(0);return _[0]=g,Er(o,_)}return}if(e)return Er(e,l)}),c=JSON.stringify(s);return(e||c!=="{}")&&(a+=":"+c),a})}function Nl(i,n){var e=new Vt;return Ep(i).reduce(function(t,r){var o,a=n(r);if(a!==void 0){for(var s=r.length-1;s>=0;--s)a=(o={},o[r[s]]=a,o);t=e.merge(t,a)}return t},Object.create(null))}function Ep(i){var n=Rl(i);if(!n.paths){var e=n.paths=[],t=[];i.forEach(function(r,o){Ve(r)?(Ep(r).forEach(function(a){return e.push(t.concat(a))}),t.length=0):(t.push(r),Ve(i[o+1])||(e.push(t.slice(0)),t.length=0))})}return n.paths}function Ip(i,n){return i[n]}function Er(i,n,e){return e=e||Ip,Sp(n.reduce(function t(r,o){return Ve(r)?r.map(function(a){return t(a,o)}):r&&e(r,o)},i))}function Sp(i){return Ie(i)?Ve(i)?i.map(Sp):Nl(Object.keys(i).sort(),function(n){return Er(i,n)}):i}function Ll(i){return i.args!==void 0?i.args:i.field?Ti(i.field,i.variables):null}var _0=function(){},Tp=function(i,n){return n.fieldName},Mp=function(i,n,e){var t=e.mergeObjects;return t(i,n)},Ap=function(i,n){return n},Rp=function(){function i(n){this.config=n,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=b({dataIdFromObject:ss},n),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),n.possibleTypes&&this.addPossibleTypes(n.possibleTypes),n.typePolicies&&this.addTypePolicies(n.typePolicies)}return i.prototype.identify=function(n,e){var t,r=this,o=e&&(e.typename||((t=e.storeObject)===null||t===void 0?void 0:t.__typename))||n.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=e&&e.storeObject||n,s=b(b({},e),{typename:o,storeObject:a,readField:e&&e.readField||function(){var m=hs(arguments,a);return r.readField(m,{store:r.cache.data,variables:m.variables})}}),c,l=o&&this.getTypePolicy(o),d=l&&l.keyFn||this.config.dataIdFromObject;d;){var h=d(b(b({},n),a),s);if(Ve(h))d=Fl(h);else{c=h;break}}return c=c?String(c):void 0,s.keyObject?[c,s.keyObject]:[c]},i.prototype.addTypePolicies=function(n){var e=this;Object.keys(n).forEach(function(t){var r=n[t],o=r.queryType,a=r.mutationType,s=r.subscriptionType,c=Pt(r,["queryType","mutationType","subscriptionType"]);o&&e.setRootTypename("Query",t),a&&e.setRootTypename("Mutation",t),s&&e.setRootTypename("Subscription",t),it.call(e.toBeAdded,t)?e.toBeAdded[t].push(c):e.toBeAdded[t]=[c]})},i.prototype.updateTypePolicy=function(n,e){var t=this,r=this.getTypePolicy(n),o=e.keyFields,a=e.fields;function s(c,l){c.merge=typeof l=="function"?l:l===!0?Mp:l===!1?Ap:c.merge}s(r,e.merge),r.keyFn=o===!1?_0:Ve(o)?Fl(o):typeof o=="function"?o:r.keyFn,a&&Object.keys(a).forEach(function(c){var l=t.getFieldPolicy(n,c,!0),d=a[c];if(typeof d=="function")l.read=d;else{var h=d.keyArgs,m=d.read,p=d.merge;l.keyFn=h===!1?Tp:Ve(h)?Pl(h):typeof h=="function"?h:l.keyFn,typeof m=="function"&&(l.read=m),s(l,p)}l.read&&l.merge&&(l.keyFn=l.keyFn||Tp)})},i.prototype.setRootTypename=function(n,e){e===void 0&&(e=n);var t="ROOT_"+n.toUpperCase(),r=this.rootTypenamesById[t];e!==r&&(Y(!r||r===n,5,n),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[e]=t,this.rootTypenamesById[t]=e)},i.prototype.addPossibleTypes=function(n){var e=this;this.usingPossibleTypes=!0,Object.keys(n).forEach(function(t){e.getSupertypeSet(t,!0),n[t].forEach(function(r){e.getSupertypeSet(r,!0).add(t);var o=r.match(Il);(!o||o[0]!==r)&&e.fuzzySubtypes.set(r,new RegExp(r))})})},i.prototype.getTypePolicy=function(n){var e=this;if(!it.call(this.typePolicies,n)){var t=this.typePolicies[n]=Object.create(null);t.fields=Object.create(null);var r=this.supertypeMap.get(n);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(n,!0),this.fuzzySubtypes.forEach(function(a,s){if(a.test(n)){var c=e.supertypeMap.get(s);c&&c.forEach(function(l){return r.add(l)})}})),r&&r.size&&r.forEach(function(a){var s=e.getTypePolicy(a),c=s.fields,l=Pt(s,["fields"]);Object.assign(t,l),Object.assign(t.fields,c)})}var o=this.toBeAdded[n];return o&&o.length&&o.splice(0).forEach(function(a){e.updateTypePolicy(n,a)}),this.typePolicies[n]},i.prototype.getFieldPolicy=function(n,e,t){if(n){var r=this.getTypePolicy(n).fields;return r[e]||t&&(r[e]=Object.create(null))}},i.prototype.getSupertypeSet=function(n,e){var t=this.supertypeMap.get(n);return!t&&e&&this.supertypeMap.set(n,t=new Set),t},i.prototype.fragmentMatches=function(n,e,t,r){var o=this;if(!n.typeCondition)return!0;if(!e)return!1;var a=n.typeCondition.name.value;if(e===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(e,!0),c=[s],l=function(f){var g=o.getSupertypeSet(f,!1);g&&g.size&&c.indexOf(g)<0&&c.push(g)},d=!!(t&&this.fuzzySubtypes.size),h=!1,m=0;m1?r:n}:(a=b({},t),it.call(a,"from")||(a.from=n)),globalThis.__DEV__!==!1&&a.from===void 0&&globalThis.__DEV__!==!1&&Y.warn(7,Ta(Array.from(i))),a.variables===void 0&&(a.variables=e),a}function Fp(i){return function(e,t){if(Ve(e)||Ve(t))throw Be(8);if(Ie(e)&&Ie(t)){var r=i.getFieldValue(e,"__typename"),o=i.getFieldValue(t,"__typename"),a=r&&o&&r!==o;if(a)return t;if(Ce(e)&&tn(t))return i.merge(e.__ref,t),e;if(tn(e)&&Ce(t))return i.merge(e,t.__ref),t;if(tn(e)&&tn(t))return b(b({},e),t)}return t}}function jl(i,n,e){var t="".concat(n).concat(e),r=i.flavors.get(t);return r||i.flavors.set(t,r=i.clientOnly===n&&i.deferred===e?i:b(b({},i),{clientOnly:n,deferred:e})),r}var jp=function(){function i(n,e,t){this.cache=n,this.reader=e,this.fragments=t}return i.prototype.writeToStore=function(n,e){var t=this,r=e.query,o=e.result,a=e.dataId,s=e.variables,c=e.overwrite,l=_i(r),d=vp();s=b(b({},Dn(l)),s);var h=b(b({store:n,written:Object.create(null),merge:function(p,f){return d.merge(p,f)},variables:s,varString:Mt(s)},ls(r,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),m=this.processSelectionSet({result:o||Object.create(null),dataId:a,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:h});if(!Ce(m))throw Be(11,o);return h.incomingById.forEach(function(p,f){var g=p.storeObject,_=p.mergeTree,v=p.fieldNodeSet,M=Kt(f);if(_&&_.map.size){var y=t.applyMerges(_,M,g,h);if(Ce(y))return;g=y}if(globalThis.__DEV__!==!1&&!h.overwrite){var q=Object.create(null);v.forEach(function(be){be.selectionSet&&(q[be.name.value]=!0)});var U=function(be){return q[ui(be)]===!0},J=function(be){var _e=_&&_.map.get(be);return!!(_e&&_e.info&&_e.info.merge)};Object.keys(g).forEach(function(be){U(be)&&!J(be)&&y0(M,g,be,h.store)})}n.merge(f,g)}),n.retain(m.__ref),m},i.prototype.processSelectionSet=function(n){var e=this,t=n.dataId,r=n.result,o=n.selectionSet,a=n.context,s=n.mergeTree,c=this.cache.policies,l=Object.create(null),d=t&&c.rootTypenamesById[t]||lo(r,o,a.fragmentMap)||t&&a.store.get(t,"__typename");typeof d=="string"&&(l.__typename=d);var h=function(){var y=hs(arguments,l,a.variables);if(Ce(y.from)){var q=a.incomingById.get(y.from.__ref);if(q){var U=c.readField(b(b({},y),{from:q.storeObject}),a);if(U!==void 0)return U}}return c.readField(y,a)},m=new Set;this.flattenFields(o,r,a,d).forEach(function(y,q){var U,J=jt(q),be=r[J];if(m.add(q),be!==void 0){var _e=c.getStoreFieldName({typename:d,fieldName:q.name.value,field:q,variables:y.variables}),ze=Pp(s,_e),et=e.processFieldValue(be,q,q.selectionSet?jl(y,!1,!1):y,ze),Wn=void 0;q.selectionSet&&(Ce(et)||tn(et))&&(Wn=h("__typename",et));var Gn=c.getMergeFunction(d,q.name.value,Wn);Gn?ze.info={field:q,typename:d,merge:Gn}:Np(s,_e),l=y.merge(l,(U={},U[_e]=et,U))}else globalThis.__DEV__!==!1&&!y.clientOnly&&!y.deferred&&!Sn.added(q)&&!c.getReadFunction(d,q.name.value)&&globalThis.__DEV__!==!1&&Y.error(12,jt(q),r)});try{var p=c.identify(r,{typename:d,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:l,readField:h}),f=p[0],g=p[1];t=t||f,g&&(l=a.merge(l,g))}catch(y){if(!t)throw y}if(typeof t=="string"){var _=Kt(t),v=a.written[t]||(a.written[t]=[]);if(v.indexOf(o)>=0||(v.push(o),this.reader&&this.reader.isFresh(r,_,o,a)))return _;var M=a.incomingById.get(t);return M?(M.storeObject=a.merge(M.storeObject,l),M.mergeTree=Vl(M.mergeTree,s),m.forEach(function(y){return M.fieldNodeSet.add(y)})):a.incomingById.set(t,{storeObject:l,mergeTree:ms(s)?void 0:s,fieldNodeSet:m}),_}return l},i.prototype.processFieldValue=function(n,e,t,r){var o=this;return!e.selectionSet||n===null?globalThis.__DEV__!==!1?$a(n):n:Ve(n)?n.map(function(a,s){var c=o.processFieldValue(a,e,t,Pp(r,s));return Np(r,s),c}):this.processSelectionSet({result:n,selectionSet:e.selectionSet,context:t,mergeTree:r})},i.prototype.flattenFields=function(n,e,t,r){r===void 0&&(r=lo(e,n,t.fragmentMap));var o=new Map,a=this.cache.policies,s=new Qt(!1);return function c(l,d){var h=s.lookup(l,d.clientOnly,d.deferred);h.visited||(h.visited=!0,l.selections.forEach(function(m){if(ci(m,t.variables)){var p=d.clientOnly,f=d.deferred;if(!(p&&f)&&vt(m.directives)&&m.directives.forEach(function(v){var M=v.name.value;if(M==="client"&&(p=!0),M==="defer"){var y=Ti(v,t.variables);(!y||y.if!==!1)&&(f=!0)}}),At(m)){var g=o.get(m);g&&(p=p&&g.clientOnly,f=f&&g.deferred),o.set(m,jl(t,p,f))}else{var _=Si(m,t.lookupFragment);if(!_&&m.kind===G.FRAGMENT_SPREAD)throw Be(13,m.name.value);_&&a.fragmentMatches(_,r,e,t.variables)&&c(_.selectionSet,jl(t,p,f))}}}))}(n,t),o},i.prototype.applyMerges=function(n,e,t,r,o){var a,s=this;if(n.map.size&&!Ce(t)){var c=!Ve(t)&&(Ce(e)||tn(e))?e:void 0,l=t;c&&!o&&(o=[Ce(c)?c.__ref:c]);var d,h=function(m,p){return Ve(m)?typeof p=="number"?m[p]:void 0:r.store.getFieldValue(m,String(p))};n.map.forEach(function(m,p){var f=h(c,p),g=h(l,p);if(g!==void 0){o&&o.push(p);var _=s.applyMerges(m,f,g,r,o);_!==g&&(d=d||new Map,d.set(p,_)),o&&Y(o.pop()===p)}}),d&&(t=Ve(l)?l.slice(0):b({},l),d.forEach(function(m,p){t[p]=m}))}return n.info?this.cache.policies.runMergeFunction(e,t,n.info,r,o&&(a=r.store).getStorage.apply(a,o)):t},i}();var Vp=[];function Pp(i,n){var e=i.map;return e.has(n)||e.set(n,Vp.pop()||{map:new Map}),e.get(n)}function Vl(i,n){if(i===n||!n||ms(n))return i;if(!i||ms(i))return n;var e=i.info&&n.info?b(b({},i.info),n.info):i.info||n.info,t=i.map.size&&n.map.size,r=t?new Map:i.map.size?i.map:n.map,o={info:e,map:r};if(t){var a=new Set(n.map.keys());i.map.forEach(function(s,c){o.map.set(c,Vl(s,n.map.get(c))),a.delete(c)}),a.forEach(function(s){o.map.set(s,Vl(n.map.get(s),i.map.get(s)))})}return o}function ms(i){return!i||!(i.info||i.map.size)}function Np(i,n){var e=i.map,t=e.get(n);t&&ms(t)&&(Vp.push(t),e.delete(n))}var Lp=new Set;function y0(i,n,e,t){var r=function(h){var m=t.getFieldValue(h,e);return typeof m=="object"&&m},o=r(i);if(o){var a=r(n);if(a&&!Ce(o)&&!Ne(o,a)&&!Object.keys(o).every(function(h){return t.getFieldValue(a,h)!==void 0})){var s=t.getFieldValue(i,"__typename")||t.getFieldValue(n,"__typename"),c=ui(e),l="".concat(s,".").concat(c);if(!Lp.has(l)){Lp.add(l);var d=[];!Ve(o)&&!Ve(a)&&[o,a].forEach(function(h){var m=t.getFieldValue(h,"__typename");typeof m=="string"&&!d.includes(m)&&d.push(m)}),globalThis.__DEV__!==!1&&Y.warn(14,c,s,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",l,b({},o),b({},a))}}}}var Io=function(i){mt(n,i);function n(e){e===void 0&&(e={});var t=i.call(this)||this;return t.watches=new Set,t.addTypenameTransform=new _r(Sn),t.assumeImmutableResults=!0,t.makeVar=us,t.txCount=0,t.config=gp(e),t.addTypename=!!t.config.addTypename,t.policies=new Rp({cache:t,dataIdFromObject:t.config.dataIdFromObject,possibleTypes:t.config.possibleTypes,typePolicies:t.config.typePolicies}),t.init(),t}return n.prototype.init=function(){var e=this.data=new kr.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},n.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,o=this.config.fragments;this.storeWriter=new jp(this,this.storeReader=new wp({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:cs(this.config),canon:e?void 0:r&&r.canon,fragments:o}),o),this.maybeBroadcastWatch=Ai(function(a,s){return t.broadcastWatch(a,s)},{max:this.config.resultCacheMaxSize||dt["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(a){var s=a.optimistic?t.optimisticData:t.data;if(On(s)){var c=a.optimistic,l=a.id,d=a.variables;return s.makeCacheKey(a.query,a.callback,Mt({optimistic:c,id:l,variables:d}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(a){return a.resetCaching()})},n.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},n.prototype.extract=function(e){return e===void 0&&(e=!1),(e?this.optimisticData:this.data).extract()},n.prototype.read=function(e){var t=e.returnPartialData,r=t===void 0?!1:t;try{return this.storeReader.diffQueryAgainstStore(b(b({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(o){if(o instanceof ko)return null;throw o}},n.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}},n.prototype.modify=function(e){if(it.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}},n.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore(b(b({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},n.prototype.watch=function(e){var t=this;return this.watches.size||kp(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&Ol(t),t.maybeBroadcastWatch.forget(e)}},n.prototype.gc=function(e){var t;Mt.reset(),Ji.reset(),this.addTypenameTransform.resetCache(),(t=this.config.fragments)===null||t===void 0||t.resetCaches();var r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},n.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},n.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},n.prototype.identify=function(e){if(Ce(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){globalThis.__DEV__!==!1&&Y.warn(t)}},n.prototype.evict=function(e){if(!e.id){if(it.call(e,"id"))return!1;e=b(b({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}},n.prototype.reset=function(e){var t=this;return this.init(),Mt.reset(),e&&e.discardWatches?(this.watches.forEach(function(r){return t.maybeBroadcastWatch.forget(r)}),this.watches.clear(),Ol(this)):this.broadcastWatches(),Promise.resolve()},n.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},n.prototype.batch=function(e){var t=this,r=e.update,o=e.optimistic,a=o===void 0?!0:o,s=e.removeOptimistic,c=e.onWatchUpdated,l,d=function(m){var p=t,f=p.data,g=p.optimisticData;++t.txCount,m&&(t.data=t.optimisticData=m);try{return l=r(t)}finally{--t.txCount,t.data=f,t.optimisticData=g}},h=new Set;return c&&!this.txCount&&this.broadcastWatches(b(b({},e),{onWatchUpdated:function(m){return h.add(m),!1}})),typeof a=="string"?this.optimisticData=this.optimisticData.addLayer(a,d):a===!1?d(this.data):d(),typeof s=="string"&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&h.size?(this.broadcastWatches(b(b({},e),{onWatchUpdated:function(m,p){var f=c.call(this,m,p);return f!==!1&&h.delete(m),f}})),h.size&&h.forEach(function(m){return t.maybeBroadcastWatch.dirty(m)})):this.broadcastWatches(e),l},n.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||t!==null})},n.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},n.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},n.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},n.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},n.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,o=this.diff(e);t&&(e.optimistic&&typeof t.optimistic=="string"&&(o.fromOptimisticTransaction=!0),t.onWatchUpdated&&t.onWatchUpdated.call(this,e,o,r)===!1)||(!r||!Ne(r.result,o.result))&&e.callback(e.lastDiff=o,r)},n}(os);globalThis.__DEV__!==!1&&(Io.prototype.getMemoryInternals=dm);var Se=function(i){return i[i.loading=1]="loading",i[i.setVariables=2]="setVariables",i[i.fetchMore=3]="fetchMore",i[i.refetch=4]="refetch",i[i.poll=6]="poll",i[i.ready=7]="ready",i[i.error=8]="error",i}(Se||{});function rn(i){return i?i<7:!1}var Bp=Object.assign,x0=Object.hasOwnProperty,ps=function(i){mt(n,i);function n(e){var t=e.queryManager,r=e.queryInfo,o=e.options,a=i.call(this,function(_){try{var v=_._subscription._observer;v&&!v.error&&(v.error=w0)}catch{}var M=!a.observers.size;a.observers.add(_);var y=a.last;return y&&y.error?_.error&&_.error(y.error):y&&y.result&&_.next&&_.next(y.result),M&&a.reobserve().catch(function(){}),function(){a.observers.delete(_)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=r,a.queryManager=t,a.waitForOwnResult=Bl(o.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a);var s=t.defaultOptions.watchQuery,c=s===void 0?{}:s,l=c.fetchPolicy,d=l===void 0?"cache-first":l,h=o.fetchPolicy,m=h===void 0?d:h,p=o.initialFetchPolicy,f=p===void 0?m==="standby"?d:m:p;a.options=b(b({},o),{initialFetchPolicy:f,fetchPolicy:m}),a.queryId=r.queryId||t.generateQueryId();var g=_i(a.query);return a.queryName=g&&g.name&&g.name.value,a}return Object.defineProperty(n.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),n.prototype.result=function(){var e=this;return new Promise(function(t,r){var o={next:function(s){t(s),e.observers.delete(o),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){a.unsubscribe()},0)},error:r},a=e.subscribe(o)})},n.prototype.resetDiff=function(){this.queryInfo.resetDiff()},n.prototype.getCurrentResult=function(e){e===void 0&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||Se.ready,o=b(b({},t),{loading:rn(r),networkStatus:r}),a=this.options.fetchPolicy,s=a===void 0?"cache-first":a;if(!(Bl(s)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(o.data=c.result),Ne(o.data,{})&&(o.data=void 0),c.complete?(delete o.partial,c.complete&&o.networkStatus===Se.loading&&(s==="cache-first"||s==="cache-only")&&(o.networkStatus=Se.ready,o.loading=!1)):o.partial=!0,globalThis.__DEV__!==!1&&!c.complete&&!this.options.partialRefetch&&!o.loading&&!o.data&&!o.error&&Hl(c.missing)}return e&&this.updateLastResult(o),o},n.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!rs(this.query,this.last.result,e,this.variables):!Ne(this.last.result,e);return r||t&&!Ne(this.last.variables,t)},n.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||Ne(r.variables,this.variables)))return r[e]},n.prototype.getLastResult=function(e){return this.getLast("result",e)},n.prototype.getLastError=function(e){return this.getLast("error",e)},n.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},n.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},n.prototype.refetch=function(e){var t,r={pollInterval:0},o=this.options.fetchPolicy;if(o==="cache-and-network"?r.fetchPolicy=o:o==="no-cache"?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",globalThis.__DEV__!==!1&&e&&x0.call(e,"variables")){var a=uo(this.query),s=a.variableDefinitions;(!s||!s.some(function(c){return c.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&Y.warn(20,e,((t=a.name)===null||t===void 0?void 0:t.value)||a)}return e&&!Ne(this.options.variables,e)&&(r.variables=this.options.variables=b(b({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,Se.refetch)},n.prototype.fetchMore=function(e){var t=this,r=b(b({},e.query?e:b(b(b(b({},this.options),{query:this.options.query}),e),{variables:b(b({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var a=this.queryInfo,s=a.networkStatus;a.networkStatus=Se.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var c=new Set,l=e?.updateQuery,d=this.options.fetchPolicy!=="no-cache";return d||Y(l,21),this.queryManager.fetchQuery(o,r,Se.fetchMore).then(function(h){if(t.queryManager.removeQuery(o),a.networkStatus===Se.fetchMore&&(a.networkStatus=s),d)t.queryManager.cache.batch({update:function(f){var g=e.updateQuery;g?f.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(_){return g(_,{fetchMoreResult:h.data,variables:r.variables})}):f.writeQuery({query:r.query,variables:r.variables,data:h.data})},onWatchUpdated:function(f){c.add(f.query)}});else{var m=t.getLast("result"),p=l(m.data,{fetchMoreResult:h.data,variables:r.variables});t.reportResult(b(b({},m),{data:p}),t.variables)}return h}).finally(function(){d&&!c.has(t.query)&&zl(t)})},n.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(o){var a=e.updateQuery;a&&t.updateQuery(function(s,c){var l=c.variables;return a(s,{subscriptionData:o,variables:l})})},error:function(o){if(e.onError){e.onError(o);return}globalThis.__DEV__!==!1&&Y.error(22,o)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},n.prototype.setOptions=function(e){return this.reobserve(e)},n.prototype.silentSetOptions=function(e){var t=yi(this.options,e||{});Bp(this.options,t)},n.prototype.setVariables=function(e){return Ne(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},Se.setVariables):Promise.resolve())},n.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,o=e(r,{variables:this.variables});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},n.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},n.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},n.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,o=r===void 0?"cache-first":r,a=t.initialFetchPolicy,s=a===void 0?o:a;o==="standby"||(typeof t.nextFetchPolicy=="function"?t.fetchPolicy=t.nextFetchPolicy(o,{reason:e,options:t,observable:this,initialFetchPolicy:s}):e==="variables-changed"?t.fetchPolicy=s:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},n.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},n.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this,r=t.pollingInfo,o=t.options.pollInterval;if(!o||!this.hasObservers()){r&&(clearTimeout(r.timeout),delete this.pollingInfo);return}if(!(r&&r.interval===o)){Y(o,23);var a=r||(this.pollingInfo={});a.interval=o;var s=function(){var l,d;e.pollingInfo&&(!rn(e.queryInfo.networkStatus)&&!(!((d=(l=e.options).skipPollAttempt)===null||d===void 0)&&d.call(l))?e.reobserve({fetchPolicy:e.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},Se.poll).then(c,c):c())},c=function(){var l=e.pollingInfo;l&&(clearTimeout(l.timeout),l.timeout=setTimeout(s,l.interval))};c()}}},n.prototype.updateLastResult=function(e,t){t===void 0&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!Ne(t,this.last.variables)&&(r=void 0),this.last=b({result:this.queryManager.assumeImmutableResults?e:$a(e),variables:t},r?{error:r}:null)},n.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var o=t===Se.refetch||t===Se.fetchMore||t===Se.poll,a=this.options.variables,s=this.options.fetchPolicy,c=yi(this.options,e||{}),l=o?c:Bp(this.options,c),d=this.transformDocument(l.query);this.lastQuery=d,o||(this.updatePolling(),e&&e.variables&&!Ne(e.variables,a)&&l.fetchPolicy!=="standby"&&(l.fetchPolicy===s||typeof l.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",l),t===void 0&&(t=Se.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Bl(l.fetchPolicy));var h=function(){r.concast===f&&(r.waitForOwnResult=!1)},m=l.variables&&b({},l.variables),p=this.fetch(l,t,d),f=p.concast,g=p.fromLink,_={next:function(v){Ne(r.variables,m)&&(h(),r.reportResult(v,m))},error:function(v){Ne(r.variables,m)&&(is(v)||(v=new Oi({networkError:v})),h(),r.reportError(v,m))}};return!o&&(g||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=f,this.observer=_),f.addObserver(_),f},n.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},n.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t0},n.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},n.prototype.transformDocument=function(e){return this.queryManager.transform(e)},n}(xe);Ka(ps);function zl(i){var n=i.options,e=n.fetchPolicy,t=n.nextFetchPolicy;return e==="cache-and-network"||e==="network-only"?i.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(r,o){return this.nextFetchPolicy=t,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(r,o):e}}):i.reobserve()}function w0(i){globalThis.__DEV__!==!1&&Y.error(24,i.message,i.stack)}function Hl(i){globalThis.__DEV__!==!1&&i&&globalThis.__DEV__!==!1&&Y.debug(25,i)}function Bl(i){return i==="network-only"||i==="no-cache"||i==="standby"}var Ir=new(li?WeakMap:Map);function Ql(i,n){var e=i[n];typeof e=="function"&&(i[n]=function(){return Ir.set(i,(Ir.get(i)+1)%1e15),e.apply(this,arguments)})}function zp(i){i.notifyTimeout&&(clearTimeout(i.notifyTimeout),i.notifyTimeout=void 0)}var fs=function(){function i(n,e){e===void 0&&(e=n.generateQueryId()),this.queryId=e,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var t=this.cache=n.cache;Ir.has(t)||(Ir.set(t,0),Ql(t,"evict"),Ql(t,"modify"),Ql(t,"reset"))}return i.prototype.init=function(n){var e=n.networkStatus||Se.loading;return this.variables&&this.networkStatus!==Se.loading&&!Ne(this.variables,n.variables)&&(e=Se.setVariables),Ne(n.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:n.document,variables:n.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:e}),n.observableQuery&&this.setObservableQuery(n.observableQuery),n.lastRequestId&&(this.lastRequestId=n.lastRequestId),this},i.prototype.reset=function(){zp(this),this.dirty=!1},i.prototype.resetDiff=function(){this.lastDiff=void 0},i.prototype.getDiff=function(){var n=this.getDiffOptions();if(this.lastDiff&&Ne(n,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var e=this.observableQuery;if(e&&e.options.fetchPolicy==="no-cache")return{complete:!1};var t=this.cache.diff(n);return this.updateLastDiff(t,n),t},i.prototype.updateLastDiff=function(n,e){this.lastDiff=n?{diff:n,options:e||this.getDiffOptions()}:void 0},i.prototype.getDiffOptions=function(n){var e;return n===void 0&&(n=this.variables),{query:this.document,variables:n,returnPartialData:!0,optimistic:!0,canonizeResults:(e=this.observableQuery)===null||e===void 0?void 0:e.options.canonizeResults}},i.prototype.setDiff=function(n){var e=this,t,r=this.lastDiff&&this.lastDiff.diff;n&&!n.complete&&(!((t=this.observableQuery)===null||t===void 0)&&t.getLastError())||(this.updateLastDiff(n),!this.dirty&&!Ne(r&&r.result,n&&n.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0))))},i.prototype.setObservableQuery=function(n){var e=this;n!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=n,n?(n.queryInfo=this,this.listeners.add(this.oqListener=function(){var t=e.getDiff();t.fromOptimisticTransaction?n.observe():zl(n)})):delete this.oqListener)},i.prototype.notify=function(){var n=this;zp(this),this.shouldNotify()&&this.listeners.forEach(function(e){return e(n)}),this.dirty=!1},i.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(rn(this.networkStatus)&&this.observableQuery){var n=this.observableQuery.options.fetchPolicy;if(n!=="cache-only"&&n!=="cache-and-network")return!1}return!0},i.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=i.prototype.cancel;var n=this.observableQuery;n&&n.stopPolling()}},i.prototype.cancel=function(){},i.prototype.updateWatch=function(n){var e=this;n===void 0&&(n=this.variables);var t=this.observableQuery;if(!(t&&t.options.fetchPolicy==="no-cache")){var r=b(b({},this.getDiffOptions(n)),{watcher:this,callback:function(o){return e.setDiff(o)}});(!this.lastWatch||!Ne(r,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},i.prototype.resetLastWrite=function(){this.lastWrite=void 0},i.prototype.shouldWrite=function(n,e){var t=this.lastWrite;return!(t&&t.dmCount===Ir.get(this.cache)&&Ne(e,t.variables)&&Ne(n.data,t.result.data))},i.prototype.markResult=function(n,e,t,r){var o=this,a=new Vt,s=vt(n.errors)?n.errors.slice(0):[];if(this.reset(),"incremental"in n&&vt(n.incremental)){var c=Xa(this.getDiff().result,n);n.data=c}else if("hasNext"in n&&n.hasNext){var l=this.getDiff();n.data=a.merge(l.result,n.data)}this.graphQLErrors=s,t.fetchPolicy==="no-cache"?this.updateLastDiff({result:n.data,complete:!0},this.getDiffOptions(t.variables)):r!==0&&(gs(n,t.errorPolicy)?this.cache.performTransaction(function(d){if(o.shouldWrite(n,t.variables))d.writeQuery({query:e,data:n.data,variables:t.variables,overwrite:r===1}),o.lastWrite={result:n,variables:t.variables,dmCount:Ir.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){n.data=o.lastDiff.diff.result;return}var h=o.getDiffOptions(t.variables),m=d.diff(h);!o.stopped&&Ne(o.variables,t.variables)&&o.updateWatch(t.variables),o.updateLastDiff(m,h),m.complete&&(n.data=m.result)}):this.lastWrite=void 0)},i.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Se.ready},i.prototype.markError=function(n){return this.networkStatus=Se.error,this.lastWrite=void 0,this.reset(),n.graphQLErrors&&(this.graphQLErrors=n.graphQLErrors),n.networkError&&(this.networkError=n.networkError),n},i}();function gs(i,n){n===void 0&&(n="none");var e=n==="ignore"||n==="all",t=!wr(i);return!t&&e&&i.data&&(t=!0),t}var C0=Object.prototype.hasOwnProperty,Hp=Object.create(null),Qp=function(){function i(n){var e=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new pr(dt["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Qt(!1);var t=new _r(function(o){return e.cache.transformDocument(o)},{cache:!1});this.cache=n.cache,this.link=n.link,this.defaultOptions=n.defaultOptions,this.queryDeduplication=n.queryDeduplication,this.clientAwareness=n.clientAwareness,this.localState=n.localState,this.ssrMode=n.ssrMode,this.assumeImmutableResults=n.assumeImmutableResults;var r=n.documentTransform;this.documentTransform=r?t.concat(r).concat(t):t,this.defaultContext=n.defaultContext||Object.create(null),(this.onBroadcast=n.onBroadcast)&&(this.mutationStore=Object.create(null))}return i.prototype.stop=function(){var n=this;this.queries.forEach(function(e,t){n.stopQueryNoBroadcast(t)}),this.cancelPendingFetches(Be(26))},i.prototype.cancelPendingFetches=function(n){this.fetchCancelFns.forEach(function(e){return e(n)}),this.fetchCancelFns.clear()},i.prototype.mutate=function(n){return ni(this,arguments,void 0,function(e){var t,r,o,a,s,c,l,d=e.mutation,h=e.variables,m=e.optimisticResponse,p=e.updateQueries,f=e.refetchQueries,g=f===void 0?[]:f,_=e.awaitRefetchQueries,v=_===void 0?!1:_,M=e.update,y=e.onQueryUpdated,q=e.fetchPolicy,U=q===void 0?((c=this.defaultOptions.mutate)===null||c===void 0?void 0:c.fetchPolicy)||"network-only":q,J=e.errorPolicy,be=J===void 0?((l=this.defaultOptions.mutate)===null||l===void 0?void 0:l.errorPolicy)||"none":J,_e=e.keepRootFields,ze=e.context;return ri(this,function(et){switch(et.label){case 0:return Y(d,27),Y(U==="network-only"||U==="no-cache",28),t=this.generateMutationId(),d=this.cache.transformForLink(this.transform(d)),r=this.getDocumentInfo(d).hasClientExports,h=this.getVariables(d,h),r?[4,this.localState.addExportedVariables(d,h,ze)]:[3,2];case 1:h=et.sent(),et.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:d,variables:h,loading:!0,error:null}),a=m&&this.markMutationOptimistic(m,{mutationId:t,document:d,variables:h,fetchPolicy:U,errorPolicy:be,context:ze,updateQueries:p,update:M,keepRootFields:_e}),this.broadcastQueries(),s=this,[2,new Promise(function(Wn,Gn){return Ya(s.getObservableFromLink(d,b(b({},ze),{optimisticResponse:a?m:void 0}),h,{},!1),function(_t){if(wr(_t)&&be==="none")throw new Oi({graphQLErrors:Za(_t)});o&&(o.loading=!1,o.error=null);var ji=b({},_t);return typeof g=="function"&&(g=g(ji)),be==="ignore"&&wr(ji)&&delete ji.errors,s.markMutationResult({mutationId:t,result:ji,document:d,variables:h,fetchPolicy:U,errorPolicy:be,context:ze,update:M,updateQueries:p,awaitRefetchQueries:v,refetchQueries:g,removeOptimistic:a?t:void 0,onQueryUpdated:y,keepRootFields:_e})}).subscribe({next:function(_t){s.broadcastQueries(),(!("hasNext"in _t)||_t.hasNext===!1)&&Wn(_t)},error:function(_t){o&&(o.loading=!1,o.error=_t),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),Gn(_t instanceof Oi?_t:new Oi({networkError:_t}))}})})]}})})},i.prototype.markMutationResult=function(n,e){var t=this;e===void 0&&(e=this.cache);var r=n.result,o=[],a=n.fetchPolicy==="no-cache";if(!a&&gs(r,n.errorPolicy)){if(en(r)||o.push({result:r.data,dataId:"ROOT_MUTATION",query:n.document,variables:n.variables}),en(r)&&vt(r.incremental)){var s=e.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(n.document).asQuery,variables:n.variables,optimistic:!1,returnPartialData:!0}),c=void 0;s.result&&(c=Xa(s.result,r)),typeof c<"u"&&(r.data=c,o.push({result:c,dataId:"ROOT_MUTATION",query:n.document,variables:n.variables}))}var l=n.updateQueries;l&&this.queries.forEach(function(h,m){var p=h.observableQuery,f=p&&p.queryName;if(!(!f||!C0.call(l,f))){var g=l[f],_=t.queries.get(m),v=_.document,M=_.variables,y=e.diff({query:v,variables:M,returnPartialData:!0,optimistic:!1}),q=y.result,U=y.complete;if(U&&q){var J=g(q,{mutationResult:r,queryName:v&&gr(v)||void 0,queryVariables:M});J&&o.push({result:J,dataId:"ROOT_QUERY",query:v,variables:M})}}})}if(o.length>0||(n.refetchQueries||"").length>0||n.update||n.onQueryUpdated||n.removeOptimistic){var d=[];if(this.refetchQueries({updateCache:function(h){a||o.forEach(function(g){return h.write(g)});var m=n.update,p=!Wm(r)||en(r)&&!r.hasNext;if(m){if(!a){var f=h.diff({id:"ROOT_MUTATION",query:t.getDocumentInfo(n.document).asQuery,variables:n.variables,optimistic:!1,returnPartialData:!0});f.complete&&(r=b(b({},r),{data:f.result}),"incremental"in r&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}p&&m(h,r,{context:n.context,variables:n.variables})}!a&&!n.keepRootFields&&p&&h.modify({id:"ROOT_MUTATION",fields:function(g,_){var v=_.fieldName,M=_.DELETE;return v==="__typename"?g:M}})},include:n.refetchQueries,optimistic:!1,removeOptimistic:n.removeOptimistic,onQueryUpdated:n.onQueryUpdated||null}).forEach(function(h){return d.push(h)}),n.awaitRefetchQueries||n.onQueryUpdated)return Promise.all(d).then(function(){return r})}return Promise.resolve(r)},i.prototype.markMutationOptimistic=function(n,e){var t=this,r=typeof n=="function"?n(e.variables,{IGNORE:Hp}):n;return r===Hp?!1:(this.cache.recordOptimisticTransaction(function(o){try{t.markMutationResult(b(b({},e),{result:{data:r}}),o)}catch(a){globalThis.__DEV__!==!1&&Y.error(a)}},e.mutationId),!0)},i.prototype.fetchQuery=function(n,e,t){return this.fetchConcastWithInfo(n,e,t).concast.promise},i.prototype.getQueryStore=function(){var n=Object.create(null);return this.queries.forEach(function(e,t){n[t]={variables:e.variables,networkStatus:e.networkStatus,networkError:e.networkError,graphQLErrors:e.graphQLErrors}}),n},i.prototype.resetErrors=function(n){var e=this.queries.get(n);e&&(e.networkError=void 0,e.graphQLErrors=[])},i.prototype.transform=function(n){return this.documentTransform.transformDocument(n)},i.prototype.getDocumentInfo=function(n){var e=this.transformCache;if(!e.has(n)){var t={hasClientExports:qc(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),hasNonreactiveDirective:Ei(["nonreactive"],n),clientQuery:this.localState.clientQuery(n),serverQuery:qa([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],n),defaultVars:Dn(_i(n)),asQuery:b(b({},n),{definitions:n.definitions.map(function(r){return r.kind==="OperationDefinition"&&r.operation!=="query"?b(b({},r),{operation:"query"}):r})})};e.set(n,t)}return e.get(n)},i.prototype.getVariables=function(n,e){return b(b({},this.getDocumentInfo(n).defaultVars),e)},i.prototype.watchQuery=function(n){var e=this.transform(n.query);n=b(b({},n),{variables:this.getVariables(e,n.variables)}),typeof n.notifyOnNetworkStatusChange>"u"&&(n.notifyOnNetworkStatusChange=!1);var t=new fs(this),r=new ps({queryManager:this,queryInfo:t,options:n});return r.lastQuery=e,this.queries.set(r.queryId,t),t.init({document:e,observableQuery:r,variables:r.variables}),r},i.prototype.query=function(n,e){var t=this;return e===void 0&&(e=this.generateQueryId()),Y(n.query,29),Y(n.query.kind==="Document",30),Y(!n.returnPartialData,31),Y(!n.pollInterval,32),this.fetchQuery(e,b(b({},n),{query:this.transform(n.query)})).finally(function(){return t.stopQuery(e)})},i.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},i.prototype.generateRequestId=function(){return this.requestIdCounter++},i.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},i.prototype.stopQueryInStore=function(n){this.stopQueryInStoreNoBroadcast(n),this.broadcastQueries()},i.prototype.stopQueryInStoreNoBroadcast=function(n){var e=this.queries.get(n);e&&e.stop()},i.prototype.clearStore=function(n){return n===void 0&&(n={discardWatches:!0}),this.cancelPendingFetches(Be(33)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=Se.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(n)},i.prototype.getObservableQueries=function(n){var e=this;n===void 0&&(n="active");var t=new Map,r=new Map,o=new Set;return Array.isArray(n)&&n.forEach(function(a){typeof a=="string"?r.set(a,!1):Zc(a)?r.set(e.transform(a),!1):Ie(a)&&a.query&&o.add(a)}),this.queries.forEach(function(a,s){var c=a.observableQuery,l=a.document;if(c){if(n==="all"){t.set(s,c);return}var d=c.queryName,h=c.options.fetchPolicy;if(h==="standby"||n==="active"&&!c.hasObservers())return;(n==="active"||d&&r.has(d)||l&&r.has(l))&&(t.set(s,c),d&&r.set(d,!0),l&&r.set(l,!0))}}),o.size&&o.forEach(function(a){var s=no("legacyOneTimeQuery"),c=e.getQuery(s).init({document:a.query,variables:a.variables}),l=new ps({queryManager:e,queryInfo:c,options:b(b({},a),{fetchPolicy:"network-only"})});Y(l.queryId===s),c.setObservableQuery(l),t.set(s,l)}),globalThis.__DEV__!==!1&&r.size&&r.forEach(function(a,s){a||globalThis.__DEV__!==!1&&Y.warn(typeof s=="string"?34:35,s)}),t},i.prototype.reFetchObservableQueries=function(n){var e=this;n===void 0&&(n=!1);var t=[];return this.getObservableQueries(n?"all":"active").forEach(function(r,o){var a=r.options.fetchPolicy;r.resetLastResults(),(n||a!=="standby"&&a!=="cache-only")&&t.push(r.refetch()),e.getQuery(o).setDiff(null)}),this.broadcastQueries(),Promise.all(t)},i.prototype.setObservableQuery=function(n){this.getQuery(n.queryId).setObservableQuery(n)},i.prototype.startGraphQLSubscription=function(n){var e=this,t=n.query,r=n.fetchPolicy,o=n.errorPolicy,a=o===void 0?"none":o,s=n.variables,c=n.context,l=c===void 0?{}:c,d=n.extensions,h=d===void 0?{}:d;t=this.transform(t),s=this.getVariables(t,s);var m=function(f){return e.getObservableFromLink(t,l,f,h).map(function(g){r!=="no-cache"&&(gs(g,a)&&e.cache.write({query:t,result:g.data,dataId:"ROOT_SUBSCRIPTION",variables:f}),e.broadcastQueries());var _=wr(g),v=Km(g);if(_||v){var M={};if(_&&(M.graphQLErrors=g.errors),v&&(M.protocolErrors=g.extensions[wo]),a==="none"||v)throw new Oi(M)}return a==="ignore"&&delete g.errors,g})};if(this.getDocumentInfo(t).hasClientExports){var p=this.localState.addExportedVariables(t,s,l).then(m);return new xe(function(f){var g=null;return p.then(function(_){return g=_.subscribe(f)},f.error),function(){return g&&g.unsubscribe()}})}return m(s)},i.prototype.stopQuery=function(n){this.stopQueryNoBroadcast(n),this.broadcastQueries()},i.prototype.stopQueryNoBroadcast=function(n){this.stopQueryInStoreNoBroadcast(n),this.removeQuery(n)},i.prototype.removeQuery=function(n){this.fetchCancelFns.delete(n),this.queries.has(n)&&(this.getQuery(n).stop(),this.queries.delete(n))},i.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(n){return n.notify()})},i.prototype.getLocalState=function(){return this.localState},i.prototype.getObservableFromLink=function(n,e,t,r,o){var a=this,s;o===void 0&&(o=(s=e?.queryDeduplication)!==null&&s!==void 0?s:this.queryDeduplication);var c,l=this.getDocumentInfo(n),d=l.serverQuery,h=l.clientQuery;if(d){var m=this,p=m.inFlightLinkObservables,f=m.link,g={query:d,variables:t,operationName:gr(d)||void 0,context:this.prepareContext(b(b({},e),{forceFetch:!o})),extensions:r};if(e=g.context,o){var _=Ji(d),v=Mt(t),M=p.lookup(_,v);if(c=M.observable,!c){var y=new An([Cr(f,g)]);c=M.observable=y,y.beforeNext(function(){p.remove(_,v)})}}else c=new An([Cr(f,g)])}else c=new An([xe.of({data:{}})]),e=this.prepareContext(e);return h&&(c=Ya(c,function(q){return a.localState.runResolvers({document:h,remoteResult:q,context:e,variables:t})})),c},i.prototype.getResultsFromLink=function(n,e,t){var r=n.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(t.query);return Ya(this.getObservableFromLink(o,t.context,t.variables),function(a){var s=Za(a),c=s.length>0,l=t.errorPolicy;if(r>=n.lastRequestId){if(c&&l==="none")throw n.markError(new Oi({graphQLErrors:s}));n.markResult(a,o,t,e),n.markReady()}var d={data:a.data,loading:!1,networkStatus:Se.ready};return c&&l==="none"&&(d.data=void 0),c&&l!=="ignore"&&(d.errors=s,d.networkStatus=Se.error),d},function(a){var s=is(a)?a:new Oi({networkError:a});throw r>=n.lastRequestId&&n.markError(s),s})},i.prototype.fetchConcastWithInfo=function(n,e,t,r){var o=this;t===void 0&&(t=Se.loading),r===void 0&&(r=e.query);var a=this.getVariables(r,e.variables),s=this.getQuery(n),c=this.defaultOptions.watchQuery,l=e.fetchPolicy,d=l===void 0?c&&c.fetchPolicy||"cache-first":l,h=e.errorPolicy,m=h===void 0?c&&c.errorPolicy||"none":h,p=e.returnPartialData,f=p===void 0?!1:p,g=e.notifyOnNetworkStatusChange,_=g===void 0?!1:g,v=e.context,M=v===void 0?{}:v,y=Object.assign({},e,{query:r,variables:a,fetchPolicy:d,errorPolicy:m,returnPartialData:f,notifyOnNetworkStatusChange:_,context:M}),q=function(ze){y.variables=ze;var et=o.fetchQueryByPolicy(s,y,t);return y.fetchPolicy!=="standby"&&et.sources.length>0&&s.observableQuery&&s.observableQuery.applyNextFetchPolicy("after-fetch",e),et},U=function(){return o.fetchCancelFns.delete(n)};this.fetchCancelFns.set(n,function(ze){U(),setTimeout(function(){return J.cancel(ze)})});var J,be;if(this.getDocumentInfo(y.query).hasClientExports)J=new An(this.localState.addExportedVariables(y.query,y.variables,y.context).then(q).then(function(ze){return ze.sources})),be=!0;else{var _e=q(y.variables);be=_e.fromLink,J=new An(_e.sources)}return J.promise.then(U,U),{concast:J,fromLink:be}},i.prototype.refetchQueries=function(n){var e=this,t=n.updateCache,r=n.include,o=n.optimistic,a=o===void 0?!1:o,s=n.removeOptimistic,c=s===void 0?a?no("refetchQueries"):void 0:s,l=n.onQueryUpdated,d=new Map;r&&this.getObservableQueries(r).forEach(function(m,p){d.set(p,{oq:m,lastDiff:e.getQuery(p).getDiff()})});var h=new Map;return t&&this.cache.batch({update:t,optimistic:a&&c||!1,removeOptimistic:c,onWatchUpdated:function(m,p,f){var g=m.watcher instanceof fs&&m.watcher.observableQuery;if(g){if(l){d.delete(g.queryId);var _=l(g,p,f);return _===!0&&(_=g.refetch()),_!==!1&&h.set(g,_),_}l!==null&&d.set(g.queryId,{oq:g,lastDiff:f,diff:p})}}}),d.size&&d.forEach(function(m,p){var f=m.oq,g=m.lastDiff,_=m.diff,v;if(l){if(!_){var M=f.queryInfo;M.reset(),_=M.getDiff()}v=l(f,_,g)}(!l||v===!0)&&(v=f.refetch()),v!==!1&&h.set(f,v),p.indexOf("legacyOneTimeQuery")>=0&&e.stopQueryNoBroadcast(p)}),c&&this.cache.removeOptimistic(c),h},i.prototype.fetchQueryByPolicy=function(n,e,t){var r=this,o=e.query,a=e.variables,s=e.fetchPolicy,c=e.refetchWritePolicy,l=e.errorPolicy,d=e.returnPartialData,h=e.context,m=e.notifyOnNetworkStatusChange,p=n.networkStatus;n.init({document:o,variables:a,networkStatus:t});var f=function(){return n.getDiff()},g=function(q,U){U===void 0&&(U=n.networkStatus||Se.loading);var J=q.result;globalThis.__DEV__!==!1&&!d&&!Ne(J,{})&&Hl(q.missing);var be=function(_e){return xe.of(b({data:_e,loading:rn(U),networkStatus:U},q.complete?null:{partial:!0}))};return J&&r.getDocumentInfo(o).hasForcedResolvers?r.localState.runResolvers({document:o,remoteResult:{data:J},context:h,variables:a,onlyRunForcedResolvers:!0}).then(function(_e){return be(_e.data||void 0)}):l==="none"&&U===Se.refetch&&Array.isArray(q.missing)?be(void 0):be(J)},_=s==="no-cache"?0:t===Se.refetch&&c!=="merge"?1:2,v=function(){return r.getResultsFromLink(n,_,{query:o,variables:a,context:h,fetchPolicy:s,errorPolicy:l})},M=m&&typeof p=="number"&&p!==t&&rn(t);switch(s){default:case"cache-first":{var y=f();return y.complete?{fromLink:!1,sources:[g(y,n.markReady())]}:d||M?{fromLink:!0,sources:[g(y),v()]}:{fromLink:!0,sources:[v()]}}case"cache-and-network":{var y=f();return y.complete||d||M?{fromLink:!0,sources:[g(y),v()]}:{fromLink:!0,sources:[v()]}}case"cache-only":return{fromLink:!1,sources:[g(f(),n.markReady())]};case"network-only":return M?{fromLink:!0,sources:[g(f()),v()]}:{fromLink:!0,sources:[v()]};case"no-cache":return M?{fromLink:!0,sources:[g(n.getDiff()),v()]}:{fromLink:!0,sources:[v()]};case"standby":return{fromLink:!1,sources:[]}}},i.prototype.getQuery=function(n){return n&&!this.queries.has(n)&&this.queries.set(n,new fs(this,n)),this.queries.get(n)},i.prototype.prepareContext=function(n){n===void 0&&(n={});var e=this.localState.prepareContext(n);return b(b(b({},this.defaultContext),e),{clientAwareness:this.clientAwareness})},i}();var Up=function(){function i(n){var e=n.cache,t=n.client,r=n.resolvers,o=n.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=e,t&&(this.client=t),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return i.prototype.addResolvers=function(n){var e=this;this.resolvers=this.resolvers||{},Array.isArray(n)?n.forEach(function(t){e.resolvers=al(e.resolvers,t)}):this.resolvers=al(this.resolvers,n)},i.prototype.setResolvers=function(n){this.resolvers={},this.addResolvers(n)},i.prototype.getResolvers=function(){return this.resolvers||{}},i.prototype.runResolvers=function(n){return ni(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,o=e.context,a=e.variables,s=e.onlyRunForcedResolvers,c=s===void 0?!1:s;return ri(this,function(l){return t?[2,this.resolveDocument(t,r.data,o,a,this.fragmentMatcher,c).then(function(d){return b(b({},r),{data:d.result})})]:[2,r]})})},i.prototype.setFragmentMatcher=function(n){this.fragmentMatcher=n},i.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},i.prototype.clientQuery=function(n){return Ei(["client"],n)&&this.resolvers?n:null},i.prototype.serverQuery=function(n){return go(n)},i.prototype.prepareContext=function(n){var e=this.cache;return b(b({},n),{cache:e,getCacheKey:function(t){return e.identify(t)}})},i.prototype.addExportedVariables=function(n){return ni(this,arguments,void 0,function(e,t,r){return t===void 0&&(t={}),r===void 0&&(r={}),ri(this,function(o){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(a){return b(b({},t),a.exportedVariables)})]:[2,b({},t)]})})},i.prototype.shouldForceResolvers=function(n){var e=!1;return wt(n,{Directive:{enter:function(t){if(t.name.value==="client"&&t.arguments&&(e=t.arguments.some(function(r){return r.name.value==="always"&&r.value.kind==="BooleanValue"&&r.value.value===!0}),e))return Cn}}}),e},i.prototype.buildRootValueFromCache=function(n,e){return this.cache.diff({query:ol(n),variables:e,returnPartialData:!0,optimistic:!1}).result},i.prototype.resolveDocument=function(n,e){return ni(this,arguments,void 0,function(t,r,o,a,s,c){var l,d,h,m,p,f,g,_,v,M,y;return o===void 0&&(o={}),a===void 0&&(a={}),s===void 0&&(s=function(){return!0}),c===void 0&&(c=!1),ri(this,function(q){return l=di(t),d=Mi(t),h=Ii(d),m=this.collectSelectionsToResolve(l,h),p=l.operation,f=p?p.charAt(0).toUpperCase()+p.slice(1):"Query",g=this,_=g.cache,v=g.client,M={fragmentMap:h,context:b(b({},o),{cache:_,client:v}),variables:a,fragmentMatcher:s,defaultOperationType:f,exportedVariables:{},selectionsToResolve:m,onlyRunForcedResolvers:c},y=!1,[2,this.resolveSelectionSet(l.selectionSet,y,r,M).then(function(U){return{result:U,exportedVariables:M.exportedVariables}})]})})},i.prototype.resolveSelectionSet=function(n,e,t,r){return ni(this,void 0,void 0,function(){var o,a,s,c,l,d=this;return ri(this,function(h){return o=r.fragmentMap,a=r.context,s=r.variables,c=[t],l=function(m){return ni(d,void 0,void 0,function(){var p,f;return ri(this,function(g){return!e&&!r.selectionsToResolve.has(m)?[2]:ci(m,s)?At(m)?[2,this.resolveField(m,e,t,r).then(function(_){var v;typeof _<"u"&&c.push((v={},v[jt(m)]=_,v))})]:(el(m)?p=m:(p=o[m.name.value],Y(p,18,m.name.value)),p&&p.typeCondition&&(f=p.typeCondition.name.value,r.fragmentMatcher(t,f,a))?[2,this.resolveSelectionSet(p.selectionSet,e,t,r).then(function(_){c.push(_)})]:[2]):[2]})})},[2,Promise.all(n.selections.map(l)).then(function(){return Tn(c)})]})})},i.prototype.resolveField=function(n,e,t,r){return ni(this,void 0,void 0,function(){var o,a,s,c,l,d,h,m,p,f=this;return ri(this,function(g){return t?(o=r.variables,a=n.name.value,s=jt(n),c=a!==s,l=t[s]||t[a],d=Promise.resolve(l),(!r.onlyRunForcedResolvers||this.shouldForceResolvers(n))&&(h=t.__typename||r.defaultOperationType,m=this.resolvers&&this.resolvers[h],m&&(p=m[c?a:s],p&&(d=Promise.resolve(Dr.withValue(this.cache,p,[t,Ti(n,o),r.context,{field:n,fragmentMap:r.fragmentMap}]))))),[2,d.then(function(_){var v,M;if(_===void 0&&(_=l),n.directives&&n.directives.forEach(function(q){q.name.value==="export"&&q.arguments&&q.arguments.forEach(function(U){U.name.value==="as"&&U.value.kind==="StringValue"&&(r.exportedVariables[U.value.value]=_)})}),!n.selectionSet||_==null)return _;var y=(M=(v=n.directives)===null||v===void 0?void 0:v.some(function(q){return q.name.value==="client"}))!==null&&M!==void 0?M:!1;if(Array.isArray(_))return f.resolveSubSelectedArray(n,e||y,_,r);if(n.selectionSet)return f.resolveSelectionSet(n.selectionSet,e||y,_,r)})]):[2,null]})})},i.prototype.resolveSubSelectedArray=function(n,e,t,r){var o=this;return Promise.all(t.map(function(a){if(a===null)return null;if(Array.isArray(a))return o.resolveSubSelectedArray(n,e,a,r);if(n.selectionSet)return o.resolveSelectionSet(n.selectionSet,e,a,r)}))},i.prototype.collectSelectionsToResolve=function(n,e){var t=function(a){return!Array.isArray(a)},r=this.selectionsToResolveCache;function o(a){if(!r.has(a)){var s=new Set;r.set(a,s),wt(a,{Directive:function(c,l,d,h,m){c.name.value==="client"&&m.forEach(function(p){t(p)&&so(p)&&s.add(p)})},FragmentSpread:function(c,l,d,h,m){var p=e[c.name.value];Y(p,19,c.name.value);var f=o(p);f.size>0&&(m.forEach(function(g){t(g)&&so(g)&&s.add(g)}),s.add(c),f.forEach(function(g){s.add(g)}))}})}return r.get(a)}return o(n)},i}();var qp=!1;var So=function(){function i(n){var e=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!n.cache)throw Be(15);var t=n.uri,r=n.credentials,o=n.headers,a=n.cache,s=n.documentTransform,c=n.ssrMode,l=c===void 0?!1:c,d=n.ssrForceFetchDelay,h=d===void 0?0:d,m=n.connectToDevTools,p=n.queryDeduplication,f=p===void 0?!0:p,g=n.defaultOptions,_=n.defaultContext,v=n.assumeImmutableResults,M=v===void 0?a.assumeImmutableResults:v,y=n.resolvers,q=n.typeDefs,U=n.fragmentMatcher,J=n.name,be=n.version,_e=n.devtools,ze=n.link;ze||(ze=t?new Cl({uri:t,credentials:r,headers:o}):Xt.empty()),this.link=ze,this.cache=a,this.disableNetworkFetches=l||h>0,this.queryDeduplication=f,this.defaultOptions=g||Object.create(null),this.typeDefs=q,this.devtoolsConfig=b(b({},_e),{enabled:_e?.enabled||m}),this.devtoolsConfig.enabled===void 0&&(this.devtoolsConfig.enabled=globalThis.__DEV__!==!1),h&&setTimeout(function(){return e.disableNetworkFetches=!1},h),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=io,this.localState=new Up({cache:a,client:this,resolvers:y,fragmentMatcher:U}),this.queryManager=new Qp({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:_,documentTransform:s,queryDeduplication:f,ssrMode:l,clientAwareness:{name:J,version:be},localState:this.localState,assumeImmutableResults:M,onBroadcast:this.devtoolsConfig.enabled?function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager.getQueryStore(),mutations:e.queryManager.mutationStore||{}},dataWithOptimisticResults:e.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return i.prototype.connectToDevTools=function(){if(!(typeof window>"u")){var n=window,e=Symbol.for("apollo.devtools");(n[e]=n[e]||[]).push(this),n.__APOLLO_CLIENT__=this,!qp&&globalThis.__DEV__!==!1&&(qp=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var t=window.navigator,r=t&&t.userAgent,o=void 0;typeof r=="string"&&(r.indexOf("Chrome/")>-1?o="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":r.indexOf("Firefox/")>-1&&(o="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),o&&globalThis.__DEV__!==!1&&Y.log("Download the Apollo DevTools for a better development experience: %s",o)}},1e4))}},Object.defineProperty(i.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),i.prototype.stop=function(){this.queryManager.stop()},i.prototype.watchQuery=function(n){return this.defaultOptions.watchQuery&&(n=_o(this.defaultOptions.watchQuery,n)),this.disableNetworkFetches&&(n.fetchPolicy==="network-only"||n.fetchPolicy==="cache-and-network")&&(n=b(b({},n),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(n)},i.prototype.query=function(n){return this.defaultOptions.query&&(n=_o(this.defaultOptions.query,n)),Y(n.fetchPolicy!=="cache-and-network",16),this.disableNetworkFetches&&n.fetchPolicy==="network-only"&&(n=b(b({},n),{fetchPolicy:"cache-first"})),this.queryManager.query(n)},i.prototype.mutate=function(n){return this.defaultOptions.mutate&&(n=_o(this.defaultOptions.mutate,n)),this.queryManager.mutate(n)},i.prototype.subscribe=function(n){return this.queryManager.startGraphQLSubscription(n)},i.prototype.readQuery=function(n,e){return e===void 0&&(e=!1),this.cache.readQuery(n,e)},i.prototype.watchFragment=function(n){return this.cache.watchFragment(n)},i.prototype.readFragment=function(n,e){return e===void 0&&(e=!1),this.cache.readFragment(n,e)},i.prototype.writeQuery=function(n){var e=this.cache.writeQuery(n);return n.broadcast!==!1&&this.queryManager.broadcastQueries(),e},i.prototype.writeFragment=function(n){var e=this.cache.writeFragment(n);return n.broadcast!==!1&&this.queryManager.broadcastQueries(),e},i.prototype.__actionHookForDevTools=function(n){this.devToolsHookCb=n},i.prototype.__requestRaw=function(n){return Cr(this.link,n)},i.prototype.resetStore=function(){var n=this;return Promise.resolve().then(function(){return n.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(n.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return n.reFetchObservableQueries()})},i.prototype.clearStore=function(){var n=this;return Promise.resolve().then(function(){return n.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(n.clearStoreCallbacks.map(function(e){return e()}))})},i.prototype.onResetStore=function(n){var e=this;return this.resetStoreCallbacks.push(n),function(){e.resetStoreCallbacks=e.resetStoreCallbacks.filter(function(t){return t!==n})}},i.prototype.onClearStore=function(n){var e=this;return this.clearStoreCallbacks.push(n),function(){e.clearStoreCallbacks=e.clearStoreCallbacks.filter(function(t){return t!==n})}},i.prototype.reFetchObservableQueries=function(n){return this.queryManager.reFetchObservableQueries(n)},i.prototype.refetchQueries=function(n){var e=this.queryManager.refetchQueries(n),t=[],r=[];e.forEach(function(a,s){t.push(s),r.push(a)});var o=Promise.all(r);return o.queries=t,o.results=r,o.catch(function(a){globalThis.__DEV__!==!1&&Y.debug(17,a)}),o},i.prototype.getObservableQueries=function(n){return n===void 0&&(n="active"),this.queryManager.getObservableQueries(n)},i.prototype.extract=function(n){return this.cache.extract(n)},i.prototype.restore=function(n){return this.cache.restore(n)},i.prototype.addResolvers=function(n){this.localState.addResolvers(n)},i.prototype.setResolvers=function(n){this.localState.setResolvers(n)},i.prototype.getResolvers=function(){return this.localState.getResolvers()},i.prototype.setLocalStateFragmentMatcher=function(n){this.localState.setFragmentMatcher(n)},i.prototype.setLink=function(n){this.link=this.queryManager.link=n},Object.defineProperty(i.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),i}();globalThis.__DEV__!==!1&&(So.prototype.getMemoryInternals=lm);var bs=new Map,Ul=new Map,Wp=!0,vs=!1;function Gp(i){return i.replace(/[\s,]+/g," ").trim()}function k0(i){return Gp(i.source.body.substring(i.start,i.end))}function D0(i){var n=new Set,e=[];return i.definitions.forEach(function(t){if(t.kind==="FragmentDefinition"){var r=t.name.value,o=k0(t.loc),a=Ul.get(r);a&&!a.has(o)?Wp&&console.warn("Warning: fragment with name "+r+` already exists. +`),M=o0(_.slice(0,v)),y=M["content-type"],y&&y.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(q=_.slice(v),q){if(U=Jm(i,q),Object.keys(U).length>1||"data"in U||"incremental"in U||"errors"in U||"payload"in U)if(Gm(U)){if(J={},"payload"in U){if(Object.keys(U).length===1&&U.payload===null)return[2];J=b({},U.payload)}"errors"in U&&(J=b(b({},J),{extensions:b(b({},"extensions"in J?J.extensions:null),(_e={},_e[Co]=U.errors,_e))})),n(J)}else n(U);else if(Object.keys(U).length===1&&"hasNext"in U&&!U.hasNext)return[2]}g=s.indexOf(a)}return[3,1];case 3:return[2]}})})}function o0(i){var n={};return i.split(` +`).forEach(function(e){var t=e.indexOf(":");if(t>-1){var r=e.slice(0,t).trim().toLowerCase(),o=e.slice(t+1).trim();n[r]=o}}),n}function Jm(i,n){if(i.status>=300){var e=function(){try{return JSON.parse(n)}catch{return n}};Ja(i,e(),"Response not successful: Received status code ".concat(i.status))}try{return JSON.parse(n)}catch(r){var t=r;throw t.name="ServerParseError",t.response=i,t.statusCode=i.status,t.bodyText=n,t}}function ep(i,n){i.result&&i.result.errors&&i.result.data&&n.next(i.result),n.error(i)}function tp(i){return function(n){return n.text().then(function(e){return Jm(n,e)}).then(function(e){return!Array.isArray(e)&&!Xm.call(e,"data")&&!Xm.call(e,"errors")&&Ja(n,e,"Server response was missing for query '".concat(Array.isArray(i)?i.map(function(t){return t.operationName}):i.operationName,"'.")),e})}}var ko=function(i,n){var e;try{e=JSON.stringify(i)}catch(r){var t=Be(40,n,r.message);throw t.parseError=r,t}return e};var a0={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},s0={accept:"*/*","content-type":"application/json"},c0={method:"POST"},ip={http:a0,headers:s0,options:c0},np=function(i,n){return n(i)};function rp(i,n){for(var e=[],t=2;t"u")throw Be(38)};var ap=function(i,n){var e=i.getContext(),t=e.uri;return t||(typeof n=="function"?n(i):n||"/graphql")};function sp(i,n){var e=[],t=function(h,m){e.push("".concat(h,"=").concat(encodeURIComponent(m)))};if("query"in n&&t("query",n.query),n.operationName&&t("operationName",n.operationName),n.variables){var r=void 0;try{r=ko(n.variables,"Variables map")}catch(h){return{parseError:h}}t("variables",r)}if(n.extensions){var o=void 0;try{o=ko(n.extensions,"Extensions map")}catch(h){return{parseError:h}}t("extensions",o)}var a="",s=i,c=i.indexOf("#");c!==-1&&(a=i.substr(c),s=i.substr(0,c));var l=s.indexOf("?")===-1?"?":"&",d=s+l+e.join("&")+a;return{newURI:d}}var cp=xt(function(){return fetch}),lp=function(i){i===void 0&&(i={});var n=i.uri,e=n===void 0?"/graphql":n,t=i.fetch,r=i.print,o=r===void 0?np:r,a=i.includeExtensions,s=i.preserveHeaderCase,c=i.useGETForQueries,l=i.includeUnusedVariables,d=l===void 0?!1:l,h=Pt(i,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&op(t||cp);var m={http:{includeExtensions:a,preserveHeaderCase:s},options:h.fetchOptions,credentials:h.credentials,headers:h.headers};return new Xt(function(p){var f=ap(p,e),g=p.getContext(),_={};if(g.clientAwareness){var v=g.clientAwareness,M=v.name,y=v.version;M&&(_["apollographql-client-name"]=M),y&&(_["apollographql-client-version"]=y)}var q=b(b({},_),g.headers),U={http:g.http,options:g.fetchOptions,credentials:g.credentials,headers:q};if(Ei(["client"],p.query)){var J=bo(p.query);if(!J)return xo(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));p.query=J}var be=rp(p,o,ip,m,U),_e=be.options,ze=be.body;ze.variables&&!d&&(ze.variables=_l(ze.variables,p.query));var et;!_e.signal&&typeof AbortController<"u"&&(et=new AbortController,_e.signal=et.signal);var Wn=function(qt){return qt.kind==="OperationDefinition"&&qt.operation==="mutation"},Gn=function(qt){return qt.kind==="OperationDefinition"&&qt.operation==="subscription"},_t=Gn(di(p.query)),ji=Ei(["defer"],p.query);if(c&&!p.query.definitions.some(Wn)&&(_e.method="GET"),ji||_t){_e.headers=_e.headers||{};var ec="multipart/mixed;";_t&&ji&&globalThis.__DEV__!==!1&&Y.warn(39),_t?ec+="boundary=graphql;subscriptionSpec=1.0,application/json":ji&&(ec+="deferSpec=20220824,application/json"),_e.headers.accept=ec}if(_e.method==="GET"){var hu=sp(f,ze),$b=hu.newURI,mu=hu.parseError;if(mu)return xo(mu);f=$b}else try{_e.body=ko(ze,"Payload")}catch(qt){return xo(qt)}return new we(function(qt){var Yb=t||xt(function(){return fetch})||cp,pu=qt.next.bind(qt);return Yb(f,_e).then(function($n){var tc;p.setContext({response:$n});var fu=(tc=$n.headers)===null||tc===void 0?void 0:tc.get("content-type");return fu!==null&&/^multipart\/mixed/i.test(fu)?Zm($n,pu):tp(p)($n).then(pu)}).then(function(){et=void 0,qt.complete()}).catch(function($n){et=void 0,ep($n,qt)}),function(){et&&et.abort()}})})};var Cl=function(i){mt(n,i);function n(e){e===void 0&&(e={});var t=i.call(this,lp(e).request)||this;return t.options=e,t}return n}(Xt);var{toString:dp,hasOwnProperty:d0}=Object.prototype,up=Function.prototype.toString,kl=new Map;function Ne(i,n){try{return Dl(i,n)}finally{kl.clear()}}var El=Ne;function Dl(i,n){if(i===n)return!0;let e=dp.call(i),t=dp.call(n);if(e!==t)return!1;switch(e){case"[object Array]":if(i.length!==n.length)return!1;case"[object Object]":{if(mp(i,n))return!0;let r=hp(i),o=hp(n),a=r.length;if(a!==o.length)return!1;for(let s=0;s=0&&i.indexOf(n,e)===e}function mp(i,n){let e=kl.get(i);if(e){if(e.has(n))return!0}else kl.set(i,e=new Set);return e.add(n),!1}function rs(i,n,e,t){var r=n.data,o=Pt(n,["data"]),a=e.data,s=Pt(e,["data"]);return El(o,s)&&ns(di(i).selectionSet,r,a,{fragmentMap:Ii(Mi(i)),variables:t})}function ns(i,n,e,t){if(n===e)return!0;var r=new Set;return i.selections.every(function(o){if(r.has(o)||(r.add(o),!ci(o,t.variables))||pp(o))return!0;if(At(o)){var a=jt(o),s=n&&n[a],c=e&&e[a],l=o.selectionSet;if(!l)return El(s,c);var d=Array.isArray(s),h=Array.isArray(c);if(d!==h)return!1;if(d&&h){var m=s.length;if(c.length!==m)return!1;for(var p=0;p"u"||typeof o=="string"?o:this.identify(o),query:l,optimistic:s}),h;return new we(function(m){return e.watch(b(b({},d),{immediate:!0,callback:function(p){if(!(h&&rs(l,{data:h?.result},{data:p.result}))){var f={data:p.result,complete:!!p.complete};p.missing&&(f.missing=Tn(p.missing.map(function(g){return g.missing}))),h=p,m.next(f)}}}))})},i.prototype.readFragment=function(n,e){return e===void 0&&(e=!!n.optimistic),this.read(b(b({},n),{query:this.getFragmentDoc(n.fragment,n.fragmentName),rootId:n.id,optimistic:e}))},i.prototype.writeQuery=function(n){var e=n.id,t=n.data,r=Pt(n,["id","data"]);return this.write(Object.assign(r,{dataId:e||"ROOT_QUERY",result:t}))},i.prototype.writeFragment=function(n){var e=n.id,t=n.data,r=n.fragment,o=n.fragmentName,a=Pt(n,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(r,o),dataId:e,result:t}))},i.prototype.updateQuery=function(n,e){return this.batch({update:function(t){var r=t.readQuery(n),o=e(r);return o==null?r:(t.writeQuery(b(b({},n),{data:o})),o)}})},i.prototype.updateFragment=function(n,e){return this.batch({update:function(t){var r=t.readFragment(n),o=e(r);return o==null?r:(t.writeFragment(b(b({},n),{data:o})),o)}})},i}();globalThis.__DEV__!==!1&&(os.prototype.getMemoryInternals=um);var Do=function(i){mt(n,i);function n(e,t,r,o){var a,s=i.call(this,e)||this;if(s.message=e,s.path=t,s.query=r,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=(a={},a[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=n.prototype,s}return n}(Error);var it=Object.prototype.hasOwnProperty;function Eo(i){return i==null}function ss(i,n){var e=i.__typename,t=i.id,r=i._id;if(typeof e=="string"&&(n&&(n.keyObject=Eo(t)?Eo(r)?void 0:{_id:r}:{id:t}),Eo(t)&&!Eo(r)&&(t=r),!Eo(t)))return"".concat(e,":").concat(typeof t=="number"||typeof t=="string"?t:JSON.stringify(t))}var fp={dataIdFromObject:ss,addTypename:!0,resultCaching:!0,canonizeResults:!1};function gp(i){return yi(fp,i)}function cs(i){var n=i.canonizeResults;return n===void 0?fp.canonizeResults:n}function bp(i,n){return ke(n)?i.get(n.__ref,"__typename"):n&&n.__typename}var Il=/^[_a-z][_0-9a-z]*/i;function ui(i){var n=i.match(Il);return n?n[0]:i}function as(i,n,e){return Ie(n)?Ve(n)?n.every(function(t){return as(i,t,e)}):i.selections.every(function(t){if(At(t)&&ci(t,e)){var r=jt(t);return it.call(n,r)&&(!t.selectionSet||as(t.selectionSet,n[r],e))}return!0}):!1}function tn(i){return Ie(i)&&!ke(i)&&!Ve(i)}function vp(){return new Vt}function ls(i,n){var e=Ii(Mi(i));return{fragmentMap:e,lookupFragment:function(t){var r=e[t];return!r&&n&&(r=n.lookup(t)),r||null}}}var ds=Object.create(null),Sl=function(){return ds},_p=Object.create(null),kr=function(){function i(n,e){var t=this;this.policies=n,this.group=e,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(r,o){return _o(ke(r)?t.get(r.__ref,o):r&&r[o])},this.canRead=function(r){return ke(r)?t.has(r.__ref):typeof r=="object"},this.toReference=function(r,o){if(typeof r=="string")return Kt(r);if(ke(r))return r;var a=t.policies.identify(r)[0];if(a){var s=Kt(a);return o&&t.merge(a,r),s}}}return i.prototype.toObject=function(){return b({},this.data)},i.prototype.has=function(n){return this.lookup(n,!0)!==void 0},i.prototype.get=function(n,e){if(this.group.depend(n,e),it.call(this.data,n)){var t=this.data[n];if(t&&it.call(t,e))return t[e]}if(e==="__typename"&&it.call(this.policies.rootTypenamesById,n))return this.policies.rootTypenamesById[n];if(this instanceof nn)return this.parent.get(n,e)},i.prototype.lookup=function(n,e){if(e&&this.group.depend(n,"__exists"),it.call(this.data,n))return this.data[n];if(this instanceof nn)return this.parent.lookup(n,e);if(this.policies.rootTypenamesById[n])return Object.create(null)},i.prototype.merge=function(n,e){var t=this,r;ke(n)&&(n=n.__ref),ke(e)&&(e=e.__ref);var o=typeof n=="string"?this.lookup(r=n):n,a=typeof e=="string"?this.lookup(r=e):e;if(a){Y(typeof r=="string",1);var s=new Vt(g0).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(a).forEach(function(l){if(!o||o[l]!==s[l]){c[l]=1;var d=ui(l);d!==l&&!t.policies.hasKeyArgs(s.__typename,d)&&(c[d]=1),s[l]===void 0&&!(t instanceof nn)&&delete s[l]}}),c.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete c.__typename,Object.keys(c).forEach(function(l){return t.group.dirty(r,l)})}}},i.prototype.modify=function(n,e){var t=this,r=this.lookup(n);if(r){var o=Object.create(null),a=!1,s=!0,c={DELETE:ds,INVALIDATE:_p,isReference:ke,toReference:this.toReference,canRead:this.canRead,readField:function(l,d){return t.policies.readField(typeof l=="string"?{fieldName:l,from:d||Kt(n)}:l,{store:t})}};if(Object.keys(r).forEach(function(l){var d=ui(l),h=r[l];if(h!==void 0){var m=typeof e=="function"?e:e[l]||e[d];if(m){var p=m===Sl?ds:m(_o(h),b(b({},c),{fieldName:d,storeFieldName:l,storage:t.getStorage(n,l)}));if(p===_p)t.group.dirty(n,l);else if(p===ds&&(p=void 0),p!==h&&(o[l]=p,a=!0,h=p,globalThis.__DEV__!==!1)){var f=function(U){if(t.lookup(U.__ref)===void 0)return globalThis.__DEV__!==!1&&Y.warn(2,U),!0};if(ke(p))f(p);else if(Array.isArray(p))for(var g=!1,_=void 0,v=0,M=p;v0){var e=--this.rootIds[n];return e||delete this.rootIds[n],e}return 0},i.prototype.getRootIdSet=function(n){return n===void 0&&(n=new Set),Object.keys(this.rootIds).forEach(n.add,n),this instanceof nn?this.parent.getRootIdSet(n):Object.keys(this.policies.rootTypenamesById).forEach(n.add,n),n},i.prototype.gc=function(){var n=this,e=this.getRootIdSet(),t=this.toObject();e.forEach(function(a){it.call(t,a)&&(Object.keys(n.findChildRefIds(a)).forEach(e.add,e),delete t[a])});var r=Object.keys(t);if(r.length){for(var o=this;o instanceof nn;)o=o.parent;r.forEach(function(a){return o.delete(a)})}return r},i.prototype.findChildRefIds=function(n){if(!it.call(this.refs,n)){var e=this.refs[n]=Object.create(null),t=this.data[n];if(!t)return e;var r=new Set([t]);r.forEach(function(o){ke(o)&&(e[o.__ref]=!0),Ie(o)&&Object.keys(o).forEach(function(a){var s=o[a];Ie(s)&&r.add(s)})})}return this.refs[n]},i.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},i}();var yp=function(){function i(n,e){e===void 0&&(e=null),this.caching=n,this.parent=e,this.d=null,this.resetCaching()}return i.prototype.resetCaching=function(){this.d=this.caching?fo():null,this.keyMaker=new Qt(li)},i.prototype.depend=function(n,e){if(this.d){this.d(Tl(n,e));var t=ui(e);t!==e&&this.d(Tl(n,t)),this.parent&&this.parent.depend(n,e)}},i.prototype.dirty=function(n,e){this.d&&this.d.dirty(Tl(n,e),e==="__exists"?"forget":"setDirty")},i}();function Tl(i,n){return n+"#"+i}function Ml(i,n){On(i)&&i.group.depend(n,"__exists")}(function(i){var n=function(e){mt(t,e);function t(r){var o=r.policies,a=r.resultCaching,s=a===void 0?!0:a,c=r.seed,l=e.call(this,o,new yp(s))||this;return l.stump=new f0(l),l.storageTrie=new Qt(li),c&&l.replace(c),l}return t.prototype.addLayer=function(r,o){return this.stump.addLayer(r,o)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(i);i.Root=n})(kr||(kr={}));var nn=function(i){mt(n,i);function n(e,t,r,o){var a=i.call(this,t.policies,o)||this;return a.id=e,a.parent=t,a.replay=r,a.group=o,r(a),a}return n.prototype.addLayer=function(e,t){return new n(e,this,t,this.group)},n.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(o){var a=t.data[o],s=r.lookup(o);s?a?a!==s&&Object.keys(a).forEach(function(c){Ne(a[c],s[c])||t.group.dirty(o,c)}):(t.group.dirty(o,"__exists"),Object.keys(s).forEach(function(c){t.group.dirty(o,c)})):t.delete(o)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},n.prototype.toObject=function(){return b(b({},this.parent.toObject()),this.data)},n.prototype.findChildRefIds=function(e){var t=this.parent.findChildRefIds(e);return it.call(this.data,e)?b(b({},t),i.prototype.findChildRefIds.call(this,e)):t},n.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},n}(kr),f0=function(i){mt(n,i);function n(e){return i.call(this,"EntityStore.Stump",e,function(){},new yp(e.group.caching,e.group))||this}return n.prototype.removeLayer=function(){return this},n.prototype.merge=function(e,t){return this.parent.merge(e,t)},n}(nn);function g0(i,n,e){var t=i[e],r=n[e];return Ne(t,r)?t:r}function On(i){return!!(i instanceof kr&&i.group.caching)}function b0(i){return Ie(i)?Ve(i)?i.slice(0):b({__proto__:Object.getPrototypeOf(i)},i):i}var Al=function(){function i(){this.known=new(Ba?WeakSet:Set),this.pool=new Qt(li),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return i.prototype.isKnown=function(n){return Ie(n)&&this.known.has(n)},i.prototype.pass=function(n){if(Ie(n)){var e=b0(n);return this.passes.set(e,n),e}return n},i.prototype.admit=function(n){var e=this;if(Ie(n)){var t=this.passes.get(n);if(t)return t;var r=Object.getPrototypeOf(n);switch(r){case Array.prototype:{if(this.known.has(n))return n;var o=n.map(this.admit,this),a=this.pool.lookupArray(o);return a.array||(this.known.add(a.array=o),globalThis.__DEV__!==!1&&Object.freeze(o)),a.array}case null:case Object.prototype:{if(this.known.has(n))return n;var s=Object.getPrototypeOf(n),c=[s],l=this.sortedKeys(n);c.push(l.json);var d=c.length;l.sorted.forEach(function(p){c.push(e.admit(n[p]))});var a=this.pool.lookupArray(c);if(!a.object){var h=a.object=Object.create(s);this.known.add(h),l.sorted.forEach(function(p,f){h[p]=c[d+f]}),globalThis.__DEV__!==!1&&Object.freeze(h)}return a.object}}}return n},i.prototype.sortedKeys=function(n){var e=Object.keys(n),t=this.pool.lookupArray(e);if(!t.keys){e.sort();var r=JSON.stringify(e);(t.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,t.keys={sorted:e,json:r})}return t.keys},i}();function xp(i){return[i.selectionSet,i.objectOrReference,i.context,i.context.canonizeResults]}var wp=function(){function i(n){var e=this;this.knownResults=new(li?WeakMap:Map),this.config=yi(n,{addTypename:n.addTypename!==!1,canonizeResults:cs(n)}),this.canon=n.canon||new Al,this.executeSelectionSet=Ai(function(t){var r,o=t.context.canonizeResults,a=xp(t);a[3]=!o;var s=(r=e.executeSelectionSet).peek.apply(r,a);return s?o?b(b({},s),{result:e.canon.admit(s.result)}):s:(Ml(t.context.store,t.enclosingRef.__ref),e.execSelectionSetImpl(t))},{max:this.config.resultCacheMaxSize||dt["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:xp,makeCacheKey:function(t,r,o,a){if(On(o.store))return o.store.makeCacheKey(t,ke(r)?r.__ref:r,o.varString,a)}}),this.executeSubSelectedArray=Ai(function(t){return Ml(t.context.store,t.enclosingRef.__ref),e.execSubSelectedArrayImpl(t)},{max:this.config.resultCacheMaxSize||dt["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(t){var r=t.field,o=t.array,a=t.context;if(On(a.store))return a.store.makeCacheKey(r,o,a.varString)}})}return i.prototype.resetCanon=function(){this.canon=new Al},i.prototype.diffQueryAgainstStore=function(n){var e=n.store,t=n.query,r=n.rootId,o=r===void 0?"ROOT_QUERY":r,a=n.variables,s=n.returnPartialData,c=s===void 0?!0:s,l=n.canonizeResults,d=l===void 0?this.config.canonizeResults:l,h=this.config.cache.policies;a=b(b({},Dn(ho(t))),a);var m=Kt(o),p=this.executeSelectionSet({selectionSet:di(t).selectionSet,objectOrReference:m,enclosingRef:m,context:b({store:e,query:t,policies:h,variables:a,varString:Mt(a),canonizeResults:d},ls(t,this.config.fragments))}),f;if(p.missing&&(f=[new Do(v0(p.missing),p.missing,t,a)],!c))throw f[0];return{result:p.result,complete:!f,missing:f}},i.prototype.isFresh=function(n,e,t,r){if(On(r.store)&&this.knownResults.get(n)===t){var o=this.executeSelectionSet.peek(t,e,r,this.canon.isKnown(n));if(o&&n===o.result)return!0}return!1},i.prototype.execSelectionSetImpl=function(n){var e=this,t=n.selectionSet,r=n.objectOrReference,o=n.enclosingRef,a=n.context;if(ke(r)&&!a.policies.rootTypenamesById[r.__ref]&&!a.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var s=a.variables,c=a.policies,l=a.store,d=l.getFieldValue(r,"__typename"),h=[],m,p=new Vt;this.config.addTypename&&typeof d=="string"&&!c.rootIdsByTypename[d]&&h.push({__typename:d});function f(y,q){var U;return y.missing&&(m=p.merge(m,(U={},U[q]=y.missing,U))),y.result}var g=new Set(t.selections);g.forEach(function(y){var q,U;if(ci(y,s))if(At(y)){var J=c.readField({fieldName:y.name.value,field:y,variables:a.variables,from:r},a),be=jt(y);J===void 0?Sn.added(y)||(m=p.merge(m,(q={},q[be]="Can't find field '".concat(y.name.value,"' on ").concat(ke(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),q))):Ve(J)?J.length>0&&(J=f(e.executeSubSelectedArray({field:y,array:J,enclosingRef:o,context:a}),be)):y.selectionSet?J!=null&&(J=f(e.executeSelectionSet({selectionSet:y.selectionSet,objectOrReference:J,enclosingRef:ke(J)?J:o,context:a}),be)):a.canonizeResults&&(J=e.canon.pass(J)),J!==void 0&&h.push((U={},U[be]=J,U))}else{var _e=Si(y,a.lookupFragment);if(!_e&&y.kind===G.FRAGMENT_SPREAD)throw Be(9,y.name.value);_e&&c.fragmentMatches(_e,d)&&_e.selectionSet.selections.forEach(g.add,g)}});var _=Tn(h),v={result:_,missing:m},M=a.canonizeResults?this.canon.admit(v):_o(v);return M.result&&this.knownResults.set(M.result,t),M},i.prototype.execSubSelectedArrayImpl=function(n){var e=this,t=n.field,r=n.array,o=n.enclosingRef,a=n.context,s,c=new Vt;function l(d,h){var m;return d.missing&&(s=c.merge(s,(m={},m[h]=d.missing,m))),d.result}return t.selectionSet&&(r=r.filter(a.store.canRead)),r=r.map(function(d,h){return d===null?null:Ve(d)?l(e.executeSubSelectedArray({field:t,array:d,enclosingRef:o,context:a}),h):t.selectionSet?l(e.executeSelectionSet({selectionSet:t.selectionSet,objectOrReference:d,enclosingRef:ke(d)?d:o,context:a}),h):(globalThis.__DEV__!==!1&&_0(a.store,t,d),d)}),{result:a.canonizeResults?this.canon.admit(r):r,missing:s}},i}();function v0(i){try{JSON.stringify(i,function(n,e){if(typeof e=="string")throw e;return e})}catch(n){return n}}function _0(i,n,e){if(!n.selectionSet){var t=new Set([e]);t.forEach(function(r){Ie(r)&&(Y(!ke(r),10,bp(i,r),n.name.value),Object.values(r).forEach(t.add,t))})}}var Dr=new En,Cp=new WeakMap;function Io(i){var n=Cp.get(i);return n||Cp.set(i,n={vars:new Set,dep:fo()}),n}function Ol(i){Io(i).vars.forEach(function(n){return n.forgetCache(i)})}function kp(i){Io(i).vars.forEach(function(n){return n.attachCache(i)})}function us(i){var n=new Set,e=new Set,t=function(o){if(arguments.length>0){if(i!==o){i=o,n.forEach(function(c){Io(c).dep.dirty(t),y0(c)});var a=Array.from(e);e.clear(),a.forEach(function(c){return c(i)})}}else{var s=Dr.getValue();s&&(r(s),Io(s).dep(t))}return i};t.onNextChange=function(o){return e.add(o),function(){e.delete(o)}};var r=t.attachCache=function(o){return n.add(o),Io(o).vars.add(t),t};return t.forgetCache=function(o){return n.delete(o)},t}function y0(i){i.broadcastWatches&&i.broadcastWatches()}var Dp=Object.create(null);function Rl(i){var n=JSON.stringify(i);return Dp[n]||(Dp[n]=Object.create(null))}function Fl(i){var n=Rl(i);return n.keyFieldsFn||(n.keyFieldsFn=function(e,t){var r=function(a,s){return t.readField(s,a)},o=t.keyObject=Nl(i,function(a){var s=Er(t.storeObject,a,r);return s===void 0&&e!==t.storeObject&&it.call(e,a[0])&&(s=Er(e,a,Ip)),Y(s!==void 0,4,a.join("."),e),s});return"".concat(t.typename,":").concat(JSON.stringify(o))})}function Pl(i){var n=Rl(i);return n.keyArgsFn||(n.keyArgsFn=function(e,t){var r=t.field,o=t.variables,a=t.fieldName,s=Nl(i,function(l){var d=l[0],h=d.charAt(0);if(h==="@"){if(r&&vt(r.directives)){var m=d.slice(1),p=r.directives.find(function(v){return v.name.value===m}),f=p&&Ti(p,o);return f&&Er(f,l.slice(1))}return}if(h==="$"){var g=d.slice(1);if(o&&it.call(o,g)){var _=l.slice(0);return _[0]=g,Er(o,_)}return}if(e)return Er(e,l)}),c=JSON.stringify(s);return(e||c!=="{}")&&(a+=":"+c),a})}function Nl(i,n){var e=new Vt;return Ep(i).reduce(function(t,r){var o,a=n(r);if(a!==void 0){for(var s=r.length-1;s>=0;--s)a=(o={},o[r[s]]=a,o);t=e.merge(t,a)}return t},Object.create(null))}function Ep(i){var n=Rl(i);if(!n.paths){var e=n.paths=[],t=[];i.forEach(function(r,o){Ve(r)?(Ep(r).forEach(function(a){return e.push(t.concat(a))}),t.length=0):(t.push(r),Ve(i[o+1])||(e.push(t.slice(0)),t.length=0))})}return n.paths}function Ip(i,n){return i[n]}function Er(i,n,e){return e=e||Ip,Sp(n.reduce(function t(r,o){return Ve(r)?r.map(function(a){return t(a,o)}):r&&e(r,o)},i))}function Sp(i){return Ie(i)?Ve(i)?i.map(Sp):Nl(Object.keys(i).sort(),function(n){return Er(i,n)}):i}function Ll(i){return i.args!==void 0?i.args:i.field?Ti(i.field,i.variables):null}var x0=function(){},Tp=function(i,n){return n.fieldName},Mp=function(i,n,e){var t=e.mergeObjects;return t(i,n)},Ap=function(i,n){return n},Rp=function(){function i(n){this.config=n,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=b({dataIdFromObject:ss},n),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),n.possibleTypes&&this.addPossibleTypes(n.possibleTypes),n.typePolicies&&this.addTypePolicies(n.typePolicies)}return i.prototype.identify=function(n,e){var t,r=this,o=e&&(e.typename||((t=e.storeObject)===null||t===void 0?void 0:t.__typename))||n.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=e&&e.storeObject||n,s=b(b({},e),{typename:o,storeObject:a,readField:e&&e.readField||function(){var m=hs(arguments,a);return r.readField(m,{store:r.cache.data,variables:m.variables})}}),c,l=o&&this.getTypePolicy(o),d=l&&l.keyFn||this.config.dataIdFromObject;d;){var h=d(b(b({},n),a),s);if(Ve(h))d=Fl(h);else{c=h;break}}return c=c?String(c):void 0,s.keyObject?[c,s.keyObject]:[c]},i.prototype.addTypePolicies=function(n){var e=this;Object.keys(n).forEach(function(t){var r=n[t],o=r.queryType,a=r.mutationType,s=r.subscriptionType,c=Pt(r,["queryType","mutationType","subscriptionType"]);o&&e.setRootTypename("Query",t),a&&e.setRootTypename("Mutation",t),s&&e.setRootTypename("Subscription",t),it.call(e.toBeAdded,t)?e.toBeAdded[t].push(c):e.toBeAdded[t]=[c]})},i.prototype.updateTypePolicy=function(n,e){var t=this,r=this.getTypePolicy(n),o=e.keyFields,a=e.fields;function s(c,l){c.merge=typeof l=="function"?l:l===!0?Mp:l===!1?Ap:c.merge}s(r,e.merge),r.keyFn=o===!1?x0:Ve(o)?Fl(o):typeof o=="function"?o:r.keyFn,a&&Object.keys(a).forEach(function(c){var l=t.getFieldPolicy(n,c,!0),d=a[c];if(typeof d=="function")l.read=d;else{var h=d.keyArgs,m=d.read,p=d.merge;l.keyFn=h===!1?Tp:Ve(h)?Pl(h):typeof h=="function"?h:l.keyFn,typeof m=="function"&&(l.read=m),s(l,p)}l.read&&l.merge&&(l.keyFn=l.keyFn||Tp)})},i.prototype.setRootTypename=function(n,e){e===void 0&&(e=n);var t="ROOT_"+n.toUpperCase(),r=this.rootTypenamesById[t];e!==r&&(Y(!r||r===n,5,n),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[e]=t,this.rootTypenamesById[t]=e)},i.prototype.addPossibleTypes=function(n){var e=this;this.usingPossibleTypes=!0,Object.keys(n).forEach(function(t){e.getSupertypeSet(t,!0),n[t].forEach(function(r){e.getSupertypeSet(r,!0).add(t);var o=r.match(Il);(!o||o[0]!==r)&&e.fuzzySubtypes.set(r,new RegExp(r))})})},i.prototype.getTypePolicy=function(n){var e=this;if(!it.call(this.typePolicies,n)){var t=this.typePolicies[n]=Object.create(null);t.fields=Object.create(null);var r=this.supertypeMap.get(n);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(n,!0),this.fuzzySubtypes.forEach(function(a,s){if(a.test(n)){var c=e.supertypeMap.get(s);c&&c.forEach(function(l){return r.add(l)})}})),r&&r.size&&r.forEach(function(a){var s=e.getTypePolicy(a),c=s.fields,l=Pt(s,["fields"]);Object.assign(t,l),Object.assign(t.fields,c)})}var o=this.toBeAdded[n];return o&&o.length&&o.splice(0).forEach(function(a){e.updateTypePolicy(n,a)}),this.typePolicies[n]},i.prototype.getFieldPolicy=function(n,e,t){if(n){var r=this.getTypePolicy(n).fields;return r[e]||t&&(r[e]=Object.create(null))}},i.prototype.getSupertypeSet=function(n,e){var t=this.supertypeMap.get(n);return!t&&e&&this.supertypeMap.set(n,t=new Set),t},i.prototype.fragmentMatches=function(n,e,t,r){var o=this;if(!n.typeCondition)return!0;if(!e)return!1;var a=n.typeCondition.name.value;if(e===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(e,!0),c=[s],l=function(f){var g=o.getSupertypeSet(f,!1);g&&g.size&&c.indexOf(g)<0&&c.push(g)},d=!!(t&&this.fuzzySubtypes.size),h=!1,m=0;m1?r:n}:(a=b({},t),it.call(a,"from")||(a.from=n)),globalThis.__DEV__!==!1&&a.from===void 0&&globalThis.__DEV__!==!1&&Y.warn(7,Ta(Array.from(i))),a.variables===void 0&&(a.variables=e),a}function Fp(i){return function(e,t){if(Ve(e)||Ve(t))throw Be(8);if(Ie(e)&&Ie(t)){var r=i.getFieldValue(e,"__typename"),o=i.getFieldValue(t,"__typename"),a=r&&o&&r!==o;if(a)return t;if(ke(e)&&tn(t))return i.merge(e.__ref,t),e;if(tn(e)&&ke(t))return i.merge(e,t.__ref),t;if(tn(e)&&tn(t))return b(b({},e),t)}return t}}function jl(i,n,e){var t="".concat(n).concat(e),r=i.flavors.get(t);return r||i.flavors.set(t,r=i.clientOnly===n&&i.deferred===e?i:b(b({},i),{clientOnly:n,deferred:e})),r}var jp=function(){function i(n,e,t){this.cache=n,this.reader=e,this.fragments=t}return i.prototype.writeToStore=function(n,e){var t=this,r=e.query,o=e.result,a=e.dataId,s=e.variables,c=e.overwrite,l=_i(r),d=vp();s=b(b({},Dn(l)),s);var h=b(b({store:n,written:Object.create(null),merge:function(p,f){return d.merge(p,f)},variables:s,varString:Mt(s)},ls(r,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),m=this.processSelectionSet({result:o||Object.create(null),dataId:a,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:h});if(!ke(m))throw Be(11,o);return h.incomingById.forEach(function(p,f){var g=p.storeObject,_=p.mergeTree,v=p.fieldNodeSet,M=Kt(f);if(_&&_.map.size){var y=t.applyMerges(_,M,g,h);if(ke(y))return;g=y}if(globalThis.__DEV__!==!1&&!h.overwrite){var q=Object.create(null);v.forEach(function(be){be.selectionSet&&(q[be.name.value]=!0)});var U=function(be){return q[ui(be)]===!0},J=function(be){var _e=_&&_.map.get(be);return!!(_e&&_e.info&&_e.info.merge)};Object.keys(g).forEach(function(be){U(be)&&!J(be)&&w0(M,g,be,h.store)})}n.merge(f,g)}),n.retain(m.__ref),m},i.prototype.processSelectionSet=function(n){var e=this,t=n.dataId,r=n.result,o=n.selectionSet,a=n.context,s=n.mergeTree,c=this.cache.policies,l=Object.create(null),d=t&&c.rootTypenamesById[t]||uo(r,o,a.fragmentMap)||t&&a.store.get(t,"__typename");typeof d=="string"&&(l.__typename=d);var h=function(){var y=hs(arguments,l,a.variables);if(ke(y.from)){var q=a.incomingById.get(y.from.__ref);if(q){var U=c.readField(b(b({},y),{from:q.storeObject}),a);if(U!==void 0)return U}}return c.readField(y,a)},m=new Set;this.flattenFields(o,r,a,d).forEach(function(y,q){var U,J=jt(q),be=r[J];if(m.add(q),be!==void 0){var _e=c.getStoreFieldName({typename:d,fieldName:q.name.value,field:q,variables:y.variables}),ze=Pp(s,_e),et=e.processFieldValue(be,q,q.selectionSet?jl(y,!1,!1):y,ze),Wn=void 0;q.selectionSet&&(ke(et)||tn(et))&&(Wn=h("__typename",et));var Gn=c.getMergeFunction(d,q.name.value,Wn);Gn?ze.info={field:q,typename:d,merge:Gn}:Np(s,_e),l=y.merge(l,(U={},U[_e]=et,U))}else globalThis.__DEV__!==!1&&!y.clientOnly&&!y.deferred&&!Sn.added(q)&&!c.getReadFunction(d,q.name.value)&&globalThis.__DEV__!==!1&&Y.error(12,jt(q),r)});try{var p=c.identify(r,{typename:d,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:l,readField:h}),f=p[0],g=p[1];t=t||f,g&&(l=a.merge(l,g))}catch(y){if(!t)throw y}if(typeof t=="string"){var _=Kt(t),v=a.written[t]||(a.written[t]=[]);if(v.indexOf(o)>=0||(v.push(o),this.reader&&this.reader.isFresh(r,_,o,a)))return _;var M=a.incomingById.get(t);return M?(M.storeObject=a.merge(M.storeObject,l),M.mergeTree=Vl(M.mergeTree,s),m.forEach(function(y){return M.fieldNodeSet.add(y)})):a.incomingById.set(t,{storeObject:l,mergeTree:ms(s)?void 0:s,fieldNodeSet:m}),_}return l},i.prototype.processFieldValue=function(n,e,t,r){var o=this;return!e.selectionSet||n===null?globalThis.__DEV__!==!1?$a(n):n:Ve(n)?n.map(function(a,s){var c=o.processFieldValue(a,e,t,Pp(r,s));return Np(r,s),c}):this.processSelectionSet({result:n,selectionSet:e.selectionSet,context:t,mergeTree:r})},i.prototype.flattenFields=function(n,e,t,r){r===void 0&&(r=uo(e,n,t.fragmentMap));var o=new Map,a=this.cache.policies,s=new Qt(!1);return function c(l,d){var h=s.lookup(l,d.clientOnly,d.deferred);h.visited||(h.visited=!0,l.selections.forEach(function(m){if(ci(m,t.variables)){var p=d.clientOnly,f=d.deferred;if(!(p&&f)&&vt(m.directives)&&m.directives.forEach(function(v){var M=v.name.value;if(M==="client"&&(p=!0),M==="defer"){var y=Ti(v,t.variables);(!y||y.if!==!1)&&(f=!0)}}),At(m)){var g=o.get(m);g&&(p=p&&g.clientOnly,f=f&&g.deferred),o.set(m,jl(t,p,f))}else{var _=Si(m,t.lookupFragment);if(!_&&m.kind===G.FRAGMENT_SPREAD)throw Be(13,m.name.value);_&&a.fragmentMatches(_,r,e,t.variables)&&c(_.selectionSet,jl(t,p,f))}}}))}(n,t),o},i.prototype.applyMerges=function(n,e,t,r,o){var a,s=this;if(n.map.size&&!ke(t)){var c=!Ve(t)&&(ke(e)||tn(e))?e:void 0,l=t;c&&!o&&(o=[ke(c)?c.__ref:c]);var d,h=function(m,p){return Ve(m)?typeof p=="number"?m[p]:void 0:r.store.getFieldValue(m,String(p))};n.map.forEach(function(m,p){var f=h(c,p),g=h(l,p);if(g!==void 0){o&&o.push(p);var _=s.applyMerges(m,f,g,r,o);_!==g&&(d=d||new Map,d.set(p,_)),o&&Y(o.pop()===p)}}),d&&(t=Ve(l)?l.slice(0):b({},l),d.forEach(function(m,p){t[p]=m}))}return n.info?this.cache.policies.runMergeFunction(e,t,n.info,r,o&&(a=r.store).getStorage.apply(a,o)):t},i}();var Vp=[];function Pp(i,n){var e=i.map;return e.has(n)||e.set(n,Vp.pop()||{map:new Map}),e.get(n)}function Vl(i,n){if(i===n||!n||ms(n))return i;if(!i||ms(i))return n;var e=i.info&&n.info?b(b({},i.info),n.info):i.info||n.info,t=i.map.size&&n.map.size,r=t?new Map:i.map.size?i.map:n.map,o={info:e,map:r};if(t){var a=new Set(n.map.keys());i.map.forEach(function(s,c){o.map.set(c,Vl(s,n.map.get(c))),a.delete(c)}),a.forEach(function(s){o.map.set(s,Vl(n.map.get(s),i.map.get(s)))})}return o}function ms(i){return!i||!(i.info||i.map.size)}function Np(i,n){var e=i.map,t=e.get(n);t&&ms(t)&&(Vp.push(t),e.delete(n))}var Lp=new Set;function w0(i,n,e,t){var r=function(h){var m=t.getFieldValue(h,e);return typeof m=="object"&&m},o=r(i);if(o){var a=r(n);if(a&&!ke(o)&&!Ne(o,a)&&!Object.keys(o).every(function(h){return t.getFieldValue(a,h)!==void 0})){var s=t.getFieldValue(i,"__typename")||t.getFieldValue(n,"__typename"),c=ui(e),l="".concat(s,".").concat(c);if(!Lp.has(l)){Lp.add(l);var d=[];!Ve(o)&&!Ve(a)&&[o,a].forEach(function(h){var m=t.getFieldValue(h,"__typename");typeof m=="string"&&!d.includes(m)&&d.push(m)}),globalThis.__DEV__!==!1&&Y.warn(14,c,s,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",l,b({},o),b({},a))}}}}var So=function(i){mt(n,i);function n(e){e===void 0&&(e={});var t=i.call(this)||this;return t.watches=new Set,t.addTypenameTransform=new _r(Sn),t.assumeImmutableResults=!0,t.makeVar=us,t.txCount=0,t.config=gp(e),t.addTypename=!!t.config.addTypename,t.policies=new Rp({cache:t,dataIdFromObject:t.config.dataIdFromObject,possibleTypes:t.config.possibleTypes,typePolicies:t.config.typePolicies}),t.init(),t}return n.prototype.init=function(){var e=this.data=new kr.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},n.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,o=this.config.fragments;this.storeWriter=new jp(this,this.storeReader=new wp({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:cs(this.config),canon:e?void 0:r&&r.canon,fragments:o}),o),this.maybeBroadcastWatch=Ai(function(a,s){return t.broadcastWatch(a,s)},{max:this.config.resultCacheMaxSize||dt["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(a){var s=a.optimistic?t.optimisticData:t.data;if(On(s)){var c=a.optimistic,l=a.id,d=a.variables;return s.makeCacheKey(a.query,a.callback,Mt({optimistic:c,id:l,variables:d}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(a){return a.resetCaching()})},n.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},n.prototype.extract=function(e){return e===void 0&&(e=!1),(e?this.optimisticData:this.data).extract()},n.prototype.read=function(e){var t=e.returnPartialData,r=t===void 0?!1:t;try{return this.storeReader.diffQueryAgainstStore(b(b({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(o){if(o instanceof Do)return null;throw o}},n.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}},n.prototype.modify=function(e){if(it.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}},n.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore(b(b({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},n.prototype.watch=function(e){var t=this;return this.watches.size||kp(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&Ol(t),t.maybeBroadcastWatch.forget(e)}},n.prototype.gc=function(e){var t;Mt.reset(),Ji.reset(),this.addTypenameTransform.resetCache(),(t=this.config.fragments)===null||t===void 0||t.resetCaches();var r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},n.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},n.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},n.prototype.identify=function(e){if(ke(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){globalThis.__DEV__!==!1&&Y.warn(t)}},n.prototype.evict=function(e){if(!e.id){if(it.call(e,"id"))return!1;e=b(b({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}},n.prototype.reset=function(e){var t=this;return this.init(),Mt.reset(),e&&e.discardWatches?(this.watches.forEach(function(r){return t.maybeBroadcastWatch.forget(r)}),this.watches.clear(),Ol(this)):this.broadcastWatches(),Promise.resolve()},n.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},n.prototype.batch=function(e){var t=this,r=e.update,o=e.optimistic,a=o===void 0?!0:o,s=e.removeOptimistic,c=e.onWatchUpdated,l,d=function(m){var p=t,f=p.data,g=p.optimisticData;++t.txCount,m&&(t.data=t.optimisticData=m);try{return l=r(t)}finally{--t.txCount,t.data=f,t.optimisticData=g}},h=new Set;return c&&!this.txCount&&this.broadcastWatches(b(b({},e),{onWatchUpdated:function(m){return h.add(m),!1}})),typeof a=="string"?this.optimisticData=this.optimisticData.addLayer(a,d):a===!1?d(this.data):d(),typeof s=="string"&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&h.size?(this.broadcastWatches(b(b({},e),{onWatchUpdated:function(m,p){var f=c.call(this,m,p);return f!==!1&&h.delete(m),f}})),h.size&&h.forEach(function(m){return t.maybeBroadcastWatch.dirty(m)})):this.broadcastWatches(e),l},n.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||t!==null})},n.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},n.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},n.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},n.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},n.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,o=this.diff(e);t&&(e.optimistic&&typeof t.optimistic=="string"&&(o.fromOptimisticTransaction=!0),t.onWatchUpdated&&t.onWatchUpdated.call(this,e,o,r)===!1)||(!r||!Ne(r.result,o.result))&&e.callback(e.lastDiff=o,r)},n}(os);globalThis.__DEV__!==!1&&(So.prototype.getMemoryInternals=dm);var Se=function(i){return i[i.loading=1]="loading",i[i.setVariables=2]="setVariables",i[i.fetchMore=3]="fetchMore",i[i.refetch=4]="refetch",i[i.poll=6]="poll",i[i.ready=7]="ready",i[i.error=8]="error",i}(Se||{});function rn(i){return i?i<7:!1}var Bp=Object.assign,C0=Object.hasOwnProperty,ps=function(i){mt(n,i);function n(e){var t=e.queryManager,r=e.queryInfo,o=e.options,a=i.call(this,function(_){try{var v=_._subscription._observer;v&&!v.error&&(v.error=k0)}catch{}var M=!a.observers.size;a.observers.add(_);var y=a.last;return y&&y.error?_.error&&_.error(y.error):y&&y.result&&_.next&&_.next(y.result),M&&a.reobserve().catch(function(){}),function(){a.observers.delete(_)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=r,a.queryManager=t,a.waitForOwnResult=Bl(o.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a);var s=t.defaultOptions.watchQuery,c=s===void 0?{}:s,l=c.fetchPolicy,d=l===void 0?"cache-first":l,h=o.fetchPolicy,m=h===void 0?d:h,p=o.initialFetchPolicy,f=p===void 0?m==="standby"?d:m:p;a.options=b(b({},o),{initialFetchPolicy:f,fetchPolicy:m}),a.queryId=r.queryId||t.generateQueryId();var g=_i(a.query);return a.queryName=g&&g.name&&g.name.value,a}return Object.defineProperty(n.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),n.prototype.result=function(){var e=this;return new Promise(function(t,r){var o={next:function(s){t(s),e.observers.delete(o),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){a.unsubscribe()},0)},error:r},a=e.subscribe(o)})},n.prototype.resetDiff=function(){this.queryInfo.resetDiff()},n.prototype.getCurrentResult=function(e){e===void 0&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||Se.ready,o=b(b({},t),{loading:rn(r),networkStatus:r}),a=this.options.fetchPolicy,s=a===void 0?"cache-first":a;if(!(Bl(s)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(o.data=c.result),Ne(o.data,{})&&(o.data=void 0),c.complete?(delete o.partial,c.complete&&o.networkStatus===Se.loading&&(s==="cache-first"||s==="cache-only")&&(o.networkStatus=Se.ready,o.loading=!1)):o.partial=!0,globalThis.__DEV__!==!1&&!c.complete&&!this.options.partialRefetch&&!o.loading&&!o.data&&!o.error&&Hl(c.missing)}return e&&this.updateLastResult(o),o},n.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!rs(this.query,this.last.result,e,this.variables):!Ne(this.last.result,e);return r||t&&!Ne(this.last.variables,t)},n.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||Ne(r.variables,this.variables)))return r[e]},n.prototype.getLastResult=function(e){return this.getLast("result",e)},n.prototype.getLastError=function(e){return this.getLast("error",e)},n.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},n.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},n.prototype.refetch=function(e){var t,r={pollInterval:0},o=this.options.fetchPolicy;if(o==="cache-and-network"?r.fetchPolicy=o:o==="no-cache"?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",globalThis.__DEV__!==!1&&e&&C0.call(e,"variables")){var a=ho(this.query),s=a.variableDefinitions;(!s||!s.some(function(c){return c.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&Y.warn(20,e,((t=a.name)===null||t===void 0?void 0:t.value)||a)}return e&&!Ne(this.options.variables,e)&&(r.variables=this.options.variables=b(b({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,Se.refetch)},n.prototype.fetchMore=function(e){var t=this,r=b(b({},e.query?e:b(b(b(b({},this.options),{query:this.options.query}),e),{variables:b(b({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var a=this.queryInfo,s=a.networkStatus;a.networkStatus=Se.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var c=new Set,l=e?.updateQuery,d=this.options.fetchPolicy!=="no-cache";return d||Y(l,21),this.queryManager.fetchQuery(o,r,Se.fetchMore).then(function(h){if(t.queryManager.removeQuery(o),a.networkStatus===Se.fetchMore&&(a.networkStatus=s),d)t.queryManager.cache.batch({update:function(f){var g=e.updateQuery;g?f.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(_){return g(_,{fetchMoreResult:h.data,variables:r.variables})}):f.writeQuery({query:r.query,variables:r.variables,data:h.data})},onWatchUpdated:function(f){c.add(f.query)}});else{var m=t.getLast("result"),p=l(m.data,{fetchMoreResult:h.data,variables:r.variables});t.reportResult(b(b({},m),{data:p}),t.variables)}return h}).finally(function(){d&&!c.has(t.query)&&zl(t)})},n.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(o){var a=e.updateQuery;a&&t.updateQuery(function(s,c){var l=c.variables;return a(s,{subscriptionData:o,variables:l})})},error:function(o){if(e.onError){e.onError(o);return}globalThis.__DEV__!==!1&&Y.error(22,o)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},n.prototype.setOptions=function(e){return this.reobserve(e)},n.prototype.silentSetOptions=function(e){var t=yi(this.options,e||{});Bp(this.options,t)},n.prototype.setVariables=function(e){return Ne(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},Se.setVariables):Promise.resolve())},n.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,o=e(r,{variables:this.variables});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},n.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},n.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},n.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,o=r===void 0?"cache-first":r,a=t.initialFetchPolicy,s=a===void 0?o:a;o==="standby"||(typeof t.nextFetchPolicy=="function"?t.fetchPolicy=t.nextFetchPolicy(o,{reason:e,options:t,observable:this,initialFetchPolicy:s}):e==="variables-changed"?t.fetchPolicy=s:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},n.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},n.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this,r=t.pollingInfo,o=t.options.pollInterval;if(!o||!this.hasObservers()){r&&(clearTimeout(r.timeout),delete this.pollingInfo);return}if(!(r&&r.interval===o)){Y(o,23);var a=r||(this.pollingInfo={});a.interval=o;var s=function(){var l,d;e.pollingInfo&&(!rn(e.queryInfo.networkStatus)&&!(!((d=(l=e.options).skipPollAttempt)===null||d===void 0)&&d.call(l))?e.reobserve({fetchPolicy:e.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},Se.poll).then(c,c):c())},c=function(){var l=e.pollingInfo;l&&(clearTimeout(l.timeout),l.timeout=setTimeout(s,l.interval))};c()}}},n.prototype.updateLastResult=function(e,t){t===void 0&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!Ne(t,this.last.variables)&&(r=void 0),this.last=b({result:this.queryManager.assumeImmutableResults?e:$a(e),variables:t},r?{error:r}:null)},n.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var o=t===Se.refetch||t===Se.fetchMore||t===Se.poll,a=this.options.variables,s=this.options.fetchPolicy,c=yi(this.options,e||{}),l=o?c:Bp(this.options,c),d=this.transformDocument(l.query);this.lastQuery=d,o||(this.updatePolling(),e&&e.variables&&!Ne(e.variables,a)&&l.fetchPolicy!=="standby"&&(l.fetchPolicy===s||typeof l.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",l),t===void 0&&(t=Se.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Bl(l.fetchPolicy));var h=function(){r.concast===f&&(r.waitForOwnResult=!1)},m=l.variables&&b({},l.variables),p=this.fetch(l,t,d),f=p.concast,g=p.fromLink,_={next:function(v){Ne(r.variables,m)&&(h(),r.reportResult(v,m))},error:function(v){Ne(r.variables,m)&&(is(v)||(v=new Oi({networkError:v})),h(),r.reportError(v,m))}};return!o&&(g||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=f,this.observer=_),f.addObserver(_),f},n.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},n.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t0},n.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},n.prototype.transformDocument=function(e){return this.queryManager.transform(e)},n}(we);Ka(ps);function zl(i){var n=i.options,e=n.fetchPolicy,t=n.nextFetchPolicy;return e==="cache-and-network"||e==="network-only"?i.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(r,o){return this.nextFetchPolicy=t,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(r,o):e}}):i.reobserve()}function k0(i){globalThis.__DEV__!==!1&&Y.error(24,i.message,i.stack)}function Hl(i){globalThis.__DEV__!==!1&&i&&globalThis.__DEV__!==!1&&Y.debug(25,i)}function Bl(i){return i==="network-only"||i==="no-cache"||i==="standby"}var Ir=new(li?WeakMap:Map);function Ql(i,n){var e=i[n];typeof e=="function"&&(i[n]=function(){return Ir.set(i,(Ir.get(i)+1)%1e15),e.apply(this,arguments)})}function zp(i){i.notifyTimeout&&(clearTimeout(i.notifyTimeout),i.notifyTimeout=void 0)}var fs=function(){function i(n,e){e===void 0&&(e=n.generateQueryId()),this.queryId=e,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var t=this.cache=n.cache;Ir.has(t)||(Ir.set(t,0),Ql(t,"evict"),Ql(t,"modify"),Ql(t,"reset"))}return i.prototype.init=function(n){var e=n.networkStatus||Se.loading;return this.variables&&this.networkStatus!==Se.loading&&!Ne(this.variables,n.variables)&&(e=Se.setVariables),Ne(n.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:n.document,variables:n.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:e}),n.observableQuery&&this.setObservableQuery(n.observableQuery),n.lastRequestId&&(this.lastRequestId=n.lastRequestId),this},i.prototype.reset=function(){zp(this),this.dirty=!1},i.prototype.resetDiff=function(){this.lastDiff=void 0},i.prototype.getDiff=function(){var n=this.getDiffOptions();if(this.lastDiff&&Ne(n,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var e=this.observableQuery;if(e&&e.options.fetchPolicy==="no-cache")return{complete:!1};var t=this.cache.diff(n);return this.updateLastDiff(t,n),t},i.prototype.updateLastDiff=function(n,e){this.lastDiff=n?{diff:n,options:e||this.getDiffOptions()}:void 0},i.prototype.getDiffOptions=function(n){var e;return n===void 0&&(n=this.variables),{query:this.document,variables:n,returnPartialData:!0,optimistic:!0,canonizeResults:(e=this.observableQuery)===null||e===void 0?void 0:e.options.canonizeResults}},i.prototype.setDiff=function(n){var e=this,t,r=this.lastDiff&&this.lastDiff.diff;n&&!n.complete&&(!((t=this.observableQuery)===null||t===void 0)&&t.getLastError())||(this.updateLastDiff(n),!this.dirty&&!Ne(r&&r.result,n&&n.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0))))},i.prototype.setObservableQuery=function(n){var e=this;n!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=n,n?(n.queryInfo=this,this.listeners.add(this.oqListener=function(){var t=e.getDiff();t.fromOptimisticTransaction?n.observe():zl(n)})):delete this.oqListener)},i.prototype.notify=function(){var n=this;zp(this),this.shouldNotify()&&this.listeners.forEach(function(e){return e(n)}),this.dirty=!1},i.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(rn(this.networkStatus)&&this.observableQuery){var n=this.observableQuery.options.fetchPolicy;if(n!=="cache-only"&&n!=="cache-and-network")return!1}return!0},i.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=i.prototype.cancel;var n=this.observableQuery;n&&n.stopPolling()}},i.prototype.cancel=function(){},i.prototype.updateWatch=function(n){var e=this;n===void 0&&(n=this.variables);var t=this.observableQuery;if(!(t&&t.options.fetchPolicy==="no-cache")){var r=b(b({},this.getDiffOptions(n)),{watcher:this,callback:function(o){return e.setDiff(o)}});(!this.lastWatch||!Ne(r,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},i.prototype.resetLastWrite=function(){this.lastWrite=void 0},i.prototype.shouldWrite=function(n,e){var t=this.lastWrite;return!(t&&t.dmCount===Ir.get(this.cache)&&Ne(e,t.variables)&&Ne(n.data,t.result.data))},i.prototype.markResult=function(n,e,t,r){var o=this,a=new Vt,s=vt(n.errors)?n.errors.slice(0):[];if(this.reset(),"incremental"in n&&vt(n.incremental)){var c=Xa(this.getDiff().result,n);n.data=c}else if("hasNext"in n&&n.hasNext){var l=this.getDiff();n.data=a.merge(l.result,n.data)}this.graphQLErrors=s,t.fetchPolicy==="no-cache"?this.updateLastDiff({result:n.data,complete:!0},this.getDiffOptions(t.variables)):r!==0&&(gs(n,t.errorPolicy)?this.cache.performTransaction(function(d){if(o.shouldWrite(n,t.variables))d.writeQuery({query:e,data:n.data,variables:t.variables,overwrite:r===1}),o.lastWrite={result:n,variables:t.variables,dmCount:Ir.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){n.data=o.lastDiff.diff.result;return}var h=o.getDiffOptions(t.variables),m=d.diff(h);!o.stopped&&Ne(o.variables,t.variables)&&o.updateWatch(t.variables),o.updateLastDiff(m,h),m.complete&&(n.data=m.result)}):this.lastWrite=void 0)},i.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Se.ready},i.prototype.markError=function(n){return this.networkStatus=Se.error,this.lastWrite=void 0,this.reset(),n.graphQLErrors&&(this.graphQLErrors=n.graphQLErrors),n.networkError&&(this.networkError=n.networkError),n},i}();function gs(i,n){n===void 0&&(n="none");var e=n==="ignore"||n==="all",t=!wr(i);return!t&&e&&i.data&&(t=!0),t}var D0=Object.prototype.hasOwnProperty,Hp=Object.create(null),Qp=function(){function i(n){var e=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new pr(dt["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Qt(!1);var t=new _r(function(o){return e.cache.transformDocument(o)},{cache:!1});this.cache=n.cache,this.link=n.link,this.defaultOptions=n.defaultOptions,this.queryDeduplication=n.queryDeduplication,this.clientAwareness=n.clientAwareness,this.localState=n.localState,this.ssrMode=n.ssrMode,this.assumeImmutableResults=n.assumeImmutableResults;var r=n.documentTransform;this.documentTransform=r?t.concat(r).concat(t):t,this.defaultContext=n.defaultContext||Object.create(null),(this.onBroadcast=n.onBroadcast)&&(this.mutationStore=Object.create(null))}return i.prototype.stop=function(){var n=this;this.queries.forEach(function(e,t){n.stopQueryNoBroadcast(t)}),this.cancelPendingFetches(Be(26))},i.prototype.cancelPendingFetches=function(n){this.fetchCancelFns.forEach(function(e){return e(n)}),this.fetchCancelFns.clear()},i.prototype.mutate=function(n){return ni(this,arguments,void 0,function(e){var t,r,o,a,s,c,l,d=e.mutation,h=e.variables,m=e.optimisticResponse,p=e.updateQueries,f=e.refetchQueries,g=f===void 0?[]:f,_=e.awaitRefetchQueries,v=_===void 0?!1:_,M=e.update,y=e.onQueryUpdated,q=e.fetchPolicy,U=q===void 0?((c=this.defaultOptions.mutate)===null||c===void 0?void 0:c.fetchPolicy)||"network-only":q,J=e.errorPolicy,be=J===void 0?((l=this.defaultOptions.mutate)===null||l===void 0?void 0:l.errorPolicy)||"none":J,_e=e.keepRootFields,ze=e.context;return ri(this,function(et){switch(et.label){case 0:return Y(d,27),Y(U==="network-only"||U==="no-cache",28),t=this.generateMutationId(),d=this.cache.transformForLink(this.transform(d)),r=this.getDocumentInfo(d).hasClientExports,h=this.getVariables(d,h),r?[4,this.localState.addExportedVariables(d,h,ze)]:[3,2];case 1:h=et.sent(),et.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:d,variables:h,loading:!0,error:null}),a=m&&this.markMutationOptimistic(m,{mutationId:t,document:d,variables:h,fetchPolicy:U,errorPolicy:be,context:ze,updateQueries:p,update:M,keepRootFields:_e}),this.broadcastQueries(),s=this,[2,new Promise(function(Wn,Gn){return Ya(s.getObservableFromLink(d,b(b({},ze),{optimisticResponse:a?m:void 0}),h,{},!1),function(_t){if(wr(_t)&&be==="none")throw new Oi({graphQLErrors:Za(_t)});o&&(o.loading=!1,o.error=null);var ji=b({},_t);return typeof g=="function"&&(g=g(ji)),be==="ignore"&&wr(ji)&&delete ji.errors,s.markMutationResult({mutationId:t,result:ji,document:d,variables:h,fetchPolicy:U,errorPolicy:be,context:ze,update:M,updateQueries:p,awaitRefetchQueries:v,refetchQueries:g,removeOptimistic:a?t:void 0,onQueryUpdated:y,keepRootFields:_e})}).subscribe({next:function(_t){s.broadcastQueries(),(!("hasNext"in _t)||_t.hasNext===!1)&&Wn(_t)},error:function(_t){o&&(o.loading=!1,o.error=_t),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),Gn(_t instanceof Oi?_t:new Oi({networkError:_t}))}})})]}})})},i.prototype.markMutationResult=function(n,e){var t=this;e===void 0&&(e=this.cache);var r=n.result,o=[],a=n.fetchPolicy==="no-cache";if(!a&&gs(r,n.errorPolicy)){if(en(r)||o.push({result:r.data,dataId:"ROOT_MUTATION",query:n.document,variables:n.variables}),en(r)&&vt(r.incremental)){var s=e.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(n.document).asQuery,variables:n.variables,optimistic:!1,returnPartialData:!0}),c=void 0;s.result&&(c=Xa(s.result,r)),typeof c<"u"&&(r.data=c,o.push({result:c,dataId:"ROOT_MUTATION",query:n.document,variables:n.variables}))}var l=n.updateQueries;l&&this.queries.forEach(function(h,m){var p=h.observableQuery,f=p&&p.queryName;if(!(!f||!D0.call(l,f))){var g=l[f],_=t.queries.get(m),v=_.document,M=_.variables,y=e.diff({query:v,variables:M,returnPartialData:!0,optimistic:!1}),q=y.result,U=y.complete;if(U&&q){var J=g(q,{mutationResult:r,queryName:v&&gr(v)||void 0,queryVariables:M});J&&o.push({result:J,dataId:"ROOT_QUERY",query:v,variables:M})}}})}if(o.length>0||(n.refetchQueries||"").length>0||n.update||n.onQueryUpdated||n.removeOptimistic){var d=[];if(this.refetchQueries({updateCache:function(h){a||o.forEach(function(g){return h.write(g)});var m=n.update,p=!Wm(r)||en(r)&&!r.hasNext;if(m){if(!a){var f=h.diff({id:"ROOT_MUTATION",query:t.getDocumentInfo(n.document).asQuery,variables:n.variables,optimistic:!1,returnPartialData:!0});f.complete&&(r=b(b({},r),{data:f.result}),"incremental"in r&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}p&&m(h,r,{context:n.context,variables:n.variables})}!a&&!n.keepRootFields&&p&&h.modify({id:"ROOT_MUTATION",fields:function(g,_){var v=_.fieldName,M=_.DELETE;return v==="__typename"?g:M}})},include:n.refetchQueries,optimistic:!1,removeOptimistic:n.removeOptimistic,onQueryUpdated:n.onQueryUpdated||null}).forEach(function(h){return d.push(h)}),n.awaitRefetchQueries||n.onQueryUpdated)return Promise.all(d).then(function(){return r})}return Promise.resolve(r)},i.prototype.markMutationOptimistic=function(n,e){var t=this,r=typeof n=="function"?n(e.variables,{IGNORE:Hp}):n;return r===Hp?!1:(this.cache.recordOptimisticTransaction(function(o){try{t.markMutationResult(b(b({},e),{result:{data:r}}),o)}catch(a){globalThis.__DEV__!==!1&&Y.error(a)}},e.mutationId),!0)},i.prototype.fetchQuery=function(n,e,t){return this.fetchConcastWithInfo(n,e,t).concast.promise},i.prototype.getQueryStore=function(){var n=Object.create(null);return this.queries.forEach(function(e,t){n[t]={variables:e.variables,networkStatus:e.networkStatus,networkError:e.networkError,graphQLErrors:e.graphQLErrors}}),n},i.prototype.resetErrors=function(n){var e=this.queries.get(n);e&&(e.networkError=void 0,e.graphQLErrors=[])},i.prototype.transform=function(n){return this.documentTransform.transformDocument(n)},i.prototype.getDocumentInfo=function(n){var e=this.transformCache;if(!e.has(n)){var t={hasClientExports:qc(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),hasNonreactiveDirective:Ei(["nonreactive"],n),clientQuery:this.localState.clientQuery(n),serverQuery:qa([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],n),defaultVars:Dn(_i(n)),asQuery:b(b({},n),{definitions:n.definitions.map(function(r){return r.kind==="OperationDefinition"&&r.operation!=="query"?b(b({},r),{operation:"query"}):r})})};e.set(n,t)}return e.get(n)},i.prototype.getVariables=function(n,e){return b(b({},this.getDocumentInfo(n).defaultVars),e)},i.prototype.watchQuery=function(n){var e=this.transform(n.query);n=b(b({},n),{variables:this.getVariables(e,n.variables)}),typeof n.notifyOnNetworkStatusChange>"u"&&(n.notifyOnNetworkStatusChange=!1);var t=new fs(this),r=new ps({queryManager:this,queryInfo:t,options:n});return r.lastQuery=e,this.queries.set(r.queryId,t),t.init({document:e,observableQuery:r,variables:r.variables}),r},i.prototype.query=function(n,e){var t=this;return e===void 0&&(e=this.generateQueryId()),Y(n.query,29),Y(n.query.kind==="Document",30),Y(!n.returnPartialData,31),Y(!n.pollInterval,32),this.fetchQuery(e,b(b({},n),{query:this.transform(n.query)})).finally(function(){return t.stopQuery(e)})},i.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},i.prototype.generateRequestId=function(){return this.requestIdCounter++},i.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},i.prototype.stopQueryInStore=function(n){this.stopQueryInStoreNoBroadcast(n),this.broadcastQueries()},i.prototype.stopQueryInStoreNoBroadcast=function(n){var e=this.queries.get(n);e&&e.stop()},i.prototype.clearStore=function(n){return n===void 0&&(n={discardWatches:!0}),this.cancelPendingFetches(Be(33)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=Se.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(n)},i.prototype.getObservableQueries=function(n){var e=this;n===void 0&&(n="active");var t=new Map,r=new Map,o=new Set;return Array.isArray(n)&&n.forEach(function(a){typeof a=="string"?r.set(a,!1):Zc(a)?r.set(e.transform(a),!1):Ie(a)&&a.query&&o.add(a)}),this.queries.forEach(function(a,s){var c=a.observableQuery,l=a.document;if(c){if(n==="all"){t.set(s,c);return}var d=c.queryName,h=c.options.fetchPolicy;if(h==="standby"||n==="active"&&!c.hasObservers())return;(n==="active"||d&&r.has(d)||l&&r.has(l))&&(t.set(s,c),d&&r.set(d,!0),l&&r.set(l,!0))}}),o.size&&o.forEach(function(a){var s=ro("legacyOneTimeQuery"),c=e.getQuery(s).init({document:a.query,variables:a.variables}),l=new ps({queryManager:e,queryInfo:c,options:b(b({},a),{fetchPolicy:"network-only"})});Y(l.queryId===s),c.setObservableQuery(l),t.set(s,l)}),globalThis.__DEV__!==!1&&r.size&&r.forEach(function(a,s){a||globalThis.__DEV__!==!1&&Y.warn(typeof s=="string"?34:35,s)}),t},i.prototype.reFetchObservableQueries=function(n){var e=this;n===void 0&&(n=!1);var t=[];return this.getObservableQueries(n?"all":"active").forEach(function(r,o){var a=r.options.fetchPolicy;r.resetLastResults(),(n||a!=="standby"&&a!=="cache-only")&&t.push(r.refetch()),e.getQuery(o).setDiff(null)}),this.broadcastQueries(),Promise.all(t)},i.prototype.setObservableQuery=function(n){this.getQuery(n.queryId).setObservableQuery(n)},i.prototype.startGraphQLSubscription=function(n){var e=this,t=n.query,r=n.fetchPolicy,o=n.errorPolicy,a=o===void 0?"none":o,s=n.variables,c=n.context,l=c===void 0?{}:c,d=n.extensions,h=d===void 0?{}:d;t=this.transform(t),s=this.getVariables(t,s);var m=function(f){return e.getObservableFromLink(t,l,f,h).map(function(g){r!=="no-cache"&&(gs(g,a)&&e.cache.write({query:t,result:g.data,dataId:"ROOT_SUBSCRIPTION",variables:f}),e.broadcastQueries());var _=wr(g),v=Km(g);if(_||v){var M={};if(_&&(M.graphQLErrors=g.errors),v&&(M.protocolErrors=g.extensions[Co]),a==="none"||v)throw new Oi(M)}return a==="ignore"&&delete g.errors,g})};if(this.getDocumentInfo(t).hasClientExports){var p=this.localState.addExportedVariables(t,s,l).then(m);return new we(function(f){var g=null;return p.then(function(_){return g=_.subscribe(f)},f.error),function(){return g&&g.unsubscribe()}})}return m(s)},i.prototype.stopQuery=function(n){this.stopQueryNoBroadcast(n),this.broadcastQueries()},i.prototype.stopQueryNoBroadcast=function(n){this.stopQueryInStoreNoBroadcast(n),this.removeQuery(n)},i.prototype.removeQuery=function(n){this.fetchCancelFns.delete(n),this.queries.has(n)&&(this.getQuery(n).stop(),this.queries.delete(n))},i.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(n){return n.notify()})},i.prototype.getLocalState=function(){return this.localState},i.prototype.getObservableFromLink=function(n,e,t,r,o){var a=this,s;o===void 0&&(o=(s=e?.queryDeduplication)!==null&&s!==void 0?s:this.queryDeduplication);var c,l=this.getDocumentInfo(n),d=l.serverQuery,h=l.clientQuery;if(d){var m=this,p=m.inFlightLinkObservables,f=m.link,g={query:d,variables:t,operationName:gr(d)||void 0,context:this.prepareContext(b(b({},e),{forceFetch:!o})),extensions:r};if(e=g.context,o){var _=Ji(d),v=Mt(t),M=p.lookup(_,v);if(c=M.observable,!c){var y=new An([Cr(f,g)]);c=M.observable=y,y.beforeNext(function(){p.remove(_,v)})}}else c=new An([Cr(f,g)])}else c=new An([we.of({data:{}})]),e=this.prepareContext(e);return h&&(c=Ya(c,function(q){return a.localState.runResolvers({document:h,remoteResult:q,context:e,variables:t})})),c},i.prototype.getResultsFromLink=function(n,e,t){var r=n.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(t.query);return Ya(this.getObservableFromLink(o,t.context,t.variables),function(a){var s=Za(a),c=s.length>0,l=t.errorPolicy;if(r>=n.lastRequestId){if(c&&l==="none")throw n.markError(new Oi({graphQLErrors:s}));n.markResult(a,o,t,e),n.markReady()}var d={data:a.data,loading:!1,networkStatus:Se.ready};return c&&l==="none"&&(d.data=void 0),c&&l!=="ignore"&&(d.errors=s,d.networkStatus=Se.error),d},function(a){var s=is(a)?a:new Oi({networkError:a});throw r>=n.lastRequestId&&n.markError(s),s})},i.prototype.fetchConcastWithInfo=function(n,e,t,r){var o=this;t===void 0&&(t=Se.loading),r===void 0&&(r=e.query);var a=this.getVariables(r,e.variables),s=this.getQuery(n),c=this.defaultOptions.watchQuery,l=e.fetchPolicy,d=l===void 0?c&&c.fetchPolicy||"cache-first":l,h=e.errorPolicy,m=h===void 0?c&&c.errorPolicy||"none":h,p=e.returnPartialData,f=p===void 0?!1:p,g=e.notifyOnNetworkStatusChange,_=g===void 0?!1:g,v=e.context,M=v===void 0?{}:v,y=Object.assign({},e,{query:r,variables:a,fetchPolicy:d,errorPolicy:m,returnPartialData:f,notifyOnNetworkStatusChange:_,context:M}),q=function(ze){y.variables=ze;var et=o.fetchQueryByPolicy(s,y,t);return y.fetchPolicy!=="standby"&&et.sources.length>0&&s.observableQuery&&s.observableQuery.applyNextFetchPolicy("after-fetch",e),et},U=function(){return o.fetchCancelFns.delete(n)};this.fetchCancelFns.set(n,function(ze){U(),setTimeout(function(){return J.cancel(ze)})});var J,be;if(this.getDocumentInfo(y.query).hasClientExports)J=new An(this.localState.addExportedVariables(y.query,y.variables,y.context).then(q).then(function(ze){return ze.sources})),be=!0;else{var _e=q(y.variables);be=_e.fromLink,J=new An(_e.sources)}return J.promise.then(U,U),{concast:J,fromLink:be}},i.prototype.refetchQueries=function(n){var e=this,t=n.updateCache,r=n.include,o=n.optimistic,a=o===void 0?!1:o,s=n.removeOptimistic,c=s===void 0?a?ro("refetchQueries"):void 0:s,l=n.onQueryUpdated,d=new Map;r&&this.getObservableQueries(r).forEach(function(m,p){d.set(p,{oq:m,lastDiff:e.getQuery(p).getDiff()})});var h=new Map;return t&&this.cache.batch({update:t,optimistic:a&&c||!1,removeOptimistic:c,onWatchUpdated:function(m,p,f){var g=m.watcher instanceof fs&&m.watcher.observableQuery;if(g){if(l){d.delete(g.queryId);var _=l(g,p,f);return _===!0&&(_=g.refetch()),_!==!1&&h.set(g,_),_}l!==null&&d.set(g.queryId,{oq:g,lastDiff:f,diff:p})}}}),d.size&&d.forEach(function(m,p){var f=m.oq,g=m.lastDiff,_=m.diff,v;if(l){if(!_){var M=f.queryInfo;M.reset(),_=M.getDiff()}v=l(f,_,g)}(!l||v===!0)&&(v=f.refetch()),v!==!1&&h.set(f,v),p.indexOf("legacyOneTimeQuery")>=0&&e.stopQueryNoBroadcast(p)}),c&&this.cache.removeOptimistic(c),h},i.prototype.fetchQueryByPolicy=function(n,e,t){var r=this,o=e.query,a=e.variables,s=e.fetchPolicy,c=e.refetchWritePolicy,l=e.errorPolicy,d=e.returnPartialData,h=e.context,m=e.notifyOnNetworkStatusChange,p=n.networkStatus;n.init({document:o,variables:a,networkStatus:t});var f=function(){return n.getDiff()},g=function(q,U){U===void 0&&(U=n.networkStatus||Se.loading);var J=q.result;globalThis.__DEV__!==!1&&!d&&!Ne(J,{})&&Hl(q.missing);var be=function(_e){return we.of(b({data:_e,loading:rn(U),networkStatus:U},q.complete?null:{partial:!0}))};return J&&r.getDocumentInfo(o).hasForcedResolvers?r.localState.runResolvers({document:o,remoteResult:{data:J},context:h,variables:a,onlyRunForcedResolvers:!0}).then(function(_e){return be(_e.data||void 0)}):l==="none"&&U===Se.refetch&&Array.isArray(q.missing)?be(void 0):be(J)},_=s==="no-cache"?0:t===Se.refetch&&c!=="merge"?1:2,v=function(){return r.getResultsFromLink(n,_,{query:o,variables:a,context:h,fetchPolicy:s,errorPolicy:l})},M=m&&typeof p=="number"&&p!==t&&rn(t);switch(s){default:case"cache-first":{var y=f();return y.complete?{fromLink:!1,sources:[g(y,n.markReady())]}:d||M?{fromLink:!0,sources:[g(y),v()]}:{fromLink:!0,sources:[v()]}}case"cache-and-network":{var y=f();return y.complete||d||M?{fromLink:!0,sources:[g(y),v()]}:{fromLink:!0,sources:[v()]}}case"cache-only":return{fromLink:!1,sources:[g(f(),n.markReady())]};case"network-only":return M?{fromLink:!0,sources:[g(f()),v()]}:{fromLink:!0,sources:[v()]};case"no-cache":return M?{fromLink:!0,sources:[g(n.getDiff()),v()]}:{fromLink:!0,sources:[v()]};case"standby":return{fromLink:!1,sources:[]}}},i.prototype.getQuery=function(n){return n&&!this.queries.has(n)&&this.queries.set(n,new fs(this,n)),this.queries.get(n)},i.prototype.prepareContext=function(n){n===void 0&&(n={});var e=this.localState.prepareContext(n);return b(b(b({},this.defaultContext),e),{clientAwareness:this.clientAwareness})},i}();var Up=function(){function i(n){var e=n.cache,t=n.client,r=n.resolvers,o=n.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=e,t&&(this.client=t),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return i.prototype.addResolvers=function(n){var e=this;this.resolvers=this.resolvers||{},Array.isArray(n)?n.forEach(function(t){e.resolvers=al(e.resolvers,t)}):this.resolvers=al(this.resolvers,n)},i.prototype.setResolvers=function(n){this.resolvers={},this.addResolvers(n)},i.prototype.getResolvers=function(){return this.resolvers||{}},i.prototype.runResolvers=function(n){return ni(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,o=e.context,a=e.variables,s=e.onlyRunForcedResolvers,c=s===void 0?!1:s;return ri(this,function(l){return t?[2,this.resolveDocument(t,r.data,o,a,this.fragmentMatcher,c).then(function(d){return b(b({},r),{data:d.result})})]:[2,r]})})},i.prototype.setFragmentMatcher=function(n){this.fragmentMatcher=n},i.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},i.prototype.clientQuery=function(n){return Ei(["client"],n)&&this.resolvers?n:null},i.prototype.serverQuery=function(n){return bo(n)},i.prototype.prepareContext=function(n){var e=this.cache;return b(b({},n),{cache:e,getCacheKey:function(t){return e.identify(t)}})},i.prototype.addExportedVariables=function(n){return ni(this,arguments,void 0,function(e,t,r){return t===void 0&&(t={}),r===void 0&&(r={}),ri(this,function(o){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(a){return b(b({},t),a.exportedVariables)})]:[2,b({},t)]})})},i.prototype.shouldForceResolvers=function(n){var e=!1;return wt(n,{Directive:{enter:function(t){if(t.name.value==="client"&&t.arguments&&(e=t.arguments.some(function(r){return r.name.value==="always"&&r.value.kind==="BooleanValue"&&r.value.value===!0}),e))return Cn}}}),e},i.prototype.buildRootValueFromCache=function(n,e){return this.cache.diff({query:ol(n),variables:e,returnPartialData:!0,optimistic:!1}).result},i.prototype.resolveDocument=function(n,e){return ni(this,arguments,void 0,function(t,r,o,a,s,c){var l,d,h,m,p,f,g,_,v,M,y;return o===void 0&&(o={}),a===void 0&&(a={}),s===void 0&&(s=function(){return!0}),c===void 0&&(c=!1),ri(this,function(q){return l=di(t),d=Mi(t),h=Ii(d),m=this.collectSelectionsToResolve(l,h),p=l.operation,f=p?p.charAt(0).toUpperCase()+p.slice(1):"Query",g=this,_=g.cache,v=g.client,M={fragmentMap:h,context:b(b({},o),{cache:_,client:v}),variables:a,fragmentMatcher:s,defaultOperationType:f,exportedVariables:{},selectionsToResolve:m,onlyRunForcedResolvers:c},y=!1,[2,this.resolveSelectionSet(l.selectionSet,y,r,M).then(function(U){return{result:U,exportedVariables:M.exportedVariables}})]})})},i.prototype.resolveSelectionSet=function(n,e,t,r){return ni(this,void 0,void 0,function(){var o,a,s,c,l,d=this;return ri(this,function(h){return o=r.fragmentMap,a=r.context,s=r.variables,c=[t],l=function(m){return ni(d,void 0,void 0,function(){var p,f;return ri(this,function(g){return!e&&!r.selectionsToResolve.has(m)?[2]:ci(m,s)?At(m)?[2,this.resolveField(m,e,t,r).then(function(_){var v;typeof _<"u"&&c.push((v={},v[jt(m)]=_,v))})]:(el(m)?p=m:(p=o[m.name.value],Y(p,18,m.name.value)),p&&p.typeCondition&&(f=p.typeCondition.name.value,r.fragmentMatcher(t,f,a))?[2,this.resolveSelectionSet(p.selectionSet,e,t,r).then(function(_){c.push(_)})]:[2]):[2]})})},[2,Promise.all(n.selections.map(l)).then(function(){return Tn(c)})]})})},i.prototype.resolveField=function(n,e,t,r){return ni(this,void 0,void 0,function(){var o,a,s,c,l,d,h,m,p,f=this;return ri(this,function(g){return t?(o=r.variables,a=n.name.value,s=jt(n),c=a!==s,l=t[s]||t[a],d=Promise.resolve(l),(!r.onlyRunForcedResolvers||this.shouldForceResolvers(n))&&(h=t.__typename||r.defaultOperationType,m=this.resolvers&&this.resolvers[h],m&&(p=m[c?a:s],p&&(d=Promise.resolve(Dr.withValue(this.cache,p,[t,Ti(n,o),r.context,{field:n,fragmentMap:r.fragmentMap}]))))),[2,d.then(function(_){var v,M;if(_===void 0&&(_=l),n.directives&&n.directives.forEach(function(q){q.name.value==="export"&&q.arguments&&q.arguments.forEach(function(U){U.name.value==="as"&&U.value.kind==="StringValue"&&(r.exportedVariables[U.value.value]=_)})}),!n.selectionSet||_==null)return _;var y=(M=(v=n.directives)===null||v===void 0?void 0:v.some(function(q){return q.name.value==="client"}))!==null&&M!==void 0?M:!1;if(Array.isArray(_))return f.resolveSubSelectedArray(n,e||y,_,r);if(n.selectionSet)return f.resolveSelectionSet(n.selectionSet,e||y,_,r)})]):[2,null]})})},i.prototype.resolveSubSelectedArray=function(n,e,t,r){var o=this;return Promise.all(t.map(function(a){if(a===null)return null;if(Array.isArray(a))return o.resolveSubSelectedArray(n,e,a,r);if(n.selectionSet)return o.resolveSelectionSet(n.selectionSet,e,a,r)}))},i.prototype.collectSelectionsToResolve=function(n,e){var t=function(a){return!Array.isArray(a)},r=this.selectionsToResolveCache;function o(a){if(!r.has(a)){var s=new Set;r.set(a,s),wt(a,{Directive:function(c,l,d,h,m){c.name.value==="client"&&m.forEach(function(p){t(p)&&co(p)&&s.add(p)})},FragmentSpread:function(c,l,d,h,m){var p=e[c.name.value];Y(p,19,c.name.value);var f=o(p);f.size>0&&(m.forEach(function(g){t(g)&&co(g)&&s.add(g)}),s.add(c),f.forEach(function(g){s.add(g)}))}})}return r.get(a)}return o(n)},i}();var qp=!1;var To=function(){function i(n){var e=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!n.cache)throw Be(15);var t=n.uri,r=n.credentials,o=n.headers,a=n.cache,s=n.documentTransform,c=n.ssrMode,l=c===void 0?!1:c,d=n.ssrForceFetchDelay,h=d===void 0?0:d,m=n.connectToDevTools,p=n.queryDeduplication,f=p===void 0?!0:p,g=n.defaultOptions,_=n.defaultContext,v=n.assumeImmutableResults,M=v===void 0?a.assumeImmutableResults:v,y=n.resolvers,q=n.typeDefs,U=n.fragmentMatcher,J=n.name,be=n.version,_e=n.devtools,ze=n.link;ze||(ze=t?new Cl({uri:t,credentials:r,headers:o}):Xt.empty()),this.link=ze,this.cache=a,this.disableNetworkFetches=l||h>0,this.queryDeduplication=f,this.defaultOptions=g||Object.create(null),this.typeDefs=q,this.devtoolsConfig=b(b({},_e),{enabled:_e?.enabled||m}),this.devtoolsConfig.enabled===void 0&&(this.devtoolsConfig.enabled=globalThis.__DEV__!==!1),h&&setTimeout(function(){return e.disableNetworkFetches=!1},h),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=no,this.localState=new Up({cache:a,client:this,resolvers:y,fragmentMatcher:U}),this.queryManager=new Qp({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:_,documentTransform:s,queryDeduplication:f,ssrMode:l,clientAwareness:{name:J,version:be},localState:this.localState,assumeImmutableResults:M,onBroadcast:this.devtoolsConfig.enabled?function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager.getQueryStore(),mutations:e.queryManager.mutationStore||{}},dataWithOptimisticResults:e.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return i.prototype.connectToDevTools=function(){if(!(typeof window>"u")){var n=window,e=Symbol.for("apollo.devtools");(n[e]=n[e]||[]).push(this),n.__APOLLO_CLIENT__=this,!qp&&globalThis.__DEV__!==!1&&(qp=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var t=window.navigator,r=t&&t.userAgent,o=void 0;typeof r=="string"&&(r.indexOf("Chrome/")>-1?o="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":r.indexOf("Firefox/")>-1&&(o="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),o&&globalThis.__DEV__!==!1&&Y.log("Download the Apollo DevTools for a better development experience: %s",o)}},1e4))}},Object.defineProperty(i.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),i.prototype.stop=function(){this.queryManager.stop()},i.prototype.watchQuery=function(n){return this.defaultOptions.watchQuery&&(n=yo(this.defaultOptions.watchQuery,n)),this.disableNetworkFetches&&(n.fetchPolicy==="network-only"||n.fetchPolicy==="cache-and-network")&&(n=b(b({},n),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(n)},i.prototype.query=function(n){return this.defaultOptions.query&&(n=yo(this.defaultOptions.query,n)),Y(n.fetchPolicy!=="cache-and-network",16),this.disableNetworkFetches&&n.fetchPolicy==="network-only"&&(n=b(b({},n),{fetchPolicy:"cache-first"})),this.queryManager.query(n)},i.prototype.mutate=function(n){return this.defaultOptions.mutate&&(n=yo(this.defaultOptions.mutate,n)),this.queryManager.mutate(n)},i.prototype.subscribe=function(n){return this.queryManager.startGraphQLSubscription(n)},i.prototype.readQuery=function(n,e){return e===void 0&&(e=!1),this.cache.readQuery(n,e)},i.prototype.watchFragment=function(n){return this.cache.watchFragment(n)},i.prototype.readFragment=function(n,e){return e===void 0&&(e=!1),this.cache.readFragment(n,e)},i.prototype.writeQuery=function(n){var e=this.cache.writeQuery(n);return n.broadcast!==!1&&this.queryManager.broadcastQueries(),e},i.prototype.writeFragment=function(n){var e=this.cache.writeFragment(n);return n.broadcast!==!1&&this.queryManager.broadcastQueries(),e},i.prototype.__actionHookForDevTools=function(n){this.devToolsHookCb=n},i.prototype.__requestRaw=function(n){return Cr(this.link,n)},i.prototype.resetStore=function(){var n=this;return Promise.resolve().then(function(){return n.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(n.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return n.reFetchObservableQueries()})},i.prototype.clearStore=function(){var n=this;return Promise.resolve().then(function(){return n.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(n.clearStoreCallbacks.map(function(e){return e()}))})},i.prototype.onResetStore=function(n){var e=this;return this.resetStoreCallbacks.push(n),function(){e.resetStoreCallbacks=e.resetStoreCallbacks.filter(function(t){return t!==n})}},i.prototype.onClearStore=function(n){var e=this;return this.clearStoreCallbacks.push(n),function(){e.clearStoreCallbacks=e.clearStoreCallbacks.filter(function(t){return t!==n})}},i.prototype.reFetchObservableQueries=function(n){return this.queryManager.reFetchObservableQueries(n)},i.prototype.refetchQueries=function(n){var e=this.queryManager.refetchQueries(n),t=[],r=[];e.forEach(function(a,s){t.push(s),r.push(a)});var o=Promise.all(r);return o.queries=t,o.results=r,o.catch(function(a){globalThis.__DEV__!==!1&&Y.debug(17,a)}),o},i.prototype.getObservableQueries=function(n){return n===void 0&&(n="active"),this.queryManager.getObservableQueries(n)},i.prototype.extract=function(n){return this.cache.extract(n)},i.prototype.restore=function(n){return this.cache.restore(n)},i.prototype.addResolvers=function(n){this.localState.addResolvers(n)},i.prototype.setResolvers=function(n){this.localState.setResolvers(n)},i.prototype.getResolvers=function(){return this.localState.getResolvers()},i.prototype.setLocalStateFragmentMatcher=function(n){this.localState.setFragmentMatcher(n)},i.prototype.setLink=function(n){this.link=this.queryManager.link=n},Object.defineProperty(i.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),i}();globalThis.__DEV__!==!1&&(To.prototype.getMemoryInternals=lm);var bs=new Map,Ul=new Map,Wp=!0,vs=!1;function Gp(i){return i.replace(/[\s,]+/g," ").trim()}function E0(i){return Gp(i.source.body.substring(i.start,i.end))}function I0(i){var n=new Set,e=[];return i.definitions.forEach(function(t){if(t.kind==="FragmentDefinition"){var r=t.name.value,o=E0(t.loc),a=Ul.get(r);a&&!a.has(o)?Wp&&console.warn("Warning: fragment with name "+r+` already exists. graphql-tag enforces all fragment names across your application to be unique; read more about -this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a||Ul.set(r,a=new Set),a.add(o),n.has(o)||(n.add(o),e.push(t))}else e.push(t)}),b(b({},i),{definitions:e})}function E0(i){var n=new Set(i.definitions);n.forEach(function(t){t.loc&&delete t.loc,Object.keys(t).forEach(function(r){var o=t[r];o&&typeof o=="object"&&n.add(o)})});var e=i.loc;return e&&(delete e.startToken,delete e.endToken),i}function I0(i){var n=Gp(i);if(!bs.has(n)){var e=ja(i,{experimentalFragmentVariables:vs,allowLegacyFragmentVariables:vs});if(!e||e.kind!=="Document")throw new Error("Not a valid GraphQL document.");bs.set(n,E0(D0(e)))}return bs.get(n)}function on(i){for(var n=[],e=1;e(i().then(e=>{n.closed||(n.next(e),n.complete())},e=>{n.closed||n.error(e)}),()=>n.unsubscribe()))}function S0(i,n){return n?i.pipe(Me({loading:!0}),ke(e=>Qe(N({},e),{loading:!!e.loading}))):i.pipe(ke(e=>Qe(N({},e),{loading:!1})))}var Wl=class{zone;constructor(n){this.zone=n}now=Date.now?Date.now:()=>+new Date;schedule(n,e=0,t){return this.zone.run(()=>_u.schedule(n,e,t))}};function Gl(i){return i[bu]=()=>i,i}function $l(i,n){return i.pipe(yu(new Wl(n)))}function T0(i){return function(e){return new We(function(r){let o=i.getCurrentResult(),{loading:a,errors:s,error:c,partial:l,data:d}=o,{partialRefetch:h,fetchPolicy:m}=i.options,p=s||c;return h&&l&&(!d||Object.keys(d).length===0)&&m!=="cache-only"&&!a&&!p&&r.next(Qe(N({},o),{loading:!0,networkStatus:Se.loading})),e.subscribe(r)})}}var Yl=class{obsQuery;valueChanges;queryId;constructor(n,e,t){this.obsQuery=n;let r=$l(ki(Gl(this.obsQuery)),e);this.valueChanges=t.useInitialLoading?r.pipe(T0(this.obsQuery)):r,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(n){return this.obsQuery.refetch(n)}fetchMore(n){return this.obsQuery.fetchMore(n)}subscribeToMore(n){return this.obsQuery.subscribeToMore(n)}updateQuery(n){return this.obsQuery.updateQuery(n)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(n){return this.obsQuery.startPolling(n)}setOptions(n){return this.obsQuery.setOptions(n)}setVariables(n){return this.obsQuery.setVariables(n)}},M0=new C("APOLLO_FLAGS"),Kl=new C("APOLLO_OPTIONS"),A0=new C("APOLLO_NAMED_OPTIONS"),_s=class{ngZone;flags;_client;useInitialLoading;useMutationLoading;constructor(n,e,t){this.ngZone=n,this.flags=e,this._client=t,this.useInitialLoading=e?.useInitialLoading??!1,this.useMutationLoading=e?.useMutationLoading??!1}watchQuery(n){return new Yl(this.ensureClient().watchQuery(N({},n)),this.ngZone,N({useInitialLoading:this.useInitialLoading},n))}query(n){return Zp(()=>this.ensureClient().query(N({},n)))}mutate(n){return S0(Zp(()=>this.ensureClient().mutate(N({},n))),n.useMutationLoading??this.useMutationLoading)}watchFragment(n,e){let t=ki(Gl(this.ensureClient().watchFragment(N({},n))));return e&&e.useZone!==!0?t:$l(t,this.ngZone)}subscribe(n,e){let t=ki(Gl(this.ensureClient().subscribe(N({},n))));return e&&e.useZone!==!0?t:$l(t,this.ngZone)}get client(){return this.ensureClient()}set client(n){if(this._client)throw new Error("Client has been already defined");this._client=n}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(this._client)return!0;throw new Error("Client has not been defined yet")}},Xl=(()=>{class i extends _s{map=new Map;constructor(e,t,r,o){if(super(e,o),t&&this.createDefault(t),r&&typeof r=="object"){for(let a in r)if(r.hasOwnProperty(a)){let s=r[a];this.create(s,a)}}}create(e,t){ql(t)?this.createNamed(t,e):this.createDefault(e)}default(){return this}use(e){return ql(e)?this.map.get(e):this.default()}createDefault(e){if(this._client)throw new Error("Apollo has been already created.");this.client=this.ngZone.runOutsideAngular(()=>new So(e))}createNamed(e,t){if(this.map.has(e))throw new Error(`Client ${e} has been already created`);this.map.set(e,new _s(this.ngZone,this.flags,this.ngZone.runOutsideAngular(()=>new So(t))))}removeClient(e){ql(e)?this.map.delete(e):this._client=void 0}static \u0275fac=function(t){return new(t||i)(x(B),x(Kl,8),x(A0,8),x(M0,8))};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})();function ql(i){return!!i&&i!=="default"}var Jp=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=j({type:i});static \u0275inj=L({providers:[Xl]})}return i})();function O0(i,...n){return on(i,...n)}var Je=O0;var Jl;try{Jl=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Jl=!1}var me=(()=>{class i{constructor(e){this._platformId=e,this.isBrowser=this._platformId?qu(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Jl)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(t){return new(t||i)(x(Au))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Sr,ef=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ed(){if(Sr)return Sr;if(typeof document!="object"||!document)return Sr=new Set(ef),Sr;let i=document.createElement("input");return Sr=new Set(ef.filter(n=>(i.setAttribute("type",n),i.type===n))),Sr}var Mo;function F0(){if(Mo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Mo=!0}))}finally{Mo=Mo||!1}return Mo}function Bt(i){return F0()?i:!!i.capture}var hi=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(hi||{}),ys,Rn;function xs(){if(Rn==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Rn=!1,Rn;if("scrollBehavior"in document.documentElement.style)Rn=!0;else{let i=Element.prototype.scrollTo;i?Rn=!/\{\s*\[native code\]\s*\}/.test(i.toString()):Rn=!1}}return Rn}function Tr(){if(typeof document!="object"||!document)return hi.NORMAL;if(ys==null){let i=document.createElement("div"),n=i.style;i.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",i.appendChild(e),document.body.appendChild(i),ys=hi.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,ys=i.scrollLeft===0?hi.NEGATED:hi.INVERTED),i.remove()}return ys}var Zl;function P0(){if(Zl==null){let i=typeof document<"u"?document.head:null;Zl=!!(i&&(i.createShadowRoot||i.attachShadow))}return Zl}function tf(i){if(P0()){let n=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Ao(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let n=i.shadowRoot.activeElement;if(n===i)break;i=n}return i}function Ot(i){return i.composedPath?i.composedPath()[0]:i.target}function Oo(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Le(i,...n){return n.length?n.some(e=>i[e]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}function ut(i){return i!=null&&`${i}`!="false"}function Ct(i,n=0){return N0(i)?Number(i):arguments.length===2?n:0}function N0(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function Mr(i){return Array.isArray(i)?i:[i]}function rt(i){return i==null?"":typeof i=="string"?i:`${i}px`}function zt(i){return i instanceof E?i.nativeElement:i}function L0(i){if(i.type==="characterData"&&i.target instanceof Comment)return!0;if(i.type==="childList"){for(let n=0;n{class i{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),j0=(()=>{class i{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map,this._ngZone=F(B)}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){let t=zt(e);return new We(r=>{let a=this._observeElement(t).pipe(ke(s=>s.filter(c=>!L0(c))),ye(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let t=new R,r=this._mutationObserverFactory.create(o=>t.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:t,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:t,stream:r}=this._observedElements.get(e);t&&t.disconnect(),r.complete(),this._observedElements.delete(e)}}static{this.\u0275fac=function(t){return new(t||i)(x(nf))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),td=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Ct(e),this._subscribe()}constructor(e,t){this._contentObserver=e,this._elementRef=t,this.event=new z,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(fi(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(j0),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",O],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[ae]})}}return i})(),ws=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[nf]})}}return i})();var rf=new Set,Fn,V0=(()=>{class i{constructor(e,t){this._platform=e,this._nonce=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):z0}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&B0(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(Ou,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function B0(i,n){if(!rf.has(i))try{Fn||(Fn=document.createElement("style"),n&&Fn.setAttribute("nonce",n),Fn.setAttribute("type","text/css"),document.head.appendChild(Fn)),Fn.sheet&&(Fn.sheet.insertRule(`@media ${i} {body{ }}`,0),rf.add(i))}catch(e){console.error(e)}}function z0(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Cs=(()=>{class i{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new R}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return of(Mr(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=of(Mr(e)).map(a=>this._registerQuery(a).observable),o=Zo(r);return o=wu(o.pipe(Ye(1)),o.pipe(Yn(1),fi(0))),o.pipe(ke(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:l})=>{s.matches=s.matches||c,s.breakpoints[l]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),o={observable:new We(a=>{let s=c=>this._zone.run(()=>a.next(c));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(Me(t),ke(({matches:a})=>({query:e,matches:a})),$(this._destroySubject)),mql:t};return this._queries.set(e,o),o}static{this.\u0275fac=function(t){return new(t||i)(x(V0),x(B))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function of(i){return i.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var af={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var uf=" ";function Pr(i,n,e){let t=Is(i,n);e=e.trim(),!t.some(r=>r.trim()===e)&&(t.push(e),i.setAttribute(n,t.join(uf)))}function sn(i,n,e){let t=Is(i,n);e=e.trim();let r=t.filter(o=>o!==e);r.length?i.setAttribute(n,r.join(uf)):i.removeAttribute(n)}function Is(i,n){return i.getAttribute(n)?.match(/\S+/g)??[]}var hf="cdk-describedby-message",ks="cdk-describedby-host",rd=0,mf=(()=>{class i{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${rd++}`,this._document=e,this._id=F(Mu)+"-"+rd++}describe(e,t,r){if(!this._canBeDescribed(e,t))return;let o=id(t,r);typeof t!="string"?(sf(t,this._id),this._messageRegistry.set(o,{messageElement:t,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(t,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,t,r){if(!t||!this._isElementNode(e))return;let o=id(t,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof t=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${ks}="${this._id}"]`);for(let t=0;tr.indexOf(hf)!=0);e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){let r=this._messageRegistry.get(t);Pr(e,"aria-describedby",r.messageElement.id),e.setAttribute(ks,this._id),r.referenceCount++}_removeMessageReference(e,t){let r=this._messageRegistry.get(t);r.referenceCount--,sn(e,"aria-describedby",r.messageElement.id),e.removeAttribute(ks)}_isElementDescribedByMessage(e,t){let r=Is(e,"aria-describedby"),o=this._messageRegistry.get(t),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&typeof t=="object")return!0;let r=t==null?"":`${t}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(t){return new(t||i)(x(oe),x(me))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function id(i,n){return typeof i=="string"?`${n||""}/${i}`:i}function sf(i,n){i.id||(i.id=`${hf}-${n}-${rd++}`)}var ex=200,od=class{constructor(n,e){this._letterKeyStream=new R,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new R,this.selectedItem=this._selectedItem;let t=typeof e?.debounceInterval=="number"?e.debounceInterval:ex;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(gi(e=>this._pressedLetters.push(e)),fi(n),ye(()=>this._pressedLetters.length>0),ke(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let t=1;tt.disabled,this.tabOut=new R,this.change=new R,n instanceof Gt?this._itemChangesSubscription=n.changes.subscribe(t=>this._itemsChanged(t.toArray())):oc(n)&&(this._effectRef=dc(()=>this._itemsChanged(n()),{injector:e}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new od(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem;this.updateActiveItem(n),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e))}}},Or=class extends Ss{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}},an=class extends Ss{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var Nn=(()=>{class i{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return ix(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let t=tx(dx(e));if(t&&(cf(t)===-1||!this.isVisible(t)))return!1;let r=e.nodeName.toLowerCase(),o=cf(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!cx(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,t){return lx(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static{this.\u0275fac=function(t){return new(t||i)(x(me))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function tx(i){try{return i.frameElement}catch{return null}}function ix(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function nx(i){let n=i.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function rx(i){return ax(i)&&i.type=="hidden"}function ox(i){return sx(i)&&i.hasAttribute("href")}function ax(i){return i.nodeName.toLowerCase()=="input"}function sx(i){return i.nodeName.toLowerCase()=="a"}function pf(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let n=i.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function cf(i){if(!pf(i))return null;let n=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function cx(i){let n=i.nodeName.toLowerCase(),e=n==="input"&&i.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function lx(i){return rx(i)?!1:nx(i)||ox(i)||i.hasAttribute("contenteditable")||pf(i)}function dx(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var ad=class{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,t,r,o=!1,a){this._element=n,this._checker=e,this._ngZone=t,this._document=r,this._injector=a,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let t=this._getFirstTabbableElement(e);return t?.focus(n),!!t}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let t=0;t=0;t--){let r=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?tt(n,{injector:this._injector}):setTimeout(n)}},Nr=(()=>{class i{constructor(e,t,r){this._checker=e,this._ngZone=t,this._injector=F(Ee),this._document=r}create(e,t=!1){return new ad(e,this._checker,this._ngZone,this._document,t,this._injector)}static{this.\u0275fac=function(t){return new(t||i)(x(Nn),x(B),x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Fo(i){return i.buttons===0||i.detail===0}function Po(i){let n=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var ux=new C("cdk-input-modality-detector-options"),hx={ignoreKeys:[18,17,224,91,16]},ff=650,Ar=Bt({passive:!0,capture:!0}),mx=(()=>{class i{get mostRecentModality(){return this._modality.value}constructor(e,t,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Vi(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ot(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(Po(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ot(a)},this._options=N(N({},hx),o),this.modalityDetected=this._modality.pipe(Yn(1)),this.modalityChanged=this.modalityDetected.pipe(Di()),e.isBrowser&&t.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Ar),r.addEventListener("mousedown",this._onMousedown,Ar),r.addEventListener("touchstart",this._onTouchstart,Ar)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ar),document.removeEventListener("mousedown",this._onMousedown,Ar),document.removeEventListener("touchstart",this._onTouchstart,Ar))}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(B),x(oe),x(ux,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),px=new C("liveAnnouncerElement",{providedIn:"root",factory:fx});function fx(){return null}var gx=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),bx=0,gf=(()=>{class i{constructor(e,t,r,o){this._ngZone=t,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...t){let r=this._defaultOptions,o,a;return t.length===1&&typeof t[0]=="number"?a=t[0]:[o,a]=t,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class i{constructor(e,t,r,o,a){this._ngZone=e,this._platform=t,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new R,this._rootNodeFocusAndBlurListener=s=>{let c=Ot(s);for(let l=c;l;l=l.parentElement)s.type==="focus"?this._onFocus(s,l):this._onBlur(s,l)},this._document=o,this._detectionMode=a?.detectionMode||Es.IMMEDIATE}monitor(e,t=!1){let r=zt(e);if(!this._platform.isBrowser||r.nodeType!==1)return He();let o=tf(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return t&&(a.checkChildren=!0),a.subject;let s={checkChildren:t,subject:new R,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let t=zt(e),r=this._elementInfo.get(t);r&&(r.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(r))}focusVia(e,t,r){let o=zt(e),a=this._getDocument().activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,c])=>this._originChanged(s,t,c)):(this._setOrigin(t),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Es.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===Es.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?ff:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,t){let r=this._elementInfo.get(t),o=Ot(e);!r||!r.checkChildren&&t!==o||this._originChanged(t,this._getFocusOrigin(o),r)}_onBlur(e,t){let r=this._elementInfo.get(t);!r||r.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(r,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,r=this._rootNodeFocusListenerCount.get(t)||0;r||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ds),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ds)}),this._rootNodeFocusListenerCount.set(t,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe($(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let r=this._rootNodeFocusListenerCount.get(t);r>1?this._rootNodeFocusListenerCount.set(t,r-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ds),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ds),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,r){this._setClasses(e,t),this._emitOrigin(r,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&t.push([o,r])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a{class i{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this._focusOrigin=null,this.cdkFocusChange=new z}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(ot))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}}return i})(),Pn=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(Pn||{}),lf="cdk-high-contrast-black-on-white",df="cdk-high-contrast-white-on-black",nd="cdk-high-contrast-active",cd=(()=>{class i{constructor(e,t){this._platform=e,this._document=t,this._breakpointSubscription=F(Cs).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Pn.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let t=this._document.defaultView||window,r=t&&t.getComputedStyle?t.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Pn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Pn.BLACK_ON_WHITE}return Pn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(nd,lf,df),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===Pn.BLACK_ON_WHITE?e.add(nd,lf):t===Pn.WHITE_ON_BLACK&&e.add(nd,df)}}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ts=(()=>{class i{constructor(e){e._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(t){return new(t||i)(x(cd))}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[ws]})}}return i})();var _x=new C("cdk-dir-doc",{providedIn:"root",factory:yx});function yx(){return F(oe)}var xx=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function wx(i){let n=i?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?xx.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Re=(()=>{class i{constructor(e){if(this.value="ltr",this.change=new z,e){let t=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=wx(t||r||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(t){return new(t||i)(x(_x,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var cn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var Cx=["text"],kx=[[["mat-icon"]],"*"],Dx=["mat-icon","*"];function Ex(i,n){if(i&1&&ie(0,"mat-pseudo-checkbox",1),i&2){let e=fe();ue("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function Ix(i,n){if(i&1&&ie(0,"mat-pseudo-checkbox",3),i&2){let e=fe();ue("disabled",e.disabled)}}function Sx(i,n){if(i&1&&(w(0,"span",4),Tt(1),I()),i&2){let e=fe();V(),ra("(",e.group.label,")")}}var Tx=["mat-internal-form-field",""],Mx=["*"];function Ax(){return!0}var Ox=new C("mat-sanity-checks",{providedIn:"root",factory:Ax}),K=(()=>{class i{constructor(e,t,r){this._sanityChecks=t,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Oo()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(t){return new(t||i)(x(cd),x(Ox,8),x(oe))}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[cn,cn]})}}return i})();var ln=class{constructor(n,e,t,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=t,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var dn=(()=>{class i{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var pd=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})(),ei=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(ei||{}),ud=class{constructor(n,e,t,r=!1){this._renderer=n,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=r,this.state=ei.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},vf=Bt({passive:!0,capture:!0}),hd=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=Ot(n);e&&this._events.get(n.type)?.forEach((t,r)=>{(r===e||r.contains(e))&&t.forEach(o=>o.handleEvent(n))})}}addHandler(n,e,t,r){let o=this._events.get(e);if(o){let a=o.get(t);a?a.add(r):o.set(t,new Set([r]))}else this._events.set(e,new Map([[t,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,vf)})}removeHandler(n,e,t){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(t),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,vf)))}},_f={enterDuration:225,exitDuration:150},Rx=800,yf=Bt({passive:!0,capture:!0}),xf=["mousedown","touchstart"],wf=["mouseup","mouseleave","touchend","touchcancel"],md=class i{static{this._eventManager=new hd}constructor(n,e,t,r){this._target=n,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=zt(t))}fadeInRipple(n,e,t={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=N(N({},_f),t.animation);t.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=t.radius||Fx(n,e,r),s=n-r.left,c=e-r.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${c-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let h=window.getComputedStyle(d),m=h.transitionProperty,p=h.transitionDuration,f=m==="none"||p==="0s"||p==="0s, 0s"||r.width===0&&r.height===0,g=new ud(this,d,t,f);d.style.transform="scale3d(1, 1, 1)",g.state=ei.FADING_IN,t.persistent||(this._mostRecentTransientRipple=g);let _=null;return!f&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let v=()=>{_&&(_.fallbackTimer=null),clearTimeout(y),this._finishRippleTransition(g)},M=()=>this._destroyRipple(g),y=setTimeout(M,l+100);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",M),_={onTransitionEnd:v,onTransitionCancel:M,fallbackTimer:y}}),this._activeRipples.set(g,_),(f||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(n){if(n.state===ei.FADING_OUT||n.state===ei.HIDDEN)return;let e=n.element,t=N(N({},_f),n.config.animation);e.style.transitionDuration=`${t.exitDuration}ms`,e.style.opacity="0",n.state=ei.FADING_OUT,(n._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=zt(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,xf.forEach(t=>{i._eventManager.addHandler(this._ngZone,t,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{wf.forEach(e=>{this._triggerElement.addEventListener(e,this,yf)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===ei.FADING_IN?this._startFadeOutTransition(n):n.state===ei.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:t}=n.config;n.state=ei.VISIBLE,!t&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=ei.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Fo(n),t=this._lastTouchStartEvent&&Date.now(){let e=n.state===ei.VISIBLE||n.config.terminateOnPointerUp&&n.state===ei.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(xf.forEach(e=>i._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(wf.forEach(e=>n.removeEventListener(e,this,yf)),this._pointerUpEventsRegistered=!1))}};function Fx(i,n,e){let t=Math.max(Math.abs(i-e.left),Math.abs(i-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(t*t+r*r)}var Ln=new C("mat-ripple-global-options"),ti=(()=>{class i{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,t,r,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new md(this,t,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:N(N(N({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,N(N({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,N(N({},this.rippleConfig),e))}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B),u(me),u(Ln,8),u(we,8))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return i})(),jn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})(),Px=(()=>{class i{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(t){return new(t||i)(u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,r){t&2&&P("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Q],decls:0,vars:0,template:function(t,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return i})(),Nx=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K]})}}return i})(),Lo=new C("MAT_OPTION_PARENT_COMPONENT");var jo=new C("MatOptgroup");var Lx=0,No=class{constructor(n,e=!1){this.source=n,this.isUserInput=e}},As=(()=>{class i{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,t,r,o){this._element=e,this._changeDetectorRef=t,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Lx++}`,this.onSelectionChange=new z,this._stateChanges=new R}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Le(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new No(this,e))}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Lo,8),u(jo,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-option"]],viewQuery:function(t,r){if(t&1&&re(Cx,7),t&2){let o;S(o=T())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,r){t&1&&ee("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),t&2&&(St("id",r.id),W("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),P("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",O]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ae,Q],ngContentSelectors:Dx,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,r){t&1&&(se(kx),te(0,Ex,1,2,"mat-pseudo-checkbox",1),A(1),w(2,"span",2,0),A(4,1),I(),te(5,Ix,1,1,"mat-pseudo-checkbox",3)(6,Sx,2,1,"span",4),ie(7,"div",5)),t&2&&(ge(r.multiple?0:-1),V(5),ge(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),V(),ge(r.group&&r.group._inert?6:-1),V(),ue("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[Px,ti],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();function Os(i,n,e){if(e.length){let t=n.toArray(),r=e.toArray(),o=0;for(let a=0;ae+t?Math.max(0,i-t+n):e}var Lr=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[jn,K,Nx]})}}return i})(),Cf={capture:!0},kf=["focus","mousedown","mouseenter","touchstart"],ld="mat-ripple-loader-uninitialized",dd="mat-ripple-loader-class-name",Df="mat-ripple-loader-centered",Ms="mat-ripple-loader-disabled",Fs=(()=>{class i{constructor(){this._document=F(oe,{optional:!0}),this._animationMode=F(we,{optional:!0}),this._globalRippleOptions=F(Ln,{optional:!0}),this._platform=F(me),this._ngZone=F(B),this._hosts=new Map,this._onInteraction=e=>{let t=Ot(e);if(t instanceof HTMLElement){let r=t.closest(`[${ld}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}},this._ngZone.runOutsideAngular(()=>{for(let e of kf)this._document?.addEventListener(e,this._onInteraction,Cf)})}ngOnDestroy(){let e=this._hosts.keys();for(let t of e)this.destroyRipple(t);for(let t of kf)this._document?.removeEventListener(t,this._onInteraction,Cf)}configureRipple(e,t){e.setAttribute(ld,this._globalRippleOptions?.namespace??""),(t.className||!e.hasAttribute(dd))&&e.setAttribute(dd,t.className||""),t.centered&&e.setAttribute(Df,""),t.disabled&&e.setAttribute(Ms,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,t){let r=this._hosts.get(e);if(r){r.disabled=t;return}t?e.setAttribute(Ms,""):e.removeAttribute(Ms)}_createRipple(e){if(!this._document)return;let t=this._hosts.get(e);if(t)return t;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(dd)),e.append(r);let o=new ti(new E(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,o.centered=e.hasAttribute(Df),o.disabled=e.hasAttribute(Ms),this.attachRipple(e,o),o}attachRipple(e,t){e.removeAttribute(ld),this._hosts.set(e,t)}destroyRipple(e){let t=this._hosts.get(e);t&&(t.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ef=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[Q],attrs:Tx,ngContentSelectors:Mx,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}}return i})();var Sf=["mat-button",""],gd=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],bd=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],jx='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',vd=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var Vx=["mat-mini-fab",""],Bx='.mat-mdc-fab-base{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-app-corner-large));color:var(--mat-fab-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-app-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-app-level3));height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-app-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',Tf=["mat-icon-button",""],Mf=["*"],zx='.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Hx=new C("MAT_BUTTON_CONFIG");var Qx=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Ps=(()=>{class i{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,t,r,o){this._elementRef=e,this._platform=t,this._ngZone=r,this._animationMode=o,this._focusMonitor=F(ot),this._rippleLoader=F(Fs),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=F(Hx,{optional:!0}),s=e.nativeElement,c=s.classList;this.disabledInteractive=a?.disabledInteractive??!1,this.color=a?.color??null,this._rippleLoader?.configureRipple(s,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:d}of Qx)s.hasAttribute(l)&&c.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",t){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,t):this._elementRef.nativeElement.focus(t)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(t){rc()}}static{this.\u0275dir=D({type:i,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",O],disabled:[2,"disabled","disabled",O],ariaDisabled:[2,"aria-disabled","ariaDisabled",O],disabledInteractive:[2,"disabledInteractive","disabledInteractive",O]},features:[ae]})}}return i})();var Af=(()=>{class i extends Ps{constructor(e,t,r,o){super(e,t,r,o),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}static{this.\u0275fac=function(t){rc()}}static{this.\u0275dir=D({type:i,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:$e(e)]},features:[ae,ne]})}}return i})(),LN=(()=>{class i extends Ps{constructor(e,t,r,o){super(e,t,r,o)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,Q],attrs:Sf,ngContentSelectors:bd,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(gd),ie(0,"span",0),A(1),w(2,"span",1),A(3,1),I(),A(4,2),ie(5,"span",2)(6,"span",3)),t&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return i})(),jN=(()=>{class i extends Af{constructor(e,t,r,o){super(e,t,r,o)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getDisabledAttribute()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[ne,Q],attrs:Sf,ngContentSelectors:bd,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(gd),ie(0,"span",0),A(1),w(2,"span",1),A(3,1),I(),A(4,2),ie(5,"span",2)(6,"span",3)),t&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[jx,vd],encapsulation:2,changeDetection:0})}}return i})(),Ux=new C("mat-mdc-fab-default-options",{providedIn:"root",factory:Of});function Of(){return{color:"accent"}}var If=Of();var VN=(()=>{class i extends Ps{constructor(e,t,r,o,a){super(e,t,r,o),this._options=a,this._isFab=!0,this._options=this._options||If,this.color=this._options.color||If.color}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(we,8),u(Ux,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,Q],attrs:Vx,ngContentSelectors:bd,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(gd),ie(0,"span",0),A(1),w(2,"span",1),A(3,1),I(),A(4,2),ie(5,"span",2)(6,"span",3)),t&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[Bx],encapsulation:2,changeDetection:0})}}return i})();var BN=(()=>{class i extends Ps{constructor(e,t,r,o){super(e,t,r,o),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,Q],attrs:Tf,ngContentSelectors:Mf,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(),ie(0,"span",0),A(1),ie(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',vd],encapsulation:2,changeDetection:0})}}return i})(),zN=(()=>{class i extends Af{constructor(e,t,r,o){super(e,t,r,o)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getDisabledAttribute()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[ne,Q],attrs:Tf,ngContentSelectors:Mf,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(),ie(0,"span",0),A(1),ie(2,"span",1)(3,"span",2))},styles:[zx,vd],encapsulation:2,changeDetection:0})}}return i})(),Rf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,jn,K]})}}return i})();var qx=Je` +this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a||Ul.set(r,a=new Set),a.add(o),n.has(o)||(n.add(o),e.push(t))}else e.push(t)}),b(b({},i),{definitions:e})}function S0(i){var n=new Set(i.definitions);n.forEach(function(t){t.loc&&delete t.loc,Object.keys(t).forEach(function(r){var o=t[r];o&&typeof o=="object"&&n.add(o)})});var e=i.loc;return e&&(delete e.startToken,delete e.endToken),i}function T0(i){var n=Gp(i);if(!bs.has(n)){var e=ja(i,{experimentalFragmentVariables:vs,allowLegacyFragmentVariables:vs});if(!e||e.kind!=="Document")throw new Error("Not a valid GraphQL document.");bs.set(n,S0(I0(e)))}return bs.get(n)}function on(i){for(var n=[],e=1;e(i().then(e=>{n.closed||(n.next(e),n.complete())},e=>{n.closed||n.error(e)}),()=>n.unsubscribe()))}function M0(i,n){return n?i.pipe(Me({loading:!0}),xe(e=>Qe(N({},e),{loading:!!e.loading}))):i.pipe(xe(e=>Qe(N({},e),{loading:!1})))}var Wl=class{zone;constructor(n){this.zone=n}now=Date.now?Date.now:()=>+new Date;schedule(n,e=0,t){return this.zone.run(()=>_u.schedule(n,e,t))}};function Gl(i){return i[bu]=()=>i,i}function $l(i,n){return i.pipe(yu(new Wl(n)))}function A0(i){return function(e){return new Ge(function(r){let o=i.getCurrentResult(),{loading:a,errors:s,error:c,partial:l,data:d}=o,{partialRefetch:h,fetchPolicy:m}=i.options,p=s||c;return h&&l&&(!d||Object.keys(d).length===0)&&m!=="cache-only"&&!a&&!p&&r.next(Qe(N({},o),{loading:!0,networkStatus:Se.loading})),e.subscribe(r)})}}var Yl=class{obsQuery;valueChanges;queryId;constructor(n,e,t){this.obsQuery=n;let r=$l(ki(Gl(this.obsQuery)),e);this.valueChanges=t.useInitialLoading?r.pipe(A0(this.obsQuery)):r,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(n){return this.obsQuery.refetch(n)}fetchMore(n){return this.obsQuery.fetchMore(n)}subscribeToMore(n){return this.obsQuery.subscribeToMore(n)}updateQuery(n){return this.obsQuery.updateQuery(n)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(n){return this.obsQuery.startPolling(n)}setOptions(n){return this.obsQuery.setOptions(n)}setVariables(n){return this.obsQuery.setVariables(n)}},O0=new C("APOLLO_FLAGS"),Kl=new C("APOLLO_OPTIONS"),R0=new C("APOLLO_NAMED_OPTIONS"),_s=class{ngZone;flags;_client;useInitialLoading;useMutationLoading;constructor(n,e,t){this.ngZone=n,this.flags=e,this._client=t,this.useInitialLoading=e?.useInitialLoading??!1,this.useMutationLoading=e?.useMutationLoading??!1}watchQuery(n){return new Yl(this.ensureClient().watchQuery(N({},n)),this.ngZone,N({useInitialLoading:this.useInitialLoading},n))}query(n){return Zp(()=>this.ensureClient().query(N({},n)))}mutate(n){return M0(Zp(()=>this.ensureClient().mutate(N({},n))),n.useMutationLoading??this.useMutationLoading)}watchFragment(n,e){let t=ki(Gl(this.ensureClient().watchFragment(N({},n))));return e&&e.useZone!==!0?t:$l(t,this.ngZone)}subscribe(n,e){let t=ki(Gl(this.ensureClient().subscribe(N({},n))));return e&&e.useZone!==!0?t:$l(t,this.ngZone)}get client(){return this.ensureClient()}set client(n){if(this._client)throw new Error("Client has been already defined");this._client=n}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(this._client)return!0;throw new Error("Client has not been defined yet")}},Xl=(()=>{class i extends _s{map=new Map;constructor(e,t,r,o){if(super(e,o),t&&this.createDefault(t),r&&typeof r=="object"){for(let a in r)if(r.hasOwnProperty(a)){let s=r[a];this.create(s,a)}}}create(e,t){ql(t)?this.createNamed(t,e):this.createDefault(e)}default(){return this}use(e){return ql(e)?this.map.get(e):this.default()}createDefault(e){if(this._client)throw new Error("Apollo has been already created.");this.client=this.ngZone.runOutsideAngular(()=>new To(e))}createNamed(e,t){if(this.map.has(e))throw new Error(`Client ${e} has been already created`);this.map.set(e,new _s(this.ngZone,this.flags,this.ngZone.runOutsideAngular(()=>new To(t))))}removeClient(e){ql(e)?this.map.delete(e):this._client=void 0}static \u0275fac=function(t){return new(t||i)(x(B),x(Kl,8),x(R0,8),x(O0,8))};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})();function ql(i){return!!i&&i!=="default"}var Jp=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=j({type:i});static \u0275inj=L({providers:[Xl]})}return i})();function F0(i,...n){return on(i,...n)}var We=F0;var Jl;try{Jl=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Jl=!1}var me=(()=>{class i{constructor(e){this._platformId=e,this.isBrowser=this._platformId?qu(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Jl)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(t){return new(t||i)(x(Au))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Sr,ef=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ed(){if(Sr)return Sr;if(typeof document!="object"||!document)return Sr=new Set(ef),Sr;let i=document.createElement("input");return Sr=new Set(ef.filter(n=>(i.setAttribute("type",n),i.type===n))),Sr}var Ao;function N0(){if(Ao==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ao=!0}))}finally{Ao=Ao||!1}return Ao}function Bt(i){return N0()?i:!!i.capture}var hi=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(hi||{}),ys,Rn;function xs(){if(Rn==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Rn=!1,Rn;if("scrollBehavior"in document.documentElement.style)Rn=!0;else{let i=Element.prototype.scrollTo;i?Rn=!/\{\s*\[native code\]\s*\}/.test(i.toString()):Rn=!1}}return Rn}function Tr(){if(typeof document!="object"||!document)return hi.NORMAL;if(ys==null){let i=document.createElement("div"),n=i.style;i.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",i.appendChild(e),document.body.appendChild(i),ys=hi.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,ys=i.scrollLeft===0?hi.NEGATED:hi.INVERTED),i.remove()}return ys}var Zl;function L0(){if(Zl==null){let i=typeof document<"u"?document.head:null;Zl=!!(i&&(i.createShadowRoot||i.attachShadow))}return Zl}function tf(i){if(L0()){let n=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Oo(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let n=i.shadowRoot.activeElement;if(n===i)break;i=n}return i}function Ot(i){return i.composedPath?i.composedPath()[0]:i.target}function Ro(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Le(i,...n){return n.length?n.some(e=>i[e]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}function ut(i){return i!=null&&`${i}`!="false"}function Ct(i,n=0){return j0(i)?Number(i):arguments.length===2?n:0}function j0(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function Mr(i){return Array.isArray(i)?i:[i]}function rt(i){return i==null?"":typeof i=="string"?i:`${i}px`}function zt(i){return i instanceof E?i.nativeElement:i}function V0(i){if(i.type==="characterData"&&i.target instanceof Comment)return!0;if(i.type==="childList"){for(let n=0;n{class i{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),B0=(()=>{class i{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map,this._ngZone=F(B)}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){let t=zt(e);return new Ge(r=>{let a=this._observeElement(t).pipe(xe(s=>s.filter(c=>!V0(c))),ye(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let t=new R,r=this._mutationObserverFactory.create(o=>t.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:t,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:t,stream:r}=this._observedElements.get(e);t&&t.disconnect(),r.complete(),this._observedElements.delete(e)}}static{this.\u0275fac=function(t){return new(t||i)(x(nf))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),td=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Ct(e),this._subscribe()}constructor(e,t){this._contentObserver=e,this._elementRef=t,this.event=new z,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(fi(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(B0),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",O],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[ae]})}}return i})(),ws=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[nf]})}}return i})();var rf=new Set,Fn,z0=(()=>{class i{constructor(e,t){this._platform=e,this._nonce=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Q0}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&H0(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(Ou,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function H0(i,n){if(!rf.has(i))try{Fn||(Fn=document.createElement("style"),n&&Fn.setAttribute("nonce",n),Fn.setAttribute("type","text/css"),document.head.appendChild(Fn)),Fn.sheet&&(Fn.sheet.insertRule(`@media ${i} {body{ }}`,0),rf.add(i))}catch(e){console.error(e)}}function Q0(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Cs=(()=>{class i{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new R}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return of(Mr(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=of(Mr(e)).map(a=>this._registerQuery(a).observable),o=Zo(r);return o=wu(o.pipe(Ke(1)),o.pipe(Yn(1),fi(0))),o.pipe(xe(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:l})=>{s.matches=s.matches||c,s.breakpoints[l]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),o={observable:new Ge(a=>{let s=c=>this._zone.run(()=>a.next(c));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(Me(t),xe(({matches:a})=>({query:e,matches:a})),$(this._destroySubject)),mql:t};return this._queries.set(e,o),o}static{this.\u0275fac=function(t){return new(t||i)(x(z0),x(B))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function of(i){return i.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var af={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var uf=" ";function Pr(i,n,e){let t=Is(i,n);e=e.trim(),!t.some(r=>r.trim()===e)&&(t.push(e),i.setAttribute(n,t.join(uf)))}function sn(i,n,e){let t=Is(i,n);e=e.trim();let r=t.filter(o=>o!==e);r.length?i.setAttribute(n,r.join(uf)):i.removeAttribute(n)}function Is(i,n){return i.getAttribute(n)?.match(/\S+/g)??[]}var hf="cdk-describedby-message",ks="cdk-describedby-host",rd=0,mf=(()=>{class i{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${rd++}`,this._document=e,this._id=F(Mu)+"-"+rd++}describe(e,t,r){if(!this._canBeDescribed(e,t))return;let o=id(t,r);typeof t!="string"?(sf(t,this._id),this._messageRegistry.set(o,{messageElement:t,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(t,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,t,r){if(!t||!this._isElementNode(e))return;let o=id(t,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof t=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${ks}="${this._id}"]`);for(let t=0;tr.indexOf(hf)!=0);e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){let r=this._messageRegistry.get(t);Pr(e,"aria-describedby",r.messageElement.id),e.setAttribute(ks,this._id),r.referenceCount++}_removeMessageReference(e,t){let r=this._messageRegistry.get(t);r.referenceCount--,sn(e,"aria-describedby",r.messageElement.id),e.removeAttribute(ks)}_isElementDescribedByMessage(e,t){let r=Is(e,"aria-describedby"),o=this._messageRegistry.get(t),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&typeof t=="object")return!0;let r=t==null?"":`${t}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(t){return new(t||i)(x(oe),x(me))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function id(i,n){return typeof i=="string"?`${n||""}/${i}`:i}function sf(i,n){i.id||(i.id=`${hf}-${n}-${rd++}`)}var ix=200,od=class{constructor(n,e){this._letterKeyStream=new R,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new R,this.selectedItem=this._selectedItem;let t=typeof e?.debounceInterval=="number"?e.debounceInterval:ix;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(gi(e=>this._pressedLetters.push(e)),fi(n),ye(()=>this._pressedLetters.length>0),xe(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let t=1;tt.disabled,this.tabOut=new R,this.change=new R,n instanceof Gt?this._itemChangesSubscription=n.changes.subscribe(t=>this._itemsChanged(t.toArray())):oc(n)&&(this._effectRef=dc(()=>this._itemsChanged(n()),{injector:e}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new od(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem;this.updateActiveItem(n),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e))}}},Or=class extends Ss{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}},an=class extends Ss{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var Nn=(()=>{class i{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return rx(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let t=nx(hx(e));if(t&&(cf(t)===-1||!this.isVisible(t)))return!1;let r=e.nodeName.toLowerCase(),o=cf(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!dx(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,t){return ux(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static{this.\u0275fac=function(t){return new(t||i)(x(me))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function nx(i){try{return i.frameElement}catch{return null}}function rx(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function ox(i){let n=i.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function ax(i){return cx(i)&&i.type=="hidden"}function sx(i){return lx(i)&&i.hasAttribute("href")}function cx(i){return i.nodeName.toLowerCase()=="input"}function lx(i){return i.nodeName.toLowerCase()=="a"}function pf(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let n=i.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function cf(i){if(!pf(i))return null;let n=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function dx(i){let n=i.nodeName.toLowerCase(),e=n==="input"&&i.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function ux(i){return ax(i)?!1:ox(i)||sx(i)||i.hasAttribute("contenteditable")||pf(i)}function hx(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var ad=class{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,t,r,o=!1,a){this._element=n,this._checker=e,this._ngZone=t,this._document=r,this._injector=a,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let t=this._getFirstTabbableElement(e);return t?.focus(n),!!t}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let t=0;t=0;t--){let r=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?tt(n,{injector:this._injector}):setTimeout(n)}},Nr=(()=>{class i{constructor(e,t,r){this._checker=e,this._ngZone=t,this._injector=F(Ee),this._document=r}create(e,t=!1){return new ad(e,this._checker,this._ngZone,this._document,t,this._injector)}static{this.\u0275fac=function(t){return new(t||i)(x(Nn),x(B),x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Po(i){return i.buttons===0||i.detail===0}function No(i){let n=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var mx=new C("cdk-input-modality-detector-options"),px={ignoreKeys:[18,17,224,91,16]},ff=650,Ar=Bt({passive:!0,capture:!0}),fx=(()=>{class i{get mostRecentModality(){return this._modality.value}constructor(e,t,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Vi(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ot(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(No(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ot(a)},this._options=N(N({},px),o),this.modalityDetected=this._modality.pipe(Yn(1)),this.modalityChanged=this.modalityDetected.pipe(Di()),e.isBrowser&&t.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Ar),r.addEventListener("mousedown",this._onMousedown,Ar),r.addEventListener("touchstart",this._onTouchstart,Ar)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ar),document.removeEventListener("mousedown",this._onMousedown,Ar),document.removeEventListener("touchstart",this._onTouchstart,Ar))}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(B),x(oe),x(mx,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),gx=new C("liveAnnouncerElement",{providedIn:"root",factory:bx});function bx(){return null}var vx=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),_x=0,gf=(()=>{class i{constructor(e,t,r,o){this._ngZone=t,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...t){let r=this._defaultOptions,o,a;return t.length===1&&typeof t[0]=="number"?a=t[0]:[o,a]=t,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class i{constructor(e,t,r,o,a){this._ngZone=e,this._platform=t,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new R,this._rootNodeFocusAndBlurListener=s=>{let c=Ot(s);for(let l=c;l;l=l.parentElement)s.type==="focus"?this._onFocus(s,l):this._onBlur(s,l)},this._document=o,this._detectionMode=a?.detectionMode||Es.IMMEDIATE}monitor(e,t=!1){let r=zt(e);if(!this._platform.isBrowser||r.nodeType!==1)return He();let o=tf(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return t&&(a.checkChildren=!0),a.subject;let s={checkChildren:t,subject:new R,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let t=zt(e),r=this._elementInfo.get(t);r&&(r.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(r))}focusVia(e,t,r){let o=zt(e),a=this._getDocument().activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,c])=>this._originChanged(s,t,c)):(this._setOrigin(t),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Es.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===Es.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?ff:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,t){let r=this._elementInfo.get(t),o=Ot(e);!r||!r.checkChildren&&t!==o||this._originChanged(t,this._getFocusOrigin(o),r)}_onBlur(e,t){let r=this._elementInfo.get(t);!r||r.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(r,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,r=this._rootNodeFocusListenerCount.get(t)||0;r||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ds),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ds)}),this._rootNodeFocusListenerCount.set(t,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe($(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let r=this._rootNodeFocusListenerCount.get(t);r>1?this._rootNodeFocusListenerCount.set(t,r-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ds),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ds),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,r){this._setClasses(e,t),this._emitOrigin(r,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&t.push([o,r])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a{class i{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this._focusOrigin=null,this.cdkFocusChange=new z}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(ot))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}}return i})(),Pn=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(Pn||{}),lf="cdk-high-contrast-black-on-white",df="cdk-high-contrast-white-on-black",nd="cdk-high-contrast-active",cd=(()=>{class i{constructor(e,t){this._platform=e,this._document=t,this._breakpointSubscription=F(Cs).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Pn.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let t=this._document.defaultView||window,r=t&&t.getComputedStyle?t.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Pn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Pn.BLACK_ON_WHITE}return Pn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(nd,lf,df),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===Pn.BLACK_ON_WHITE?e.add(nd,lf):t===Pn.WHITE_ON_BLACK&&e.add(nd,df)}}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ts=(()=>{class i{constructor(e){e._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(t){return new(t||i)(x(cd))}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[ws]})}}return i})();var xx=new C("cdk-dir-doc",{providedIn:"root",factory:wx});function wx(){return F(oe)}var Cx=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function kx(i){let n=i?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?Cx.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Re=(()=>{class i{constructor(e){if(this.value="ltr",this.change=new z,e){let t=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=kx(t||r||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(t){return new(t||i)(x(xx,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var cn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var Dx=["text"],Ex=[[["mat-icon"]],"*"],Ix=["mat-icon","*"];function Sx(i,n){if(i&1&&ie(0,"mat-pseudo-checkbox",1),i&2){let e=fe();ue("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function Tx(i,n){if(i&1&&ie(0,"mat-pseudo-checkbox",3),i&2){let e=fe();ue("disabled",e.disabled)}}function Mx(i,n){if(i&1&&(w(0,"span",4),Tt(1),I()),i&2){let e=fe();V(),ra("(",e.group.label,")")}}var Ax=["mat-internal-form-field",""],Ox=["*"];function Rx(){return!0}var Fx=new C("mat-sanity-checks",{providedIn:"root",factory:Rx}),K=(()=>{class i{constructor(e,t,r){this._sanityChecks=t,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Ro()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(t){return new(t||i)(x(cd),x(Fx,8),x(oe))}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[cn,cn]})}}return i})();var ln=class{constructor(n,e,t,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=t,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var dn=(()=>{class i{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var pd=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})(),ei=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(ei||{}),ud=class{constructor(n,e,t,r=!1){this._renderer=n,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=r,this.state=ei.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},vf=Bt({passive:!0,capture:!0}),hd=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=Ot(n);e&&this._events.get(n.type)?.forEach((t,r)=>{(r===e||r.contains(e))&&t.forEach(o=>o.handleEvent(n))})}}addHandler(n,e,t,r){let o=this._events.get(e);if(o){let a=o.get(t);a?a.add(r):o.set(t,new Set([r]))}else this._events.set(e,new Map([[t,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,vf)})}removeHandler(n,e,t){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(t),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,vf)))}},_f={enterDuration:225,exitDuration:150},Px=800,yf=Bt({passive:!0,capture:!0}),xf=["mousedown","touchstart"],wf=["mouseup","mouseleave","touchend","touchcancel"],md=class i{static{this._eventManager=new hd}constructor(n,e,t,r){this._target=n,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=zt(t))}fadeInRipple(n,e,t={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=N(N({},_f),t.animation);t.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=t.radius||Nx(n,e,r),s=n-r.left,c=e-r.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${c-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let h=window.getComputedStyle(d),m=h.transitionProperty,p=h.transitionDuration,f=m==="none"||p==="0s"||p==="0s, 0s"||r.width===0&&r.height===0,g=new ud(this,d,t,f);d.style.transform="scale3d(1, 1, 1)",g.state=ei.FADING_IN,t.persistent||(this._mostRecentTransientRipple=g);let _=null;return!f&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let v=()=>{_&&(_.fallbackTimer=null),clearTimeout(y),this._finishRippleTransition(g)},M=()=>this._destroyRipple(g),y=setTimeout(M,l+100);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",M),_={onTransitionEnd:v,onTransitionCancel:M,fallbackTimer:y}}),this._activeRipples.set(g,_),(f||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(n){if(n.state===ei.FADING_OUT||n.state===ei.HIDDEN)return;let e=n.element,t=N(N({},_f),n.config.animation);e.style.transitionDuration=`${t.exitDuration}ms`,e.style.opacity="0",n.state=ei.FADING_OUT,(n._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=zt(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,xf.forEach(t=>{i._eventManager.addHandler(this._ngZone,t,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{wf.forEach(e=>{this._triggerElement.addEventListener(e,this,yf)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===ei.FADING_IN?this._startFadeOutTransition(n):n.state===ei.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:t}=n.config;n.state=ei.VISIBLE,!t&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=ei.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Po(n),t=this._lastTouchStartEvent&&Date.now(){let e=n.state===ei.VISIBLE||n.config.terminateOnPointerUp&&n.state===ei.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(xf.forEach(e=>i._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(wf.forEach(e=>n.removeEventListener(e,this,yf)),this._pointerUpEventsRegistered=!1))}};function Nx(i,n,e){let t=Math.max(Math.abs(i-e.left),Math.abs(i-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(t*t+r*r)}var Ln=new C("mat-ripple-global-options"),ti=(()=>{class i{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,t,r,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new md(this,t,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:N(N(N({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,N(N({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,N(N({},this.rippleConfig),e))}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B),u(me),u(Ln,8),u(Ce,8))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return i})(),jn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})(),Lx=(()=>{class i{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(t){return new(t||i)(u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,r){t&2&&P("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Q],decls:0,vars:0,template:function(t,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return i})(),jx=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K]})}}return i})(),jo=new C("MAT_OPTION_PARENT_COMPONENT");var Vo=new C("MatOptgroup");var Vx=0,Lo=class{constructor(n,e=!1){this.source=n,this.isUserInput=e}},As=(()=>{class i{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,t,r,o){this._element=e,this._changeDetectorRef=t,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Vx++}`,this.onSelectionChange=new z,this._stateChanges=new R}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Le(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Lo(this,e))}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(jo,8),u(Vo,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-option"]],viewQuery:function(t,r){if(t&1&&re(Dx,7),t&2){let o;S(o=T())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,r){t&1&&ee("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),t&2&&(St("id",r.id),W("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),P("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",O]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ae,Q],ngContentSelectors:Ix,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,r){t&1&&(se(Ex),te(0,Sx,1,2,"mat-pseudo-checkbox",1),A(1),w(2,"span",2,0),A(4,1),I(),te(5,Tx,1,1,"mat-pseudo-checkbox",3)(6,Mx,2,1,"span",4),ie(7,"div",5)),t&2&&(ge(r.multiple?0:-1),V(5),ge(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),V(),ge(r.group&&r.group._inert?6:-1),V(),ue("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[Lx,ti],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();function Os(i,n,e){if(e.length){let t=n.toArray(),r=e.toArray(),o=0;for(let a=0;ae+t?Math.max(0,i-t+n):e}var Lr=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[jn,K,jx]})}}return i})(),Cf={capture:!0},kf=["focus","mousedown","mouseenter","touchstart"],ld="mat-ripple-loader-uninitialized",dd="mat-ripple-loader-class-name",Df="mat-ripple-loader-centered",Ms="mat-ripple-loader-disabled",Fs=(()=>{class i{constructor(){this._document=F(oe,{optional:!0}),this._animationMode=F(Ce,{optional:!0}),this._globalRippleOptions=F(Ln,{optional:!0}),this._platform=F(me),this._ngZone=F(B),this._hosts=new Map,this._onInteraction=e=>{let t=Ot(e);if(t instanceof HTMLElement){let r=t.closest(`[${ld}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}},this._ngZone.runOutsideAngular(()=>{for(let e of kf)this._document?.addEventListener(e,this._onInteraction,Cf)})}ngOnDestroy(){let e=this._hosts.keys();for(let t of e)this.destroyRipple(t);for(let t of kf)this._document?.removeEventListener(t,this._onInteraction,Cf)}configureRipple(e,t){e.setAttribute(ld,this._globalRippleOptions?.namespace??""),(t.className||!e.hasAttribute(dd))&&e.setAttribute(dd,t.className||""),t.centered&&e.setAttribute(Df,""),t.disabled&&e.setAttribute(Ms,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,t){let r=this._hosts.get(e);if(r){r.disabled=t;return}t?e.setAttribute(Ms,""):e.removeAttribute(Ms)}_createRipple(e){if(!this._document)return;let t=this._hosts.get(e);if(t)return t;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(dd)),e.append(r);let o=new ti(new E(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,o.centered=e.hasAttribute(Df),o.disabled=e.hasAttribute(Ms),this.attachRipple(e,o),o}attachRipple(e,t){e.removeAttribute(ld),this._hosts.set(e,t)}destroyRipple(e){let t=this._hosts.get(e);t&&(t.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ef=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[Q],attrs:Ax,ngContentSelectors:Ox,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}}return i})();var Sf=["mat-button",""],gd=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],bd=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Bx='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',vd=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var zx=["mat-mini-fab",""],Hx='.mat-mdc-fab-base{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-app-corner-large));color:var(--mat-fab-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-app-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-app-level3));height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-app-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',Tf=["mat-icon-button",""],Mf=["*"],Qx='.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Ux=new C("MAT_BUTTON_CONFIG");var qx=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Ps=(()=>{class i{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,t,r,o){this._elementRef=e,this._platform=t,this._ngZone=r,this._animationMode=o,this._focusMonitor=F(ot),this._rippleLoader=F(Fs),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=F(Ux,{optional:!0}),s=e.nativeElement,c=s.classList;this.disabledInteractive=a?.disabledInteractive??!1,this.color=a?.color??null,this._rippleLoader?.configureRipple(s,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:d}of qx)s.hasAttribute(l)&&c.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",t){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,t):this._elementRef.nativeElement.focus(t)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(t){rc()}}static{this.\u0275dir=D({type:i,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",O],disabled:[2,"disabled","disabled",O],ariaDisabled:[2,"aria-disabled","ariaDisabled",O],disabledInteractive:[2,"disabledInteractive","disabledInteractive",O]},features:[ae]})}}return i})();var Af=(()=>{class i extends Ps{constructor(e,t,r,o){super(e,t,r,o),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}static{this.\u0275fac=function(t){rc()}}static{this.\u0275dir=D({type:i,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Ye(e)]},features:[ae,ne]})}}return i})(),VN=(()=>{class i extends Ps{constructor(e,t,r,o){super(e,t,r,o)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,Q],attrs:Sf,ngContentSelectors:bd,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(gd),ie(0,"span",0),A(1),w(2,"span",1),A(3,1),I(),A(4,2),ie(5,"span",2)(6,"span",3)),t&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return i})(),BN=(()=>{class i extends Af{constructor(e,t,r,o){super(e,t,r,o)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getDisabledAttribute()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[ne,Q],attrs:Sf,ngContentSelectors:bd,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(gd),ie(0,"span",0),A(1),w(2,"span",1),A(3,1),I(),A(4,2),ie(5,"span",2)(6,"span",3)),t&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[Bx,vd],encapsulation:2,changeDetection:0})}}return i})(),Wx=new C("mat-mdc-fab-default-options",{providedIn:"root",factory:Of});function Of(){return{color:"accent"}}var If=Of();var zN=(()=>{class i extends Ps{constructor(e,t,r,o,a){super(e,t,r,o),this._options=a,this._isFab=!0,this._options=this._options||If,this.color=this._options.color||If.color}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(Ce,8),u(Wx,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,Q],attrs:zx,ngContentSelectors:bd,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(gd),ie(0,"span",0),A(1),w(2,"span",1),A(3,1),I(),A(4,2),ie(5,"span",2)(6,"span",3)),t&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[Hx],encapsulation:2,changeDetection:0})}}return i})();var HN=(()=>{class i extends Ps{constructor(e,t,r,o){super(e,t,r,o),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,Q],attrs:Tf,ngContentSelectors:Mf,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(),ie(0,"span",0),A(1),ie(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',vd],encapsulation:2,changeDetection:0})}}return i})(),QN=(()=>{class i extends Af{constructor(e,t,r,o){super(e,t,r,o)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getDisabledAttribute()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[ne,Q],attrs:Tf,ngContentSelectors:Mf,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(),ie(0,"span",0),A(1),ie(2,"span",1)(3,"span",2))},styles:[Qx,vd],encapsulation:2,changeDetection:0})}}return i})(),Rf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,jn,K]})}}return i})();var Gx=We` fragment QueueJob on QueueJob { id queue @@ -68,7 +68,7 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a error createdAt } - `,Wx=Je` + `,$x=We` fragment QueueJobsQueryResult on QueueJobsQueryResult { items { ...QueueJob @@ -88,7 +88,7 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a } } } - ${qx}`,Gx=Je` + ${Gx}`,Yx=We` fragment Torrent on Torrent { infoHash name @@ -109,7 +109,7 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a createdAt updatedAt } - `,$x=Je` + `,Kx=We` fragment Content on Content { type source @@ -162,7 +162,7 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a createdAt updatedAt } - `,Yx=Je` + `,Xx=We` fragment TorrentContent on TorrentContent { id infoHash @@ -196,8 +196,8 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a createdAt updatedAt } - ${Gx} -${$x}`,Kx=Je` + ${Yx} +${Kx}`,Zx=We` fragment TorrentContentSearchResult on TorrentContentSearchResult { items { ...TorrentContent @@ -262,7 +262,7 @@ ${$x}`,Kx=Je` } } } - ${Yx}`,Xx=Je` + ${Xx}`,Jx=We` fragment TorrentFile on TorrentFile { infoHash index @@ -272,7 +272,7 @@ ${$x}`,Kx=Je` createdAt updatedAt } - `,Zx=Je` + `,ew=We` fragment TorrentFilesQueryResult on TorrentFilesQueryResult { items { ...TorrentFile @@ -280,43 +280,55 @@ ${$x}`,Kx=Je` totalCount hasNextPage } - ${Xx}`,UN=Je` + ${Jx}`,Ff=We` + mutation Download($infoHashes: [Hash20!]!) { + downloadclient { + download(infoHashes: $infoHashes) + } +} + `;var WN=We` mutation QueueEnqueueReprocessTorrentsBatch($input: QueueEnqueueReprocessTorrentsBatchInput!) { queue { enqueueReprocessTorrentsBatch(input: $input) } } - `;var qN=Je` + `;var GN=We` mutation QueuePurgeJobs($input: QueuePurgeJobsInput!) { queue { purgeJobs(input: $input) } } - `;var Ff=Je` + `;var Pf=We` mutation TorrentDelete($infoHashes: [Hash20!]!) { torrent { delete(infoHashes: $infoHashes) } } - `;var Pf=Je` + `;var Nf=We` mutation TorrentDeleteTags($infoHashes: [Hash20!], $tagNames: [String!]) { torrent { deleteTags(infoHashes: $infoHashes, tagNames: $tagNames) } } - `;var Nf=Je` + `;var Lf=We` mutation TorrentPutTags($infoHashes: [Hash20!]!, $tagNames: [String!]!) { torrent { putTags(infoHashes: $infoHashes, tagNames: $tagNames) } } - `;var Lf=Je` + `;var jf=We` mutation TorrentSetTags($infoHashes: [Hash20!]!, $tagNames: [String!]!) { torrent { setTags(infoHashes: $infoHashes, tagNames: $tagNames) } } - `;var WN=Je` + `;var Vf=We` + query DownloadClientEnabled { + downloadClient { + enabled + } +} + `;var $N=We` query HealthCheck { health { status @@ -336,7 +348,7 @@ ${$x}`,Kx=Je` } } } - `;var GN=Je` + `;var YN=We` query QueueJobs($input: QueueJobsQueryInput!) { queue { jobs(input: $input) { @@ -344,7 +356,7 @@ ${$x}`,Kx=Je` } } } - ${Wx}`;var $N=Je` + ${$x}`;var KN=We` query QueueMetrics($input: QueueMetricsQueryInput!) { queue { metrics(input: $input) { @@ -359,7 +371,7 @@ ${$x}`,Kx=Je` } } } - `;var YN=Je` + `;var XN=We` query TorrentContentSearch($input: TorrentContentSearchQueryInput!) { torrentContent { search(input: $input) { @@ -367,7 +379,7 @@ ${$x}`,Kx=Je` } } } - ${Kx}`;var KN=Je` + ${Zx}`;var ZN=We` query TorrentFiles($input: TorrentFilesQueryInput!) { torrent { files(input: $input) { @@ -375,7 +387,7 @@ ${$x}`,Kx=Je` } } } - ${Zx}`;var XN=Je` + ${ew}`;var JN=We` query TorrentMetrics($input: TorrentMetricsQueryInput!) { torrent { metrics(input: $input) { @@ -394,7 +406,7 @@ ${$x}`,Kx=Je` } } } - `;var jf=Je` + `;var Bf=We` query TorrentSuggestTags($input: SuggestTagsQueryInput!) { torrent { suggestTags(input: $input) { @@ -405,13 +417,13 @@ ${$x}`,Kx=Je` } } } - `;var ZN=Je` + `;var eL=We` query Version { version } - `;var tw=(i,n,e)=>{let t=["POST","PUT","PATCH"].indexOf(i.method.toUpperCase())!==-1,r=l=>["variables","extensions"].indexOf(l.toLowerCase())!==-1,o=i.body.length,a=i.options&&i.options.useMultipart,s;if(a){if(o)return new We(l=>l.error(new Error("File upload is not available when combined with Batching")));if(!t)return new We(l=>l.error(new Error("File upload is not available when GET is used")));if(!e)return new We(l=>l.error(new Error(`To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink's options`)));s=e(i.body),a=!!s.files.size}let c={};if(o){if(!t)return new We(l=>l.error(new Error("Batching is not available for GET requests")));c={body:i.body}}else{let l=a?s.clone:i.body;t?c={body:l}:c={params:Object.keys(i.body).reduce((h,m)=>{let p=i.body[m];return h[m]=r(m)?JSON.stringify(p):p,h},{})}}if(a&&t){let l=new FormData;l.append("operations",JSON.stringify(c.body));let d={},h=s.files,m=0;h.forEach(p=>{d[++m]=p}),l.append("map",JSON.stringify(d)),m=0,h.forEach((p,f)=>{l.append(++m+"",f,f.name)}),c.body=l}return n.request(i.method,i.url,N(N({observe:"response",responseType:"json",reportProgress:!1},c),i.options))},iw=(i,n)=>i&&n?n.keys().reduce((t,r)=>t.set(r,n.getAll(r)),i):n||i;function nw(...i){return i.find(n=>typeof n<"u")}function rw(i){let n=i.headers&&i.headers instanceof hc?i.headers:new hc(i.headers);if(i.clientAwareness){let{name:e,version:t}=i.clientAwareness;e&&!n.has("apollographql-client-name")&&(n=n.set("apollographql-client-name",e)),t&&!n.has("apollographql-client-version")&&(n=n.set("apollographql-client-version",t))}return n}var ow={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function jr(i,n,e){return nw(i[e],n[e],ow[e])}var _d=class extends Xt{httpClient;options;requester;print=mr;constructor(n,e){super(),this.httpClient=n,this.options=e,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=t=>new xe(r=>{let o=t.getContext(),a=jr(o,this.options,"method"),s=jr(o,this.options,"includeQuery"),c=jr(o,this.options,"includeExtensions"),l=jr(o,this.options,"uri"),d=jr(o,this.options,"withCredentials"),h=jr(o,this.options,"useMultipart"),m=this.options.useGETForQueries===!0,p=t.query.definitions.some(v=>v.kind==="OperationDefinition"&&v.operation==="query");m&&p&&(a="GET");let f={method:a,url:typeof l=="function"?l(t):l,body:{operationName:t.operationName,variables:t.variables},options:{withCredentials:d,useMultipart:h,headers:this.options.headers}};c&&(f.body.extensions=t.extensions),s&&(f.body.query=this.print(t.query));let g=rw(o);f.options.headers=iw(f.options.headers,g);let _=tw(f,this.httpClient,this.options.extractFiles).subscribe({next:v=>{t.setContext({response:v}),r.next(v.body)},error:v=>r.error(v),complete:()=>r.complete()});return()=>{_.closed||_.unsubscribe()}})}request(n){return this.requester(n)}},Vf=(()=>{class i{httpClient;constructor(e){this.httpClient=e}create(e){return new _d(this.httpClient,e)}static \u0275fac=function(t){return new(t||i)(x(la))};static \u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Bf=window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/graphql";var zf=(()=>{class i{constructor(e){this.apollo=e}torrentDelete(e){return this.apollo.mutate({mutation:Ff,variables:e,fetchPolicy:Vo}).pipe(ke(()=>{}))}torrentPutTags(e){return this.apollo.mutate({mutation:Nf,variables:e,fetchPolicy:Vo}).pipe(ke(()=>{}))}torrentSetTags(e){return this.apollo.mutate({mutation:Lf,variables:e,fetchPolicy:Vo}).pipe(ke(()=>{}))}torrentDeleteTags(e){return this.apollo.mutate({mutation:Pf,variables:e,fetchPolicy:Vo}).pipe(ke(()=>{}))}torrentSuggestTags(e){return this.apollo.query({query:jf,variables:e,fetchPolicy:Vo}).pipe(ke(t=>t.data.torrent.suggestTags))}static{this.\u0275fac=function(t){return new(t||i)(x(Xl))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac})}}return i})(),Vo="no-cache";function aw(i){return{link:i.create({uri:Bf}),cache:new Io({typePolicies:{Query:{fields:{search:{merge(n,e){return N(N({},n),e)}}}}}})}}var Hf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[{provide:Kl,useFactory:aw,deps:[Vf]},zf],imports:[Jp]})}}return i})();var yd=class{constructor(n){this._box=n,this._destroyed=new R,this._resizeSubject=new R,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new We(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),t.unsubscribe(),this._elementObservables.delete(n)}}).pipe(ye(e=>e.some(t=>t.target===n)),qr({bufferSize:1,refCount:!0}),$(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Ns=(()=>{class i{constructor(){this._observers=new Map,this._ngZone=F(B),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,t){let r=t?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new yd(r)),this._observers.get(r).observe(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var sw=["notch"],cw=["matFormFieldNotchedOutline",""],lw=["*"],dw=["textField"],uw=["iconPrefixContainer"],hw=["textPrefixContainer"],mw=["iconSuffixContainer"],pw=["textSuffixContainer"],fw=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],gw=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function bw(i,n){i&1&&ie(0,"span",21)}function vw(i,n){if(i&1&&(w(0,"label",20),A(1,1),te(2,bw,1,0,"span",21),I()),i&2){let e=fe(2);ue("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),W("for",e._control.disableAutomaticLabeling?null:e._control.id),V(2),ge(!e.hideRequiredMarker&&e._control.required?2:-1)}}function _w(i,n){if(i&1&&te(0,vw,3,5,"label",20),i&2){let e=fe();ge(e._hasFloatingLabel()?0:-1)}}function yw(i,n){i&1&&ie(0,"div",7)}function xw(i,n){}function ww(i,n){if(i&1&&te(0,xw,0,0,"ng-template",13),i&2){fe(2);let e=$t(1);ue("ngTemplateOutlet",e)}}function Cw(i,n){if(i&1&&(w(0,"div",9),te(1,ww,1,1,null,13),I()),i&2){let e=fe();ue("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),V(),ge(e._forceDisplayInfixLabel()?-1:1)}}function kw(i,n){i&1&&(w(0,"div",10,2),A(2,2),I())}function Dw(i,n){i&1&&(w(0,"div",11,3),A(2,3),I())}function Ew(i,n){}function Iw(i,n){if(i&1&&te(0,Ew,0,0,"ng-template",13),i&2){fe();let e=$t(1);ue("ngTemplateOutlet",e)}}function Sw(i,n){i&1&&(w(0,"div",14,4),A(2,4),I())}function Tw(i,n){i&1&&(w(0,"div",15,5),A(2,5),I())}function Mw(i,n){i&1&&ie(0,"div",16)}function Aw(i,n){if(i&1&&(w(0,"div",18),A(1,6),I()),i&2){let e=fe();ue("@transitionMessages",e._subscriptAnimationState)}}function Ow(i,n){if(i&1&&(w(0,"mat-hint",22),Tt(1),I()),i&2){let e=fe(2);ue("id",e._hintLabelId),V(),oi(e.hintLabel)}}function Rw(i,n){if(i&1&&(w(0,"div",19),te(1,Ow,2,2,"mat-hint",22),A(2,7),ie(3,"div",23),A(4,8),I()),i&2){let e=fe();ue("@transitionMessages",e._subscriptAnimationState),V(),ge(e.hintLabel?1:-1)}}var Qf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-label"]],standalone:!0})}}return i})();var Fw=new C("MatError");var Pw=0,Uf=(()=>{class i{constructor(){this.align="start",this.id=`mat-mdc-hint-${Pw++}`}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,r){t&2&&(St("id",r.id),W("align",null),P("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0})}}return i})(),Nw=new C("MatPrefix");var Lw=new C("MatSuffix");var Zf=new C("FloatingLabelParent"),qf=(()=>{class i{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=F(Ns),this._ngZone=F(B),this._parent=F(Zf),this._resizeSubscription=new Te}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return jw(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return i})();function jw(i){let n=i;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var Wf="mdc-line-ripple--active",Ls="mdc-line-ripple--deactivating",Gf=(()=>{class i{constructor(e,t){this._elementRef=e,this._handleTransitionEnd=r=>{let o=this._elementRef.nativeElement.classList,a=o.contains(Ls);r.propertyName==="opacity"&&a&&o.remove(Wf,Ls)},t.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Ls),e.add(Wf)}deactivate(){this._elementRef.nativeElement.classList.add(Ls)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B))}}static{this.\u0275dir=D({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return i})(),$f=(()=>{class i{constructor(e,t){this._elementRef=e,this._ngZone=t,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B))}}static{this.\u0275cmp=H({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,r){if(t&1&&re(sw,5),t&2){let o;S(o=T())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Q],attrs:cw,ngContentSelectors:lw,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,r){t&1&&(se(),ie(0,"div",1),w(1,"div",2,0),A(3),I(),ie(4,"div",3))},encapsulation:2,changeDetection:0})}}return i})(),Vw={transitionMessages:gt("transitionMessages",[nt("enter",Oe({opacity:1,transform:"translateY(0%)"})),Ze("void => enter",[Oe({opacity:0,transform:"translateY(-5px)"}),Xe("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Vn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i})}}return i})();var Ri=new C("MatFormField"),Bw=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Yf=0,Kf="fill",zw="auto",Xf="fixed",Hw="translateY(-50%)",zL=(()=>{class i{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ut(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||zw}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let t=this._appearance,r=e||this._defaults?.appearance||Kf;this._appearance=r,this._appearance==="outline"&&this._appearance!==t&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Xf}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Xf}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,t,r,o,a,s,c,l){this._elementRef=e,this._changeDetectorRef=t,this._dir=o,this._platform=a,this._defaults=s,this._animationMode=c,this._labelChild=Fu(Qf),this._hideRequiredMarker=!1,this.color="primary",this._appearance=Kf,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Yf++}`,this._hintLabelId=`mat-mdc-hint-${Yf++}`,this._subscriptAnimationState="",this._destroyed=new R,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=F(Ee),this.getLabelId=bi(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=bi(()=>!!this._labelChild()),s&&(s.appearance&&(this.appearance=s.appearance),this._hideRequiredMarker=!!s?.hideRequiredMarker,s.color&&(this.color=s.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(r+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe($(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Fe(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),na(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe($(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let t=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let t=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=t?.getBoundingClientRect().width??0,c=r?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,d=a?.getBoundingClientRect().width??0,h=this._dir.value==="rtl"?"-1":"1",m=`${s+c}px`,f=`calc(${h} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( + `;var nw=(i,n,e)=>{let t=["POST","PUT","PATCH"].indexOf(i.method.toUpperCase())!==-1,r=l=>["variables","extensions"].indexOf(l.toLowerCase())!==-1,o=i.body.length,a=i.options&&i.options.useMultipart,s;if(a){if(o)return new Ge(l=>l.error(new Error("File upload is not available when combined with Batching")));if(!t)return new Ge(l=>l.error(new Error("File upload is not available when GET is used")));if(!e)return new Ge(l=>l.error(new Error(`To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink's options`)));s=e(i.body),a=!!s.files.size}let c={};if(o){if(!t)return new Ge(l=>l.error(new Error("Batching is not available for GET requests")));c={body:i.body}}else{let l=a?s.clone:i.body;t?c={body:l}:c={params:Object.keys(i.body).reduce((h,m)=>{let p=i.body[m];return h[m]=r(m)?JSON.stringify(p):p,h},{})}}if(a&&t){let l=new FormData;l.append("operations",JSON.stringify(c.body));let d={},h=s.files,m=0;h.forEach(p=>{d[++m]=p}),l.append("map",JSON.stringify(d)),m=0,h.forEach((p,f)=>{l.append(++m+"",f,f.name)}),c.body=l}return n.request(i.method,i.url,N(N({observe:"response",responseType:"json",reportProgress:!1},c),i.options))},rw=(i,n)=>i&&n?n.keys().reduce((t,r)=>t.set(r,n.getAll(r)),i):n||i;function ow(...i){return i.find(n=>typeof n<"u")}function aw(i){let n=i.headers&&i.headers instanceof hc?i.headers:new hc(i.headers);if(i.clientAwareness){let{name:e,version:t}=i.clientAwareness;e&&!n.has("apollographql-client-name")&&(n=n.set("apollographql-client-name",e)),t&&!n.has("apollographql-client-version")&&(n=n.set("apollographql-client-version",t))}return n}var sw={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function jr(i,n,e){return ow(i[e],n[e],sw[e])}var _d=class extends Xt{httpClient;options;requester;print=mr;constructor(n,e){super(),this.httpClient=n,this.options=e,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=t=>new we(r=>{let o=t.getContext(),a=jr(o,this.options,"method"),s=jr(o,this.options,"includeQuery"),c=jr(o,this.options,"includeExtensions"),l=jr(o,this.options,"uri"),d=jr(o,this.options,"withCredentials"),h=jr(o,this.options,"useMultipart"),m=this.options.useGETForQueries===!0,p=t.query.definitions.some(v=>v.kind==="OperationDefinition"&&v.operation==="query");m&&p&&(a="GET");let f={method:a,url:typeof l=="function"?l(t):l,body:{operationName:t.operationName,variables:t.variables},options:{withCredentials:d,useMultipart:h,headers:this.options.headers}};c&&(f.body.extensions=t.extensions),s&&(f.body.query=this.print(t.query));let g=aw(o);f.options.headers=rw(f.options.headers,g);let _=nw(f,this.httpClient,this.options.extractFiles).subscribe({next:v=>{t.setContext({response:v}),r.next(v.body)},error:v=>r.error(v),complete:()=>r.complete()});return()=>{_.closed||_.unsubscribe()}})}request(n){return this.requester(n)}},zf=(()=>{class i{httpClient;constructor(e){this.httpClient=e}create(e){return new _d(this.httpClient,e)}static \u0275fac=function(t){return new(t||i)(x(la))};static \u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Hf=window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/graphql";var Qf=(()=>{class i{constructor(e){this.apollo=e}torrentDelete(e){return this.apollo.mutate({mutation:Pf,variables:e,fetchPolicy:Vr}).pipe(xe(()=>{}))}torrentPutTags(e){return this.apollo.mutate({mutation:Lf,variables:e,fetchPolicy:Vr}).pipe(xe(()=>{}))}torrentSetTags(e){return this.apollo.mutate({mutation:jf,variables:e,fetchPolicy:Vr}).pipe(xe(()=>{}))}torrentDeleteTags(e){return this.apollo.mutate({mutation:Nf,variables:e,fetchPolicy:Vr}).pipe(xe(()=>{}))}torrentSuggestTags(e){return this.apollo.query({query:Bf,variables:e,fetchPolicy:Vr}).pipe(xe(t=>t.data.torrent.suggestTags))}clientDownload(e){return this.apollo.mutate({mutation:Ff,variables:e,fetchPolicy:Vr}).pipe(xe(()=>{}))}downloadClientEnabledQuery(){return this.apollo.query({query:Vf}).pipe(xe(e=>e.data.downloadClient.enabled))}static{this.\u0275fac=function(t){return new(t||i)(x(Xl))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac})}}return i})(),Vr="no-cache";function cw(i){return{link:i.create({uri:Hf}),cache:new So({typePolicies:{Query:{fields:{search:{merge(n,e){return N(N({},n),e)}}}}}})}}var Uf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[{provide:Kl,useFactory:cw,deps:[zf]},Qf],imports:[Jp]})}}return i})();var yd=class{constructor(n){this._box=n,this._destroyed=new R,this._resizeSubject=new R,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Ge(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),t.unsubscribe(),this._elementObservables.delete(n)}}).pipe(ye(e=>e.some(t=>t.target===n)),Wr({bufferSize:1,refCount:!0}),$(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Ns=(()=>{class i{constructor(){this._observers=new Map,this._ngZone=F(B),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,t){let r=t?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new yd(r)),this._observers.get(r).observe(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var lw=["notch"],dw=["matFormFieldNotchedOutline",""],uw=["*"],hw=["textField"],mw=["iconPrefixContainer"],pw=["textPrefixContainer"],fw=["iconSuffixContainer"],gw=["textSuffixContainer"],bw=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],vw=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function _w(i,n){i&1&&ie(0,"span",21)}function yw(i,n){if(i&1&&(w(0,"label",20),A(1,1),te(2,_w,1,0,"span",21),I()),i&2){let e=fe(2);ue("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),W("for",e._control.disableAutomaticLabeling?null:e._control.id),V(2),ge(!e.hideRequiredMarker&&e._control.required?2:-1)}}function xw(i,n){if(i&1&&te(0,yw,3,5,"label",20),i&2){let e=fe();ge(e._hasFloatingLabel()?0:-1)}}function ww(i,n){i&1&&ie(0,"div",7)}function Cw(i,n){}function kw(i,n){if(i&1&&te(0,Cw,0,0,"ng-template",13),i&2){fe(2);let e=$t(1);ue("ngTemplateOutlet",e)}}function Dw(i,n){if(i&1&&(w(0,"div",9),te(1,kw,1,1,null,13),I()),i&2){let e=fe();ue("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),V(),ge(e._forceDisplayInfixLabel()?-1:1)}}function Ew(i,n){i&1&&(w(0,"div",10,2),A(2,2),I())}function Iw(i,n){i&1&&(w(0,"div",11,3),A(2,3),I())}function Sw(i,n){}function Tw(i,n){if(i&1&&te(0,Sw,0,0,"ng-template",13),i&2){fe();let e=$t(1);ue("ngTemplateOutlet",e)}}function Mw(i,n){i&1&&(w(0,"div",14,4),A(2,4),I())}function Aw(i,n){i&1&&(w(0,"div",15,5),A(2,5),I())}function Ow(i,n){i&1&&ie(0,"div",16)}function Rw(i,n){if(i&1&&(w(0,"div",18),A(1,6),I()),i&2){let e=fe();ue("@transitionMessages",e._subscriptAnimationState)}}function Fw(i,n){if(i&1&&(w(0,"mat-hint",22),Tt(1),I()),i&2){let e=fe(2);ue("id",e._hintLabelId),V(),oi(e.hintLabel)}}function Pw(i,n){if(i&1&&(w(0,"div",19),te(1,Fw,2,2,"mat-hint",22),A(2,7),ie(3,"div",23),A(4,8),I()),i&2){let e=fe();ue("@transitionMessages",e._subscriptAnimationState),V(),ge(e.hintLabel?1:-1)}}var qf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-label"]],standalone:!0})}}return i})();var Nw=new C("MatError");var Lw=0,Wf=(()=>{class i{constructor(){this.align="start",this.id=`mat-mdc-hint-${Lw++}`}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,r){t&2&&(St("id",r.id),W("align",null),P("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0})}}return i})(),jw=new C("MatPrefix");var Vw=new C("MatSuffix");var eg=new C("FloatingLabelParent"),Gf=(()=>{class i{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=F(Ns),this._ngZone=F(B),this._parent=F(eg),this._resizeSubscription=new Te}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Bw(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return i})();function Bw(i){let n=i;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var $f="mdc-line-ripple--active",Ls="mdc-line-ripple--deactivating",Yf=(()=>{class i{constructor(e,t){this._elementRef=e,this._handleTransitionEnd=r=>{let o=this._elementRef.nativeElement.classList,a=o.contains(Ls);r.propertyName==="opacity"&&a&&o.remove($f,Ls)},t.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Ls),e.add($f)}deactivate(){this._elementRef.nativeElement.classList.add(Ls)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B))}}static{this.\u0275dir=D({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return i})(),Kf=(()=>{class i{constructor(e,t){this._elementRef=e,this._ngZone=t,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B))}}static{this.\u0275cmp=H({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,r){if(t&1&&re(lw,5),t&2){let o;S(o=T())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Q],attrs:dw,ngContentSelectors:uw,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,r){t&1&&(se(),ie(0,"div",1),w(1,"div",2,0),A(3),I(),ie(4,"div",3))},encapsulation:2,changeDetection:0})}}return i})(),zw={transitionMessages:gt("transitionMessages",[nt("enter",Oe({opacity:1,transform:"translateY(0%)"})),Je("void => enter",[Oe({opacity:0,transform:"translateY(-5px)"}),Ze("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Vn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i})}}return i})();var Ri=new C("MatFormField"),Hw=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Xf=0,Zf="fill",Qw="auto",Jf="fixed",Uw="translateY(-50%)",QL=(()=>{class i{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ut(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Qw}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let t=this._appearance,r=e||this._defaults?.appearance||Zf;this._appearance=r,this._appearance==="outline"&&this._appearance!==t&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Jf}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Jf}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,t,r,o,a,s,c,l){this._elementRef=e,this._changeDetectorRef=t,this._dir=o,this._platform=a,this._defaults=s,this._animationMode=c,this._labelChild=Fu(qf),this._hideRequiredMarker=!1,this.color="primary",this._appearance=Zf,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Xf++}`,this._hintLabelId=`mat-mdc-hint-${Xf++}`,this._subscriptAnimationState="",this._destroyed=new R,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=F(Ee),this.getLabelId=bi(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=bi(()=>!!this._labelChild()),s&&(s.appearance&&(this.appearance=s.appearance),this._hideRequiredMarker=!!s?.hideRequiredMarker,s.color&&(this.color=s.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(r+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe($(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Fe(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),na(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe($(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let t=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let t=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=t?.getBoundingClientRect().width??0,c=r?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,d=a?.getBoundingClientRect().width??0,h=this._dir.value==="rtl"?"-1":"1",m=`${s+c}px`,f=`calc(${h} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( --mat-mdc-form-field-label-transform, - ${Hw} translateX(${f}) - )`;let g=s+c+l+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${g}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(B),u(Re),u(me),u(Bw,8),u(we,8),u(oe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-form-field"]],contentQueries:function(t,r,o){if(t&1&&(Bu(o,r._labelChild,Qf,5),he(o,Vn,5),he(o,Nw,5),he(o,Lw,5),he(o,Fw,5),he(o,Uf,5)),t&2){zu();let a;S(a=T())&&(r._formFieldControl=a.first),S(a=T())&&(r._prefixChildren=a),S(a=T())&&(r._suffixChildren=a),S(a=T())&&(r._errorChildren=a),S(a=T())&&(r._hintChildren=a)}},viewQuery:function(t,r){if(t&1&&(re(dw,5),re(uw,5),re(hw,5),re(mw,5),re(pw,5),re(qf,5),re($f,5),re(Gf,5)),t&2){let o;S(o=T())&&(r._textField=o.first),S(o=T())&&(r._iconPrefixContainer=o.first),S(o=T())&&(r._textPrefixContainer=o.first),S(o=T())&&(r._iconSuffixContainer=o.first),S(o=T())&&(r._textSuffixContainer=o.first),S(o=T())&&(r._floatingLabel=o.first),S(o=T())&&(r._notchedOutline=o.first),S(o=T())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(t,r){t&2&&P("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[de([{provide:Ri,useExisting:i},{provide:Zf,useExisting:i}]),Q],ngContentSelectors:gw,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,r){if(t&1){let o=Ge();se(fw),te(0,_w,1,1,"ng-template",null,0,oa),w(2,"div",6,1),ee("click",function(s){return ce(o),le(r._control.onContainerClick(s))}),te(4,yw,1,0,"div",7),w(5,"div",8),te(6,Cw,2,2,"div",9)(7,kw,3,0,"div",10)(8,Dw,3,0,"div",11),w(9,"div",12),te(10,Iw,1,1,null,13),A(11),I(),te(12,Sw,3,0,"div",14)(13,Tw,3,0,"div",15),I(),te(14,Mw,1,0,"div",16),I(),w(15,"div",17),te(16,Aw,2,1,"div",18)(17,Rw,5,2,"div",19),I()}if(t&2){let o;V(2),P("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),V(2),ge(!r._hasOutline()&&!r._control.disabled?4:-1),V(2),ge(r._hasOutline()?6:-1),V(),ge(r._hasIconPrefix?7:-1),V(),ge(r._hasTextPrefix?8:-1),V(2),ge(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),V(2),ge(r._hasTextSuffix?12:-1),V(),ge(r._hasIconSuffix?13:-1),V(),ge(r._hasOutline()?-1:14),V(),P("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),V(),ge((o=r._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[qf,$f,ca,Gf,Uf],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Vw.transitionMessages]},changeDetection:0})}}return i})(),Bn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,yt,ws,K]})}}return i})();var Qw=["*"];var Uw=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],qw=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, + ${Uw} translateX(${f}) + )`;let g=s+c+l+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${g}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(B),u(Re),u(me),u(Hw,8),u(Ce,8),u(oe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-form-field"]],contentQueries:function(t,r,o){if(t&1&&(Bu(o,r._labelChild,qf,5),he(o,Vn,5),he(o,jw,5),he(o,Vw,5),he(o,Nw,5),he(o,Wf,5)),t&2){zu();let a;S(a=T())&&(r._formFieldControl=a.first),S(a=T())&&(r._prefixChildren=a),S(a=T())&&(r._suffixChildren=a),S(a=T())&&(r._errorChildren=a),S(a=T())&&(r._hintChildren=a)}},viewQuery:function(t,r){if(t&1&&(re(hw,5),re(mw,5),re(pw,5),re(fw,5),re(gw,5),re(Gf,5),re(Kf,5),re(Yf,5)),t&2){let o;S(o=T())&&(r._textField=o.first),S(o=T())&&(r._iconPrefixContainer=o.first),S(o=T())&&(r._textPrefixContainer=o.first),S(o=T())&&(r._iconSuffixContainer=o.first),S(o=T())&&(r._textSuffixContainer=o.first),S(o=T())&&(r._floatingLabel=o.first),S(o=T())&&(r._notchedOutline=o.first),S(o=T())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(t,r){t&2&&P("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[de([{provide:Ri,useExisting:i},{provide:eg,useExisting:i}]),Q],ngContentSelectors:vw,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,r){if(t&1){let o=$e();se(bw),te(0,xw,1,1,"ng-template",null,0,oa),w(2,"div",6,1),ee("click",function(s){return ce(o),le(r._control.onContainerClick(s))}),te(4,ww,1,0,"div",7),w(5,"div",8),te(6,Dw,2,2,"div",9)(7,Ew,3,0,"div",10)(8,Iw,3,0,"div",11),w(9,"div",12),te(10,Tw,1,1,null,13),A(11),I(),te(12,Mw,3,0,"div",14)(13,Aw,3,0,"div",15),I(),te(14,Ow,1,0,"div",16),I(),w(15,"div",17),te(16,Rw,2,1,"div",18)(17,Pw,5,2,"div",19),I()}if(t&2){let o;V(2),P("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),V(2),ge(!r._hasOutline()&&!r._control.disabled?4:-1),V(2),ge(r._hasOutline()?6:-1),V(),ge(r._hasIconPrefix?7:-1),V(),ge(r._hasTextPrefix?8:-1),V(2),ge(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),V(2),ge(r._hasTextSuffix?12:-1),V(),ge(r._hasIconSuffix?13:-1),V(),ge(r._hasOutline()?-1:14),V(),P("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),V(),ge((o=r._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[Gf,Kf,ca,Yf,Wf],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[zw.transitionMessages]},changeDetection:0})}}return i})(),Bn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,yt,ws,K]})}}return i})();var qw=["*"];var Ww=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Gw=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, [mat-card-title], [mat-card-subtitle], - [matCardTitle], [matCardSubtitle]`,"*"],Ww=new C("MAT_CARD_CONFIG"),ej=(()=>{class i{constructor(e){this.appearance=e?.appearance||"raised"}static{this.\u0275fac=function(t){return new(t||i)(u(Ww,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(t,r){t&2&&P("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[Q],ngContentSelectors:Qw,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-app-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));border-width:var(--mdc-outlined-card-outline-width);border-color:var(--mdc-outlined-card-outline-color, var(--mat-app-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-app-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-app-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-app-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-app-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-app-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-app-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-app-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-app-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-app-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-app-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-app-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-app-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}}return i})(),tj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0})}}return i})();var ij=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}}return i})(),nj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"],standalone:!0})}}return i})(),rj=(()=>{class i{constructor(){this.align="start"}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"],standalone:!0})}}return i})(),oj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[Q],ngContentSelectors:qw,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(t,r){t&1&&(se(Uw),A(0),w(1,"div",0),A(2,1),I(),A(3,2))},encapsulation:2,changeDetection:0})}}return i})();var aj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"],standalone:!0})}}return i})();var Jf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,yt,K]})}}return i})();var Gw=["input"],$w=["label"],Yw=["*"],Kw=new C("mat-checkbox-default-options",{providedIn:"root",factory:tg});function tg(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var kt=function(i){return i[i.Init=0]="Init",i[i.Checked=1]="Checked",i[i.Unchecked=2]="Unchecked",i[i.Indeterminate=3]="Indeterminate",i}(kt||{}),Xw={provide:vn,useExisting:Lt(()=>ig),multi:!0},xd=class{},Zw=0,eg=tg(),ig=(()=>{class i{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new xd;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,t,r,o,a,s){this._elementRef=e,this._changeDetectorRef=t,this._ngZone=r,this._animationMode=a,this._options=s,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new z,this.indeterminateChange=new z,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=kt.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||eg,this.color=this._options.color||eg.color,this.tabIndex=parseInt(o)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++Zw}`,this.disabledInteractive=s?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){let t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(kt.Indeterminate):this._transitionCheckState(this.checked?kt.Checked:kt.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,r=this._getAnimationTargetElement();if(!(t===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?kt.Checked:kt.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationMode==="NoopAnimations")return"";switch(e){case kt.Init:if(t===kt.Checked)return this._animationClasses.uncheckedToChecked;if(t==kt.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case kt.Unchecked:return t===kt.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case kt.Checked:return t===kt.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case kt.Indeterminate:return t===kt.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(B),It("tabindex"),u(we,8),u(Kw,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-checkbox"]],viewQuery:function(t,r){if(t&1&&(re(Gw,5),re($w,5),re(ti,5)),t&2){let o;S(o=T())&&(r._inputElement=o.first),S(o=T())&&(r._labelElement=o.first),S(o=T())&&(r.ripple=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,r){t&2&&(St("id",r.id),W("tabindex",null)("aria-label",null)("aria-labelledby",null),qe(r.color?"mat-"+r.color:"mat-accent"),P("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",O],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:$e(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",O],checked:[2,"checked","checked",O],disabled:[2,"disabled","disabled",O],indeterminate:[2,"indeterminate","indeterminate",O]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[de([Xw,{provide:eo,useExisting:i,multi:!0}]),ae,Pe,Q],ngContentSelectors:Yw,decls:15,vars:20,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,r){if(t&1){let o=Ge();se(),w(0,"div",3),ee("click",function(s){return ce(o),le(r._preventBubblingFromLabel(s))}),w(1,"div",4,0)(3,"div",5),ee("click",function(){return ce(o),le(r._onTouchTargetClick())}),I(),w(4,"input",6,1),ee("blur",function(){return ce(o),le(r._onBlur())})("click",function(){return ce(o),le(r._onInputClick())})("change",function(s){return ce(o),le(r._onInteractionEvent(s))}),I(),ie(6,"div",7),w(7,"div",8),Wt(),w(8,"svg",9),ie(9,"path",10),I(),ea(),ie(10,"div",11),I(),ie(11,"div",12),I(),w(12,"label",13,2),A(14),I()()}if(t&2){let o=$t(2);ue("labelPosition",r.labelPosition),V(4),P("mdc-checkbox--selected",r.checked),ue("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),W("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("name",r.name)("value",r.value),V(7),ue("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),V(),ue("for",r.inputId)}},dependencies:[ti,Ef],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.cdk-high-contrast-active .mdc-checkbox--disabled{opacity:.5}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-app-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-app-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.cdk-high-contrast-active .mdc-checkbox--disabled .mdc-checkbox__checkmark,.cdk-high-contrast-active .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();var ng=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[ig,K,K]})}}return i})();var Jw=20,un=(()=>{class i{constructor(e,t,r){this._ngZone=e,this._platform=t,this._scrolled=new R,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Jw){return this._platform.isBrowser?new We(t=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(ic(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):He()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let r=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(ye(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&t.push(o)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let r=zt(t),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Nt(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(t){return new(t||i)(x(B),x(me),x(oe,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Fi=(()=>{class i{constructor(e,t,r,o){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=r,this.dir=o,this._destroyed=new R,this._elementScrolled=new We(a=>this.ngZone.runOutsideAngular(()=>Nt(this.elementRef.nativeElement,"scroll").pipe($(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let t=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),r&&Tr()!=hi.NORMAL?(e.left!=null&&(e.right=t.scrollWidth-t.clientWidth-e.left),Tr()==hi.INVERTED?e.left=e.right:Tr()==hi.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let t=this.elementRef.nativeElement;xs()?t.scrollTo(e):(e.top!=null&&(t.scrollTop=e.top),e.left!=null&&(t.scrollLeft=e.left))}measureScrollOffset(e){let t="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?r:t:e=="end"&&(e=a?t:r),a&&Tr()==hi.INVERTED?e==t?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Tr()==hi.NEGATED?e==t?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==t?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(un),u(B),u(Re,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return i})(),eC=20,Dt=(()=>{class i{constructor(e,t,r){this._platform=e,this._change=new R,this._changeListener=o=>{this._change.next(o)},this._document=r,t.runOutsideAngular(()=>{if(e.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+t,height:r,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body.scrollTop||t.scrollY||r.scrollTop||0,s=-o.left||e.body.scrollLeft||t.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=eC){return e>0?this._change.pipe(ic(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(B),x(oe,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Ut=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})(),Bo=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[cn,Ut,cn,Ut]})}}return i})();var zo=class{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},hn=class extends zo{constructor(n,e,t,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=r,this.projectableNodes=o}},Et=class extends zo{constructor(n,e,t,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=t,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},wd=class extends zo{constructor(n){super(),this.element=n instanceof E?n.nativeElement:n}},Vr=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof hn)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Et)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof wd)return this._attachedPortal=n,this.attachDomPortal(n)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Ho=class extends Vr{constructor(n,e,t,r,o){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=r,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}attachComponentPortal(n){let t=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(t,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=t.create(n.injector||this._defaultInjector||Ee.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let e=n.viewContainerRef,t=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return t.rootNodes.forEach(r=>this.outletElement.appendChild(r)),t.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(t);r!==-1&&e.remove(r)}),this._attachedPortal=n,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var rg=(()=>{class i extends Et{constructor(e,t){super(e,t)}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(Ue))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[ne]})}}return i})();var mi=(()=>{class i extends Vr{constructor(e,t,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new z,this.attachDomPortal=o=>{this._document;let a=o.element;a.parentNode;let s=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(s,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(a,s)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let t=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=t.createComponent(o,t.length,e.injector||t.injector,e.projectableNodes||void 0);return t!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);let t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static{this.\u0275fac=function(t){return new(t||i)(u(fn),u(Ue),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[ne]})}}return i})();var Pi=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var og=xs(),Cd=class{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=rt(-this._previousScrollPosition.left),n.style.top=rt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,t=n.style,r=e.style,o=t.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),og&&(t.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),og&&(t.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};var kd=class{constructor(n,e,t,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(ye(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},js=class{enable(){}disable(){}attach(){}};function Dd(i,n){return n.some(e=>{let t=i.bottome.bottom,o=i.righte.right;return t||r||o||a})}function ag(i,n){return n.some(e=>{let t=i.tope.bottom,o=i.lefte.right;return t||r||o||a})}var Ed=class{constructor(n,e,t,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:r}=this._viewportRuler.getViewportSize();Dd(e,[{width:t,height:r,bottom:r,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},iC=(()=>{class i{constructor(e,t,r,o){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this.noop=()=>new js,this.close=a=>new kd(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new Cd(this._viewportRuler,this._document),this.reposition=a=>new Ed(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}static{this.\u0275fac=function(t){return new(t||i)(x(un),x(Dt),x(B),x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ci=class{constructor(n){if(this.scrollStrategy=new js,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){let e=Object.keys(n);for(let t of e)n[t]!==void 0&&(this[t]=n[t])}}};var Id=class{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var hg=(()=>{class i{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}static{this.\u0275fac=function(t){return new(t||i)(x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),nC=(()=>{class i extends hg{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=r=>{let o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){let s=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(r)):s.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(t){return new(t||i)(x(oe),x(B,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),rC=(()=>{class i extends hg{constructor(e,t,r){super(e),this._platform=t,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Ot(o)},this._clickListener=o=>{let a=Ot(o),s=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){let d=c[l];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(sg(d.overlayElement,a)||sg(d.overlayElement,s))break;let h=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(o)):h.next(o)}}}add(e){if(super.add(e),!this._isAttached){let t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(t){return new(t||i)(x(oe),x(me),x(B,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function sg(i,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=n;for(;t;){if(t===i)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var Br=(()=>{class i{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Oo()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new R,this._outsidePointerEvents=new R,this._renders=new R,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=Yt(()=>na(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=tt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=N(N({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Qe(N({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=rt(this._config.width),n.height=rt(this._config.height),n.minWidth=rt(this._config.minWidth),n.minHeight=rt(this._config.minHeight),n.maxWidth=rt(this._config.maxWidth),n.maxHeight=rt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let n=this._backdropElement;if(n){if(this._animationsDisabled){this._disposeBackdrop(n);return}n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,t){let r=Mr(e||[]).filter(o=>!!o);r.length&&(t?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe($(Fe(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},cg="cdk-overlay-connected-position-bounding-box",oC=/([A-Za-z%]+)$/,Sd=class{get positions(){return this._preferredPositions}constructor(n,e,t,r,o){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new R,this._resizeSubscription=Te.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(cg),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,t=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,r,s),l=this._getOverlayPoint(c,e,s),d=this._getOverlayFit(l,e,t,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(d,l,t)){o.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleAreac&&(c=d,s=l)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Hn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(cg),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,t){let r;if(t.originX=="center")r=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=t.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return t.originY=="center"?o=n.top+n.height/2:o=t.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,t){let r;t.overlayX=="center"?r=-e.width/2:t.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return t.overlayY=="center"?o=-e.height/2:o=t.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,t,r){let o=dg(e),{x:a,y:s}=n,c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=c),l&&(s+=l);let d=0-a,h=a+o.width-t.width,m=0-s,p=s+o.height-t.height,f=this._subtractOverflows(o.width,d,h),g=this._subtractOverflows(o.height,m,p),_=f*g;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:f==o.width}}_canFitWithFlexibleDimensions(n,e,t){if(this._hasFlexibleDimensions){let r=t.bottom-e.y,o=t.right-e.x,a=lg(this._overlayRef.getConfig().minHeight),s=lg(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||a!=null&&a<=r,l=n.fitsInViewportHorizontally||s!=null&&s<=o;return c&&l}return!1}_pushOverlayOnScreen(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=dg(e),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),c=Math.max(o.top-t.top-n.y,0),l=Math.max(o.left-t.left-n.x,0),d=0,h=0;return r.width<=o.width?d=l||-a:d=n.xf&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-f/2)}let c=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,l=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,h,m;if(l)m=t.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(c)h=n.x,d=t.right-n.x;else{let p=Math.min(t.right-n.x+t.left,n.x),f=this._lastBoundingBoxSize.width;d=p*2,h=n.x-p,d>f&&!this._isInitialRender&&!this._growAfterOpen&&(h=n.x-f/2)}return{top:a,left:h,bottom:s,right:m,width:d,height:o}}_setBoundingBoxStyles(n,e){let t=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=rt(t.height),r.top=rt(t.top),r.bottom=rt(t.bottom),r.width=rt(t.width),r.left=rt(t.left),r.right=rt(t.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=rt(o)),a&&(r.maxWidth=rt(a))}this._lastBoundingBoxSize=t,Hn(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Hn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Hn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let t={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Hn(t,this._getExactOverlayY(e,n,d)),Hn(t,this._getExactOverlayX(e,n,d))}else t.position="static";let s="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),l&&(s+=`translateY(${l}px)`),t.transform=s.trim(),a.maxHeight&&(r?t.maxHeight=rt(a.maxHeight):o&&(t.maxHeight="")),a.maxWidth&&(r?t.maxWidth=rt(a.maxWidth):o&&(t.maxWidth="")),Hn(this._pane.style,t)}_getExactOverlayY(n,e,t){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=rt(o.y);return r}_getExactOverlayX(n,e,t){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=rt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ag(n,t),isOriginOutsideView:Dd(n,t),isOverlayClipped:ag(e,t),isOverlayOutsideView:Dd(e,t)}}_subtractOverflows(n,...e){return e.reduce((t,r)=>t-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Mr(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof E)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,t=n.height||0;return{top:n.y,bottom:n.y+t,left:n.x,right:n.x+e,height:t,width:e}}};function Hn(i,n){for(let e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);return i}function lg(i){if(typeof i!="number"&&i!=null){let[n,e]=i.split(oC);return!e||e==="px"?parseFloat(n):null}return i||null}function dg(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function aC(i,n){return i===n?!0:i.isOriginClipped===n.isOriginClipped&&i.isOriginOutsideView===n.isOriginOutsideView&&i.isOverlayClipped===n.isOverlayClipped&&i.isOverlayOutsideView===n.isOverlayOutsideView}var ug="cdk-global-overlay-wrapper",Td=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(ug),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=t,c=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),l=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,h=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",p="",f="",g="";c?g="flex-start":d==="center"?(g="center",m?f=h:p=h):m?d==="left"||d==="end"?(g="flex-end",p=h):(d==="right"||d==="start")&&(g="flex-start",f=h):d==="left"||d==="start"?(g="flex-start",p=h):(d==="right"||d==="end")&&(g="flex-end",f=h),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":f,e.justifyContent=g,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(ug),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},sC=(()=>{class i{constructor(e,t,r,o){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=o}global(){return new Td}flexibleConnectedTo(e){return new Sd(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(t){return new(t||i)(x(Dt),x(oe),x(me),x(Br))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),cC=0,je=(()=>{class i{constructor(e,t,r,o,a,s,c,l,d,h,m,p){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=s,this._ngZone=c,this._document=l,this._directionality=d,this._location=h,this._outsideClickDispatcher=m,this._animationsModuleType=p}create(e){let t=this._createHostElement(),r=this._createPaneElement(t),o=this._createPortalOutlet(r),a=new Ci(e);return a.direction=a.direction||this._directionality.value,new Ni(o,t,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Su))}position(){return this._positionBuilder}_createPaneElement(e){let t=this._document.createElement("div");return t.id=`cdk-overlay-${cC++}`,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(lc)),new Ho(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(t){return new(t||i)(x(iC),x(Br),x(fn),x(sC),x(nC),x(Ee),x(B),x(oe),x(Re),x(aa),x(rC),x(we,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),lC=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],mg=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}}),Qo=(()=>{class i{constructor(e){this.elementRef=e}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return i})(),Md=(()=>{class i{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,t,r,o,a){this._overlay=e,this._dir=a,this._backdropSubscription=Te.EMPTY,this._attachSubscription=Te.EMPTY,this._detachSubscription=Te.EMPTY,this._positionSubscription=Te.EMPTY,this._disposeOnNavigation=!1,this._ngZone=F(B),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new z,this.positionChange=new z,this.attach=new z,this.detach=new z,this.overlayKeydown=new z,this.overlayOutsideClick=new z,this._templatePortal=new Et(t,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=lC);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode===27&&!this.disableClose&&!Le(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{let r=this._getOriginElement(),o=Ot(t);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(t)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Ci({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(t.width=this.width),(this.height||this.height===0)&&(t.height=this.height),(this.minWidth||this.minWidth===0)&&(t.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){let t=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Qo?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Qo?this.origin.elementRef.nativeElement:this.origin instanceof E?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Iu(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(je),u(Ae),u(Ue),u(mg),u(Re,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",O],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",O],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",O],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",O],push:[2,"cdkConnectedOverlayPush","push",O],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",O]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ae,Pe]})}}return i})();function dC(i){return()=>i.scrollStrategies.reposition()}var uC={provide:mg,deps:[je],useFactory:dC},ii=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[je,uC],imports:[cn,Pi,Bo,Bo]})}}return i})();function hC(i,n){}var Qn=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var Od=(()=>{class i extends Vr{constructor(e,t,r,o,a,s,c,l){super(),this._elementRef=e,this._focusTrapFactory=t,this._config=o,this._interactivityChecker=a,this._ngZone=s,this._overlayRef=c,this._focusMonitor=l,this._platform=F(me),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=F(pe),this._injector=F(Ee),this._isDestroyed=!1,this.attachDomPortal=d=>{this._portalOutlet.hasAttached();let h=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),h},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,t)}_trapFocus(){this._isDestroyed||tt(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let r=Ao(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,t=Ao();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Ao()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Nr),u(oe,8),u(Qn),u(Nn),u(B),u(Ni),u(ot))}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(t,r){if(t&1&&re(mi,7),t&2){let o;S(o=T())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,r){t&2&&W("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},standalone:!0,features:[ne,Q],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,r){t&1&&te(0,hC,0,0,"ng-template",0)},dependencies:[mi],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return i})(),qo=class{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new R,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!Le(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(n),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},mC=new C("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.block()}}),pC=new C("DialogData"),fC=new C("DefaultDialogConfig");var gC=0,Rd=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,t,r,o,a,s){this._overlay=e,this._injector=t,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this._ariaHiddenElements=new Map,this.afterAllClosed=zi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Me(void 0))),this._scrollStrategy=s}open(e,t){let r=this._defaultOptions||new Qn;t=N(N({},r),t),t.id=t.id||`cdk-dialog-${gC++}`,t.id&&this.getDialogById(t.id);let o=this._getOverlayConfig(t),a=this._overlay.create(o),s=new qo(a,t),c=this._attachContainer(a,s,t);return s.containerInstance=c,this._attachDialogContent(e,s,c,t),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){Ad(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){Ad(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Ad(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new Ci({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,r){let o=r.injector||r.viewContainerRef?.injector,a=[{provide:Qn,useValue:r},{provide:qo,useValue:t},{provide:Ni,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=Od;let c=new hn(s,r.viewContainerRef,Ee.create({parent:o||this._injector,providers:a}),r.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,t,r,o){if(e instanceof Ae){let a=this._createInjector(o,t,r,void 0),s={$implicit:o.data,dialogRef:t};o.templateContext&&(s=N(N({},s),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Et(e,null,s,a))}else{let a=this._createInjector(o,t,r,this._injector),s=r.attachComponentPortal(new hn(e,o.viewContainerRef,a,o.componentFactoryResolver));t.componentRef=s,t.componentInstance=s.instance}}_createInjector(e,t,r,o){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:pC,useValue:e.data},{provide:qo,useValue:t}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(t,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(Re,null,{optional:!0}))&&s.push({provide:Re,useValue:{value:e.direction,change:He()}}),Ee.create({parent:a||o,providers:s})}_removeOpenDialog(e,t){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let t=e.parentElement.children;for(let r=t.length-1;r>-1;r--){let o=t[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(t){return new(t||i)(x(je),x(Ee),x(fC,8),x(i,12),x(Br),x(mC))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Ad(i,n){let e=i.length;for(;e--;)n(i[e])}var pg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[Rd],imports:[ii,Pi,Ts,Pi]})}}return i})();function bC(i,n){}var Wo=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Fd="mdc-dialog--open",fg="mdc-dialog--opening",gg="mdc-dialog--closing",vC=150,_C=75,yC=(()=>{class i extends Od{constructor(e,t,r,o,a,s,c,l,d){super(e,t,r,o,a,s,c,d),this._animationMode=l,this._animationStateChanged=new z,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?vg(this._config.enterAnimationDuration)??vC:0,this._exitAnimationDuration=this._animationsEnabled?vg(this._config.exitAnimationDuration)??_C:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(bg,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(fg,Fd)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Fd),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Fd),this._animationsEnabled?(this._hostElement.style.setProperty(bg,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(gg)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(fg,gg)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Nr),u(oe,8),u(Wo),u(Nn),u(B),u(Ni),u(we,8),u(ot))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,r){t&2&&(St("id",r._config.id),W("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),P("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},standalone:!0,features:[ne,Q],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(t,r){t&1&&(w(0,"div",0)(1,"div",1),te(2,bC,0,0,"ng-template",2),I()())},dependencies:[mi],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return i})(),bg="--mat-dialog-transition-duration";function vg(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?Ct(i.substring(0,i.length-2)):i.endsWith("s")?Ct(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var Vs=function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i}(Vs||{}),Go=class{constructor(n,e,t){this._ref=n,this._containerInstance=t,this._afterOpened=new R,this._beforeClosed=new R,this._state=Vs.OPEN,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(ye(r=>r.state==="opened"),Ye(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(ye(r=>r.state==="closed"),Ye(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Fe(this.backdropClick(),this.keydownEvents().pipe(ye(r=>r.keyCode===27&&!this.disableClose&&!Le(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),_g(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(ye(e=>e.state==="closing"),Ye(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Vs.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Vs.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function _g(i,n,e){return i._closeInteractionType=n,i.close(e)}var xC=new C("MatMdcDialogData"),wC=new C("mat-mdc-dialog-default-options"),CC=new C("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.block()}});var kC=0,Pd=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,t,r,o,a,s,c,l){this._overlay=e,this._defaultOptions=o,this._scrollStrategy=a,this._parentDialog=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this.dialogConfigClass=Wo,this.afterAllClosed=zi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Me(void 0))),this._dialog=t.get(Rd),this._dialogRefConstructor=Go,this._dialogContainerType=yC,this._dialogDataToken=xC}open(e,t){let r;t=N(N({},this._defaultOptions||new Wo),t),t.id=t.id||`mat-mdc-dialog-${kC++}`,t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,Qe(N({},t),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:Qn,useValue:t}]},templateContext:()=>({dialogRef:r}),providers:(a,s,c)=>(r=new this._dialogRefConstructor(a,t,c),r.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static{this.\u0275fac=function(t){return new(t||i)(x(je),x(Ee),x(aa,8),x(wC,8),x(CC),x(i,12),x(Br),x(we,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),DC=0,WV=(()=>{class i{constructor(e,t,r){this.dialogRef=e,this._elementRef=t,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=xg(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){_g(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(t){return new(t||i)(u(Go,8),u(E),u(Pd))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,r){t&1&&ee("click",function(a){return r._onButtonClick(a)}),t&2&&W("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Pe]})}}return i})(),yg=(()=>{class i{constructor(e,t,r){this._dialogRef=e,this._elementRef=t,this._dialog=r}ngOnInit(){this._dialogRef||(this._dialogRef=xg(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(t){return new(t||i)(u(Go,8),u(E),u(Pd))}}static{this.\u0275dir=D({type:i,standalone:!0})}}return i})(),GV=(()=>{class i extends yg{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${DC++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,r){t&2&&St("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[ne]})}}return i})(),$V=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[Pu([Fi])]})}}return i})(),YV=(()=>{class i extends yg{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,r){t&2&&P("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},standalone:!0,features:[ne]})}}return i})();function xg(i,n){let e=i.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(t=>t.id===e.id):null}var wg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[Pd],imports:[pg,ii,Pi,K,K]})}}return i})();var e2=(()=>{class i{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=ut(e)}get inset(){return this._inset}set inset(e){this._inset=ut(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,r){t&2&&(W("aria-orientation",r.vertical?"vertical":"horizontal"),P("mat-divider-vertical",r.vertical)("mat-divider-horizontal",!r.vertical)("mat-divider-inset",r.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[Q],decls:0,vars:0,template:function(t,r){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}}return i})(),Cg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})();var kg=new C("CdkAccordion");var EC=0,Dg=(()=>{class i{get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let t=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,t)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}constructor(e,t,r){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=r,this._openCloseAllSubscription=Te.EMPTY,this.closed=new z,this.opened=new z,this.destroyed=new z,this.expandedChange=new z,this.id=`cdk-accordion-child-${EC++}`,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((o,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==o&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static{this.\u0275fac=function(t){return new(t||i)(u(kg,12),u(pe),u(Da))}}static{this.\u0275dir=D({type:i,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",O],disabled:[2,"disabled","disabled",O]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[de([{provide:kg,useValue:void 0}]),ae]})}}return i})(),Eg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var IC=["body"],SC=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],TC=["mat-expansion-panel-header","*","mat-action-row"];function MC(i,n){}var AC=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],OC=["mat-panel-title","mat-panel-description","*"];function RC(i,n){if(i&1&&(w(0,"span",1),Wt(),w(1,"svg",2),ie(2,"path",3),I()()),i&2){let e=fe();ue("@indicatorRotate",e._getExpandedState())}}var Ig=new C("MAT_ACCORDION"),Sg="225ms cubic-bezier(0.4,0.0,0.2,1)",Mg={indicatorRotate:gt("indicatorRotate",[nt("collapsed, void",Oe({transform:"rotate(0deg)"})),nt("expanded",Oe({transform:"rotate(180deg)"})),Ze("expanded <=> collapsed, void => collapsed",Xe(Sg))]),bodyExpansion:gt("bodyExpansion",[nt("collapsed, void",Oe({height:"0px",visibility:"hidden"})),nt("expanded",Oe({height:"*",visibility:""})),Ze("expanded <=> collapsed, void => collapsed",Xe(Sg))])},Ag=new C("MAT_EXPANSION_PANEL"),FC=(()=>{class i{constructor(e,t){this._template=e,this._expansionPanel=t}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(Ag,8))}}static{this.\u0275dir=D({type:i,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0})}}return i})(),PC=0,Og=new C("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),NC=(()=>{class i extends Dg{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,t,r,o,a,s,c){super(e,t,r),this._viewContainerRef=o,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new z,this.afterCollapse=new z,this._inputChanges=new R,this._headerId=`mat-expansion-panel-header-${PC++}`,this.accordion=e,this._document=a,this._animationsDisabled=s==="NoopAnimations",c&&(this.hideToggle=c.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Me(null),ye(()=>this.expanded&&!this._portal),Ye(1)).subscribe(()=>{this._portal=new Et(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}_animationStarted(e){!Tg(e)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(e){Tg(e)||(e.toState==="expanded"?this.afterExpand.emit():e.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static{this.\u0275fac=function(t){return new(t||i)(u(Ig,12),u(pe),u(Da),u(Ue),u(oe),u(we,8),u(Og,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-expansion-panel"]],contentQueries:function(t,r,o){if(t&1&&he(o,FC,5),t&2){let a;S(a=T())&&(r._lazyContent=a.first)}},viewQuery:function(t,r){if(t&1&&re(IC,5),t&2){let o;S(o=T())&&(r._body=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,r){t&2&&P("mat-expanded",r.expanded)("_mat-animation-noopable",r._animationsDisabled)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",O],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[de([{provide:Ig,useValue:void 0},{provide:Ag,useExisting:i}]),ae,ne,Pe,Q],ngContentSelectors:TC,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,r){if(t&1){let o=Ge();se(SC),A(0),w(1,"div",1,0),ee("@bodyExpansion.start",function(s){return ce(o),le(r._animationStarted(s))})("@bodyExpansion.done",function(s){return ce(o),le(r._animationDone(s))}),w(3,"div",2),A(4,1),te(5,MC,0,0,"ng-template",3),I(),A(6,2),I()}t&2&&(V(),ue("@bodyExpansion",r._getExpandedState())("id",r.id),W("aria-labelledby",r._headerId),V(4),ue("cdkPortalOutlet",r._portal))},dependencies:[mi],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color, var(--mat-app-surface));color:var(--mat-expansion-container-text-color, var(--mat-app-on-surface));border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font, var(--mat-app-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-app-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-app-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-app-body-large-tracking))}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-app-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Mg.bodyExpansion]},changeDetection:0})}}return i})();function Tg(i){return i.fromState==="void"}var L2=(()=>{class i{constructor(e,t,r,o,a,s,c){this.panel=e,this._element=t,this._focusMonitor=r,this._changeDetectorRef=o,this._animationMode=s,this._parentChangeSubscription=Te.EMPTY,this.tabIndex=0;let l=e.accordion?e.accordion._stateChanges.pipe(ye(d=>!!(d.hideToggle||d.togglePosition))):Bi;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=Fe(e.opened,e.closed,l,e._inputChanges.pipe(ye(d=>!!(d.hideToggle||d.disabled||d.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(ye(()=>e._containsFocus())).subscribe(()=>r.focusVia(t,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Le(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static{this.\u0275fac=function(t){return new(t||i)(u(NC,1),u(E),u(ot),u(pe),u(Og,8),u(we,8),It("tabindex"))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,r){t&1&&ee("click",function(){return r._toggle()})("keydown",function(a){return r._keydown(a)}),t&2&&(W("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),ft("height",r._getHeaderHeight()),P("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before")("_mat-animation-noopable",r._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:$e(e)]},standalone:!0,features:[ae,Q],ngContentSelectors:OC,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(t,r){t&1&&(se(AC),w(0,"span",0),A(1),A(2,1),A(3,2),I(),te(4,RC,3,1,"span",1)),t&2&&(P("mat-content-hide-toggle",!r._showToggle()),V(4),ge(r._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font, var(--mat-app-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-app-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-app-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-app-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-app-title-medium-tracking))}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-app-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-app-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-app-on-surface-variant))}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Mg.indicatorRotate]},changeDetection:0})}}return i})();var j2=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0})}}return i})();var Rg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,Eg,Pi]})}}return i})();var Fg=["*"];var LC=".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}",Nd=class{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){let n=Math.max(...this.tracker);return n>1?this.rowCount+n-1:this.rowCount}update(n,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(n),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(t=>this._trackTile(t))}_trackTile(n){let e=this._findMatchingGap(n.colspan);return this._markTilePosition(e,n),this.columnIndex=e+n.colspan,new Ld(this.rowIndex,e)}_findMatchingGap(n){n>this.tracker.length;let e=-1,t=-1;do{if(this.columnIndex+n>this.tracker.length){this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),t=this._findGapEndIndex(e);continue}if(e=this.tracker.indexOf(0,this.columnIndex),e==-1){this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),t=this._findGapEndIndex(e);continue}t=this._findGapEndIndex(e),this.columnIndex=e+1}while(t-e{class i{constructor(e,t){this._element=e,this._gridList=t,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(e){this._rowspan=Math.round(Ct(e))}get colspan(){return this._colspan}set colspan(e){this._colspan=Math.round(Ct(e))}_setStyle(e,t){this._element.nativeElement.style[e]=t}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Pg,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(t,r){t&2&&W("rowspan",r.rowspan)("colspan",r.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],standalone:!0,features:[Q],ngContentSelectors:Fg,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(t,r){t&1&&(se(),w(0,"div",0),A(1),I())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}}return i})();var VC=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/,$o=class{constructor(){this._rows=0,this._rowspan=0}init(n,e,t,r){this._gutterSize=Ng(n),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=t,this._direction=r}getBaseTileSize(n,e){return`(${n}% - (${this._gutterSize} * ${e}))`}getTilePosition(n,e){return e===0?"0":Un(`(${n} + ${this._gutterSize}) * ${e}`)}getTileSize(n,e){return`(${n} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(n,e,t){let r=100/this._cols,o=(this._cols-1)/this._cols;this.setColStyles(n,t,r,o),this.setRowStyles(n,e,r,o)}setColStyles(n,e,t,r){let o=this.getBaseTileSize(t,r),a=this._direction==="rtl"?"right":"left";n._setStyle(a,this.getTilePosition(o,e)),n._setStyle("width",Un(this.getTileSize(o,n.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(n){return`${this._rowspan} * ${this.getTileSize(n,1)}`}getComputedHeight(){return null}},jd=class extends $o{constructor(n){super(),this.fixedRowHeight=n}init(n,e,t,r){super.init(n,e,t,r),this.fixedRowHeight=Ng(this.fixedRowHeight),VC.test(this.fixedRowHeight)}setRowStyles(n,e){n._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),n._setStyle("height",Un(this.getTileSize(this.fixedRowHeight,n.rowspan)))}getComputedHeight(){return["height",Un(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["height",null]),n._tiles&&n._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}},Vd=class extends $o{constructor(n){super(),this._parseRatio(n)}setRowStyles(n,e,t,r){let o=t/this.rowHeightRatio;this.baseTileHeight=this.getBaseTileSize(o,r),n._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),n._setStyle("paddingTop",Un(this.getTileSize(this.baseTileHeight,n.rowspan)))}getComputedHeight(){return["paddingBottom",Un(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["paddingBottom",null]),n._tiles.forEach(e=>{e._setStyle("marginTop",null),e._setStyle("paddingTop",null)})}_parseRatio(n){let e=n.split(":");e.length,this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}},Bd=class extends $o{setRowStyles(n,e){let t=100/this._rowspan,r=(this._rows-1)/this._rows,o=this.getBaseTileSize(t,r);n._setStyle("top",this.getTilePosition(o,e)),n._setStyle("height",Un(this.getTileSize(o,n.rowspan)))}reset(n){n._tiles&&n._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}};function Un(i){return`calc(${i})`}function Ng(i){return i.match(/([A-Za-z%]+)$/)?i:`${i}px`}var BC="fit",eB=(()=>{class i{constructor(e,t){this._element=e,this._dir=t,this._gutter="1px"}get cols(){return this._cols}set cols(e){this._cols=Math.max(1,Math.round(Ct(e)))}get gutterSize(){return this._gutter}set gutterSize(e){this._gutter=`${e??""}`}get rowHeight(){return this._rowHeight}set rowHeight(e){let t=`${e??""}`;t!==this._rowHeight&&(this._rowHeight=t,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){this.cols}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(e){this._tileStyler&&this._tileStyler.reset(this),e===BC?this._tileStyler=new Bd:e&&e.indexOf(":")>-1?this._tileStyler=new Vd(e):this._tileStyler=new jd(e)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new Nd);let e=this._tileCoordinator,t=this._tiles.filter(o=>!o._gridList||o._gridList===this),r=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,t),this._tileStyler.init(this.gutterSize,e,this.cols,r),t.forEach((o,a)=>{let s=e.positions[a];this._tileStyler.setStyle(o,s.row,s.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(e){e&&(this._element.nativeElement.style[e[0]]=e[1])}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Re,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-grid-list"]],contentQueries:function(t,r,o){if(t&1&&he(o,jC,5),t&2){let a;S(a=T())&&(r._tiles=a)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(t,r){t&2&&W("cols",r.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],standalone:!0,features:[de([{provide:Pg,useExisting:i}]),Q],ngContentSelectors:Fg,decls:2,vars:0,template:function(t,r){t&1&&(se(),w(0,"div"),A(1),I())},styles:[LC],encapsulation:2,changeDetection:0})}}return i})(),Lg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[pd,K,pd,K]})}}return i})();var zC=["*"],Bs;function HC(){if(Bs===void 0&&(Bs=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(Bs=i.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Bs}function Yo(i){return HC()?.createHTML(i)||i}function jg(i){return Error(`Unable to find icon with the name "${i}"`)}function QC(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Vg(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function Bg(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var Li=class{constructor(n,e,t){this.url=n,this.svgText=e,this.options=t}},UC=(()=>{class i{constructor(e,t,r,o){this._httpClient=e,this._sanitizer=t,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,t,r){return this.addSvgIconInNamespace("",e,t,r)}addSvgIconLiteral(e,t,r){return this.addSvgIconLiteralInNamespace("",e,t,r)}addSvgIconInNamespace(e,t,r,o){return this._addSvgIconConfig(e,t,new Li(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,r,o){let a=this._sanitizer.sanitize(Kn.HTML,r);if(!a)throw Bg(r);let s=Yo(a);return this._addSvgIconConfig(e,t,new Li("",s,o))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,r){return this._addSvgIconSetConfig(e,new Li(t,null,r))}addSvgIconSetLiteralInNamespace(e,t,r){let o=this._sanitizer.sanitize(Kn.HTML,t);if(!o)throw Bg(t);let a=Yo(o);return this._addSvgIconSetConfig(e,new Li("",a,r))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(Kn.RESOURCE_URL,e);if(!t)throw Vg(e);let r=this._cachedIconsByUrl.get(t);return r?He(zs(r)):this._loadSvgIconFromConfig(new Li(e,null)).pipe(gi(o=>this._cachedIconsByUrl.set(t,o)),ke(o=>zs(o)))}getNamedSvgIcon(e,t=""){let r=zg(t,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(t,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let a=this._iconSetConfigs.get(t);return a?this._getSvgFromIconSetConfigs(e,a):xu(jg(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?He(zs(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ke(t=>zs(t)))}_getSvgFromIconSetConfigs(e,t){let r=this._extractIconWithNameFromAnySet(e,t);if(r)return He(r);let o=t.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Jo(s=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(Kn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(l)),He(null)})));return mn(o).pipe(ke(()=>{let a=this._extractIconWithNameFromAnySet(e,t);if(!a)throw jg(e);return a}))}_extractIconWithNameFromAnySet(e,t){for(let r=t.length-1;r>=0;r--){let o=t[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(gi(t=>e.svgText=t),ke(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?He(null):this._fetchIcon(e).pipe(gi(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,r){let o=e.querySelector(`[id="${t}"]`);if(!o)return null;let a=o.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,r);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),r);let s=this._svgElementFromString(Yo(""));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let r=t.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){let t=this._svgElementFromString(Yo("")),r=e.attributes;for(let o=0;oYo(l)),ku(()=>this._inProgressUrlFetches.delete(a)),Eu());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,t,r){return this._svgIconConfigs.set(zg(e,t),r),this}_addSvgIconSetConfig(e,t){let r=this._iconSetConfigs.get(e);return r?r.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let r=0;rn?n.pathname+n.search:""}}var Hg=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],YC=Hg.map(i=>`[${i}]`).join(", "),KC=/^url\(['"]?#(.*?)['"]?\)$/,vB=(()=>{class i{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}constructor(e,t,r,o,a,s){this._elementRef=e,this._iconRegistry=t,this._location=o,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Te.EMPTY,s&&(s.color&&(this.color=this._defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let r=e.childNodes[t];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),t.forEach(r=>e.classList.add(r)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences;t&&t.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(YC),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{let s=t[o],c=s.getAttribute(a),l=c?c.match(KC):null;if(l){let d=r.get(s);d||(d=[],r.set(s,d)),d.push({name:a,value:l[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,r]=this._splitIconName(e);t&&(this._svgNamespace=t),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,t).pipe(Ye(1)).subscribe(o=>this._setSvgElement(o),o=>{let a=`Error retrieving icon ${t}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(a))})}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(UC),It("aria-hidden"),u(GC),u(ia),u(WC,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,r){t&2&&(W("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),qe(r.color?"mat-"+r.color:""),P("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",O],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ae,Q],ngContentSelectors:zC,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return i})(),Qg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})();var Ug=Bt({passive:!0}),qg=(()=>{class i{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Bi;let t=zt(e),r=this._monitoredElements.get(t);if(r)return r.subject;let o=new R,a="cdk-text-field-autofilled",s=c=>{c.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,Ug),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:o,unlisten:()=>{t.removeEventListener("animationstart",s,Ug)}}),o}stopMonitoring(e){let t=zt(e),r=this._monitoredElements.get(t);r&&(r.unlisten(),r.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(B))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Wg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var ZC=new C("MAT_INPUT_VALUE_ACCESSOR"),JC=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ek=0,LB=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=ut(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Ui.required)??!1}set required(e){this._required=ut(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&ed().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ut(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,r,o,a,s,c,l,d,h){this._elementRef=e,this._platform=t,this.ngControl=r,this._autofillMonitor=l,this._ngZone=d,this._formField=h,this._uid=`mat-input-${ek++}`,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new R,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(f=>ed().has(f)),this._iOSKeyupListener=f=>{let g=f.target;!g.value&&g.selectionStart===0&&g.selectionEnd===0&&(g.setSelectionRange(1,1),g.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};let m=this._elementRef.nativeElement,p=m.nodeName.toLowerCase();this._inputValueAccessor=c||m,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new ln(s,r,a,o,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=p==="select",this._isTextarea=p==="textarea",this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=m.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){JC.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(ai,10),u(_n,8),u(yn,8),u(dn),u(ZC,10),u(qg),u(B),u(Ri,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(t,r){t&1&&ee("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),t&2&&(St("id",r.id)("disabled",r.disabled)("required",r.required),W("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),P("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[de([{provide:Vn,useExisting:i}]),Pe]})}}return i})(),Gg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,Bn,Bn,Wg,K]})}}return i})();function tk(i,n){i&1&&ie(0,"div",2)}var ik=new C("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var YB=(()=>{class i{constructor(e,t,r,o,a){this._elementRef=e,this._ngZone=t,this._changeDetectorRef=r,this._animationMode=o,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new z,this._mode="determinate",this._transitionendHandler=s=>{this.animationEnd.observers.length===0||!s.target||!s.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=o==="NoopAnimations",a&&(a.color&&(this.color=this._defaultColor=a.color),this.mode=a.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(e){this._color=e}get value(){return this._value}set value(e){this._value=$g(e||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=$g(e||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B),u(pe),u(we,8),u(ik,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(t,r){t&2&&(W("aria-valuenow",r._isIndeterminate()?null:r.value)("mode",r.mode),qe("mat-"+r.color),P("_mat-animation-noopable",r._isNoopAnimation)("mdc-linear-progress--animation-ready",!r._isNoopAnimation)("mdc-linear-progress--indeterminate",r._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",$e],bufferValue:[2,"bufferValue","bufferValue",$e],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[ae,Q],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(t,r){t&1&&(w(0,"div",0),ie(1,"div",1),te(2,tk,1,0,"div",2),I(),w(3,"div",3),ie(4,"span",4),I(),w(5,"div",5),ie(6,"span",4),I()),t&2&&(V(),ft("flex-basis",r._getBufferBarFlexBasis()),V(),ge(r.mode==="buffer"?2:-1),V(),ft("transform",r._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height),var(--mdc-linear-progress-active-indicator-height))}.cdk-high-contrast-active .mdc-linear-progress{outline-color:CanvasText}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-app-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.cdk-high-contrast-active .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}`],encapsulation:2,changeDetection:0})}}return i})();function $g(i,n=0,e=100){return Math.max(n,Math.min(e,i))}var Yg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K]})}}return i})();var nk=["*",[["mat-toolbar-row"]]],rk=["*","mat-toolbar-row"],ok=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0})}}return i})(),JB=(()=>{class i{constructor(e,t,r){this._elementRef=e,this._platform=t,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(oe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-toolbar"]],contentQueries:function(t,r,o){if(t&1&&he(o,ok,5),t&2){let a;S(a=T())&&(r._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(t,r){t&2&&(qe(r.color?"mat-"+r.color:""),P("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[Q],ngContentSelectors:rk,decls:2,vars:0,template:function(t,r){t&1&&(se(nk),A(0),A(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-app-surface));color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-app-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-app-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-app-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-app-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-app-title-large-tracking));margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}}return i})();var Kg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})();var ak=["tooltip"],Jg=20;var eb=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition({scrollThrottle:Jg})}});function sk(i){return()=>i.scrollStrategies.reposition({scrollThrottle:Jg})}var ck={provide:eb,deps:[je],useFactory:sk};function lk(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var dk=new C("mat-tooltip-default-options",{providedIn:"root",factory:lk});var Xg="tooltip-panel",Zg=Bt({passive:!0}),uk=8,hk=8,mk=24,pk=200,wz=(()=>{class i{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ut(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let t=ut(e);this._disabled!==t&&(this._disabled=t,t?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Ct(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Ct(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){let t=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(t)}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,t,r,o,a,s,c,l,d,h,m,p){this._overlay=e,this._elementRef=t,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=a,this._platform=s,this._ariaDescriber=c,this._focusMonitor=l,this._dir=h,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=fk,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new R,this._injector=F(Ee),this._scrollStrategy=d,this._document=p,m&&(this._showDelay=m.showDelay,this._hideDelay=m.hideDelay,m.position&&(this.position=m.position),m.positionAtOrigin&&(this.positionAtOrigin=m.positionAtOrigin),m.touchGestures&&(this.touchGestures=m.touchGestures),m.tooltipClass&&(this.tooltipClass=m.tooltipClass)),h.change.pipe($(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=uk}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe($(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,r])=>{e.removeEventListener(t,r,Zg)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,t){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(t);this._detach(),this._portal=this._portal||new hn(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe($(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let t=this._tooltipInstance;t&&(t.isVisible()?t.hide(e):(t._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof E)return this._overlayRef;this._detach()}let t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return r.positionChanges.pipe($(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${Xg}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe($(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe($(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe($(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!Le(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let t=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();t.withPositions([this._addOffset(N(N({},r.main),o.main)),this._addOffset(N(N({},r.fallback),o.fallback))])}_addOffset(e){let t=hk,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-t:e.originY==="bottom"?e.offsetY=t:e.originX==="start"?e.offsetX=r?-t:t:e.originX==="end"&&(e.offsetX=r?t:-t),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",t=this.position,r;t=="above"||t=="below"?r={originX:"center",originY:t=="above"?"top":"bottom"}:t=="before"||t=="left"&&e||t=="right"&&!e?r={originX:"start",originY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",t=this.position,r;t=="above"?r={overlayX:"center",overlayY:"bottom"}:t=="below"?r={overlayX:"center",overlayY:"top"}:t=="before"||t=="left"&&e||t=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),tt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return this.position==="above"||this.position==="below"?t==="top"?t="bottom":t==="bottom"&&(t="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){let{overlayY:t,originX:r,originY:o}=e,a;if(t==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=t==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let c=`${this._cssClassPrefix}-${Xg}-`;s.removePanelClass(c+this._currentPosition),s.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let t;e.x!==void 0&&e.y!==void 0&&(t=e),this.show(void 0,t)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let t=e.targetTouches?.[0],r=t?{x:t.clientX,y:t.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",t=>{let r=t.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",t=>this._wheelListener(t)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,r])=>{this._elementRef.nativeElement.addEventListener(t,r,Zg)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let t=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;t!==r&&!r.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let t=this._elementRef.nativeElement,r=t.style;(e==="on"||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!t.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(t){return new(t||i)(u(je),u(E),u(un),u(Ue),u(B),u(me),u(mf),u(ot),u(eb),u(Re),u(dk,8),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return i})(),fk=(()=>{class i{constructor(e,t,r){this._changeDetectorRef=e,this._elementRef=t,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=r==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>mk&&e.width>=pk}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let t=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(t.classList.remove(e?o:r),t.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(t);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tooltip-component"]],viewQuery:function(t,r){if(t&1&&re(ak,7),t&2){let o;S(o=T())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(t,r){t&1&&ee("mouseleave",function(a){return r._handleMouseLeave(a)})},standalone:!0,features:[Q],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(t,r){if(t&1){let o=Ge();w(0,"div",1,0),ee("animationend",function(s){return ce(o),le(r._handleAnimationEnd(s))}),w(2,"div",2),Tt(3),I()()}t&2&&(P("mdc-tooltip--multiline",r._isMultiline),ue("ngClass",r.tooltipClass),V(3),oi(r.message))},dependencies:[sa],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return i})();var tb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[ck],imports:[Ts,yt,ii,K,K,Ut]})}}return i})();var gk=["trigger"],bk=["panel"],vk=[[["mat-select-trigger"]],"*"],_k=["mat-select-trigger","*"];function yk(i,n){if(i&1&&(w(0,"span",4),Tt(1),I()),i&2){let e=fe();V(),oi(e.placeholder)}}function xk(i,n){i&1&&A(0)}function wk(i,n){if(i&1&&(w(0,"span",11),Tt(1),I()),i&2){let e=fe(2);V(),oi(e.triggerValue)}}function Ck(i,n){if(i&1&&(w(0,"span",5),te(1,xk,1,0)(2,wk,2,1,"span",11),I()),i&2){let e=fe();V(),ge(e.customTrigger?1:2)}}function kk(i,n){if(i&1){let e=Ge();w(0,"div",12,1),ee("@transformPanel.done",function(r){ce(e);let o=fe();return le(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){ce(e);let o=fe();return le(o._handleKeydown(r))}),A(2,1),I()}if(i&2){let e=fe();Lu("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),ue("ngClass",e.panelClass)("@transformPanel","showing"),W("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var Dk={transformPanelWrap:gt("transformPanelWrap",[Ze("* => void",Ku("@transformPanel",[Yu()],{optional:!0}))]),transformPanel:gt("transformPanel",[nt("void",Oe({opacity:0,transform:"scale(1, 0.8)"})),Ze("void => showing",Xe("120ms cubic-bezier(0, 0, 0.2, 1)",Oe({opacity:1,transform:"scale(1, 1)"}))),Ze("* => void",Xe("100ms linear",Oe({opacity:0})))])};var ib=0,nb=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}});function Ek(i){return()=>i.scrollStrategies.reposition()}var Ik=new C("MAT_SELECT_CONFIG"),Sk={provide:nb,deps:[je],useFactory:Ek},Tk=new C("MatSelectTrigger"),zd=class{constructor(n,e){this.source=n,this.value=e}},Zz=(()=>{class i{_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let r=this.panel.nativeElement,o=Os(e,this.options,this.optionGroups),a=t._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=Rs(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new zd(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Ui.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,r,o,a,s,c,l,d,h,m,p,f,g){this._viewportRuler=e,this._changeDetectorRef=t,this._elementRef=a,this._dir=s,this._parentFormField=d,this.ngControl=h,this._liveAnnouncer=f,this._defaultOptions=g,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(_,v)=>_===v,this._uid=`mat-select-${ib++}`,this._triggerAriaLabelledBy=null,this._destroy=new R,this.stateChanges=new R,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${ib++}`,this._panelDoneAnimatingStream=new R,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new R,this.optionSelectionChanges=zi(()=>{let _=this.options;return _?_.changes.pipe(Me(_),st(()=>Fe(..._.map(v=>v.onSelectionChange)))):this._initialized.pipe(st(()=>this.optionSelectionChanges))}),this.openedChange=new z,this._openedStream=this.openedChange.pipe(ye(_=>_),ke(()=>{})),this._closedStream=this.openedChange.pipe(ye(_=>!_),ke(()=>{})),this.selectionChange=new z,this.valueChange=new z,this._trackedModal=null,this._skipPredicate=_=>this.panelOpen?!1:_.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),g?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=g.typeaheadDebounceInterval),this._errorStateTracker=new ln(o,h,l,c,this.stateChanges),this._scrollStrategyFactory=p,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ca(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Di(),$(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe($(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe($(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Me(null),$(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&sn(this._trackedModal,"aria-owns",t),Pr(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;sn(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,r=t===40||t===38||t===37||t===39,o=t===13||t===32,a=this._keyManager;if(!a.isTyping()&&o&&!Le(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let c=this.selected;c&&s!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,r=e.keyCode,o=r===40||r===38,a=t.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&t.activeItem&&!Le(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(s?c.select():c.deselect())})}else{let s=t.activeItemIndex;t.onKeydown(e),this._multiple&&o&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==s&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ye(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return r.value!=null&&this._compareWith(r.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Qo?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Or(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Fe(this.options.changes,this._destroy);this.optionSelectionChanges.pipe($(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Fe(...this.options.map(t=>t._stateChanges)).pipe($(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let r=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,r)=>this.sortComparator?this.sortComparator(t,r,e):e.indexOf(t)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(r=>r.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(t){return new(t||i)(u(Dt),u(pe),u(B),u(dn),u(E),u(Re,8),u(_n,8),u(yn,8),u(Ri,8),u(ai,10),It("tabindex"),u(nb),u(gf),u(Ik,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-select"]],contentQueries:function(t,r,o){if(t&1&&(he(o,Tk,5),he(o,As,5),he(o,jo,5)),t&2){let a;S(a=T())&&(r.customTrigger=a.first),S(a=T())&&(r.options=a),S(a=T())&&(r.optionGroups=a)}},viewQuery:function(t,r){if(t&1&&(re(gk,5),re(bk,5),re(Md,5)),t&2){let o;S(o=T())&&(r.trigger=o.first),S(o=T())&&(r.panel=o.first),S(o=T())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,r){t&1&&ee("keydown",function(a){return r._handleKeydown(a)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),t&2&&(W("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),P("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",O],disableRipple:[2,"disableRipple","disableRipple",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:$e(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",O],placeholder:"placeholder",required:[2,"required","required",O],multiple:[2,"multiple","multiple",O],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",O],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",$e],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[de([{provide:Vn,useExisting:i},{provide:Lo,useExisting:i}]),ae,Pe,Q],ngContentSelectors:_k,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,r){if(t&1){let o=Ge();se(vk),w(0,"div",2,0),ee("click",function(){return ce(o),le(r.open())}),w(3,"div",3),te(4,yk,2,1,"span",4)(5,Ck,3,1,"span",5),I(),w(6,"div",6)(7,"div",7),Wt(),w(8,"svg",8),ie(9,"path",9),I()()()(),te(10,kk,3,9,"ng-template",10),ee("backdropClick",function(){return ce(o),le(r.close())})("attach",function(){return ce(o),le(r._onAttached())})("detach",function(){return ce(o),le(r.close())})}if(t&2){let o=$t(1);V(3),W("id",r._valueId),V(),ge(r.empty?4:5),V(6),ue("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)}},dependencies:[Qo,Md,sa],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[Dk.transformPanel]},changeDetection:0})}}return i})();var rb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[Sk],imports:[yt,ii,Lr,K,Ut,Bn,Lr,K]})}}return i})();var ob=["*"],Mk=["content"],Ak=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Ok=["mat-drawer","mat-drawer-content","*"];function Rk(i,n){if(i&1){let e=Ge();w(0,"div",1),ee("click",function(){ce(e);let r=fe();return le(r._onBackdropClicked())}),I()}if(i&2){let e=fe();P("mat-drawer-shown",e._isShowingBackdrop())}}function Fk(i,n){i&1&&(w(0,"mat-drawer-content"),A(1,2),I())}var Pk={transformDrawer:gt("transform",[nt("open, open-instant",Oe({transform:"none",visibility:"visible"})),nt("void",Oe({"box-shadow":"none",visibility:"hidden"})),Ze("void => open-instant",Xe("0ms")),Ze("void <=> open, open-instant => void",Xe("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};var Nk=new C("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:Lk}),ab=new C("MAT_DRAWER_CONTAINER");function Lk(){return!1}var Hd=(()=>{class i extends Fi{constructor(e,t,r,o,a){super(r,o,a),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(Lt(()=>Vk)),u(E),u(un),u(B))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,r){t&2&&ft("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px")},standalone:!0,features:[de([{provide:Fi,useExisting:i}]),ne,Q],ngContentSelectors:ob,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},encapsulation:2,changeDetection:0})}}return i})(),jk=(()=>{class i{get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=ut(e)}get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=ut(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(ut(e))}constructor(e,t,r,o,a,s,c,l){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=r,this._platform=o,this._ngZone=a,this._interactivityChecker=s,this._doc=c,this._container=l,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new R,this._animationEnd=new R,this._animationState="void",this.openedChange=new z(!0),this._openedStream=this.openedChange.pipe(ye(d=>d),ke(()=>{})),this.openedStart=this._animationStarted.pipe(ye(d=>d.fromState!==d.toState&&d.toState.indexOf("open")===0),nc(void 0)),this._closedStream=this.openedChange.pipe(ye(d=>!d),ke(()=>{})),this.closedStart=this._animationStarted.pipe(ye(d=>d.fromState!==d.toState&&d.toState==="void"),nc(void 0)),this._destroyed=new R,this.onPositionChanged=new z,this._modeChanged=new R,this._injector=F(Ee),this._changeDetectorRef=F(pe),this.openedChange.pipe($(this._destroyed)).subscribe(d=>{d?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Nt(this._elementRef.nativeElement,"keydown").pipe(ye(d=>d.keyCode===27&&!this.disableClose&&!Le(d)),$(this._destroyed)).subscribe(d=>this._ngZone.run(()=>{this.close(),d.stopPropagation(),d.preventDefault()}))}),this._animationEnd.pipe(Di((d,h)=>d.fromState===h.fromState&&d.toState===h.toState)).subscribe(d=>{let{fromState:h,toState:m}=d;(m.indexOf("open")===0&&h==="void"||m==="void"&&h.indexOf("open")===0)&&this.openedChange.emit(this._opened)})}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,t)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":tt(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);let r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,t,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(r)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(Ye(1)).subscribe(a=>o(a?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let t=this._elementRef.nativeElement,r=t.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,t)),r.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Nr),u(ot),u(me),u(B),u(Nn),u(oe,8),u(ab,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-drawer"]],viewQuery:function(t,r){if(t&1&&re(Mk,5),t&2){let o;S(o=T())&&(r._content=o.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,r){t&1&&Vu("@transform.start",function(a){return r._animationStarted.next(a)})("@transform.done",function(a){return r._animationEnd.next(a)}),t&2&&(ju("@transform",r._animationState),W("align",null),P("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-drawer-opened",r.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[Q],ngContentSelectors:ob,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,r){t&1&&(se(),w(0,"div",1,0),A(2),I())},dependencies:[Fi],encapsulation:2,data:{animation:[Pk.transformDrawer]},changeDetection:0})}}return i})(),Vk=(()=>{class i{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=ut(e)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:ut(e)}get scrollable(){return this._userContent||this._content}constructor(e,t,r,o,a,s=!1,c){this._dir=e,this._element=t,this._ngZone=r,this._changeDetectorRef=o,this._animationMode=c,this._drawers=new Gt,this.backdropClick=new z,this._destroyed=new R,this._doCheckSubject=new R,this._contentMargins={left:null,right:null},this._contentMarginChanges=new R,this._injector=F(Ee),e&&e.change.pipe($(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),a.change().pipe($(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}ngAfterContentInit(){this._allDrawers.changes.pipe(Me(this._allDrawers),$(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Me(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(fi(10),$(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,t-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")t+=this._right._getWidth();else if(this._right.mode=="push"){let r=this._right._getWidth();t+=r,e-=r}}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(ye(t=>t.fromState!==t.toState),$(this._drawers.changes)).subscribe(t=>{t.toState!=="open-instant"&&this._animationMode!=="NoopAnimations"&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe($(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe($(this._drawers.changes)).subscribe(()=>{tt(()=>{this._validateDrawers()},{injector:this._injector,phase:Nu.Read})})}_watchDrawerMode(e){e&&e._modeChanged.pipe($(Fe(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let t=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?t.add(r):t.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static{this.\u0275fac=function(t){return new(t||i)(u(Re,8),u(E),u(B),u(pe),u(Dt),u(Nk),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-drawer-container"]],contentQueries:function(t,r,o){if(t&1&&(he(o,Hd,5),he(o,jk,5)),t&2){let a;S(a=T())&&(r._content=a.first),S(a=T())&&(r._allDrawers=a)}},viewQuery:function(t,r){if(t&1&&re(Hd,5),t&2){let o;S(o=T())&&(r._userContent=o.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[de([{provide:ab,useExisting:i}]),Q],ngContentSelectors:Ok,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,r){t&1&&(se(Ak),te(0,Rk,1,2,"div",0),A(1),A(2,1),te(3,Fk,2,0,"mat-drawer-content")),t&2&&(ge(r.hasBackdrop?0:-1),V(3),ge(r._content?-1:3))},dependencies:[Hd],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return i})();var sb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,Ut,Ut,K]})}}return i})();var zr=["*"];function Bk(i,n){i&1&&A(0)}var db=["tabListContainer"],ub=["tabList"],hb=["tabListInner"],mb=["nextPaginator"],pb=["previousPaginator"],zk=i=>({animationDuration:i}),Hk=(i,n)=>({value:i,params:n});function Qk(i,n){}var Uk=["tabBodyWrapper"],qk=["tabHeader"];function Wk(i,n){}function Gk(i,n){if(i&1&&te(0,Wk,0,0,"ng-template",12),i&2){let e=fe().$implicit;ue("cdkPortalOutlet",e.templateLabel)}}function $k(i,n){if(i&1&&Tt(0),i&2){let e=fe().$implicit;oi(e.textLabel)}}function Yk(i,n){if(i&1){let e=Ge();w(0,"div",7,2),ee("click",function(){let r=ce(e),o=r.$implicit,a=r.$index,s=fe(),c=$t(1);return le(s._handleClick(o,c,a))})("cdkFocusChange",function(r){let o=ce(e).$index,a=fe();return le(a._tabFocusChanged(r,o))}),ie(2,"span",8)(3,"div",9),w(4,"span",10)(5,"span",11),te(6,Gk,1,1,null,12)(7,$k,1,1),I()()()}if(i&2){let e=n.$implicit,t=n.$index,r=$t(1),o=fe();qe(e.labelClass),P("mdc-tab--active",o.selectedIndex===t),ue("id",o._getTabLabelId(t))("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),W("tabIndex",o._getTabIndex(t))("aria-posinset",t+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(t))("aria-selected",o.selectedIndex===t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),V(3),ue("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),V(3),ge(e.templateLabel?6:7)}}function Kk(i,n){i&1&&A(0)}function Xk(i,n){if(i&1){let e=Ge();w(0,"mat-tab-body",13),ee("_onCentered",function(){ce(e);let r=fe();return le(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){ce(e);let o=fe();return le(o._setTabBodyWrapperHeight(r))}),I()}if(i&2){let e=n.$implicit,t=n.$index,r=fe();qe(e.bodyClass),P("mat-mdc-tab-body-active",r.selectedIndex===t),ue("id",r._getTabContentId(t))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),W("tabindex",r.contentTabIndex!=null&&r.selectedIndex===t?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(t))("aria-hidden",r.selectedIndex!==t)}}var Zk=["mat-tab-nav-bar",""],Jk=["mat-tab-link",""],eD=new C("MatTabContent"),tD=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","matTabContent",""]],standalone:!0,features:[de([{provide:eD,useExisting:i}])]})}}return i})(),iD=new C("MatTabLabel"),fb=new C("MAT_TAB"),nD=(()=>{class i extends rg{constructor(e,t,r){super(e,t),this._closestTab=r}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(Ue),u(fb,8))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[de([{provide:iD,useExisting:i}]),ne]})}}return i})(),gb=new C("MAT_TAB_GROUP"),rD=(()=>{class i{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}constructor(e,t){this._viewContainerRef=e,this._closestTabGroup=t,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new R,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Et(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(gb,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab"]],contentQueries:function(t,r,o){if(t&1&&(he(o,nD,5),he(o,tD,7,Ae)),t&2){let a;S(a=T())&&(r.templateLabel=a.first),S(a=T())&&(r._explicitContent=a.first)}},viewQuery:function(t,r){if(t&1&&re(Ae,7),t&2){let o;S(o=T())&&(r._implicitContent=o.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",O],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[de([{provide:fb,useExisting:i}]),ae,Pe,Q],ngContentSelectors:zr,decls:1,vars:0,template:function(t,r){t&1&&(se(),te(0,Bk,1,0,"ng-template"))},encapsulation:2})}}return i})(),Qd="mdc-tab-indicator--active",cb="mdc-tab-indicator--no-transition",Hs=class{constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar())}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),t=this._currentItem;if(e!==t&&(t?.deactivateInkBar(),e)){let r=t?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},bb=(()=>{class i{constructor(){this._elementRef=F(E),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let t=this._elementRef.nativeElement;if(!e||!t.getBoundingClientRect||!this._inkBarContentElement){t.classList.add(Qd);return}let r=t.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;t.classList.add(cb),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),t.getBoundingClientRect(),t.classList.remove(cb),t.classList.add(Qd),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Qd)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,t=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");t.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",t.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",O]},features:[ae]})}}return i})();var vb=(()=>{class i extends bb{constructor(e){super(),this.elementRef=e,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,r){t&2&&(W("aria-disabled",!!r.disabled),P("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",O]},standalone:!0,features:[ae,ne]})}}return i})(),lb=Bt({passive:!0}),oD=650,aD=100,_b=(()=>{class i{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let t=isNaN(e)?0:e;this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}constructor(e,t,r,o,a,s,c){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=r,this._dir=o,this._ngZone=a,this._platform=s,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new R,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new R,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new z,this.indexFocused=new z,this._sharedResizeObserver=F(Ns),this._injector=F(Ee),a.runOutsideAngular(()=>{Nt(e.nativeElement,"mouseleave").pipe($(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Nt(this._previousPaginator.nativeElement,"touchstart",lb).pipe($(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Nt(this._nextPaginator.nativeElement,"touchstart",lb).pipe($(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:He("ltr"),t=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(fi(32),$(this._destroyed)),r=this._viewportRuler.change(150).pipe($(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new an(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),tt(o,{injector:this._injector}),Fe(e,r,t,this._items.changes,this._itemsResized()).pipe($(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?Bi:this._items.changes.pipe(Me(this._items),st(e=>new We(t=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>t.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),Yn(1),ye(e=>e.some(t=>t.contentRect.width>0&&t.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Le(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let t=this._items.get(this.focusIndex);t&&!t.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let t=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?t.scrollLeft=0:t.scrollLeft=t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,t=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let t=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*t/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let t=this._items?this._items.toArray()[e]:null;if(!t)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=t.elementRef.nativeElement,s,c;this._getLayoutDirection()=="ltr"?(s=o,c=s+a):(c=this._tabListInner.nativeElement.offsetWidth-o,s=c-a);let l=this.scrollDistance,d=this.scrollDistance+r;sd&&(this.scrollDistance+=Math.min(c-d,s-l))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,t=this._elementRef.nativeElement.offsetWidth,r=e-t>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,t=this._tabListContainer.nativeElement.offsetWidth;return e-t||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&t.button!=null&&t.button!==0||(this._stopInterval(),Cu(oD,aD).pipe($(Fe(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Dt),u(Re,8),u(B),u(me),u(we,8))}}static{this.\u0275dir=D({type:i,inputs:{disablePagination:[2,"disablePagination","disablePagination",O],selectedIndex:[2,"selectedIndex","selectedIndex",$e]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ae]})}}return i})(),sD=(()=>{class i extends _b{constructor(e,t,r,o,a,s,c){super(e,t,r,o,a,s,c),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new Hs(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Dt),u(Re,8),u(B),u(me),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-header"]],contentQueries:function(t,r,o){if(t&1&&he(o,vb,4),t&2){let a;S(a=T())&&(r._items=a)}},viewQuery:function(t,r){if(t&1&&(re(db,7),re(ub,7),re(hb,7),re(mb,5),re(pb,5)),t&2){let o;S(o=T())&&(r._tabListContainer=o.first),S(o=T())&&(r._tabList=o.first),S(o=T())&&(r._tabListInner=o.first),S(o=T())&&(r._nextPaginator=o.first),S(o=T())&&(r._previousPaginator=o.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(t,r){t&2&&P("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",O]},standalone:!0,features:[ae,ne,Q],ngContentSelectors:zr,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(t,r){if(t&1){let o=Ge();se(),w(0,"div",5,0),ee("click",function(){return ce(o),le(r._handlePaginatorClick("before"))})("mousedown",function(s){return ce(o),le(r._handlePaginatorPress("before",s))})("touchend",function(){return ce(o),le(r._stopInterval())}),ie(2,"div",6),I(),w(3,"div",7,1),ee("keydown",function(s){return ce(o),le(r._handleKeydown(s))}),w(5,"div",8,2),ee("cdkObserveContent",function(){return ce(o),le(r._onContentChanges())}),w(7,"div",9,3),A(9),I()()(),w(10,"div",10,4),ee("mousedown",function(s){return ce(o),le(r._handlePaginatorPress("after",s))})("click",function(){return ce(o),le(r._handlePaginatorClick("after"))})("touchend",function(){return ce(o),le(r._stopInterval())}),ie(12,"div",6),I()}t&2&&(P("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),ue("matRippleDisabled",r._disableScrollBefore||r.disableRipple),V(3),P("_mat-animation-noopable",r._animationMode==="NoopAnimations"),V(2),W("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),V(5),P("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),ue("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[ti,td],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}}return i})(),yb=new C("MAT_TABS_CONFIG"),cD={translateTab:gt("translateTab",[nt("center, void, left-origin-center, right-origin-center",Oe({transform:"none",visibility:"visible"})),nt("left",Oe({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),nt("right",Oe({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Ze("* => left, * => right, left => center, right => center",Xe("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Ze("void => left-origin-center",[Oe({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Xe("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Ze("void => right-origin-center",[Oe({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Xe("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},lD=(()=>{class i extends mi{constructor(e,t,r,o){super(e,t,o),this._host=r,this._centeringSub=Te.EMPTY,this._leavingSub=Te.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Me(this._host._isCenterPosition(this._host._position))).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(fn),u(Ue),u(Lt(()=>xb)),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[ne]})}}return i})(),xb=(()=>{class i{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,t,r){this._elementRef=e,this._dir=t,this._dirChangeSubscription=Te.EMPTY,this._translateTabComplete=new R,this._onCentering=new z,this._beforeCentering=new z,this._afterLeavingCenter=new z,this._onCentered=new z(!0),this.animationDuration="500ms",this.preserveContent=!1,t&&(this._dirChangeSubscription=t.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(Di((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let t=this._getLayoutDirection();return t=="ltr"&&e<=0||t=="rtl"&&e>0?"left-origin-center":"right-origin-center"}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Re,8),u(pe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-body"]],viewQuery:function(t,r){if(t&1&&re(mi,5),t&2){let o;S(o=T())&&(r._portalHost=o.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[Q],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(t,r){if(t&1){let o=Ge();w(0,"div",1,0),ee("@translateTab.start",function(s){return ce(o),le(r._onTranslateTabStarted(s))})("@translateTab.done",function(s){return ce(o),le(r._translateTabComplete.next(s))}),te(2,Qk,0,0,"ng-template",2),I()}t&2&&ue("@translateTab",Qu(3,Hk,r._position,Hu(1,zk,r.animationDuration)))},dependencies:[lD,Fi],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[cD.translateTab]}})}}return i})(),dD=0,uD=!0,GH=(()=>{class i{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}get animationDuration(){return this._animationDuration}set animationDuration(e){let t=e+"";this._animationDuration=/^\d+$/.test(t)?e+"ms":t}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!uD)throw new Error("mat-tab-group background color must be set through the Sass theming API");let t=this._elementRef.nativeElement.classList;t.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&t.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,t,r,o){this._elementRef=e,this._changeDetectorRef=t,this._animationMode=o,this._tabs=new Gt,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Te.EMPTY,this._tabLabelSubscription=Te.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new z,this.focusChange=new z,this.animationDone=new z,this.selectedTabChange=new z(!0),this._isServer=!F(me).isBrowser,this._groupId=dD++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=r&&r.disablePagination!=null?r.disablePagination:!1,this.dynamicHeight=r&&r.dynamicHeight!=null?r.dynamicHeight:!1,r?.contentTabIndex!=null&&(this.contentTabIndex=r.contentTabIndex),this.preserveContent=!!r?.preserveContent,this.fitInkBarToContent=r&&r.fitInkBarToContent!=null?r.fitInkBarToContent:!1,this.stretchTabs=r&&r.stretchTabs!=null?r.stretchTabs:!0}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let t=this._selectedIndex==null;if(!t){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,r)=>{t.position=r-e,this._selectedIndex!=null&&t.position==0&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let t=this._tabs.toArray(),r;for(let o=0;o{t[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Me(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(t=>t._closestTabGroup===this||!t._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let t=this._tabHeader;t&&(t.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let t=new Ud;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Fe(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,r){t.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let t=this._lastFocusedTabIndex??this.selectedIndex;return e===t?0:-1}_tabFocusChanged(e,t){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=t)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(yb,8),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-group"]],contentQueries:function(t,r,o){if(t&1&&he(o,rD,5),t&2){let a;S(a=T())&&(r._allTabs=a)}},viewQuery:function(t,r){if(t&1&&(re(Uk,5),re(qk,5)),t&2){let o;S(o=T())&&(r._tabBodyWrapper=o.first),S(o=T())&&(r._tabHeader=o.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(t,r){t&2&&(qe("mat-"+(r.color||"primary")),ft("--mat-tab-animation-duration",r.animationDuration),P("mat-mdc-tab-group-dynamic-height",r.dynamicHeight)("mat-mdc-tab-group-inverted-header",r.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",r.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",O],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",O],dynamicHeight:[2,"dynamicHeight","dynamicHeight",O],selectedIndex:[2,"selectedIndex","selectedIndex",$e],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",$e],disablePagination:[2,"disablePagination","disablePagination",O],disableRipple:[2,"disableRipple","disableRipple",O],preserveContent:[2,"preserveContent","preserveContent",O],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[de([{provide:gb,useExisting:i}]),ae,Q],ngContentSelectors:zr,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(t,r){if(t&1){let o=Ge();se(),w(0,"mat-tab-header",3,0),ee("indexFocused",function(s){return ce(o),le(r._focusChanged(s))})("selectFocusedIndex",function(s){return ce(o),le(r.selectedIndex=s)}),sc(2,Yk,8,17,"div",4,ac),I(),te(4,Kk,1,0),w(5,"div",5,1),sc(7,Xk,1,13,"mat-tab-body",6,ac),I()}t&2&&(ue("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),V(2),cc(r._tabs),V(2),ge(r._isServer?4:-1),V(),P("_mat-animation-noopable",r._animationMode==="NoopAnimations"),V(2),cc(r._tabs))},dependencies:[sD,vb,bf,ti,mi,xb],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}}return i})(),Ud=class{},wb=0,hD=(()=>{class i extends _b{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(e),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(e){let t=e+"";this._animationDuration=/^\d+$/.test(t)?e+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let t=this._elementRef.nativeElement.classList;t.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&t.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,t,r,o,a,s,c,l){super(e,o,a,t,r,s,c),this._fitInkBarToContent=new Vi(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=l&&l.disablePagination!=null?l.disablePagination:!1,this.fitInkBarToContent=l&&l.fitInkBarToContent!=null?l.fitInkBarToContent:!1,this.stretchTabs=l&&l.stretchTabs!=null?l.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new Hs(this._items),this._items.changes.pipe(Me(null),$(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let e=this._items.toArray();for(let t=0;t.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}}return i})(),mD=(()=>{class i extends bb{get active(){return this._isActive}set active(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(e,t,r,o,a,s){super(),this._tabNavBar=e,this.elementRef=t,this._focusMonitor=a,this._destroyed=new R,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id=`mat-tab-link-${wb++}`,this.rippleConfig=r||{},this.tabIndex=parseInt(o)||0,s==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),e._fitInkBarToContent.pipe($(this._destroyed)).subscribe(c=>{this.fitInkBarToContent=c})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(this.disabled?e.preventDefault():this._tabNavBar.tabPanel&&(e.keyCode===32&&e.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex}static{this.\u0275fac=function(t){return new(t||i)(u(hD),u(E),u(Ln,8),It("tabindex"),u(ot),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(t,r){t&1&&ee("focus",function(){return r._handleFocus()})("keydown",function(a){return r._handleKeydown(a)}),t&2&&(W("aria-controls",r._getAriaControls())("aria-current",r._getAriaCurrent())("aria-disabled",r.disabled)("aria-selected",r._getAriaSelected())("id",r.id)("tabIndex",r._getTabIndex())("role",r._getRole()),P("mat-mdc-tab-disabled",r.disabled)("mdc-tab--active",r.active))},inputs:{active:[2,"active","active",O],disabled:[2,"disabled","disabled",O],disableRipple:[2,"disableRipple","disableRipple",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:$e(e)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[ae,ne,Q],attrs:Jk,ngContentSelectors:zr,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(t,r){t&1&&(se(),ie(0,"span",0)(1,"div",1),w(2,"span",2)(3,"span",3),A(4),I()()),t&2&&(V(),ue("matRippleTrigger",r.elementRef.nativeElement)("matRippleDisabled",r.rippleDisabled))},dependencies:[ti],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}}return i})(),$H=(()=>{class i{constructor(){this.id=`mat-tab-nav-panel-${wb++}`}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(t,r){t&2&&W("aria-labelledby",r._activeTabId)("id",r.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[Q],ngContentSelectors:zr,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},encapsulation:2,changeDetection:0})}}return i})(),Cb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})();var qd=class{constructor(n,e){this._document=e;let t=this._textarea=this._document.createElement("textarea"),r=t.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",t.setAttribute("aria-hidden","true"),t.value=n,t.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(t)}copy(){let n=this._textarea,e=!1;try{if(n){let t=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),t&&t.focus()}}catch{}return e}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},pD=(()=>{class i{constructor(e){this._document=e}copy(e){let t=this.beginCopy(e),r=t.copy();return t.destroy(),r}beginCopy(e){return new qd(e,this._document)}static{this.\u0275fac=function(t){return new(t||i)(x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),fD=new C("CDK_COPY_TO_CLIPBOARD_CONFIG"),oQ=(()=>{class i{constructor(e,t,r){this._clipboard=e,this._ngZone=t,this.text="",this.attempts=1,this.copied=new z,this._pending=new Set,r&&r.attempts!=null&&(this.attempts=r.attempts)}copy(e=this.attempts){if(e>1){let t=e,r=this._clipboard.beginCopy(this.text);this._pending.add(r);let o=()=>{let a=r.copy();!a&&--t&&!this._destroyed?this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(o,1)):(this._currentTimeout=null,this._pending.delete(r),r.destroy(),this.copied.emit(a))};o()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}static{this.\u0275fac=function(t){return new(t||i)(u(pD),u(B),u(fD,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,r){t&1&&ee("click",function(){return r.copy()})},inputs:{text:[0,"cdkCopyToClipboard","text"],attempts:[0,"cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"},standalone:!0})}}return i})(),kb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var gD=["panel"],bD=["*"];function vD(i,n){if(i&1){let e=Ge();w(0,"div",1,0),ee("@panelAnimation.done",function(r){ce(e);let o=fe();return le(o._animationDone.next(r))}),A(2),I()}if(i&2){let e=n.id,t=fe();qe(t._classList),P("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),ue("id",t.id)("@panelAnimation",t.isOpen?"visible":"hidden"),W("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}var _D=gt("panelAnimation",[nt("void, hidden",Oe({opacity:0,transform:"scaleY(0.8)"})),Ze(":enter, hidden => visible",[$u([Xe("0.03s linear",Oe({opacity:1})),Xe("0.12s cubic-bezier(0, 0, 0.2, 1)",Oe({transform:"scaleY(1)"}))])]),Ze(":leave, visible => hidden",[Xe("0.075s linear",Oe({opacity:0}))])]),yD=0,Wd=class{constructor(n,e){this.source=n,this.option=e}},Db=new C("mat-autocomplete-default-options",{providedIn:"root",factory:xD});function xD(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var FQ=(()=>{class i{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}constructor(e,t,r,o){this._changeDetectorRef=e,this._elementRef=t,this._defaults=r,this._activeOptionChanges=Te.EMPTY,this._animationDone=new z,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new z,this.opened=new z,this.closed=new z,this.optionActivated=new z,this.id=`mat-autocomplete-${yD++}`,this.inertGroups=o?.SAFARI||!1,this.autoActiveFirstOption=!!r.autoActiveFirstOption,this.autoSelectActiveOption=!!r.autoSelectActiveOption,this.requireSelection=!!r.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Or(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let t=new Wd(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_skipPredicate(){return!1}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(Db),u(me))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-autocomplete"]],contentQueries:function(t,r,o){if(t&1&&(he(o,As,5),he(o,jo,5)),t&2){let a;S(a=T())&&(r.options=a),S(a=T())&&(r.optionGroups=a)}},viewQuery:function(t,r){if(t&1&&(re(Ae,7),re(gD,5)),t&2){let o;S(o=T())&&(r.template=o.first),S(o=T())&&(r.panel=o.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",O],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",O],requireSelection:[2,"requireSelection","requireSelection",O],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",O],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",O]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[de([{provide:Lo,useExisting:i}]),ae,Q],ngContentSelectors:bD,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(t,r){t&1&&(se(),te(0,vD,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[_D]},changeDetection:0})}}return i})();var wD={provide:vn,useExisting:Lt(()=>DD),multi:!0};var Eb=new C("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}});function CD(i){return()=>i.scrollStrategies.reposition()}var kD={provide:Eb,deps:[je],useFactory:CD},DD=(()=>{class i{constructor(e,t,r,o,a,s,c,l,d,h,m){this._element=e,this._overlay=t,this._viewContainerRef=r,this._zone=o,this._changeDetectorRef=a,this._dir=c,this._formField=l,this._document=d,this._viewportRuler=h,this._defaults=m,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Te.EMPTY,this._breakpointObserver=F(Cs),this._handsetLandscapeSubscription=Te.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new R,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new R,this._injector=F(Ee),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=zi(()=>{let p=this.autocomplete?this.autocomplete.options:null;return p?p.changes.pipe(Me(p),st(()=>Fe(...p.map(f=>f.onSelectionChange)))):this._initialized.pipe(st(()=>this.optionSelections))}),this._handlePanelKeydown=p=>{(p.keyCode===27&&!Le(p)||p.keyCode===38&&Le(p,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),p.stopPropagation(),p.preventDefault())},this._trackedModal=null,this._scrollStrategy=s}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&sn(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Fe(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(ye(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(ye(()=>this._overlayAttached)):He()).pipe(ke(e=>e instanceof No?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Fe(Nt(this._document,"click"),Nt(this._document,"auxclick"),Nt(this._document,"touchend")).pipe(ye(e=>{let t=Ot(e),r=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(t))&&(!o||!o.contains(t))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(t)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let t=e.keyCode,r=Le(e);if(t===27&&!r&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&t===13&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let o=this.autocomplete._keyManager.activeItem,a=t===38||t===40;t===9||a&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(a||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let t=e.target,r=t.value;if(t.type==="number"&&(r=r==""?null:parseFloat(r)),this._previousValue!==r){if(this._previousValue=r,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(r),!r)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let o=this.autocomplete.options?.find(a=>a.selected);if(o){let a=this._getDisplayValue(o.value);r!==a&&o.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let o=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(o)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new We(r=>{tt(()=>{r.next()},{injector:this._injector})}),t=this.autocomplete.options.changes.pipe(gi(()=>this._positionStrategy.reapplyLastPosition()),Ur(0));return Fe(e,t).pipe(st(()=>this._zone.run(()=>{let r=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Ye(1)).subscribe(r=>this._setValueAndClose(r))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let t=this.autocomplete;return t&&t.displayWith?t.displayWith(e):e}_assignOptionValue(e){let t=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(t??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let t=this.autocomplete,r=e?e.source:this._pendingAutoselectedOption;r?(this._clearPreviousSelectedOption(r),this._assignOptionValue(r.value),this._onChange(r.value),t._emitSelectEvent(r),this._element.nativeElement.focus()):t.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),t._animationDone?t._animationDone.pipe(Ye(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,t){this.autocomplete?.options?.forEach(r=>{r!==e&&r.selected&&r.deselect(t)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let t=this.autocomplete.id;Pr(this._trackedModal,"aria-owns",t)}}_attachOverlay(e){this.autocomplete;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new Et(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(af.HandsetLandscape).subscribe(o=>{o.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),t&&!t.hasAttached()&&(t.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let r=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&r!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Ci({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}],a;this.position==="above"?a=o:this.position==="below"?a=t:a=[...t,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let t=-1;for(let r=0;r .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=this.autocomplete.id;this._trackedModal&&sn(this._trackedModal,"aria-owns",t),Pr(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;sn(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(je),u(Ue),u(B),u(pe),u(Eb),u(Re,8),u(Ri,9),u(oe,8),u(Dt),u(Db,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(t,r){t&1&&ee("focusin",function(){return r._handleFocus()})("blur",function(){return r._onTouched()})("input",function(a){return r._handleInput(a)})("keydown",function(a){return r._handleKeydown(a)})("click",function(){return r._handleClick()}),t&2&&W("autocomplete",r.autocompleteAttribute)("role",r.autocompleteDisabled?null:"combobox")("aria-autocomplete",r.autocompleteDisabled?null:"list")("aria-activedescendant",r.panelOpen&&r.activeOption?r.activeOption.id:null)("aria-expanded",r.autocompleteDisabled?null:r.panelOpen.toString())("aria-controls",r.autocompleteDisabled||!r.panelOpen||r.autocomplete==null?null:r.autocomplete.id)("aria-haspopup",r.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",O]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[de([wD]),ae,Pe]})}}return i})(),Ib=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[kD],imports:[ii,Lr,K,yt,Ut,Lr,K]})}}return i})();var ID=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],SD=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function TD(i,n){i&1&&(w(0,"span",3),A(1,1),I())}function MD(i,n){i&1&&(w(0,"span",6),A(1,2),I())}var AD='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width);border-radius:var(--mdc-chip-container-shape-radius);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-app-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-app-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.cdk-high-contrast-active .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}',OD=[[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],RD=["mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function FD(i,n){i&1&&ie(0,"span",0)}function PD(i,n){i&1&&(w(0,"span",2),A(1),I())}function ND(i,n){i&1&&A(0,1)}function LD(i,n){i&1&&ie(0,"span",7)}function jD(i,n){if(i&1&&te(0,ND,1,0)(1,LD,1,0,"span",7),i&2){let e=fe();ge(e.contentEditInput?0:1)}}function VD(i,n){i&1&&A(0,2)}function BD(i,n){i&1&&(w(0,"span",5),A(1,3),I())}var Mb=["*"],zD=".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",Ab=new C("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),$d=new C("MatChipAvatar"),Sb=new C("MatChipTrailingIcon"),Yd=new C("MatChipRemove"),Zd=new C("MatChip"),Qs=(()=>{class i{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=e}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,t){this._elementRef=e,this._parentChip=t,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,e.nativeElement.nodeName==="BUTTON"&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Zd))}}static{this.\u0275dir=D({type:i,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(t,r){t&1&&ee("click",function(a){return r._handleClick(a)})("keydown",function(a){return r._handleKeydown(a)}),t&2&&(W("tabindex",r._getTabindex())("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),P("mdc-evolution-chip__action--primary",r._isPrimary)("mdc-evolution-chip__action--presentational",!r.isInteractive)("mdc-evolution-chip__action--trailing",!r._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:$e(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[ae]})}}return i})(),oU=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],standalone:!0,features:[de([{provide:$d,useExisting:i}])]})}}return i})();var aU=(()=>{class i extends Qs{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(t,r){t&2&&W("aria-hidden",null)},standalone:!0,features:[de([{provide:Yd,useExisting:i}]),ne]})}}return i})(),HD=0,Kd=(()=>{class i{_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}constructor(e,t,r,o,a,s,c){this._changeDetectorRef=e,this._elementRef=t,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=c,this._onFocus=new R,this._onBlur=new R,this.role=null,this._hasFocusInternal=!1,this.id=`mat-mdc-chip-${HD++}`,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._chipListDisabled=!1,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this._disabled=!1,this.removed=new z,this.destroyed=new z,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=F(Fs),this._injector=F(Ee),this._document=a,this._animationsDisabled=s==="NoopAnimations",this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Fe(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(t=>{let r=t._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){let e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let t=e!==null;t!==this._hasFocusInternal&&(this._hasFocusInternal=t,t?this._onFocus.next({chip:this}):tt(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(B),u(ot),u(oe),u(we,8),u(Ln,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,r,o){if(t&1&&(he(o,$d,5),he(o,Sb,5),he(o,Yd,5),he(o,$d,5),he(o,Sb,5),he(o,Yd,5)),t&2){let a;S(a=T())&&(r.leadingIcon=a.first),S(a=T())&&(r.trailingIcon=a.first),S(a=T())&&(r.removeIcon=a.first),S(a=T())&&(r._allLeadingIcons=a),S(a=T())&&(r._allTrailingIcons=a),S(a=T())&&(r._allRemoveIcons=a)}},viewQuery:function(t,r){if(t&1&&re(Qs,5),t&2){let o;S(o=T())&&(r.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(t,r){t&1&&ee("keydown",function(a){return r._handleKeydown(a)}),t&2&&(St("id",r.id),W("role",r.role)("aria-label",r.ariaLabel),qe("mat-"+(r.color||"primary")),P("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-basic-chip",r._isBasicChip)("mat-mdc-standard-chip",!r._isBasicChip)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon())("_mat-animation-noopable",r._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",O],highlighted:[2,"highlighted","highlighted",O],disableRipple:[2,"disableRipple","disableRipple",O],disabled:[2,"disabled","disabled",O]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[de([{provide:Zd,useExisting:i}]),ae,Q],ngContentSelectors:SD,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,r){t&1&&(se(ID),ie(0,"span",0),w(1,"span",1)(2,"span",2),te(3,TD,2,0,"span",3),w(4,"span",4),A(5),ie(6,"span",5),I()()(),te(7,MD,2,0,"span",6)),t&2&&(V(2),ue("isInteractive",!1),V(),ge(r.leadingIcon?3:-1),V(4),ge(r._hasTrailingIcon()?7:-1))},dependencies:[Qs],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width);border-radius:var(--mdc-chip-container-shape-radius);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-app-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-app-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.cdk-high-contrast-active .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();var Gd=(()=>{class i{constructor(e,t){this._elementRef=e,this._document=t}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);let t=window.getSelection();t.removeAllRanges(),t.addRange(e)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"],standalone:!0})}}return i})(),QD=(()=>{class i extends Kd{constructor(e,t,r,o,a,s,c,l){super(e,t,r,o,a,s,c),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new z,this._isEditing=!1,this.role="row",this._onBlur.pipe($(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){e.keyCode===13&&!this.disabled?this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e):this._isEditing?e.stopPropagation():super._handleKeydown(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;let t=this.value;this._isEditing=this._editStartPending=!0,tt(()=>{this._getEditInput().initialize(t),this._editStartPending=!1},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(B),u(ot),u(oe),u(we,8),u(Ln,8),It("tabindex"))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(t,r,o){if(t&1&&he(o,Gd,5),t&2){let a;S(a=T())&&(r.contentEditInput=a.first)}},viewQuery:function(t,r){if(t&1&&re(Gd,5),t&2){let o;S(o=T())&&(r.defaultEditInput=o.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(t,r){t&1&&ee("focus",function(a){return r._handleFocus(a)})("dblclick",function(a){return r._handleDoubleclick(a)}),t&2&&(St("id",r.id),W("tabindex",r.disabled?null:-1)("aria-label",null)("aria-description",null)("role",r.role),P("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-chip-editing",r._isEditing)("mat-mdc-chip-editable",r.editable)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},standalone:!0,features:[de([{provide:Kd,useExisting:i},{provide:Zd,useExisting:i}]),ne,Q],ngContentSelectors:RD,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],["matChipEditInput",""]],template:function(t,r){t&1&&(se(OD),te(0,FD,1,0,"span",0),w(1,"span",1),te(2,PD,2,0,"span",2),w(3,"span",3),te(4,jD,2,1)(5,VD,1,0),ie(6,"span",4),I()(),te(7,BD,2,0,"span",5),w(8,"span",6),Tt(9),I()),t&2&&(ge(r._isEditing?-1:0),V(),ue("disabled",r.disabled),W("aria-label",r.ariaLabel)("aria-describedby",r._ariaDescriptionId),V(),ge(r.leadingIcon?2:-1),V(2),ge(r._isEditing?4:5),V(3),ge(r._hasTrailingIcon()?7:-1),V(),ue("id",r._ariaDescriptionId),V(),oi(r.ariaDescription))},dependencies:[Qs,Gd],styles:[AD],encapsulation:2,changeDetection:0})}}return i})(),UD=(()=>{class i{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,t,r){this._elementRef=e,this._changeDetectorRef=t,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new R,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new Gt}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(Me(null),st(()=>Fe(...this._chips.map(e))))}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-mdc-chip"))return!0;t=t.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Me(this._chips)).subscribe(e=>{let t=[];e.forEach(r=>r._getActions().forEach(o=>t.push(o))),this._chipActions.reset(t),this._chipActions.notifyOnChanges()}),this._keyManager=new an(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe($(this._destroyed)).subscribe(({chip:e})=>{let t=e._getSourceAction(document.activeElement);t&&this._keyManager.updateActiveItem(t)}),this._dir?.change.pipe($(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Me(null),$(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe($(this._destroyed)).subscribe(e=>{let r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),t=this._chips.toArray()[e];t.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():t.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Re,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-chip-set"]],contentQueries:function(t,r,o){if(t&1&&he(o,Kd,5),t&2){let a;S(a=T())&&(r._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(t,r){t&1&&ee("keydown",function(a){return r._handleKeydown(a)}),t&2&&W("role",r.role)},inputs:{disabled:[2,"disabled","disabled",O],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:$e(e)]},standalone:!0,features:[ae,Q],ngContentSelectors:Mb,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,r){t&1&&(se(),w(0,"div",0),A(1),I())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}}return i})();var Xd=class{constructor(n,e){this.source=n,this.value=e}},sU=(()=>{class i extends UD{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(Ui.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,r,o,a,s,c){super(e,t,r),this.ngControl=c,this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new z,this.valueChange=new z,this._chips=void 0,this.stateChanges=new R,this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new ln(s,c,a,o,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe($(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Fe(this.chipFocusChanges,this._chips.changes).pipe($(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){if(!(this.disabled||this._chipInput.focused)){if(!this._chips.length||this._chips.first.disabled)Promise.resolve().then(()=>this._chipInput.focus());else{let e=this._keyManager.activeItem;e?e.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){let t=e.keyCode,r=this._keyManager.activeItem;if(t===9)this._chipInput.focused&&Le(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),r?this._keyManager.setActiveItem(r):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput.focused)if((t===38||t===40)&&r){let o=this._chipActions.filter(c=>c._isPrimary===r._isPrimary&&!this._skipPredicate(c)),a=o.indexOf(r),s=e.keyCode===38?-1:1;e.preventDefault(),a>-1&&this._isValidIndex(a+s)&&this._keyManager.setActiveItem(o[a+s])}else super._handleKeydown(e);this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let e=this._chips.length?this._chips.toArray().map(t=>t.value):[];this._value=e,this.change.emit(new Xd(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Re,8),u(_n,8),u(yn,8),u(dn),u(ai,10))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-chip-grid"]],contentQueries:function(t,r,o){if(t&1&&he(o,QD,5),t&2){let a;S(a=T())&&(r._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(t,r){t&1&&ee("focus",function(){return r.focus()})("blur",function(){return r._blur()}),t&2&&(W("role",r.role)("tabindex",r.disabled||r._chips&&r._chips.length===0?-1:r.tabIndex)("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState),P("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-invalid",r.errorState)("mat-mdc-chip-list-required",r.required))},inputs:{disabled:[2,"disabled","disabled",O],placeholder:"placeholder",required:[2,"required","required",O],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},standalone:!0,features:[de([{provide:Vn,useExisting:i}]),ae,ne,Q],ngContentSelectors:Mb,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,r){t&1&&(se(),w(0,"div",0),A(1),I())},styles:[zD],encapsulation:2,changeDetection:0})}}return i})(),qD=0,cU=(()=>{class i{get chipGrid(){return this._chipGrid}set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=e}get empty(){return!this.inputElement.value}constructor(e,t,r){this._elementRef=e,this.focused=!1,this.addOnBlur=!1,this.chipEnd=new z,this.placeholder="",this.id=`mat-mdc-chip-list-input-${qD++}`,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=t.separatorKeyCodes,r&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(e){this.empty&&e.keyCode===8?(e.repeat||this._chipGrid._focusLastChip(),e.preventDefault()):this._emitChipEnd(e)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!Le(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Ab),u(Ri,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(t,r){t&1&&ee("keydown",function(a){return r._keydown(a)})("blur",function(){return r._blur()})("focus",function(){return r._focus()})("input",function(){return r._onInput()}),t&2&&(St("id",r.id),W("disabled",r.disabled||null)("placeholder",r.placeholder||null)("aria-invalid",r._chipGrid&&r._chipGrid.ngControl?r._chipGrid.ngControl.invalid:null)("aria-required",r._chipGrid&&r._chipGrid.required||null)("required",r._chipGrid&&r._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",O],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",O]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],standalone:!0,features:[ae,Pe]})}}return i})();var Ob=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[dn,{provide:Ab,useValue:{separatorKeyCodes:[13]}}],imports:[K,jn,K]})}}return i})();var WD=["mat-menu-item",""],GD=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],$D=["mat-icon, [matMenuItemIcon]","*"];function YD(i,n){i&1&&(Wt(),w(0,"svg",2),ie(1,"polygon",3),I())}var KD=["*"];function XD(i,n){if(i&1){let e=Ge();w(0,"div",0),ee("keydown",function(r){ce(e);let o=fe();return le(o._handleKeydown(r))})("click",function(){ce(e);let r=fe();return le(r.closed.emit("click"))})("@transformMenu.start",function(r){ce(e);let o=fe();return le(o._onAnimationStart(r))})("@transformMenu.done",function(r){ce(e);let o=fe();return le(o._onAnimationDone(r))}),w(1,"div",1),A(2),I()()}if(i&2){let e=fe();qe(e._classList),ue("id",e.panelId)("@transformMenu",e._panelAnimationState),W("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var eu=new C("MAT_MENU_PANEL"),Jd=(()=>{class i{constructor(e,t,r,o,a){this._elementRef=e,this._document=t,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new R,this._focused=new R,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),t=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r enter",Xe("120ms cubic-bezier(0, 0, 0.2, 1)",Oe({opacity:1,transform:"scale(1)"}))),Ze("* => void",Xe("100ms 25ms linear",Oe({opacity:0})))]),fadeInItems:gt("fadeInItems",[nt("showing",Oe({opacity:1})),Ze("void => *",[Oe({opacity:0}),Xe("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},PU=qs.fadeInItems,NU=qs.transformMenu,JD=0,eE=new C("mat-menu-default-options",{providedIn:"root",factory:tE});function tE(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var Us=(()=>{class i{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}set panelClass(e){let t=this._previousPanelClass,r=N({},this._classList);t&&t.length&&t.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,t,r,o){this._elementRef=e,this._changeDetectorRef=o,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new Gt,this._classList={},this._panelAnimationState="void",this._animationDone=new R,this.closed=new z,this.close=this.closed,this.panelId=`mat-menu-panel-${JD++}`,this._injector=F(Ee),this.overlayPanelClass=r.overlayPanelClass||"",this._xPosition=r.xPosition,this._yPosition=r.yPosition,this.backdropClass=r.backdropClass,this.overlapTrigger=r.overlapTrigger,this.hasBackdrop=r.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new an(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Me(this._directDescendantItems),st(e=>Fe(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let t=this._keyManager;if(this._panelAnimationState==="enter"&&t.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,t.activeItemIndex||0));r[o]&&!r[o].disabled?t.setActiveItem(o):t.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(Me(this._directDescendantItems),st(t=>Fe(...t.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let t=e.keyCode,r=this._keyManager;switch(t){case 27:Le(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(t===38||t===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=tt(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&t&&t.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){if(this._baseElevation===null){let s=(typeof getComputedStyle=="function"?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(s)}let t=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${t}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));if(!o||o===this._previousElevation){let a=N({},this._classList);this._previousElevation&&(a[this._previousElevation]=!1),a[r]=!0,this._previousElevation=r,this._classList=a}}setPositionClasses(e=this.xPosition,t=this.yPosition){this._classList=Qe(N({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":t==="above","mat-menu-below":t==="below"}),this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,e.toState==="enter"&&this._keyManager.activeItemIndex===0&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Me(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B),u(eE),u(pe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-menu"]],contentQueries:function(t,r,o){if(t&1&&(he(o,ZD,5),he(o,Jd,5),he(o,Jd,4)),t&2){let a;S(a=T())&&(r.lazyContent=a.first),S(a=T())&&(r._allItems=a),S(a=T())&&(r.items=a)}},viewQuery:function(t,r){if(t&1&&re(Ae,5),t&2){let o;S(o=T())&&(r.templateRef=o.first)}},hostVars:3,hostBindings:function(t,r){t&2&&W("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",O],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:O(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[de([{provide:eu,useExisting:i}]),ae,Q],ngContentSelectors:KD,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(t,r){t&1&&(se(),te(0,XD,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-app-surface-container));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-app-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-app-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[qs.transformMenu,qs.fadeInItems]},changeDetection:0})}}return i})(),Fb=new C("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}});function iE(i){return()=>i.scrollStrategies.reposition()}var nE={provide:Fb,deps:[je],useFactory:iE},Rb=Bt({passive:!0});var LU=(()=>{class i{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),(t==="click"||t==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,t,r,o,a,s,c,l,d){this._overlay=e,this._element=t,this._viewContainerRef=r,this._menuItemInstance=s,this._dir=c,this._focusMonitor=l,this._ngZone=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Te.EMPTY,this._hoverSubscription=Te.EMPTY,this._menuCloseSubscription=Te.EMPTY,this._changeDetectorRef=F(pe),this._handleTouchStart=h=>{Po(h)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new z,this.onMenuOpen=this.menuOpened,this.menuClosed=new z,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof Us?a:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,Rb)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Rb),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let e=this.menu;if(this._menuOpen||!e)return;let t=this._createOverlay(e),r=t.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,t.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Us&&(e._startAnimation(),e._directDescendantItems.changes.pipe($(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;let t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof Us?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(ye(r=>r.toState==="void"),Ye(1),$(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let t=0,r=e.parentMenu;for(;r;)t++,r=r.parentMenu;e.setElevation(t)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let t=this._getOverlayConfig(e);this._subscribeToPositions(e,t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Ci({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,t){e.setPositionClasses&&t.positionChanges.subscribe(r=>{let o=r.connectionPair.overlayX==="start"?"after":"before",a=r.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,t){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[c,l]=[a,s],[d,h]=[r,o],m=0;if(this.triggersSubmenu()){if(h=r=e.xPosition==="before"?"start":"end",o=d=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let p=this._parentMaterialMenu.items.first;this._parentInnerPadding=p?p._getHostElement().offsetTop:0}m=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(c=a==="top"?"bottom":"top",l=s==="top"?"bottom":"top");t.withPositions([{originX:r,originY:c,overlayX:d,overlayY:a,offsetY:m},{originX:o,originY:c,overlayX:h,overlayY:a,offsetY:m},{originX:r,originY:l,overlayX:d,overlayY:s,offsetY:-m},{originX:o,originY:l,overlayX:h,overlayY:s,offsetY:-m}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:He(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ye(a=>a!==this._menuItemInstance),ye(()=>this._menuOpen)):He();return Fe(e,r,o,t)}_handleMousedown(e){Fo(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let t=e.keyCode;(t===13||t===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===39&&this.dir==="ltr"||t===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(ye(e=>e===this._menuItemInstance&&!e.disabled),Ur(0,Xo)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Us&&this.menu._isAnimating?this.menu._animationDone.pipe(Ye(1),Ur(0,Xo),$(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Et(e.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(t){return new(t||i)(u(je),u(E),u(Ue),u(Fb),u(eu,8),u(Jd,10),u(Re,8),u(ot),u(B))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(t,r){t&1&&ee("click",function(a){return r._handleClick(a)})("mousedown",function(a){return r._handleMousedown(a)})("keydown",function(a){return r._handleKeydown(a)}),t&2&&W("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}}return i})(),Pb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[nE],imports:[yt,jn,K,ii,Ut,K]})}}return i})();var rE=["determinateSpinner"];function oE(i,n){if(i&1&&(Wt(),w(0,"svg",11),ie(1,"circle",12),I()),i&2){let e=fe();W("viewBox",e._viewBox()),V(),ft("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),W("r",e._circleRadius())}}var aE=new C("mat-progress-spinner-default-options",{providedIn:"root",factory:sE});function sE(){return{diameter:Nb}}var Nb=100,cE=10,XU=(()=>{class i{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,t,r){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=Nb,this._noopAnimations=t==="NoopAnimations"&&!!r&&!r._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",r&&(r.color&&(this.color=this._defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-cE)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(we,8),u(aE))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(t,r){if(t&1&&re(rE,5),t&2){let o;S(o=T())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(t,r){t&2&&(W("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),qe("mat-"+r.color),ft("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),P("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",$e],diameter:[2,"diameter","diameter",$e],strokeWidth:[2,"strokeWidth","strokeWidth",$e]},exportAs:["matProgressSpinner"],standalone:!0,features:[ae,Q],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(t,r){if(t&1&&(te(0,oE,2,8,"ng-template",null,0,oa),w(2,"div",2,1),Wt(),w(4,"svg",3),ie(5,"circle",4),I()(),ea(),w(6,"div",5)(7,"div",6)(8,"div",7),pt(9,8),I(),w(10,"div",9),pt(11,8),I(),w(12,"div",10),pt(13,8),I()()()),t&2){let o=$t(1);V(4),W("viewBox",r._viewBox()),V(),ft("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),W("r",r._circleRadius()),V(4),ue("ngTemplateOutlet",o),V(2),ue("ngTemplateOutlet",o),V(2),ue("ngTemplateOutlet",o)}},dependencies:[ca],styles:[".mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-app-primary))}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}"],encapsulation:2,changeDetection:0})}}return i})();var Lb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[yt,K]})}}return i})();var hE=[[["caption"]],[["colgroup"],["col"]],"*"],mE=["caption","colgroup, col","*"];function pE(i,n){i&1&&A(0,2)}function fE(i,n){i&1&&(w(0,"thead",0),pt(1,1),I(),w(2,"tbody",0),pt(3,2)(4,3),I(),w(5,"tfoot",0),pt(6,4),I())}function gE(i,n){i&1&&pt(0,1)(1,2)(2,3)(3,4)}var pi=new C("CDK_TABLE");var Xs=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkCellDef",""]],standalone:!0})}}return i})(),Zs=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}}return i})(),Bb=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}}return i})(),Hr=(()=>{class i{get name(){return this._name}set name(e){this._setNameInput(e)}get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}constructor(e){this._table=e,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static{this.\u0275fac=function(t){return new(t||i)(u(pi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,r,o){if(t&1&&(he(o,Xs,5),he(o,Zs,5),he(o,Bb,5)),t&2){let a;S(a=T())&&(r.cell=a.first),S(a=T())&&(r.headerCell=a.first),S(a=T())&&(r.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",O],stickyEnd:[2,"stickyEnd","stickyEnd",O]},standalone:!0,features:[de([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),ae]})}}return i})(),Gs=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}},zb=(()=>{class i extends Gs{constructor(e,t){super(e,t)}static{this.\u0275fac=function(t){return new(t||i)(u(Hr),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[ne]})}}return i})();var Hb=(()=>{class i extends Gs{constructor(e,t){super(e,t);let r=e._table?._getCellRole();r&&t.nativeElement.setAttribute("role",r)}static{this.\u0275fac=function(t){return new(t||i)(u(Hr),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[ne]})}}return i})(),$s=class{constructor(){this.tasks=[],this.endTasks=[]}},Ys=new C("_COALESCED_STYLE_SCHEDULER"),iu=(()=>{class i{constructor(e){this._currentSchedule=null,this._ngZone=F(B)}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new $s,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new $s;for(let t of e.tasks)t();for(let t of e.endTasks)t()}this._currentSchedule=null})))}static{this.\u0275fac=function(t){return new(t||i)(x(B))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac})}}return i})();var nu=(()=>{class i{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof Ko?e.headerCell.template:this instanceof ru?e.footerCell.template:e.cell.template}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn))}}static{this.\u0275dir=D({type:i,features:[Pe]})}}return i})(),Ko=(()=>{class i extends nu{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,t,r){super(e,t),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn),u(pi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",O]},standalone:!0,features:[ae,ne,Pe]})}}return i})(),ru=(()=>{class i extends nu{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,t,r){super(e,t),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn),u(pi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",O]},standalone:!0,features:[ae,ne,Pe]})}}return i})(),Js=(()=>{class i extends nu{constructor(e,t,r){super(e,t),this._table=r}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn),u(pi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[ne]})}}return i})(),qn=(()=>{class i{static{this.mostRecentCellOutlet=null}constructor(e){this._viewContainer=e,i.mostRecentCellOutlet=this}ngOnDestroy(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null)}static{this.\u0275fac=function(t){return new(t||i)(u(Ue))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkCellOutlet",""]],standalone:!0})}}return i})(),ou=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})();var au=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})(),Qb=(()=>{class i{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}}return i})(),jb=["top","bottom","left","right"],tu=class{constructor(n,e,t,r,o=!0,a=!0,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){let t=[];for(let r of n)if(r.nodeType===r.ELEMENT_NODE){t.push(r);for(let o=0;o{for(let r of t)this._removeStickyStyle(r,e)})}updateStickyColumns(n,e,t,r=!0){if(!n.length||!this._isBrowser||!(e.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=n[0],a=o.children.length,s=this._getCellWidths(o,r),c=this._getStickyStartColumnPositions(s,e),l=this._getStickyEndColumnPositions(s,t),d=e.lastIndexOf(!0),h=t.indexOf(!0),m=this.direction==="rtl",p=m?"right":"left",f=m?"left":"right";for(let g of n)for(let _=0;_e[_]?g:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:h===-1?[]:s.slice(h).map((g,_)=>t[_+h]?g:null).reverse()}))})}stickRows(n,e,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let r=t==="bottom"?n.slice().reverse():n,o=t==="bottom"?e.slice().reverse():e,a=[],s=[],c=[];for(let d=0,h=0;d{let t=n.querySelector("tfoot");t&&(e.some(r=>!r)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(n,e){for(let r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);jb.some(r=>e.indexOf(r)===-1&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,t,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${t}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},t=0;for(let r of jb)n.style[r]&&(t+=e[r]);return t?`${t}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],r=n.children;for(let o=0;o0;o--)e[o]&&(t[o]=r,r+=n[o]);return t}};var Ks=new C("CDK_SPL");var su=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(pi);r._rowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","rowOutlet",""]],standalone:!0})}}return i})(),cu=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(pi);r._headerRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","headerRowOutlet",""]],standalone:!0})}}return i})(),lu=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(pi);r._footerRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","footerRowOutlet",""]],standalone:!0})}}return i})(),du=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(pi);r._noDataRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","noDataRowOutlet",""]],standalone:!0})}}return i})();var uu=(()=>{class i{_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role"),t=e==="grid"||e==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&t==="cell"?null:t}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,t,r,o,a,s,c,l,d,h,m,p){this._differs=e,this._changeDetectorRef=t,this._elementRef=r,this._dir=a,this._platform=c,this._viewRepeater=l,this._coalescedStyleScheduler=d,this._viewportRuler=h,this._stickyPositioningListener=m,this._onDestroy=new R,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new z,this.viewChange=new Vi({start:0,end:Number.MAX_VALUE}),this._injector=F(Ee),o||r.nativeElement.setAttribute("role","table"),this._document=s,this._isServer=!c.isBrowser,this._isNativeHtmlTable=r.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe($(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),ka(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(r,o,a)=>this._getEmbeddedViewArgs(r.item,a),r=>r.item.data,r=>{r.operation===nr.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let o=t.get(r.currentIndex);o.context.$implicit=r.item.data}),this._updateNoDataRow(),tt(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=Vb(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=Vb(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,a)=>{this._addStickyColumnStyles([o],this._headerRowDefs[a])}),this._rowDefs.forEach(o=>{let a=[];for(let s=0;s{this._addStickyColumnStyles([o],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{let s=r&&r.has(a)?r.get(a):[];if(s.length){let c=s.shift();return c.dataIndex=t,c}else return{data:e,rowDef:a,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ws(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Ws(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ws(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ws(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>a||!!s.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),t||r||o}_switchDataSource(e){this._data=[],ka(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;ka(this.dataSource)?e=this.dataSource.connect(this):Qr(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=He(this.dataSource)),this._renderChangeSubscription=e.pipe($(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let r=Array.from(t.columns||[]).map(s=>{let c=this._columnDefsByName.get(s);return c}),o=r.map(s=>s.sticky),a=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let r=0;r!o.when||o.when(t,e));else{let o=this._rowDefs.find(a=>a.when&&a.when(t,e))||this._defaultRowDef;o&&r.push(o)}return r.length,r}_getEmbeddedViewArgs(e,t){let r=e.rowDef,o={$implicit:e.data};return{templateRef:r.template,context:o,index:t}}_renderRow(e,t,r,o={}){let a=e.viewContainer.createEmbeddedView(t.template,o,r);return this._renderCellTemplateForItem(t,o),a}_renderCellTemplateForItem(e,t){for(let r of this._getCellTemplates(e))qn.mostRecentCellOutlet&&qn.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,r=e.length;t{let r=this._columnDefsByName.get(t);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,r)=>t||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new tu(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:He()).pipe($(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(t){let o=r.createEmbeddedView(e.templateRef),a=o.rootNodes[0];o.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(t){return new(t||i)(u(bn),u(pe),u(E),It("role"),u(Re,8),u(oe),u(me),u(to),u(Ys),u(Dt),u(Ks,12),u(B,8))}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,r,o){if(t&1&&(he(o,Qb,5),he(o,Hr,5),he(o,Js,5),he(o,Ko,5),he(o,ru,5)),t&2){let a;S(a=T())&&(r._noDataRow=a.first),S(a=T())&&(r._contentColumnDefs=a),S(a=T())&&(r._contentRowDefs=a),S(a=T())&&(r._contentHeaderRowDefs=a),S(a=T())&&(r._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,r){t&2&&P("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",O],fixedLayout:[2,"fixedLayout","fixedLayout",O]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[de([{provide:pi,useExisting:i},{provide:to,useClass:rr},{provide:Ys,useClass:iu},{provide:Ks,useValue:null}]),ae,Q],ngContentSelectors:mE,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,r){t&1&&(se(hE),A(0),A(1,1),te(2,pE,1,0)(3,fE,7,0)(4,gE,4,0)),t&2&&(V(2),ge(r._isServer?2:-1),V(),ge(r._isNativeHtmlTable?3:4))},dependencies:[cu,su,du,lu],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}}return i})();function Ws(i,n){return i.concat(Array.from(n))}function Vb(i,n){let e=n.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let r=t.nodeType===1?t.nodeName:null;if(r===e)return t;if(r==="TABLE")break;t=t.parentNode}return null}var Ub=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[Bo]})}}return i})();var bE=[[["caption"]],[["colgroup"],["col"]],"*"],vE=["caption","colgroup, col","*"];function _E(i,n){i&1&&A(0,2)}function yE(i,n){i&1&&(w(0,"thead",0),pt(1,1),I(),w(2,"tbody",2),pt(3,3)(4,4),I(),w(5,"tfoot",0),pt(6,5),I())}function xE(i,n){i&1&&pt(0,1)(1,3)(2,4)(3,5)}var N5=(()=>{class i extends uu{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275cmp=H({type:i,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[de([{provide:uu,useExisting:i},{provide:pi,useExisting:i},{provide:Ys,useClass:iu},{provide:to,useClass:rr},{provide:Ks,useValue:null}]),ne,Q],ngContentSelectors:vE,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,r){t&1&&(se(bE),A(0),A(1,1),te(2,_E,1,0)(3,yE,7,0)(4,xE,4,0)),t&2&&(V(2),ge(r._isServer?2:-1),V(),ge(r._isNativeHtmlTable?3:4))},dependencies:[cu,su,du,lu],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-app-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-app-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-app-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-app-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-app-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-app-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}}return i})(),L5=(()=>{class i extends Xs{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matCellDef",""]],standalone:!0,features:[de([{provide:Xs,useExisting:i}]),ne]})}}return i})(),j5=(()=>{class i extends Zs{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[de([{provide:Zs,useExisting:i}]),ne]})}}return i})();var V5=(()=>{class i extends Hr{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[de([{provide:Hr,useExisting:i},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),ne]})}}return i})(),B5=(()=>{class i extends zb{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[ne]})}}return i})();var z5=(()=>{class i extends Hb{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[ne]})}}return i})();var H5=(()=>{class i extends Ko{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",O]},standalone:!0,features:[de([{provide:Ko,useExisting:i}]),ae,ne]})}}return i})();var Q5=(()=>{class i extends Js{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[de([{provide:Js,useExisting:i}]),ne]})}}return i})(),U5=(()=>{class i extends ou{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275cmp=H({type:i,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[de([{provide:ou,useExisting:i}]),ne,Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})();var q5=(()=>{class i extends au{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275cmp=H({type:i,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[de([{provide:au,useExisting:i}]),ne,Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})();var qb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,Ub,K]})}}return i})();var yq=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[kb,yt,Hf,Ib,Rf,Jf,ng,Ob,wg,Cg,Rg,Bn,Lg,Qg,Gg,Pb,Yg,Lb,rb,sb,qb,Cb,Kg,tb,Nh,Gu,uh]})}}return i})();export{dv as a,UE as b,qE as c,vh as d,hI as e,Xv as f,e_ as g,Ca as h,Xl as i,me as j,Cs as k,af as l,gf as m,As as n,LN as o,jN as p,VN as q,BN as r,zN as s,hn as t,Et as u,Vr as v,mi as w,Ci as x,je as y,UN as z,qN as A,WN as B,GN as C,$N as D,YN as E,KN as F,XN as G,ZN as H,zf as I,Hf as J,oQ as K,Qf as L,zL as M,FQ as N,DD as O,ej as P,tj as Q,ij as R,nj as S,rj as T,oj as U,aj as V,oU as W,aU as X,Kd as Y,QD as Z,UD as _,sU as $,cU as aa,ig as ba,Go as ca,Pd as da,WV as ea,GV as fa,$V as ga,YV as ha,wg as ia,e2 as ja,NC as ka,L2 as la,j2 as ma,jC as na,eB as oa,UC as pa,vB as qa,LB as ra,Jd as sa,Us as ta,LU as ua,YB as va,XU as wa,JB as xa,wz as ya,Zz as za,Hd as Aa,jk as Ba,Vk as Ca,N5 as Da,L5 as Ea,j5 as Fa,V5 as Ga,B5 as Ha,z5 as Ia,H5 as Ja,Q5 as Ka,U5 as La,q5 as Ma,tD as Na,nD as Oa,rD as Pa,GH as Qa,hD as Ra,mD as Sa,$H as Ta,yq as Ua}; + [matCardTitle], [matCardSubtitle]`,"*"],$w=new C("MAT_CARD_CONFIG"),ij=(()=>{class i{constructor(e){this.appearance=e?.appearance||"raised"}static{this.\u0275fac=function(t){return new(t||i)(u($w,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(t,r){t&2&&P("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[Q],ngContentSelectors:qw,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-app-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));border-width:var(--mdc-outlined-card-outline-width);border-color:var(--mdc-outlined-card-outline-color, var(--mat-app-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-app-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-app-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-app-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-app-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-app-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-app-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-app-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-app-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-app-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-app-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-app-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-app-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}}return i})(),nj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0})}}return i})();var rj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}}return i})(),oj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"],standalone:!0})}}return i})(),aj=(()=>{class i{constructor(){this.align="start"}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"],standalone:!0})}}return i})(),sj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[Q],ngContentSelectors:Gw,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(t,r){t&1&&(se(Ww),A(0),w(1,"div",0),A(2,1),I(),A(3,2))},encapsulation:2,changeDetection:0})}}return i})();var cj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"],standalone:!0})}}return i})();var tg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,yt,K]})}}return i})();var Yw=["input"],Kw=["label"],Xw=["*"],Zw=new C("mat-checkbox-default-options",{providedIn:"root",factory:ng});function ng(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var kt=function(i){return i[i.Init=0]="Init",i[i.Checked=1]="Checked",i[i.Unchecked=2]="Unchecked",i[i.Indeterminate=3]="Indeterminate",i}(kt||{}),Jw={provide:vn,useExisting:Lt(()=>rg),multi:!0},xd=class{},eC=0,ig=ng(),rg=(()=>{class i{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new xd;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,t,r,o,a,s){this._elementRef=e,this._changeDetectorRef=t,this._ngZone=r,this._animationMode=a,this._options=s,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new z,this.indeterminateChange=new z,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=kt.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||ig,this.color=this._options.color||ig.color,this.tabIndex=parseInt(o)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++eC}`,this.disabledInteractive=s?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){let t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(kt.Indeterminate):this._transitionCheckState(this.checked?kt.Checked:kt.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,r=this._getAnimationTargetElement();if(!(t===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?kt.Checked:kt.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationMode==="NoopAnimations")return"";switch(e){case kt.Init:if(t===kt.Checked)return this._animationClasses.uncheckedToChecked;if(t==kt.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case kt.Unchecked:return t===kt.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case kt.Checked:return t===kt.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case kt.Indeterminate:return t===kt.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(B),It("tabindex"),u(Ce,8),u(Zw,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-checkbox"]],viewQuery:function(t,r){if(t&1&&(re(Yw,5),re(Kw,5),re(ti,5)),t&2){let o;S(o=T())&&(r._inputElement=o.first),S(o=T())&&(r._labelElement=o.first),S(o=T())&&(r.ripple=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,r){t&2&&(St("id",r.id),W("tabindex",null)("aria-label",null)("aria-labelledby",null),qe(r.color?"mat-"+r.color:"mat-accent"),P("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",O],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Ye(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",O],checked:[2,"checked","checked",O],disabled:[2,"disabled","disabled",O],indeterminate:[2,"indeterminate","indeterminate",O]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[de([Jw,{provide:to,useExisting:i,multi:!0}]),ae,Pe,Q],ngContentSelectors:Xw,decls:15,vars:20,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,r){if(t&1){let o=$e();se(),w(0,"div",3),ee("click",function(s){return ce(o),le(r._preventBubblingFromLabel(s))}),w(1,"div",4,0)(3,"div",5),ee("click",function(){return ce(o),le(r._onTouchTargetClick())}),I(),w(4,"input",6,1),ee("blur",function(){return ce(o),le(r._onBlur())})("click",function(){return ce(o),le(r._onInputClick())})("change",function(s){return ce(o),le(r._onInteractionEvent(s))}),I(),ie(6,"div",7),w(7,"div",8),Wt(),w(8,"svg",9),ie(9,"path",10),I(),ea(),ie(10,"div",11),I(),ie(11,"div",12),I(),w(12,"label",13,2),A(14),I()()}if(t&2){let o=$t(2);ue("labelPosition",r.labelPosition),V(4),P("mdc-checkbox--selected",r.checked),ue("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),W("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("name",r.name)("value",r.value),V(7),ue("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),V(),ue("for",r.inputId)}},dependencies:[ti,Ef],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.cdk-high-contrast-active .mdc-checkbox--disabled{opacity:.5}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-app-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-app-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.cdk-high-contrast-active .mdc-checkbox--disabled .mdc-checkbox__checkmark,.cdk-high-contrast-active .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();var og=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[rg,K,K]})}}return i})();var tC=20,un=(()=>{class i{constructor(e,t,r){this._ngZone=e,this._platform=t,this._scrolled=new R,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=tC){return this._platform.isBrowser?new Ge(t=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(ic(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):He()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let r=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(ye(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&t.push(o)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let r=zt(t),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Nt(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(t){return new(t||i)(x(B),x(me),x(oe,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Fi=(()=>{class i{constructor(e,t,r,o){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=r,this.dir=o,this._destroyed=new R,this._elementScrolled=new Ge(a=>this.ngZone.runOutsideAngular(()=>Nt(this.elementRef.nativeElement,"scroll").pipe($(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let t=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),r&&Tr()!=hi.NORMAL?(e.left!=null&&(e.right=t.scrollWidth-t.clientWidth-e.left),Tr()==hi.INVERTED?e.left=e.right:Tr()==hi.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let t=this.elementRef.nativeElement;xs()?t.scrollTo(e):(e.top!=null&&(t.scrollTop=e.top),e.left!=null&&(t.scrollLeft=e.left))}measureScrollOffset(e){let t="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?r:t:e=="end"&&(e=a?t:r),a&&Tr()==hi.INVERTED?e==t?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Tr()==hi.NEGATED?e==t?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==t?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(un),u(B),u(Re,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return i})(),iC=20,Dt=(()=>{class i{constructor(e,t,r){this._platform=e,this._change=new R,this._changeListener=o=>{this._change.next(o)},this._document=r,t.runOutsideAngular(()=>{if(e.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+t,height:r,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body.scrollTop||t.scrollY||r.scrollTop||0,s=-o.left||e.body.scrollLeft||t.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=iC){return e>0?this._change.pipe(ic(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(B),x(oe,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Ut=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})(),Bo=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[cn,Ut,cn,Ut]})}}return i})();var zo=class{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},hn=class extends zo{constructor(n,e,t,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=r,this.projectableNodes=o}},Et=class extends zo{constructor(n,e,t,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=t,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},wd=class extends zo{constructor(n){super(),this.element=n instanceof E?n.nativeElement:n}},Br=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof hn)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Et)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof wd)return this._attachedPortal=n,this.attachDomPortal(n)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Ho=class extends Br{constructor(n,e,t,r,o){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=r,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}attachComponentPortal(n){let t=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(t,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=t.create(n.injector||this._defaultInjector||Ee.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let e=n.viewContainerRef,t=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return t.rootNodes.forEach(r=>this.outletElement.appendChild(r)),t.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(t);r!==-1&&e.remove(r)}),this._attachedPortal=n,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var ag=(()=>{class i extends Et{constructor(e,t){super(e,t)}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(Ue))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[ne]})}}return i})();var mi=(()=>{class i extends Br{constructor(e,t,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new z,this.attachDomPortal=o=>{this._document;let a=o.element;a.parentNode;let s=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(s,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(a,s)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let t=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=t.createComponent(o,t.length,e.injector||t.injector,e.projectableNodes||void 0);return t!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);let t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static{this.\u0275fac=function(t){return new(t||i)(u(fn),u(Ue),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[ne]})}}return i})();var Pi=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var sg=xs(),Cd=class{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=rt(-this._previousScrollPosition.left),n.style.top=rt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,t=n.style,r=e.style,o=t.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),sg&&(t.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),sg&&(t.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};var kd=class{constructor(n,e,t,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(ye(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},js=class{enable(){}disable(){}attach(){}};function Dd(i,n){return n.some(e=>{let t=i.bottome.bottom,o=i.righte.right;return t||r||o||a})}function cg(i,n){return n.some(e=>{let t=i.tope.bottom,o=i.lefte.right;return t||r||o||a})}var Ed=class{constructor(n,e,t,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:r}=this._viewportRuler.getViewportSize();Dd(e,[{width:t,height:r,bottom:r,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},rC=(()=>{class i{constructor(e,t,r,o){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this.noop=()=>new js,this.close=a=>new kd(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new Cd(this._viewportRuler,this._document),this.reposition=a=>new Ed(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}static{this.\u0275fac=function(t){return new(t||i)(x(un),x(Dt),x(B),x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ci=class{constructor(n){if(this.scrollStrategy=new js,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){let e=Object.keys(n);for(let t of e)n[t]!==void 0&&(this[t]=n[t])}}};var Id=class{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var pg=(()=>{class i{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}static{this.\u0275fac=function(t){return new(t||i)(x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),oC=(()=>{class i extends pg{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=r=>{let o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){let s=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(r)):s.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(t){return new(t||i)(x(oe),x(B,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),aC=(()=>{class i extends pg{constructor(e,t,r){super(e),this._platform=t,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Ot(o)},this._clickListener=o=>{let a=Ot(o),s=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){let d=c[l];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(lg(d.overlayElement,a)||lg(d.overlayElement,s))break;let h=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(o)):h.next(o)}}}add(e){if(super.add(e),!this._isAttached){let t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(t){return new(t||i)(x(oe),x(me),x(B,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function lg(i,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=n;for(;t;){if(t===i)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var zr=(()=>{class i{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Ro()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new R,this._outsidePointerEvents=new R,this._renders=new R,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=Yt(()=>na(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=tt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=N(N({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Qe(N({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=rt(this._config.width),n.height=rt(this._config.height),n.minWidth=rt(this._config.minWidth),n.minHeight=rt(this._config.minHeight),n.maxWidth=rt(this._config.maxWidth),n.maxHeight=rt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let n=this._backdropElement;if(n){if(this._animationsDisabled){this._disposeBackdrop(n);return}n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,t){let r=Mr(e||[]).filter(o=>!!o);r.length&&(t?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe($(Fe(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},dg="cdk-overlay-connected-position-bounding-box",sC=/([A-Za-z%]+)$/,Sd=class{get positions(){return this._preferredPositions}constructor(n,e,t,r,o){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new R,this._resizeSubscription=Te.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(dg),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,t=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,r,s),l=this._getOverlayPoint(c,e,s),d=this._getOverlayFit(l,e,t,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(d,l,t)){o.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleAreac&&(c=d,s=l)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Hn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(dg),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,t){let r;if(t.originX=="center")r=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=t.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return t.originY=="center"?o=n.top+n.height/2:o=t.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,t){let r;t.overlayX=="center"?r=-e.width/2:t.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return t.overlayY=="center"?o=-e.height/2:o=t.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,t,r){let o=hg(e),{x:a,y:s}=n,c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=c),l&&(s+=l);let d=0-a,h=a+o.width-t.width,m=0-s,p=s+o.height-t.height,f=this._subtractOverflows(o.width,d,h),g=this._subtractOverflows(o.height,m,p),_=f*g;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:f==o.width}}_canFitWithFlexibleDimensions(n,e,t){if(this._hasFlexibleDimensions){let r=t.bottom-e.y,o=t.right-e.x,a=ug(this._overlayRef.getConfig().minHeight),s=ug(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||a!=null&&a<=r,l=n.fitsInViewportHorizontally||s!=null&&s<=o;return c&&l}return!1}_pushOverlayOnScreen(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=hg(e),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),c=Math.max(o.top-t.top-n.y,0),l=Math.max(o.left-t.left-n.x,0),d=0,h=0;return r.width<=o.width?d=l||-a:d=n.xf&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-f/2)}let c=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,l=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,h,m;if(l)m=t.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(c)h=n.x,d=t.right-n.x;else{let p=Math.min(t.right-n.x+t.left,n.x),f=this._lastBoundingBoxSize.width;d=p*2,h=n.x-p,d>f&&!this._isInitialRender&&!this._growAfterOpen&&(h=n.x-f/2)}return{top:a,left:h,bottom:s,right:m,width:d,height:o}}_setBoundingBoxStyles(n,e){let t=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=rt(t.height),r.top=rt(t.top),r.bottom=rt(t.bottom),r.width=rt(t.width),r.left=rt(t.left),r.right=rt(t.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=rt(o)),a&&(r.maxWidth=rt(a))}this._lastBoundingBoxSize=t,Hn(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Hn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Hn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let t={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Hn(t,this._getExactOverlayY(e,n,d)),Hn(t,this._getExactOverlayX(e,n,d))}else t.position="static";let s="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),l&&(s+=`translateY(${l}px)`),t.transform=s.trim(),a.maxHeight&&(r?t.maxHeight=rt(a.maxHeight):o&&(t.maxHeight="")),a.maxWidth&&(r?t.maxWidth=rt(a.maxWidth):o&&(t.maxWidth="")),Hn(this._pane.style,t)}_getExactOverlayY(n,e,t){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=rt(o.y);return r}_getExactOverlayX(n,e,t){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=rt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:cg(n,t),isOriginOutsideView:Dd(n,t),isOverlayClipped:cg(e,t),isOverlayOutsideView:Dd(e,t)}}_subtractOverflows(n,...e){return e.reduce((t,r)=>t-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Mr(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof E)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,t=n.height||0;return{top:n.y,bottom:n.y+t,left:n.x,right:n.x+e,height:t,width:e}}};function Hn(i,n){for(let e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);return i}function ug(i){if(typeof i!="number"&&i!=null){let[n,e]=i.split(sC);return!e||e==="px"?parseFloat(n):null}return i||null}function hg(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function cC(i,n){return i===n?!0:i.isOriginClipped===n.isOriginClipped&&i.isOriginOutsideView===n.isOriginOutsideView&&i.isOverlayClipped===n.isOverlayClipped&&i.isOverlayOutsideView===n.isOverlayOutsideView}var mg="cdk-global-overlay-wrapper",Td=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(mg),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=t,c=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),l=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,h=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",p="",f="",g="";c?g="flex-start":d==="center"?(g="center",m?f=h:p=h):m?d==="left"||d==="end"?(g="flex-end",p=h):(d==="right"||d==="start")&&(g="flex-start",f=h):d==="left"||d==="start"?(g="flex-start",p=h):(d==="right"||d==="end")&&(g="flex-end",f=h),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":f,e.justifyContent=g,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(mg),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},lC=(()=>{class i{constructor(e,t,r,o){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=o}global(){return new Td}flexibleConnectedTo(e){return new Sd(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(t){return new(t||i)(x(Dt),x(oe),x(me),x(zr))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),dC=0,je=(()=>{class i{constructor(e,t,r,o,a,s,c,l,d,h,m,p){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=s,this._ngZone=c,this._document=l,this._directionality=d,this._location=h,this._outsideClickDispatcher=m,this._animationsModuleType=p}create(e){let t=this._createHostElement(),r=this._createPaneElement(t),o=this._createPortalOutlet(r),a=new Ci(e);return a.direction=a.direction||this._directionality.value,new Ni(o,t,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Su))}position(){return this._positionBuilder}_createPaneElement(e){let t=this._document.createElement("div");return t.id=`cdk-overlay-${dC++}`,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(lc)),new Ho(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(t){return new(t||i)(x(rC),x(zr),x(fn),x(lC),x(oC),x(Ee),x(B),x(oe),x(Re),x(aa),x(aC),x(Ce,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),uC=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],fg=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}}),Qo=(()=>{class i{constructor(e){this.elementRef=e}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return i})(),Md=(()=>{class i{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,t,r,o,a){this._overlay=e,this._dir=a,this._backdropSubscription=Te.EMPTY,this._attachSubscription=Te.EMPTY,this._detachSubscription=Te.EMPTY,this._positionSubscription=Te.EMPTY,this._disposeOnNavigation=!1,this._ngZone=F(B),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new z,this.positionChange=new z,this.attach=new z,this.detach=new z,this.overlayKeydown=new z,this.overlayOutsideClick=new z,this._templatePortal=new Et(t,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=uC);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode===27&&!this.disableClose&&!Le(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{let r=this._getOriginElement(),o=Ot(t);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(t)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Ci({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(t.width=this.width),(this.height||this.height===0)&&(t.height=this.height),(this.minWidth||this.minWidth===0)&&(t.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){let t=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Qo?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Qo?this.origin.elementRef.nativeElement:this.origin instanceof E?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Iu(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(je),u(Ae),u(Ue),u(fg),u(Re,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",O],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",O],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",O],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",O],push:[2,"cdkConnectedOverlayPush","push",O],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",O]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ae,Pe]})}}return i})();function hC(i){return()=>i.scrollStrategies.reposition()}var mC={provide:fg,deps:[je],useFactory:hC},ii=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[je,mC],imports:[cn,Pi,Bo,Bo]})}}return i})();function pC(i,n){}var Qn=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var Od=(()=>{class i extends Br{constructor(e,t,r,o,a,s,c,l){super(),this._elementRef=e,this._focusTrapFactory=t,this._config=o,this._interactivityChecker=a,this._ngZone=s,this._overlayRef=c,this._focusMonitor=l,this._platform=F(me),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=F(pe),this._injector=F(Ee),this._isDestroyed=!1,this.attachDomPortal=d=>{this._portalOutlet.hasAttached();let h=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),h},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,t)}_trapFocus(){this._isDestroyed||tt(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let r=Oo(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,t=Oo();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Oo()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Nr),u(oe,8),u(Qn),u(Nn),u(B),u(Ni),u(ot))}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(t,r){if(t&1&&re(mi,7),t&2){let o;S(o=T())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,r){t&2&&W("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},standalone:!0,features:[ne,Q],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,r){t&1&&te(0,pC,0,0,"ng-template",0)},dependencies:[mi],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return i})(),qo=class{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new R,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!Le(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(n),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},fC=new C("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.block()}}),gC=new C("DialogData"),bC=new C("DefaultDialogConfig");var vC=0,Rd=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,t,r,o,a,s){this._overlay=e,this._injector=t,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this._ariaHiddenElements=new Map,this.afterAllClosed=zi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Me(void 0))),this._scrollStrategy=s}open(e,t){let r=this._defaultOptions||new Qn;t=N(N({},r),t),t.id=t.id||`cdk-dialog-${vC++}`,t.id&&this.getDialogById(t.id);let o=this._getOverlayConfig(t),a=this._overlay.create(o),s=new qo(a,t),c=this._attachContainer(a,s,t);return s.containerInstance=c,this._attachDialogContent(e,s,c,t),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){Ad(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){Ad(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Ad(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new Ci({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,r){let o=r.injector||r.viewContainerRef?.injector,a=[{provide:Qn,useValue:r},{provide:qo,useValue:t},{provide:Ni,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=Od;let c=new hn(s,r.viewContainerRef,Ee.create({parent:o||this._injector,providers:a}),r.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,t,r,o){if(e instanceof Ae){let a=this._createInjector(o,t,r,void 0),s={$implicit:o.data,dialogRef:t};o.templateContext&&(s=N(N({},s),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Et(e,null,s,a))}else{let a=this._createInjector(o,t,r,this._injector),s=r.attachComponentPortal(new hn(e,o.viewContainerRef,a,o.componentFactoryResolver));t.componentRef=s,t.componentInstance=s.instance}}_createInjector(e,t,r,o){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:gC,useValue:e.data},{provide:qo,useValue:t}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(t,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(Re,null,{optional:!0}))&&s.push({provide:Re,useValue:{value:e.direction,change:He()}}),Ee.create({parent:a||o,providers:s})}_removeOpenDialog(e,t){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let t=e.parentElement.children;for(let r=t.length-1;r>-1;r--){let o=t[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(t){return new(t||i)(x(je),x(Ee),x(bC,8),x(i,12),x(zr),x(fC))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Ad(i,n){let e=i.length;for(;e--;)n(i[e])}var gg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[Rd],imports:[ii,Pi,Ts,Pi]})}}return i})();function _C(i,n){}var Wo=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Fd="mdc-dialog--open",bg="mdc-dialog--opening",vg="mdc-dialog--closing",yC=150,xC=75,wC=(()=>{class i extends Od{constructor(e,t,r,o,a,s,c,l,d){super(e,t,r,o,a,s,c,d),this._animationMode=l,this._animationStateChanged=new z,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?yg(this._config.enterAnimationDuration)??yC:0,this._exitAnimationDuration=this._animationsEnabled?yg(this._config.exitAnimationDuration)??xC:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(_g,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(bg,Fd)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Fd),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Fd),this._animationsEnabled?(this._hostElement.style.setProperty(_g,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(vg)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(bg,vg)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Nr),u(oe,8),u(Wo),u(Nn),u(B),u(Ni),u(Ce,8),u(ot))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,r){t&2&&(St("id",r._config.id),W("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),P("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},standalone:!0,features:[ne,Q],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(t,r){t&1&&(w(0,"div",0)(1,"div",1),te(2,_C,0,0,"ng-template",2),I()())},dependencies:[mi],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return i})(),_g="--mat-dialog-transition-duration";function yg(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?Ct(i.substring(0,i.length-2)):i.endsWith("s")?Ct(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var Vs=function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i}(Vs||{}),Go=class{constructor(n,e,t){this._ref=n,this._containerInstance=t,this._afterOpened=new R,this._beforeClosed=new R,this._state=Vs.OPEN,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(ye(r=>r.state==="opened"),Ke(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(ye(r=>r.state==="closed"),Ke(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Fe(this.backdropClick(),this.keydownEvents().pipe(ye(r=>r.keyCode===27&&!this.disableClose&&!Le(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),xg(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(ye(e=>e.state==="closing"),Ke(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Vs.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Vs.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function xg(i,n,e){return i._closeInteractionType=n,i.close(e)}var CC=new C("MatMdcDialogData"),kC=new C("mat-mdc-dialog-default-options"),DC=new C("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.block()}});var EC=0,Pd=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,t,r,o,a,s,c,l){this._overlay=e,this._defaultOptions=o,this._scrollStrategy=a,this._parentDialog=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this.dialogConfigClass=Wo,this.afterAllClosed=zi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Me(void 0))),this._dialog=t.get(Rd),this._dialogRefConstructor=Go,this._dialogContainerType=wC,this._dialogDataToken=CC}open(e,t){let r;t=N(N({},this._defaultOptions||new Wo),t),t.id=t.id||`mat-mdc-dialog-${EC++}`,t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,Qe(N({},t),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:Qn,useValue:t}]},templateContext:()=>({dialogRef:r}),providers:(a,s,c)=>(r=new this._dialogRefConstructor(a,t,c),r.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static{this.\u0275fac=function(t){return new(t||i)(x(je),x(Ee),x(aa,8),x(kC,8),x(DC),x(i,12),x(zr),x(Ce,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),IC=0,$V=(()=>{class i{constructor(e,t,r){this.dialogRef=e,this._elementRef=t,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Cg(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){xg(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(t){return new(t||i)(u(Go,8),u(E),u(Pd))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,r){t&1&&ee("click",function(a){return r._onButtonClick(a)}),t&2&&W("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Pe]})}}return i})(),wg=(()=>{class i{constructor(e,t,r){this._dialogRef=e,this._elementRef=t,this._dialog=r}ngOnInit(){this._dialogRef||(this._dialogRef=Cg(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(t){return new(t||i)(u(Go,8),u(E),u(Pd))}}static{this.\u0275dir=D({type:i,standalone:!0})}}return i})(),YV=(()=>{class i extends wg{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${IC++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,r){t&2&&St("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[ne]})}}return i})(),KV=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[Pu([Fi])]})}}return i})(),XV=(()=>{class i extends wg{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,r){t&2&&P("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},standalone:!0,features:[ne]})}}return i})();function Cg(i,n){let e=i.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(t=>t.id===e.id):null}var kg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[Pd],imports:[gg,ii,Pi,K,K]})}}return i})();var i2=(()=>{class i{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=ut(e)}get inset(){return this._inset}set inset(e){this._inset=ut(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,r){t&2&&(W("aria-orientation",r.vertical?"vertical":"horizontal"),P("mat-divider-vertical",r.vertical)("mat-divider-horizontal",!r.vertical)("mat-divider-inset",r.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[Q],decls:0,vars:0,template:function(t,r){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}}return i})(),Dg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})();var Eg=new C("CdkAccordion");var SC=0,Ig=(()=>{class i{get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let t=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,t)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}constructor(e,t,r){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=r,this._openCloseAllSubscription=Te.EMPTY,this.closed=new z,this.opened=new z,this.destroyed=new z,this.expandedChange=new z,this.id=`cdk-accordion-child-${SC++}`,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((o,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==o&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static{this.\u0275fac=function(t){return new(t||i)(u(Eg,12),u(pe),u(Da))}}static{this.\u0275dir=D({type:i,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",O],disabled:[2,"disabled","disabled",O]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[de([{provide:Eg,useValue:void 0}]),ae]})}}return i})(),Sg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var TC=["body"],MC=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],AC=["mat-expansion-panel-header","*","mat-action-row"];function OC(i,n){}var RC=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],FC=["mat-panel-title","mat-panel-description","*"];function PC(i,n){if(i&1&&(w(0,"span",1),Wt(),w(1,"svg",2),ie(2,"path",3),I()()),i&2){let e=fe();ue("@indicatorRotate",e._getExpandedState())}}var Tg=new C("MAT_ACCORDION"),Mg="225ms cubic-bezier(0.4,0.0,0.2,1)",Og={indicatorRotate:gt("indicatorRotate",[nt("collapsed, void",Oe({transform:"rotate(0deg)"})),nt("expanded",Oe({transform:"rotate(180deg)"})),Je("expanded <=> collapsed, void => collapsed",Ze(Mg))]),bodyExpansion:gt("bodyExpansion",[nt("collapsed, void",Oe({height:"0px",visibility:"hidden"})),nt("expanded",Oe({height:"*",visibility:""})),Je("expanded <=> collapsed, void => collapsed",Ze(Mg))])},Rg=new C("MAT_EXPANSION_PANEL"),NC=(()=>{class i{constructor(e,t){this._template=e,this._expansionPanel=t}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(Rg,8))}}static{this.\u0275dir=D({type:i,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0})}}return i})(),LC=0,Fg=new C("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),jC=(()=>{class i extends Ig{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,t,r,o,a,s,c){super(e,t,r),this._viewContainerRef=o,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new z,this.afterCollapse=new z,this._inputChanges=new R,this._headerId=`mat-expansion-panel-header-${LC++}`,this.accordion=e,this._document=a,this._animationsDisabled=s==="NoopAnimations",c&&(this.hideToggle=c.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Me(null),ye(()=>this.expanded&&!this._portal),Ke(1)).subscribe(()=>{this._portal=new Et(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}_animationStarted(e){!Ag(e)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(e){Ag(e)||(e.toState==="expanded"?this.afterExpand.emit():e.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static{this.\u0275fac=function(t){return new(t||i)(u(Tg,12),u(pe),u(Da),u(Ue),u(oe),u(Ce,8),u(Fg,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-expansion-panel"]],contentQueries:function(t,r,o){if(t&1&&he(o,NC,5),t&2){let a;S(a=T())&&(r._lazyContent=a.first)}},viewQuery:function(t,r){if(t&1&&re(TC,5),t&2){let o;S(o=T())&&(r._body=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,r){t&2&&P("mat-expanded",r.expanded)("_mat-animation-noopable",r._animationsDisabled)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",O],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[de([{provide:Tg,useValue:void 0},{provide:Rg,useExisting:i}]),ae,ne,Pe,Q],ngContentSelectors:AC,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,r){if(t&1){let o=$e();se(MC),A(0),w(1,"div",1,0),ee("@bodyExpansion.start",function(s){return ce(o),le(r._animationStarted(s))})("@bodyExpansion.done",function(s){return ce(o),le(r._animationDone(s))}),w(3,"div",2),A(4,1),te(5,OC,0,0,"ng-template",3),I(),A(6,2),I()}t&2&&(V(),ue("@bodyExpansion",r._getExpandedState())("id",r.id),W("aria-labelledby",r._headerId),V(4),ue("cdkPortalOutlet",r._portal))},dependencies:[mi],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color, var(--mat-app-surface));color:var(--mat-expansion-container-text-color, var(--mat-app-on-surface));border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font, var(--mat-app-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-app-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-app-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-app-body-large-tracking))}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-app-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Og.bodyExpansion]},changeDetection:0})}}return i})();function Ag(i){return i.fromState==="void"}var V2=(()=>{class i{constructor(e,t,r,o,a,s,c){this.panel=e,this._element=t,this._focusMonitor=r,this._changeDetectorRef=o,this._animationMode=s,this._parentChangeSubscription=Te.EMPTY,this.tabIndex=0;let l=e.accordion?e.accordion._stateChanges.pipe(ye(d=>!!(d.hideToggle||d.togglePosition))):Bi;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=Fe(e.opened,e.closed,l,e._inputChanges.pipe(ye(d=>!!(d.hideToggle||d.disabled||d.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(ye(()=>e._containsFocus())).subscribe(()=>r.focusVia(t,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Le(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static{this.\u0275fac=function(t){return new(t||i)(u(jC,1),u(E),u(ot),u(pe),u(Fg,8),u(Ce,8),It("tabindex"))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,r){t&1&&ee("click",function(){return r._toggle()})("keydown",function(a){return r._keydown(a)}),t&2&&(W("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),ft("height",r._getHeaderHeight()),P("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before")("_mat-animation-noopable",r._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ye(e)]},standalone:!0,features:[ae,Q],ngContentSelectors:FC,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(t,r){t&1&&(se(RC),w(0,"span",0),A(1),A(2,1),A(3,2),I(),te(4,PC,3,1,"span",1)),t&2&&(P("mat-content-hide-toggle",!r._showToggle()),V(4),ge(r._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font, var(--mat-app-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-app-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-app-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-app-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-app-title-medium-tracking))}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-app-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-app-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-app-on-surface-variant))}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Og.indicatorRotate]},changeDetection:0})}}return i})();var B2=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0})}}return i})();var Pg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,Sg,Pi]})}}return i})();var Ng=["*"];var VC=".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}",Nd=class{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){let n=Math.max(...this.tracker);return n>1?this.rowCount+n-1:this.rowCount}update(n,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(n),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(t=>this._trackTile(t))}_trackTile(n){let e=this._findMatchingGap(n.colspan);return this._markTilePosition(e,n),this.columnIndex=e+n.colspan,new Ld(this.rowIndex,e)}_findMatchingGap(n){n>this.tracker.length;let e=-1,t=-1;do{if(this.columnIndex+n>this.tracker.length){this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),t=this._findGapEndIndex(e);continue}if(e=this.tracker.indexOf(0,this.columnIndex),e==-1){this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),t=this._findGapEndIndex(e);continue}t=this._findGapEndIndex(e),this.columnIndex=e+1}while(t-e{class i{constructor(e,t){this._element=e,this._gridList=t,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(e){this._rowspan=Math.round(Ct(e))}get colspan(){return this._colspan}set colspan(e){this._colspan=Math.round(Ct(e))}_setStyle(e,t){this._element.nativeElement.style[e]=t}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Lg,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(t,r){t&2&&W("rowspan",r.rowspan)("colspan",r.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],standalone:!0,features:[Q],ngContentSelectors:Ng,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(t,r){t&1&&(se(),w(0,"div",0),A(1),I())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}}return i})();var zC=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/,$o=class{constructor(){this._rows=0,this._rowspan=0}init(n,e,t,r){this._gutterSize=jg(n),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=t,this._direction=r}getBaseTileSize(n,e){return`(${n}% - (${this._gutterSize} * ${e}))`}getTilePosition(n,e){return e===0?"0":Un(`(${n} + ${this._gutterSize}) * ${e}`)}getTileSize(n,e){return`(${n} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(n,e,t){let r=100/this._cols,o=(this._cols-1)/this._cols;this.setColStyles(n,t,r,o),this.setRowStyles(n,e,r,o)}setColStyles(n,e,t,r){let o=this.getBaseTileSize(t,r),a=this._direction==="rtl"?"right":"left";n._setStyle(a,this.getTilePosition(o,e)),n._setStyle("width",Un(this.getTileSize(o,n.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(n){return`${this._rowspan} * ${this.getTileSize(n,1)}`}getComputedHeight(){return null}},jd=class extends $o{constructor(n){super(),this.fixedRowHeight=n}init(n,e,t,r){super.init(n,e,t,r),this.fixedRowHeight=jg(this.fixedRowHeight),zC.test(this.fixedRowHeight)}setRowStyles(n,e){n._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),n._setStyle("height",Un(this.getTileSize(this.fixedRowHeight,n.rowspan)))}getComputedHeight(){return["height",Un(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["height",null]),n._tiles&&n._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}},Vd=class extends $o{constructor(n){super(),this._parseRatio(n)}setRowStyles(n,e,t,r){let o=t/this.rowHeightRatio;this.baseTileHeight=this.getBaseTileSize(o,r),n._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),n._setStyle("paddingTop",Un(this.getTileSize(this.baseTileHeight,n.rowspan)))}getComputedHeight(){return["paddingBottom",Un(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["paddingBottom",null]),n._tiles.forEach(e=>{e._setStyle("marginTop",null),e._setStyle("paddingTop",null)})}_parseRatio(n){let e=n.split(":");e.length,this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}},Bd=class extends $o{setRowStyles(n,e){let t=100/this._rowspan,r=(this._rows-1)/this._rows,o=this.getBaseTileSize(t,r);n._setStyle("top",this.getTilePosition(o,e)),n._setStyle("height",Un(this.getTileSize(o,n.rowspan)))}reset(n){n._tiles&&n._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}};function Un(i){return`calc(${i})`}function jg(i){return i.match(/([A-Za-z%]+)$/)?i:`${i}px`}var HC="fit",iB=(()=>{class i{constructor(e,t){this._element=e,this._dir=t,this._gutter="1px"}get cols(){return this._cols}set cols(e){this._cols=Math.max(1,Math.round(Ct(e)))}get gutterSize(){return this._gutter}set gutterSize(e){this._gutter=`${e??""}`}get rowHeight(){return this._rowHeight}set rowHeight(e){let t=`${e??""}`;t!==this._rowHeight&&(this._rowHeight=t,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){this.cols}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(e){this._tileStyler&&this._tileStyler.reset(this),e===HC?this._tileStyler=new Bd:e&&e.indexOf(":")>-1?this._tileStyler=new Vd(e):this._tileStyler=new jd(e)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new Nd);let e=this._tileCoordinator,t=this._tiles.filter(o=>!o._gridList||o._gridList===this),r=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,t),this._tileStyler.init(this.gutterSize,e,this.cols,r),t.forEach((o,a)=>{let s=e.positions[a];this._tileStyler.setStyle(o,s.row,s.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(e){e&&(this._element.nativeElement.style[e[0]]=e[1])}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Re,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-grid-list"]],contentQueries:function(t,r,o){if(t&1&&he(o,BC,5),t&2){let a;S(a=T())&&(r._tiles=a)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(t,r){t&2&&W("cols",r.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],standalone:!0,features:[de([{provide:Lg,useExisting:i}]),Q],ngContentSelectors:Ng,decls:2,vars:0,template:function(t,r){t&1&&(se(),w(0,"div"),A(1),I())},styles:[VC],encapsulation:2,changeDetection:0})}}return i})(),Vg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[pd,K,pd,K]})}}return i})();var QC=["*"],Bs;function UC(){if(Bs===void 0&&(Bs=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(Bs=i.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Bs}function Yo(i){return UC()?.createHTML(i)||i}function Bg(i){return Error(`Unable to find icon with the name "${i}"`)}function qC(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function zg(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function Hg(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var Li=class{constructor(n,e,t){this.url=n,this.svgText=e,this.options=t}},WC=(()=>{class i{constructor(e,t,r,o){this._httpClient=e,this._sanitizer=t,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,t,r){return this.addSvgIconInNamespace("",e,t,r)}addSvgIconLiteral(e,t,r){return this.addSvgIconLiteralInNamespace("",e,t,r)}addSvgIconInNamespace(e,t,r,o){return this._addSvgIconConfig(e,t,new Li(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,r,o){let a=this._sanitizer.sanitize(Kn.HTML,r);if(!a)throw Hg(r);let s=Yo(a);return this._addSvgIconConfig(e,t,new Li("",s,o))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,r){return this._addSvgIconSetConfig(e,new Li(t,null,r))}addSvgIconSetLiteralInNamespace(e,t,r){let o=this._sanitizer.sanitize(Kn.HTML,t);if(!o)throw Hg(t);let a=Yo(o);return this._addSvgIconSetConfig(e,new Li("",a,r))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(Kn.RESOURCE_URL,e);if(!t)throw zg(e);let r=this._cachedIconsByUrl.get(t);return r?He(zs(r)):this._loadSvgIconFromConfig(new Li(e,null)).pipe(gi(o=>this._cachedIconsByUrl.set(t,o)),xe(o=>zs(o)))}getNamedSvgIcon(e,t=""){let r=Qg(t,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(t,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let a=this._iconSetConfigs.get(t);return a?this._getSvgFromIconSetConfigs(e,a):xu(Bg(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?He(zs(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(xe(t=>zs(t)))}_getSvgFromIconSetConfigs(e,t){let r=this._extractIconWithNameFromAnySet(e,t);if(r)return He(r);let o=t.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Jo(s=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(Kn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(l)),He(null)})));return mn(o).pipe(xe(()=>{let a=this._extractIconWithNameFromAnySet(e,t);if(!a)throw Bg(e);return a}))}_extractIconWithNameFromAnySet(e,t){for(let r=t.length-1;r>=0;r--){let o=t[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(gi(t=>e.svgText=t),xe(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?He(null):this._fetchIcon(e).pipe(gi(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,r){let o=e.querySelector(`[id="${t}"]`);if(!o)return null;let a=o.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,r);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),r);let s=this._svgElementFromString(Yo(""));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let r=t.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){let t=this._svgElementFromString(Yo("")),r=e.attributes;for(let o=0;oYo(l)),ku(()=>this._inProgressUrlFetches.delete(a)),Eu());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,t,r){return this._svgIconConfigs.set(Qg(e,t),r),this}_addSvgIconSetConfig(e,t){let r=this._iconSetConfigs.get(e);return r?r.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let r=0;rn?n.pathname+n.search:""}}var Ug=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],XC=Ug.map(i=>`[${i}]`).join(", "),ZC=/^url\(['"]?#(.*?)['"]?\)$/,yB=(()=>{class i{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}constructor(e,t,r,o,a,s){this._elementRef=e,this._iconRegistry=t,this._location=o,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Te.EMPTY,s&&(s.color&&(this.color=this._defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let r=e.childNodes[t];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),t.forEach(r=>e.classList.add(r)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences;t&&t.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(XC),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{let s=t[o],c=s.getAttribute(a),l=c?c.match(ZC):null;if(l){let d=r.get(s);d||(d=[],r.set(s,d)),d.push({name:a,value:l[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,r]=this._splitIconName(e);t&&(this._svgNamespace=t),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,t).pipe(Ke(1)).subscribe(o=>this._setSvgElement(o),o=>{let a=`Error retrieving icon ${t}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(a))})}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(WC),It("aria-hidden"),u(YC),u(ia),u($C,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,r){t&2&&(W("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),qe(r.color?"mat-"+r.color:""),P("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",O],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ae,Q],ngContentSelectors:QC,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return i})(),qg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})();var Wg=Bt({passive:!0}),Gg=(()=>{class i{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Bi;let t=zt(e),r=this._monitoredElements.get(t);if(r)return r.subject;let o=new R,a="cdk-text-field-autofilled",s=c=>{c.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,Wg),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:o,unlisten:()=>{t.removeEventListener("animationstart",s,Wg)}}),o}stopMonitoring(e){let t=zt(e),r=this._monitoredElements.get(t);r&&(r.unlisten(),r.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(B))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var $g=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var ek=new C("MAT_INPUT_VALUE_ACCESSOR"),tk=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ik=0,VB=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=ut(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Ui.required)??!1}set required(e){this._required=ut(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&ed().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ut(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,r,o,a,s,c,l,d,h){this._elementRef=e,this._platform=t,this.ngControl=r,this._autofillMonitor=l,this._ngZone=d,this._formField=h,this._uid=`mat-input-${ik++}`,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new R,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(f=>ed().has(f)),this._iOSKeyupListener=f=>{let g=f.target;!g.value&&g.selectionStart===0&&g.selectionEnd===0&&(g.setSelectionRange(1,1),g.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};let m=this._elementRef.nativeElement,p=m.nodeName.toLowerCase();this._inputValueAccessor=c||m,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new ln(s,r,a,o,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=p==="select",this._isTextarea=p==="textarea",this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=m.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){tk.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(ai,10),u(_n,8),u(yn,8),u(dn),u(ek,10),u(Gg),u(B),u(Ri,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(t,r){t&1&&ee("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),t&2&&(St("id",r.id)("disabled",r.disabled)("required",r.required),W("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),P("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[de([{provide:Vn,useExisting:i}]),Pe]})}}return i})(),Yg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,Bn,Bn,$g,K]})}}return i})();function nk(i,n){i&1&&ie(0,"div",2)}var rk=new C("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var XB=(()=>{class i{constructor(e,t,r,o,a){this._elementRef=e,this._ngZone=t,this._changeDetectorRef=r,this._animationMode=o,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new z,this._mode="determinate",this._transitionendHandler=s=>{this.animationEnd.observers.length===0||!s.target||!s.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=o==="NoopAnimations",a&&(a.color&&(this.color=this._defaultColor=a.color),this.mode=a.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(e){this._color=e}get value(){return this._value}set value(e){this._value=Kg(e||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=Kg(e||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B),u(pe),u(Ce,8),u(rk,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(t,r){t&2&&(W("aria-valuenow",r._isIndeterminate()?null:r.value)("mode",r.mode),qe("mat-"+r.color),P("_mat-animation-noopable",r._isNoopAnimation)("mdc-linear-progress--animation-ready",!r._isNoopAnimation)("mdc-linear-progress--indeterminate",r._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",Ye],bufferValue:[2,"bufferValue","bufferValue",Ye],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[ae,Q],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(t,r){t&1&&(w(0,"div",0),ie(1,"div",1),te(2,nk,1,0,"div",2),I(),w(3,"div",3),ie(4,"span",4),I(),w(5,"div",5),ie(6,"span",4),I()),t&2&&(V(),ft("flex-basis",r._getBufferBarFlexBasis()),V(),ge(r.mode==="buffer"?2:-1),V(),ft("transform",r._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height),var(--mdc-linear-progress-active-indicator-height))}.cdk-high-contrast-active .mdc-linear-progress{outline-color:CanvasText}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-app-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.cdk-high-contrast-active .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}`],encapsulation:2,changeDetection:0})}}return i})();function Kg(i,n=0,e=100){return Math.max(n,Math.min(e,i))}var Xg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K]})}}return i})();var ok=["*",[["mat-toolbar-row"]]],ak=["*","mat-toolbar-row"],sk=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0})}}return i})(),tz=(()=>{class i{constructor(e,t,r){this._elementRef=e,this._platform=t,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(oe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-toolbar"]],contentQueries:function(t,r,o){if(t&1&&he(o,sk,5),t&2){let a;S(a=T())&&(r._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(t,r){t&2&&(qe(r.color?"mat-"+r.color:""),P("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[Q],ngContentSelectors:ak,decls:2,vars:0,template:function(t,r){t&1&&(se(ok),A(0),A(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-app-surface));color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-app-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-app-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-app-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-app-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-app-title-large-tracking));margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}}return i})();var Zg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})();var ck=["tooltip"],tb=20;var ib=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition({scrollThrottle:tb})}});function lk(i){return()=>i.scrollStrategies.reposition({scrollThrottle:tb})}var dk={provide:ib,deps:[je],useFactory:lk};function uk(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var hk=new C("mat-tooltip-default-options",{providedIn:"root",factory:uk});var Jg="tooltip-panel",eb=Bt({passive:!0}),mk=8,pk=8,fk=24,gk=200,kz=(()=>{class i{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ut(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let t=ut(e);this._disabled!==t&&(this._disabled=t,t?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Ct(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Ct(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){let t=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(t)}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,t,r,o,a,s,c,l,d,h,m,p){this._overlay=e,this._elementRef=t,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=a,this._platform=s,this._ariaDescriber=c,this._focusMonitor=l,this._dir=h,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=bk,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new R,this._injector=F(Ee),this._scrollStrategy=d,this._document=p,m&&(this._showDelay=m.showDelay,this._hideDelay=m.hideDelay,m.position&&(this.position=m.position),m.positionAtOrigin&&(this.positionAtOrigin=m.positionAtOrigin),m.touchGestures&&(this.touchGestures=m.touchGestures),m.tooltipClass&&(this.tooltipClass=m.tooltipClass)),h.change.pipe($(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=mk}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe($(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,r])=>{e.removeEventListener(t,r,eb)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,t){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(t);this._detach(),this._portal=this._portal||new hn(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe($(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let t=this._tooltipInstance;t&&(t.isVisible()?t.hide(e):(t._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof E)return this._overlayRef;this._detach()}let t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return r.positionChanges.pipe($(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${Jg}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe($(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe($(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe($(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!Le(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let t=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();t.withPositions([this._addOffset(N(N({},r.main),o.main)),this._addOffset(N(N({},r.fallback),o.fallback))])}_addOffset(e){let t=pk,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-t:e.originY==="bottom"?e.offsetY=t:e.originX==="start"?e.offsetX=r?-t:t:e.originX==="end"&&(e.offsetX=r?t:-t),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",t=this.position,r;t=="above"||t=="below"?r={originX:"center",originY:t=="above"?"top":"bottom"}:t=="before"||t=="left"&&e||t=="right"&&!e?r={originX:"start",originY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",t=this.position,r;t=="above"?r={overlayX:"center",overlayY:"bottom"}:t=="below"?r={overlayX:"center",overlayY:"top"}:t=="before"||t=="left"&&e||t=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),tt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return this.position==="above"||this.position==="below"?t==="top"?t="bottom":t==="bottom"&&(t="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){let{overlayY:t,originX:r,originY:o}=e,a;if(t==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=t==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let c=`${this._cssClassPrefix}-${Jg}-`;s.removePanelClass(c+this._currentPosition),s.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let t;e.x!==void 0&&e.y!==void 0&&(t=e),this.show(void 0,t)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let t=e.targetTouches?.[0],r=t?{x:t.clientX,y:t.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",t=>{let r=t.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",t=>this._wheelListener(t)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,r])=>{this._elementRef.nativeElement.addEventListener(t,r,eb)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let t=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;t!==r&&!r.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let t=this._elementRef.nativeElement,r=t.style;(e==="on"||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!t.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(t){return new(t||i)(u(je),u(E),u(un),u(Ue),u(B),u(me),u(mf),u(ot),u(ib),u(Re),u(hk,8),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return i})(),bk=(()=>{class i{constructor(e,t,r){this._changeDetectorRef=e,this._elementRef=t,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=r==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>fk&&e.width>=gk}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let t=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(t.classList.remove(e?o:r),t.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(t);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tooltip-component"]],viewQuery:function(t,r){if(t&1&&re(ck,7),t&2){let o;S(o=T())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(t,r){t&1&&ee("mouseleave",function(a){return r._handleMouseLeave(a)})},standalone:!0,features:[Q],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(t,r){if(t&1){let o=$e();w(0,"div",1,0),ee("animationend",function(s){return ce(o),le(r._handleAnimationEnd(s))}),w(2,"div",2),Tt(3),I()()}t&2&&(P("mdc-tooltip--multiline",r._isMultiline),ue("ngClass",r.tooltipClass),V(3),oi(r.message))},dependencies:[sa],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return i})();var nb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[dk],imports:[Ts,yt,ii,K,K,Ut]})}}return i})();var vk=["trigger"],_k=["panel"],yk=[[["mat-select-trigger"]],"*"],xk=["mat-select-trigger","*"];function wk(i,n){if(i&1&&(w(0,"span",4),Tt(1),I()),i&2){let e=fe();V(),oi(e.placeholder)}}function Ck(i,n){i&1&&A(0)}function kk(i,n){if(i&1&&(w(0,"span",11),Tt(1),I()),i&2){let e=fe(2);V(),oi(e.triggerValue)}}function Dk(i,n){if(i&1&&(w(0,"span",5),te(1,Ck,1,0)(2,kk,2,1,"span",11),I()),i&2){let e=fe();V(),ge(e.customTrigger?1:2)}}function Ek(i,n){if(i&1){let e=$e();w(0,"div",12,1),ee("@transformPanel.done",function(r){ce(e);let o=fe();return le(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){ce(e);let o=fe();return le(o._handleKeydown(r))}),A(2,1),I()}if(i&2){let e=fe();Lu("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),ue("ngClass",e.panelClass)("@transformPanel","showing"),W("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var Ik={transformPanelWrap:gt("transformPanelWrap",[Je("* => void",Ku("@transformPanel",[Yu()],{optional:!0}))]),transformPanel:gt("transformPanel",[nt("void",Oe({opacity:0,transform:"scale(1, 0.8)"})),Je("void => showing",Ze("120ms cubic-bezier(0, 0, 0.2, 1)",Oe({opacity:1,transform:"scale(1, 1)"}))),Je("* => void",Ze("100ms linear",Oe({opacity:0})))])};var rb=0,ob=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}});function Sk(i){return()=>i.scrollStrategies.reposition()}var Tk=new C("MAT_SELECT_CONFIG"),Mk={provide:ob,deps:[je],useFactory:Sk},Ak=new C("MatSelectTrigger"),zd=class{constructor(n,e){this.source=n,this.value=e}},eH=(()=>{class i{_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let r=this.panel.nativeElement,o=Os(e,this.options,this.optionGroups),a=t._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=Rs(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new zd(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Ui.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,r,o,a,s,c,l,d,h,m,p,f,g){this._viewportRuler=e,this._changeDetectorRef=t,this._elementRef=a,this._dir=s,this._parentFormField=d,this.ngControl=h,this._liveAnnouncer=f,this._defaultOptions=g,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(_,v)=>_===v,this._uid=`mat-select-${rb++}`,this._triggerAriaLabelledBy=null,this._destroy=new R,this.stateChanges=new R,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${rb++}`,this._panelDoneAnimatingStream=new R,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new R,this.optionSelectionChanges=zi(()=>{let _=this.options;return _?_.changes.pipe(Me(_),st(()=>Fe(..._.map(v=>v.onSelectionChange)))):this._initialized.pipe(st(()=>this.optionSelectionChanges))}),this.openedChange=new z,this._openedStream=this.openedChange.pipe(ye(_=>_),xe(()=>{})),this._closedStream=this.openedChange.pipe(ye(_=>!_),xe(()=>{})),this.selectionChange=new z,this.valueChange=new z,this._trackedModal=null,this._skipPredicate=_=>this.panelOpen?!1:_.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),g?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=g.typeaheadDebounceInterval),this._errorStateTracker=new ln(o,h,l,c,this.stateChanges),this._scrollStrategyFactory=p,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ca(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Di(),$(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe($(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe($(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Me(null),$(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&sn(this._trackedModal,"aria-owns",t),Pr(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;sn(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,r=t===40||t===38||t===37||t===39,o=t===13||t===32,a=this._keyManager;if(!a.isTyping()&&o&&!Le(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let c=this.selected;c&&s!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,r=e.keyCode,o=r===40||r===38,a=t.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&t.activeItem&&!Le(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(s?c.select():c.deselect())})}else{let s=t.activeItemIndex;t.onKeydown(e),this._multiple&&o&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==s&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ke(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return r.value!=null&&this._compareWith(r.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Qo?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Or(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Fe(this.options.changes,this._destroy);this.optionSelectionChanges.pipe($(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Fe(...this.options.map(t=>t._stateChanges)).pipe($(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let r=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,r)=>this.sortComparator?this.sortComparator(t,r,e):e.indexOf(t)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(r=>r.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(t){return new(t||i)(u(Dt),u(pe),u(B),u(dn),u(E),u(Re,8),u(_n,8),u(yn,8),u(Ri,8),u(ai,10),It("tabindex"),u(ob),u(gf),u(Tk,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-select"]],contentQueries:function(t,r,o){if(t&1&&(he(o,Ak,5),he(o,As,5),he(o,Vo,5)),t&2){let a;S(a=T())&&(r.customTrigger=a.first),S(a=T())&&(r.options=a),S(a=T())&&(r.optionGroups=a)}},viewQuery:function(t,r){if(t&1&&(re(vk,5),re(_k,5),re(Md,5)),t&2){let o;S(o=T())&&(r.trigger=o.first),S(o=T())&&(r.panel=o.first),S(o=T())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,r){t&1&&ee("keydown",function(a){return r._handleKeydown(a)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),t&2&&(W("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),P("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",O],disableRipple:[2,"disableRipple","disableRipple",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ye(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",O],placeholder:"placeholder",required:[2,"required","required",O],multiple:[2,"multiple","multiple",O],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",O],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Ye],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[de([{provide:Vn,useExisting:i},{provide:jo,useExisting:i}]),ae,Pe,Q],ngContentSelectors:xk,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,r){if(t&1){let o=$e();se(yk),w(0,"div",2,0),ee("click",function(){return ce(o),le(r.open())}),w(3,"div",3),te(4,wk,2,1,"span",4)(5,Dk,3,1,"span",5),I(),w(6,"div",6)(7,"div",7),Wt(),w(8,"svg",8),ie(9,"path",9),I()()()(),te(10,Ek,3,9,"ng-template",10),ee("backdropClick",function(){return ce(o),le(r.close())})("attach",function(){return ce(o),le(r._onAttached())})("detach",function(){return ce(o),le(r.close())})}if(t&2){let o=$t(1);V(3),W("id",r._valueId),V(),ge(r.empty?4:5),V(6),ue("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)}},dependencies:[Qo,Md,sa],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[Ik.transformPanel]},changeDetection:0})}}return i})();var ab=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[Mk],imports:[yt,ii,Lr,K,Ut,Bn,Lr,K]})}}return i})();var sb=["*"],Ok=["content"],Rk=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Fk=["mat-drawer","mat-drawer-content","*"];function Pk(i,n){if(i&1){let e=$e();w(0,"div",1),ee("click",function(){ce(e);let r=fe();return le(r._onBackdropClicked())}),I()}if(i&2){let e=fe();P("mat-drawer-shown",e._isShowingBackdrop())}}function Nk(i,n){i&1&&(w(0,"mat-drawer-content"),A(1,2),I())}var Lk={transformDrawer:gt("transform",[nt("open, open-instant",Oe({transform:"none",visibility:"visible"})),nt("void",Oe({"box-shadow":"none",visibility:"hidden"})),Je("void => open-instant",Ze("0ms")),Je("void <=> open, open-instant => void",Ze("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};var jk=new C("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:Vk}),cb=new C("MAT_DRAWER_CONTAINER");function Vk(){return!1}var Hd=(()=>{class i extends Fi{constructor(e,t,r,o,a){super(r,o,a),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(Lt(()=>zk)),u(E),u(un),u(B))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,r){t&2&&ft("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px")},standalone:!0,features:[de([{provide:Fi,useExisting:i}]),ne,Q],ngContentSelectors:sb,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},encapsulation:2,changeDetection:0})}}return i})(),Bk=(()=>{class i{get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=ut(e)}get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=ut(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(ut(e))}constructor(e,t,r,o,a,s,c,l){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=r,this._platform=o,this._ngZone=a,this._interactivityChecker=s,this._doc=c,this._container=l,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new R,this._animationEnd=new R,this._animationState="void",this.openedChange=new z(!0),this._openedStream=this.openedChange.pipe(ye(d=>d),xe(()=>{})),this.openedStart=this._animationStarted.pipe(ye(d=>d.fromState!==d.toState&&d.toState.indexOf("open")===0),nc(void 0)),this._closedStream=this.openedChange.pipe(ye(d=>!d),xe(()=>{})),this.closedStart=this._animationStarted.pipe(ye(d=>d.fromState!==d.toState&&d.toState==="void"),nc(void 0)),this._destroyed=new R,this.onPositionChanged=new z,this._modeChanged=new R,this._injector=F(Ee),this._changeDetectorRef=F(pe),this.openedChange.pipe($(this._destroyed)).subscribe(d=>{d?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Nt(this._elementRef.nativeElement,"keydown").pipe(ye(d=>d.keyCode===27&&!this.disableClose&&!Le(d)),$(this._destroyed)).subscribe(d=>this._ngZone.run(()=>{this.close(),d.stopPropagation(),d.preventDefault()}))}),this._animationEnd.pipe(Di((d,h)=>d.fromState===h.fromState&&d.toState===h.toState)).subscribe(d=>{let{fromState:h,toState:m}=d;(m.indexOf("open")===0&&h==="void"||m==="void"&&h.indexOf("open")===0)&&this.openedChange.emit(this._opened)})}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,t)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":tt(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);let r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,t,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(r)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(Ke(1)).subscribe(a=>o(a?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let t=this._elementRef.nativeElement,r=t.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,t)),r.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Nr),u(ot),u(me),u(B),u(Nn),u(oe,8),u(cb,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-drawer"]],viewQuery:function(t,r){if(t&1&&re(Ok,5),t&2){let o;S(o=T())&&(r._content=o.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,r){t&1&&Vu("@transform.start",function(a){return r._animationStarted.next(a)})("@transform.done",function(a){return r._animationEnd.next(a)}),t&2&&(ju("@transform",r._animationState),W("align",null),P("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-drawer-opened",r.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[Q],ngContentSelectors:sb,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,r){t&1&&(se(),w(0,"div",1,0),A(2),I())},dependencies:[Fi],encapsulation:2,data:{animation:[Lk.transformDrawer]},changeDetection:0})}}return i})(),zk=(()=>{class i{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=ut(e)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:ut(e)}get scrollable(){return this._userContent||this._content}constructor(e,t,r,o,a,s=!1,c){this._dir=e,this._element=t,this._ngZone=r,this._changeDetectorRef=o,this._animationMode=c,this._drawers=new Gt,this.backdropClick=new z,this._destroyed=new R,this._doCheckSubject=new R,this._contentMargins={left:null,right:null},this._contentMarginChanges=new R,this._injector=F(Ee),e&&e.change.pipe($(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),a.change().pipe($(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}ngAfterContentInit(){this._allDrawers.changes.pipe(Me(this._allDrawers),$(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Me(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(fi(10),$(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,t-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")t+=this._right._getWidth();else if(this._right.mode=="push"){let r=this._right._getWidth();t+=r,e-=r}}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(ye(t=>t.fromState!==t.toState),$(this._drawers.changes)).subscribe(t=>{t.toState!=="open-instant"&&this._animationMode!=="NoopAnimations"&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe($(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe($(this._drawers.changes)).subscribe(()=>{tt(()=>{this._validateDrawers()},{injector:this._injector,phase:Nu.Read})})}_watchDrawerMode(e){e&&e._modeChanged.pipe($(Fe(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let t=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?t.add(r):t.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static{this.\u0275fac=function(t){return new(t||i)(u(Re,8),u(E),u(B),u(pe),u(Dt),u(jk),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-drawer-container"]],contentQueries:function(t,r,o){if(t&1&&(he(o,Hd,5),he(o,Bk,5)),t&2){let a;S(a=T())&&(r._content=a.first),S(a=T())&&(r._allDrawers=a)}},viewQuery:function(t,r){if(t&1&&re(Hd,5),t&2){let o;S(o=T())&&(r._userContent=o.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[de([{provide:cb,useExisting:i}]),Q],ngContentSelectors:Fk,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,r){t&1&&(se(Rk),te(0,Pk,1,2,"div",0),A(1),A(2,1),te(3,Nk,2,0,"mat-drawer-content")),t&2&&(ge(r.hasBackdrop?0:-1),V(3),ge(r._content?-1:3))},dependencies:[Hd],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return i})();var lb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,Ut,Ut,K]})}}return i})();var Hr=["*"];function Hk(i,n){i&1&&A(0)}var hb=["tabListContainer"],mb=["tabList"],pb=["tabListInner"],fb=["nextPaginator"],gb=["previousPaginator"],Qk=i=>({animationDuration:i}),Uk=(i,n)=>({value:i,params:n});function qk(i,n){}var Wk=["tabBodyWrapper"],Gk=["tabHeader"];function $k(i,n){}function Yk(i,n){if(i&1&&te(0,$k,0,0,"ng-template",12),i&2){let e=fe().$implicit;ue("cdkPortalOutlet",e.templateLabel)}}function Kk(i,n){if(i&1&&Tt(0),i&2){let e=fe().$implicit;oi(e.textLabel)}}function Xk(i,n){if(i&1){let e=$e();w(0,"div",7,2),ee("click",function(){let r=ce(e),o=r.$implicit,a=r.$index,s=fe(),c=$t(1);return le(s._handleClick(o,c,a))})("cdkFocusChange",function(r){let o=ce(e).$index,a=fe();return le(a._tabFocusChanged(r,o))}),ie(2,"span",8)(3,"div",9),w(4,"span",10)(5,"span",11),te(6,Yk,1,1,null,12)(7,Kk,1,1),I()()()}if(i&2){let e=n.$implicit,t=n.$index,r=$t(1),o=fe();qe(e.labelClass),P("mdc-tab--active",o.selectedIndex===t),ue("id",o._getTabLabelId(t))("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),W("tabIndex",o._getTabIndex(t))("aria-posinset",t+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(t))("aria-selected",o.selectedIndex===t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),V(3),ue("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),V(3),ge(e.templateLabel?6:7)}}function Zk(i,n){i&1&&A(0)}function Jk(i,n){if(i&1){let e=$e();w(0,"mat-tab-body",13),ee("_onCentered",function(){ce(e);let r=fe();return le(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){ce(e);let o=fe();return le(o._setTabBodyWrapperHeight(r))}),I()}if(i&2){let e=n.$implicit,t=n.$index,r=fe();qe(e.bodyClass),P("mat-mdc-tab-body-active",r.selectedIndex===t),ue("id",r._getTabContentId(t))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),W("tabindex",r.contentTabIndex!=null&&r.selectedIndex===t?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(t))("aria-hidden",r.selectedIndex!==t)}}var eD=["mat-tab-nav-bar",""],tD=["mat-tab-link",""],iD=new C("MatTabContent"),nD=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","matTabContent",""]],standalone:!0,features:[de([{provide:iD,useExisting:i}])]})}}return i})(),rD=new C("MatTabLabel"),bb=new C("MAT_TAB"),oD=(()=>{class i extends ag{constructor(e,t,r){super(e,t),this._closestTab=r}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(Ue),u(bb,8))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[de([{provide:rD,useExisting:i}]),ne]})}}return i})(),vb=new C("MAT_TAB_GROUP"),aD=(()=>{class i{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}constructor(e,t){this._viewContainerRef=e,this._closestTabGroup=t,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new R,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Et(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(vb,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab"]],contentQueries:function(t,r,o){if(t&1&&(he(o,oD,5),he(o,nD,7,Ae)),t&2){let a;S(a=T())&&(r.templateLabel=a.first),S(a=T())&&(r._explicitContent=a.first)}},viewQuery:function(t,r){if(t&1&&re(Ae,7),t&2){let o;S(o=T())&&(r._implicitContent=o.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",O],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[de([{provide:bb,useExisting:i}]),ae,Pe,Q],ngContentSelectors:Hr,decls:1,vars:0,template:function(t,r){t&1&&(se(),te(0,Hk,1,0,"ng-template"))},encapsulation:2})}}return i})(),Qd="mdc-tab-indicator--active",db="mdc-tab-indicator--no-transition",Hs=class{constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar())}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),t=this._currentItem;if(e!==t&&(t?.deactivateInkBar(),e)){let r=t?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},_b=(()=>{class i{constructor(){this._elementRef=F(E),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let t=this._elementRef.nativeElement;if(!e||!t.getBoundingClientRect||!this._inkBarContentElement){t.classList.add(Qd);return}let r=t.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;t.classList.add(db),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),t.getBoundingClientRect(),t.classList.remove(db),t.classList.add(Qd),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Qd)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,t=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");t.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",t.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",O]},features:[ae]})}}return i})();var yb=(()=>{class i extends _b{constructor(e){super(),this.elementRef=e,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,r){t&2&&(W("aria-disabled",!!r.disabled),P("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",O]},standalone:!0,features:[ae,ne]})}}return i})(),ub=Bt({passive:!0}),sD=650,cD=100,xb=(()=>{class i{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let t=isNaN(e)?0:e;this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}constructor(e,t,r,o,a,s,c){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=r,this._dir=o,this._ngZone=a,this._platform=s,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new R,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new R,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new z,this.indexFocused=new z,this._sharedResizeObserver=F(Ns),this._injector=F(Ee),a.runOutsideAngular(()=>{Nt(e.nativeElement,"mouseleave").pipe($(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Nt(this._previousPaginator.nativeElement,"touchstart",ub).pipe($(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Nt(this._nextPaginator.nativeElement,"touchstart",ub).pipe($(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:He("ltr"),t=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(fi(32),$(this._destroyed)),r=this._viewportRuler.change(150).pipe($(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new an(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),tt(o,{injector:this._injector}),Fe(e,r,t,this._items.changes,this._itemsResized()).pipe($(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?Bi:this._items.changes.pipe(Me(this._items),st(e=>new Ge(t=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>t.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),Yn(1),ye(e=>e.some(t=>t.contentRect.width>0&&t.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Le(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let t=this._items.get(this.focusIndex);t&&!t.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let t=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?t.scrollLeft=0:t.scrollLeft=t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,t=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let t=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*t/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let t=this._items?this._items.toArray()[e]:null;if(!t)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=t.elementRef.nativeElement,s,c;this._getLayoutDirection()=="ltr"?(s=o,c=s+a):(c=this._tabListInner.nativeElement.offsetWidth-o,s=c-a);let l=this.scrollDistance,d=this.scrollDistance+r;sd&&(this.scrollDistance+=Math.min(c-d,s-l))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,t=this._elementRef.nativeElement.offsetWidth,r=e-t>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,t=this._tabListContainer.nativeElement.offsetWidth;return e-t||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&t.button!=null&&t.button!==0||(this._stopInterval(),Cu(sD,cD).pipe($(Fe(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Dt),u(Re,8),u(B),u(me),u(Ce,8))}}static{this.\u0275dir=D({type:i,inputs:{disablePagination:[2,"disablePagination","disablePagination",O],selectedIndex:[2,"selectedIndex","selectedIndex",Ye]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ae]})}}return i})(),lD=(()=>{class i extends xb{constructor(e,t,r,o,a,s,c){super(e,t,r,o,a,s,c),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new Hs(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Dt),u(Re,8),u(B),u(me),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-header"]],contentQueries:function(t,r,o){if(t&1&&he(o,yb,4),t&2){let a;S(a=T())&&(r._items=a)}},viewQuery:function(t,r){if(t&1&&(re(hb,7),re(mb,7),re(pb,7),re(fb,5),re(gb,5)),t&2){let o;S(o=T())&&(r._tabListContainer=o.first),S(o=T())&&(r._tabList=o.first),S(o=T())&&(r._tabListInner=o.first),S(o=T())&&(r._nextPaginator=o.first),S(o=T())&&(r._previousPaginator=o.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(t,r){t&2&&P("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",O]},standalone:!0,features:[ae,ne,Q],ngContentSelectors:Hr,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(t,r){if(t&1){let o=$e();se(),w(0,"div",5,0),ee("click",function(){return ce(o),le(r._handlePaginatorClick("before"))})("mousedown",function(s){return ce(o),le(r._handlePaginatorPress("before",s))})("touchend",function(){return ce(o),le(r._stopInterval())}),ie(2,"div",6),I(),w(3,"div",7,1),ee("keydown",function(s){return ce(o),le(r._handleKeydown(s))}),w(5,"div",8,2),ee("cdkObserveContent",function(){return ce(o),le(r._onContentChanges())}),w(7,"div",9,3),A(9),I()()(),w(10,"div",10,4),ee("mousedown",function(s){return ce(o),le(r._handlePaginatorPress("after",s))})("click",function(){return ce(o),le(r._handlePaginatorClick("after"))})("touchend",function(){return ce(o),le(r._stopInterval())}),ie(12,"div",6),I()}t&2&&(P("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),ue("matRippleDisabled",r._disableScrollBefore||r.disableRipple),V(3),P("_mat-animation-noopable",r._animationMode==="NoopAnimations"),V(2),W("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),V(5),P("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),ue("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[ti,td],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}}return i})(),wb=new C("MAT_TABS_CONFIG"),dD={translateTab:gt("translateTab",[nt("center, void, left-origin-center, right-origin-center",Oe({transform:"none",visibility:"visible"})),nt("left",Oe({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),nt("right",Oe({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Je("* => left, * => right, left => center, right => center",Ze("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Je("void => left-origin-center",[Oe({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Ze("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Je("void => right-origin-center",[Oe({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Ze("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},uD=(()=>{class i extends mi{constructor(e,t,r,o){super(e,t,o),this._host=r,this._centeringSub=Te.EMPTY,this._leavingSub=Te.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Me(this._host._isCenterPosition(this._host._position))).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(fn),u(Ue),u(Lt(()=>Cb)),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[ne]})}}return i})(),Cb=(()=>{class i{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,t,r){this._elementRef=e,this._dir=t,this._dirChangeSubscription=Te.EMPTY,this._translateTabComplete=new R,this._onCentering=new z,this._beforeCentering=new z,this._afterLeavingCenter=new z,this._onCentered=new z(!0),this.animationDuration="500ms",this.preserveContent=!1,t&&(this._dirChangeSubscription=t.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(Di((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let t=this._getLayoutDirection();return t=="ltr"&&e<=0||t=="rtl"&&e>0?"left-origin-center":"right-origin-center"}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Re,8),u(pe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-body"]],viewQuery:function(t,r){if(t&1&&re(mi,5),t&2){let o;S(o=T())&&(r._portalHost=o.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[Q],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(t,r){if(t&1){let o=$e();w(0,"div",1,0),ee("@translateTab.start",function(s){return ce(o),le(r._onTranslateTabStarted(s))})("@translateTab.done",function(s){return ce(o),le(r._translateTabComplete.next(s))}),te(2,qk,0,0,"ng-template",2),I()}t&2&&ue("@translateTab",Qu(3,Uk,r._position,Hu(1,Qk,r.animationDuration)))},dependencies:[uD,Fi],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[dD.translateTab]}})}}return i})(),hD=0,mD=!0,YH=(()=>{class i{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}get animationDuration(){return this._animationDuration}set animationDuration(e){let t=e+"";this._animationDuration=/^\d+$/.test(t)?e+"ms":t}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!mD)throw new Error("mat-tab-group background color must be set through the Sass theming API");let t=this._elementRef.nativeElement.classList;t.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&t.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,t,r,o){this._elementRef=e,this._changeDetectorRef=t,this._animationMode=o,this._tabs=new Gt,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Te.EMPTY,this._tabLabelSubscription=Te.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new z,this.focusChange=new z,this.animationDone=new z,this.selectedTabChange=new z(!0),this._isServer=!F(me).isBrowser,this._groupId=hD++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=r&&r.disablePagination!=null?r.disablePagination:!1,this.dynamicHeight=r&&r.dynamicHeight!=null?r.dynamicHeight:!1,r?.contentTabIndex!=null&&(this.contentTabIndex=r.contentTabIndex),this.preserveContent=!!r?.preserveContent,this.fitInkBarToContent=r&&r.fitInkBarToContent!=null?r.fitInkBarToContent:!1,this.stretchTabs=r&&r.stretchTabs!=null?r.stretchTabs:!0}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let t=this._selectedIndex==null;if(!t){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,r)=>{t.position=r-e,this._selectedIndex!=null&&t.position==0&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let t=this._tabs.toArray(),r;for(let o=0;o{t[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Me(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(t=>t._closestTabGroup===this||!t._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let t=this._tabHeader;t&&(t.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let t=new Ud;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Fe(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,r){t.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let t=this._lastFocusedTabIndex??this.selectedIndex;return e===t?0:-1}_tabFocusChanged(e,t){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=t)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(wb,8),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-group"]],contentQueries:function(t,r,o){if(t&1&&he(o,aD,5),t&2){let a;S(a=T())&&(r._allTabs=a)}},viewQuery:function(t,r){if(t&1&&(re(Wk,5),re(Gk,5)),t&2){let o;S(o=T())&&(r._tabBodyWrapper=o.first),S(o=T())&&(r._tabHeader=o.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(t,r){t&2&&(qe("mat-"+(r.color||"primary")),ft("--mat-tab-animation-duration",r.animationDuration),P("mat-mdc-tab-group-dynamic-height",r.dynamicHeight)("mat-mdc-tab-group-inverted-header",r.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",r.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",O],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",O],dynamicHeight:[2,"dynamicHeight","dynamicHeight",O],selectedIndex:[2,"selectedIndex","selectedIndex",Ye],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Ye],disablePagination:[2,"disablePagination","disablePagination",O],disableRipple:[2,"disableRipple","disableRipple",O],preserveContent:[2,"preserveContent","preserveContent",O],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[de([{provide:vb,useExisting:i}]),ae,Q],ngContentSelectors:Hr,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(t,r){if(t&1){let o=$e();se(),w(0,"mat-tab-header",3,0),ee("indexFocused",function(s){return ce(o),le(r._focusChanged(s))})("selectFocusedIndex",function(s){return ce(o),le(r.selectedIndex=s)}),sc(2,Xk,8,17,"div",4,ac),I(),te(4,Zk,1,0),w(5,"div",5,1),sc(7,Jk,1,13,"mat-tab-body",6,ac),I()}t&2&&(ue("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),V(2),cc(r._tabs),V(2),ge(r._isServer?4:-1),V(),P("_mat-animation-noopable",r._animationMode==="NoopAnimations"),V(2),cc(r._tabs))},dependencies:[lD,yb,bf,ti,mi,Cb],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}}return i})(),Ud=class{},kb=0,pD=(()=>{class i extends xb{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(e),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(e){let t=e+"";this._animationDuration=/^\d+$/.test(t)?e+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let t=this._elementRef.nativeElement.classList;t.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&t.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,t,r,o,a,s,c,l){super(e,o,a,t,r,s,c),this._fitInkBarToContent=new Vi(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=l&&l.disablePagination!=null?l.disablePagination:!1,this.fitInkBarToContent=l&&l.fitInkBarToContent!=null?l.fitInkBarToContent:!1,this.stretchTabs=l&&l.stretchTabs!=null?l.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new Hs(this._items),this._items.changes.pipe(Me(null),$(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let e=this._items.toArray();for(let t=0;t.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}}return i})(),fD=(()=>{class i extends _b{get active(){return this._isActive}set active(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(e,t,r,o,a,s){super(),this._tabNavBar=e,this.elementRef=t,this._focusMonitor=a,this._destroyed=new R,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id=`mat-tab-link-${kb++}`,this.rippleConfig=r||{},this.tabIndex=parseInt(o)||0,s==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),e._fitInkBarToContent.pipe($(this._destroyed)).subscribe(c=>{this.fitInkBarToContent=c})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(this.disabled?e.preventDefault():this._tabNavBar.tabPanel&&(e.keyCode===32&&e.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex}static{this.\u0275fac=function(t){return new(t||i)(u(pD),u(E),u(Ln,8),It("tabindex"),u(ot),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(t,r){t&1&&ee("focus",function(){return r._handleFocus()})("keydown",function(a){return r._handleKeydown(a)}),t&2&&(W("aria-controls",r._getAriaControls())("aria-current",r._getAriaCurrent())("aria-disabled",r.disabled)("aria-selected",r._getAriaSelected())("id",r.id)("tabIndex",r._getTabIndex())("role",r._getRole()),P("mat-mdc-tab-disabled",r.disabled)("mdc-tab--active",r.active))},inputs:{active:[2,"active","active",O],disabled:[2,"disabled","disabled",O],disableRipple:[2,"disableRipple","disableRipple",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ye(e)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[ae,ne,Q],attrs:tD,ngContentSelectors:Hr,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(t,r){t&1&&(se(),ie(0,"span",0)(1,"div",1),w(2,"span",2)(3,"span",3),A(4),I()()),t&2&&(V(),ue("matRippleTrigger",r.elementRef.nativeElement)("matRippleDisabled",r.rippleDisabled))},dependencies:[ti],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}}return i})(),KH=(()=>{class i{constructor(){this.id=`mat-tab-nav-panel-${kb++}`}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(t,r){t&2&&W("aria-labelledby",r._activeTabId)("id",r.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[Q],ngContentSelectors:Hr,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},encapsulation:2,changeDetection:0})}}return i})(),Db=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})();var qd=class{constructor(n,e){this._document=e;let t=this._textarea=this._document.createElement("textarea"),r=t.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",t.setAttribute("aria-hidden","true"),t.value=n,t.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(t)}copy(){let n=this._textarea,e=!1;try{if(n){let t=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),t&&t.focus()}}catch{}return e}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},gD=(()=>{class i{constructor(e){this._document=e}copy(e){let t=this.beginCopy(e),r=t.copy();return t.destroy(),r}beginCopy(e){return new qd(e,this._document)}static{this.\u0275fac=function(t){return new(t||i)(x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),bD=new C("CDK_COPY_TO_CLIPBOARD_CONFIG"),sQ=(()=>{class i{constructor(e,t,r){this._clipboard=e,this._ngZone=t,this.text="",this.attempts=1,this.copied=new z,this._pending=new Set,r&&r.attempts!=null&&(this.attempts=r.attempts)}copy(e=this.attempts){if(e>1){let t=e,r=this._clipboard.beginCopy(this.text);this._pending.add(r);let o=()=>{let a=r.copy();!a&&--t&&!this._destroyed?this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(o,1)):(this._currentTimeout=null,this._pending.delete(r),r.destroy(),this.copied.emit(a))};o()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}static{this.\u0275fac=function(t){return new(t||i)(u(gD),u(B),u(bD,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,r){t&1&&ee("click",function(){return r.copy()})},inputs:{text:[0,"cdkCopyToClipboard","text"],attempts:[0,"cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"},standalone:!0})}}return i})(),Eb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var vD=["panel"],_D=["*"];function yD(i,n){if(i&1){let e=$e();w(0,"div",1,0),ee("@panelAnimation.done",function(r){ce(e);let o=fe();return le(o._animationDone.next(r))}),A(2),I()}if(i&2){let e=n.id,t=fe();qe(t._classList),P("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),ue("id",t.id)("@panelAnimation",t.isOpen?"visible":"hidden"),W("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}var xD=gt("panelAnimation",[nt("void, hidden",Oe({opacity:0,transform:"scaleY(0.8)"})),Je(":enter, hidden => visible",[$u([Ze("0.03s linear",Oe({opacity:1})),Ze("0.12s cubic-bezier(0, 0, 0.2, 1)",Oe({transform:"scaleY(1)"}))])]),Je(":leave, visible => hidden",[Ze("0.075s linear",Oe({opacity:0}))])]),wD=0,Wd=class{constructor(n,e){this.source=n,this.option=e}},Ib=new C("mat-autocomplete-default-options",{providedIn:"root",factory:CD});function CD(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var NQ=(()=>{class i{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}constructor(e,t,r,o){this._changeDetectorRef=e,this._elementRef=t,this._defaults=r,this._activeOptionChanges=Te.EMPTY,this._animationDone=new z,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new z,this.opened=new z,this.closed=new z,this.optionActivated=new z,this.id=`mat-autocomplete-${wD++}`,this.inertGroups=o?.SAFARI||!1,this.autoActiveFirstOption=!!r.autoActiveFirstOption,this.autoSelectActiveOption=!!r.autoSelectActiveOption,this.requireSelection=!!r.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Or(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let t=new Wd(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_skipPredicate(){return!1}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(Ib),u(me))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-autocomplete"]],contentQueries:function(t,r,o){if(t&1&&(he(o,As,5),he(o,Vo,5)),t&2){let a;S(a=T())&&(r.options=a),S(a=T())&&(r.optionGroups=a)}},viewQuery:function(t,r){if(t&1&&(re(Ae,7),re(vD,5)),t&2){let o;S(o=T())&&(r.template=o.first),S(o=T())&&(r.panel=o.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",O],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",O],requireSelection:[2,"requireSelection","requireSelection",O],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",O],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",O]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[de([{provide:jo,useExisting:i}]),ae,Q],ngContentSelectors:_D,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(t,r){t&1&&(se(),te(0,yD,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[xD]},changeDetection:0})}}return i})();var kD={provide:vn,useExisting:Lt(()=>ID),multi:!0};var Sb=new C("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}});function DD(i){return()=>i.scrollStrategies.reposition()}var ED={provide:Sb,deps:[je],useFactory:DD},ID=(()=>{class i{constructor(e,t,r,o,a,s,c,l,d,h,m){this._element=e,this._overlay=t,this._viewContainerRef=r,this._zone=o,this._changeDetectorRef=a,this._dir=c,this._formField=l,this._document=d,this._viewportRuler=h,this._defaults=m,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Te.EMPTY,this._breakpointObserver=F(Cs),this._handsetLandscapeSubscription=Te.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new R,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new R,this._injector=F(Ee),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=zi(()=>{let p=this.autocomplete?this.autocomplete.options:null;return p?p.changes.pipe(Me(p),st(()=>Fe(...p.map(f=>f.onSelectionChange)))):this._initialized.pipe(st(()=>this.optionSelections))}),this._handlePanelKeydown=p=>{(p.keyCode===27&&!Le(p)||p.keyCode===38&&Le(p,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),p.stopPropagation(),p.preventDefault())},this._trackedModal=null,this._scrollStrategy=s}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&sn(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Fe(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(ye(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(ye(()=>this._overlayAttached)):He()).pipe(xe(e=>e instanceof Lo?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Fe(Nt(this._document,"click"),Nt(this._document,"auxclick"),Nt(this._document,"touchend")).pipe(ye(e=>{let t=Ot(e),r=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(t))&&(!o||!o.contains(t))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(t)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let t=e.keyCode,r=Le(e);if(t===27&&!r&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&t===13&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let o=this.autocomplete._keyManager.activeItem,a=t===38||t===40;t===9||a&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(a||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let t=e.target,r=t.value;if(t.type==="number"&&(r=r==""?null:parseFloat(r)),this._previousValue!==r){if(this._previousValue=r,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(r),!r)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let o=this.autocomplete.options?.find(a=>a.selected);if(o){let a=this._getDisplayValue(o.value);r!==a&&o.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let o=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(o)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new Ge(r=>{tt(()=>{r.next()},{injector:this._injector})}),t=this.autocomplete.options.changes.pipe(gi(()=>this._positionStrategy.reapplyLastPosition()),qr(0));return Fe(e,t).pipe(st(()=>this._zone.run(()=>{let r=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Ke(1)).subscribe(r=>this._setValueAndClose(r))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let t=this.autocomplete;return t&&t.displayWith?t.displayWith(e):e}_assignOptionValue(e){let t=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(t??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let t=this.autocomplete,r=e?e.source:this._pendingAutoselectedOption;r?(this._clearPreviousSelectedOption(r),this._assignOptionValue(r.value),this._onChange(r.value),t._emitSelectEvent(r),this._element.nativeElement.focus()):t.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),t._animationDone?t._animationDone.pipe(Ke(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,t){this.autocomplete?.options?.forEach(r=>{r!==e&&r.selected&&r.deselect(t)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let t=this.autocomplete.id;Pr(this._trackedModal,"aria-owns",t)}}_attachOverlay(e){this.autocomplete;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new Et(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(af.HandsetLandscape).subscribe(o=>{o.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),t&&!t.hasAttached()&&(t.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let r=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&r!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Ci({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}],a;this.position==="above"?a=o:this.position==="below"?a=t:a=[...t,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let t=-1;for(let r=0;r .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=this.autocomplete.id;this._trackedModal&&sn(this._trackedModal,"aria-owns",t),Pr(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;sn(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(je),u(Ue),u(B),u(pe),u(Sb),u(Re,8),u(Ri,9),u(oe,8),u(Dt),u(Ib,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(t,r){t&1&&ee("focusin",function(){return r._handleFocus()})("blur",function(){return r._onTouched()})("input",function(a){return r._handleInput(a)})("keydown",function(a){return r._handleKeydown(a)})("click",function(){return r._handleClick()}),t&2&&W("autocomplete",r.autocompleteAttribute)("role",r.autocompleteDisabled?null:"combobox")("aria-autocomplete",r.autocompleteDisabled?null:"list")("aria-activedescendant",r.panelOpen&&r.activeOption?r.activeOption.id:null)("aria-expanded",r.autocompleteDisabled?null:r.panelOpen.toString())("aria-controls",r.autocompleteDisabled||!r.panelOpen||r.autocomplete==null?null:r.autocomplete.id)("aria-haspopup",r.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",O]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[de([kD]),ae,Pe]})}}return i})(),Tb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[ED],imports:[ii,Lr,K,yt,Ut,Lr,K]})}}return i})();var TD=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],MD=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function AD(i,n){i&1&&(w(0,"span",3),A(1,1),I())}function OD(i,n){i&1&&(w(0,"span",6),A(1,2),I())}var RD='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width);border-radius:var(--mdc-chip-container-shape-radius);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-app-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-app-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.cdk-high-contrast-active .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}',FD=[[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],PD=["mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function ND(i,n){i&1&&ie(0,"span",0)}function LD(i,n){i&1&&(w(0,"span",2),A(1),I())}function jD(i,n){i&1&&A(0,1)}function VD(i,n){i&1&&ie(0,"span",7)}function BD(i,n){if(i&1&&te(0,jD,1,0)(1,VD,1,0,"span",7),i&2){let e=fe();ge(e.contentEditInput?0:1)}}function zD(i,n){i&1&&A(0,2)}function HD(i,n){i&1&&(w(0,"span",5),A(1,3),I())}var Ob=["*"],QD=".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",Rb=new C("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),$d=new C("MatChipAvatar"),Mb=new C("MatChipTrailingIcon"),Yd=new C("MatChipRemove"),Zd=new C("MatChip"),Qs=(()=>{class i{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=e}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,t){this._elementRef=e,this._parentChip=t,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,e.nativeElement.nodeName==="BUTTON"&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Zd))}}static{this.\u0275dir=D({type:i,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(t,r){t&1&&ee("click",function(a){return r._handleClick(a)})("keydown",function(a){return r._handleKeydown(a)}),t&2&&(W("tabindex",r._getTabindex())("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),P("mdc-evolution-chip__action--primary",r._isPrimary)("mdc-evolution-chip__action--presentational",!r.isInteractive)("mdc-evolution-chip__action--trailing",!r._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:Ye(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[ae]})}}return i})(),sU=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],standalone:!0,features:[de([{provide:$d,useExisting:i}])]})}}return i})();var cU=(()=>{class i extends Qs{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(t,r){t&2&&W("aria-hidden",null)},standalone:!0,features:[de([{provide:Yd,useExisting:i}]),ne]})}}return i})(),UD=0,Kd=(()=>{class i{_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}constructor(e,t,r,o,a,s,c){this._changeDetectorRef=e,this._elementRef=t,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=c,this._onFocus=new R,this._onBlur=new R,this.role=null,this._hasFocusInternal=!1,this.id=`mat-mdc-chip-${UD++}`,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._chipListDisabled=!1,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this._disabled=!1,this.removed=new z,this.destroyed=new z,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=F(Fs),this._injector=F(Ee),this._document=a,this._animationsDisabled=s==="NoopAnimations",this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Fe(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(t=>{let r=t._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){let e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let t=e!==null;t!==this._hasFocusInternal&&(this._hasFocusInternal=t,t?this._onFocus.next({chip:this}):tt(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(B),u(ot),u(oe),u(Ce,8),u(Ln,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,r,o){if(t&1&&(he(o,$d,5),he(o,Mb,5),he(o,Yd,5),he(o,$d,5),he(o,Mb,5),he(o,Yd,5)),t&2){let a;S(a=T())&&(r.leadingIcon=a.first),S(a=T())&&(r.trailingIcon=a.first),S(a=T())&&(r.removeIcon=a.first),S(a=T())&&(r._allLeadingIcons=a),S(a=T())&&(r._allTrailingIcons=a),S(a=T())&&(r._allRemoveIcons=a)}},viewQuery:function(t,r){if(t&1&&re(Qs,5),t&2){let o;S(o=T())&&(r.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(t,r){t&1&&ee("keydown",function(a){return r._handleKeydown(a)}),t&2&&(St("id",r.id),W("role",r.role)("aria-label",r.ariaLabel),qe("mat-"+(r.color||"primary")),P("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-basic-chip",r._isBasicChip)("mat-mdc-standard-chip",!r._isBasicChip)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon())("_mat-animation-noopable",r._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",O],highlighted:[2,"highlighted","highlighted",O],disableRipple:[2,"disableRipple","disableRipple",O],disabled:[2,"disabled","disabled",O]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[de([{provide:Zd,useExisting:i}]),ae,Q],ngContentSelectors:MD,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,r){t&1&&(se(TD),ie(0,"span",0),w(1,"span",1)(2,"span",2),te(3,AD,2,0,"span",3),w(4,"span",4),A(5),ie(6,"span",5),I()()(),te(7,OD,2,0,"span",6)),t&2&&(V(2),ue("isInteractive",!1),V(),ge(r.leadingIcon?3:-1),V(4),ge(r._hasTrailingIcon()?7:-1))},dependencies:[Qs],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width);border-radius:var(--mdc-chip-container-shape-radius);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-app-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-app-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.cdk-high-contrast-active .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();var Gd=(()=>{class i{constructor(e,t){this._elementRef=e,this._document=t}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);let t=window.getSelection();t.removeAllRanges(),t.addRange(e)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"],standalone:!0})}}return i})(),qD=(()=>{class i extends Kd{constructor(e,t,r,o,a,s,c,l){super(e,t,r,o,a,s,c),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new z,this._isEditing=!1,this.role="row",this._onBlur.pipe($(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){e.keyCode===13&&!this.disabled?this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e):this._isEditing?e.stopPropagation():super._handleKeydown(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;let t=this.value;this._isEditing=this._editStartPending=!0,tt(()=>{this._getEditInput().initialize(t),this._editStartPending=!1},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(B),u(ot),u(oe),u(Ce,8),u(Ln,8),It("tabindex"))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(t,r,o){if(t&1&&he(o,Gd,5),t&2){let a;S(a=T())&&(r.contentEditInput=a.first)}},viewQuery:function(t,r){if(t&1&&re(Gd,5),t&2){let o;S(o=T())&&(r.defaultEditInput=o.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(t,r){t&1&&ee("focus",function(a){return r._handleFocus(a)})("dblclick",function(a){return r._handleDoubleclick(a)}),t&2&&(St("id",r.id),W("tabindex",r.disabled?null:-1)("aria-label",null)("aria-description",null)("role",r.role),P("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-chip-editing",r._isEditing)("mat-mdc-chip-editable",r.editable)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},standalone:!0,features:[de([{provide:Kd,useExisting:i},{provide:Zd,useExisting:i}]),ne,Q],ngContentSelectors:PD,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],["matChipEditInput",""]],template:function(t,r){t&1&&(se(FD),te(0,ND,1,0,"span",0),w(1,"span",1),te(2,LD,2,0,"span",2),w(3,"span",3),te(4,BD,2,1)(5,zD,1,0),ie(6,"span",4),I()(),te(7,HD,2,0,"span",5),w(8,"span",6),Tt(9),I()),t&2&&(ge(r._isEditing?-1:0),V(),ue("disabled",r.disabled),W("aria-label",r.ariaLabel)("aria-describedby",r._ariaDescriptionId),V(),ge(r.leadingIcon?2:-1),V(2),ge(r._isEditing?4:5),V(3),ge(r._hasTrailingIcon()?7:-1),V(),ue("id",r._ariaDescriptionId),V(),oi(r.ariaDescription))},dependencies:[Qs,Gd],styles:[RD],encapsulation:2,changeDetection:0})}}return i})(),WD=(()=>{class i{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,t,r){this._elementRef=e,this._changeDetectorRef=t,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new R,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new Gt}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(Me(null),st(()=>Fe(...this._chips.map(e))))}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-mdc-chip"))return!0;t=t.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Me(this._chips)).subscribe(e=>{let t=[];e.forEach(r=>r._getActions().forEach(o=>t.push(o))),this._chipActions.reset(t),this._chipActions.notifyOnChanges()}),this._keyManager=new an(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe($(this._destroyed)).subscribe(({chip:e})=>{let t=e._getSourceAction(document.activeElement);t&&this._keyManager.updateActiveItem(t)}),this._dir?.change.pipe($(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Me(null),$(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe($(this._destroyed)).subscribe(e=>{let r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),t=this._chips.toArray()[e];t.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():t.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Re,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-chip-set"]],contentQueries:function(t,r,o){if(t&1&&he(o,Kd,5),t&2){let a;S(a=T())&&(r._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(t,r){t&1&&ee("keydown",function(a){return r._handleKeydown(a)}),t&2&&W("role",r.role)},inputs:{disabled:[2,"disabled","disabled",O],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ye(e)]},standalone:!0,features:[ae,Q],ngContentSelectors:Ob,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,r){t&1&&(se(),w(0,"div",0),A(1),I())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}}return i})();var Xd=class{constructor(n,e){this.source=n,this.value=e}},lU=(()=>{class i extends WD{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(Ui.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,r,o,a,s,c){super(e,t,r),this.ngControl=c,this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new z,this.valueChange=new z,this._chips=void 0,this.stateChanges=new R,this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new ln(s,c,a,o,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe($(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Fe(this.chipFocusChanges,this._chips.changes).pipe($(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){if(!(this.disabled||this._chipInput.focused)){if(!this._chips.length||this._chips.first.disabled)Promise.resolve().then(()=>this._chipInput.focus());else{let e=this._keyManager.activeItem;e?e.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){let t=e.keyCode,r=this._keyManager.activeItem;if(t===9)this._chipInput.focused&&Le(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),r?this._keyManager.setActiveItem(r):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput.focused)if((t===38||t===40)&&r){let o=this._chipActions.filter(c=>c._isPrimary===r._isPrimary&&!this._skipPredicate(c)),a=o.indexOf(r),s=e.keyCode===38?-1:1;e.preventDefault(),a>-1&&this._isValidIndex(a+s)&&this._keyManager.setActiveItem(o[a+s])}else super._handleKeydown(e);this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let e=this._chips.length?this._chips.toArray().map(t=>t.value):[];this._value=e,this.change.emit(new Xd(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Re,8),u(_n,8),u(yn,8),u(dn),u(ai,10))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-chip-grid"]],contentQueries:function(t,r,o){if(t&1&&he(o,qD,5),t&2){let a;S(a=T())&&(r._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(t,r){t&1&&ee("focus",function(){return r.focus()})("blur",function(){return r._blur()}),t&2&&(W("role",r.role)("tabindex",r.disabled||r._chips&&r._chips.length===0?-1:r.tabIndex)("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState),P("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-invalid",r.errorState)("mat-mdc-chip-list-required",r.required))},inputs:{disabled:[2,"disabled","disabled",O],placeholder:"placeholder",required:[2,"required","required",O],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},standalone:!0,features:[de([{provide:Vn,useExisting:i}]),ae,ne,Q],ngContentSelectors:Ob,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,r){t&1&&(se(),w(0,"div",0),A(1),I())},styles:[QD],encapsulation:2,changeDetection:0})}}return i})(),GD=0,dU=(()=>{class i{get chipGrid(){return this._chipGrid}set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=e}get empty(){return!this.inputElement.value}constructor(e,t,r){this._elementRef=e,this.focused=!1,this.addOnBlur=!1,this.chipEnd=new z,this.placeholder="",this.id=`mat-mdc-chip-list-input-${GD++}`,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=t.separatorKeyCodes,r&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(e){this.empty&&e.keyCode===8?(e.repeat||this._chipGrid._focusLastChip(),e.preventDefault()):this._emitChipEnd(e)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!Le(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Rb),u(Ri,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(t,r){t&1&&ee("keydown",function(a){return r._keydown(a)})("blur",function(){return r._blur()})("focus",function(){return r._focus()})("input",function(){return r._onInput()}),t&2&&(St("id",r.id),W("disabled",r.disabled||null)("placeholder",r.placeholder||null)("aria-invalid",r._chipGrid&&r._chipGrid.ngControl?r._chipGrid.ngControl.invalid:null)("aria-required",r._chipGrid&&r._chipGrid.required||null)("required",r._chipGrid&&r._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",O],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",O]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],standalone:!0,features:[ae,Pe]})}}return i})();var Fb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[dn,{provide:Rb,useValue:{separatorKeyCodes:[13]}}],imports:[K,jn,K]})}}return i})();var $D=["mat-menu-item",""],YD=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],KD=["mat-icon, [matMenuItemIcon]","*"];function XD(i,n){i&1&&(Wt(),w(0,"svg",2),ie(1,"polygon",3),I())}var ZD=["*"];function JD(i,n){if(i&1){let e=$e();w(0,"div",0),ee("keydown",function(r){ce(e);let o=fe();return le(o._handleKeydown(r))})("click",function(){ce(e);let r=fe();return le(r.closed.emit("click"))})("@transformMenu.start",function(r){ce(e);let o=fe();return le(o._onAnimationStart(r))})("@transformMenu.done",function(r){ce(e);let o=fe();return le(o._onAnimationDone(r))}),w(1,"div",1),A(2),I()()}if(i&2){let e=fe();qe(e._classList),ue("id",e.panelId)("@transformMenu",e._panelAnimationState),W("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var eu=new C("MAT_MENU_PANEL"),Jd=(()=>{class i{constructor(e,t,r,o,a){this._elementRef=e,this._document=t,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new R,this._focused=new R,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),t=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r enter",Ze("120ms cubic-bezier(0, 0, 0.2, 1)",Oe({opacity:1,transform:"scale(1)"}))),Je("* => void",Ze("100ms 25ms linear",Oe({opacity:0})))]),fadeInItems:gt("fadeInItems",[nt("showing",Oe({opacity:1})),Je("void => *",[Oe({opacity:0}),Ze("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},LU=qs.fadeInItems,jU=qs.transformMenu,tE=0,iE=new C("mat-menu-default-options",{providedIn:"root",factory:nE});function nE(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var Us=(()=>{class i{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}set panelClass(e){let t=this._previousPanelClass,r=N({},this._classList);t&&t.length&&t.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,t,r,o){this._elementRef=e,this._changeDetectorRef=o,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new Gt,this._classList={},this._panelAnimationState="void",this._animationDone=new R,this.closed=new z,this.close=this.closed,this.panelId=`mat-menu-panel-${tE++}`,this._injector=F(Ee),this.overlayPanelClass=r.overlayPanelClass||"",this._xPosition=r.xPosition,this._yPosition=r.yPosition,this.backdropClass=r.backdropClass,this.overlapTrigger=r.overlapTrigger,this.hasBackdrop=r.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new an(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Me(this._directDescendantItems),st(e=>Fe(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let t=this._keyManager;if(this._panelAnimationState==="enter"&&t.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,t.activeItemIndex||0));r[o]&&!r[o].disabled?t.setActiveItem(o):t.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(Me(this._directDescendantItems),st(t=>Fe(...t.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let t=e.keyCode,r=this._keyManager;switch(t){case 27:Le(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(t===38||t===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=tt(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&t&&t.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){if(this._baseElevation===null){let s=(typeof getComputedStyle=="function"?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(s)}let t=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${t}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));if(!o||o===this._previousElevation){let a=N({},this._classList);this._previousElevation&&(a[this._previousElevation]=!1),a[r]=!0,this._previousElevation=r,this._classList=a}}setPositionClasses(e=this.xPosition,t=this.yPosition){this._classList=Qe(N({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":t==="above","mat-menu-below":t==="below"}),this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,e.toState==="enter"&&this._keyManager.activeItemIndex===0&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Me(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B),u(iE),u(pe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-menu"]],contentQueries:function(t,r,o){if(t&1&&(he(o,eE,5),he(o,Jd,5),he(o,Jd,4)),t&2){let a;S(a=T())&&(r.lazyContent=a.first),S(a=T())&&(r._allItems=a),S(a=T())&&(r.items=a)}},viewQuery:function(t,r){if(t&1&&re(Ae,5),t&2){let o;S(o=T())&&(r.templateRef=o.first)}},hostVars:3,hostBindings:function(t,r){t&2&&W("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",O],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:O(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[de([{provide:eu,useExisting:i}]),ae,Q],ngContentSelectors:ZD,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(t,r){t&1&&(se(),te(0,JD,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-app-surface-container));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-app-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-app-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[qs.transformMenu,qs.fadeInItems]},changeDetection:0})}}return i})(),Nb=new C("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}});function rE(i){return()=>i.scrollStrategies.reposition()}var oE={provide:Nb,deps:[je],useFactory:rE},Pb=Bt({passive:!0});var VU=(()=>{class i{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),(t==="click"||t==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,t,r,o,a,s,c,l,d){this._overlay=e,this._element=t,this._viewContainerRef=r,this._menuItemInstance=s,this._dir=c,this._focusMonitor=l,this._ngZone=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Te.EMPTY,this._hoverSubscription=Te.EMPTY,this._menuCloseSubscription=Te.EMPTY,this._changeDetectorRef=F(pe),this._handleTouchStart=h=>{No(h)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new z,this.onMenuOpen=this.menuOpened,this.menuClosed=new z,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof Us?a:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,Pb)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Pb),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let e=this.menu;if(this._menuOpen||!e)return;let t=this._createOverlay(e),r=t.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,t.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Us&&(e._startAnimation(),e._directDescendantItems.changes.pipe($(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;let t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof Us?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(ye(r=>r.toState==="void"),Ke(1),$(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let t=0,r=e.parentMenu;for(;r;)t++,r=r.parentMenu;e.setElevation(t)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let t=this._getOverlayConfig(e);this._subscribeToPositions(e,t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Ci({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,t){e.setPositionClasses&&t.positionChanges.subscribe(r=>{let o=r.connectionPair.overlayX==="start"?"after":"before",a=r.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,t){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[c,l]=[a,s],[d,h]=[r,o],m=0;if(this.triggersSubmenu()){if(h=r=e.xPosition==="before"?"start":"end",o=d=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let p=this._parentMaterialMenu.items.first;this._parentInnerPadding=p?p._getHostElement().offsetTop:0}m=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(c=a==="top"?"bottom":"top",l=s==="top"?"bottom":"top");t.withPositions([{originX:r,originY:c,overlayX:d,overlayY:a,offsetY:m},{originX:o,originY:c,overlayX:h,overlayY:a,offsetY:m},{originX:r,originY:l,overlayX:d,overlayY:s,offsetY:-m},{originX:o,originY:l,overlayX:h,overlayY:s,offsetY:-m}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:He(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ye(a=>a!==this._menuItemInstance),ye(()=>this._menuOpen)):He();return Fe(e,r,o,t)}_handleMousedown(e){Po(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let t=e.keyCode;(t===13||t===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===39&&this.dir==="ltr"||t===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(ye(e=>e===this._menuItemInstance&&!e.disabled),qr(0,Xo)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Us&&this.menu._isAnimating?this.menu._animationDone.pipe(Ke(1),qr(0,Xo),$(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Et(e.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(t){return new(t||i)(u(je),u(E),u(Ue),u(Nb),u(eu,8),u(Jd,10),u(Re,8),u(ot),u(B))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(t,r){t&1&&ee("click",function(a){return r._handleClick(a)})("mousedown",function(a){return r._handleMousedown(a)})("keydown",function(a){return r._handleKeydown(a)}),t&2&&W("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}}return i})(),Lb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[oE],imports:[yt,jn,K,ii,Ut,K]})}}return i})();var aE=["determinateSpinner"];function sE(i,n){if(i&1&&(Wt(),w(0,"svg",11),ie(1,"circle",12),I()),i&2){let e=fe();W("viewBox",e._viewBox()),V(),ft("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),W("r",e._circleRadius())}}var cE=new C("mat-progress-spinner-default-options",{providedIn:"root",factory:lE});function lE(){return{diameter:jb}}var jb=100,dE=10,JU=(()=>{class i{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,t,r){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=jb,this._noopAnimations=t==="NoopAnimations"&&!!r&&!r._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",r&&(r.color&&(this.color=this._defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-dE)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Ce,8),u(cE))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(t,r){if(t&1&&re(aE,5),t&2){let o;S(o=T())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(t,r){t&2&&(W("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),qe("mat-"+r.color),ft("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),P("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Ye],diameter:[2,"diameter","diameter",Ye],strokeWidth:[2,"strokeWidth","strokeWidth",Ye]},exportAs:["matProgressSpinner"],standalone:!0,features:[ae,Q],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(t,r){if(t&1&&(te(0,sE,2,8,"ng-template",null,0,oa),w(2,"div",2,1),Wt(),w(4,"svg",3),ie(5,"circle",4),I()(),ea(),w(6,"div",5)(7,"div",6)(8,"div",7),pt(9,8),I(),w(10,"div",9),pt(11,8),I(),w(12,"div",10),pt(13,8),I()()()),t&2){let o=$t(1);V(4),W("viewBox",r._viewBox()),V(),ft("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),W("r",r._circleRadius()),V(4),ue("ngTemplateOutlet",o),V(2),ue("ngTemplateOutlet",o),V(2),ue("ngTemplateOutlet",o)}},dependencies:[ca],styles:[".mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-app-primary))}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}"],encapsulation:2,changeDetection:0})}}return i})();var Vb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[yt,K]})}}return i})();var pE=[[["caption"]],[["colgroup"],["col"]],"*"],fE=["caption","colgroup, col","*"];function gE(i,n){i&1&&A(0,2)}function bE(i,n){i&1&&(w(0,"thead",0),pt(1,1),I(),w(2,"tbody",0),pt(3,2)(4,3),I(),w(5,"tfoot",0),pt(6,4),I())}function vE(i,n){i&1&&pt(0,1)(1,2)(2,3)(3,4)}var pi=new C("CDK_TABLE");var Xs=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkCellDef",""]],standalone:!0})}}return i})(),Zs=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}}return i})(),Hb=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}}return i})(),Qr=(()=>{class i{get name(){return this._name}set name(e){this._setNameInput(e)}get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}constructor(e){this._table=e,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static{this.\u0275fac=function(t){return new(t||i)(u(pi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,r,o){if(t&1&&(he(o,Xs,5),he(o,Zs,5),he(o,Hb,5)),t&2){let a;S(a=T())&&(r.cell=a.first),S(a=T())&&(r.headerCell=a.first),S(a=T())&&(r.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",O],stickyEnd:[2,"stickyEnd","stickyEnd",O]},standalone:!0,features:[de([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),ae]})}}return i})(),Gs=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}},Qb=(()=>{class i extends Gs{constructor(e,t){super(e,t)}static{this.\u0275fac=function(t){return new(t||i)(u(Qr),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[ne]})}}return i})();var Ub=(()=>{class i extends Gs{constructor(e,t){super(e,t);let r=e._table?._getCellRole();r&&t.nativeElement.setAttribute("role",r)}static{this.\u0275fac=function(t){return new(t||i)(u(Qr),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[ne]})}}return i})(),$s=class{constructor(){this.tasks=[],this.endTasks=[]}},Ys=new C("_COALESCED_STYLE_SCHEDULER"),iu=(()=>{class i{constructor(e){this._currentSchedule=null,this._ngZone=F(B)}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new $s,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new $s;for(let t of e.tasks)t();for(let t of e.endTasks)t()}this._currentSchedule=null})))}static{this.\u0275fac=function(t){return new(t||i)(x(B))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac})}}return i})();var nu=(()=>{class i{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof Ko?e.headerCell.template:this instanceof ru?e.footerCell.template:e.cell.template}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn))}}static{this.\u0275dir=D({type:i,features:[Pe]})}}return i})(),Ko=(()=>{class i extends nu{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,t,r){super(e,t),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn),u(pi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",O]},standalone:!0,features:[ae,ne,Pe]})}}return i})(),ru=(()=>{class i extends nu{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,t,r){super(e,t),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn),u(pi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",O]},standalone:!0,features:[ae,ne,Pe]})}}return i})(),Js=(()=>{class i extends nu{constructor(e,t,r){super(e,t),this._table=r}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn),u(pi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[ne]})}}return i})(),qn=(()=>{class i{static{this.mostRecentCellOutlet=null}constructor(e){this._viewContainer=e,i.mostRecentCellOutlet=this}ngOnDestroy(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null)}static{this.\u0275fac=function(t){return new(t||i)(u(Ue))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkCellOutlet",""]],standalone:!0})}}return i})(),ou=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})();var au=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})(),qb=(()=>{class i{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}}return i})(),Bb=["top","bottom","left","right"],tu=class{constructor(n,e,t,r,o=!0,a=!0,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){let t=[];for(let r of n)if(r.nodeType===r.ELEMENT_NODE){t.push(r);for(let o=0;o{for(let r of t)this._removeStickyStyle(r,e)})}updateStickyColumns(n,e,t,r=!0){if(!n.length||!this._isBrowser||!(e.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=n[0],a=o.children.length,s=this._getCellWidths(o,r),c=this._getStickyStartColumnPositions(s,e),l=this._getStickyEndColumnPositions(s,t),d=e.lastIndexOf(!0),h=t.indexOf(!0),m=this.direction==="rtl",p=m?"right":"left",f=m?"left":"right";for(let g of n)for(let _=0;_e[_]?g:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:h===-1?[]:s.slice(h).map((g,_)=>t[_+h]?g:null).reverse()}))})}stickRows(n,e,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let r=t==="bottom"?n.slice().reverse():n,o=t==="bottom"?e.slice().reverse():e,a=[],s=[],c=[];for(let d=0,h=0;d{let t=n.querySelector("tfoot");t&&(e.some(r=>!r)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(n,e){for(let r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);Bb.some(r=>e.indexOf(r)===-1&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,t,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${t}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},t=0;for(let r of Bb)n.style[r]&&(t+=e[r]);return t?`${t}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],r=n.children;for(let o=0;o0;o--)e[o]&&(t[o]=r,r+=n[o]);return t}};var Ks=new C("CDK_SPL");var su=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(pi);r._rowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","rowOutlet",""]],standalone:!0})}}return i})(),cu=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(pi);r._headerRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","headerRowOutlet",""]],standalone:!0})}}return i})(),lu=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(pi);r._footerRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","footerRowOutlet",""]],standalone:!0})}}return i})(),du=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(pi);r._noDataRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","noDataRowOutlet",""]],standalone:!0})}}return i})();var uu=(()=>{class i{_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role"),t=e==="grid"||e==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&t==="cell"?null:t}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,t,r,o,a,s,c,l,d,h,m,p){this._differs=e,this._changeDetectorRef=t,this._elementRef=r,this._dir=a,this._platform=c,this._viewRepeater=l,this._coalescedStyleScheduler=d,this._viewportRuler=h,this._stickyPositioningListener=m,this._onDestroy=new R,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new z,this.viewChange=new Vi({start:0,end:Number.MAX_VALUE}),this._injector=F(Ee),o||r.nativeElement.setAttribute("role","table"),this._document=s,this._isServer=!c.isBrowser,this._isNativeHtmlTable=r.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe($(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),ka(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(r,o,a)=>this._getEmbeddedViewArgs(r.item,a),r=>r.item.data,r=>{r.operation===nr.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let o=t.get(r.currentIndex);o.context.$implicit=r.item.data}),this._updateNoDataRow(),tt(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=zb(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=zb(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,a)=>{this._addStickyColumnStyles([o],this._headerRowDefs[a])}),this._rowDefs.forEach(o=>{let a=[];for(let s=0;s{this._addStickyColumnStyles([o],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{let s=r&&r.has(a)?r.get(a):[];if(s.length){let c=s.shift();return c.dataIndex=t,c}else return{data:e,rowDef:a,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ws(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Ws(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ws(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ws(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>a||!!s.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),t||r||o}_switchDataSource(e){this._data=[],ka(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;ka(this.dataSource)?e=this.dataSource.connect(this):Ur(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=He(this.dataSource)),this._renderChangeSubscription=e.pipe($(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let r=Array.from(t.columns||[]).map(s=>{let c=this._columnDefsByName.get(s);return c}),o=r.map(s=>s.sticky),a=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let r=0;r!o.when||o.when(t,e));else{let o=this._rowDefs.find(a=>a.when&&a.when(t,e))||this._defaultRowDef;o&&r.push(o)}return r.length,r}_getEmbeddedViewArgs(e,t){let r=e.rowDef,o={$implicit:e.data};return{templateRef:r.template,context:o,index:t}}_renderRow(e,t,r,o={}){let a=e.viewContainer.createEmbeddedView(t.template,o,r);return this._renderCellTemplateForItem(t,o),a}_renderCellTemplateForItem(e,t){for(let r of this._getCellTemplates(e))qn.mostRecentCellOutlet&&qn.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,r=e.length;t{let r=this._columnDefsByName.get(t);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,r)=>t||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new tu(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:He()).pipe($(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(t){let o=r.createEmbeddedView(e.templateRef),a=o.rootNodes[0];o.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(t){return new(t||i)(u(bn),u(pe),u(E),It("role"),u(Re,8),u(oe),u(me),u(io),u(Ys),u(Dt),u(Ks,12),u(B,8))}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,r,o){if(t&1&&(he(o,qb,5),he(o,Qr,5),he(o,Js,5),he(o,Ko,5),he(o,ru,5)),t&2){let a;S(a=T())&&(r._noDataRow=a.first),S(a=T())&&(r._contentColumnDefs=a),S(a=T())&&(r._contentRowDefs=a),S(a=T())&&(r._contentHeaderRowDefs=a),S(a=T())&&(r._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,r){t&2&&P("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",O],fixedLayout:[2,"fixedLayout","fixedLayout",O]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[de([{provide:pi,useExisting:i},{provide:io,useClass:rr},{provide:Ys,useClass:iu},{provide:Ks,useValue:null}]),ae,Q],ngContentSelectors:fE,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,r){t&1&&(se(pE),A(0),A(1,1),te(2,gE,1,0)(3,bE,7,0)(4,vE,4,0)),t&2&&(V(2),ge(r._isServer?2:-1),V(),ge(r._isNativeHtmlTable?3:4))},dependencies:[cu,su,du,lu],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}}return i})();function Ws(i,n){return i.concat(Array.from(n))}function zb(i,n){let e=n.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let r=t.nodeType===1?t.nodeName:null;if(r===e)return t;if(r==="TABLE")break;t=t.parentNode}return null}var Wb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[Bo]})}}return i})();var _E=[[["caption"]],[["colgroup"],["col"]],"*"],yE=["caption","colgroup, col","*"];function xE(i,n){i&1&&A(0,2)}function wE(i,n){i&1&&(w(0,"thead",0),pt(1,1),I(),w(2,"tbody",2),pt(3,3)(4,4),I(),w(5,"tfoot",0),pt(6,5),I())}function CE(i,n){i&1&&pt(0,1)(1,3)(2,4)(3,5)}var j5=(()=>{class i extends uu{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275cmp=H({type:i,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[de([{provide:uu,useExisting:i},{provide:pi,useExisting:i},{provide:Ys,useClass:iu},{provide:io,useClass:rr},{provide:Ks,useValue:null}]),ne,Q],ngContentSelectors:yE,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,r){t&1&&(se(_E),A(0),A(1,1),te(2,xE,1,0)(3,wE,7,0)(4,CE,4,0)),t&2&&(V(2),ge(r._isServer?2:-1),V(),ge(r._isNativeHtmlTable?3:4))},dependencies:[cu,su,du,lu],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-app-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-app-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-app-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-app-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-app-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-app-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}}return i})(),V5=(()=>{class i extends Xs{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matCellDef",""]],standalone:!0,features:[de([{provide:Xs,useExisting:i}]),ne]})}}return i})(),B5=(()=>{class i extends Zs{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[de([{provide:Zs,useExisting:i}]),ne]})}}return i})();var z5=(()=>{class i extends Qr{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[de([{provide:Qr,useExisting:i},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),ne]})}}return i})(),H5=(()=>{class i extends Qb{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[ne]})}}return i})();var Q5=(()=>{class i extends Ub{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[ne]})}}return i})();var U5=(()=>{class i extends Ko{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",O]},standalone:!0,features:[de([{provide:Ko,useExisting:i}]),ae,ne]})}}return i})();var q5=(()=>{class i extends Js{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[de([{provide:Js,useExisting:i}]),ne]})}}return i})(),W5=(()=>{class i extends ou{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275cmp=H({type:i,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[de([{provide:ou,useExisting:i}]),ne,Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})();var G5=(()=>{class i extends au{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275cmp=H({type:i,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[de([{provide:au,useExisting:i}]),ne,Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})();var Gb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,Wb,K]})}}return i})();var wq=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[Eb,yt,Uf,Tb,Rf,tg,og,Fb,kg,Dg,Pg,Bn,Vg,qg,Yg,Lb,Xg,Vb,ab,lb,Gb,Db,Zg,nb,Nh,Gu,uh]})}}return i})();export{hv as a,WE as b,GE as c,vh as d,pI as e,Jv as f,i_ as g,Ca as h,Xl as i,me as j,Cs as k,af as l,gf as m,As as n,VN as o,BN as p,zN as q,HN as r,QN as s,hn as t,Et as u,Br as v,mi as w,Ci as x,je as y,WN as z,GN as A,$N as B,YN as C,KN as D,XN as E,ZN as F,JN as G,eL as H,Qf as I,Uf as J,sQ as K,qf as L,QL as M,NQ as N,ID as O,ij as P,nj as Q,rj as R,oj as S,aj as T,sj as U,cj as V,sU as W,cU as X,Kd as Y,qD as Z,WD as _,lU as $,dU as aa,rg as ba,Go as ca,Pd as da,$V as ea,YV as fa,KV as ga,XV as ha,kg as ia,i2 as ja,jC as ka,V2 as la,B2 as ma,BC as na,iB as oa,WC as pa,yB as qa,VB as ra,Jd as sa,Us as ta,VU as ua,XB as va,JU as wa,tz as xa,kz as ya,eH as za,Hd as Aa,Bk as Ba,zk as Ca,j5 as Da,V5 as Ea,B5 as Fa,z5 as Ga,H5 as Ha,Q5 as Ia,U5 as Ja,q5 as Ka,W5 as La,G5 as Ma,nD as Na,oD as Oa,aD as Pa,YH as Qa,pD as Ra,fD as Sa,KH as Ta,wq as Ua}; diff --git a/webui/dist/bitmagnet/browser/chunk-33KK2FKQ.js b/webui/dist/bitmagnet/browser/chunk-ZF4WX6G7.js similarity index 99% rename from webui/dist/bitmagnet/browser/chunk-33KK2FKQ.js rename to webui/dist/bitmagnet/browser/chunk-ZF4WX6G7.js index 512ce8a8..5459bbb1 100644 --- a/webui/dist/bitmagnet/browser/chunk-33KK2FKQ.js +++ b/webui/dist/bitmagnet/browser/chunk-ZF4WX6G7.js @@ -1,2 +1,2 @@ -import{j as Me,k as ke,l as xe,m as We,o as De,t as $,u as Se,v as _e,w as K,x as ze,y as Ce}from"./chunk-HB55W55I.js";import{c as Pe,d as Y,g as T,h as J,i as Q}from"./chunk-6XXA7HXI.js";import{$b as H,Cb as G,Ea as oe,Fa as se,Gb as le,Gc as ye,Ka as k,Mb as he,Oa as de,Qa as me,Qb as j,Rb as W,Sb as fe,Sc as we,Wb as pe,Yb as ge,Zb as ve,_b as be,a as P,ec as O,fa as ie,fc as X,gc as R,k as y,ka as z,kb as x,kc as I,lb as g,mc as q,na as L,nb as ue,pa as p,pc as B,qa as re,ua as V,wa as C,xb as ce}from"./chunk-FJILXII2.js";function la(e,n){if(e&1){let t=pe();j(0,"div",1)(1,"button",2),ve("click",function(){oe(t);let i=H();return se(i.action())}),I(2),W()()}if(e&2){let t=H();x(2),q(" ",t.data.action," ")}}var ha=["label"];function fa(e,n){}var pa=Math.pow(2,31)-1,D=class{constructor(n,t){this._overlayRef=t,this._afterDismissed=new y,this._afterOpened=new y,this._onAction=new y,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,pa))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},je=new L("MatSnackBarData"),M=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},ga=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275dir=C({type:e,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return e})(),va=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275dir=C({type:e,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return e})(),ba=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275dir=C({type:e,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return e})(),ya=(()=>{class e{constructor(t,a){this.snackBarRef=t,this.data=a}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(a){return new(a||e)(g(D),g(je))}}static{this.\u0275cmp=V({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[B],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(a,i){a&1&&(j(0,"div",0),I(1),W(),G(2,la,3,1,"div",1)),a&2&&(x(),q(" ",i.data.message,` +import{j as Me,k as ke,l as xe,m as We,o as De,t as $,u as Se,v as _e,w as K,x as ze,y as Ce}from"./chunk-Z6GE3BUT.js";import{c as Pe,d as Y,g as T,h as J,i as Q}from"./chunk-6XXA7HXI.js";import{$b as H,Cb as G,Ea as oe,Fa as se,Gb as le,Gc as ye,Ka as k,Mb as he,Oa as de,Qa as me,Qb as j,Rb as W,Sb as fe,Sc as we,Wb as pe,Yb as ge,Zb as ve,_b as be,a as P,ec as O,fa as ie,fc as X,gc as R,k as y,ka as z,kb as x,kc as I,lb as g,mc as q,na as L,nb as ue,pa as p,pc as B,qa as re,ua as V,wa as C,xb as ce}from"./chunk-FJILXII2.js";function la(e,n){if(e&1){let t=pe();j(0,"div",1)(1,"button",2),ve("click",function(){oe(t);let i=H();return se(i.action())}),I(2),W()()}if(e&2){let t=H();x(2),q(" ",t.data.action," ")}}var ha=["label"];function fa(e,n){}var pa=Math.pow(2,31)-1,D=class{constructor(n,t){this._overlayRef=t,this._afterDismissed=new y,this._afterOpened=new y,this._onAction=new y,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,pa))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},je=new L("MatSnackBarData"),M=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},ga=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275dir=C({type:e,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return e})(),va=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275dir=C({type:e,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return e})(),ba=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275dir=C({type:e,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return e})(),ya=(()=>{class e{constructor(t,a){this.snackBarRef=t,this.data=a}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(a){return new(a||e)(g(D),g(je))}}static{this.\u0275cmp=V({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[B],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(a,i){a&1&&(j(0,"div",0),I(1),W(),G(2,la,3,1,"div",1)),a&2&&(x(),q(" ",i.data.message,` `),x(),he(i.hasAction?2:-1))},dependencies:[De,ga,va,ba],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return e})(),wa={snackBarState:Pe("state",[J("void, hidden",T({transform:"scale(0.8)",opacity:0})),J("visible",T({transform:"scale(1)",opacity:1})),Q("* => visible",Y("150ms cubic-bezier(0, 0, 0.2, 1)")),Q("* => void, * => hidden",Y("75ms cubic-bezier(0.4, 0.0, 1, 1)",T({opacity:0})))])},Pa=0,Ma=(()=>{class e extends _e{constructor(t,a,i,d,m){super(),this._ngZone=t,this._elementRef=a,this._changeDetectorRef=i,this._platform=d,this.snackBarConfig=m,this._document=re(we),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new y,this._onExit=new y,this._onEnter=new y,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${Pa++}`,this.attachDomPortal=c=>{this._assertNotAttached();let f=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),f},m.politeness==="assertive"&&!m.announcementMessage?this._live="assertive":m.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let a=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),a}attachTemplatePortal(t){this._assertNotAttached();let a=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),a}onAnimationEnd(t){let{fromState:a,toState:i}=t;if((i==="void"&&a!=="void"||i==="hidden")&&this._completeExit(),i==="visible"){let d=this._onEnter;this._ngZone.run(()=>{d.next(),d.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,a=this.snackBarConfig.panelClass;a&&(Array.isArray(a)?a.forEach(m=>t.classList.add(m)):t.classList.add(a)),this._exposeToModals();let i=this._label.nativeElement,d="mdc-snackbar__label";i.classList.toggle(d,!i.querySelector(`.${d}`))}_exposeToModals(){let t=this._liveElementId,a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i{let a=t.getAttribute("aria-owns");if(a){let i=a.replace(this._liveElementId,"").trim();i.length>0?t.setAttribute("aria-owns",i):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),a=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&a){let i=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(i=document.activeElement),t.removeAttribute("aria-hidden"),a.appendChild(t),i?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(a){return new(a||e)(g(de),g(me),g(ye),g(Me),g(M))}}static{this.\u0275cmp=V({type:e,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,i){if(a&1&&(O(K,7),O(ha,7)),a&2){let d;X(d=R())&&(i._portalOutlet=d.first),X(d=R())&&(i._label=d.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(a,i){a&1&&be("@state.done",function(m){return i.onAnimationEnd(m)}),a&2&&ge("@state",i._animationState)},standalone:!0,features:[ce,B],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,i){a&1&&(j(0,"div",1)(1,"div",2,0)(3,"div",3),G(4,fa,0,0,"ng-template",4),W(),fe(5,"div"),W()()),a&2&&(x(5),le("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[K],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-app-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-app-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-app-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-app-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color, var(--mat-app-inverse-primary));--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[wa.snackBarState]}})}}return e})();function ka(){return new M}var xa=new L("mat-snack-bar-default-options",{providedIn:"root",factory:ka}),Te=(()=>{class e{get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}constructor(t,a,i,d,m,c){this._overlay=t,this._live=a,this._injector=i,this._breakpointObserver=d,this._parentSnackBar=m,this._defaultConfig=c,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=ya,this.snackBarContainerComponent=Ma,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(t,a){return this._attach(t,a)}openFromTemplate(t,a){return this._attach(t,a)}open(t,a="",i){let d=P(P({},this._defaultConfig),i);return d.data={message:t,action:a},d.announcementMessage===t&&(d.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,d)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,a){let i=a&&a.viewContainerRef&&a.viewContainerRef.injector,d=k.create({parent:i||this._injector,providers:[{provide:M,useValue:a}]}),m=new $(this.snackBarContainerComponent,a.viewContainerRef,d),c=t.attach(m);return c.instance.snackBarConfig=a,c.instance}_attach(t,a){let i=P(P(P({},new M),this._defaultConfig),a),d=this._createOverlay(i),m=this._attachSnackBarContainer(d,i),c=new D(m,d);if(t instanceof ue){let f=new Se(t,null,{$implicit:i.data,snackBarRef:c});c.instance=m.attachTemplatePortal(f)}else{let f=this._createInjector(i,c),b=new $(t,void 0,f),A=m.attachComponentPortal(b);c.instance=A.instance}return this._breakpointObserver.observe(xe.HandsetPortrait).pipe(ie(d.detachments())).subscribe(f=>{d.overlayElement.classList.toggle(this.handsetCssClass,f.matches)}),i.announcementMessage&&m._onAnnounce.subscribe(()=>{this._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(c,i),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(t,a){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),a.duration&&a.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(a.duration))}_createOverlay(t){let a=new ze;a.direction=t.direction;let i=this._overlay.position().global(),d=t.direction==="rtl",m=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!d||t.horizontalPosition==="end"&&d,c=!m&&t.horizontalPosition!=="center";return m?i.left("0"):c?i.right("0"):i.centerHorizontally(),t.verticalPosition==="top"?i.top("0"):i.bottom("0"),a.positionStrategy=i,this._overlay.create(a)}_createInjector(t,a){let i=t&&t.viewContainerRef&&t.viewContainerRef.injector;return k.create({parent:i||this._injector,providers:[{provide:D,useValue:a},{provide:je,useValue:t.data}]})}static{this.\u0275fac=function(a){return new(a||e)(p(Ce),p(We),p(k),p(ke),p(e,12),p(xa))}}static{this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var sm=(()=>{class e{constructor(t){this.snackBar=t,this.expiry=1e3*10}addError(t,a=this.expiry){this.snackBar.open(t,"Dismiss",{duration:a,panelClass:["snack-bar-error"]})}static{this.\u0275fac=function(a){return new(a||e)(p(Te))}}static{this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Da={lessThanXSeconds:{one:"\u0623\u0642\u0644 \u0645\u0646 \u062B\u0627\u0646\u064A\u0629",two:"\u0623\u0642\u0644 \u0645\u0646 \u062B\u0627\u0646\u064A\u062A\u064A\u0646",threeToTen:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062B\u0648\u0627\u0646\u064A",other:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062B\u0627\u0646\u064A\u0629"},xSeconds:{one:"\u062B\u0627\u0646\u064A\u0629 \u0648\u0627\u062D\u062F\u0629",two:"\u062B\u0627\u0646\u064A\u062A\u0627\u0646",threeToTen:"{{count}} \u062B\u0648\u0627\u0646\u064A",other:"{{count}} \u062B\u0627\u0646\u064A\u0629"},halfAMinute:"\u0646\u0635\u0641 \u062F\u0642\u064A\u0642\u0629",lessThanXMinutes:{one:"\u0623\u0642\u0644 \u0645\u0646 \u062F\u0642\u064A\u0642\u0629",two:"\u0623\u0642\u0644 \u0645\u0646 \u062F\u0642\u064A\u0642\u062A\u064A\u0646",threeToTen:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062F\u0642\u0627\u0626\u0642",other:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062F\u0642\u064A\u0642\u0629"},xMinutes:{one:"\u062F\u0642\u064A\u0642\u0629 \u0648\u0627\u062D\u062F\u0629",two:"\u062F\u0642\u064A\u0642\u062A\u0627\u0646",threeToTen:"{{count}} \u062F\u0642\u0627\u0626\u0642",other:"{{count}} \u062F\u0642\u064A\u0642\u0629"},aboutXHours:{one:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629 \u062A\u0642\u0631\u064A\u0628\u0627\u064B",two:"\u0633\u0627\u0639\u062A\u064A\u0646 \u062A\u0642\u0631\u064A\u0628\u0627",threeToTen:"{{count}} \u0633\u0627\u0639\u0627\u062A \u062A\u0642\u0631\u064A\u0628\u0627\u064B",other:"{{count}} \u0633\u0627\u0639\u0629 \u062A\u0642\u0631\u064A\u0628\u0627\u064B"},xHours:{one:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",two:"\u0633\u0627\u0639\u062A\u0627\u0646",threeToTen:"{{count}} \u0633\u0627\u0639\u0627\u062A",other:"{{count}} \u0633\u0627\u0639\u0629"},xDays:{one:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",two:"\u064A\u0648\u0645\u0627\u0646",threeToTen:"{{count}} \u0623\u064A\u0627\u0645",other:"{{count}} \u064A\u0648\u0645"},aboutXWeeks:{one:"\u0623\u0633\u0628\u0648\u0639 \u0648\u0627\u062D\u062F \u062A\u0642\u0631\u064A\u0628\u0627",two:"\u0623\u0633\u0628\u0648\u0639\u064A\u0646 \u062A\u0642\u0631\u064A\u0628\u0627",threeToTen:"{{count}} \u0623\u0633\u0627\u0628\u064A\u0639 \u062A\u0642\u0631\u064A\u0628\u0627",other:"{{count}} \u0623\u0633\u0628\u0648\u0639\u0627 \u062A\u0642\u0631\u064A\u0628\u0627"},xWeeks:{one:"\u0623\u0633\u0628\u0648\u0639 \u0648\u0627\u062D\u062F",two:"\u0623\u0633\u0628\u0648\u0639\u0627\u0646",threeToTen:"{{count}} \u0623\u0633\u0627\u0628\u064A\u0639",other:"{{count}} \u0623\u0633\u0628\u0648\u0639\u0627"},aboutXMonths:{one:"\u0634\u0647\u0631 \u0648\u0627\u062D\u062F \u062A\u0642\u0631\u064A\u0628\u0627\u064B",two:"\u0634\u0647\u0631\u064A\u0646 \u062A\u0642\u0631\u064A\u0628\u0627",threeToTen:"{{count}} \u0623\u0634\u0647\u0631 \u062A\u0642\u0631\u064A\u0628\u0627",other:"{{count}} \u0634\u0647\u0631\u0627 \u062A\u0642\u0631\u064A\u0628\u0627\u064B"},xMonths:{one:"\u0634\u0647\u0631 \u0648\u0627\u062D\u062F",two:"\u0634\u0647\u0631\u0627\u0646",threeToTen:"{{count}} \u0623\u0634\u0647\u0631",other:"{{count}} \u0634\u0647\u0631\u0627"},aboutXYears:{one:"\u0633\u0646\u0629 \u0648\u0627\u062D\u062F\u0629 \u062A\u0642\u0631\u064A\u0628\u0627\u064B",two:"\u0633\u0646\u062A\u064A\u0646 \u062A\u0642\u0631\u064A\u0628\u0627",threeToTen:"{{count}} \u0633\u0646\u0648\u0627\u062A \u062A\u0642\u0631\u064A\u0628\u0627\u064B",other:"{{count}} \u0633\u0646\u0629 \u062A\u0642\u0631\u064A\u0628\u0627\u064B"},xYears:{one:"\u0633\u0646\u0629 \u0648\u0627\u062D\u062F",two:"\u0633\u0646\u062A\u0627\u0646",threeToTen:"{{count}} \u0633\u0646\u0648\u0627\u062A",other:"{{count}} \u0633\u0646\u0629"},overXYears:{one:"\u0623\u0643\u062B\u0631 \u0645\u0646 \u0633\u0646\u0629",two:"\u0623\u0643\u062B\u0631 \u0645\u0646 \u0633\u0646\u062A\u064A\u0646",threeToTen:"\u0623\u0643\u062B\u0631 \u0645\u0646 {{count}} \u0633\u0646\u0648\u0627\u062A",other:"\u0623\u0643\u062B\u0631 \u0645\u0646 {{count}} \u0633\u0646\u0629"},almostXYears:{one:"\u0645\u0627 \u064A\u0642\u0627\u0631\u0628 \u0633\u0646\u0629 \u0648\u0627\u062D\u062F\u0629",two:"\u0645\u0627 \u064A\u0642\u0627\u0631\u0628 \u0633\u0646\u062A\u064A\u0646",threeToTen:"\u0645\u0627 \u064A\u0642\u0627\u0631\u0628 {{count}} \u0633\u0646\u0648\u0627\u062A",other:"\u0645\u0627 \u064A\u0642\u0627\u0631\u0628 {{count}} \u0633\u0646\u0629"}},Fe=(e,n,t)=>{let a=Da[e],i;return typeof a=="string"?i=a:n===1?i=a.one:n===2?i=a.two:n<=10?i=a.threeToTen.replace("{{count}}",String(n)):i=a.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?"\u062E\u0644\u0627\u0644 "+i:"\u0645\u0646\u0630 "+i:i};function s(e){return(n={})=>{let t=n.width?String(n.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}var Sa={full:"EEEE\u060C do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},_a={full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},za={full:"{{date}} '\u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' {{time}}",long:"{{date}} '\u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ne={date:s({formats:Sa,defaultWidth:"full"}),time:s({formats:_a,defaultWidth:"full"}),dateTime:s({formats:za,defaultWidth:"full"})};var Ca={lastWeek:"eeee '\u0627\u0644\u0645\u0627\u0636\u064A \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",yesterday:"'\u0627\u0644\u0623\u0645\u0633 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",today:"'\u0627\u0644\u064A\u0648\u0645 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",tomorrow:"'\u063A\u062F\u0627 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",nextWeek:"eeee '\u0627\u0644\u0642\u0627\u062F\u0645 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",other:"P"},Ae=e=>Ca[e];function r(e){return(n,t)=>{let a=t?.context?String(t.context):"standalone",i;if(a==="formatting"&&e.formattingValues){let m=e.defaultFormattingWidth||e.defaultWidth,c=t?.width?String(t.width):m;i=e.formattingValues[c]||e.formattingValues[m]}else{let m=e.defaultWidth,c=t?.width?String(t.width):e.defaultWidth;i=e.values[c]||e.values[m]}let d=e.argumentCallback?e.argumentCallback(n):n;return i[d]}}var ja={narrow:["\u0642","\u0628"],abbreviated:["\u0642.\u0645.","\u0628.\u0645."],wide:["\u0642\u0628\u0644 \u0627\u0644\u0645\u064A\u0644\u0627\u062F","\u0628\u0639\u062F \u0627\u0644\u0645\u064A\u0644\u0627\u062F"]},Ta={narrow:["1","2","3","4"],abbreviated:["\u06311","\u06312","\u06313","\u06314"],wide:["\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u0623\u0648\u0644","\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u062B\u0627\u0646\u064A","\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u062B\u0627\u0644\u062B","\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u0631\u0627\u0628\u0639"]},Fa={narrow:["\u064A","\u0641","\u0645","\u0623","\u0645","\u064A","\u064A","\u0623","\u0633","\u0623","\u0646","\u062F"],abbreviated:["\u064A\u0646\u0627\u064A\u0631","\u0641\u0628\u0631\u0627\u064A\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064A\u0644","\u0645\u0627\u064A\u0648","\u064A\u0648\u0646\u064A\u0648","\u064A\u0648\u0644\u064A\u0648","\u0623\u063A\u0633\u0637\u0633","\u0633\u0628\u062A\u0645\u0628\u0631","\u0623\u0643\u062A\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062F\u064A\u0633\u0645\u0628\u0631"],wide:["\u064A\u0646\u0627\u064A\u0631","\u0641\u0628\u0631\u0627\u064A\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064A\u0644","\u0645\u0627\u064A\u0648","\u064A\u0648\u0646\u064A\u0648","\u064A\u0648\u0644\u064A\u0648","\u0623\u063A\u0633\u0637\u0633","\u0633\u0628\u062A\u0645\u0628\u0631","\u0623\u0643\u062A\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062F\u064A\u0633\u0645\u0628\u0631"]},Na={narrow:["\u062D","\u0646","\u062B","\u0631","\u062E","\u062C","\u0633"],short:["\u0623\u062D\u062F","\u0627\u062B\u0646\u064A\u0646","\u062B\u0644\u0627\u062B\u0627\u0621","\u0623\u0631\u0628\u0639\u0627\u0621","\u062E\u0645\u064A\u0633","\u062C\u0645\u0639\u0629","\u0633\u0628\u062A"],abbreviated:["\u0623\u062D\u062F","\u0627\u062B\u0646\u064A\u0646","\u062B\u0644\u0627\u062B\u0627\u0621","\u0623\u0631\u0628\u0639\u0627\u0621","\u062E\u0645\u064A\u0633","\u062C\u0645\u0639\u0629","\u0633\u0628\u062A"],wide:["\u0627\u0644\u0623\u062D\u062F","\u0627\u0644\u0627\u062B\u0646\u064A\u0646","\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621","\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621","\u0627\u0644\u062E\u0645\u064A\u0633","\u0627\u0644\u062C\u0645\u0639\u0629","\u0627\u0644\u0633\u0628\u062A"]},Aa={narrow:{am:"\u0635",pm:"\u0645",morning:"\u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"},abbreviated:{am:"\u0635",pm:"\u0645",morning:"\u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"},wide:{am:"\u0635",pm:"\u0645",morning:"\u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"}},Ea={narrow:{am:"\u0635",pm:"\u0645",morning:"\u0641\u064A \u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0641\u064A \u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0641\u064A \u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"},abbreviated:{am:"\u0635",pm:"\u0645",morning:"\u0641\u064A \u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0641\u064A \u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0641\u064A \u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"},wide:{am:"\u0635",pm:"\u0645",morning:"\u0641\u064A \u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0641\u064A \u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0641\u064A \u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"}},La=e=>String(e),Ee={ordinalNumber:La,era:r({values:ja,defaultWidth:"wide"}),quarter:r({values:Ta,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:Fa,defaultWidth:"wide"}),day:r({values:Na,defaultWidth:"wide"}),dayPeriod:r({values:Aa,defaultWidth:"wide",formattingValues:Ea,defaultFormattingWidth:"wide"})};function u(e){return(n,t={})=>{let a=n.match(e.matchPattern);if(!a)return null;let i=a[0],d=n.match(e.parsePattern);if(!d)return null;let m=e.valueCallback?e.valueCallback(d[0]):d[0];m=t.valueCallback?t.valueCallback(m):m;let c=n.slice(i.length);return{value:m,rest:c}}}function o(e){return(n,t={})=>{let a=t.width,i=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],d=n.match(i);if(!d)return null;let m=d[0],c=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(c)?Ga(c,E=>E.test(m)):Va(c,E=>E.test(m)),b;b=e.valueCallback?e.valueCallback(f):f,b=t.valueCallback?t.valueCallback(b):b;let A=n.slice(m.length);return{value:b,rest:A}}}function Va(e,n){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&n(e[t]))return t}function Ga(e,n){for(let t=0;tparseInt(e,10)}),era:o({matchPatterns:Xa,defaultMatchWidth:"wide",parsePatterns:Ra,defaultParseWidth:"any"}),quarter:o({matchPatterns:Ia,defaultMatchWidth:"wide",parsePatterns:qa,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:Ba,defaultMatchWidth:"wide",parsePatterns:Ya,defaultParseWidth:"any"}),day:o({matchPatterns:Ja,defaultMatchWidth:"wide",parsePatterns:Qa,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:$a,defaultMatchWidth:"any",parsePatterns:Ka,defaultParseWidth:"any"})};var Ve={code:"ar",formatDistance:Fe,formatLong:Ne,formatRelative:Ae,localize:Ee,match:Le,options:{weekStartsOn:6,firstWeekContainsDate:1}};var Ge={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},He=(e,n,t)=>{let a,i=t?.addSuffix?Ge[e].withPreposition:Ge[e].standalone;return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?"in "+a:"vor "+a:a};var Ua={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},Za={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},en={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Oe={date:s({formats:Ua,defaultWidth:"full"}),time:s({formats:Za,defaultWidth:"full"}),dateTime:s({formats:en,defaultWidth:"full"})};var tn={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},Xe=(e,n,t,a)=>tn[e];var an={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},nn={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},U={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},rn={narrow:U.narrow,abbreviated:["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:U.wide},on={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},sn={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},dn={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},mn=e=>Number(e)+".",Re={ordinalNumber:mn,era:r({values:an,defaultWidth:"wide"}),quarter:r({values:nn,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:U,formattingValues:rn,defaultWidth:"wide"}),day:r({values:on,defaultWidth:"wide"}),dayPeriod:r({values:sn,defaultWidth:"wide",formattingValues:dn,defaultFormattingWidth:"wide"})};var un=/^(\d+)(\.)?/i,cn=/\d+/i,ln={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},hn={any:[/^v/i,/^n/i]},fn={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},pn={any:[/1/i,/2/i,/3/i,/4/i]},gn={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},vn={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},bn={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},yn={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},wn={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},Pn={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},Ie={ordinalNumber:u({matchPattern:un,parsePattern:cn,valueCallback:e=>parseInt(e)}),era:o({matchPatterns:ln,defaultMatchWidth:"wide",parsePatterns:hn,defaultParseWidth:"any"}),quarter:o({matchPatterns:fn,defaultMatchWidth:"wide",parsePatterns:pn,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:gn,defaultMatchWidth:"wide",parsePatterns:vn,defaultParseWidth:"any"}),day:o({matchPatterns:bn,defaultMatchWidth:"wide",parsePatterns:yn,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:wn,defaultMatchWidth:"wide",parsePatterns:Pn,defaultParseWidth:"any"})};var qe={code:"de",formatDistance:He,formatLong:Oe,formatRelative:Xe,localize:Re,match:Ie,options:{weekStartsOn:1,firstWeekContainsDate:4}};var Mn={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Be=(e,n,t)=>{let a,i=Mn[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),t?.addSuffix?t.comparison&&t.comparison>0?"in "+a:a+" ago":a};var kn={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},xn={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Wn={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ye={date:s({formats:kn,defaultWidth:"full"}),time:s({formats:xn,defaultWidth:"full"}),dateTime:s({formats:Wn,defaultWidth:"full"})};var Dn={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Je=(e,n,t,a)=>Dn[e];var Sn={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},_n={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},zn={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Cn={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},jn={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Tn={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Fn=(e,n)=>{let t=Number(e),a=t%100;if(a>20||a<10)switch(a%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},Qe={ordinalNumber:Fn,era:r({values:Sn,defaultWidth:"wide"}),quarter:r({values:_n,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:zn,defaultWidth:"wide"}),day:r({values:Cn,defaultWidth:"wide"}),dayPeriod:r({values:jn,defaultWidth:"wide",formattingValues:Tn,defaultFormattingWidth:"wide"})};var Nn=/^(\d+)(th|st|nd|rd)?/i,An=/\d+/i,En={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ln={any:[/^b/i,/^(a|c)/i]},Vn={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Gn={any:[/1/i,/2/i,/3/i,/4/i]},Hn={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},On={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Xn={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Rn={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},In={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},qn={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},$e={ordinalNumber:u({matchPattern:Nn,parsePattern:An,valueCallback:e=>parseInt(e,10)}),era:o({matchPatterns:En,defaultMatchWidth:"wide",parsePatterns:Ln,defaultParseWidth:"any"}),quarter:o({matchPatterns:Vn,defaultMatchWidth:"wide",parsePatterns:Gn,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:Hn,defaultMatchWidth:"wide",parsePatterns:On,defaultParseWidth:"any"}),day:o({matchPatterns:Xn,defaultMatchWidth:"wide",parsePatterns:Rn,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:In,defaultMatchWidth:"any",parsePatterns:qn,defaultParseWidth:"any"})};var F={code:"en-US",formatDistance:Be,formatLong:Ye,formatRelative:Je,localize:Qe,match:$e,options:{weekStartsOn:0,firstWeekContainsDate:1}};var Bn={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 d\xEDa",other:"{{count}} d\xEDas"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 a\xF1o",other:"alrededor de {{count}} a\xF1os"},xYears:{one:"1 a\xF1o",other:"{{count}} a\xF1os"},overXYears:{one:"m\xE1s de 1 a\xF1o",other:"m\xE1s de {{count}} a\xF1os"},almostXYears:{one:"casi 1 a\xF1o",other:"casi {{count}} a\xF1os"}},Ke=(e,n,t)=>{let a,i=Bn[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),t?.addSuffix?t.comparison&&t.comparison>0?"en "+a:"hace "+a:a};var Yn={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},Jn={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Qn={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ue={date:s({formats:Yn,defaultWidth:"full"}),time:s({formats:Jn,defaultWidth:"full"}),dateTime:s({formats:Qn,defaultWidth:"full"})};var $n={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'ma\xF1ana a la' p",nextWeek:"eeee 'a la' p",other:"P"},Kn={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'ma\xF1ana a las' p",nextWeek:"eeee 'a las' p",other:"P"},Ze=(e,n,t,a)=>n.getHours()!==1?Kn[e]:$n[e];var Un={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despu\xE9s de cristo"]},Zn={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xBA trimestre","2\xBA trimestre","3\xBA trimestre","4\xBA trimestre"]},ei={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},ti={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","s\xE1"],abbreviated:["dom","lun","mar","mi\xE9","jue","vie","s\xE1b"],wide:["domingo","lunes","martes","mi\xE9rcoles","jueves","viernes","s\xE1bado"]},ai={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"ma\xF1ana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"ma\xF1ana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"ma\xF1ana",afternoon:"tarde",evening:"tarde",night:"noche"}},ni={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la ma\xF1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xF1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xF1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},ii=(e,n)=>Number(e)+"\xBA",et={ordinalNumber:ii,era:r({values:Un,defaultWidth:"wide"}),quarter:r({values:Zn,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:r({values:ei,defaultWidth:"wide"}),day:r({values:ti,defaultWidth:"wide"}),dayPeriod:r({values:ai,defaultWidth:"wide",formattingValues:ni,defaultFormattingWidth:"wide"})};var ri=/^(\d+)(º)?/i,oi=/\d+/i,si={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},di={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},mi={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},ui={any:[/1/i,/2/i,/3/i,/4/i]},ci={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},li={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},hi={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},fi={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},pi={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},gi={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},tt={ordinalNumber:u({matchPattern:ri,parsePattern:oi,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:si,defaultMatchWidth:"wide",parsePatterns:di,defaultParseWidth:"any"}),quarter:o({matchPatterns:mi,defaultMatchWidth:"wide",parsePatterns:ui,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:ci,defaultMatchWidth:"wide",parsePatterns:li,defaultParseWidth:"any"}),day:o({matchPatterns:hi,defaultMatchWidth:"wide",parsePatterns:fi,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:pi,defaultMatchWidth:"any",parsePatterns:gi,defaultParseWidth:"any"})};var at={code:"es",formatDistance:Ke,formatLong:Ue,formatRelative:Ze,localize:et,match:tt,options:{weekStartsOn:1,firstWeekContainsDate:1}};var vi={lessThanXSeconds:{one:"moins d\u2019une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d\u2019une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d\u2019un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu\u2019un an",other:"presque {{count}} ans"}},nt=(e,n,t)=>{let a,i=vi[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?"dans "+a:"il y a "+a:a};var bi={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},yi={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},wi={full:"{{date}} '\xE0' {{time}}",long:"{{date}} '\xE0' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},it={date:s({formats:bi,defaultWidth:"full"}),time:s({formats:yi,defaultWidth:"full"}),dateTime:s({formats:wi,defaultWidth:"full"})};var Pi={lastWeek:"eeee 'dernier \xE0' p",yesterday:"'hier \xE0' p",today:"'aujourd\u2019hui \xE0' p",tomorrow:"'demain \xE0' p'",nextWeek:"eeee 'prochain \xE0' p",other:"P"},rt=(e,n,t,a)=>Pi[e];var Mi={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant J\xE9sus-Christ","apr\xE8s J\xE9sus-Christ"]},ki={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2\xE8me trim.","3\xE8me trim.","4\xE8me trim."],wide:["1er trimestre","2\xE8me trimestre","3\xE8me trimestre","4\xE8me trimestre"]},xi={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","f\xE9vr.","mars","avr.","mai","juin","juil.","ao\xFBt","sept.","oct.","nov.","d\xE9c."],wide:["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"]},Wi={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},Di={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"apr\xE8s-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l\u2019apr\xE8s-midi",evening:"du soir",night:"du matin"}},Si=(e,n)=>{let t=Number(e),a=n?.unit;if(t===0)return"0";let i=["year","week","hour","minute","second"],d;return t===1?d=a&&i.includes(a)?"\xE8re":"er":d="\xE8me",t+d},_i=["MMM","MMMM"],ot={preprocessor:(e,n)=>e.getDate()===1||!n.some(a=>a.isToken&&_i.includes(a.value))?n:n.map(a=>a.isToken&&a.value==="do"?{isToken:!0,value:"d"}:a),ordinalNumber:Si,era:r({values:Mi,defaultWidth:"wide"}),quarter:r({values:ki,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:xi,defaultWidth:"wide"}),day:r({values:Wi,defaultWidth:"wide"}),dayPeriod:r({values:Di,defaultWidth:"wide"})};var zi=/^(\d+)(ième|ère|ème|er|e)?/i,Ci=/\d+/i,ji={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},Ti={any:[/^av/i,/^ap/i]},Fi={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},Ni={any:[/1/i,/2/i,/3/i,/4/i]},Ai={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},Ei={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},Li={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},Vi={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},Gi={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},Hi={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},st={ordinalNumber:u({matchPattern:zi,parsePattern:Ci,valueCallback:e=>parseInt(e)}),era:o({matchPatterns:ji,defaultMatchWidth:"wide",parsePatterns:Ti,defaultParseWidth:"any"}),quarter:o({matchPatterns:Fi,defaultMatchWidth:"wide",parsePatterns:Ni,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:Ai,defaultMatchWidth:"wide",parsePatterns:Ei,defaultParseWidth:"any"}),day:o({matchPatterns:Li,defaultMatchWidth:"wide",parsePatterns:Vi,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:Gi,defaultMatchWidth:"any",parsePatterns:Hi,defaultParseWidth:"any"})};var dt={code:"fr",formatDistance:nt,formatLong:it,formatRelative:rt,localize:ot,match:st,options:{weekStartsOn:1,firstWeekContainsDate:4}};var mt={locale:{1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096A",5:"\u096B",6:"\u096C",7:"\u096D",8:"\u096E",9:"\u096F",0:"\u0966"},number:{"\u0967":"1","\u0968":"2","\u0969":"3","\u096A":"4","\u096B":"5","\u096C":"6","\u096D":"7","\u096E":"8","\u096F":"9","\u0966":"0"}},Oi={narrow:["\u0908\u0938\u093E-\u092A\u0942\u0930\u094D\u0935","\u0908\u0938\u094D\u0935\u0940"],abbreviated:["\u0908\u0938\u093E-\u092A\u0942\u0930\u094D\u0935","\u0908\u0938\u094D\u0935\u0940"],wide:["\u0908\u0938\u093E-\u092A\u0942\u0930\u094D\u0935","\u0908\u0938\u0935\u0940 \u0938\u0928"]},Xi={narrow:["1","2","3","4"],abbreviated:["\u0924\u093F1","\u0924\u093F2","\u0924\u093F3","\u0924\u093F4"],wide:["\u092A\u0939\u0932\u0940 \u0924\u093F\u092E\u093E\u0939\u0940","\u0926\u0942\u0938\u0930\u0940 \u0924\u093F\u092E\u093E\u0939\u0940","\u0924\u0940\u0938\u0930\u0940 \u0924\u093F\u092E\u093E\u0939\u0940","\u091A\u094C\u0925\u0940 \u0924\u093F\u092E\u093E\u0939\u0940"]},Ri={narrow:["\u091C","\u092B\u093C","\u092E\u093E","\u0905","\u092E\u0908","\u091C\u0942","\u091C\u0941","\u0905\u0917","\u0938\u093F","\u0905\u0915\u094D\u091F\u0942","\u0928","\u0926\u093F"],abbreviated:["\u091C\u0928","\u092B\u093C\u0930","\u092E\u093E\u0930\u094D\u091A","\u0905\u092A\u094D\u0930\u0948\u0932","\u092E\u0908","\u091C\u0942\u0928","\u091C\u0941\u0932","\u0905\u0917","\u0938\u093F\u0924","\u0905\u0915\u094D\u091F\u0942","\u0928\u0935","\u0926\u093F\u0938"],wide:["\u091C\u0928\u0935\u0930\u0940","\u092B\u093C\u0930\u0935\u0930\u0940","\u092E\u093E\u0930\u094D\u091A","\u0905\u092A\u094D\u0930\u0948\u0932","\u092E\u0908","\u091C\u0942\u0928","\u091C\u0941\u0932\u093E\u0908","\u0905\u0917\u0938\u094D\u0924","\u0938\u093F\u0924\u0902\u092C\u0930","\u0905\u0915\u094D\u091F\u0942\u092C\u0930","\u0928\u0935\u0902\u092C\u0930","\u0926\u093F\u0938\u0902\u092C\u0930"]},Ii={narrow:["\u0930","\u0938\u094B","\u092E\u0902","\u092C\u0941","\u0917\u0941","\u0936\u0941","\u0936"],short:["\u0930","\u0938\u094B","\u092E\u0902","\u092C\u0941","\u0917\u0941","\u0936\u0941","\u0936"],abbreviated:["\u0930\u0935\u093F","\u0938\u094B\u092E","\u092E\u0902\u0917\u0932","\u092C\u0941\u0927","\u0917\u0941\u0930\u0941","\u0936\u0941\u0915\u094D\u0930","\u0936\u0928\u093F"],wide:["\u0930\u0935\u093F\u0935\u093E\u0930","\u0938\u094B\u092E\u0935\u093E\u0930","\u092E\u0902\u0917\u0932\u0935\u093E\u0930","\u092C\u0941\u0927\u0935\u093E\u0930","\u0917\u0941\u0930\u0941\u0935\u093E\u0930","\u0936\u0941\u0915\u094D\u0930\u0935\u093E\u0930","\u0936\u0928\u093F\u0935\u093E\u0930"]},qi={narrow:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"},abbreviated:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"},wide:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"}},Bi={narrow:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"},abbreviated:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"},wide:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"}},Yi=(e,n)=>{let t=Number(e);return Z(t)};function ut(e){let n=e.toString().replace(/[१२३४५६७८९०]/g,function(t){return mt.number[t]});return Number(n)}function Z(e){return e.toString().replace(/\d/g,function(n){return mt.locale[n]})}var ct={ordinalNumber:Yi,era:r({values:Oi,defaultWidth:"wide"}),quarter:r({values:Xi,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:Ri,defaultWidth:"wide"}),day:r({values:Ii,defaultWidth:"wide"}),dayPeriod:r({values:qi,defaultWidth:"wide",formattingValues:Bi,defaultFormattingWidth:"wide"})};var Ji={lessThanXSeconds:{one:"\u0967 \u0938\u0947\u0915\u0902\u0921 \u0938\u0947 \u0915\u092E",other:"{{count}} \u0938\u0947\u0915\u0902\u0921 \u0938\u0947 \u0915\u092E"},xSeconds:{one:"\u0967 \u0938\u0947\u0915\u0902\u0921",other:"{{count}} \u0938\u0947\u0915\u0902\u0921"},halfAMinute:"\u0906\u0927\u093E \u092E\u093F\u0928\u091F",lessThanXMinutes:{one:"\u0967 \u092E\u093F\u0928\u091F \u0938\u0947 \u0915\u092E",other:"{{count}} \u092E\u093F\u0928\u091F \u0938\u0947 \u0915\u092E"},xMinutes:{one:"\u0967 \u092E\u093F\u0928\u091F",other:"{{count}} \u092E\u093F\u0928\u091F"},aboutXHours:{one:"\u0932\u0917\u092D\u0917 \u0967 \u0918\u0902\u091F\u093E",other:"\u0932\u0917\u092D\u0917 {{count}} \u0918\u0902\u091F\u0947"},xHours:{one:"\u0967 \u0918\u0902\u091F\u093E",other:"{{count}} \u0918\u0902\u091F\u0947"},xDays:{one:"\u0967 \u0926\u093F\u0928",other:"{{count}} \u0926\u093F\u0928"},aboutXWeeks:{one:"\u0932\u0917\u092D\u0917 \u0967 \u0938\u092A\u094D\u0924\u093E\u0939",other:"\u0932\u0917\u092D\u0917 {{count}} \u0938\u092A\u094D\u0924\u093E\u0939"},xWeeks:{one:"\u0967 \u0938\u092A\u094D\u0924\u093E\u0939",other:"{{count}} \u0938\u092A\u094D\u0924\u093E\u0939"},aboutXMonths:{one:"\u0932\u0917\u092D\u0917 \u0967 \u092E\u0939\u0940\u0928\u093E",other:"\u0932\u0917\u092D\u0917 {{count}} \u092E\u0939\u0940\u0928\u0947"},xMonths:{one:"\u0967 \u092E\u0939\u0940\u0928\u093E",other:"{{count}} \u092E\u0939\u0940\u0928\u0947"},aboutXYears:{one:"\u0932\u0917\u092D\u0917 \u0967 \u0935\u0930\u094D\u0937",other:"\u0932\u0917\u092D\u0917 {{count}} \u0935\u0930\u094D\u0937"},xYears:{one:"\u0967 \u0935\u0930\u094D\u0937",other:"{{count}} \u0935\u0930\u094D\u0937"},overXYears:{one:"\u0967 \u0935\u0930\u094D\u0937 \u0938\u0947 \u0905\u0927\u093F\u0915",other:"{{count}} \u0935\u0930\u094D\u0937 \u0938\u0947 \u0905\u0927\u093F\u0915"},almostXYears:{one:"\u0932\u0917\u092D\u0917 \u0967 \u0935\u0930\u094D\u0937",other:"\u0932\u0917\u092D\u0917 {{count}} \u0935\u0930\u094D\u0937"}},lt=(e,n,t)=>{let a,i=Ji[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",Z(n)),t?.addSuffix?t.comparison&&t.comparison>0?a+"\u092E\u0947 ":a+" \u092A\u0939\u0932\u0947":a};var Qi={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},$i={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ki={full:"{{date}} '\u0915\u094B' {{time}}",long:"{{date}} '\u0915\u094B' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ht={date:s({formats:Qi,defaultWidth:"full"}),time:s({formats:$i,defaultWidth:"full"}),dateTime:s({formats:Ki,defaultWidth:"full"})};var Ui={lastWeek:"'\u092A\u093F\u091B\u0932\u0947' eeee p",yesterday:"'\u0915\u0932' p",today:"'\u0906\u091C' p",tomorrow:"'\u0915\u0932' p",nextWeek:"eeee '\u0915\u094B' p",other:"P"},ft=(e,n,t,a)=>Ui[e];var Zi=/^[०१२३४५६७८९]+/i,er=/^[०१२३४५६७८९]+/i,tr={narrow:/^(ईसा-पूर्व|ईस्वी)/i,abbreviated:/^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i,wide:/^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i},ar={any:[/^b/i,/^(a|c)/i]},nr={narrow:/^[1234]/i,abbreviated:/^ति[1234]/i,wide:/^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i},ir={any:[/1/i,/2/i,/3/i,/4/i]},rr={narrow:/^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,abbreviated:/^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i,wide:/^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i},or={narrow:[/^ज/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^न/i,/^दि/i],any:[/^जन/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^नव/i,/^दिस/i]},sr={narrow:/^[रविसोममंगलबुधगुरुशुक्रशनि]/i,short:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,abbreviated:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,wide:/^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i},dr={narrow:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i],any:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i]},mr={narrow:/^(पू|अ|म|द.\?|सु|दो|शा|रा)/i,any:/^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i},ur={any:{am:/^पूर्वाह्न/i,pm:/^अपराह्न/i,midnight:/^मध्य/i,noon:/^दो/i,morning:/सु/i,afternoon:/दो/i,evening:/शा/i,night:/रा/i}},pt={ordinalNumber:u({matchPattern:Zi,parsePattern:er,valueCallback:ut}),era:o({matchPatterns:tr,defaultMatchWidth:"wide",parsePatterns:ar,defaultParseWidth:"any"}),quarter:o({matchPatterns:nr,defaultMatchWidth:"wide",parsePatterns:ir,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:rr,defaultMatchWidth:"wide",parsePatterns:or,defaultParseWidth:"any"}),day:o({matchPatterns:sr,defaultMatchWidth:"wide",parsePatterns:dr,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:mr,defaultMatchWidth:"any",parsePatterns:ur,defaultParseWidth:"any"})};var gt={code:"hi",formatDistance:lt,formatLong:ht,formatRelative:ft,localize:ct,match:pt,options:{weekStartsOn:0,firstWeekContainsDate:4}};var cr={lessThanXSeconds:{one:"1\u79D2\u672A\u6E80",other:"{{count}}\u79D2\u672A\u6E80",oneWithSuffix:"\u7D041\u79D2",otherWithSuffix:"\u7D04{{count}}\u79D2"},xSeconds:{one:"1\u79D2",other:"{{count}}\u79D2"},halfAMinute:"30\u79D2",lessThanXMinutes:{one:"1\u5206\u672A\u6E80",other:"{{count}}\u5206\u672A\u6E80",oneWithSuffix:"\u7D041\u5206",otherWithSuffix:"\u7D04{{count}}\u5206"},xMinutes:{one:"1\u5206",other:"{{count}}\u5206"},aboutXHours:{one:"\u7D041\u6642\u9593",other:"\u7D04{{count}}\u6642\u9593"},xHours:{one:"1\u6642\u9593",other:"{{count}}\u6642\u9593"},xDays:{one:"1\u65E5",other:"{{count}}\u65E5"},aboutXWeeks:{one:"\u7D041\u9031\u9593",other:"\u7D04{{count}}\u9031\u9593"},xWeeks:{one:"1\u9031\u9593",other:"{{count}}\u9031\u9593"},aboutXMonths:{one:"\u7D041\u304B\u6708",other:"\u7D04{{count}}\u304B\u6708"},xMonths:{one:"1\u304B\u6708",other:"{{count}}\u304B\u6708"},aboutXYears:{one:"\u7D041\u5E74",other:"\u7D04{{count}}\u5E74"},xYears:{one:"1\u5E74",other:"{{count}}\u5E74"},overXYears:{one:"1\u5E74\u4EE5\u4E0A",other:"{{count}}\u5E74\u4EE5\u4E0A"},almostXYears:{one:"1\u5E74\u8FD1\u304F",other:"{{count}}\u5E74\u8FD1\u304F"}},vt=(e,n,t)=>{t=t||{};let a,i=cr[e];return typeof i=="string"?a=i:n===1?t.addSuffix&&i.oneWithSuffix?a=i.oneWithSuffix:a=i.one:t.addSuffix&&i.otherWithSuffix?a=i.otherWithSuffix.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",String(n)),t.addSuffix?t.comparison&&t.comparison>0?a+"\u5F8C":a+"\u524D":a};var lr={full:"y\u5E74M\u6708d\u65E5EEEE",long:"y\u5E74M\u6708d\u65E5",medium:"y/MM/dd",short:"y/MM/dd"},hr={full:"H\u6642mm\u5206ss\u79D2 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},fr={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},bt={date:s({formats:lr,defaultWidth:"full"}),time:s({formats:hr,defaultWidth:"full"}),dateTime:s({formats:fr,defaultWidth:"full"})};var pr={lastWeek:"\u5148\u9031\u306Eeeee\u306Ep",yesterday:"\u6628\u65E5\u306Ep",today:"\u4ECA\u65E5\u306Ep",tomorrow:"\u660E\u65E5\u306Ep",nextWeek:"\u7FCC\u9031\u306Eeeee\u306Ep",other:"P"},yt=(e,n,t,a)=>pr[e];var gr={narrow:["BC","AC"],abbreviated:["\u7D00\u5143\u524D","\u897F\u66A6"],wide:["\u7D00\u5143\u524D","\u897F\u66A6"]},vr={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["\u7B2C1\u56DB\u534A\u671F","\u7B2C2\u56DB\u534A\u671F","\u7B2C3\u56DB\u534A\u671F","\u7B2C4\u56DB\u534A\u671F"]},br={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]},yr={narrow:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],short:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],abbreviated:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],wide:["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5"]},wr={narrow:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},abbreviated:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},wide:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"}},Pr={narrow:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},abbreviated:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},wide:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"}},Mr=(e,n)=>{let t=Number(e);switch(String(n?.unit)){case"year":return`${t}\u5E74`;case"quarter":return`\u7B2C${t}\u56DB\u534A\u671F`;case"month":return`${t}\u6708`;case"week":return`\u7B2C${t}\u9031`;case"date":return`${t}\u65E5`;case"hour":return`${t}\u6642`;case"minute":return`${t}\u5206`;case"second":return`${t}\u79D2`;default:return`${t}`}},wt={ordinalNumber:Mr,era:r({values:gr,defaultWidth:"wide"}),quarter:r({values:vr,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:r({values:br,defaultWidth:"wide"}),day:r({values:yr,defaultWidth:"wide"}),dayPeriod:r({values:wr,defaultWidth:"wide",formattingValues:Pr,defaultFormattingWidth:"wide"})};var kr=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,xr=/\d+/i,Wr={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},Dr={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},Sr={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},_r={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},zr={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},Cr={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},jr={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},Tr={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},Fr={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},Nr={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},Pt={ordinalNumber:u({matchPattern:kr,parsePattern:xr,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:Wr,defaultMatchWidth:"wide",parsePatterns:Dr,defaultParseWidth:"any"}),quarter:o({matchPatterns:Sr,defaultMatchWidth:"wide",parsePatterns:_r,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:zr,defaultMatchWidth:"wide",parsePatterns:Cr,defaultParseWidth:"any"}),day:o({matchPatterns:jr,defaultMatchWidth:"wide",parsePatterns:Tr,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:Fr,defaultMatchWidth:"any",parsePatterns:Nr,defaultParseWidth:"any"})};var Mt={code:"ja",formatDistance:vt,formatLong:bt,formatRelative:yt,localize:wt,match:Pt,options:{weekStartsOn:0,firstWeekContainsDate:1}};var Ar={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},kt=(e,n,t)=>{let a,i=Ar[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?"over "+a:a+" geleden":a};var Er={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},Lr={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Vr={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},xt={date:s({formats:Er,defaultWidth:"full"}),time:s({formats:Lr,defaultWidth:"full"}),dateTime:s({formats:Vr,defaultWidth:"full"})};var Gr={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},Wt=(e,n,t,a)=>Gr[e];var Hr={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},Or={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},Xr={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},Rr={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},Ir={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},qr=(e,n)=>Number(e)+"e",Dt={ordinalNumber:qr,era:r({values:Hr,defaultWidth:"wide"}),quarter:r({values:Or,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:Xr,defaultWidth:"wide"}),day:r({values:Rr,defaultWidth:"wide"}),dayPeriod:r({values:Ir,defaultWidth:"wide"})};var Br=/^(\d+)e?/i,Yr=/\d+/i,Jr={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},Qr={any:[/^v/,/^n/]},$r={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},Kr={any:[/1/i,/2/i,/3/i,/4/i]},Ur={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},Zr={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},eo={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},to={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},ao={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},no={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},St={ordinalNumber:u({matchPattern:Br,parsePattern:Yr,valueCallback:e=>parseInt(e,10)}),era:o({matchPatterns:Jr,defaultMatchWidth:"wide",parsePatterns:Qr,defaultParseWidth:"any"}),quarter:o({matchPatterns:$r,defaultMatchWidth:"wide",parsePatterns:Kr,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:Ur,defaultMatchWidth:"wide",parsePatterns:Zr,defaultParseWidth:"any"}),day:o({matchPatterns:eo,defaultMatchWidth:"wide",parsePatterns:to,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:ao,defaultMatchWidth:"any",parsePatterns:no,defaultParseWidth:"any"})};var _t={code:"nl",formatDistance:kt,formatLong:xt,formatRelative:Wt,localize:Dt,match:St,options:{weekStartsOn:1,firstWeekContainsDate:4}};var io={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 m\xEAs",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 m\xEAs",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},zt=(e,n,t)=>{let a,i=io[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?"daqui a "+a:"h\xE1 "+a:a};var ro={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},oo={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},so={full:"{{date}} '\xE0s' {{time}}",long:"{{date}} '\xE0s' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ct={date:s({formats:ro,defaultWidth:"full"}),time:s({formats:oo,defaultWidth:"full"}),dateTime:s({formats:so,defaultWidth:"full"})};var mo={lastWeek:e=>{let n=e.getDay();return"'"+(n===0||n===6?"\xFAltimo":"\xFAltima")+"' eeee '\xE0s' p"},yesterday:"'ontem \xE0s' p",today:"'hoje \xE0s' p",tomorrow:"'amanh\xE3 \xE0s' p",nextWeek:"eeee '\xE0s' p",other:"P"},jt=(e,n,t,a)=>{let i=mo[e];return typeof i=="function"?i(n):i};var uo={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},co={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xBA trimestre","2\xBA trimestre","3\xBA trimestre","4\xBA trimestre"]},lo={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","mar\xE7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},ho={narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","s\xE1b"],abbreviated:["dom","seg","ter","qua","qui","sex","s\xE1b"],wide:["domingo","segunda-feira","ter\xE7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xE1bado"]},fo={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"noite",night:"madrugada"}},po={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},go=(e,n)=>Number(e)+"\xBA",Tt={ordinalNumber:go,era:r({values:uo,defaultWidth:"wide"}),quarter:r({values:co,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:lo,defaultWidth:"wide"}),day:r({values:ho,defaultWidth:"wide"}),dayPeriod:r({values:fo,defaultWidth:"wide",formattingValues:po,defaultFormattingWidth:"wide"})};var vo=/^(\d+)(º|ª)?/i,bo=/\d+/i,yo={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},wo={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},Po={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},Mo={any:[/1/i,/2/i,/3/i,/4/i]},ko={narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},xo={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},Wo={narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},Do={narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},So={narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},_o={any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},Ft={ordinalNumber:u({matchPattern:vo,parsePattern:bo,valueCallback:e=>parseInt(e,10)}),era:o({matchPatterns:yo,defaultMatchWidth:"wide",parsePatterns:wo,defaultParseWidth:"any"}),quarter:o({matchPatterns:Po,defaultMatchWidth:"wide",parsePatterns:Mo,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:ko,defaultMatchWidth:"wide",parsePatterns:xo,defaultParseWidth:"any"}),day:o({matchPatterns:Wo,defaultMatchWidth:"wide",parsePatterns:Do,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:So,defaultMatchWidth:"any",parsePatterns:_o,defaultParseWidth:"any"})};var Nt={code:"pt",formatDistance:zt,formatLong:Ct,formatRelative:jt,localize:Tt,match:Ft,options:{weekStartsOn:1,firstWeekContainsDate:4}};function S(e,n){if(e.one!==void 0&&n===1)return e.one;let t=n%10,a=n%100;return t===1&&a!==11?e.singularNominative.replace("{{count}}",String(n)):t>=2&&t<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(n)):e.pluralGenitive.replace("{{count}}",String(n))}function l(e){return(n,t)=>t?.addSuffix?t.comparison&&t.comparison>0?e.future?S(e.future,n):"\u0447\u0435\u0440\u0435\u0437 "+S(e.regular,n):e.past?S(e.past,n):S(e.regular,n)+" \u043D\u0430\u0437\u0430\u0434":S(e.regular,n)}var zo={lessThanXSeconds:l({regular:{one:"\u043C\u0435\u043D\u044C\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},future:{one:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),xSeconds:l({regular:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0430",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},past:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443 \u043D\u0430\u0437\u0430\u0434",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B \u043D\u0430\u0437\u0430\u0434",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434"},future:{singularNominative:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),halfAMinute:(e,n)=>n?.addSuffix?n.comparison&&n.comparison>0?"\u0447\u0435\u0440\u0435\u0437 \u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B":"\u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0437\u0430\u0434":"\u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B",lessThanXMinutes:l({regular:{one:"\u043C\u0435\u043D\u044C\u0448\u0435 \u043C\u0438\u043D\u0443\u0442\u044B",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442"},future:{one:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 \u043C\u0438\u043D\u0443\u0442\u0443",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u0443",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442"}}),xMinutes:l({regular:{singularNominative:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0430",singularGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442"},past:{singularNominative:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0443 \u043D\u0430\u0437\u0430\u0434",singularGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0437\u0430\u0434",pluralGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442 \u043D\u0430\u0437\u0430\u0434"},future:{singularNominative:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u0443",singularGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442"}}),aboutXHours:l({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u043E\u0432",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u043E\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441\u043E\u0432"}}),xHours:l({regular:{singularNominative:"{{count}} \u0447\u0430\u0441",singularGenitive:"{{count}} \u0447\u0430\u0441\u0430",pluralGenitive:"{{count}} \u0447\u0430\u0441\u043E\u0432"}}),xDays:l({regular:{singularNominative:"{{count}} \u0434\u0435\u043D\u044C",singularGenitive:"{{count}} \u0434\u043D\u044F",pluralGenitive:"{{count}} \u0434\u043D\u0435\u0439"}}),aboutXWeeks:l({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u0438",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u044C",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u044C"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u044E",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u0438",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u044C"}}),xWeeks:l({regular:{singularNominative:"{{count}} \u043D\u0435\u0434\u0435\u043B\u044F",singularGenitive:"{{count}} \u043D\u0435\u0434\u0435\u043B\u0438",pluralGenitive:"{{count}} \u043D\u0435\u0434\u0435\u043B\u044C"}}),aboutXMonths:l({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"}}),xMonths:l({regular:{singularNominative:"{{count}} \u043C\u0435\u0441\u044F\u0446",singularGenitive:"{{count}} \u043C\u0435\u0441\u044F\u0446\u0430",pluralGenitive:"{{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"}}),aboutXYears:l({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0433\u043E\u0434\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043B\u0435\u0442",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}}),xYears:l({regular:{singularNominative:"{{count}} \u0433\u043E\u0434",singularGenitive:"{{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"{{count}} \u043B\u0435\u0442"}}),overXYears:l({regular:{singularNominative:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u0433\u043E\u0434\u0430",singularGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u043B\u0435\u0442",pluralGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}}),almostXYears:l({regular:{singularNominative:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}})},At=(e,n,t)=>zo[e](n,t);var Co={full:"EEEE, d MMMM y '\u0433.'",long:"d MMMM y '\u0433.'",medium:"d MMM y '\u0433.'",short:"dd.MM.y"},jo={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},To={any:"{{date}}, {{time}}"},Et={date:s({formats:Co,defaultWidth:"full"}),time:s({formats:jo,defaultWidth:"full"}),dateTime:s({formats:To,defaultWidth:"any"})};var Fo=Math.pow(10,8)*24*60*60*1e3,qc=-Fo,Bc=6048e5,Yc=864e5;var Jc=43200,Qc=1440;var No=3600;var Lt=No*24,$c=Lt*7,Ao=Lt*365.2425,Eo=Ao/12,Kc=Eo*3,ee=Symbol.for("constructDateFrom");function N(e,n){return typeof e=="function"?e(n):e&&typeof e=="object"&&ee in e?e[ee](n):e instanceof Date?new e.constructor(n):new Date(n)}function Vt(e,...n){let t=N.bind(null,e||n.find(a=>typeof a=="object"));return n.map(t)}var Lo={};function Gt(){return Lo}function w(e,n){return N(n||e,e)}function te(e,n){let t=Gt(),a=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??t.weekStartsOn??t.locale?.options?.weekStartsOn??0,i=w(e,n?.in),d=i.getDay(),m=(d{let a=e.getDay();return v(e,n,t)?Ht(a):Vo(a)},yesterday:"'\u0432\u0447\u0435\u0440\u0430 \u0432' p",today:"'\u0441\u0435\u0433\u043E\u0434\u043D\u044F \u0432' p",tomorrow:"'\u0437\u0430\u0432\u0442\u0440\u0430 \u0432' p",nextWeek:(e,n,t)=>{let a=e.getDay();return v(e,n,t)?Ht(a):Go(a)},other:"P"},Ot=(e,n,t,a)=>{let i=Ho[e];return typeof i=="function"?i(n,t,a):i};var Oo={narrow:["\u0434\u043E \u043D.\u044D.","\u043D.\u044D."],abbreviated:["\u0434\u043E \u043D. \u044D.","\u043D. \u044D."],wide:["\u0434\u043E \u043D\u0430\u0448\u0435\u0439 \u044D\u0440\u044B","\u043D\u0430\u0448\u0435\u0439 \u044D\u0440\u044B"]},Xo={narrow:["1","2","3","4"],abbreviated:["1-\u0439 \u043A\u0432.","2-\u0439 \u043A\u0432.","3-\u0439 \u043A\u0432.","4-\u0439 \u043A\u0432."],wide:["1-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","2-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","3-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","4-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B"]},Ro={narrow:["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],abbreviated:["\u044F\u043D\u0432.","\u0444\u0435\u0432.","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440.","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],wide:["\u044F\u043D\u0432\u0430\u0440\u044C","\u0444\u0435\u0432\u0440\u0430\u043B\u044C","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0435\u043B\u044C","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u043E\u043A\u0442\u044F\u0431\u0440\u044C","\u043D\u043E\u044F\u0431\u0440\u044C","\u0434\u0435\u043A\u0430\u0431\u0440\u044C"]},Io={narrow:["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],abbreviated:["\u044F\u043D\u0432.","\u0444\u0435\u0432.","\u043C\u0430\u0440.","\u0430\u043F\u0440.","\u043C\u0430\u044F","\u0438\u044E\u043D.","\u0438\u044E\u043B.","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],wide:["\u044F\u043D\u0432\u0430\u0440\u044F","\u0444\u0435\u0432\u0440\u0430\u043B\u044F","\u043C\u0430\u0440\u0442\u0430","\u0430\u043F\u0440\u0435\u043B\u044F","\u043C\u0430\u044F","\u0438\u044E\u043D\u044F","\u0438\u044E\u043B\u044F","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F","\u043E\u043A\u0442\u044F\u0431\u0440\u044F","\u043D\u043E\u044F\u0431\u0440\u044F","\u0434\u0435\u043A\u0430\u0431\u0440\u044F"]},qo={narrow:["\u0412","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],short:["\u0432\u0441","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],abbreviated:["\u0432\u0441\u043A","\u043F\u043D\u0434","\u0432\u0442\u0440","\u0441\u0440\u0434","\u0447\u0442\u0432","\u043F\u0442\u043D","\u0441\u0443\u0431"],wide:["\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435","\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0432\u0442\u043E\u0440\u043D\u0438\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043F\u044F\u0442\u043D\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043E\u0442\u0430"]},Bo={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u044C"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u044C"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D\u043E\u0447\u044C",noon:"\u043F\u043E\u043B\u0434\u0435\u043D\u044C",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447\u0435\u0440",night:"\u043D\u043E\u0447\u044C"}},Yo={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0438"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0438"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D\u043E\u0447\u044C",noon:"\u043F\u043E\u043B\u0434\u0435\u043D\u044C",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447\u0435\u0440\u0430",night:"\u043D\u043E\u0447\u0438"}},Jo=(e,n)=>{let t=Number(e),a=n?.unit,i;return a==="date"?i="-\u0435":a==="week"||a==="minute"||a==="second"?i="-\u044F":i="-\u0439",t+i},Xt={ordinalNumber:Jo,era:r({values:Oo,defaultWidth:"wide"}),quarter:r({values:Xo,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:Ro,defaultWidth:"wide",formattingValues:Io,defaultFormattingWidth:"wide"}),day:r({values:qo,defaultWidth:"wide"}),dayPeriod:r({values:Bo,defaultWidth:"any",formattingValues:Yo,defaultFormattingWidth:"wide"})};var Qo=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,$o=/\d+/i,Ko={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},Uo={any:[/^д/i,/^н/i]},Zo={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},es={any:[/1/i,/2/i,/3/i,/4/i]},ts={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},as={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},ns={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},is={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},rs={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},os={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},Rt={ordinalNumber:u({matchPattern:Qo,parsePattern:$o,valueCallback:e=>parseInt(e,10)}),era:o({matchPatterns:Ko,defaultMatchWidth:"wide",parsePatterns:Uo,defaultParseWidth:"any"}),quarter:o({matchPatterns:Zo,defaultMatchWidth:"wide",parsePatterns:es,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:ts,defaultMatchWidth:"wide",parsePatterns:as,defaultParseWidth:"any"}),day:o({matchPatterns:ns,defaultMatchWidth:"wide",parsePatterns:is,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:rs,defaultMatchWidth:"wide",parsePatterns:os,defaultParseWidth:"any"})};var It={code:"ru",formatDistance:At,formatLong:Et,formatRelative:Ot,localize:Xt,match:Rt,options:{weekStartsOn:1,firstWeekContainsDate:1}};var ss={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yar\u0131m dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yakla\u015F\u0131k 1 saat",other:"yakla\u015F\u0131k {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 g\xFCn",other:"{{count}} g\xFCn"},aboutXWeeks:{one:"yakla\u015F\u0131k 1 hafta",other:"yakla\u015F\u0131k {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yakla\u015F\u0131k 1 ay",other:"yakla\u015F\u0131k {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yakla\u015F\u0131k 1 y\u0131l",other:"yakla\u015F\u0131k {{count}} y\u0131l"},xYears:{one:"1 y\u0131l",other:"{{count}} y\u0131l"},overXYears:{one:"1 y\u0131ldan fazla",other:"{{count}} y\u0131ldan fazla"},almostXYears:{one:"neredeyse 1 y\u0131l",other:"neredeyse {{count}} y\u0131l"}},qt=(e,n,t)=>{let a,i=ss[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),t?.addSuffix?t.comparison&&t.comparison>0?a+" sonra":a+" \xF6nce":a};var ds={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},ms={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},us={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Bt={date:s({formats:ds,defaultWidth:"full"}),time:s({formats:ms,defaultWidth:"full"}),dateTime:s({formats:us,defaultWidth:"full"})};var cs={lastWeek:"'ge\xE7en hafta' eeee 'saat' p",yesterday:"'d\xFCn saat' p",today:"'bug\xFCn saat' p",tomorrow:"'yar\u0131n saat' p",nextWeek:"eeee 'saat' p",other:"P"},Yt=(e,n,t,a)=>cs[e];var ls={narrow:["M\xD6","MS"],abbreviated:["M\xD6","MS"],wide:["Milattan \xD6nce","Milattan Sonra"]},hs={narrow:["1","2","3","4"],abbreviated:["1\xC7","2\xC7","3\xC7","4\xC7"],wide:["\u0130lk \xE7eyrek","\u0130kinci \xC7eyrek","\xDC\xE7\xFCnc\xFC \xE7eyrek","Son \xE7eyrek"]},fs={narrow:["O","\u015E","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","\u015Eub","Mar","Nis","May","Haz","Tem","A\u011Fu","Eyl","Eki","Kas","Ara"],wide:["Ocak","\u015Eubat","Mart","Nisan","May\u0131s","Haziran","Temmuz","A\u011Fustos","Eyl\xFCl","Ekim","Kas\u0131m","Aral\u0131k"]},ps={narrow:["P","P","S","\xC7","P","C","C"],short:["Pz","Pt","Sa","\xC7a","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","\xC7ar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Sal\u0131","\xC7ar\u015Famba","Per\u015Fembe","Cuma","Cumartesi"]},gs={narrow:{am:"\xF6\xF6",pm:"\xF6s",midnight:"gy",noon:"\xF6",morning:"sa",afternoon:"\xF6s",evening:"ak",night:"ge"},abbreviated:{am:"\xD6\xD6",pm:"\xD6S",midnight:"gece yar\u0131s\u0131",noon:"\xF6\u011Fle",morning:"sabah",afternoon:"\xF6\u011Fleden sonra",evening:"ak\u015Fam",night:"gece"},wide:{am:"\xD6.\xD6.",pm:"\xD6.S.",midnight:"gece yar\u0131s\u0131",noon:"\xF6\u011Fle",morning:"sabah",afternoon:"\xF6\u011Fleden sonra",evening:"ak\u015Fam",night:"gece"}},vs={narrow:{am:"\xF6\xF6",pm:"\xF6s",midnight:"gy",noon:"\xF6",morning:"sa",afternoon:"\xF6s",evening:"ak",night:"ge"},abbreviated:{am:"\xD6\xD6",pm:"\xD6S",midnight:"gece yar\u0131s\u0131",noon:"\xF6\u011Flen",morning:"sabahleyin",afternoon:"\xF6\u011Fleden sonra",evening:"ak\u015Famleyin",night:"geceleyin"},wide:{am:"\xF6.\xF6.",pm:"\xF6.s.",midnight:"gece yar\u0131s\u0131",noon:"\xF6\u011Flen",morning:"sabahleyin",afternoon:"\xF6\u011Fleden sonra",evening:"ak\u015Famleyin",night:"geceleyin"}},bs=(e,n)=>Number(e)+".",Jt={ordinalNumber:bs,era:r({values:ls,defaultWidth:"wide"}),quarter:r({values:hs,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:r({values:fs,defaultWidth:"wide"}),day:r({values:ps,defaultWidth:"wide"}),dayPeriod:r({values:gs,defaultWidth:"wide",formattingValues:vs,defaultFormattingWidth:"wide"})};var ys=/^(\d+)(\.)?/i,ws=/\d+/i,Ps={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},Ms={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},ks={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},xs={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},Ws={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},Ds={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},Ss={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},_s={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},zs={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},Cs={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},Qt={ordinalNumber:u({matchPattern:ys,parsePattern:ws,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:Ps,defaultMatchWidth:"wide",parsePatterns:Ms,defaultParseWidth:"any"}),quarter:o({matchPatterns:ks,defaultMatchWidth:"wide",parsePatterns:xs,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:Ws,defaultMatchWidth:"wide",parsePatterns:Ds,defaultParseWidth:"any"}),day:o({matchPatterns:Ss,defaultMatchWidth:"wide",parsePatterns:_s,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:zs,defaultMatchWidth:"any",parsePatterns:Cs,defaultParseWidth:"any"})};var $t={code:"tr",formatDistance:qt,formatLong:Bt,formatRelative:Yt,localize:Jt,match:Qt,options:{weekStartsOn:1,firstWeekContainsDate:1}};function _(e,n){if(e.one!==void 0&&n===1)return e.one;let t=n%10,a=n%100;return t===1&&a!==11?e.singularNominative.replace("{{count}}",String(n)):t>=2&&t<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(n)):e.pluralGenitive.replace("{{count}}",String(n))}function h(e){return(n,t)=>t&&t.addSuffix?t.comparison&&t.comparison>0?e.future?_(e.future,n):"\u0437\u0430 "+_(e.regular,n):e.past?_(e.past,n):_(e.regular,n)+" \u0442\u043E\u043C\u0443":_(e.regular,n)}var js=(e,n)=>n&&n.addSuffix?n.comparison&&n.comparison>0?"\u0437\u0430 \u043F\u0456\u0432\u0445\u0432\u0438\u043B\u0438\u043D\u0438":"\u043F\u0456\u0432\u0445\u0432\u0438\u043B\u0438\u043D\u0438 \u0442\u043E\u043C\u0443":"\u043F\u0456\u0432\u0445\u0432\u0438\u043B\u0438\u043D\u0438",Ts={lessThanXSeconds:h({regular:{one:"\u043C\u0435\u043D\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",singularNominative:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438",singularGenitive:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434",pluralGenitive:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},future:{one:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularNominative:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438",pluralGenitive:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),xSeconds:h({regular:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0430",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},past:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443 \u0442\u043E\u043C\u0443",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438 \u0442\u043E\u043C\u0443",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434 \u0442\u043E\u043C\u0443"},future:{singularNominative:"\u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438",pluralGenitive:"\u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),halfAMinute:js,lessThanXMinutes:h({regular:{one:"\u043C\u0435\u043D\u0448\u0435 \u0445\u0432\u0438\u043B\u0438\u043D\u0438",singularNominative:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438",singularGenitive:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D",pluralGenitive:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D"},future:{one:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 \u0445\u0432\u0438\u043B\u0438\u043D\u0443",singularNominative:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0443",singularGenitive:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438",pluralGenitive:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D"}}),xMinutes:h({regular:{singularNominative:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0430",singularGenitive:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438",pluralGenitive:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D"},past:{singularNominative:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0443 \u0442\u043E\u043C\u0443",singularGenitive:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438 \u0442\u043E\u043C\u0443",pluralGenitive:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D \u0442\u043E\u043C\u0443"},future:{singularNominative:"\u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0443",singularGenitive:"\u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438",pluralGenitive:"\u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D"}}),aboutXHours:h({regular:{singularNominative:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0438",singularGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D",pluralGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0433\u043E\u0434\u0438\u043D\u0443",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0433\u043E\u0434\u0438\u043D\u0438",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0433\u043E\u0434\u0438\u043D"}}),xHours:h({regular:{singularNominative:"{{count}} \u0433\u043E\u0434\u0438\u043D\u0443",singularGenitive:"{{count}} \u0433\u043E\u0434\u0438\u043D\u0438",pluralGenitive:"{{count}} \u0433\u043E\u0434\u0438\u043D"}}),xDays:h({regular:{singularNominative:"{{count}} \u0434\u0435\u043D\u044C",singularGenitive:"{{count}} \u0434\u043Di",pluralGenitive:"{{count}} \u0434\u043D\u0456\u0432"}}),aboutXWeeks:h({regular:{singularNominative:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0442\u0438\u0436\u043D\u044F",singularGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0442\u0438\u0436\u043D\u0456\u0432",pluralGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0442\u0438\u0436\u043D\u0456\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0442\u0438\u0436\u0434\u0435\u043D\u044C",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0442\u0438\u0436\u043D\u0456",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0442\u0438\u0436\u043D\u0456\u0432"}}),xWeeks:h({regular:{singularNominative:"{{count}} \u0442\u0438\u0436\u0434\u0435\u043D\u044C",singularGenitive:"{{count}} \u0442\u0438\u0436\u043D\u0456",pluralGenitive:"{{count}} \u0442\u0438\u0436\u043D\u0456\u0432"}}),aboutXMonths:h({regular:{singularNominative:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u043C\u0456\u0441\u044F\u0446\u044F",singularGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u043C\u0456\u0441\u044F\u0446\u0456\u0432",pluralGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u043C\u0456\u0441\u044F\u0446\u0456\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u043C\u0456\u0441\u044F\u0446\u044C",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u043C\u0456\u0441\u044F\u0446\u0456",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u043C\u0456\u0441\u044F\u0446\u0456\u0432"}}),xMonths:h({regular:{singularNominative:"{{count}} \u043C\u0456\u0441\u044F\u0446\u044C",singularGenitive:"{{count}} \u043C\u0456\u0441\u044F\u0446\u0456",pluralGenitive:"{{count}} \u043C\u0456\u0441\u044F\u0446\u0456\u0432"}}),aboutXYears:h({regular:{singularNominative:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0440\u043E\u043A\u0443",singularGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0440\u043E\u043A\u0456\u0432",pluralGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0440\u043E\u043A\u0456\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0440\u0456\u043A",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0440\u043E\u043A\u0456\u0432"}}),xYears:h({regular:{singularNominative:"{{count}} \u0440\u0456\u043A",singularGenitive:"{{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"{{count}} \u0440\u043E\u043A\u0456\u0432"}}),overXYears:h({regular:{singularNominative:"\u0431\u0456\u043B\u044C\u0448\u0435 {{count}} \u0440\u043E\u043A\u0443",singularGenitive:"\u0431\u0456\u043B\u044C\u0448\u0435 {{count}} \u0440\u043E\u043A\u0456\u0432",pluralGenitive:"\u0431\u0456\u043B\u044C\u0448\u0435 {{count}} \u0440\u043E\u043A\u0456\u0432"},future:{singularNominative:"\u0431\u0456\u043B\u044C\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0440\u0456\u043A",singularGenitive:"\u0431\u0456\u043B\u044C\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"\u0431\u0456\u043B\u044C\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0440\u043E\u043A\u0456\u0432"}}),almostXYears:h({regular:{singularNominative:"\u043C\u0430\u0439\u0436\u0435 {{count}} \u0440\u0456\u043A",singularGenitive:"\u043C\u0430\u0439\u0436\u0435 {{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"\u043C\u0430\u0439\u0436\u0435 {{count}} \u0440\u043E\u043A\u0456\u0432"},future:{singularNominative:"\u043C\u0430\u0439\u0436\u0435 \u0437\u0430 {{count}} \u0440\u0456\u043A",singularGenitive:"\u043C\u0430\u0439\u0436\u0435 \u0437\u0430 {{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"\u043C\u0430\u0439\u0436\u0435 \u0437\u0430 {{count}} \u0440\u043E\u043A\u0456\u0432"}})},Kt=(e,n,t)=>(t=t||{},Ts[e](n,t));var Fs={full:"EEEE, do MMMM y '\u0440.'",long:"do MMMM y '\u0440.'",medium:"d MMM y '\u0440.'",short:"dd.MM.y"},Ns={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},As={full:"{{date}} '\u043E' {{time}}",long:"{{date}} '\u043E' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ut={date:s({formats:Fs,defaultWidth:"full"}),time:s({formats:Ns,defaultWidth:"full"}),dateTime:s({formats:As,defaultWidth:"full"})};var ne=["\u043D\u0435\u0434\u0456\u043B\u044E","\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A","\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A","\u0441\u0435\u0440\u0435\u0434\u0443","\u0447\u0435\u0442\u0432\u0435\u0440","\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044E","\u0441\u0443\u0431\u043E\u0442\u0443"];function Es(e){let n=ne[e];switch(e){case 0:case 3:case 5:case 6:return"'\u0443 \u043C\u0438\u043D\u0443\u043B\u0443 "+n+" \u043E' p";case 1:case 2:case 4:return"'\u0443 \u043C\u0438\u043D\u0443\u043B\u0438\u0439 "+n+" \u043E' p"}}function Zt(e){return"'\u0443 "+ne[e]+" \u043E' p"}function Ls(e){let n=ne[e];switch(e){case 0:case 3:case 5:case 6:return"'\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0443 "+n+" \u043E' p";case 1:case 2:case 4:return"'\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0439 "+n+" \u043E' p"}}var Vs=(e,n,t)=>{let a=w(e),i=a.getDay();return v(a,n,t)?Zt(i):Es(i)},Gs=(e,n,t)=>{let a=w(e),i=a.getDay();return v(a,n,t)?Zt(i):Ls(i)},Hs={lastWeek:Vs,yesterday:"'\u0432\u0447\u043E\u0440\u0430 \u043E' p",today:"'\u0441\u044C\u043E\u0433\u043E\u0434\u043D\u0456 \u043E' p",tomorrow:"'\u0437\u0430\u0432\u0442\u0440\u0430 \u043E' p",nextWeek:Gs,other:"P"},ea=(e,n,t,a)=>{let i=Hs[e];return typeof i=="function"?i(n,t,a):i};var Os={narrow:["\u0434\u043E \u043D.\u0435.","\u043D.\u0435."],abbreviated:["\u0434\u043E \u043D. \u0435.","\u043D. \u0435."],wide:["\u0434\u043E \u043D\u0430\u0448\u043E\u0457 \u0435\u0440\u0438","\u043D\u0430\u0448\u043E\u0457 \u0435\u0440\u0438"]},Xs={narrow:["1","2","3","4"],abbreviated:["1-\u0439 \u043A\u0432.","2-\u0439 \u043A\u0432.","3-\u0439 \u043A\u0432.","4-\u0439 \u043A\u0432."],wide:["1-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","2-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","3-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","4-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B"]},Rs={narrow:["\u0421","\u041B","\u0411","\u041A","\u0422","\u0427","\u041B","\u0421","\u0412","\u0416","\u041B","\u0413"],abbreviated:["\u0441\u0456\u0447.","\u043B\u044E\u0442.","\u0431\u0435\u0440\u0435\u0437.","\u043A\u0432\u0456\u0442.","\u0442\u0440\u0430\u0432.","\u0447\u0435\u0440\u0432.","\u043B\u0438\u043F.","\u0441\u0435\u0440\u043F.","\u0432\u0435\u0440\u0435\u0441.","\u0436\u043E\u0432\u0442.","\u043B\u0438\u0441\u0442\u043E\u043F.","\u0433\u0440\u0443\u0434."],wide:["\u0441\u0456\u0447\u0435\u043D\u044C","\u043B\u044E\u0442\u0438\u0439","\u0431\u0435\u0440\u0435\u0437\u0435\u043D\u044C","\u043A\u0432\u0456\u0442\u0435\u043D\u044C","\u0442\u0440\u0430\u0432\u0435\u043D\u044C","\u0447\u0435\u0440\u0432\u0435\u043D\u044C","\u043B\u0438\u043F\u0435\u043D\u044C","\u0441\u0435\u0440\u043F\u0435\u043D\u044C","\u0432\u0435\u0440\u0435\u0441\u0435\u043D\u044C","\u0436\u043E\u0432\u0442\u0435\u043D\u044C","\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434","\u0433\u0440\u0443\u0434\u0435\u043D\u044C"]},Is={narrow:["\u0421","\u041B","\u0411","\u041A","\u0422","\u0427","\u041B","\u0421","\u0412","\u0416","\u041B","\u0413"],abbreviated:["\u0441\u0456\u0447.","\u043B\u044E\u0442.","\u0431\u0435\u0440\u0435\u0437.","\u043A\u0432\u0456\u0442.","\u0442\u0440\u0430\u0432.","\u0447\u0435\u0440\u0432.","\u043B\u0438\u043F.","\u0441\u0435\u0440\u043F.","\u0432\u0435\u0440\u0435\u0441.","\u0436\u043E\u0432\u0442.","\u043B\u0438\u0441\u0442\u043E\u043F.","\u0433\u0440\u0443\u0434."],wide:["\u0441\u0456\u0447\u043D\u044F","\u043B\u044E\u0442\u043E\u0433\u043E","\u0431\u0435\u0440\u0435\u0437\u043D\u044F","\u043A\u0432\u0456\u0442\u043D\u044F","\u0442\u0440\u0430\u0432\u043D\u044F","\u0447\u0435\u0440\u0432\u043D\u044F","\u043B\u0438\u043F\u043D\u044F","\u0441\u0435\u0440\u043F\u043D\u044F","\u0432\u0435\u0440\u0435\u0441\u043D\u044F","\u0436\u043E\u0432\u0442\u043D\u044F","\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434\u0430","\u0433\u0440\u0443\u0434\u043D\u044F"]},qs={narrow:["\u041D","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],short:["\u043D\u0434","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],abbreviated:["\u043D\u0435\u0434","\u043F\u043E\u043D","\u0432\u0456\u0432","\u0441\u0435\u0440","\u0447\u0442\u0432","\u043F\u0442\u043D","\u0441\u0443\u0431"],wide:["\u043D\u0435\u0434\u0456\u043B\u044F","\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A","\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A","\u0441\u0435\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440","\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044F","\u0441\u0443\u0431\u043E\u0442\u0430"]},Bs={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D.",noon:"\u043F\u043E\u043B.",morning:"\u0440\u0430\u043D\u043E\u043A",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u0456\u0447"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D.",noon:"\u043F\u043E\u043B.",morning:"\u0440\u0430\u043D\u043E\u043A",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u0456\u0447"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D\u0456\u0447",noon:"\u043F\u043E\u043B\u0443\u0434\u0435\u043D\u044C",morning:"\u0440\u0430\u043D\u043E\u043A",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447\u0456\u0440",night:"\u043D\u0456\u0447"}},Ys={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D.",noon:"\u043F\u043E\u043B.",morning:"\u0440\u0430\u043D\u043A\u0443",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0456"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D.",noon:"\u043F\u043E\u043B.",morning:"\u0440\u0430\u043D\u043A\u0443",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0456"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D\u0456\u0447",noon:"\u043F\u043E\u043B\u0443\u0434\u0435\u043D\u044C",morning:"\u0440\u0430\u043D\u043A\u0443",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0456"}},Js=(e,n)=>{let t=String(n?.unit),a=Number(e),i;return t==="date"?a===3||a===23?i="-\u0454":i="-\u0435":t==="minute"||t==="second"||t==="hour"?i="-\u0430":i="-\u0439",a+i},ta={ordinalNumber:Js,era:r({values:Os,defaultWidth:"wide"}),quarter:r({values:Xs,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:Rs,defaultWidth:"wide",formattingValues:Is,defaultFormattingWidth:"wide"}),day:r({values:qs,defaultWidth:"wide"}),dayPeriod:r({values:Bs,defaultWidth:"any",formattingValues:Ys,defaultFormattingWidth:"wide"})};var Qs=/^(\d+)(-?(е|й|є|а|я))?/i,$s=/\d+/i,Ks={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},Us={any:[/^д/i,/^н/i]},Zs={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},ed={any:[/1/i,/2/i,/3/i,/4/i]},td={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},ad={narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},nd={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},id={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},rd={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},od={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},aa={ordinalNumber:u({matchPattern:Qs,parsePattern:$s,valueCallback:e=>parseInt(e,10)}),era:o({matchPatterns:Ks,defaultMatchWidth:"wide",parsePatterns:Us,defaultParseWidth:"any"}),quarter:o({matchPatterns:Zs,defaultMatchWidth:"wide",parsePatterns:ed,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:td,defaultMatchWidth:"wide",parsePatterns:ad,defaultParseWidth:"any"}),day:o({matchPatterns:nd,defaultMatchWidth:"wide",parsePatterns:id,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:rd,defaultMatchWidth:"wide",parsePatterns:od,defaultParseWidth:"any"})};var na={code:"uk",formatDistance:Kt,formatLong:Ut,formatRelative:ea,localize:ta,match:aa,options:{weekStartsOn:1,firstWeekContainsDate:1}};var sd={lessThanXSeconds:{one:"\u4E0D\u5230 1 \u79D2",other:"\u4E0D\u5230 {{count}} \u79D2"},xSeconds:{one:"1 \u79D2",other:"{{count}} \u79D2"},halfAMinute:"\u534A\u5206\u949F",lessThanXMinutes:{one:"\u4E0D\u5230 1 \u5206\u949F",other:"\u4E0D\u5230 {{count}} \u5206\u949F"},xMinutes:{one:"1 \u5206\u949F",other:"{{count}} \u5206\u949F"},xHours:{one:"1 \u5C0F\u65F6",other:"{{count}} \u5C0F\u65F6"},aboutXHours:{one:"\u5927\u7EA6 1 \u5C0F\u65F6",other:"\u5927\u7EA6 {{count}} \u5C0F\u65F6"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7EA6 1 \u4E2A\u661F\u671F",other:"\u5927\u7EA6 {{count}} \u4E2A\u661F\u671F"},xWeeks:{one:"1 \u4E2A\u661F\u671F",other:"{{count}} \u4E2A\u661F\u671F"},aboutXMonths:{one:"\u5927\u7EA6 1 \u4E2A\u6708",other:"\u5927\u7EA6 {{count}} \u4E2A\u6708"},xMonths:{one:"1 \u4E2A\u6708",other:"{{count}} \u4E2A\u6708"},aboutXYears:{one:"\u5927\u7EA6 1 \u5E74",other:"\u5927\u7EA6 {{count}} \u5E74"},xYears:{one:"1 \u5E74",other:"{{count}} \u5E74"},overXYears:{one:"\u8D85\u8FC7 1 \u5E74",other:"\u8D85\u8FC7 {{count}} \u5E74"},almostXYears:{one:"\u5C06\u8FD1 1 \u5E74",other:"\u5C06\u8FD1 {{count}} \u5E74"}},ia=(e,n,t)=>{let a,i=sd[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?a+"\u5185":a+"\u524D":a};var dd={full:"y'\u5E74'M'\u6708'd'\u65E5' EEEE",long:"y'\u5E74'M'\u6708'd'\u65E5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},md={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},ud={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},ra={date:s({formats:dd,defaultWidth:"full"}),time:s({formats:md,defaultWidth:"full"}),dateTime:s({formats:ud,defaultWidth:"full"})};function oa(e,n,t){let a="eeee p";return v(e,n,t)?a:e.getTime()>n.getTime()?"'\u4E0B\u4E2A'"+a:"'\u4E0A\u4E2A'"+a}var cd={lastWeek:oa,yesterday:"'\u6628\u5929' p",today:"'\u4ECA\u5929' p",tomorrow:"'\u660E\u5929' p",nextWeek:oa,other:"PP p"},sa=(e,n,t,a)=>{let i=cd[e];return typeof i=="function"?i(n,t,a):i};var ld={narrow:["\u524D","\u516C\u5143"],abbreviated:["\u524D","\u516C\u5143"],wide:["\u516C\u5143\u524D","\u516C\u5143"]},hd={narrow:["1","2","3","4"],abbreviated:["\u7B2C\u4E00\u5B63","\u7B2C\u4E8C\u5B63","\u7B2C\u4E09\u5B63","\u7B2C\u56DB\u5B63"],wide:["\u7B2C\u4E00\u5B63\u5EA6","\u7B2C\u4E8C\u5B63\u5EA6","\u7B2C\u4E09\u5B63\u5EA6","\u7B2C\u56DB\u5B63\u5EA6"]},fd={narrow:["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},pd={narrow:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],short:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],abbreviated:["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],wide:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]},gd={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u51CC\u6668",noon:"\u5348",morning:"\u65E9",afternoon:"\u4E0B\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"}},vd={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u51CC\u6668",noon:"\u5348",morning:"\u65E9",afternoon:"\u4E0B\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"}},bd=(e,n)=>{let t=Number(e);switch(n?.unit){case"date":return t.toString()+"\u65E5";case"hour":return t.toString()+"\u65F6";case"minute":return t.toString()+"\u5206";case"second":return t.toString()+"\u79D2";default:return"\u7B2C "+t.toString()}},da={ordinalNumber:bd,era:r({values:ld,defaultWidth:"wide"}),quarter:r({values:hd,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:fd,defaultWidth:"wide"}),day:r({values:pd,defaultWidth:"wide"}),dayPeriod:r({values:gd,defaultWidth:"wide",formattingValues:vd,defaultFormattingWidth:"wide"})};var yd=/^(第\s*)?\d+(日|时|分|秒)?/i,wd=/\d+/i,Pd={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},Md={any:[/^(前)/i,/^(公元)/i]},kd={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},xd={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},Wd={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Dd={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},Sd={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},_d={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},zd={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},Cd={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},ma={ordinalNumber:u({matchPattern:yd,parsePattern:wd,valueCallback:e=>parseInt(e,10)}),era:o({matchPatterns:Pd,defaultMatchWidth:"wide",parsePatterns:Md,defaultParseWidth:"any"}),quarter:o({matchPatterns:kd,defaultMatchWidth:"wide",parsePatterns:xd,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:Wd,defaultMatchWidth:"wide",parsePatterns:Dd,defaultParseWidth:"any"}),day:o({matchPatterns:Sd,defaultMatchWidth:"wide",parsePatterns:_d,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:zd,defaultMatchWidth:"any",parsePatterns:Cd,defaultParseWidth:"any"})};var ua={code:"zh-CN",formatDistance:ia,formatLong:ra,formatRelative:sa,localize:da,match:ma,options:{weekStartsOn:1,firstWeekContainsDate:4}};var jd={ar:Ve,de:qe,en:F,es:at,fr:dt,hi:gt,ja:Mt,nl:_t,pt:Nt,ru:It,tr:$t,uk:na,zh:ua};var Th=e=>jd[e]??F;function Lh(e){let n=w(e),t=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return t.setUTCFullYear(n.getFullYear()),+e-+t}export{sm as a,Bc as b,Yc as c,Jc as d,Qc as e,N as f,w as g,Gt as h,te as i,Lh as j,Vt as k,F as l,Th as m}; diff --git a/webui/dist/bitmagnet/browser/index.html b/webui/dist/bitmagnet/browser/index.html index a4d71555..881097e7 100644 --- a/webui/dist/bitmagnet/browser/index.html +++ b/webui/dist/bitmagnet/browser/index.html @@ -9,5 +9,5 @@ - + diff --git a/webui/dist/bitmagnet/browser/main-EKJP2KUZ.js b/webui/dist/bitmagnet/browser/main-EKJP2KUZ.js deleted file mode 100644 index f94ad382..00000000 --- a/webui/dist/bitmagnet/browser/main-EKJP2KUZ.js +++ /dev/null @@ -1 +0,0 @@ -import{a as ze,b as Ae,d as Xe,e as Ue}from"./chunk-VHNPENGG.js";import{a as Oe}from"./chunk-TC5EWLZ6.js";import{a as Ge,c as Ne,d as Ke}from"./chunk-IYIUYS3O.js";import{H as je,J as Ie,Ua as I,a as Ce,b as E,c as Me,i as Pe,p as qe,pa as Le,qa as Fe,r as De,s as Ee,sa as Be,ta as Re,ua as He,xa as Ve,ya as j}from"./chunk-HB55W55I.js";import"./chunk-6XXA7HXI.js";import{c as X,d as pe,e as ge,f as fe,g as be,h as ye,k as ve,l as ke,m as xe,n as we,o as Te,p as Se}from"./chunk-ZBBMS7J5.js";import{$b as _,B as ee,Cb as x,Ea as R,Fa as H,Fc as he,Hb as h,Kb as v,Mb as O,Nb as ce,Oa as re,Ob as S,Pb as C,Qb as s,Rb as n,Sb as d,Sc as D,Tb as w,Ub as T,Wa as ne,Wb as G,Zb as N,ac as de,bc as _e,d as Z,ec as M,fc as z,gc as A,ia as te,jc as k,ka as p,kb as i,kc as c,l as $,lb as V,lc as f,mb as se,mc as K,na as P,ob as ie,pa as ae,pc as b,qa as u,qb as le,qc as q,rc as me,tb as ue,ua as g,ya as oe}from"./chunk-FJILXII2.js";var xt="@",wt=(()=>{class t{constructor(e,a,r,l,m){this.doc=e,this.delegate=a,this.zone=r,this.animationType=l,this.moduleImpl=m,this._rendererFactoryPromise=null,this.scheduler=u(ie,{optional:!0}),this.loadingSchedulerFn=u(Tt,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-R6LGJCCV.js").then(r=>r),a;return this.loadingSchedulerFn?a=this.loadingSchedulerFn(e):a=e(),a.catch(r=>{throw new te(5300,!1)}).then(({\u0275createEngine:r,\u0275AnimationRendererFactory:l})=>{this._engine=r(this.animationType,this.doc);let m=new l(this.delegate,this._engine,this.zone);return this.delegate=m,m})}createRenderer(e,a){let r=this.delegate.createRenderer(e,a);if(r.\u0275type===0)return r;typeof r.throwOnSyntheticProps=="boolean"&&(r.throwOnSyntheticProps=!1);let l=new U(r);return a?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(m=>{let kt=m.createRenderer(e,a);l.use(kt),this.scheduler?.notify(10)}).catch(m=>{l.use(r)}),l}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static{this.\u0275fac=function(a){se()}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac})}}return t})(),U=class{constructor(o){this.delegate=o,this.replay=[],this.\u0275type=1}use(o){if(this.delegate=o,this.replay!==null){for(let e of this.replay)e(o);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(o,e){return this.delegate.createElement(o,e)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}get destroyNode(){return this.delegate.destroyNode}appendChild(o,e){this.delegate.appendChild(o,e)}insertBefore(o,e,a,r){this.delegate.insertBefore(o,e,a,r)}removeChild(o,e,a){this.delegate.removeChild(o,e,a)}selectRootElement(o,e){return this.delegate.selectRootElement(o,e)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,e,a,r){this.delegate.setAttribute(o,e,a,r)}removeAttribute(o,e,a){this.delegate.removeAttribute(o,e,a)}addClass(o,e){this.delegate.addClass(o,e)}removeClass(o,e){this.delegate.removeClass(o,e)}setStyle(o,e,a,r){this.delegate.setStyle(o,e,a,r)}removeStyle(o,e,a){this.delegate.removeStyle(o,e,a)}setProperty(o,e,a){this.shouldReplay(e)&&this.replay.push(r=>r.setProperty(o,e,a)),this.delegate.setProperty(o,e,a)}setValue(o,e){this.delegate.setValue(o,e)}listen(o,e,a){return this.shouldReplay(e)&&this.replay.push(r=>r.listen(o,e,a)),this.delegate.listen(o,e,a)}shouldReplay(o){return this.replay!==null&&o.startsWith(xt)}},Tt=new P("");function We(t="animations"){return ue("NgAsyncAnimations"),oe([{provide:le,useFactory:(o,e,a)=>new wt(o,e,a,t),deps:[D,ge,re]},{provide:ne,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Qe=[{path:"",pathMatch:"full",redirectTo:"torrents"},{path:"torrents",loadComponent:()=>import("./chunk-VRXOKWLG.js").then(t=>t.TorrentsComponent),children:[{path:"",loadComponent:()=>import("./chunk-AOOWIKXT.js").then(t=>t.TorrentsSearchComponent)},{path:"permalink/:infoHash",loadComponent:()=>import("./chunk-AVA4BMHN.js").then(t=>t.TorrentPermalinkComponent)}]},{path:"dashboard",loadComponent:()=>import("./chunk-LQDV34E4.js").then(t=>t.DashboardComponent),children:[{path:"",loadComponent:()=>import("./chunk-5HTYRI4Q.js").then(t=>t.DashboardHomeComponent)},{path:"queues",loadComponent:()=>import("./chunk-EGT2L66S.js").then(t=>t.QueueDashboardComponent),children:[{path:"visualize",loadComponent:()=>import("./chunk-FRHSCC4F.js").then(t=>t.QueueVisualizeComponent)},{path:"jobs",loadComponent:()=>import("./chunk-QXTOPNJN.js").then(t=>t.QueueJobsComponent)},{path:"admin",loadComponent:()=>import("./chunk-CBFHEGD2.js").then(t=>t.QueueAdminComponent)}]},{path:"torrents",loadComponent:()=>import("./chunk-6BQYS3OK.js").then(t=>t.TorrentsDashboardComponent)}]},{path:"**",loadComponent:()=>import("./chunk-2VIXJIMN.js").then(t=>t.NotFoundComponent)}];var Ye={content_types:{plural:{all:"\u0627\u0644\u0643\u0644",audiobook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0635\u0648\u062A\u064A\u0629",comic:"\u0627\u0644\u0642\u0635\u0635 \u0627\u0644\u0645\u0635\u0648\u0631\u0629",ebook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u0629",movie:"\u0627\u0644\u0623\u0641\u0644\u0627\u0645",music:"\u0627\u0644\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0644\u0641\u0627\u0632",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"},singular:{audiobook:"\u0643\u062A\u0627\u0628 \u0635\u0648\u062A\u064A",comic:"\u0642\u0635\u0629 \u0645\u0635\u0648\u0631\u0629",ebook:"\u0643\u062A\u0627\u0628 \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",movie:"\u0641\u064A\u0644\u0645",music:"\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0644\u0641\u0632\u064A\u0648\u0646\u064A",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"}},dashboard:{event:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",failed:"\u0641\u0634\u0644",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",updated:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B"},interval:{all:"\u0627\u0644\u0643\u0644",days:"\u064A\u0648\u0645",days_1:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",hours:"\u0633\u0627\u0639\u0629",hours_1:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",hours_12:"12 \u0633\u0627\u0639\u0629",hours_6:"6 \u0633\u0627\u0639\u0629",minutes:"\u062F\u0642\u064A\u0642\u0629",minutes_1:"1 \u062F\u0642\u064A\u0642\u0629",minutes_15:"15 \u062F\u0642\u0627\u0626\u0642",minutes_30:"30 \u062F\u0642\u0627\u0626\u0642",minutes_5:"5 \u062F\u0642\u0627\u0626\u0642",off:"\u0625\u064A\u0642\u0627\u0641",seconds_10:"10 \u062B\u0648\u0627\u0646\u064A",seconds_30:"30 \u062B\u0627\u0646\u064A\u0629",weeks_1:"1 \u0623\u0633\u0628\u0648\u0639"},metrics:{event:"\u062D\u062F\u062B",resolution:"\u0627\u0644\u062F\u0642\u0629",throughput:"\u0645\u0639\u062F\u0644 \u0627\u0644\u0646\u0642\u0644",timeframe:"\u0627\u0644\u0625\u0637\u0627\u0631 \u0627\u0644\u0632\u0645\u0646\u064A"},queues:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",created_at:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621 \u0641\u064A",enqueue_jobs:"\u0625\u062F\u0631\u0627\u062C \u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",enqueue_torrent_processing_batch:"\u0625\u062F\u0631\u0627\u062C \u062F\u0641\u0639\u0629 \u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",failed:"\u0641\u0634\u0644",force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",jobs_enqueued:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0645\u062F\u0631\u062C\u0629 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",latency:"\u0627\u0644\u062A\u0623\u062E\u064A\u0631",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",payload:"\u0627\u0644\u062D\u0645\u0648\u0644\u0629",pending:"\u0642\u064A\u062F \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",priority:"\u0627\u0644\u0623\u0648\u0644\u0648\u064A\u0629",process_orphaned_torrents_only:"\u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u064A\u062A\u064A\u0645 \u0641\u0642\u0637",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",purge_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0648\u0638\u0627\u0626\u0641",purge_queue_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue_purged:"\u062A\u0645 \u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",ran_at:"\u062A\u0645 \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u0641\u064A",retry:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",total_counts_by_status:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u0639\u062F \u062D\u0633\u0628 \u0627\u0644\u062D\u0627\u0644\u0629"}},facets:{content_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u062D\u062A\u0648\u0649",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",genre:"\u0627\u0644\u0646\u0648\u0639",language:"\u0627\u0644\u0644\u063A\u0629",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",status:"\u0627\u0644\u062D\u0627\u0644\u0629",torrent_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",torrent_tag:"\u0639\u0644\u0627\u0645\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",video_resolution:"\u062F\u0642\u0629 \u0627\u0644\u0641\u064A\u062F\u064A\u0648",video_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u0641\u064A\u062F\u064A\u0648"},file_types:{archive:"\u0623\u0631\u0634\u064A\u0641",audio:"\u0635\u0648\u062A",data:"\u0628\u064A\u0627\u0646\u0627\u062A",document:"\u0648\u062B\u064A\u0642\u0629",image:"\u0635\u0648\u0631\u0629",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",subtitles:"\u062A\u0631\u062C\u0645\u0627\u062A",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",video:"\u0641\u064A\u062F\u064A\u0648"},general:{all:"\u0627\u0644\u0643\u0644",dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",none:"\u0644\u0627 \u0634\u064A\u0621",page_not_found:"\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629",refresh:"\u062A\u062D\u062F\u064A\u062B",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},health:{bitmagnet_is_status:"bitmagnet \u0647\u0648 {{status}}",check_failed_with_error:"\u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u0642\u0642 \u0645\u0639 \u062E\u0637\u0623",component:"\u0645\u0643\u0648\u0646",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",status:"\u0627\u0644\u062D\u0627\u0644\u0629",statuses:{degraded:"\u0645\u062A\u062F\u0647\u0648\u0631",down:"\u0645\u0639\u0637\u0644",error:"\u062E\u0637\u0623",inactive:"\u063A\u064A\u0631 \u0646\u0634\u0637",started:"\u0628\u062F\u0623",unknown:"\u0645\u0639\u0644\u0642",up:"\u0646\u0634\u0637"},summary:"\u0645\u0644\u062E\u0635 \u0627\u0644\u0635\u062D\u0629",worker:"\u0639\u0627\u0645\u0644",workers:{dht_crawler:"\u0632\u0627\u062D\u0641 DHT",http_server:"\u062E\u0627\u062F\u0645 HTTP",queue_server:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0637\u0627\u0628\u0648\u0631"}},languages:{af:"\u0627\u0644\u0623\u0641\u0631\u064A\u0643\u0627\u0646\u064A\u0629",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",az:"\u0627\u0644\u0623\u0630\u0631\u0628\u064A\u062C\u0627\u0646\u064A\u0629",be:"\u0627\u0644\u0628\u064A\u0644\u0627\u0631\u0648\u0633\u064A\u0629",bg:"\u0627\u0644\u0628\u0644\u063A\u0627\u0631\u064A\u0629",bs:"\u0627\u0644\u0628\u0648\u0633\u0646\u064A\u0629",ca:"\u0627\u0644\u0643\u0627\u062A\u0627\u0644\u0627\u0646\u064A\u0629",ce:"\u0627\u0644\u0634\u064A\u0634\u0627\u0646\u064A\u0629",co:"\u0627\u0644\u0643\u0648\u0631\u0633\u064A\u0643\u064A\u0629",cs:"\u0627\u0644\u062A\u0634\u064A\u0643\u064A\u0629",cy:"\u0627\u0644\u0648\u064A\u0644\u0632\u064A\u0629",da:"\u0627\u0644\u062F\u0627\u0646\u0645\u0627\u0631\u0643\u064A\u0629",de:"\u0627\u0644\u0623\u0644\u0645\u0627\u0646\u064A\u0629",el:"\u0627\u0644\u064A\u0648\u0646\u0627\u0646\u064A\u0629",en:"\u0627\u0644\u0625\u0646\u062C\u0644\u064A\u0632\u064A\u0629",es:"\u0627\u0644\u0625\u0633\u0628\u0627\u0646\u064A\u0629",et:"\u0627\u0644\u0625\u0633\u062A\u0648\u0646\u064A\u0629",eu:"\u0627\u0644\u0628\u0627\u0633\u0643\u064A\u0629",fa:"\u0627\u0644\u0641\u0627\u0631\u0633\u064A\u0629",fi:"\u0627\u0644\u0641\u0646\u0644\u0646\u062F\u064A\u0629",fr:"\u0627\u0644\u0641\u0631\u0646\u0633\u064A\u0629",he:"\u0627\u0644\u0639\u0628\u0631\u064A\u0629",hi:"\u0627\u0644\u0647\u0646\u062F\u064A\u0629",hr:"\u0627\u0644\u0643\u0631\u0648\u0627\u062A\u064A\u0629",hu:"\u0627\u0644\u0647\u0646\u063A\u0627\u0631\u064A\u0629",hy:"\u0627\u0644\u0623\u0631\u0645\u0646\u064A\u0629",id:"\u0627\u0644\u0625\u0646\u062F\u0648\u0646\u064A\u0633\u064A\u0629",is:"\u0627\u0644\u0623\u064A\u0633\u0644\u0646\u062F\u064A\u0629",it:"\u0627\u0644\u0625\u064A\u0637\u0627\u0644\u064A\u0629",ja:"\u0627\u0644\u064A\u0627\u0628\u0627\u0646\u064A\u0629",ka:"\u0627\u0644\u062C\u0648\u0631\u062C\u064A\u0629",ko:"\u0627\u0644\u0643\u0648\u0631\u064A\u0629",ku:"\u0627\u0644\u0643\u0631\u062F\u064A\u0629",lt:"\u0627\u0644\u0644\u064A\u062A\u0648\u0627\u0646\u064A\u0629",lv:"\u0627\u0644\u0644\u0627\u062A\u0641\u064A\u0629",mi:"\u0627\u0644\u0645\u0627\u0648\u0631\u064A\u0629",mk:"\u0627\u0644\u0645\u0642\u062F\u0648\u0646\u064A\u0629",ml:"\u0627\u0644\u0645\u0627\u0644\u0627\u064A\u0627\u0644\u0627\u0645\u064A\u0629",mn:"\u0627\u0644\u0645\u0646\u063A\u0648\u0644\u064A\u0629",ms:"\u0627\u0644\u0645\u0644\u0627\u064A\u0648\u064A\u0629",mt:"\u0627\u0644\u0645\u0627\u0644\u0637\u064A\u0629",nl:"\u0627\u0644\u0647\u0648\u0644\u0646\u062F\u064A\u0629",no:"\u0627\u0644\u0646\u0631\u0648\u064A\u062C\u064A\u0629",pl:"\u0627\u0644\u0628\u0648\u0644\u0646\u062F\u064A\u0629",pt:"\u0627\u0644\u0628\u0631\u062A\u063A\u0627\u0644\u064A\u0629",ro:"\u0627\u0644\u0631\u0648\u0645\u0627\u0646\u064A\u0629",ru:"\u0627\u0644\u0631\u0648\u0633\u064A\u0629",sa:"\u0627\u0644\u0633\u0646\u0633\u0643\u0631\u064A\u062A\u064A\u0629",sk:"\u0627\u0644\u0633\u0644\u0648\u0641\u0627\u0643\u064A\u0629",sl:"\u0627\u0644\u0633\u0644\u0648\u0641\u064A\u0646\u064A\u0629",sm:"\u0627\u0644\u0633\u0627\u0645\u0648\u064A\u0629",so:"\u0627\u0644\u0635\u0648\u0645\u0627\u0644\u064A\u0629",sr:"\u0627\u0644\u0635\u0631\u0628\u064A\u0629",sv:"\u0627\u0644\u0633\u0648\u064A\u062F\u064A\u0629",ta:"\u0627\u0644\u062A\u0627\u0645\u064A\u0644\u064A\u0629",th:"\u0627\u0644\u062A\u0627\u064A\u0644\u0627\u0646\u062F\u064A\u0629",tr:"\u0627\u0644\u062A\u0631\u0643\u064A\u0629",uk:"\u0627\u0644\u0623\u0648\u0643\u0631\u0627\u0646\u064A\u0629",vi:"\u0627\u0644\u0641\u064A\u062A\u0646\u0627\u0645\u064A\u0629",yi:"\u0627\u0644\u064A\u062F\u064A\u0634\u064A\u0629",zh:"\u0627\u0644\u0635\u064A\u0646\u064A\u0629",zu:"\u0627\u0644\u0632\u0648\u0644\u0648"},layout:{bitmagnet_on_service:"bitmagnet \u0639\u0644\u0649 {{service}}",change_theme:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0633\u0645\u0629",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",sponsor:"\u0627\u0644\u0631\u0627\u0639\u064A",support_bitmagnet:"\u062F\u0639\u0645 bitmagnet",translate:"\u062A\u0631\u062C\u0645\u0629"},paginator:{first_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u0648\u0644\u0649",items_per_page:"\u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0644\u0643\u0644 \u0635\u0641\u062D\u0629",last_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u062E\u064A\u0631\u0629",next_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629",previous_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",x_to_y:"{{x}} \u0625\u0644\u0649 {{y}}",x_to_y_of_y:"__\u0645\u0641\u0642\u0648\u062F__",x_to_y_of_z:"{{x}} \u0625\u0644\u0649 {{y}} \u0645\u0646 {{z}}"},routes:{admin:"\u0627\u0644\u0645\u0633\u0624\u0648\u0644",dashboard:"\u0644\u0648\u062D\u0629 \u0627\u0644\u062A\u062D\u0643\u0645",home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",jobs:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",torrents:"\u0627\u0644\u062A\u0648\u0631\u0646\u062A",visualize:"\u062A\u0635\u0648\u0631"},torrents:{clear_search:"\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B",copy:"\u0646\u0633\u062E",copy_to_clipboard:"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629",delete:"\u062D\u0630\u0641",delete_action_cannot_be_undone:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u0627\u0644\u062A\u0631\u0627\u062C\u0639 \u0639\u0646 \u0647\u0630\u0627 \u0627\u0644\u0625\u062C\u0631\u0627\u0621",delete_are_you_sure:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062D\u0630\u0641 \u0647\u0630\u0627 \u0627\u0644\u062A\u0648\u0631\u0646\u062A\u061F",deselect_all:"\u0625\u0644\u063A\u0627\u0621 \u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",edit_tags:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",episodes:"\u0627\u0644\u062D\u0644\u0642\u0627\u062A",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",file_index:"\u0641\u0647\u0631\u0633 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",file_path:"\u0645\u0633\u0627\u0631 \u0627\u0644\u0645\u0644\u0641",file_size:"\u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",files:"\u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_count_n:"{{count}} \u0645\u0644\u0641\u0627\u062A",files_no_info:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0646 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_single:"\u0645\u0644\u0641 \u0648\u0627\u062D\u062F",genres:"\u0627\u0644\u0623\u0646\u0648\u0627\u0639",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",info_hashes:"\u062A\u062C\u0632\u0626\u0627\u062A \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",languages:"\u0627\u0644\u0644\u063A\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",magnet:"\u0645\u063A\u0646\u0627\u0637\u064A\u0633",magnet_links:"\u0631\u0648\u0627\u0628\u0637 \u0645\u063A\u0646\u0627\u0637\u064A\u0633\u064A\u0629",new_tag:"\u0639\u0644\u0627\u0645\u0629 \u062C\u062F\u064A\u062F\u0629",order_by:"\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628",order_direction_toggle:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0627\u062A\u062C\u0627\u0647",ordering:{files_count:"\u0639\u062F\u062F \u0627\u0644\u0645\u0644\u0641\u0627\u062A",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",name:"\u0627\u0644\u0627\u0633\u0645",published_at:"\u0646\u0634\u0631 \u0641\u064A",relevance:"\u0627\u0644\u0635\u0644\u0629",seeders:"\u0627\u0644\u0645\u0632\u0627\u0631\u0639\u0648\u0646",size:"\u0627\u0644\u062D\u062C\u0645",updated_at:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0641\u064A"},original_release_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0635\u062F\u0627\u0631 \u0627\u0644\u0623\u0635\u0644\u064A",permalink:"\u0631\u0627\u0628\u0637 \u062F\u0627\u0626\u0645",poster:"\u0645\u0644\u0635\u0642",published:"\u0645\u0646\u0634\u0648\u0631",rating:"\u0627\u0644\u062A\u0642\u064A\u064A\u0645",refresh:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u062A\u0627\u0626\u062C",s_l:"S / L",search:"\u0628\u062D\u062B",seeders:"\u0627\u0644\u0628\u0627\u0630\u0631\u0648\u0646",select_all:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",showing_x_of_y_files:"\u0639\u0631\u0636 {{x}} \u0645\u0646 {{y}} \u0645\u0644\u0641\u0627\u062A",size:"\u0627\u0644\u062D\u062C\u0645",source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",summary:"\u0627\u0644\u0645\u0644\u062E\u0635",title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",toggle_drawer:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u062F\u0631\u062C",votes_count_n:"{{count}} \u0623\u0635\u0648\u0627\u062A"},version:{bitmagnet_version:"\u0625\u0635\u062F\u0627\u0631 bitmagnet {{version}}",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641"}};var Je={content_types:{plural:{all:"Alle",audiobook:"H\xF6rb\xFCcher",comic:"Comics",ebook:"E-B\xFCcher",movie:"Filme",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Shows",xxx:"XXX"},singular:{audiobook:"H\xF6rbuch",comic:"Comic",ebook:"E-Buch",movie:"Film",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Show",xxx:"XXX"}},dashboard:{event:{created:"Erstellt",failed:"Fehlgeschlagen",processed:"Verarbeitet",updated:"Aktualisiert"},interval:{all:"Alle",days:"Tage",days_1:"1 Tag",hours:"Stunden",hours_1:"1 Stunde",hours_12:"12 Stunden",hours_6:"6 Stunden",minutes:"Minuten",minutes_1:"1 Minute",minutes_15:"15 Minuten",minutes_30:"30 Minuten",minutes_5:"5 Minuten",off:"Aus",seconds_10:"10 Sekunden",seconds_30:"30 Sekunden",weeks_1:"1 Woche"},metrics:{event:"Ereignis",resolution:"Aufl\xF6sung",throughput:"Durchsatz",timeframe:"Zeitrahmen"},queues:{created:"Erstellt",created_at:"Erstellt am",enqueue_jobs:"Jobs einreihen",enqueue_torrent_processing_batch:"Torrent-Verarbeitungsbatch einreihen",failed:"Fehlgeschlagen",force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",jobs_enqueued:"Jobs eingereiht",latency:"Latenz",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",payload:"Nutzlast",pending:"Ausstehend",priority:"Priorit\xE4t",process_orphaned_torrents_only:"Nur verwaiste Torrents verarbeiten",processed:"Verarbeitet",purge_jobs:"Jobs bereinigen",purge_queue_jobs:"Warteschlangen-Jobs bereinigen",queue:"Warteschlange",queue_purged:"Warteschlange bereinigt",queues:"Warteschlangen",ran_at:"Ausgef\xFChrt am",retry:"Erneut versuchen",total_counts_by_status:"Gesamtanzahl nach Status"}},facets:{content_type:"Inhaltstyp",file_type:"Dateityp",genre:"Genre",language:"Sprache",queue:"Warteschlange",status:"Status",torrent_source:"Torrent-Quelle",torrent_tag:"Torrent-Tag",video_resolution:"Videoaufl\xF6sung",video_source:"Videoquelle"},file_types:{archive:"Archiv",audio:"Audio",data:"Daten",document:"Dokument",image:"Bild",software:"Software",subtitles:"Untertitel",unknown:"Unbekannt",video:"Video"},general:{all:"Alle",dismiss:"Verwerfen",error:"Fehler",none:"Keine",page_not_found:"Seite nicht gefunden",refresh:"Aktualisieren",status:"Status"},health:{bitmagnet_is_status:"bitmagnet ist {{status}}",check_failed_with_error:"\xDCberpr\xFCfung mit Fehler fehlgeschlagen",component:"Komponente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Verwerfen",error:"Fehler",status:"Status",statuses:{degraded:"Verschlechtert",down:"Aus",error:"Fehler",inactive:"Inaktiv",started:"Gestartet",unknown:"Ausstehend",up:"An"},summary:"Gesundheits\xFCbersicht",worker:"Arbeiter",workers:{dht_crawler:"DHT-Crawler",http_server:"HTTP-Server",queue_server:"Warteschlangen-Server"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Aserbaidschanisch",be:"Wei\xDFrussisch",bg:"Bulgarisch",bs:"Bosnisch",ca:"Katalanisch",ce:"Tschetschenisch",co:"Korsisch",cs:"Tschechisch",cy:"Walisisch",da:"D\xE4nisch",de:"Deutsch",el:"Griechisch",en:"Englisch",es:"Spanisch",et:"Estnisch",eu:"Baskisch",fa:"Persisch",fi:"Finnisch",fr:"Franz\xF6sisch",he:"Hebr\xE4isch",hi:"Hindi",hr:"Kroatisch",hu:"Ungarisch",hy:"Armenisch",id:"Indonesisch",is:"Isl\xE4ndisch",it:"Italienisch",ja:"Japanisch",ka:"Georgisch",ko:"Koreanisch",ku:"Kurdisch",lt:"Litauisch",lv:"Lettisch",mi:"Maori",mk:"Mazedonisch",ml:"Malayalam",mn:"Mongolisch",ms:"Malaiisch",mt:"Maltesisch",nl:"Niederl\xE4ndisch",no:"Norwegisch",pl:"Polnisch",pt:"Portugiesisch",ro:"Rum\xE4nisch",ru:"Russisch",sa:"Sanskrit",sk:"Slowakisch",sl:"Slowenisch",sm:"Samoanisch",so:"Somalisch",sr:"Serbisch",sv:"Schwedisch",ta:"Tamil",th:"Thai",tr:"T\xFCrkisch",uk:"Ukrainisch",vi:"Vietnamesisch",yi:"Jiddisch",zh:"Chinesisch",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet auf {{service}}",change_theme:"Thema \xE4ndern",external_links:"Externe Links",sponsor:"Sponsor",support_bitmagnet:"bitmagnet unterst\xFCtzen",translate:"\xDCbersetzen"},paginator:{first_page:"Erste Seite",items_per_page:"Artikel pro Seite",last_page:"Letzte Seite",next_page:"N\xE4chste Seite",previous_page:"Vorherige Seite",x_to_y:"{{x}} bis {{y}}",x_to_y_of_y:"__fehlend__",x_to_y_of_z:"{{x}} bis {{y}} von {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Startseite",jobs:"Aufgaben",queues:"Warteschlangen",torrents:"Torrents",visualize:"Visualisieren"},torrents:{clear_search:"Suche l\xF6schen",copy:"Kopieren",copy_to_clipboard:"In die Zwischenablage kopieren",delete:"L\xF6schen",delete_action_cannot_be_undone:"Diese Aktion kann nicht r\xFCckg\xE4ngig gemacht werden",delete_are_you_sure:"Sind Sie sicher, dass Sie diesen Torrent l\xF6schen m\xF6chten?",deselect_all:"Alle abw\xE4hlen",edit_tags:"Tags bearbeiten",episodes:"Episoden",external_links:"Externe Links",file_index:"Dateiindex",file_path:"Dateipfad",file_size:"Dateigr\xF6\xDFe",file_type:"Dateityp",files:"Dateien",files_count_n:"{{count}} Dateien",files_no_info:"Keine Dateiinformationen verf\xFCgbar",files_single:"Einzelne Datei",genres:"Genres",info_hash:"Info-Hash",info_hashes:"Info-Hashes",languages:"Sprachen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-Links",new_tag:"Neuer Tag",order_by:"Sortieren nach",order_direction_toggle:"Richtung umschalten",ordering:{files_count:"Dateienanzahl",info_hash:"Info-Hash",leechers:"Leechers",name:"Name",published_at:"Ver\xF6ffentlicht am",relevance:"Relevanz",seeders:"Seeders",size:"Gr\xF6\xDFe",updated_at:"Aktualisiert am"},original_release_date:"Originales Ver\xF6ffentlichungsdatum",permalink:"Permalink",poster:"Poster",published:"Ver\xF6ffentlicht",rating:"Bewertung",refresh:"Ergebnisse aktualisieren",s_l:"S / L",search:"Suche",seeders:"Seeders",select_all:"Alle ausw\xE4hlen",showing_x_of_y_files:"{{x}} von {{y}} Dateien anzeigen",size:"Gr\xF6\xDFe",source:"Torrent-Quelle",summary:"Zusammenfassung",title:"Titel",toggle_drawer:"Schublade umschalten",votes_count_n:"{{count}} Stimmen"},version:{bitmagnet_version:"bitmagnet Version {{version}}",unknown:"unbekannt"}};var Ze={content_types:{plural:{all:"All",audiobook:"Audiobooks",comic:"Comics",ebook:"E-Books",movie:"Movies",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Shows",xxx:"XXX"},singular:{audiobook:"Audiobook",comic:"Comic",ebook:"E-Book",movie:"Movie",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Show",xxx:"XXX"}},dashboard:{event:{created:"Created",failed:"Failed",processed:"Processed",updated:"Updated"},interval:{all:"All",days:"Days",days_1:"1 day",hours:"Hours",hours_1:"1 hour",hours_12:"12 hours",hours_6:"6 hours",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"Off",seconds_10:"10 seconds",seconds_30:"30 seconds",weeks_1:"1 week"},metrics:{event:"Event",resolution:"Resolution",throughput:"Throughput",timeframe:"Timeframe"},queues:{created:"Created",created_at:"Created at",enqueue_jobs:"Enqueue jobs",enqueue_torrent_processing_batch:"Enqueue Torrent Processing Batch",failed:"Failed",force_rematch:"Force rematch of already matched content",jobs_enqueued:"Jobs enqueued",latency:"Latency",match_content_by_external_api_search:"Match content by external API search",match_content_by_local_search:"Match content by local search",payload:"Payload",pending:"Pending",priority:"Priority",process_orphaned_torrents_only:"Process orphaned torrents only",processed:"Processed",purge_jobs:"Purge jobs",purge_queue_jobs:"Purge queue jobs",queue:"Queue",queue_purged:"Queue purged",queues:"Queues",ran_at:"Ran at",retry:"Retry",total_counts_by_status:"Total counts by status"}},facets:{content_type:"Content Type",file_type:"File Type",genre:"Genre",language:"Language",queue:"Queue",status:"Status",torrent_source:"Torrent Source",torrent_tag:"Torrent Tag",video_resolution:"Video Resolution",video_source:"Video Source"},file_types:{archive:"Archive",audio:"Audio",data:"Data",document:"Document",image:"Image",software:"Software",subtitles:"Subtitles",unknown:"Unknown",video:"Video"},general:{all:"All",dismiss:"Dismiss",error:"Error",none:"None",page_not_found:"Page not found",refresh:"Refresh",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Check failed with error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Dismiss",error:"Error",status:"Status",statuses:{degraded:"Degraded",down:"Down",error:"Error",inactive:"Inactive",started:"Started",unknown:"Pending",up:"Up"},summary:"Health summary",worker:"Worker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Queue server"}},languages:{af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bs:"Bosnian",ca:"Catalan",ce:"Chechen",co:"Corsican",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",hy:"Armenian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",ms:"Malay",mt:"Maltese",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sa:"Sanskrit",sk:"Slovak",sl:"Slovenian",sm:"Samoan",so:"Somali",sr:"Serbian",sv:"Swedish",ta:"Tamil",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",yi:"Yiddish",zh:"Chinese",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet on {{service}}",change_theme:"Change theme",external_links:"External links",sponsor:"Sponsor",support_bitmagnet:"Support bitmagnet",translate:"Translate"},paginator:{first_page:"First page",items_per_page:"Items per page",last_page:"Last page",next_page:"Next page",previous_page:"Previous page",x_to_y:"{{x}} to {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} to {{y}} of {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Home",jobs:"Jobs",queues:"Queues",torrents:"Torrents",visualize:"Visualize"},torrents:{clear_search:"Clear Search",copy:"Copy",copy_to_clipboard:"Copy to clipboard",delete:"Delete",delete_action_cannot_be_undone:"This action cannot be undone",delete_are_you_sure:"Are you sure you want to delete this torrent?",deselect_all:"Deselect All",edit_tags:"Edit tags",episodes:"Episodes",external_links:"External links",file_index:"File index",file_path:"File path",file_size:"File size",file_type:"File type",files:"Files",files_count_n:"{{count}} files",files_no_info:"No files information available",files_single:"Single file",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Languages",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet links",new_tag:"New tag",order_by:"Order by",order_direction_toggle:"Toggle direction",ordering:{files_count:"Files count",info_hash:"Info hash",leechers:"Leechers",name:"Name",published_at:"Published at",relevance:"Relevance",seeders:"Seeders",size:"Size",updated_at:"Updated at"},original_release_date:"Original release date",permalink:"Permalink",poster:"Poster",published:"Published",rating:"Rating",refresh:"Refresh results",s_l:"S / L",search:"Search",seeders:"Seeders",select_all:"Select All",showing_x_of_y_files:"Showing {{x}} of {{y}} files",size:"Size",source:"Torrent Source",summary:"Summary",title:"Title",toggle_drawer:"Toggle Drawer",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"bitmagnet version {{version}}",unknown:"unknown"}};var $e={content_types:{plural:{all:"Todos",audiobook:"Audiolibros",comic:"C\xF3mics",ebook:"E-Libros",movie:"Pel\xEDculas",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolibro",comic:"C\xF3mic",ebook:"E-Libro",movie:"Pel\xEDcula",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Creado",failed:"Fallido",processed:"Procesado",updated:"Actualizado"},interval:{all:"Todos",days:"D\xEDas",days_1:"1 d\xEDa",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Apagado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resoluci\xF3n",throughput:"Rendimiento",timeframe:"Periodo de tiempo"},queues:{created:"Creado",created_at:"Creado en",enqueue_jobs:"Encolar trabajos",enqueue_torrent_processing_batch:"Encolar lote de procesamiento de torrents",failed:"Fallido",force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",jobs_enqueued:"Trabajos encolados",latency:"Latencia",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",payload:"Carga \xFAtil",pending:"Pendiente",priority:"Prioridad",process_orphaned_torrents_only:"Procesar solo torrents hu\xE9rfanos",processed:"Procesado",purge_jobs:"Purgar trabajos",purge_queue_jobs:"Purgar trabajos de la cola",queue:"Cola",queue_purged:"Cola purgada",queues:"Colas",ran_at:"Ejecutado en",retry:"Reintentar",total_counts_by_status:"Recuento total por estado"}},facets:{content_type:"Tipo de contenido",file_type:"Tipo de archivo",genre:"G\xE9nero",language:"Idioma",queue:"Cola",status:"Estado",torrent_source:"Fuente del torrent",torrent_tag:"Etiqueta del torrent",video_resolution:"Resoluci\xF3n de video",video_source:"Fuente de video"},file_types:{archive:"Archivo",audio:"Audio",data:"Datos",document:"Documento",image:"Imagen",software:"Software",subtitles:"Subt\xEDtulos",unknown:"Desconocido",video:"Video"},general:{all:"Todos",dismiss:"Descartar",error:"Error",none:"Ninguno",page_not_found:"P\xE1gina no encontrada",refresh:"Actualizar",status:"Estado"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"La verificaci\xF3n fall\xF3 con error",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Descartar",error:"Error",status:"Estado",statuses:{degraded:"Degradado",down:"Ca\xEDdo",error:"Error",inactive:"Inactivo",started:"Iniciado",unknown:"Pendiente",up:"Activo"},summary:"Resumen de salud",worker:"Trabajador",workers:{dht_crawler:"Rastreador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de colas"}},languages:{af:"Afrik\xE1ans",ar:"\xC1rabe",az:"Azerbaiyano",be:"Bielorruso",bg:"B\xFAlgaro",bs:"Bosnio",ca:"Catal\xE1n",ce:"Checheno",co:"Corso",cs:"Checo",cy:"Gal\xE9s",da:"Dan\xE9s",de:"Alem\xE1n",el:"Griego",en:"Ingl\xE9s",es:"Espa\xF1ol",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finland\xE9s",fr:"Franc\xE9s",he:"Hebreo",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Armenio",id:"Indonesio",is:"Island\xE9s",it:"Italiano",ja:"Japon\xE9s",ka:"Georgiano",ko:"Coreano",ku:"Kurdo",lt:"Lituano",lv:"Let\xF3n",mi:"Maor\xED",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",ms:"Malayo",mt:"Malt\xE9s",nl:"Neerland\xE9s",no:"Noruego",pl:"Polaco",pt:"Portugu\xE9s",ro:"Rumano",ru:"Ruso",sa:"S\xE1nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somal\xED",sr:"Serbio",sv:"Sueco",ta:"Tamil",th:"Tailand\xE9s",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"Yidis",zh:"Chino",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet en {{service}}",change_theme:"Cambiar tema",external_links:"Enlaces externos",sponsor:"Patrocinador",support_bitmagnet:"Apoyar bitmagnet",translate:"Traducir"},paginator:{first_page:"Primera p\xE1gina",items_per_page:"Elementos por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"P\xE1gina siguiente",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_y:"__faltante__",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Admin",dashboard:"Tablero",home:"Inicio",jobs:"Trabajos",queues:"Colas",torrents:"Torrents",visualize:"Visualizar"},torrents:{clear_search:"Borrar b\xFAsqueda",copy:"Copiar",copy_to_clipboard:"Copiar al portapapeles",delete:"Eliminar",delete_action_cannot_be_undone:"Esta acci\xF3n no se puede deshacer",delete_are_you_sure:"\xBFEst\xE1 seguro de que desea eliminar este torrent?",deselect_all:"Deseleccionar todo",edit_tags:"Editar etiquetas",episodes:"Episodios",external_links:"Enlaces externos",file_index:"\xCDndice de archivos",file_path:"Ruta del archivo",file_size:"Tama\xF1o del archivo",file_type:"Tipo de archivo",files:"Archivos",files_count_n:"{{count}} archivos",files_no_info:"No hay informaci\xF3n de archivos disponible",files_single:"Archivo \xFAnico",genres:"G\xE9neros",info_hash:"Hash de informaci\xF3n",info_hashes:"Hashes de informaci\xF3n",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Enlaces Magnet",new_tag:"Nueva etiqueta",order_by:"Ordenar por",order_direction_toggle:"Alternar direcci\xF3n",ordering:{files_count:"Recuento de archivos",info_hash:"Hash de informaci\xF3n",leechers:"Leechers",name:"Nombre",published_at:"Publicado en",relevance:"Relevancia",seeders:"Seeders",size:"Tama\xF1o",updated_at:"Actualizado en"},original_release_date:"Fecha de lanzamiento original",permalink:"Enlace permanente",poster:"P\xF3ster",published:"Publicado",rating:"Calificaci\xF3n",refresh:"Actualizar resultados",s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Seleccionar todo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} archivos",size:"Tama\xF1o",source:"Fuente del torrent",summary:"Resumen",title:"T\xEDtulo",toggle_drawer:"Alternar caj\xF3n",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"versi\xF3n de bitmagnet {{version}}",unknown:"desconocido"}};var et={content_types:{plural:{all:"Tous",audiobook:"Livres audio",comic:"Bandes dessin\xE9es",ebook:"E-livres",movie:"Films",music:"Musique",null:"Inconnu",software:"Logiciels",tv_show:"S\xE9ries TV",xxx:"XXX"},singular:{audiobook:"Livre audio",comic:"Bande dessin\xE9e",ebook:"E-livre",movie:"Film",music:"Musique",null:"Inconnu",software:"Logiciel",tv_show:"S\xE9rie TV",xxx:"XXX"}},dashboard:{event:{created:"Cr\xE9\xE9",failed:"\xC9chou\xE9",processed:"Trait\xE9",updated:"Mis \xE0 jour"},interval:{all:"Tous",days:"Jours",days_1:"1 jour",hours:"Heures",hours_1:"1 heure",hours_12:"12 heures",hours_6:"6 heures",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"D\xE9sactiv\xE9",seconds_10:"10 secondes",seconds_30:"30 secondes",weeks_1:"1 semaine"},metrics:{event:"\xC9v\xE9nement",resolution:"R\xE9solution",throughput:"D\xE9bit",timeframe:"P\xE9riode"},queues:{created:"Cr\xE9\xE9",created_at:"Cr\xE9\xE9 \xE0",enqueue_jobs:"Enfilez les t\xE2ches",enqueue_torrent_processing_batch:"Enfilez le traitement des torrents",failed:"\xC9chou\xE9",force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",jobs_enqueued:"T\xE2ches enfil\xE9es",latency:"Latence",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",payload:"Charge utile",pending:"En attente",priority:"Priorit\xE9",process_orphaned_torrents_only:"Traiter uniquement les torrents orphelins",processed:"Trait\xE9",purge_jobs:"Purger les t\xE2ches",purge_queue_jobs:"Purger les t\xE2ches de la file d'attente",queue:"File d'attente",queue_purged:"File d'attente purg\xE9e",queues:"Files d'attente",ran_at:"Ex\xE9cut\xE9 \xE0",retry:"R\xE9essayer",total_counts_by_status:"Totaux par statut"}},facets:{content_type:"Type de contenu",file_type:"Type de fichier",genre:"Genre",language:"Langue",queue:"File d'attente",status:"Statut",torrent_source:"Source du torrent",torrent_tag:"Tag du torrent",video_resolution:"R\xE9solution vid\xE9o",video_source:"Source vid\xE9o"},file_types:{archive:"Archive",audio:"Audio",data:"Donn\xE9es",document:"Document",image:"Image",software:"Logiciel",subtitles:"Sous-titres",unknown:"Inconnu",video:"Vid\xE9o"},general:{all:"Tous",dismiss:"Rejeter",error:"Erreur",none:"Aucun",page_not_found:"Page non trouv\xE9e",refresh:"Rafra\xEEchir",status:"Statut"},health:{bitmagnet_is_status:"bitmagnet est {{status}}",check_failed_with_error:"V\xE9rification \xE9chou\xE9e avec erreur",component:"Composant",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Rejeter",error:"Erreur",status:"Statut",statuses:{degraded:"D\xE9grad\xE9",down:"Hors ligne",error:"Erreur",inactive:"Inactif",started:"D\xE9marr\xE9",unknown:"En attente",up:"En ligne"},summary:"R\xE9sum\xE9 de la sant\xE9",worker:"Travailleur",workers:{dht_crawler:"Explorateur DHT",http_server:"Serveur HTTP",queue_server:"Serveur de file d'attente"}},languages:{af:"Afrikaans",ar:"Arabe",az:"Azerba\xEFdjanais",be:"Bi\xE9lorusse",bg:"Bulgare",bs:"Bosniaque",ca:"Catalan",ce:"Tch\xE9tch\xE8ne",co:"Corse",cs:"Tch\xE8que",cy:"Gallois",da:"Danois",de:"Allemand",el:"Grec",en:"Anglais",es:"Espagnol",et:"Estonien",eu:"Basque",fa:"Persan",fi:"Finnois",fr:"Fran\xE7ais",he:"H\xE9breu",hi:"Hindi",hr:"Croate",hu:"Hongrois",hy:"Arm\xE9nien",id:"Indon\xE9sien",is:"Islandais",it:"Italien",ja:"Japonais",ka:"G\xE9orgien",ko:"Cor\xE9en",ku:"Kurde",lt:"Lituanien",lv:"Letton",mi:"Maori",mk:"Mac\xE9donien",ml:"Malayalam",mn:"Mongol",ms:"Malais",mt:"Maltais",nl:"N\xE9erlandais",no:"Norv\xE9gien",pl:"Polonais",pt:"Portugais",ro:"Roumain",ru:"Russe",sa:"Sanskrit",sk:"Slovaque",sl:"Slov\xE8ne",sm:"Samoan",so:"Somali",sr:"Serbe",sv:"Su\xE9dois",ta:"Tamoul",th:"Tha\xEF",tr:"Turc",uk:"Ukrainien",vi:"Vietnamien",yi:"Yiddish",zh:"Chinois",zu:"Zoulou"},layout:{bitmagnet_on_service:"bitmagnet sur {{service}}",change_theme:"Changer de th\xE8me",external_links:"Liens externes",sponsor:"Sponsor",support_bitmagnet:"Soutenir bitmagnet",translate:"Traduire"},paginator:{first_page:"Premi\xE8re page",items_per_page:"Articles par page",last_page:"Derni\xE8re page",next_page:"Page suivante",previous_page:"Page pr\xE9c\xE9dente",x_to_y:"{{x}} \xE0 {{y}}",x_to_y_of_y:"__manquant__",x_to_y_of_z:"{{x}} \xE0 {{y}} de {{z}}"},routes:{admin:"Admin",dashboard:"Tableau de bord",home:"Accueil",jobs:"T\xE2ches",queues:"Files d'attente",torrents:"Torrents",visualize:"Visualiser"},torrents:{clear_search:"Effacer la recherche",copy:"Copier",copy_to_clipboard:"Copier dans le presse-papiers",delete:"Supprimer",delete_action_cannot_be_undone:"Cette action ne peut pas \xEAtre annul\xE9e",delete_are_you_sure:"\xCAtes-vous s\xFBr de vouloir supprimer ce torrent?",deselect_all:"Tout d\xE9s\xE9lectionner",edit_tags:"Modifier les tags",episodes:"\xC9pisodes",external_links:"Liens externes",file_index:"Index de fichier",file_path:"Chemin de fichier",file_size:"Taille de fichier",file_type:"Type de fichier",files:"Fichiers",files_count_n:"{{count}} fichiers",files_no_info:"Aucune information sur les fichiers disponible",files_single:"Fichier unique",genres:"Genres",info_hash:"Hash d'info",info_hashes:"Hashes d'info",languages:"Langues",leechers:"Leechers",magnet:"Magnet",magnet_links:"Liens Magnet",new_tag:"Nouveau tag",order_by:"Trier par",order_direction_toggle:"Basculer la direction",ordering:{files_count:"Nombre de fichiers",info_hash:"Hash d'info",leechers:"Leechers",name:"Nom",published_at:"Publi\xE9 \xE0",relevance:"Pertinence",seeders:"Seeders",size:"Taille",updated_at:"Mis \xE0 jour \xE0"},original_release_date:"Date de sortie originale",permalink:"Permalien",poster:"Affiche",published:"Publi\xE9",rating:"\xC9valuation",refresh:"Rafra\xEEchir les r\xE9sultats",s_l:"S / L",search:"Rechercher",seeders:"Seeders",select_all:"Tout s\xE9lectionner",showing_x_of_y_files:"Affichage de {{x}} sur {{y}} fichiers",size:"Taille",source:"Source du torrent",summary:"R\xE9sum\xE9",title:"Titre",toggle_drawer:"Basculer le tiroir",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"version bitmagnet {{version}}",unknown:"inconnu"}};var tt={content_types:{plural:{all:"\u0938\u092D\u0940",audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915\u094D\u0938",comic:"\u0915\u0949\u092E\u093F\u0915\u094D\u0938",ebook:"\u0908-\u092C\u0941\u0915\u094D\u0938",movie:"\u092B\u093C\u093F\u0932\u094D\u092E\u0947\u0902",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"},singular:{audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915",comic:"\u0915\u0949\u092E\u093F\u0915",ebook:"\u0908-\u092C\u0941\u0915",movie:"\u092B\u093C\u093F\u0932\u094D\u092E",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"}},dashboard:{event:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",failed:"\u0905\u0938\u092B\u0932",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",updated:"\u0905\u092A\u0921\u0947\u091F \u0915\u093F\u092F\u093E \u0917\u092F\u093E"},interval:{all:"\u0938\u092D\u0940",days:"\u0926\u093F\u0928",days_1:"1 \u0926\u093F\u0928",hours:"\u0918\u0902\u091F\u0947",hours_1:"1 \u0918\u0902\u091F\u093E",hours_12:"12 \u0918\u0902\u091F\u0947",hours_6:"6 \u0918\u0902\u091F\u0947",minutes:"\u092E\u093F\u0928\u091F",minutes_1:"1 \u092E\u093F\u0928\u091F",minutes_15:"15 \u092E\u093F\u0928\u091F",minutes_30:"30 \u092E\u093F\u0928\u091F",minutes_5:"5 \u092E\u093F\u0928\u091F",off:"\u092C\u0902\u0926",seconds_10:"10 \u0938\u0947\u0915\u0902\u0921",seconds_30:"30 \u0938\u0947\u0915\u0902\u0921",weeks_1:"1 \u0938\u092A\u094D\u0924\u093E\u0939"},metrics:{event:"\u0918\u091F\u0928\u093E",resolution:"\u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",throughput:"\u0925\u094D\u0930\u0942\u092A\u0941\u091F",timeframe:"\u0938\u092E\u092F \u0938\u0940\u092E\u093E"},queues:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",created_at:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",enqueue_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",enqueue_torrent_processing_batch:"\u091F\u094B\u0930\u0947\u0902\u091F \u092A\u094D\u0930\u094B\u0938\u0947\u0938\u093F\u0902\u0917 \u092C\u0948\u091A \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",failed:"\u0905\u0938\u092B\u0932",force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",jobs_enqueued:"\u091C\u0949\u092C\u094D\u0938 \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u0908 \u0917\u0908\u0902",latency:"\u0932\u0947\u091F\u0947\u0902\u0938\u0940",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",payload:"\u092A\u0947\u0932\u094B\u0921",pending:"\u092C\u0915\u093E\u092F\u093E",priority:"\u092A\u094D\u0930\u093E\u0925\u092E\u093F\u0915\u0924\u093E",process_orphaned_torrents_only:"\u0915\u0947\u0935\u0932 \u0905\u0928\u093E\u0925 \u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938 \u0915\u094B \u092A\u094D\u0930\u094B\u0938\u0947\u0938 \u0915\u0930\u0947\u0902",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",purge_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",purge_queue_jobs:"\u0915\u0924\u093E\u0930 \u0915\u0947 \u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",queue:"\u0915\u0924\u093E\u0930",queue_purged:"\u0915\u0924\u093E\u0930 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u093F\u092F\u093E \u0917\u092F\u093E",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",ran_at:"\u091A\u0932\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",retry:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",total_counts_by_status:"\u0938\u094D\u0925\u093F\u0924\u093F \u0926\u094D\u0935\u093E\u0930\u093E \u0915\u0941\u0932 \u0917\u0923\u0928\u093E"}},facets:{content_type:"\u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u092A\u094D\u0930\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",genre:"\u0936\u0948\u0932\u0940",language:"\u092D\u093E\u0937\u093E",queue:"\u0915\u0924\u093E\u0930",status:"\u0938\u094D\u0925\u093F\u0924\u093F",torrent_source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",torrent_tag:"\u091F\u094B\u0930\u0947\u0902\u091F \u091F\u0948\u0917",video_resolution:"\u0935\u0940\u0921\u093F\u092F\u094B \u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",video_source:"\u0935\u0940\u0921\u093F\u092F\u094B \u0938\u094D\u0930\u094B\u0924"},file_types:{archive:"\u0906\u0930\u094D\u0915\u093E\u0907\u0935",audio:"\u0911\u0921\u093F\u092F\u094B",data:"\u0921\u0947\u091F\u093E",document:"\u0926\u0938\u094D\u0924\u093E\u0935\u0947\u091C\u093C",image:"\u091B\u0935\u093F",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",subtitles:"\u0909\u092A\u0936\u0940\u0930\u094D\u0937\u0915",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924",video:"\u0935\u0940\u0921\u093F\u092F\u094B"},general:{all:"\u0938\u092D\u0940",dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",none:"\u0915\u094B\u0908 \u0928\u0939\u0940\u0902",page_not_found:"\u092A\u0943\u0937\u094D\u0920 \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E",refresh:"\u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",status:"\u0938\u094D\u0925\u093F\u0924\u093F"},health:{bitmagnet_is_status:"bitmagnet {{status}} \u0939\u0948",check_failed_with_error:"\u0924\u094D\u0930\u0941\u091F\u093F \u0915\u0947 \u0938\u093E\u0925 \u091C\u093E\u0902\u091A \u0935\u093F\u092B\u0932",component:"\u0918\u091F\u0915",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",status:"\u0938\u094D\u0925\u093F\u0924\u093F",statuses:{degraded:"\u0915\u094D\u0937\u0940\u0923",down:"\u092C\u0902\u0926",error:"\u0924\u094D\u0930\u0941\u091F\u093F",inactive:"\u0928\u093F\u0937\u094D\u0915\u094D\u0930\u093F\u092F",started:"\u0936\u0941\u0930\u0942 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",unknown:"\u0932\u0902\u092C\u093F\u0924",up:"\u091A\u093E\u0932\u0942"},summary:"\u0938\u094D\u0935\u093E\u0938\u094D\u0925\u094D\u092F \u0938\u093E\u0930\u093E\u0902\u0936",worker:"\u0915\u093E\u0930\u094D\u092F\u0915\u0930\u094D\u0924\u093E",workers:{dht_crawler:"DHT \u0915\u094D\u0930\u0949\u0932\u0930",http_server:"HTTP \u0938\u0930\u094D\u0935\u0930",queue_server:"\u0915\u0924\u093E\u0930 \u0938\u0930\u094D\u0935\u0930"}},languages:{af:"\u0905\u092B\u094D\u0930\u0940\u0915\u0940",ar:"\u0905\u0930\u092C\u0940",az:"\u0905\u091C\u093C\u0947\u0930\u0940",be:"\u092C\u0947\u0932\u093E\u0930\u0942\u0938\u0940",bg:"\u092C\u0941\u0932\u094D\u0917\u093E\u0930\u093F\u092F\u093E\u0908",bs:"\u092C\u094B\u0938\u094D\u0928\u093F\u092F\u093E\u0908",ca:"\u0915\u0948\u091F\u0932\u0928",ce:"\u091A\u0947\u091A\u0947\u0928",co:"\u0915\u094B\u0930\u094D\u0938\u093F\u0915\u0928",cs:"\u091A\u0947\u0915",cy:"\u0935\u0947\u0932\u094D\u0936",da:"\u0921\u0947\u0928\u093F\u0936",de:"\u091C\u0930\u094D\u092E\u0928",el:"\u0917\u094D\u0930\u0940\u0915",en:"\u0905\u0902\u0917\u094D\u0930\u0947\u091C\u0940",es:"\u0938\u094D\u092A\u0948\u0928\u093F\u0936",et:"\u090F\u0938\u094D\u0924\u094B\u0928\u093F\u092F\u093E\u0908",eu:"\u092C\u093E\u0938\u094D\u0915",fa:"\u092B\u093E\u0930\u0938\u0940",fi:"\u092B\u093C\u093F\u0928\u093F\u0936",fr:"\u092B\u094D\u0930\u0947\u0902\u091A",he:"\u0939\u093F\u092C\u094D\u0930\u0942",hi:"\u0939\u093F\u0902\u0926\u0940",hr:"\u0915\u094D\u0930\u094B\u090F\u0936\u093F\u092F\u093E\u0908",hu:"\u0939\u0902\u0917\u0947\u0930\u093F\u092F\u0928",hy:"\u0906\u0930\u094D\u092E\u0947\u0928\u093F\u092F\u093E\u0908",id:"\u0907\u0902\u0921\u094B\u0928\u0947\u0936\u093F\u092F\u093E\u0908",is:"\u0906\u0907\u0938\u0932\u0948\u0902\u0921\u093F\u0915",it:"\u0907\u0924\u093E\u0932\u0935\u0940",ja:"\u091C\u093E\u092A\u093E\u0928\u0940",ka:"\u091C\u0949\u0930\u094D\u091C\u093F\u092F\u093E\u0908",ko:"\u0915\u094B\u0930\u093F\u092F\u093E\u0908",ku:"\u0915\u0941\u0930\u094D\u0926\u0940",lt:"\u0932\u093F\u0925\u0941\u0906\u0928\u093F\u092F\u093E\u0908",lv:"\u0932\u093E\u0924\u0935\u093F\u092F\u093E\u0908",mi:"\u092E\u093E\u0913\u0930\u0940",mk:"\u092E\u0948\u0938\u093F\u0921\u094B\u0928\u093F\u092F\u093E\u0908",ml:"\u092E\u0932\u092F\u093E\u0932\u092E",mn:"\u092E\u0902\u0917\u094B\u0932\u093F\u092F\u093E\u0908",ms:"\u092E\u0932\u092F",mt:"\u092E\u093E\u0932\u094D\u091F\u0940\u091C\u093C",nl:"\u0921\u091A",no:"\u0928\u0949\u0930\u094D\u0935\u0947\u091C\u093F\u092F\u0928",pl:"\u092A\u094B\u0932\u093F\u0936",pt:"\u092A\u0941\u0930\u094D\u0924\u0917\u093E\u0932\u0940",ro:"\u0930\u094B\u092E\u093E\u0928\u093F\u092F\u093E\u0908",ru:"\u0930\u0942\u0938\u0940",sa:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924",sk:"\u0938\u094D\u0932\u094B\u0935\u093E\u0915",sl:"\u0938\u094D\u0932\u094B\u0935\u0947\u0928\u093F\u092F\u093E\u0908",sm:"\u0938\u093E\u092E\u094B\u0928",so:"\u0938\u094B\u092E\u093E\u0932\u0940",sr:"\u0938\u0930\u094D\u092C\u093F\u092F\u093E\u0908",sv:"\u0938\u094D\u0935\u0940\u0921\u093F\u0936",ta:"\u0924\u092E\u093F\u0932",th:"\u0925\u093E\u0908",tr:"\u0924\u0941\u0930\u094D\u0915\u0940",uk:"\u092F\u0942\u0915\u094D\u0930\u0947\u0928\u0940",vi:"\u0935\u093F\u092F\u0924\u0928\u093E\u092E\u0940",yi:"\u092F\u093F\u0926\u094D\u0926\u093F\u0936",zh:"\u091A\u0940\u0928\u0940",zu:"\u091C\u093C\u0941\u0932\u0941"},layout:{bitmagnet_on_service:"{{service}} \u092A\u0930 bitmagnet",change_theme:"\u0925\u0940\u092E \u092C\u0926\u0932\u0947\u0902",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",sponsor:"\u092A\u094D\u0930\u093E\u092F\u094B\u091C\u0915",support_bitmagnet:"bitmagnet \u0915\u094B \u0938\u092E\u0930\u094D\u0925\u0928 \u0926\u0947\u0902",translate:"\u0905\u0928\u0941\u0935\u093E\u0926 \u0915\u0930\u0947\u0902"},paginator:{first_page:"\u092A\u0939\u0932\u093E \u092A\u0943\u0937\u094D\u0920",items_per_page:"\u092A\u094D\u0930\u0924\u093F \u092A\u0943\u0937\u094D\u0920 \u0906\u0907\u091F\u092E",last_page:"\u0905\u0902\u0924\u093F\u092E \u092A\u0943\u0937\u094D\u0920",next_page:"\u0905\u0917\u0932\u093E \u092A\u0943\u0937\u094D\u0920",previous_page:"\u092A\u093F\u091B\u0932\u093E \u092A\u0943\u0937\u094D\u0920",x_to_y:"{{x}} \u0938\u0947 {{y}} \u0924\u0915",x_to_y_of_z:"{{x}} \u0938\u0947 {{y}} \u0924\u0915 {{z}} \u092E\u0947\u0902"},routes:{admin:"\u092A\u094D\u0930\u0936\u093E\u0938\u0915",dashboard:"\u0921\u0948\u0936\u092C\u094B\u0930\u094D\u0921",home:"\u0939\u094B\u092E",jobs:"\u0928\u094C\u0915\u0930\u093F\u092F\u093E\u0902",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",torrents:"\u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938",visualize:"\u0926\u0943\u0936\u094D\u092F \u0915\u0930\u0947\u0902"},torrents:{clear_search:"\u0916\u094B\u091C \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",copy:"\u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",copy_to_clipboard:"\u0915\u094D\u0932\u093F\u092A\u092C\u094B\u0930\u094D\u0921 \u092E\u0947\u0902 \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",delete:"\u0939\u091F\u093E\u090F\u0902",delete_action_cannot_be_undone:"\u092F\u0939 \u0915\u094D\u0930\u093F\u092F\u093E \u092A\u0942\u0930\u094D\u0935\u0935\u0924 \u0928\u0939\u0940\u0902 \u0915\u0940 \u091C\u093E \u0938\u0915\u0924\u0940",delete_are_you_sure:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u0907\u0938 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u094B \u0939\u091F\u093E\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",deselect_all:"\u0938\u092D\u0940 \u0915\u094B \u0905\u091A\u092F\u0928\u093F\u0924 \u0915\u0930\u0947\u0902",edit_tags:"\u091F\u0948\u0917 \u0938\u0902\u092A\u093E\u0926\u093F\u0924 \u0915\u0930\u0947\u0902",episodes:"\u090F\u092A\u093F\u0938\u094B\u0921\u094D\u0938",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",file_index:"\u092B\u093C\u093E\u0907\u0932 \u0938\u0942\u091A\u0915\u093E\u0902\u0915",file_path:"\u092B\u093C\u093E\u0907\u0932 \u092A\u0925",file_size:"\u092B\u093C\u093E\u0907\u0932 \u0906\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",files:"\u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_count_n:"{{count}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_no_info:"\u0915\u094B\u0908 \u092B\u093C\u093E\u0907\u0932 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948",files_single:"\u090F\u0915\u0932 \u092B\u093C\u093E\u0907\u0932",genres:"\u0936\u0948\u0932\u093F\u092F\u093E\u0901",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",info_hashes:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936\u0947\u091C",languages:"\u092D\u093E\u0937\u093E\u090F\u0901",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",magnet:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F",magnet_links:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F \u0932\u093F\u0902\u0915",new_tag:"\u0928\u092F\u093E \u091F\u0948\u0917",order_by:"\u0915\u094D\u0930\u092E\u092C\u0926\u094D\u0927 \u0915\u0930\u0947\u0902",order_direction_toggle:"\u0926\u093F\u0936\u093E \u092C\u0926\u0932\u0947\u0902",ordering:{files_count:"\u092B\u093C\u093E\u0907\u0932\u094B\u0902 \u0915\u0940 \u0938\u0902\u0916\u094D\u092F\u093E",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",name:"\u0928\u093E\u092E",published_at:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924 \u0938\u092E\u092F",relevance:"\u092A\u094D\u0930\u093E\u0938\u0902\u0917\u093F\u0915\u0924\u093E",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",size:"\u0906\u0915\u093E\u0930",updated_at:"\u0905\u092A\u0921\u0947\u091F \u0938\u092E\u092F"},original_release_date:"\u092E\u0942\u0932 \u0930\u093F\u0932\u0940\u091C\u093C \u0924\u093F\u0925\u093F",permalink:"\u0938\u094D\u0925\u093E\u092F\u0940 \u0932\u093F\u0902\u0915",poster:"\u092A\u094B\u0938\u094D\u091F\u0930",published:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924",rating:"\u0930\u0947\u091F\u093F\u0902\u0917",refresh:"\u092A\u0930\u093F\u0923\u093E\u092E \u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",s_l:"S / L",search:"\u0916\u094B\u091C",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",select_all:"\u0938\u092D\u0940 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",showing_x_of_y_files:"{{x}} \u092E\u0947\u0902 \u0938\u0947 {{y}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902 \u0926\u093F\u0916\u093E \u0930\u0939\u093E \u0939\u0948",size:"\u0906\u0915\u093E\u0930",source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",summary:"\u0938\u093E\u0930\u093E\u0902\u0936",title:"\u0936\u0940\u0930\u094D\u0937\u0915",toggle_drawer:"\u0921\u094D\u0930\u0949\u0905\u0930 \u092C\u0926\u0932\u0947\u0902",votes_count_n:"{{count}} \u0935\u094B\u091F"},version:{bitmagnet_version:"bitmagnet \u0938\u0902\u0938\u094D\u0915\u0930\u0923 {{version}}",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924"}};var at={content_types:{plural:{all:"\u3059\u3079\u3066",audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"},singular:{audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"}},dashboard:{event:{created:"\u4F5C\u6210\u6E08\u307F",failed:"\u5931\u6557",processed:"\u51E6\u7406\u6E08\u307F",updated:"\u66F4\u65B0\u6E08\u307F"},interval:{all:"\u3059\u3079\u3066",days:"\u65E5",days_1:"1\u65E5",hours:"\u6642\u9593",hours_1:"1\u6642\u9593",hours_12:"12\u6642\u9593",hours_6:"6\u6642\u9593",minutes:"\u5206",minutes_1:"1\u5206",minutes_15:"15\u5206",minutes_30:"30\u5206",minutes_5:"5\u5206",off:"\u30AA\u30D5",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u9031\u9593"},metrics:{event:"\u30A4\u30D9\u30F3\u30C8",resolution:"\u89E3\u50CF\u5EA6",throughput:"\u30B9\u30EB\u30FC\u30D7\u30C3\u30C8",timeframe:"\u671F\u9593"},queues:{created:"\u4F5C\u6210\u6E08\u307F",created_at:"\u4F5C\u6210\u65E5\u6642",enqueue_jobs:"\u30B8\u30E7\u30D6\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",enqueue_torrent_processing_batch:"\u30C8\u30EC\u30F3\u30C8\u51E6\u7406\u30D0\u30C3\u30C1\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",failed:"\u5931\u6557",force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",jobs_enqueued:"\u30AD\u30E5\u30FC\u306B\u8FFD\u52A0\u3055\u308C\u305F\u30B8\u30E7\u30D6",latency:"\u30EC\u30A4\u30C6\u30F3\u30B7",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",payload:"\u30DA\u30A4\u30ED\u30FC\u30C9",pending:"\u4FDD\u7559\u4E2D",priority:"\u512A\u5148\u9806\u4F4D",process_orphaned_torrents_only:"\u5B64\u7ACB\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u307F\u51E6\u7406\u3059\u308B",processed:"\u51E6\u7406\u6E08\u307F",purge_jobs:"\u30B8\u30E7\u30D6\u3092\u524A\u9664",purge_queue_jobs:"\u30AD\u30E5\u30FC\u5185\u306E\u30B8\u30E7\u30D6\u3092\u524A\u9664",queue:"\u30AD\u30E5\u30FC",queue_purged:"\u30AD\u30E5\u30FC\u304C\u30AF\u30EA\u30A2\u3055\u308C\u307E\u3057\u305F",queues:"\u30AD\u30E5\u30FC",ran_at:"\u5B9F\u884C\u6642\u523B",retry:"\u518D\u8A66\u884C",total_counts_by_status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3054\u3068\u306E\u7DCF\u6570"}},facets:{content_type:"\u30B3\u30F3\u30C6\u30F3\u30C4\u30BF\u30A4\u30D7",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",genre:"\u30B8\u30E3\u30F3\u30EB",language:"\u8A00\u8A9E",queue:"\u30AD\u30E5\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",torrent_source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",torrent_tag:"\u30C8\u30EC\u30F3\u30C8\u30BF\u30B0",video_resolution:"\u30D3\u30C7\u30AA\u89E3\u50CF\u5EA6",video_source:"\u30D3\u30C7\u30AA\u30BD\u30FC\u30B9"},file_types:{archive:"\u30A2\u30FC\u30AB\u30A4\u30D6",audio:"\u30AA\u30FC\u30C7\u30A3\u30AA",data:"\u30C7\u30FC\u30BF",document:"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8",image:"\u753B\u50CF",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",subtitles:"\u5B57\u5E55",unknown:"\u4E0D\u660E",video:"\u30D3\u30C7\u30AA"},general:{all:"\u3059\u3079\u3066",dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",none:"\u306A\u3057",page_not_found:"\u30DA\u30FC\u30B8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",refresh:"\u66F4\u65B0",status:"\u30B9\u30C6\u30FC\u30BF\u30B9"},health:{bitmagnet_is_status:"bitmagnet\u306F{{status}}\u3067\u3059",check_failed_with_error:"\u30A8\u30E9\u30FC\u3067\u30C1\u30A7\u30C3\u30AF\u306B\u5931\u6557\u3057\u307E\u3057\u305F",component:"\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",statuses:{degraded:"\u4F4E\u4E0B",down:"\u505C\u6B62",error:"\u30A8\u30E9\u30FC",inactive:"\u975E\u30A2\u30AF\u30C6\u30A3\u30D6",started:"\u958B\u59CB",unknown:"\u4FDD\u7559\u4E2D",up:"\u7A3C\u50CD\u4E2D"},summary:"\u5065\u5EB7\u72B6\u614B\u306E\u6982\u8981",worker:"\u30EF\u30FC\u30AB\u30FC",workers:{dht_crawler:"DHT\u30AF\u30ED\u30FC\u30E9\u30FC",http_server:"HTTP\u30B5\u30FC\u30D0\u30FC",queue_server:"\u30AD\u30E5\u30FC\u30B5\u30FC\u30D0\u30FC"}},languages:{af:"\u30A2\u30D5\u30EA\u30AB\u30FC\u30F3\u30B9\u8A9E",ar:"\u30A2\u30E9\u30D3\u30A2\u8A9E",az:"\u30A2\u30BC\u30EB\u30D0\u30A4\u30B8\u30E3\u30F3\u8A9E",be:"\u30D9\u30E9\u30EB\u30FC\u30B7\u8A9E",bg:"\u30D6\u30EB\u30AC\u30EA\u30A2\u8A9E",bs:"\u30DC\u30B9\u30CB\u30A2\u8A9E",ca:"\u30AB\u30BF\u30EB\u30FC\u30CB\u30E3\u8A9E",ce:"\u30C1\u30A7\u30C1\u30A7\u30F3\u8A9E",co:"\u30B3\u30EB\u30B7\u30AB\u8A9E",cs:"\u30C1\u30A7\u30B3\u8A9E",cy:"\u30A6\u30A7\u30FC\u30EB\u30BA\u8A9E",da:"\u30C7\u30F3\u30DE\u30FC\u30AF\u8A9E",de:"\u30C9\u30A4\u30C4\u8A9E",el:"\u30AE\u30EA\u30B7\u30E3\u8A9E",en:"\u82F1\u8A9E",es:"\u30B9\u30DA\u30A4\u30F3\u8A9E",et:"\u30A8\u30B9\u30C8\u30CB\u30A2\u8A9E",eu:"\u30D0\u30B9\u30AF\u8A9E",fa:"\u30DA\u30EB\u30B7\u30E3\u8A9E",fi:"\u30D5\u30A3\u30F3\u30E9\u30F3\u30C9\u8A9E",fr:"\u30D5\u30E9\u30F3\u30B9\u8A9E",he:"\u30D8\u30D6\u30E9\u30A4\u8A9E",hi:"\u30D2\u30F3\u30C7\u30A3\u30FC\u8A9E",hr:"\u30AF\u30ED\u30A2\u30C1\u30A2\u8A9E",hu:"\u30CF\u30F3\u30AC\u30EA\u30FC\u8A9E",hy:"\u30A2\u30EB\u30E1\u30CB\u30A2\u8A9E",id:"\u30A4\u30F3\u30C9\u30CD\u30B7\u30A2\u8A9E",is:"\u30A2\u30A4\u30B9\u30E9\u30F3\u30C9\u8A9E",it:"\u30A4\u30BF\u30EA\u30A2\u8A9E",ja:"\u65E5\u672C\u8A9E",ka:"\u30B0\u30EB\u30B8\u30A2\u8A9E",ko:"\u97D3\u56FD\u8A9E",ku:"\u30AF\u30EB\u30C9\u8A9E",lt:"\u30EA\u30C8\u30A2\u30CB\u30A2\u8A9E",lv:"\u30E9\u30C8\u30D3\u30A2\u8A9E",mi:"\u30DE\u30AA\u30EA\u8A9E",mk:"\u30DE\u30B1\u30C9\u30CB\u30A2\u8A9E",ml:"\u30DE\u30E9\u30E4\u30FC\u30E9\u30E0\u8A9E",mn:"\u30E2\u30F3\u30B4\u30EB\u8A9E",ms:"\u30DE\u30EC\u30FC\u8A9E",mt:"\u30DE\u30EB\u30BF\u8A9E",nl:"\u30AA\u30E9\u30F3\u30C0\u8A9E",no:"\u30CE\u30EB\u30A6\u30A7\u30FC\u8A9E",pl:"\u30DD\u30FC\u30E9\u30F3\u30C9\u8A9E",pt:"\u30DD\u30EB\u30C8\u30AC\u30EB\u8A9E",ro:"\u30EB\u30FC\u30DE\u30CB\u30A2\u8A9E",ru:"\u30ED\u30B7\u30A2\u8A9E",sa:"\u30B5\u30F3\u30B9\u30AF\u30EA\u30C3\u30C8",sk:"\u30B9\u30ED\u30D0\u30AD\u30A2\u8A9E",sl:"\u30B9\u30ED\u30D9\u30CB\u30A2\u8A9E",sm:"\u30B5\u30E2\u30A2\u8A9E",so:"\u30BD\u30DE\u30EA\u8A9E",sr:"\u30BB\u30EB\u30D3\u30A2\u8A9E",sv:"\u30B9\u30A6\u30A7\u30FC\u30C7\u30F3\u8A9E",ta:"\u30BF\u30DF\u30EB\u8A9E",th:"\u30BF\u30A4\u8A9E",tr:"\u30C8\u30EB\u30B3\u8A9E",uk:"\u30A6\u30AF\u30E9\u30A4\u30CA\u8A9E",vi:"\u30D9\u30C8\u30CA\u30E0\u8A9E",yi:"\u30A4\u30C7\u30A3\u30C3\u30B7\u30E5\u8A9E",zh:"\u4E2D\u56FD\u8A9E",zu:"\u30BA\u30FC\u30EB\u30FC\u8A9E"},layout:{bitmagnet_on_service:"{{service}}\u306Ebitmagnet",change_theme:"\u30C6\u30FC\u30DE\u3092\u5909\u66F4",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",sponsor:"\u30B9\u30DD\u30F3\u30B5\u30FC",support_bitmagnet:"bitmagnet\u3092\u30B5\u30DD\u30FC\u30C8",translate:"\u7FFB\u8A33\u3059\u308B"},paginator:{first_page:"\u6700\u521D\u306E\u30DA\u30FC\u30B8",items_per_page:"\u30DA\u30FC\u30B8\u3042\u305F\u308A\u306E\u9805\u76EE\u6570",last_page:"\u6700\u5F8C\u306E\u30DA\u30FC\u30B8",next_page:"\u6B21\u306E\u30DA\u30FC\u30B8",previous_page:"\u524D\u306E\u30DA\u30FC\u30B8",x_to_y:"{{x}} \u304B\u3089 {{y}} \u307E\u3067",x_to_y_of_z:"{{x}} \u304B\u3089 {{y}} \u307E\u3067\u306E {{z}}"},routes:{admin:"\u7BA1\u7406\u8005",dashboard:"\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",home:"\u30DB\u30FC\u30E0",jobs:"\u30B8\u30E7\u30D6",queues:"\u30AD\u30E5\u30FC",torrents:"\u30C8\u30EC\u30F3\u30C8",visualize:"\u53EF\u8996\u5316"},torrents:{clear_search:"\u691C\u7D22\u3092\u30AF\u30EA\u30A2",copy:"\u30B3\u30D4\u30FC",copy_to_clipboard:"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC",delete:"\u524A\u9664",delete_action_cannot_be_undone:"\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093",delete_are_you_sure:"\u3053\u306E\u30C8\u30EC\u30F3\u30C8\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",deselect_all:"\u3059\u3079\u3066\u306E\u9078\u629E\u3092\u89E3\u9664",edit_tags:"\u30BF\u30B0\u3092\u7DE8\u96C6",episodes:"\u30A8\u30D4\u30BD\u30FC\u30C9",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",file_index:"\u30D5\u30A1\u30A4\u30EB\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9",file_path:"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9",file_size:"\u30D5\u30A1\u30A4\u30EB\u30B5\u30A4\u30BA",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",files:"\u30D5\u30A1\u30A4\u30EB",files_count_n:"{{count}} \u4EF6\u306E\u30D5\u30A1\u30A4\u30EB",files_no_info:"\u30D5\u30A1\u30A4\u30EB\u60C5\u5831\u306F\u3042\u308A\u307E\u305B\u3093",files_single:"\u5358\u4E00\u30D5\u30A1\u30A4\u30EB",genres:"\u30B8\u30E3\u30F3\u30EB",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",info_hashes:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",languages:"\u8A00\u8A9E",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",magnet:"\u30DE\u30B0\u30CD\u30C3\u30C8",magnet_links:"\u30DE\u30B0\u30CD\u30C3\u30C8\u30EA\u30F3\u30AF",new_tag:"\u65B0\u3057\u3044\u30BF\u30B0",order_by:"\u4E26\u3073\u66FF\u3048",order_direction_toggle:"\u4E26\u3073\u9806\u3092\u5207\u308A\u66FF\u3048",ordering:{files_count:"\u30D5\u30A1\u30A4\u30EB\u6570",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",name:"\u540D\u524D",published_at:"\u516C\u958B\u65E5\u6642",relevance:"\u95A2\u9023\u6027",seeders:"\u30B7\u30FC\u30C0\u30FC",size:"\u30B5\u30A4\u30BA",updated_at:"\u66F4\u65B0\u65E5\u6642"},original_release_date:"\u30AA\u30EA\u30B8\u30CA\u30EB\u306E\u767A\u58F2\u65E5",permalink:"\u30D1\u30FC\u30DE\u30EA\u30F3\u30AF",poster:"\u30DD\u30B9\u30BF\u30FC",published:"\u516C\u958B\u6E08\u307F",rating:"\u8A55\u4FA1",refresh:"\u7D50\u679C\u3092\u66F4\u65B0",s_l:"S / L",search:"\u691C\u7D22",seeders:"\u30B7\u30FC\u30C0\u30FC",select_all:"\u3059\u3079\u3066\u9078\u629E",showing_x_of_y_files:"{{x}} \u4EF6\u4E2D {{y}} \u4EF6\u8868\u793A",size:"\u30B5\u30A4\u30BA",source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",summary:"\u6982\u8981",title:"\u30BF\u30A4\u30C8\u30EB",toggle_drawer:"\u5F15\u304D\u51FA\u3057\u3092\u5207\u308A\u66FF\u3048",votes_count_n:"{{count}} \u7968"},version:{bitmagnet_version:"bitmagnet\u30D0\u30FC\u30B8\u30E7\u30F3 {{version}}",unknown:"\u4E0D\u660E"}};var ot={content_types:{plural:{all:"Alle",audiobook:"Audioboeken",comic:"Strips",ebook:"E-Boeken",movie:"Films",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma's",xxx:"XXX"},singular:{audiobook:"Audioboek",comic:"Strip",ebook:"E-Book",movie:"Film",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma",xxx:"XXX"}},dashboard:{event:{created:"Gemaakt",failed:"Mislukt",processed:"Verwerkt",updated:"Bijgewerkt"},interval:{all:"Alle",days:"Dagen",days_1:"1 dag",hours:"Uren",hours_1:"1 uur",hours_12:"12 uur",hours_6:"6 uur",minutes:"Minuten",minutes_1:"1 minuut",minutes_15:"15 minuten",minutes_30:"30 minuten",minutes_5:"5 minuten",off:"Uit",seconds_10:"10 seconden",seconds_30:"30 seconden",weeks_1:"1 week"},metrics:{event:"Gebeurtenis",resolution:"Resolutie",throughput:"Doorvoer",timeframe:"Tijdsperiode"},queues:{created:"Gemaakt",created_at:"Gemaakt op",enqueue_jobs:"Voeg taken toe aan wachtrij",enqueue_torrent_processing_batch:"Torrentverwerkingsbatch toevoegen",failed:"Mislukt",force_rematch:"Forceer nieuwe match van al gematchte inhoud",jobs_enqueued:"Taken in wachtrij gezet",latency:"Latentie",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",payload:"Inhoud",pending:"In afwachting",priority:"Prioriteit",process_orphaned_torrents_only:"Verwerk alleen verweesde torrents",processed:"Verwerkt",purge_jobs:"Wis taken",purge_queue_jobs:"Wis wachtrijtaken",queue:"Wachtrij",queue_purged:"Wachtrij gewist",queues:"Wachtrijen",ran_at:"Uitgevoerd op",retry:"Opnieuw proberen",total_counts_by_status:"Totaal aantal per status"}},facets:{content_type:"Inhoudstype",file_type:"Bestandstype",genre:"Genre",language:"Taal",queue:"Wachtrij",status:"Status",torrent_source:"Torrentbron",torrent_tag:"Torrenttag",video_resolution:"Videoresolutie",video_source:"Videobron"},file_types:{archive:"Archief",audio:"Audio",data:"Data",document:"Document",image:"Afbeelding",software:"Software",subtitles:"Ondertitels",unknown:"Onbekend",video:"Video"},general:{all:"Alle",dismiss:"Sluiten",error:"Fout",none:"Geen",page_not_found:"Pagina niet gevonden",refresh:"Verversen",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Controle mislukt met foutmelding",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Sluiten",error:"Fout",status:"Status",statuses:{degraded:"Verlaagd",down:"Niet beschikbaar",error:"Fout",inactive:"Inactief",started:"Gestart",unknown:"Onbekend",up:"Beschikbaar"},summary:"Gezondheidsrapport",worker:"Werker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Wachtrijserver"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Azerbeidzjaans",be:"Wit-Russisch",bg:"Bulgaars",bs:"Bosnisch",ca:"Catalaans",ce:"Tsjetsjeens",co:"Corsicaans",cs:"Tsjechisch",cy:"Welsh",da:"Deens",de:"Duits",el:"Grieks",en:"Engels",es:"Spaans",et:"Ests",eu:"Baskisch",fa:"Perzisch",fi:"Fins",fr:"Frans",he:"Hebreeuws",hi:"Hindi",hr:"Kroatisch",hu:"Hongaars",hy:"Armeens",id:"Indonesisch",is:"IJslands",it:"Italiaans",ja:"Japans",ka:"Georgisch",ko:"Koreaans",ku:"Koerdisch",lt:"Litouws",lv:"Lets",mi:"Maori",mk:"Macedonisch",ml:"Malayalam",mn:"Mongools",ms:"Maleis",mt:"Maltees",nl:"Nederlands",no:"Noors",pl:"Pools",pt:"Portugees",ro:"Roemeens",ru:"Russisch",sa:"Sanskriet",sk:"Slowaaks",sl:"Sloveens",sm:"Samoaans",so:"Somalisch",sr:"Servisch",sv:"Zweeds",ta:"Tamil",th:"Thais",tr:"Turks",uk:"Oekra\xEFens",vi:"Vietnamees",yi:"Jiddisch",zh:"Chinees",zu:"Zoeloe"},layout:{bitmagnet_on_service:"bitmagnet op {{service}}",change_theme:"Wijzig thema",external_links:"Externe links",sponsor:"Sponsor",support_bitmagnet:"Ondersteun bitmagnet",translate:"Vertalen"},paginator:{first_page:"Eerste pagina",items_per_page:"Items per pagina",last_page:"Laatste pagina",next_page:"Volgende pagina",previous_page:"Vorige pagina",x_to_y:"{{x}} tot {{y}}",x_to_y_of_z:"{{x}} tot {{y}} van {{z}}"},routes:{admin:"Beheerder",dashboard:"Dashboard",home:"Home",jobs:"Taken",queues:"Wachtrijen",torrents:"Torrents",visualize:"Visualiseren"},torrents:{clear_search:"Zoekopdracht wissen",copy:"Kopi\xEBren",copy_to_clipboard:"Kopi\xEBren naar klembord",delete:"Verwijderen",delete_action_cannot_be_undone:"Deze actie kan niet ongedaan worden gemaakt",delete_are_you_sure:"Weet u zeker dat u deze torrent wilt verwijderen?",deselect_all:"Deselecteer alles",edit_tags:"Tags bewerken",episodes:"Afleveringen",external_links:"Externe links",file_index:"Bestandsindex",file_path:"Bestandspad",file_size:"Bestandsgrootte",file_type:"Bestandstype",files:"Bestanden",files_count_n:"{{count}} bestanden",files_no_info:"Geen informatie over bestanden beschikbaar",files_single:"Enkel bestand",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Talen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-links",new_tag:"Nieuwe tag",order_by:"Sorteren op",order_direction_toggle:"Richting omkeren",ordering:{files_count:"Aantal bestanden",info_hash:"Info hash",leechers:"Leechers",name:"Naam",published_at:"Gepubliceerd op",relevance:"Relevantie",seeders:"Seeders",size:"Grootte",updated_at:"Bijgewerkt op"},original_release_date:"Oorspronkelijke releasedatum",permalink:"Permalink",poster:"Poster",published:"Gepubliceerd",rating:"Beoordeling",refresh:"Vernieuw resultaten",s_l:"S / L",search:"Zoeken",seeders:"Seeders",select_all:"Alles selecteren",showing_x_of_y_files:"{{x}} van {{y}} bestanden weergegeven",size:"Grootte",source:"Torrentbron",summary:"Samenvatting",title:"Titel",toggle_drawer:"Zijpaneel in-/uitschakelen",votes_count_n:"{{count}} stemmen"},version:{bitmagnet_version:"bitmagnet versie {{version}}",unknown:"onbekend"}};var rt={content_types:{plural:{all:"Todos",audiobook:"Audiolivros",comic:"Quadrinhos",ebook:"E-books",movie:"Filmes",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolivro",comic:"Quadrinho",ebook:"E-book",movie:"Filme",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Criado",failed:"Falhou",processed:"Processado",updated:"Atualizado"},interval:{all:"Todos",days:"Dias",days_1:"1 dia",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Desligado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resolu\xE7\xE3o",throughput:"Taxa de transfer\xEAncia",timeframe:"Intervalo de tempo"},queues:{created:"Criado",created_at:"Criado em",enqueue_jobs:"Enfileirar trabalhos",enqueue_torrent_processing_batch:"Enfileirar lote de processamento de torrents",failed:"Falhou",force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",jobs_enqueued:"Trabalhos enfileirados",latency:"Lat\xEAncia",match_content_by_external_api_search:"Correspond\xEAncia de conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Correspond\xEAncia de conte\xFAdo por pesquisa local",payload:"Carga \xFAtil",pending:"Pendente",priority:"Prioridade",process_orphaned_torrents_only:"Processar apenas torrents \xF3rf\xE3os",processed:"Processado",purge_jobs:"Limpar trabalhos",purge_queue_jobs:"Limpar trabalhos da fila",queue:"Fila",queue_purged:"Fila limpa",queues:"Filas",ran_at:"Executado em",retry:"Tentar novamente",total_counts_by_status:"Contagens totais por status"}},facets:{content_type:"Tipo de Conte\xFAdo",file_type:"Tipo de Arquivo",genre:"G\xEAnero",language:"Idioma",queue:"Fila",status:"Status",torrent_source:"Fonte do Torrent",torrent_tag:"Tag do Torrent",video_resolution:"Resolu\xE7\xE3o de V\xEDdeo",video_source:"Fonte de V\xEDdeo"},file_types:{archive:"Arquivo",audio:"\xC1udio",data:"Dados",document:"Documento",image:"Imagem",software:"Software",subtitles:"Legendas",unknown:"Desconhecido",video:"V\xEDdeo"},general:{all:"Todos",dismiss:"Fechar",error:"Erro",none:"Nenhum",page_not_found:"P\xE1gina n\xE3o encontrada",refresh:"Atualizar",status:"Status"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"Verifica\xE7\xE3o falhou com erro",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fechar",error:"Erro",status:"Status",statuses:{degraded:"Degradado",down:"Fora do ar",error:"Erro",inactive:"Inativo",started:"Iniciado",unknown:"Pendente",up:"Funcionando"},summary:"Resumo de Sa\xFAde",worker:"Trabalhador",workers:{dht_crawler:"Rastreamento DHT",http_server:"Servidor HTTP",queue_server:"Servidor de Fila"}},languages:{af:"Afric\xE2ner",ar:"\xC1rabe",az:"Azeri",be:"Bielorrusso",bg:"B\xFAlgaro",bs:"B\xF3snio",ca:"Catal\xE3o",ce:"Checheno",co:"Corso",cs:"Tcheco",cy:"Gal\xEAs",da:"Dinamarqu\xEAs",de:"Alem\xE3o",el:"Grego",en:"Ingl\xEAs",es:"Espanhol",et:"Estoniano",eu:"Basco",fa:"Persa",fi:"Finland\xEAs",fr:"Franc\xEAs",he:"Hebraico",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Arm\xEAnio",id:"Indon\xE9sio",is:"Island\xEAs",it:"Italiano",ja:"Japon\xEAs",ka:"Georgiano",ko:"Coreano",ku:"Curdo",lt:"Lituano",lv:"Let\xE3o",mi:"Maori",mk:"Maced\xF4nio",ml:"Malaiala",mn:"Mongol",ms:"Malaio",mt:"Malt\xEAs",nl:"Holand\xEAs",no:"Noruegu\xEAs",pl:"Polon\xEAs",pt:"Portugu\xEAs",ro:"Romeno",ru:"Russo",sa:"S\xE2nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somali",sr:"S\xE9rvio",sv:"Sueco",ta:"T\xE2mil",th:"Tailand\xEAs",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"I\xEDdiche",zh:"Chin\xEAs",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet em {{service}}",change_theme:"Alterar tema",external_links:"Links externos",sponsor:"Patrocinador",support_bitmagnet:"Apoiar bitmagnet",translate:"Traduzir"},paginator:{first_page:"Primeira p\xE1gina",items_per_page:"Itens por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"Pr\xF3xima p\xE1gina",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administra\xE7\xE3o",dashboard:"Painel",home:"In\xEDcio",jobs:"Tarefas",queues:"Filas",torrents:"Torrents",visualize:"Visualizar"},torrents:{clear_search:"Limpar Pesquisa",copy:"Copiar",copy_to_clipboard:"Copiar para a \xE1rea de transfer\xEAncia",delete:"Excluir",delete_action_cannot_be_undone:"Esta a\xE7\xE3o n\xE3o pode ser desfeita",delete_are_you_sure:"Tem certeza de que deseja excluir este torrent?",deselect_all:"Desmarcar todos",edit_tags:"Editar tags",episodes:"Epis\xF3dios",external_links:"Links externos",file_index:"\xCDndice de arquivo",file_path:"Caminho do arquivo",file_size:"Tamanho do arquivo",file_type:"Tipo de arquivo",files:"Arquivos",files_count_n:"{{count}} arquivos",files_no_info:"Sem informa\xE7\xF5es de arquivos dispon\xEDveis",files_single:"Arquivo \xFAnico",genres:"G\xEAneros",info_hash:"Hash de informa\xE7\xE3o",info_hashes:"Hashes de informa\xE7\xE3o",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Links magnet",new_tag:"Nova tag",order_by:"Ordenar por",order_direction_toggle:"Inverter dire\xE7\xE3o",ordering:{files_count:"Contagem de arquivos",info_hash:"Hash de informa\xE7\xE3o",leechers:"Leechers",name:"Nome",published_at:"Publicado em",relevance:"Relev\xE2ncia",seeders:"Seeders",size:"Tamanho",updated_at:"Atualizado em"},original_release_date:"Data de lan\xE7amento original",permalink:"Link permanente",poster:"P\xF4ster",published:"Publicado",rating:"Classifica\xE7\xE3o",refresh:"Atualizar resultados",s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Selecionar tudo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} arquivos",size:"Tamanho",source:"Fonte do torrent",summary:"Resumo",title:"T\xEDtulo",toggle_drawer:"Alternar gaveta",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"Vers\xE3o do bitmagnet {{version}}",unknown:"desconhecido"}};var nt={content_types:{plural:{all:"\u0412\u0441\u0435",audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0438\u043A\u0441\u044B",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0435 \u043A\u043D\u0438\u0433\u0438",movie:"\u0424\u0438\u043B\u044C\u043C\u044B",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0438\u043A\u0441",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043A\u043D\u0438\u0433\u0430",movie:"\u0424\u0438\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",updated:"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0412\u0441\u0435",days:"\u0414\u043D\u0438",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0427\u0430\u0441\u044B",hours_1:"1 \u0447\u0430\u0441",hours_12:"12 \u0447\u0430\u0441\u043E\u0432",hours_6:"6 \u0447\u0430\u0441\u043E\u0432",minutes:"\u041C\u0438\u043D\u0443\u0442\u044B",minutes_1:"1 \u043C\u0438\u043D\u0443\u0442\u0430",minutes_15:"15 \u043C\u0438\u043D\u0443\u0442",minutes_30:"30 \u043C\u0438\u043D\u0443\u0442",minutes_5:"5 \u043C\u0438\u043D\u0443\u0442",off:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u043D\u0435\u0434\u0435\u043B\u044F"},metrics:{event:"\u0421\u043E\u0431\u044B\u0442\u0438\u0435",resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C",timeframe:"\u041F\u0435\u0440\u0438\u043E\u0434 \u0432\u0440\u0435\u043C\u0435\u043D\u0438"},queues:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",created_at:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E \u0432",enqueue_jobs:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",enqueue_torrent_processing_batch:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0430\u0440\u0442\u0438\u044E \u0434\u043B\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",jobs_enqueued:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",latency:"\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",payload:"\u0414\u0430\u043D\u043D\u044B\u0435",pending:"\u0412 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0438",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \xAB\u043E\u0441\u0438\u0440\u043E\u0442\u0435\u0432\u0448\u0438\u0435\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u043E\u0447\u0435\u0440\u0435\u0434\u0438",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",queue_purged:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",ran_at:"\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0432",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",total_counts_by_status:"\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",genre:"\u0416\u0430\u043D\u0440",language:"\u042F\u0437\u044B\u043A",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0432\u0438\u0434\u0435\u043E",video_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0432\u0438\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0438\u0432",audio:"\u0410\u0443\u0434\u0438\u043E",data:"\u0414\u0430\u043D\u043D\u044B\u0435",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",video:"\u0412\u0438\u0434\u0435\u043E"},general:{all:"\u0412\u0441\u0435",dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",none:"\u041D\u0435\u0442",page_not_found:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0421\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",down:"\u041D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",error:"\u041E\u0448\u0438\u0431\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u0435\u043D",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",up:"\u0420\u0430\u0431\u043E\u0442\u0430\u0435\u0442"},summary:"\u0421\u0432\u043E\u0434\u043A\u0430 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F",worker:"\u0420\u0430\u0431\u043E\u0447\u0438\u0439",workers:{dht_crawler:"DHT \u043E\u0431\u0445\u043E\u0434\u0447\u0438\u043A",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u043E\u0447\u0435\u0440\u0435\u0434\u0435\u0439"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u043A\u0438\u0439",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u043A\u0438\u0439",be:"\u0411\u0435\u043B\u043E\u0440\u0443\u0441\u0441\u043A\u0438\u0439",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u043A\u0438\u0439",bs:"\u0411\u043E\u0441\u043D\u0438\u0439\u0441\u043A\u0438\u0439",ca:"\u041A\u0430\u0442\u0430\u043B\u0430\u043D\u0441\u043A\u0438\u0439",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u043A\u0438\u0439",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u043A\u0438\u0439",cs:"\u0427\u0435\u0448\u0441\u043A\u0438\u0439",cy:"\u0412\u0430\u043B\u043B\u0438\u0439\u0441\u043A\u0438\u0439",da:"\u0414\u0430\u0442\u0441\u043A\u0438\u0439",de:"\u041D\u0435\u043C\u0435\u0446\u043A\u0438\u0439",el:"\u0413\u0440\u0435\u0447\u0435\u0441\u043A\u0438\u0439",en:"\u0410\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u0438\u0439",es:"\u0418\u0441\u043F\u0430\u043D\u0441\u043A\u0438\u0439",et:"\u042D\u0441\u0442\u043E\u043D\u0441\u043A\u0438\u0439",eu:"\u0411\u0430\u0441\u043A\u0441\u043A\u0438\u0439",fa:"\u041F\u0435\u0440\u0441\u0438\u0434\u0441\u043A\u0438\u0439",fi:"\u0424\u0438\u043D\u0441\u043A\u0438\u0439",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u0441\u043A\u0438\u0439",he:"\u0418\u0432\u0440\u0438\u0442",hi:"\u0425\u0438\u043D\u0434\u0438",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u043A\u0438\u0439",hu:"\u0412\u0435\u043D\u0433\u0435\u0440\u0441\u043A\u0438\u0439",hy:"\u0410\u0440\u043C\u044F\u043D\u0441\u043A\u0438\u0439",id:"\u0418\u043D\u0434\u043E\u043D\u0435\u0437\u0438\u0439\u0441\u043A\u0438\u0439",is:"\u0418\u0441\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",it:"\u0418\u0442\u0430\u043B\u044C\u044F\u043D\u0441\u043A\u0438\u0439",ja:"\u042F\u043F\u043E\u043D\u0441\u043A\u0438\u0439",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u043A\u0438\u0439",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u043A\u0438\u0439",ku:"\u041A\u0443\u0440\u0434\u0441\u043A\u0438\u0439",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u043A\u0438\u0439",lv:"\u041B\u0430\u0442\u044B\u0448\u0441\u043A\u0438\u0439",mi:"\u041C\u0430\u043E\u0440\u0438",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438\u0439",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u043A\u0438\u0439",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u043A\u0438\u0439",mt:"\u041C\u0430\u043B\u044C\u0442\u0438\u0439\u0441\u043A\u0438\u0439",nl:"\u041D\u0438\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",no:"\u041D\u043E\u0440\u0432\u0435\u0436\u0441\u043A\u0438\u0439",pl:"\u041F\u043E\u043B\u044C\u0441\u043A\u0438\u0439",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u043A\u0438\u0439",ro:"\u0420\u0443\u043C\u044B\u043D\u0441\u043A\u0438\u0439",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u043A\u0438\u0439",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u043A\u0438\u0439",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u043A\u0438\u0439",so:"\u0421\u043E\u043C\u0430\u043B\u0438\u0439\u0441\u043A\u0438\u0439",sr:"\u0421\u0435\u0440\u0431\u0441\u043A\u0438\u0439",sv:"\u0428\u0432\u0435\u0434\u0441\u043A\u0438\u0439",ta:"\u0422\u0430\u043C\u0438\u043B\u044C\u0441\u043A\u0438\u0439",th:"\u0422\u0430\u0439\u0441\u043A\u0438\u0439",tr:"\u0422\u0443\u0440\u0435\u0446\u043A\u0438\u0439",uk:"\u0423\u043A\u0440\u0430\u0438\u043D\u0441\u043A\u0438\u0439",vi:"\u0412\u044C\u0435\u0442\u043D\u0430\u043C\u0441\u043A\u0438\u0439",yi:"\u0418\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u043A\u0438\u0439",zu:"\u0417\u0443\u043B\u0443\u0441\u0441\u043A\u0438\u0439"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u043C\u0443",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044C bitmagnet",translate:"\u041F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0432\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",items_per_page:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",last_page:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",next_page:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",previous_page:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0438\u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F",home:"\u0413\u043B\u0430\u0432\u043D\u0430\u044F",jobs:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u044B",visualize:"\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F"},torrents:{clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A",copy:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",copy_to_clipboard:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",delete_action_cannot_be_undone:"\u042D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",delete_are_you_sure:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0421\u043D\u044F\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435",edit_tags:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u0433\u0438",episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",file_index:"\u0418\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0430",file_path:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",files:"\u0424\u0430\u0439\u043B\u044B",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u043E\u0432",files_no_info:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0444\u0430\u0439\u043B\u0430\u0445 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u044B",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",info_hashes:"\u0425\u044D\u0448\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",languages:"\u042F\u0437\u044B\u043A\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442 \u0441\u0441\u044B\u043B\u043A\u0438",new_tag:"\u041D\u043E\u0432\u044B\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E",order_direction_toggle:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",ordering:{files_count:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0444\u0430\u0439\u043B\u043E\u0432",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",name:"\u0418\u043C\u044F",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u044C",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",size:"\u0420\u0430\u0437\u043C\u0435\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F"},original_release_date:"\u041E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u0432\u044B\u043F\u0443\u0441\u043A\u0430",permalink:"\u041F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u0430\u044F \u0441\u0441\u044B\u043B\u043A\u0430",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B",s_l:"S / L",search:"\u041F\u043E\u0438\u0441\u043A",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",select_all:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0438\u0437 {{y}} \u0444\u0430\u0439\u043B\u043E\u0432",size:"\u0420\u0430\u0437\u043C\u0435\u0440",source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0421\u0432\u043E\u0434\u043A\u0430",title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",toggle_drawer:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u043E\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0438\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}};var st={content_types:{plural:{all:"T\xFCm\xFC",audiobook:"Sesli Kitaplar",comic:"\xC7izgi Romanlar",ebook:"E-Kitaplar",movie:"Filmler",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Programlar\u0131",xxx:"XXX"},singular:{audiobook:"Sesli Kitap",comic:"\xC7izgi Roman",ebook:"E-Kitap",movie:"Film",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Program\u0131",xxx:"XXX"}},dashboard:{event:{created:"Olu\u015Fturuldu",failed:"Ba\u015Far\u0131s\u0131z",processed:"\u0130\u015Flendi",updated:"G\xFCncellendi"},interval:{all:"T\xFCm\xFC",days:"G\xFCnler",days_1:"1 g\xFCn",hours:"Saatler",hours_1:"1 saat",hours_12:"12 saat",hours_6:"6 saat",minutes:"Dakikalar",minutes_1:"1 dakika",minutes_15:"15 dakika",minutes_30:"30 dakika",minutes_5:"5 dakika",off:"Kapal\u0131",seconds_10:"10 saniye",seconds_30:"30 saniye",weeks_1:"1 hafta"},metrics:{event:"Olay",resolution:"\xC7\xF6z\xFCn\xFCrl\xFCk",throughput:"Verim",timeframe:"Zaman Dilimi"},queues:{created:"Olu\u015Fturuldu",created_at:"Olu\u015Fturulma tarihi",enqueue_jobs:"\u0130\u015Fleri Kuyru\u011Fa Al",enqueue_torrent_processing_batch:"Torrent \u0130\u015Fleme Paketini Kuyru\u011Fa Al",failed:"Ba\u015Far\u0131s\u0131z",force_rematch:"E\u015Fle\u015Fmi\u015F i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",jobs_enqueued:"Kuyru\u011Fa Al\u0131nan \u0130\u015Fler",latency:"Gecikme",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",payload:"Veri Y\xFCk\xFC",pending:"Beklemede",priority:"\xD6ncelik",process_orphaned_torrents_only:"Sadece sahipsiz torrentleri i\u015Fle",processed:"\u0130\u015Flendi",purge_jobs:"\u0130\u015Fleri Temizle",purge_queue_jobs:"Kuyruk \u0130\u015Flerini Temizle",queue:"Kuyruk",queue_purged:"Kuyruk Temizlendi",queues:"Kuyruklar",ran_at:"\xC7al\u0131\u015Ft\u0131r\u0131ld\u0131",retry:"Tekrar Dene",total_counts_by_status:"Duruma G\xF6re Toplam Say\u0131lar"}},facets:{content_type:"\u0130\xE7erik T\xFCr\xFC",file_type:"Dosya T\xFCr\xFC",genre:"T\xFCr",language:"Dil",queue:"Kuyruk",status:"Durum",torrent_source:"Torrent Kayna\u011F\u0131",torrent_tag:"Torrent Etiketi",video_resolution:"Video \xC7\xF6z\xFCn\xFCrl\xFC\u011F\xFC",video_source:"Video Kayna\u011F\u0131"},file_types:{archive:"Ar\u015Fiv",audio:"Ses",data:"Veri",document:"Belge",image:"G\xF6r\xFCnt\xFC",software:"Yaz\u0131l\u0131m",subtitles:"Altyaz\u0131lar",unknown:"Bilinmiyor",video:"Video"},general:{all:"T\xFCm\xFC",dismiss:"Kapat",error:"Hata",none:"Hi\xE7biri",page_not_found:"Sayfa Bulunamad\u0131",refresh:"Yenile",status:"Durum"},health:{bitmagnet_is_status:"bitmagnet durumu {{status}}",check_failed_with_error:"Hata ile kontrol ba\u015Far\u0131s\u0131z oldu",component:"Bile\u015Fen",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Kapat",error:"Hata",status:"Durum",statuses:{degraded:"Azalm\u0131\u015F",down:"Kapal\u0131",error:"Hata",inactive:"Etkin de\u011Fil",started:"Ba\u015Flad\u0131",unknown:"Bilinmiyor",up:"\xC7al\u0131\u015F\u0131yor"},summary:"Sa\u011Fl\u0131k \xD6zeti",worker:"\u0130\u015F\xE7i",workers:{dht_crawler:"DHT taray\u0131c\u0131",http_server:"HTTP sunucusu",queue_server:"Kuyruk sunucusu"}},languages:{af:"Afrikanca",ar:"Arap\xE7a",az:"Azerice",be:"Beyaz Rus\xE7a",bg:"Bulgarca",bs:"Bo\u015Fnak\xE7a",ca:"Katalanca",ce:"\xC7e\xE7ence",co:"Korsikaca",cs:"\xC7ek\xE7e",cy:"Galce",da:"Danca",de:"Almanca",el:"Yunanca",en:"\u0130ngilizce",es:"\u0130spanyolca",et:"Estonca",eu:"Bask\xE7a",fa:"Fars\xE7a",fi:"Fince",fr:"Frans\u0131zca",he:"\u0130branice",hi:"Hint\xE7e",hr:"H\u0131rvat\xE7a",hu:"Macarca",hy:"Ermenice",id:"Endonezce",is:"\u0130zlandaca",it:"\u0130talyanca",ja:"Japonca",ka:"G\xFCrc\xFCce",ko:"Korece",ku:"K\xFCrt\xE7e",lt:"Litvanca",lv:"Letonca",mi:"Maorice",mk:"Makedonca",ml:"Malayalamca",mn:"Mo\u011Folca",ms:"Malayca",mt:"Maltaca",nl:"Flemenk\xE7e",no:"Norve\xE7\xE7e",pl:"Leh\xE7e",pt:"Portekizce",ro:"Romence",ru:"Rus\xE7a",sa:"Sanskrit\xE7e",sk:"Slovak\xE7a",sl:"Slovence",sm:"Samoaca",so:"Somalice",sr:"S\u0131rp\xE7a",sv:"\u0130sve\xE7\xE7e",ta:"Tamilce",th:"Tayca",tr:"T\xFCrk\xE7e",uk:"Ukraynaca",vi:"Vietnamca",yi:"Yidi\u015F",zh:"\xC7ince",zu:"Zuluca"},layout:{bitmagnet_on_service:"{{service}} \xFCzerinde bitmagnet",change_theme:"Temay\u0131 De\u011Fi\u015Ftir",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",sponsor:"Sponsor",support_bitmagnet:"bitmagnet'i Destekle",translate:"\xC7evir"},paginator:{first_page:"\u0130lk Sayfa",items_per_page:"Sayfa ba\u015F\u0131na \xF6\u011Fe",last_page:"Son Sayfa",next_page:"Sonraki Sayfa",previous_page:"\xD6nceki Sayfa",x_to_y:"{{x}} - {{y}} aras\u0131",x_to_y_of_z:"{{x}} ile {{y}} aras\u0131, toplam {{z}}"},routes:{admin:"Y\xF6netici",dashboard:"Kontrol Paneli",home:"Ana Sayfa",jobs:"G\xF6revler",queues:"Kuyruklar",torrents:"Torrentler",visualize:"G\xF6rselle\u015Ftir"},torrents:{clear_search:"Aramay\u0131 Temizle",copy:"Kopyala",copy_to_clipboard:"Panoya Kopyala",delete:"Sil",delete_action_cannot_be_undone:"Bu i\u015Flem geri al\u0131namaz",delete_are_you_sure:"Bu torrent'i silmek istedi\u011Finizden emin misiniz?",deselect_all:"T\xFCm Se\xE7imleri Kald\u0131r",edit_tags:"Etiketleri D\xFCzenle",episodes:"B\xF6l\xFCmler",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",file_index:"Dosya Dizini",file_path:"Dosya Yolu",file_size:"Dosya Boyutu",file_type:"Dosya T\xFCr\xFC",files:"Dosyalar",files_count_n:"{{count}} dosya",files_no_info:"Dosya bilgisi mevcut de\u011Fil",files_single:"Tek dosya",genres:"T\xFCrler",info_hash:"Bilgi hash'i",info_hashes:"Bilgi hash'leri",languages:"Diller",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet Ba\u011Flant\u0131lar",new_tag:"Yeni etiket",order_by:"S\u0131ralama \xF6l\xE7\xFCt\xFC",order_direction_toggle:"Y\xF6n\xFC de\u011Fi\u015Ftir",ordering:{files_count:"Dosya say\u0131s\u0131",info_hash:"Bilgi hash'i",leechers:"Leechers",name:"Ad",published_at:"Yay\u0131nlanma tarihi",relevance:"Alaka d\xFCzeyi",seeders:"Seeders",size:"Boyut",updated_at:"G\xFCncellenme tarihi"},original_release_date:"Orijinal \xE7\u0131k\u0131\u015F tarihi",permalink:"Kal\u0131c\u0131 Ba\u011Flant\u0131",poster:"Poster",published:"Yay\u0131nland\u0131",rating:"Puan",refresh:"Sonu\xE7lar\u0131 Yenile",s_l:"S / L",search:"Ara",seeders:"Seeders",select_all:"T\xFCm\xFCn\xFC Se\xE7",showing_x_of_y_files:"{{y}} dosyan\u0131n {{x}} tanesi g\xF6steriliyor",size:"Boyut",source:"Torrent Kayna\u011F\u0131",summary:"\xD6zet",title:"Ba\u015Fl\u0131k",toggle_drawer:"\xC7ekmeceyi A\xE7/Kapat",votes_count_n:"{{count}} oy"},version:{bitmagnet_version:"bitmagnet versiyonu {{version}}",unknown:"bilinmiyor"}};var it={content_types:{plural:{all:"\u0423\u0441\u0456",audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0456\u043A\u0441\u0438",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0456 \u043A\u043D\u0438\u0433\u0438",movie:"\u0424\u0456\u043B\u044C\u043C\u0438",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0456\u043A\u0441",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043A\u043D\u0438\u0433\u0430",movie:"\u0424\u0456\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",updated:"\u041E\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0423\u0441\u0456",days:"\u0414\u043D\u0456",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0413\u043E\u0434\u0438\u043D\u0438",hours_1:"1 \u0433\u043E\u0434\u0438\u043D\u0430",hours_12:"12 \u0433\u043E\u0434\u0438\u043D",hours_6:"6 \u0433\u043E\u0434\u0438\u043D",minutes:"\u0425\u0432\u0438\u043B\u0438\u043D\u0438",minutes_1:"1 \u0445\u0432\u0438\u043B\u0438\u043D\u0430",minutes_15:"15 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_30:"30 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_5:"5 \u0445\u0432\u0438\u043B\u0438\u043D",off:"\u0412\u0438\u043C\u043A\u043D\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u0442\u0438\u0436\u0434\u0435\u043D\u044C"},metrics:{event:"\u041F\u043E\u0434\u0456\u044F",resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",timeframe:"\u041F\u0440\u043E\u043C\u0456\u0436\u043E\u043A \u0447\u0430\u0441\u0443"},queues:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",created_at:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E \u043E",enqueue_jobs:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E \u0447\u0435\u0440\u0433\u0438",enqueue_torrent_processing_batch:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043F\u0430\u043A\u0435\u0442 \u0434\u043B\u044F \u043E\u0431\u0440\u043E\u0431\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",jobs_enqueued:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E\u0434\u0430\u043D\u043E \u0432 \u0447\u0435\u0440\u0433\u0443",latency:"\u0417\u0430\u0442\u0440\u0438\u043C\u043A\u0430",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",payload:"\u0414\u0430\u043D\u0456",pending:"\u0412 \u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u043D\u0456",priority:"\u041F\u0440\u0456\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u043E\u0431\u043B\u044F\u0442\u0438 \u043B\u0438\u0448\u0435 \xAB\u0441\u0438\u0440\u043E\u0442\u043B\u0438\u0432\u0456\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0447\u0435\u0440\u0433\u0438",queue:"\u0427\u0435\u0440\u0433\u0430",queue_purged:"\u0427\u0435\u0440\u0433\u0430 \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u0427\u0435\u0440\u0433\u0438",ran_at:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E \u043E",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438",total_counts_by_status:"\u0417\u0430\u0433\u0430\u043B\u044C\u043D\u0430 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0437\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C\u0438"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",genre:"\u0416\u0430\u043D\u0440",language:"\u041C\u043E\u0432\u0430",queue:"\u0427\u0435\u0440\u0433\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C \u0432\u0456\u0434\u0435\u043E",video_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0432\u0456\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0456\u0432",audio:"\u0410\u0443\u0434\u0456\u043E",data:"\u0414\u0430\u043D\u0456",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u0438",unknown:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",video:"\u0412\u0456\u0434\u0435\u043E"},general:{all:"\u0423\u0441\u0456",dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",none:"\u041D\u0435\u043C\u0430\u0454",page_not_found:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u043E\u044E",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0417\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u0456\u0441\u0442\u044C",down:"\u041D\u0435 \u043F\u0440\u0430\u0446\u044E\u0454",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u0438\u0439",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F",up:"\u041F\u0440\u0430\u0446\u044E\u0454"},summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F \u0441\u0442\u0430\u043D\u0443",worker:"\u041F\u0440\u0430\u0446\u0456\u0432\u043D\u0438\u043A",workers:{dht_crawler:"DHT \u0441\u043A\u0430\u043D\u0435\u0440",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u0447\u0435\u0440\u0433\u0438"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u044C\u043A\u0430",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0456\u043B\u043E\u0440\u0443\u0441\u044C\u043A\u0430",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u044C\u043A\u0430",bs:"\u0411\u043E\u0441\u043D\u0456\u0439\u0441\u044C\u043A\u0430",ca:"\u041A\u0430\u0442\u0430\u043B\u043E\u043D\u0441\u044C\u043A\u0430",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u044C\u043A\u0430",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u044C\u043A\u0430",cs:"\u0427\u0435\u0441\u044C\u043A\u0430",cy:"\u0412\u0430\u043B\u043B\u0456\u0439\u0441\u044C\u043A\u0430",da:"\u0414\u0430\u043D\u0441\u044C\u043A\u0430",de:"\u041D\u0456\u043C\u0435\u0446\u044C\u043A\u0430",el:"\u0413\u0440\u0435\u0446\u044C\u043A\u0430",en:"\u0410\u043D\u0433\u043B\u0456\u0439\u0441\u044C\u043A\u0430",es:"\u0406\u0441\u043F\u0430\u043D\u0441\u044C\u043A\u0430",et:"\u0415\u0441\u0442\u043E\u043D\u0441\u044C\u043A\u0430",eu:"\u0411\u0430\u0441\u043A\u0441\u044C\u043A\u0430",fa:"\u041F\u0435\u0440\u0441\u044C\u043A\u0430",fi:"\u0424\u0456\u043D\u0441\u044C\u043A\u0430",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u044C\u043A\u0430",he:"\u0406\u0432\u0440\u0438\u0442",hi:"\u0425\u0456\u043D\u0434\u0456",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u044C\u043A\u0430",hu:"\u0423\u0433\u043E\u0440\u0441\u044C\u043A\u0430",hy:"\u0412\u0456\u0440\u043C\u0435\u043D\u0441\u044C\u043A\u0430",id:"\u0406\u043D\u0434\u043E\u043D\u0435\u0437\u0456\u0439\u0441\u044C\u043A\u0430",is:"\u0406\u0441\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",it:"\u0406\u0442\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",ja:"\u042F\u043F\u043E\u043D\u0441\u044C\u043A\u0430",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u044C\u043A\u0430",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u044C\u043A\u0430",ku:"\u041A\u0443\u0440\u0434\u0441\u044C\u043A\u0430",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u044C\u043A\u0430",lv:"\u041B\u0430\u0442\u0438\u0441\u044C\u043A\u0430",mi:"\u041C\u0430\u043E\u0440\u0456",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u044C\u043A\u0430",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u044C\u043A\u0430",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u044C\u043A\u0430",mt:"\u041C\u0430\u043B\u044C\u0442\u0456\u0439\u0441\u044C\u043A\u0430",nl:"\u041D\u0456\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",no:"\u041D\u043E\u0440\u0432\u0435\u0437\u044C\u043A\u0430",pl:"\u041F\u043E\u043B\u044C\u0441\u044C\u043A\u0430",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u044C\u043A\u0430",ro:"\u0420\u0443\u043C\u0443\u043D\u0441\u044C\u043A\u0430",ru:"\u0420\u043E\u0441\u0456\u0439\u0441\u044C\u043A\u0430",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u044C\u043A\u0430",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u044C\u043A\u0430",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u044C\u043A\u0430",so:"\u0421\u043E\u043C\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",sr:"\u0421\u0435\u0440\u0431\u0441\u044C\u043A\u0430",sv:"\u0428\u0432\u0435\u0434\u0441\u044C\u043A\u0430",ta:"\u0422\u0430\u043C\u0456\u043B\u044C\u0441\u044C\u043A\u0430",th:"\u0422\u0430\u0439\u0441\u044C\u043A\u0430",tr:"\u0422\u0443\u0440\u0435\u0446\u044C\u043A\u0430",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",vi:"\u0412'\u0454\u0442\u043D\u0430\u043C\u0441\u044C\u043A\u0430",yi:"\u0407\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u044C\u043A\u0430",zu:"\u0417\u0443\u043B\u0443\u0441\u044C\u043A\u0430"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u043C\u0443",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u0456\u0434\u0442\u0440\u0438\u043C\u0430\u0442\u0438 bitmagnet",translate:"\u041F\u0435\u0440\u0435\u043A\u043B\u0430\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0448\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",items_per_page:"\u0415\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u0446\u0456",last_page:"\u041E\u0441\u0442\u0430\u043D\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",next_page:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",previous_page:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0456\u043D\u043D\u044F",home:"\u0413\u043E\u043B\u043E\u0432\u043D\u0430",jobs:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F",queues:"\u0427\u0435\u0440\u0433\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u0438",visualize:"\u0412\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0443\u0432\u0430\u0442\u0438"},torrents:{clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043F\u043E\u0448\u0443\u043A",copy:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438",copy_to_clipboard:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0456\u043D\u0443",delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",delete_action_cannot_be_undone:"\u0426\u044E \u0434\u0456\u044E \u043D\u0435 \u043C\u043E\u0436\u043D\u0430 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438",delete_are_you_sure:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u0435\u0439 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0417\u043D\u044F\u0442\u0438 \u0432\u0438\u0434\u0456\u043B\u0435\u043D\u043D\u044F",edit_tags:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u0435\u0433\u0438",episodes:"\u0415\u043F\u0456\u0437\u043E\u0434\u0438",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",file_index:"\u0406\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0443",file_path:"\u0428\u043B\u044F\u0445 \u0434\u043E \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u043E\u0437\u043C\u0456\u0440 \u0444\u0430\u0439\u043B\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",files:"\u0424\u0430\u0439\u043B\u0438",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u0456\u0432",files_no_info:"\u0406\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F \u043F\u0440\u043E \u0444\u0430\u0439\u043B\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u0438",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",info_hashes:"\u0425\u0435\u0448\u0456 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",languages:"\u041C\u043E\u0432\u0438",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442-\u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",new_tag:"\u041D\u043E\u0432\u0438\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430",order_direction_toggle:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043D\u0430\u043F\u0440\u044F\u043C\u043E\u043A",ordering:{files_count:"\u041A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0444\u0430\u0439\u043B\u0456\u0432",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",name:"\u041D\u0430\u0437\u0432\u0430",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0456\u043A\u0430\u0446\u0456\u0457",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0456\u0441\u0442\u044C",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",size:"\u0420\u043E\u0437\u043C\u0456\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F"},original_release_date:"\u0414\u0430\u0442\u0430 \u043E\u0440\u0438\u0433\u0456\u043D\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043F\u0443\u0441\u043A\u0443",permalink:"\u041F\u043E\u0441\u0442\u0456\u0439\u043D\u0435 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438",s_l:"S / L",search:"\u041F\u043E\u0448\u0443\u043A",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",select_all:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0456",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0437 {{y}} \u0444\u0430\u0439\u043B\u0456\u0432",size:"\u0420\u043E\u0437\u043C\u0456\u0440",source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F",title:"\u041D\u0430\u0437\u0432\u0430",toggle_drawer:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u0456\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0456\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0432\u0456\u0434\u043E\u043C\u043E"}};var lt={content_types:{plural:{all:"\u5168\u90E8",audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"},singular:{audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"}},dashboard:{event:{created:"\u5DF2\u521B\u5EFA",failed:"\u5931\u8D25",processed:"\u5DF2\u5904\u7406",updated:"\u5DF2\u66F4\u65B0"},interval:{all:"\u5168\u90E8",days:"\u5929",days_1:"1\u5929",hours:"\u5C0F\u65F6",hours_1:"1\u5C0F\u65F6",hours_12:"12\u5C0F\u65F6",hours_6:"6\u5C0F\u65F6",minutes:"\u5206\u949F",minutes_1:"1\u5206\u949F",minutes_15:"15\u5206\u949F",minutes_30:"30\u5206\u949F",minutes_5:"5\u5206\u949F",off:"\u5173\u95ED",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u5468"},metrics:{event:"\u4E8B\u4EF6",resolution:"\u5206\u8FA8\u7387",throughput:"\u541E\u5410\u91CF",timeframe:"\u65F6\u95F4\u8303\u56F4"},queues:{created:"\u5DF2\u521B\u5EFA",created_at:"\u521B\u5EFA\u4E8E",enqueue_jobs:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",enqueue_torrent_processing_batch:"\u52A0\u5165\u961F\u5217\u7684\u79CD\u5B50\u5904\u7406\u6279\u6B21",failed:"\u5931\u8D25",force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",jobs_enqueued:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",latency:"\u5EF6\u8FDF",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",payload:"\u6709\u6548\u8F7D\u8377",pending:"\u5F85\u5904\u7406",priority:"\u4F18\u5148\u7EA7",process_orphaned_torrents_only:"\u4EC5\u5904\u7406\u5B64\u7ACB\u7684\u79CD\u5B50",processed:"\u5DF2\u5904\u7406",purge_jobs:"\u6E05\u9664\u4EFB\u52A1",purge_queue_jobs:"\u6E05\u9664\u961F\u5217\u4EFB\u52A1",queue:"\u961F\u5217",queue_purged:"\u961F\u5217\u5DF2\u6E05\u9664",queues:"\u961F\u5217",ran_at:"\u8FD0\u884C\u4E8E",retry:"\u91CD\u8BD5",total_counts_by_status:"\u6309\u72B6\u6001\u7EDF\u8BA1\u603B\u6570"}},facets:{content_type:"\u5185\u5BB9\u7C7B\u578B",file_type:"\u6587\u4EF6\u7C7B\u578B",genre:"\u7C7B\u578B",language:"\u8BED\u8A00",queue:"\u961F\u5217",status:"\u72B6\u6001",torrent_source:"\u79CD\u5B50\u6765\u6E90",torrent_tag:"\u79CD\u5B50\u6807\u7B7E",video_resolution:"\u89C6\u9891\u5206\u8FA8\u7387",video_source:"\u89C6\u9891\u6765\u6E90"},file_types:{archive:"\u6863\u6848",audio:"\u97F3\u9891",data:"\u6570\u636E",document:"\u6587\u6863",image:"\u56FE\u50CF",software:"\u8F6F\u4EF6",subtitles:"\u5B57\u5E55",unknown:"\u672A\u77E5",video:"\u89C6\u9891"},general:{all:"\u5168\u90E8",dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",none:"\u65E0",page_not_found:"\u9875\u9762\u672A\u627E\u5230",refresh:"\u5237\u65B0",status:"\u72B6\u6001"},health:{bitmagnet_is_status:"bitmagnet\u662F{{status}}",check_failed_with_error:"\u68C0\u67E5\u5931\u8D25\uFF0C\u9519\u8BEF",component:"\u7EC4\u4EF6",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",status:"\u72B6\u6001",statuses:{degraded:"\u964D\u7EA7",down:"\u5173\u95ED",error:"\u9519\u8BEF",inactive:"\u4E0D\u6D3B\u8DC3",started:"\u5DF2\u542F\u52A8",unknown:"\u672A\u77E5",up:"\u8FD0\u884C\u4E2D"},summary:"\u5065\u5EB7\u6982\u8FF0",worker:"\u5DE5\u4F5C\u8005",workers:{dht_crawler:"DHT\u722C\u866B",http_server:"HTTP\u670D\u52A1\u5668",queue_server:"\u961F\u5217\u670D\u52A1\u5668"}},languages:{af:"\u5357\u975E\u8377\u5170\u8BED",ar:"\u963F\u62C9\u4F2F\u8BED",az:"\u963F\u585E\u62DC\u7586\u8BED",be:"\u767D\u4FC4\u7F57\u65AF\u8BED",bg:"\u4FDD\u52A0\u5229\u4E9A\u8BED",bs:"\u6CE2\u65AF\u5C3C\u4E9A\u8BED",ca:"\u52A0\u6CF0\u7F57\u5C3C\u4E9A\u8BED",ce:"\u8F66\u81E3\u8BED",co:"\u79D1\u897F\u5609\u8BED",cs:"\u6377\u514B\u8BED",cy:"\u5A01\u5C14\u58EB\u8BED",da:"\u4E39\u9EA6\u8BED",de:"\u5FB7\u8BED",el:"\u5E0C\u814A\u8BED",en:"\u82F1\u8BED",es:"\u897F\u73ED\u7259\u8BED",et:"\u7231\u6C99\u5C3C\u4E9A\u8BED",eu:"\u5DF4\u65AF\u514B\u8BED",fa:"\u6CE2\u65AF\u8BED",fi:"\u82AC\u5170\u8BED",fr:"\u6CD5\u8BED",he:"\u5E0C\u4F2F\u6765\u8BED",hi:"\u5370\u5730\u8BED",hr:"\u514B\u7F57\u5730\u4E9A\u8BED",hu:"\u5308\u7259\u5229\u8BED",hy:"\u4E9A\u7F8E\u5C3C\u4E9A\u8BED",id:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u8BED",is:"\u51B0\u5C9B\u8BED",it:"\u610F\u5927\u5229\u8BED",ja:"\u65E5\u8BED",ka:"\u683C\u9C81\u5409\u4E9A\u8BED",ko:"\u97E9\u8BED",ku:"\u5E93\u5C14\u5FB7\u8BED",lt:"\u7ACB\u9676\u5B9B\u8BED",lv:"\u62C9\u8131\u7EF4\u4E9A\u8BED",mi:"\u6BDB\u5229\u8BED",mk:"\u9A6C\u5176\u987F\u8BED",ml:"\u9A6C\u62C9\u96C5\u62C9\u59C6\u8BED",mn:"\u8499\u53E4\u8BED",ms:"\u9A6C\u6765\u8BED",mt:"\u9A6C\u8033\u4ED6\u8BED",nl:"\u8377\u5170\u8BED",no:"\u632A\u5A01\u8BED",pl:"\u6CE2\u5170\u8BED",pt:"\u8461\u8404\u7259\u8BED",ro:"\u7F57\u9A6C\u5C3C\u4E9A\u8BED",ru:"\u4FC4\u8BED",sa:"\u68B5\u8BED",sk:"\u65AF\u6D1B\u4F10\u514B\u8BED",sl:"\u65AF\u6D1B\u6587\u5C3C\u4E9A\u8BED",sm:"\u8428\u6469\u4E9A\u8BED",so:"\u7D22\u9A6C\u91CC\u8BED",sr:"\u585E\u5C14\u7EF4\u4E9A\u8BED",sv:"\u745E\u5178\u8BED",ta:"\u6CF0\u7C73\u5C14\u8BED",th:"\u6CF0\u8BED",tr:"\u571F\u8033\u5176\u8BED",uk:"\u4E4C\u514B\u5170\u8BED",vi:"\u8D8A\u5357\u8BED",yi:"\u610F\u7B2C\u7EEA\u8BED",zh:"\u4E2D\u6587",zu:"\u7956\u9C81\u8BED"},layout:{bitmagnet_on_service:"bitmagnet\u5728{{service}}",change_theme:"\u66F4\u6539\u4E3B\u9898",external_links:"\u5916\u90E8\u94FE\u63A5",sponsor:"\u8D5E\u52A9\u5546",support_bitmagnet:"\u652F\u6301bitmagnet",translate:"\u7FFB\u8BD1"},paginator:{first_page:"\u7B2C\u4E00\u9875",items_per_page:"\u6BCF\u9875\u9879\u76EE\u6570",last_page:"\u6700\u540E\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",previous_page:"\u4E0A\u4E00\u9875",x_to_y:"{{x}}\u5230{{y}}",x_to_y_of_y:"__\u7F3A\u5931__",x_to_y_of_z:"{{x}}\u5230{{y}}\uFF0C\u5171{{z}}"},routes:{admin:"\u7BA1\u7406\u5458",dashboard:"\u4EEA\u8868\u76D8",home:"\u9996\u9875",jobs:"\u4EFB\u52A1",queues:"\u961F\u5217",torrents:"\u79CD\u5B50",visualize:"\u53EF\u89C6\u5316"},torrents:{clear_search:"\u6E05\u9664\u641C\u7D22",copy:"\u590D\u5236",copy_to_clipboard:"\u590D\u5236\u5230\u526A\u8D34\u677F",delete:"\u5220\u9664",delete_action_cannot_be_undone:"\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500",delete_are_you_sure:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u6B64\u79CD\u5B50\u5417\uFF1F",deselect_all:"\u53D6\u6D88\u5168\u9009",edit_tags:"\u7F16\u8F91\u6807\u7B7E",episodes:"\u5267\u96C6",external_links:"\u5916\u90E8\u94FE\u63A5",file_index:"\u6587\u4EF6\u7D22\u5F15",file_path:"\u6587\u4EF6\u8DEF\u5F84",file_size:"\u6587\u4EF6\u5927\u5C0F",file_type:"\u6587\u4EF6\u7C7B\u578B",files:"\u6587\u4EF6",files_count_n:"{{count}}\u4E2A\u6587\u4EF6",files_no_info:"\u65E0\u6587\u4EF6\u4FE1\u606F",files_single:"\u5355\u4E2A\u6587\u4EF6",genres:"\u7C7B\u578B",info_hash:"\u4FE1\u606F\u54C8\u5E0C",info_hashes:"\u4FE1\u606F\u54C8\u5E0C",languages:"\u8BED\u8A00",leechers:"\u4E0B\u8F7D\u8005",magnet:"\u78C1\u529B\u94FE\u63A5",magnet_links:"\u78C1\u529B\u94FE\u63A5",new_tag:"\u65B0\u6807\u7B7E",order_by:"\u6392\u5E8F\u4F9D\u636E",order_direction_toggle:"\u5207\u6362\u65B9\u5411",ordering:{files_count:"\u6587\u4EF6\u6570",info_hash:"\u4FE1\u606F\u54C8\u5E0C",leechers:"\u4E0B\u8F7D\u8005",name:"\u540D\u79F0",published_at:"\u53D1\u5E03\u4E8E",relevance:"\u76F8\u5173\u6027",seeders:"\u4E0A\u4F20\u8005",size:"\u5927\u5C0F",updated_at:"\u66F4\u65B0\u4E8E"},original_release_date:"\u539F\u59CB\u53D1\u5E03\u65E5\u671F",permalink:"\u6C38\u4E45\u94FE\u63A5",poster:"\u6D77\u62A5",published:"\u5DF2\u53D1\u5E03",rating:"\u8BC4\u5206",refresh:"\u5237\u65B0\u7ED3\u679C",s_l:"S / L",search:"\u641C\u7D22",seeders:"\u4E0A\u4F20\u8005",select_all:"\u5168\u9009",showing_x_of_y_files:"\u663E\u793A{{x}}\u4E2A\uFF0C\u5171{{y}}\u4E2A\u6587\u4EF6",size:"\u5927\u5C0F",source:"\u79CD\u5B50\u6765\u6E90",summary:"\u6458\u8981",title:"\u6807\u9898",toggle_drawer:"\u5207\u6362\u62BD\u5C49",votes_count_n:"{{count}}\u7968"},version:{bitmagnet_version:"bitmagnet\u7248\u672C{{version}}",unknown:"\u672A\u77E5"}};var W={ar:Ye,de:Je,en:Ze,es:$e,fr:et,hi:tt,ja:at,nl:ot,pt:rt,ru:nt,tr:st,uk:it,zh:lt};var ut=(()=>{class t{getTranslation(e){return Z(this,null,function*(){if(e in W){let a=W[e];return ct(a)}else return Promise.reject(new Error(`Translation not found: ${e}`))})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Bt=["__missing__","__fallback__"],ct=t=>Object.fromEntries(Object.entries(t).flatMap(([o,e])=>{if(typeof e=="object")e=ct(e);else if(typeof e=="string"&&Bt.includes(e))return[];return[[o,e]]}));var dt={providers:[he({eventCoalescing:!0}),Te(Qe,Se()),We("animations"),X(pe()),X(),Me({config:{availableLangs:[{id:"ar",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},{id:"de",label:"Deutsch"},{id:"en",label:"English"},{id:"es",label:"Espa\xF1ol"},{id:"fr",label:"Fran\xE7ais"},{id:"hi",label:"\u0939\u093F\u0928\u094D\u0926\u0940"},{id:"ja",label:"\u65E5\u672C\u8A9E"},{id:"nl",label:"Nederlands"},{id:"pt",label:"Portugu\xEAs"},{id:"ru",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{id:"tr",label:"T\xFCrk\xE7e"},{id:"uk",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},{id:"zh",label:"\u4E2D\u6587"}],defaultLang:"en",fallbackLang:"en",missingHandler:{useFallbackTranslation:!0},reRenderOnLangChange:!0,prodMode:!1},loader:ut}),Ae(ze())]};var Rt=new P("Browser Storage",{providedIn:"root",factory:()=>localStorage}),L=(()=>{class t{constructor(e){this.storage=e}get(e){return this.storage.getItem(e)}set(e,a){this.storage.setItem(e,a)}remove(e){this.storage.removeItem(e)}clear(){this.storage.clear()}static{this.\u0275fac=function(a){return new(a||t)(ae(Rt))}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ht={classic:{key:"classic",label:"Classic",dark:!1},clean:{key:"clean",label:"Clean",dark:!1},neon:{key:"neon",label:"Neon",dark:!0},tundra:{key:"tundra",label:"Tundra",dark:!0}},F=Ht,_t="classic",mt="tundra";var Q="bitmagnet-theme",B=(()=>{class t{constructor(){this.document=u(D),this.browserStorage=u(L),this._window=this.document.defaultView,this.selectedThemeSubject=new $(void 0),this.selectedTheme$=this.selectedThemeSubject.asObservable(),this.themes=Object.values(F),this.getPreferredTheme=()=>this.getStoredTheme()??this.getAutoTheme(),this.getStoredTheme=()=>{let e=this.browserStorage.get(Q);return e&&e in F?e:void 0},this.getAutoTheme=()=>this.windowMatchMediaPrefersDark()?.matches?mt:_t,this.setTheme=e=>{this.setActiveTheme(e),this.setStoredTheme(this.selectedTheme??"auto")},this.setActiveTheme=e=>{e==="auto"||!(e in F)?(e=this.getAutoTheme(),this.selectedTheme=void 0):this.selectedTheme=e,this.document.documentElement.setAttribute("data-bitmagnet-theme",e),this.selectedThemeSubject.next(this.selectedTheme)},this.setStoredTheme=e=>{e==="auto"?this.browserStorage.remove(Q):this.browserStorage.set(Q,e)},this.setActiveTheme(this.getPreferredTheme()),this.windowMatchMediaPrefersDark()?.addEventListener("change",()=>{this.getStoredTheme()||this.setActiveTheme(this.getAutoTheme())})}windowMatchMediaPrefersDark(){return this._window&&this._window.matchMedia?this._window.matchMedia("(prefers-color-scheme: dark)"):void 0}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Gt=t=>({version:t});function Nt(t,o){if(t&1&&(w(0),s(1,"span",1),c(2),n(),T()),t&2){let e=o.$implicit,a=_();i(),h("matTooltip",e("version.bitmagnet_version",me(2,Gt,a.versionUnknown?e("version.unknown"):a.version))),i(),f(a.version)}}var Y="v-unknown",ht=(()=>{class t{constructor(){this.apollo=u(Pe),this.version=Y,this.versionUnknown=!0}ngOnInit(){this.apollo.query({query:je}).pipe(ee(e=>e.data.version)).subscribe({next:e=>{e?(this.version=e,this.versionUnknown=!1):(this.version=Y,this.versionUnknown=!0)},error:()=>{this.version=Y}})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-version"]],standalone:!0,features:[b],decls:1,vars:0,consts:[[4,"transloco"],[1,"version",3,"matTooltip"]],template:function(a,r){a&1&&x(0,Nt,3,4,"ng-container",0)},dependencies:[I,j,E,Ie],encapsulation:2})}}return t})();var pt="bitmagnet-language",gt=(()=>{class t{constructor(){this.transloco=u(Ce),this.browserStorage=u(L),this.availableLanguages=this.transloco.getAvailableLangs(),this.transloco.setActiveLang(this.getPreferredLanguage())}getPreferredLanguage(){return this.getStoredLanguage()??this.getAutoLanguage()}getStoredLanguage(){let e=this.browserStorage.get(pt);return e&&this.transloco.isLang(e)?e:void 0}getAutoLanguage(){let e=navigator?.language?.split("-")?.[0];return this.transloco.isLang(e)?e:"en"}setLanguage(e){this.transloco.setActiveLang(e),this.browserStorage.set(pt,e)}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Kt=["element"],J=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-theme-emitter-color"]],viewQuery:function(a,r){if(a&1&&M(Kt,5),a&2){let l;z(l=A())&&(r.element=l.first)}},inputs:{color:"color"},standalone:!0,features:[b],decls:2,vars:2,consts:[["element",""]],template:function(a,r){a&1&&d(0,"div",null,0),a&2&&v("theme-emitter-color "+r.color)},encapsulation:2})}}return t})();var Xt=["lightdark"];function Ut(t,o){if(t&1&&d(0,"app-theme-emitter-color",1),t&2){let e=o.$implicit;h("color",e)}}var ft=(()=>{class t{constructor(){this.service=u(Ue),this.themeManager=u(B),this.themeColors=Xe,this.themeManager.selectedTheme$.subscribe(()=>{this.updateThemeColors()})}ngAfterViewInit(){this.updateThemeColors()}updateThemeColors(){let e={};for(let r of this.elements??[])e[r.color]=getComputedStyle(r.element.nativeElement).color;let a=this.lightdark&&getComputedStyle(this.lightdark.nativeElement).color==="rgb(0, 0, 0)"?"dark":"light";this.service.setInfo({colors:e,type:a})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-theme-emitter"]],viewQuery:function(a,r){if(a&1&&(M(Xt,5),M(J,5)),a&2){let l;z(l=A())&&(r.lightdark=l.first),z(l=A())&&(r.elements=l)}},standalone:!0,features:[b],decls:5,vars:0,consts:[["lightdark",""],[3,"color"],[1,"theme-emitter-lightdark"]],template:function(a,r){a&1&&(w(0),S(1,Ut,1,1,"app-theme-emitter-color",1,ce),d(3,"div",2,0),T()),a&2&&(i(),C(r.themeColors))},dependencies:[J],styles:["[_nghost-%COMP%]{display:none}.theme-emitter-color.background[_ngcontent-%COMP%]{color:var(--mat-app-background-color)}.theme-emitter-color.foreground[_ngcontent-%COMP%]{color:var(--mat-app-text-color)}"]})}}return t})();var Qt=["*"],Yt=(t,o)=>o.key,Jt=(t,o)=>o.id,Zt=()=>({service:"Discord"}),$t=()=>({service:"GitHub"}),ea=()=>({service:"OpenCollective"});function ta(t,o){if(t&1&&(s(0,"h1")(1,"a",22),d(2,"mat-icon",23),s(3,"span",24),c(4,"bitmagnet"),n(),d(5,"app-version"),n()(),s(6,"nav")(7,"a",25,3),d(9,"mat-icon",23),c(10),n(),s(11,"a",26,4)(13,"mat-icon"),c(14,"dashboard"),n(),c(15),n()()),t&2){let e=k(8),a=k(12),r=_().$implicit;i(7),v(e.isActive?"active":""),i(3),K(" ",r("routes.torrents")," "),i(),v(a.isActive?"active":""),i(4),K(" ",r("routes.dashboard")," ")}}function aa(t,o){if(t&1&&(s(0,"h1")(1,"a",27),d(2,"mat-icon",23),n()(),s(3,"button",28,4)(5,"mat-icon"),c(6,"dashboard"),n()()),t&2){let e=k(4),a=_().$implicit;i(3),v(e.isActive?"active":""),h("matTooltip",a("routes.dashboard"))}}function oa(t,o){if(t&1){let e=G();s(0,"a",29),N("click",function(){let r=R(e).$implicit,l=_(2);return H(l.themeManager.setTheme(r.key))}),s(1,"mat-icon"),c(2),n(),c(3),n()}if(t&2){let e=o.$implicit,a=_(2);v(e.key===a.themeManager.selectedTheme?"active":""),i(2),f(e.dark?"dark_mode":"light_mode"),i(),f(e.label)}}function ra(t,o){if(t&1){let e=G();s(0,"a",30),N("click",function(){let r=R(e).$implicit,l=_(2);return H(l.translateManager.setLanguage(r.id))}),c(1),n()}if(t&2){let e=o.$implicit,a=_().$implicit,r=_();v(e.id===r.translateManager.getPreferredLanguage()?"active":""),h("matTooltip",e.id===r.translateManager.getPreferredLanguage()?void 0:a("languages."+e.id)),i(),f(e.label)}}function na(t,o){if(t&1&&(s(0,"a",19)(1,"mat-icon"),c(2,"favorite"),n()()),t&2){let e=_().$implicit;h("matTooltip",e("layout.sponsor"))}}function sa(t,o){if(t&1&&(s(0,"a",20)(1,"mat-icon"),c(2,"favorite"),n(),c(3),n()),t&2){let e=_().$implicit;h("matTooltip",e("layout.support_bitmagnet")),i(3),f(e("layout.sponsor"))}}function ia(t,o){if(t&1&&(w(0),s(1,"mat-toolbar",6),x(2,ta,16,6)(3,aa,7,3),d(4,"span",7)(5,"app-health-widget"),s(6,"button",8)(7,"mat-icon"),c(8,"apparel"),n()(),s(9,"mat-menu",9,0),S(11,oa,4,4,"a",10,Yt),n(),s(13,"button",11)(14,"mat-icon"),c(15,"translate"),n()(),s(16,"mat-menu",9,1),S(18,ra,2,4,"a",12,Jt),n(),s(20,"button",13),d(21,"mat-icon",14),n(),s(22,"mat-menu",9,2)(24,"a",15),c(25,"bitmagnet.io"),n(),s(26,"a",16),c(27),n(),s(28,"a",17),c(29),n(),s(30,"a",18),c(31),n()(),x(32,na,3,1,"a",19)(33,sa,4,2,"a",20),n(),s(34,"div",21),_e(35),n(),d(36,"app-theme-emitter"),T()),t&2){let e=o.$implicit,a=k(10),r=k(17),l=k(23),m=_();i(2),O(m.breakpoints.sizeAtLeast("Medium")?2:3),i(4),h("matMenuTriggerFor",a)("matTooltip",e("layout.change_theme")),i(5),C(m.themeManager.themes),i(2),h("matMenuTriggerFor",r)("matTooltip",e("layout.translate")),i(5),C(m.translateManager.availableLanguages),i(2),h("matTooltip",e("layout.external_links"))("matMenuTriggerFor",l),i(7),f(e("layout.bitmagnet_on_service",q(11,Zt))),i(2),f(e("layout.bitmagnet_on_service",q(12,$t))),i(2),f(e("layout.bitmagnet_on_service",q(13,ea))),i(),O(m.breakpoints.sizeAtLeast("Medium")?33:32)}}var bt=(()=>{class t{constructor(){this.themeManager=u(B),this.translateManager=u(gt),this.breakpoints=u(Oe),this.title=u(be),this.router=u(ke),this.health=u(Ge)}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-layout"]],standalone:!0,features:[b],ngContentSelectors:Qt,decls:1,vars:0,consts:[["themesMenu","matMenu"],["languagesMenu","matMenu"],["externalLinksMenu","matMenu"],["linkTorrents","routerLinkActive"],["linkDashboard","routerLinkActive"],[4,"transloco"],[1,"toolbar-header"],[1,"spacer"],["mat-icon-button","","aria-label","Theme",3,"matMenuTriggerFor","matTooltip"],[1,"layout-header-menu"],["mat-menu-item","",3,"class"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","class"],["mat-icon-button","",3,"matTooltip","matMenuTriggerFor"],["svgIcon","external-link"],["mat-menu-item","","href","https://bitmagnet.io","target","_blank"],["mat-menu-item","","href","https://discord.gg/6mFNszX8qM","target","_blank"],["mat-menu-item","","href","https://github.com/bitmagnet-io/bitmagnet","target","_blank"],["mat-menu-item","","href","https://opencollective.com/bitmagnet","target","_blank"],["mat-icon-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],["mat-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],[1,"app-content"],["routerLink","torrents"],["svgIcon","magnet"],[1,"name"],["mat-button","","routerLink","torrents","routerLinkActive",""],["mat-button","","routerLink","dashboard","routerLinkActive",""],["routerLink","/torrents"],["mat-icon-button","","routerLink","dashboard","routerLinkActive","",3,"matTooltip"],["mat-menu-item","",3,"click"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click","matTooltip"]],template:function(a,r){a&1&&(de(),x(0,ia,37,14,"ng-container",5))},dependencies:[I,qe,Ee,De,Fe,Re,Be,He,Ve,j,xe,we,E,Ke,Ne,ft,ht],styles:[".mat-toolbar.toolbar-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:10;--mat-toolbar-title-text-size: 22px;--mat-toolbar-standard-height: 56px;--mat-icon-color: #fff;padding:0 20px;--mdc-text-button-label-text-size: 15px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:-2px;margin-right:20px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:4px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{margin-left:10px;margin-right:16px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] app-version[_ngcontent-%COMP%]{font-size:13px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]{margin-left:6px;--mdc-text-button-label-text-weight: bold;--mat-text-button-horizontal-padding: 12px;--mdc-text-button-container-height: 30px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{position:absolute;left:340px;top:0;height:56px;padding-top:14px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:10px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] mat-icon[data-mat-icon-name=magnet][_ngcontent-%COMP%]{margin-top:-5px;overflow:visible}.app-content[_ngcontent-%COMP%]{z-index:1}.layout-header-menu[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{font-weight:700}"]})}}return t})();var yt=(t,o)=>t.setDefaultFontSetClass("material-icons-outlined","material-symbols-outlined").addSvgIcon("magnet",o.bypassSecurityTrustResourceUrl("magnet.svg")).addSvgIcon("external-link",o.bypassSecurityTrustResourceUrl("external-link.svg")).addSvgIcon("binary",o.bypassSecurityTrustResourceUrl("binary.svg")).addSvgIcon("queue",o.bypassSecurityTrustResourceUrl("queue.svg"));var vt=(()=>{class t{constructor(e,a){this.title="bitmagnet",yt(e,a)}static{this.\u0275fac=function(a){return new(a||t)(V(Le),V(ye))}}static{this.\u0275cmp=g({type:t,selectors:[["app-root"]],standalone:!0,features:[b],decls:2,vars:0,template:function(a,r){a&1&&(s(0,"app-layout"),d(1,"router-outlet"),n())},dependencies:[ve,bt]})}}return t})();fe(vt,dt).catch(t=>console.error(t)); diff --git a/webui/dist/bitmagnet/browser/main-FQGK2CWS.js b/webui/dist/bitmagnet/browser/main-FQGK2CWS.js new file mode 100644 index 00000000..1df58b48 --- /dev/null +++ b/webui/dist/bitmagnet/browser/main-FQGK2CWS.js @@ -0,0 +1 @@ +import{a as Me,b as Ae,d as Xe,e as Ue}from"./chunk-VHNPENGG.js";import{a as Oe}from"./chunk-3AJEMLV6.js";import{a as Ge,c as Ne,d as Ke}from"./chunk-W2FDHTDN.js";import{H as je,J as Ie,Ua as I,a as Ce,b as E,c as ze,i as qe,p as Pe,pa as Le,qa as Fe,r as De,s as Ee,sa as Be,ta as Re,ua as He,xa as Ve,ya as j}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import{c as X,d as pe,e as ge,f as fe,g as be,h as ye,k as ve,l as ke,m as we,n as Te,o as xe,p as Se}from"./chunk-ZBBMS7J5.js";import{$b as _,B as ee,Cb as w,Ea as R,Fa as H,Fc as he,Hb as h,Kb as v,Mb as O,Nb as ce,Oa as re,Ob as S,Pb as C,Qb as s,Rb as n,Sb as d,Sc as D,Tb as T,Ub as x,Wa as ne,Wb as G,Zb as N,ac as de,bc as _e,d as Z,ec as z,fc as M,gc as A,ia as te,jc as k,ka as p,kb as i,kc as c,l as $,lb as V,lc as f,mb as se,mc as K,na as q,ob as ie,pa as oe,pc as b,qa as u,qb as le,qc as P,rc as me,tb as ue,ua as g,ya as ae}from"./chunk-FJILXII2.js";var wt="@",Tt=(()=>{class t{constructor(e,o,r,l,m){this.doc=e,this.delegate=o,this.zone=r,this.animationType=l,this.moduleImpl=m,this._rendererFactoryPromise=null,this.scheduler=u(ie,{optional:!0}),this.loadingSchedulerFn=u(xt,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-R6LGJCCV.js").then(r=>r),o;return this.loadingSchedulerFn?o=this.loadingSchedulerFn(e):o=e(),o.catch(r=>{throw new te(5300,!1)}).then(({\u0275createEngine:r,\u0275AnimationRendererFactory:l})=>{this._engine=r(this.animationType,this.doc);let m=new l(this.delegate,this._engine,this.zone);return this.delegate=m,m})}createRenderer(e,o){let r=this.delegate.createRenderer(e,o);if(r.\u0275type===0)return r;typeof r.throwOnSyntheticProps=="boolean"&&(r.throwOnSyntheticProps=!1);let l=new U(r);return o?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(m=>{let kt=m.createRenderer(e,o);l.use(kt),this.scheduler?.notify(10)}).catch(m=>{l.use(r)}),l}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static{this.\u0275fac=function(o){se()}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac})}}return t})(),U=class{constructor(a){this.delegate=a,this.replay=[],this.\u0275type=1}use(a){if(this.delegate=a,this.replay!==null){for(let e of this.replay)e(a);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(a,e){return this.delegate.createElement(a,e)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}get destroyNode(){return this.delegate.destroyNode}appendChild(a,e){this.delegate.appendChild(a,e)}insertBefore(a,e,o,r){this.delegate.insertBefore(a,e,o,r)}removeChild(a,e,o){this.delegate.removeChild(a,e,o)}selectRootElement(a,e){return this.delegate.selectRootElement(a,e)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,e,o,r){this.delegate.setAttribute(a,e,o,r)}removeAttribute(a,e,o){this.delegate.removeAttribute(a,e,o)}addClass(a,e){this.delegate.addClass(a,e)}removeClass(a,e){this.delegate.removeClass(a,e)}setStyle(a,e,o,r){this.delegate.setStyle(a,e,o,r)}removeStyle(a,e,o){this.delegate.removeStyle(a,e,o)}setProperty(a,e,o){this.shouldReplay(e)&&this.replay.push(r=>r.setProperty(a,e,o)),this.delegate.setProperty(a,e,o)}setValue(a,e){this.delegate.setValue(a,e)}listen(a,e,o){return this.shouldReplay(e)&&this.replay.push(r=>r.listen(a,e,o)),this.delegate.listen(a,e,o)}shouldReplay(a){return this.replay!==null&&a.startsWith(wt)}},xt=new q("");function We(t="animations"){return ue("NgAsyncAnimations"),ae([{provide:le,useFactory:(a,e,o)=>new Tt(a,e,o,t),deps:[D,ge,re]},{provide:ne,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Qe=[{path:"",pathMatch:"full",redirectTo:"torrents"},{path:"torrents",loadComponent:()=>import("./chunk-VRXOKWLG.js").then(t=>t.TorrentsComponent),children:[{path:"",loadComponent:()=>import("./chunk-QR34FW2E.js").then(t=>t.TorrentsSearchComponent)},{path:"permalink/:infoHash",loadComponent:()=>import("./chunk-N3JJ3NXQ.js").then(t=>t.TorrentPermalinkComponent)}]},{path:"dashboard",loadComponent:()=>import("./chunk-OQYWMLJI.js").then(t=>t.DashboardComponent),children:[{path:"",loadComponent:()=>import("./chunk-7HDEVHSY.js").then(t=>t.DashboardHomeComponent)},{path:"queues",loadComponent:()=>import("./chunk-Z5TALIEZ.js").then(t=>t.QueueDashboardComponent),children:[{path:"visualize",loadComponent:()=>import("./chunk-XSWMZFX5.js").then(t=>t.QueueVisualizeComponent)},{path:"jobs",loadComponent:()=>import("./chunk-NEBTMJTJ.js").then(t=>t.QueueJobsComponent)},{path:"admin",loadComponent:()=>import("./chunk-B2KTWFU6.js").then(t=>t.QueueAdminComponent)}]},{path:"torrents",loadComponent:()=>import("./chunk-CCCAKKZT.js").then(t=>t.TorrentsDashboardComponent)}]},{path:"**",loadComponent:()=>import("./chunk-6NVKEHMV.js").then(t=>t.NotFoundComponent)}];var Ye={content_types:{plural:{all:"\u0627\u0644\u0643\u0644",audiobook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0635\u0648\u062A\u064A\u0629",comic:"\u0627\u0644\u0642\u0635\u0635 \u0627\u0644\u0645\u0635\u0648\u0631\u0629",ebook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u0629",movie:"\u0627\u0644\u0623\u0641\u0644\u0627\u0645",music:"\u0627\u0644\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0644\u0641\u0627\u0632",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"},singular:{audiobook:"\u0643\u062A\u0627\u0628 \u0635\u0648\u062A\u064A",comic:"\u0642\u0635\u0629 \u0645\u0635\u0648\u0631\u0629",ebook:"\u0643\u062A\u0627\u0628 \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",movie:"\u0641\u064A\u0644\u0645",music:"\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0644\u0641\u0632\u064A\u0648\u0646\u064A",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"}},dashboard:{event:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",failed:"\u0641\u0634\u0644",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",updated:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B"},interval:{all:"\u0627\u0644\u0643\u0644",days:"\u064A\u0648\u0645",days_1:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",hours:"\u0633\u0627\u0639\u0629",hours_1:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",hours_12:"12 \u0633\u0627\u0639\u0629",hours_6:"6 \u0633\u0627\u0639\u0629",minutes:"\u062F\u0642\u064A\u0642\u0629",minutes_1:"1 \u062F\u0642\u064A\u0642\u0629",minutes_15:"15 \u062F\u0642\u0627\u0626\u0642",minutes_30:"30 \u062F\u0642\u0627\u0626\u0642",minutes_5:"5 \u062F\u0642\u0627\u0626\u0642",off:"\u0625\u064A\u0642\u0627\u0641",seconds_10:"10 \u062B\u0648\u0627\u0646\u064A",seconds_30:"30 \u062B\u0627\u0646\u064A\u0629",weeks_1:"1 \u0623\u0633\u0628\u0648\u0639"},metrics:{event:"\u062D\u062F\u062B",resolution:"\u0627\u0644\u062F\u0642\u0629",throughput:"\u0645\u0639\u062F\u0644 \u0627\u0644\u0646\u0642\u0644",timeframe:"\u0627\u0644\u0625\u0637\u0627\u0631 \u0627\u0644\u0632\u0645\u0646\u064A"},queues:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",created_at:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621 \u0641\u064A",enqueue_jobs:"\u0625\u062F\u0631\u0627\u062C \u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",enqueue_torrent_processing_batch:"\u0625\u062F\u0631\u0627\u062C \u062F\u0641\u0639\u0629 \u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",failed:"\u0641\u0634\u0644",force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",jobs_enqueued:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0645\u062F\u0631\u062C\u0629 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",latency:"\u0627\u0644\u062A\u0623\u062E\u064A\u0631",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",payload:"\u0627\u0644\u062D\u0645\u0648\u0644\u0629",pending:"\u0642\u064A\u062F \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",priority:"\u0627\u0644\u0623\u0648\u0644\u0648\u064A\u0629",process_orphaned_torrents_only:"\u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u064A\u062A\u064A\u0645 \u0641\u0642\u0637",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",purge_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0648\u0638\u0627\u0626\u0641",purge_queue_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue_purged:"\u062A\u0645 \u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",ran_at:"\u062A\u0645 \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u0641\u064A",retry:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",total_counts_by_status:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u0639\u062F \u062D\u0633\u0628 \u0627\u0644\u062D\u0627\u0644\u0629"}},facets:{content_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u062D\u062A\u0648\u0649",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",genre:"\u0627\u0644\u0646\u0648\u0639",language:"\u0627\u0644\u0644\u063A\u0629",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",status:"\u0627\u0644\u062D\u0627\u0644\u0629",torrent_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",torrent_tag:"\u0639\u0644\u0627\u0645\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",video_resolution:"\u062F\u0642\u0629 \u0627\u0644\u0641\u064A\u062F\u064A\u0648",video_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u0641\u064A\u062F\u064A\u0648"},file_types:{archive:"\u0623\u0631\u0634\u064A\u0641",audio:"\u0635\u0648\u062A",data:"\u0628\u064A\u0627\u0646\u0627\u062A",document:"\u0648\u062B\u064A\u0642\u0629",image:"\u0635\u0648\u0631\u0629",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",subtitles:"\u062A\u0631\u062C\u0645\u0627\u062A",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",video:"\u0641\u064A\u062F\u064A\u0648"},general:{all:"\u0627\u0644\u0643\u0644",dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",none:"\u0644\u0627 \u0634\u064A\u0621",page_not_found:"\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629",refresh:"\u062A\u062D\u062F\u064A\u062B",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},health:{bitmagnet_is_status:"bitmagnet \u0647\u0648 {{status}}",check_failed_with_error:"\u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u0642\u0642 \u0645\u0639 \u062E\u0637\u0623",component:"\u0645\u0643\u0648\u0646",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",status:"\u0627\u0644\u062D\u0627\u0644\u0629",statuses:{degraded:"\u0645\u062A\u062F\u0647\u0648\u0631",down:"\u0645\u0639\u0637\u0644",error:"\u062E\u0637\u0623",inactive:"\u063A\u064A\u0631 \u0646\u0634\u0637",started:"\u0628\u062F\u0623",unknown:"\u0645\u0639\u0644\u0642",up:"\u0646\u0634\u0637"},summary:"\u0645\u0644\u062E\u0635 \u0627\u0644\u0635\u062D\u0629",worker:"\u0639\u0627\u0645\u0644",workers:{dht_crawler:"\u0632\u0627\u062D\u0641 DHT",http_server:"\u062E\u0627\u062F\u0645 HTTP",queue_server:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0637\u0627\u0628\u0648\u0631"}},languages:{af:"\u0627\u0644\u0623\u0641\u0631\u064A\u0643\u0627\u0646\u064A\u0629",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",az:"\u0627\u0644\u0623\u0630\u0631\u0628\u064A\u062C\u0627\u0646\u064A\u0629",be:"\u0627\u0644\u0628\u064A\u0644\u0627\u0631\u0648\u0633\u064A\u0629",bg:"\u0627\u0644\u0628\u0644\u063A\u0627\u0631\u064A\u0629",bs:"\u0627\u0644\u0628\u0648\u0633\u0646\u064A\u0629",ca:"\u0627\u0644\u0643\u0627\u062A\u0627\u0644\u0627\u0646\u064A\u0629",ce:"\u0627\u0644\u0634\u064A\u0634\u0627\u0646\u064A\u0629",co:"\u0627\u0644\u0643\u0648\u0631\u0633\u064A\u0643\u064A\u0629",cs:"\u0627\u0644\u062A\u0634\u064A\u0643\u064A\u0629",cy:"\u0627\u0644\u0648\u064A\u0644\u0632\u064A\u0629",da:"\u0627\u0644\u062F\u0627\u0646\u0645\u0627\u0631\u0643\u064A\u0629",de:"\u0627\u0644\u0623\u0644\u0645\u0627\u0646\u064A\u0629",el:"\u0627\u0644\u064A\u0648\u0646\u0627\u0646\u064A\u0629",en:"\u0627\u0644\u0625\u0646\u062C\u0644\u064A\u0632\u064A\u0629",es:"\u0627\u0644\u0625\u0633\u0628\u0627\u0646\u064A\u0629",et:"\u0627\u0644\u0625\u0633\u062A\u0648\u0646\u064A\u0629",eu:"\u0627\u0644\u0628\u0627\u0633\u0643\u064A\u0629",fa:"\u0627\u0644\u0641\u0627\u0631\u0633\u064A\u0629",fi:"\u0627\u0644\u0641\u0646\u0644\u0646\u062F\u064A\u0629",fr:"\u0627\u0644\u0641\u0631\u0646\u0633\u064A\u0629",he:"\u0627\u0644\u0639\u0628\u0631\u064A\u0629",hi:"\u0627\u0644\u0647\u0646\u062F\u064A\u0629",hr:"\u0627\u0644\u0643\u0631\u0648\u0627\u062A\u064A\u0629",hu:"\u0627\u0644\u0647\u0646\u063A\u0627\u0631\u064A\u0629",hy:"\u0627\u0644\u0623\u0631\u0645\u0646\u064A\u0629",id:"\u0627\u0644\u0625\u0646\u062F\u0648\u0646\u064A\u0633\u064A\u0629",is:"\u0627\u0644\u0623\u064A\u0633\u0644\u0646\u062F\u064A\u0629",it:"\u0627\u0644\u0625\u064A\u0637\u0627\u0644\u064A\u0629",ja:"\u0627\u0644\u064A\u0627\u0628\u0627\u0646\u064A\u0629",ka:"\u0627\u0644\u062C\u0648\u0631\u062C\u064A\u0629",ko:"\u0627\u0644\u0643\u0648\u0631\u064A\u0629",ku:"\u0627\u0644\u0643\u0631\u062F\u064A\u0629",lt:"\u0627\u0644\u0644\u064A\u062A\u0648\u0627\u0646\u064A\u0629",lv:"\u0627\u0644\u0644\u0627\u062A\u0641\u064A\u0629",mi:"\u0627\u0644\u0645\u0627\u0648\u0631\u064A\u0629",mk:"\u0627\u0644\u0645\u0642\u062F\u0648\u0646\u064A\u0629",ml:"\u0627\u0644\u0645\u0627\u0644\u0627\u064A\u0627\u0644\u0627\u0645\u064A\u0629",mn:"\u0627\u0644\u0645\u0646\u063A\u0648\u0644\u064A\u0629",ms:"\u0627\u0644\u0645\u0644\u0627\u064A\u0648\u064A\u0629",mt:"\u0627\u0644\u0645\u0627\u0644\u0637\u064A\u0629",nl:"\u0627\u0644\u0647\u0648\u0644\u0646\u062F\u064A\u0629",no:"\u0627\u0644\u0646\u0631\u0648\u064A\u062C\u064A\u0629",pl:"\u0627\u0644\u0628\u0648\u0644\u0646\u062F\u064A\u0629",pt:"\u0627\u0644\u0628\u0631\u062A\u063A\u0627\u0644\u064A\u0629",ro:"\u0627\u0644\u0631\u0648\u0645\u0627\u0646\u064A\u0629",ru:"\u0627\u0644\u0631\u0648\u0633\u064A\u0629",sa:"\u0627\u0644\u0633\u0646\u0633\u0643\u0631\u064A\u062A\u064A\u0629",sk:"\u0627\u0644\u0633\u0644\u0648\u0641\u0627\u0643\u064A\u0629",sl:"\u0627\u0644\u0633\u0644\u0648\u0641\u064A\u0646\u064A\u0629",sm:"\u0627\u0644\u0633\u0627\u0645\u0648\u064A\u0629",so:"\u0627\u0644\u0635\u0648\u0645\u0627\u0644\u064A\u0629",sr:"\u0627\u0644\u0635\u0631\u0628\u064A\u0629",sv:"\u0627\u0644\u0633\u0648\u064A\u062F\u064A\u0629",ta:"\u0627\u0644\u062A\u0627\u0645\u064A\u0644\u064A\u0629",th:"\u0627\u0644\u062A\u0627\u064A\u0644\u0627\u0646\u062F\u064A\u0629",tr:"\u0627\u0644\u062A\u0631\u0643\u064A\u0629",uk:"\u0627\u0644\u0623\u0648\u0643\u0631\u0627\u0646\u064A\u0629",vi:"\u0627\u0644\u0641\u064A\u062A\u0646\u0627\u0645\u064A\u0629",yi:"\u0627\u0644\u064A\u062F\u064A\u0634\u064A\u0629",zh:"\u0627\u0644\u0635\u064A\u0646\u064A\u0629",zu:"\u0627\u0644\u0632\u0648\u0644\u0648"},layout:{bitmagnet_on_service:"bitmagnet \u0639\u0644\u0649 {{service}}",change_theme:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0633\u0645\u0629",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",sponsor:"\u0627\u0644\u0631\u0627\u0639\u064A",support_bitmagnet:"\u062F\u0639\u0645 bitmagnet",translate:"\u062A\u0631\u062C\u0645\u0629"},paginator:{first_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u0648\u0644\u0649",items_per_page:"\u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0644\u0643\u0644 \u0635\u0641\u062D\u0629",last_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u062E\u064A\u0631\u0629",next_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629",previous_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",x_to_y:"{{x}} \u0625\u0644\u0649 {{y}}",x_to_y_of_y:"__\u0645\u0641\u0642\u0648\u062F__",x_to_y_of_z:"{{x}} \u0625\u0644\u0649 {{y}} \u0645\u0646 {{z}}"},routes:{admin:"\u0627\u0644\u0645\u0633\u0624\u0648\u0644",dashboard:"\u0644\u0648\u062D\u0629 \u0627\u0644\u062A\u062D\u0643\u0645",home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",jobs:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",torrents:"\u0627\u0644\u062A\u0648\u0631\u0646\u062A",visualize:"\u062A\u0635\u0648\u0631"},torrents:{clear_search:"\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B",copy:"\u0646\u0633\u062E",copy_to_clipboard:"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629",delete:"\u062D\u0630\u0641",delete_action_cannot_be_undone:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u0627\u0644\u062A\u0631\u0627\u062C\u0639 \u0639\u0646 \u0647\u0630\u0627 \u0627\u0644\u0625\u062C\u0631\u0627\u0621",delete_are_you_sure:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062D\u0630\u0641 \u0647\u0630\u0627 \u0627\u0644\u062A\u0648\u0631\u0646\u062A\u061F",deselect_all:"\u0625\u0644\u063A\u0627\u0621 \u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",download:"\u062A\u0646\u0632\u064A\u0644",download_confirm:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0645\u0646 \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062A\u0646\u0632\u064A\u0644 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629\u061F",edit_tags:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",episodes:"\u0627\u0644\u062D\u0644\u0642\u0627\u062A",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",file_index:"\u0641\u0647\u0631\u0633 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",file_path:"\u0645\u0633\u0627\u0631 \u0627\u0644\u0645\u0644\u0641",file_size:"\u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",files:"\u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_count_n:"{{count}} \u0645\u0644\u0641\u0627\u062A",files_no_info:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0646 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_single:"\u0645\u0644\u0641 \u0648\u0627\u062D\u062F",genres:"\u0627\u0644\u0623\u0646\u0648\u0627\u0639",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",info_hashes:"\u062A\u062C\u0632\u0626\u0627\u062A \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",languages:"\u0627\u0644\u0644\u063A\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",magnet:"\u0645\u063A\u0646\u0627\u0637\u064A\u0633",magnet_links:"\u0631\u0648\u0627\u0628\u0637 \u0645\u063A\u0646\u0627\u0637\u064A\u0633\u064A\u0629",new_tag:"\u0639\u0644\u0627\u0645\u0629 \u062C\u062F\u064A\u062F\u0629",order_by:"\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628",order_direction_toggle:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0627\u062A\u062C\u0627\u0647",ordering:{files_count:"\u0639\u062F\u062F \u0627\u0644\u0645\u0644\u0641\u0627\u062A",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",name:"\u0627\u0644\u0627\u0633\u0645",published_at:"\u0646\u0634\u0631 \u0641\u064A",relevance:"\u0627\u0644\u0635\u0644\u0629",seeders:"\u0627\u0644\u0645\u0632\u0627\u0631\u0639\u0648\u0646",size:"\u0627\u0644\u062D\u062C\u0645",updated_at:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0641\u064A"},original_release_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0635\u062F\u0627\u0631 \u0627\u0644\u0623\u0635\u0644\u064A",permalink:"\u0631\u0627\u0628\u0637 \u062F\u0627\u0626\u0645",poster:"\u0645\u0644\u0635\u0642",published:"\u0645\u0646\u0634\u0648\u0631",rating:"\u0627\u0644\u062A\u0642\u064A\u064A\u0645",refresh:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u062A\u0627\u0626\u062C",s_l:"S / L",search:"\u0628\u062D\u062B",seeders:"\u0627\u0644\u0628\u0627\u0630\u0631\u0648\u0646",select_all:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",showing_x_of_y_files:"\u0639\u0631\u0636 {{x}} \u0645\u0646 {{y}} \u0645\u0644\u0641\u0627\u062A",size:"\u0627\u0644\u062D\u062C\u0645",source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",summary:"\u0627\u0644\u0645\u0644\u062E\u0635",tags:{delete:"\u062D\u0630\u0641 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",delete_tip:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0645\u0646 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",placeholder:"\u0627\u0644\u0639\u0644\u0627\u0645\u0629...",put:"\u0648\u0636\u0639 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",put_tip:"\u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0625\u0644\u0649 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",set:"\u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",set_tip:"\u0627\u0633\u062A\u0628\u062F\u0627\u0644 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0641\u064A \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629"},title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",toggle_drawer:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u062F\u0631\u062C",votes_count_n:"{{count}} \u0623\u0635\u0648\u0627\u062A"},version:{bitmagnet_version:"\u0625\u0635\u062F\u0627\u0631 bitmagnet {{version}}",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641"}};var Je={content_types:{plural:{all:"Alle",audiobook:"H\xF6rb\xFCcher",comic:"Comics",ebook:"E-B\xFCcher",movie:"Filme",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Shows",xxx:"XXX"},singular:{audiobook:"H\xF6rbuch",comic:"Comic",ebook:"E-Buch",movie:"Film",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Show",xxx:"XXX"}},dashboard:{event:{created:"Erstellt",failed:"Fehlgeschlagen",processed:"Verarbeitet",updated:"Aktualisiert"},interval:{all:"Alle",days:"Tage",days_1:"1 Tag",hours:"Stunden",hours_1:"1 Stunde",hours_12:"12 Stunden",hours_6:"6 Stunden",minutes:"Minuten",minutes_1:"1 Minute",minutes_15:"15 Minuten",minutes_30:"30 Minuten",minutes_5:"5 Minuten",off:"Aus",seconds_10:"10 Sekunden",seconds_30:"30 Sekunden",weeks_1:"1 Woche"},metrics:{event:"Ereignis",resolution:"Aufl\xF6sung",throughput:"Durchsatz",timeframe:"Zeitrahmen"},queues:{created:"Erstellt",created_at:"Erstellt am",enqueue_jobs:"Jobs einreihen",enqueue_torrent_processing_batch:"Torrent-Verarbeitungsbatch einreihen",failed:"Fehlgeschlagen",force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",jobs_enqueued:"Jobs eingereiht",latency:"Latenz",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",payload:"Nutzlast",pending:"Ausstehend",priority:"Priorit\xE4t",process_orphaned_torrents_only:"Nur verwaiste Torrents verarbeiten",processed:"Verarbeitet",purge_jobs:"Jobs bereinigen",purge_queue_jobs:"Warteschlangen-Jobs bereinigen",queue:"Warteschlange",queue_purged:"Warteschlange bereinigt",queues:"Warteschlangen",ran_at:"Ausgef\xFChrt am",retry:"Erneut versuchen",total_counts_by_status:"Gesamtanzahl nach Status"}},facets:{content_type:"Inhaltstyp",file_type:"Dateityp",genre:"Genre",language:"Sprache",queue:"Warteschlange",status:"Status",torrent_source:"Torrent-Quelle",torrent_tag:"Torrent-Tag",video_resolution:"Videoaufl\xF6sung",video_source:"Videoquelle"},file_types:{archive:"Archiv",audio:"Audio",data:"Daten",document:"Dokument",image:"Bild",software:"Software",subtitles:"Untertitel",unknown:"Unbekannt",video:"Video"},general:{all:"Alle",dismiss:"Verwerfen",error:"Fehler",none:"Keine",page_not_found:"Seite nicht gefunden",refresh:"Aktualisieren",status:"Status"},health:{bitmagnet_is_status:"bitmagnet ist {{status}}",check_failed_with_error:"\xDCberpr\xFCfung mit Fehler fehlgeschlagen",component:"Komponente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Verwerfen",error:"Fehler",status:"Status",statuses:{degraded:"Verschlechtert",down:"Aus",error:"Fehler",inactive:"Inaktiv",started:"Gestartet",unknown:"Ausstehend",up:"An"},summary:"Gesundheits\xFCbersicht",worker:"Arbeiter",workers:{dht_crawler:"DHT-Crawler",http_server:"HTTP-Server",queue_server:"Warteschlangen-Server"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Aserbaidschanisch",be:"Wei\xDFrussisch",bg:"Bulgarisch",bs:"Bosnisch",ca:"Katalanisch",ce:"Tschetschenisch",co:"Korsisch",cs:"Tschechisch",cy:"Walisisch",da:"D\xE4nisch",de:"Deutsch",el:"Griechisch",en:"Englisch",es:"Spanisch",et:"Estnisch",eu:"Baskisch",fa:"Persisch",fi:"Finnisch",fr:"Franz\xF6sisch",he:"Hebr\xE4isch",hi:"Hindi",hr:"Kroatisch",hu:"Ungarisch",hy:"Armenisch",id:"Indonesisch",is:"Isl\xE4ndisch",it:"Italienisch",ja:"Japanisch",ka:"Georgisch",ko:"Koreanisch",ku:"Kurdisch",lt:"Litauisch",lv:"Lettisch",mi:"Maori",mk:"Mazedonisch",ml:"Malayalam",mn:"Mongolisch",ms:"Malaiisch",mt:"Maltesisch",nl:"Niederl\xE4ndisch",no:"Norwegisch",pl:"Polnisch",pt:"Portugiesisch",ro:"Rum\xE4nisch",ru:"Russisch",sa:"Sanskrit",sk:"Slowakisch",sl:"Slowenisch",sm:"Samoanisch",so:"Somalisch",sr:"Serbisch",sv:"Schwedisch",ta:"Tamil",th:"Thai",tr:"T\xFCrkisch",uk:"Ukrainisch",vi:"Vietnamesisch",yi:"Jiddisch",zh:"Chinesisch",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet auf {{service}}",change_theme:"Thema \xE4ndern",external_links:"Externe Links",sponsor:"Sponsor",support_bitmagnet:"bitmagnet unterst\xFCtzen",translate:"\xDCbersetzen"},paginator:{first_page:"Erste Seite",items_per_page:"Artikel pro Seite",last_page:"Letzte Seite",next_page:"N\xE4chste Seite",previous_page:"Vorherige Seite",x_to_y:"{{x}} bis {{y}}",x_to_y_of_y:"__fehlend__",x_to_y_of_z:"{{x}} bis {{y}} von {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Startseite",jobs:"Aufgaben",queues:"Warteschlangen",torrents:"Torrents",visualize:"Visualisieren"},torrents:{clear_search:"Suche l\xF6schen",copy:"Kopieren",copy_to_clipboard:"In die Zwischenablage kopieren",delete:"L\xF6schen",delete_action_cannot_be_undone:"Diese Aktion kann nicht r\xFCckg\xE4ngig gemacht werden",delete_are_you_sure:"Sind Sie sicher, dass Sie diesen Torrent l\xF6schen m\xF6chten?",deselect_all:"Alle abw\xE4hlen",download:"Herunterladen",download_confirm:"M\xF6chten Sie die ausgew\xE4hlten Torrents wirklich herunterladen?",edit_tags:"Tags bearbeiten",episodes:"Episoden",external_links:"Externe Links",file_index:"Dateiindex",file_path:"Dateipfad",file_size:"Dateigr\xF6\xDFe",file_type:"Dateityp",files:"Dateien",files_count_n:"{{count}} Dateien",files_no_info:"Keine Dateiinformationen verf\xFCgbar",files_single:"Einzelne Datei",genres:"Genres",info_hash:"Info-Hash",info_hashes:"Info-Hashes",languages:"Sprachen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-Links",new_tag:"Neuer Tag",order_by:"Sortieren nach",order_direction_toggle:"Richtung umschalten",ordering:{files_count:"Dateienanzahl",info_hash:"Info-Hash",leechers:"Leechers",name:"Name",published_at:"Ver\xF6ffentlicht am",relevance:"Relevanz",seeders:"Seeders",size:"Gr\xF6\xDFe",updated_at:"Aktualisiert am"},original_release_date:"Originales Ver\xF6ffentlichungsdatum",permalink:"Permalink",poster:"Poster",published:"Ver\xF6ffentlicht",rating:"Bewertung",refresh:"Ergebnisse aktualisieren",s_l:"S / L",search:"Suche",seeders:"Seeders",select_all:"Alle ausw\xE4hlen",showing_x_of_y_files:"{{x}} von {{y}} Dateien anzeigen",size:"Gr\xF6\xDFe",source:"Torrent-Quelle",summary:"Zusammenfassung",tags:{delete:"Tags l\xF6schen",delete_tip:"Tags aus den ausgew\xE4hlten Torrents entfernen",placeholder:"Tag...",put:"Tags setzen",put_tip:"Tags zu den ausgew\xE4hlten Torrents hinzuf\xFCgen",set:"Tags setzen",set_tip:"Tags der ausgew\xE4hlten Torrents ersetzen"},title:"Titel",toggle_drawer:"Schublade umschalten",votes_count_n:"{{count}} Stimmen"},version:{bitmagnet_version:"bitmagnet Version {{version}}",unknown:"unbekannt"}};var Ze={content_types:{plural:{all:"All",audiobook:"Audiobooks",comic:"Comics",ebook:"E-Books",movie:"Movies",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Shows",xxx:"XXX"},singular:{audiobook:"Audiobook",comic:"Comic",ebook:"E-Book",movie:"Movie",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Show",xxx:"XXX"}},dashboard:{event:{created:"Created",failed:"Failed",processed:"Processed",updated:"Updated"},interval:{all:"All",days:"Days",days_1:"1 day",hours:"Hours",hours_1:"1 hour",hours_12:"12 hours",hours_6:"6 hours",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"Off",seconds_10:"10 seconds",seconds_30:"30 seconds",weeks_1:"1 week"},metrics:{event:"Event",resolution:"Resolution",throughput:"Throughput",timeframe:"Timeframe"},queues:{created:"Created",created_at:"Created at",enqueue_jobs:"Enqueue jobs",enqueue_torrent_processing_batch:"Enqueue Torrent Processing Batch",failed:"Failed",force_rematch:"Force rematch of already matched content",jobs_enqueued:"Jobs enqueued",latency:"Latency",match_content_by_external_api_search:"Match content by external API search",match_content_by_local_search:"Match content by local search",payload:"Payload",pending:"Pending",priority:"Priority",process_orphaned_torrents_only:"Process orphaned torrents only",processed:"Processed",purge_jobs:"Purge jobs",purge_queue_jobs:"Purge queue jobs",queue:"Queue",queue_purged:"Queue purged",queues:"Queues",ran_at:"Ran at",retry:"Retry",total_counts_by_status:"Total counts by status"}},facets:{content_type:"Content Type",file_type:"File Type",genre:"Genre",language:"Language",queue:"Queue",status:"Status",torrent_source:"Torrent Source",torrent_tag:"Torrent Tag",video_resolution:"Video Resolution",video_source:"Video Source"},file_types:{archive:"Archive",audio:"Audio",data:"Data",document:"Document",image:"Image",software:"Software",subtitles:"Subtitles",unknown:"Unknown",video:"Video"},general:{all:"All",dismiss:"Dismiss",error:"Error",none:"None",page_not_found:"Page not found",refresh:"Refresh",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Check failed with error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Dismiss",error:"Error",status:"Status",statuses:{degraded:"Degraded",down:"Down",error:"Error",inactive:"Inactive",started:"Started",unknown:"Pending",up:"Up"},summary:"Health summary",worker:"Worker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Queue server"}},languages:{af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bs:"Bosnian",ca:"Catalan",ce:"Chechen",co:"Corsican",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",hy:"Armenian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",ms:"Malay",mt:"Maltese",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sa:"Sanskrit",sk:"Slovak",sl:"Slovenian",sm:"Samoan",so:"Somali",sr:"Serbian",sv:"Swedish",ta:"Tamil",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",yi:"Yiddish",zh:"Chinese",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet on {{service}}",change_theme:"Change theme",external_links:"External links",sponsor:"Sponsor",support_bitmagnet:"Support bitmagnet",translate:"Translate"},paginator:{first_page:"First page",items_per_page:"Items per page",last_page:"Last page",next_page:"Next page",previous_page:"Previous page",x_to_y:"{{x}} to {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} to {{y}} of {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Home",jobs:"Jobs",queues:"Queues",torrents:"Torrents",visualize:"Visualize"},torrents:{clear_search:"Clear Search",copy:"Copy",copy_to_clipboard:"Copy to clipboard",delete:"Delete",delete_action_cannot_be_undone:"This action cannot be undone",delete_are_you_sure:"Are you sure you want to delete this torrent?",deselect_all:"Deselect All",download:"Download",download_confirm:"Are you sure you want to download the selected torrents?",edit_tags:"Edit tags",episodes:"Episodes",external_links:"External links",file_index:"File index",file_path:"File path",file_size:"File size",file_type:"File type",files:"Files",files_count_n:"{{count}} files",files_no_info:"No files information available",files_single:"Single file",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Languages",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet links",new_tag:"New tag",order_by:"Order by",order_direction_toggle:"Toggle direction",ordering:{files_count:"Files count",info_hash:"Info hash",leechers:"Leechers",name:"Name",published_at:"Published at",relevance:"Relevance",seeders:"Seeders",size:"Size",updated_at:"Updated at"},original_release_date:"Original release date",permalink:"Permalink",poster:"Poster",published:"Published",rating:"Rating",refresh:"Refresh results",s_l:"S / L",search:"Search",seeders:"Seeders",select_all:"Select All",showing_x_of_y_files:"Showing {{x}} of {{y}} files",size:"Size",source:"Torrent Source",summary:"Summary",tags:{delete:"Delete tags",delete_tip:"Remove tags from the selected torrents",placeholder:"Tag...",put:"Put tags",put_tip:"Add tags to the selected torrents",set:"Set tags",set_tip:"Replace tags of the selected torrents"},title:"Title",toggle_drawer:"Toggle Drawer",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"bitmagnet version {{version}}",unknown:"unknown"}};var $e={content_types:{plural:{all:"Todos",audiobook:"Audiolibros",comic:"C\xF3mics",ebook:"E-Libros",movie:"Pel\xEDculas",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolibro",comic:"C\xF3mic",ebook:"E-Libro",movie:"Pel\xEDcula",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Creado",failed:"Fallido",processed:"Procesado",updated:"Actualizado"},interval:{all:"Todos",days:"D\xEDas",days_1:"1 d\xEDa",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Apagado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resoluci\xF3n",throughput:"Rendimiento",timeframe:"Periodo de tiempo"},queues:{created:"Creado",created_at:"Creado en",enqueue_jobs:"Encolar trabajos",enqueue_torrent_processing_batch:"Encolar lote de procesamiento de torrents",failed:"Fallido",force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",jobs_enqueued:"Trabajos encolados",latency:"Latencia",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",payload:"Carga \xFAtil",pending:"Pendiente",priority:"Prioridad",process_orphaned_torrents_only:"Procesar solo torrents hu\xE9rfanos",processed:"Procesado",purge_jobs:"Purgar trabajos",purge_queue_jobs:"Purgar trabajos de la cola",queue:"Cola",queue_purged:"Cola purgada",queues:"Colas",ran_at:"Ejecutado en",retry:"Reintentar",total_counts_by_status:"Recuento total por estado"}},facets:{content_type:"Tipo de contenido",file_type:"Tipo de archivo",genre:"G\xE9nero",language:"Idioma",queue:"Cola",status:"Estado",torrent_source:"Fuente del torrent",torrent_tag:"Etiqueta del torrent",video_resolution:"Resoluci\xF3n de video",video_source:"Fuente de video"},file_types:{archive:"Archivo",audio:"Audio",data:"Datos",document:"Documento",image:"Imagen",software:"Software",subtitles:"Subt\xEDtulos",unknown:"Desconocido",video:"Video"},general:{all:"Todos",dismiss:"Descartar",error:"Error",none:"Ninguno",page_not_found:"P\xE1gina no encontrada",refresh:"Actualizar",status:"Estado"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"La verificaci\xF3n fall\xF3 con error",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Descartar",error:"Error",status:"Estado",statuses:{degraded:"Degradado",down:"Ca\xEDdo",error:"Error",inactive:"Inactivo",started:"Iniciado",unknown:"Pendiente",up:"Activo"},summary:"Resumen de salud",worker:"Trabajador",workers:{dht_crawler:"Rastreador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de colas"}},languages:{af:"Afrik\xE1ans",ar:"\xC1rabe",az:"Azerbaiyano",be:"Bielorruso",bg:"B\xFAlgaro",bs:"Bosnio",ca:"Catal\xE1n",ce:"Checheno",co:"Corso",cs:"Checo",cy:"Gal\xE9s",da:"Dan\xE9s",de:"Alem\xE1n",el:"Griego",en:"Ingl\xE9s",es:"Espa\xF1ol",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finland\xE9s",fr:"Franc\xE9s",he:"Hebreo",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Armenio",id:"Indonesio",is:"Island\xE9s",it:"Italiano",ja:"Japon\xE9s",ka:"Georgiano",ko:"Coreano",ku:"Kurdo",lt:"Lituano",lv:"Let\xF3n",mi:"Maor\xED",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",ms:"Malayo",mt:"Malt\xE9s",nl:"Neerland\xE9s",no:"Noruego",pl:"Polaco",pt:"Portugu\xE9s",ro:"Rumano",ru:"Ruso",sa:"S\xE1nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somal\xED",sr:"Serbio",sv:"Sueco",ta:"Tamil",th:"Tailand\xE9s",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"Yidis",zh:"Chino",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet en {{service}}",change_theme:"Cambiar tema",external_links:"Enlaces externos",sponsor:"Patrocinador",support_bitmagnet:"Apoyar bitmagnet",translate:"Traducir"},paginator:{first_page:"Primera p\xE1gina",items_per_page:"Elementos por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"P\xE1gina siguiente",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_y:"__faltante__",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Admin",dashboard:"Tablero",home:"Inicio",jobs:"Trabajos",queues:"Colas",torrents:"Torrents",visualize:"Visualizar"},torrents:{clear_search:"Borrar b\xFAsqueda",copy:"Copiar",copy_to_clipboard:"Copiar al portapapeles",delete:"Eliminar",delete_action_cannot_be_undone:"Esta acci\xF3n no se puede deshacer",delete_are_you_sure:"\xBFEst\xE1 seguro de que desea eliminar este torrent?",deselect_all:"Deseleccionar todo",download:"Descargar",download_confirm:"\xBFEst\xE1s seguro de que deseas descargar los torrents seleccionados?",edit_tags:"Editar etiquetas",episodes:"Episodios",external_links:"Enlaces externos",file_index:"\xCDndice de archivos",file_path:"Ruta del archivo",file_size:"Tama\xF1o del archivo",file_type:"Tipo de archivo",files:"Archivos",files_count_n:"{{count}} archivos",files_no_info:"No hay informaci\xF3n de archivos disponible",files_single:"Archivo \xFAnico",genres:"G\xE9neros",info_hash:"Hash de informaci\xF3n",info_hashes:"Hashes de informaci\xF3n",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Enlaces Magnet",new_tag:"Nueva etiqueta",order_by:"Ordenar por",order_direction_toggle:"Alternar direcci\xF3n",ordering:{files_count:"Recuento de archivos",info_hash:"Hash de informaci\xF3n",leechers:"Leechers",name:"Nombre",published_at:"Publicado en",relevance:"Relevancia",seeders:"Seeders",size:"Tama\xF1o",updated_at:"Actualizado en"},original_release_date:"Fecha de lanzamiento original",permalink:"Enlace permanente",poster:"P\xF3ster",published:"Publicado",rating:"Calificaci\xF3n",refresh:"Actualizar resultados",s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Seleccionar todo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} archivos",size:"Tama\xF1o",source:"Fuente del torrent",summary:"Resumen",tags:{delete:"Eliminar etiquetas",delete_tip:"Eliminar etiquetas de los torrents seleccionados",placeholder:"Etiqueta...",put:"Poner etiquetas",put_tip:"A\xF1adir etiquetas a los torrents seleccionados",set:"Establecer etiquetas",set_tip:"Reemplazar etiquetas de los torrents seleccionados"},title:"T\xEDtulo",toggle_drawer:"Alternar caj\xF3n",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"versi\xF3n de bitmagnet {{version}}",unknown:"desconocido"}};var et={content_types:{plural:{all:"Tous",audiobook:"Livres audio",comic:"Bandes dessin\xE9es",ebook:"E-livres",movie:"Films",music:"Musique",null:"Inconnu",software:"Logiciels",tv_show:"S\xE9ries TV",xxx:"XXX"},singular:{audiobook:"Livre audio",comic:"Bande dessin\xE9e",ebook:"E-livre",movie:"Film",music:"Musique",null:"Inconnu",software:"Logiciel",tv_show:"S\xE9rie TV",xxx:"XXX"}},dashboard:{event:{created:"Cr\xE9\xE9",failed:"\xC9chou\xE9",processed:"Trait\xE9",updated:"Mis \xE0 jour"},interval:{all:"Tous",days:"Jours",days_1:"1 jour",hours:"Heures",hours_1:"1 heure",hours_12:"12 heures",hours_6:"6 heures",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"D\xE9sactiv\xE9",seconds_10:"10 secondes",seconds_30:"30 secondes",weeks_1:"1 semaine"},metrics:{event:"\xC9v\xE9nement",resolution:"R\xE9solution",throughput:"D\xE9bit",timeframe:"P\xE9riode"},queues:{created:"Cr\xE9\xE9",created_at:"Cr\xE9\xE9 \xE0",enqueue_jobs:"Enfilez les t\xE2ches",enqueue_torrent_processing_batch:"Enfilez le traitement des torrents",failed:"\xC9chou\xE9",force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",jobs_enqueued:"T\xE2ches enfil\xE9es",latency:"Latence",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",payload:"Charge utile",pending:"En attente",priority:"Priorit\xE9",process_orphaned_torrents_only:"Traiter uniquement les torrents orphelins",processed:"Trait\xE9",purge_jobs:"Purger les t\xE2ches",purge_queue_jobs:"Purger les t\xE2ches de la file d'attente",queue:"File d'attente",queue_purged:"File d'attente purg\xE9e",queues:"Files d'attente",ran_at:"Ex\xE9cut\xE9 \xE0",retry:"R\xE9essayer",total_counts_by_status:"Totaux par statut"}},facets:{content_type:"Type de contenu",file_type:"Type de fichier",genre:"Genre",language:"Langue",queue:"File d'attente",status:"Statut",torrent_source:"Source du torrent",torrent_tag:"Tag du torrent",video_resolution:"R\xE9solution vid\xE9o",video_source:"Source vid\xE9o"},file_types:{archive:"Archive",audio:"Audio",data:"Donn\xE9es",document:"Document",image:"Image",software:"Logiciel",subtitles:"Sous-titres",unknown:"Inconnu",video:"Vid\xE9o"},general:{all:"Tous",dismiss:"Rejeter",error:"Erreur",none:"Aucun",page_not_found:"Page non trouv\xE9e",refresh:"Rafra\xEEchir",status:"Statut"},health:{bitmagnet_is_status:"bitmagnet est {{status}}",check_failed_with_error:"V\xE9rification \xE9chou\xE9e avec erreur",component:"Composant",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Rejeter",error:"Erreur",status:"Statut",statuses:{degraded:"D\xE9grad\xE9",down:"Hors ligne",error:"Erreur",inactive:"Inactif",started:"D\xE9marr\xE9",unknown:"En attente",up:"En ligne"},summary:"R\xE9sum\xE9 de la sant\xE9",worker:"Travailleur",workers:{dht_crawler:"Explorateur DHT",http_server:"Serveur HTTP",queue_server:"Serveur de file d'attente"}},languages:{af:"Afrikaans",ar:"Arabe",az:"Azerba\xEFdjanais",be:"Bi\xE9lorusse",bg:"Bulgare",bs:"Bosniaque",ca:"Catalan",ce:"Tch\xE9tch\xE8ne",co:"Corse",cs:"Tch\xE8que",cy:"Gallois",da:"Danois",de:"Allemand",el:"Grec",en:"Anglais",es:"Espagnol",et:"Estonien",eu:"Basque",fa:"Persan",fi:"Finnois",fr:"Fran\xE7ais",he:"H\xE9breu",hi:"Hindi",hr:"Croate",hu:"Hongrois",hy:"Arm\xE9nien",id:"Indon\xE9sien",is:"Islandais",it:"Italien",ja:"Japonais",ka:"G\xE9orgien",ko:"Cor\xE9en",ku:"Kurde",lt:"Lituanien",lv:"Letton",mi:"Maori",mk:"Mac\xE9donien",ml:"Malayalam",mn:"Mongol",ms:"Malais",mt:"Maltais",nl:"N\xE9erlandais",no:"Norv\xE9gien",pl:"Polonais",pt:"Portugais",ro:"Roumain",ru:"Russe",sa:"Sanskrit",sk:"Slovaque",sl:"Slov\xE8ne",sm:"Samoan",so:"Somali",sr:"Serbe",sv:"Su\xE9dois",ta:"Tamoul",th:"Tha\xEF",tr:"Turc",uk:"Ukrainien",vi:"Vietnamien",yi:"Yiddish",zh:"Chinois",zu:"Zoulou"},layout:{bitmagnet_on_service:"bitmagnet sur {{service}}",change_theme:"Changer de th\xE8me",external_links:"Liens externes",sponsor:"Sponsor",support_bitmagnet:"Soutenir bitmagnet",translate:"Traduire"},paginator:{first_page:"Premi\xE8re page",items_per_page:"Articles par page",last_page:"Derni\xE8re page",next_page:"Page suivante",previous_page:"Page pr\xE9c\xE9dente",x_to_y:"{{x}} \xE0 {{y}}",x_to_y_of_y:"__manquant__",x_to_y_of_z:"{{x}} \xE0 {{y}} de {{z}}"},routes:{admin:"Admin",dashboard:"Tableau de bord",home:"Accueil",jobs:"T\xE2ches",queues:"Files d'attente",torrents:"Torrents",visualize:"Visualiser"},torrents:{clear_search:"Effacer la recherche",copy:"Copier",copy_to_clipboard:"Copier dans le presse-papiers",delete:"Supprimer",delete_action_cannot_be_undone:"Cette action ne peut pas \xEAtre annul\xE9e",delete_are_you_sure:"\xCAtes-vous s\xFBr de vouloir supprimer ce torrent?",deselect_all:"Tout d\xE9s\xE9lectionner",download:"T\xE9l\xE9charger",download_confirm:"\xCAtes-vous s\xFBr de vouloir t\xE9l\xE9charger les torrents s\xE9lectionn\xE9s ?",edit_tags:"Modifier les tags",episodes:"\xC9pisodes",external_links:"Liens externes",file_index:"Index de fichier",file_path:"Chemin de fichier",file_size:"Taille de fichier",file_type:"Type de fichier",files:"Fichiers",files_count_n:"{{count}} fichiers",files_no_info:"Aucune information sur les fichiers disponible",files_single:"Fichier unique",genres:"Genres",info_hash:"Hash d'info",info_hashes:"Hashes d'info",languages:"Langues",leechers:"Leechers",magnet:"Magnet",magnet_links:"Liens Magnet",new_tag:"Nouveau tag",order_by:"Trier par",order_direction_toggle:"Basculer la direction",ordering:{files_count:"Nombre de fichiers",info_hash:"Hash d'info",leechers:"Leechers",name:"Nom",published_at:"Publi\xE9 \xE0",relevance:"Pertinence",seeders:"Seeders",size:"Taille",updated_at:"Mis \xE0 jour \xE0"},original_release_date:"Date de sortie originale",permalink:"Permalien",poster:"Affiche",published:"Publi\xE9",rating:"\xC9valuation",refresh:"Rafra\xEEchir les r\xE9sultats",s_l:"S / L",search:"Rechercher",seeders:"Seeders",select_all:"Tout s\xE9lectionner",showing_x_of_y_files:"Affichage de {{x}} sur {{y}} fichiers",size:"Taille",source:"Source du torrent",summary:"R\xE9sum\xE9",tags:{delete:"Supprimer les tags",delete_tip:"Supprimer les tags des torrents s\xE9lectionn\xE9s",placeholder:"Tag...",put:"Mettre des tags",put_tip:"Ajouter des tags aux torrents s\xE9lectionn\xE9s",set:"D\xE9finir des tags",set_tip:"Remplacer les tags des torrents s\xE9lectionn\xE9s"},title:"Titre",toggle_drawer:"Basculer le tiroir",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"version bitmagnet {{version}}",unknown:"inconnu"}};var tt={content_types:{plural:{all:"\u0938\u092D\u0940",audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915\u094D\u0938",comic:"\u0915\u0949\u092E\u093F\u0915\u094D\u0938",ebook:"\u0908-\u092C\u0941\u0915\u094D\u0938",movie:"\u092B\u093C\u093F\u0932\u094D\u092E\u0947\u0902",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"},singular:{audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915",comic:"\u0915\u0949\u092E\u093F\u0915",ebook:"\u0908-\u092C\u0941\u0915",movie:"\u092B\u093C\u093F\u0932\u094D\u092E",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"}},dashboard:{event:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",failed:"\u0905\u0938\u092B\u0932",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",updated:"\u0905\u092A\u0921\u0947\u091F \u0915\u093F\u092F\u093E \u0917\u092F\u093E"},interval:{all:"\u0938\u092D\u0940",days:"\u0926\u093F\u0928",days_1:"1 \u0926\u093F\u0928",hours:"\u0918\u0902\u091F\u0947",hours_1:"1 \u0918\u0902\u091F\u093E",hours_12:"12 \u0918\u0902\u091F\u0947",hours_6:"6 \u0918\u0902\u091F\u0947",minutes:"\u092E\u093F\u0928\u091F",minutes_1:"1 \u092E\u093F\u0928\u091F",minutes_15:"15 \u092E\u093F\u0928\u091F",minutes_30:"30 \u092E\u093F\u0928\u091F",minutes_5:"5 \u092E\u093F\u0928\u091F",off:"\u092C\u0902\u0926",seconds_10:"10 \u0938\u0947\u0915\u0902\u0921",seconds_30:"30 \u0938\u0947\u0915\u0902\u0921",weeks_1:"1 \u0938\u092A\u094D\u0924\u093E\u0939"},metrics:{event:"\u0918\u091F\u0928\u093E",resolution:"\u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",throughput:"\u0925\u094D\u0930\u0942\u092A\u0941\u091F",timeframe:"\u0938\u092E\u092F \u0938\u0940\u092E\u093E"},queues:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",created_at:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",enqueue_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",enqueue_torrent_processing_batch:"\u091F\u094B\u0930\u0947\u0902\u091F \u092A\u094D\u0930\u094B\u0938\u0947\u0938\u093F\u0902\u0917 \u092C\u0948\u091A \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",failed:"\u0905\u0938\u092B\u0932",force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",jobs_enqueued:"\u091C\u0949\u092C\u094D\u0938 \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u0908 \u0917\u0908\u0902",latency:"\u0932\u0947\u091F\u0947\u0902\u0938\u0940",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",payload:"\u092A\u0947\u0932\u094B\u0921",pending:"\u092C\u0915\u093E\u092F\u093E",priority:"\u092A\u094D\u0930\u093E\u0925\u092E\u093F\u0915\u0924\u093E",process_orphaned_torrents_only:"\u0915\u0947\u0935\u0932 \u0905\u0928\u093E\u0925 \u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938 \u0915\u094B \u092A\u094D\u0930\u094B\u0938\u0947\u0938 \u0915\u0930\u0947\u0902",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",purge_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",purge_queue_jobs:"\u0915\u0924\u093E\u0930 \u0915\u0947 \u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",queue:"\u0915\u0924\u093E\u0930",queue_purged:"\u0915\u0924\u093E\u0930 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u093F\u092F\u093E \u0917\u092F\u093E",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",ran_at:"\u091A\u0932\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",retry:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",total_counts_by_status:"\u0938\u094D\u0925\u093F\u0924\u093F \u0926\u094D\u0935\u093E\u0930\u093E \u0915\u0941\u0932 \u0917\u0923\u0928\u093E"}},facets:{content_type:"\u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u092A\u094D\u0930\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",genre:"\u0936\u0948\u0932\u0940",language:"\u092D\u093E\u0937\u093E",queue:"\u0915\u0924\u093E\u0930",status:"\u0938\u094D\u0925\u093F\u0924\u093F",torrent_source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",torrent_tag:"\u091F\u094B\u0930\u0947\u0902\u091F \u091F\u0948\u0917",video_resolution:"\u0935\u0940\u0921\u093F\u092F\u094B \u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",video_source:"\u0935\u0940\u0921\u093F\u092F\u094B \u0938\u094D\u0930\u094B\u0924"},file_types:{archive:"\u0906\u0930\u094D\u0915\u093E\u0907\u0935",audio:"\u0911\u0921\u093F\u092F\u094B",data:"\u0921\u0947\u091F\u093E",document:"\u0926\u0938\u094D\u0924\u093E\u0935\u0947\u091C\u093C",image:"\u091B\u0935\u093F",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",subtitles:"\u0909\u092A\u0936\u0940\u0930\u094D\u0937\u0915",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924",video:"\u0935\u0940\u0921\u093F\u092F\u094B"},general:{all:"\u0938\u092D\u0940",dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",none:"\u0915\u094B\u0908 \u0928\u0939\u0940\u0902",page_not_found:"\u092A\u0943\u0937\u094D\u0920 \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E",refresh:"\u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",status:"\u0938\u094D\u0925\u093F\u0924\u093F"},health:{bitmagnet_is_status:"bitmagnet {{status}} \u0939\u0948",check_failed_with_error:"\u0924\u094D\u0930\u0941\u091F\u093F \u0915\u0947 \u0938\u093E\u0925 \u091C\u093E\u0902\u091A \u0935\u093F\u092B\u0932",component:"\u0918\u091F\u0915",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",status:"\u0938\u094D\u0925\u093F\u0924\u093F",statuses:{degraded:"\u0915\u094D\u0937\u0940\u0923",down:"\u092C\u0902\u0926",error:"\u0924\u094D\u0930\u0941\u091F\u093F",inactive:"\u0928\u093F\u0937\u094D\u0915\u094D\u0930\u093F\u092F",started:"\u0936\u0941\u0930\u0942 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",unknown:"\u0932\u0902\u092C\u093F\u0924",up:"\u091A\u093E\u0932\u0942"},summary:"\u0938\u094D\u0935\u093E\u0938\u094D\u0925\u094D\u092F \u0938\u093E\u0930\u093E\u0902\u0936",worker:"\u0915\u093E\u0930\u094D\u092F\u0915\u0930\u094D\u0924\u093E",workers:{dht_crawler:"DHT \u0915\u094D\u0930\u0949\u0932\u0930",http_server:"HTTP \u0938\u0930\u094D\u0935\u0930",queue_server:"\u0915\u0924\u093E\u0930 \u0938\u0930\u094D\u0935\u0930"}},languages:{af:"\u0905\u092B\u094D\u0930\u0940\u0915\u0940",ar:"\u0905\u0930\u092C\u0940",az:"\u0905\u091C\u093C\u0947\u0930\u0940",be:"\u092C\u0947\u0932\u093E\u0930\u0942\u0938\u0940",bg:"\u092C\u0941\u0932\u094D\u0917\u093E\u0930\u093F\u092F\u093E\u0908",bs:"\u092C\u094B\u0938\u094D\u0928\u093F\u092F\u093E\u0908",ca:"\u0915\u0948\u091F\u0932\u0928",ce:"\u091A\u0947\u091A\u0947\u0928",co:"\u0915\u094B\u0930\u094D\u0938\u093F\u0915\u0928",cs:"\u091A\u0947\u0915",cy:"\u0935\u0947\u0932\u094D\u0936",da:"\u0921\u0947\u0928\u093F\u0936",de:"\u091C\u0930\u094D\u092E\u0928",el:"\u0917\u094D\u0930\u0940\u0915",en:"\u0905\u0902\u0917\u094D\u0930\u0947\u091C\u0940",es:"\u0938\u094D\u092A\u0948\u0928\u093F\u0936",et:"\u090F\u0938\u094D\u0924\u094B\u0928\u093F\u092F\u093E\u0908",eu:"\u092C\u093E\u0938\u094D\u0915",fa:"\u092B\u093E\u0930\u0938\u0940",fi:"\u092B\u093C\u093F\u0928\u093F\u0936",fr:"\u092B\u094D\u0930\u0947\u0902\u091A",he:"\u0939\u093F\u092C\u094D\u0930\u0942",hi:"\u0939\u093F\u0902\u0926\u0940",hr:"\u0915\u094D\u0930\u094B\u090F\u0936\u093F\u092F\u093E\u0908",hu:"\u0939\u0902\u0917\u0947\u0930\u093F\u092F\u0928",hy:"\u0906\u0930\u094D\u092E\u0947\u0928\u093F\u092F\u093E\u0908",id:"\u0907\u0902\u0921\u094B\u0928\u0947\u0936\u093F\u092F\u093E\u0908",is:"\u0906\u0907\u0938\u0932\u0948\u0902\u0921\u093F\u0915",it:"\u0907\u0924\u093E\u0932\u0935\u0940",ja:"\u091C\u093E\u092A\u093E\u0928\u0940",ka:"\u091C\u0949\u0930\u094D\u091C\u093F\u092F\u093E\u0908",ko:"\u0915\u094B\u0930\u093F\u092F\u093E\u0908",ku:"\u0915\u0941\u0930\u094D\u0926\u0940",lt:"\u0932\u093F\u0925\u0941\u0906\u0928\u093F\u092F\u093E\u0908",lv:"\u0932\u093E\u0924\u0935\u093F\u092F\u093E\u0908",mi:"\u092E\u093E\u0913\u0930\u0940",mk:"\u092E\u0948\u0938\u093F\u0921\u094B\u0928\u093F\u092F\u093E\u0908",ml:"\u092E\u0932\u092F\u093E\u0932\u092E",mn:"\u092E\u0902\u0917\u094B\u0932\u093F\u092F\u093E\u0908",ms:"\u092E\u0932\u092F",mt:"\u092E\u093E\u0932\u094D\u091F\u0940\u091C\u093C",nl:"\u0921\u091A",no:"\u0928\u0949\u0930\u094D\u0935\u0947\u091C\u093F\u092F\u0928",pl:"\u092A\u094B\u0932\u093F\u0936",pt:"\u092A\u0941\u0930\u094D\u0924\u0917\u093E\u0932\u0940",ro:"\u0930\u094B\u092E\u093E\u0928\u093F\u092F\u093E\u0908",ru:"\u0930\u0942\u0938\u0940",sa:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924",sk:"\u0938\u094D\u0932\u094B\u0935\u093E\u0915",sl:"\u0938\u094D\u0932\u094B\u0935\u0947\u0928\u093F\u092F\u093E\u0908",sm:"\u0938\u093E\u092E\u094B\u0928",so:"\u0938\u094B\u092E\u093E\u0932\u0940",sr:"\u0938\u0930\u094D\u092C\u093F\u092F\u093E\u0908",sv:"\u0938\u094D\u0935\u0940\u0921\u093F\u0936",ta:"\u0924\u092E\u093F\u0932",th:"\u0925\u093E\u0908",tr:"\u0924\u0941\u0930\u094D\u0915\u0940",uk:"\u092F\u0942\u0915\u094D\u0930\u0947\u0928\u0940",vi:"\u0935\u093F\u092F\u0924\u0928\u093E\u092E\u0940",yi:"\u092F\u093F\u0926\u094D\u0926\u093F\u0936",zh:"\u091A\u0940\u0928\u0940",zu:"\u091C\u093C\u0941\u0932\u0941"},layout:{bitmagnet_on_service:"{{service}} \u092A\u0930 bitmagnet",change_theme:"\u0925\u0940\u092E \u092C\u0926\u0932\u0947\u0902",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",sponsor:"\u092A\u094D\u0930\u093E\u092F\u094B\u091C\u0915",support_bitmagnet:"bitmagnet \u0915\u094B \u0938\u092E\u0930\u094D\u0925\u0928 \u0926\u0947\u0902",translate:"\u0905\u0928\u0941\u0935\u093E\u0926 \u0915\u0930\u0947\u0902"},paginator:{first_page:"\u092A\u0939\u0932\u093E \u092A\u0943\u0937\u094D\u0920",items_per_page:"\u092A\u094D\u0930\u0924\u093F \u092A\u0943\u0937\u094D\u0920 \u0906\u0907\u091F\u092E",last_page:"\u0905\u0902\u0924\u093F\u092E \u092A\u0943\u0937\u094D\u0920",next_page:"\u0905\u0917\u0932\u093E \u092A\u0943\u0937\u094D\u0920",previous_page:"\u092A\u093F\u091B\u0932\u093E \u092A\u0943\u0937\u094D\u0920",x_to_y:"{{x}} \u0938\u0947 {{y}} \u0924\u0915",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u0938\u0947 {{y}} \u0924\u0915 {{z}} \u092E\u0947\u0902"},routes:{admin:"\u092A\u094D\u0930\u0936\u093E\u0938\u0915",dashboard:"\u0921\u0948\u0936\u092C\u094B\u0930\u094D\u0921",home:"\u0939\u094B\u092E",jobs:"\u0928\u094C\u0915\u0930\u093F\u092F\u093E\u0902",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",torrents:"\u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938",visualize:"\u0926\u0943\u0936\u094D\u092F \u0915\u0930\u0947\u0902"},torrents:{clear_search:"\u0916\u094B\u091C \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",copy:"\u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",copy_to_clipboard:"\u0915\u094D\u0932\u093F\u092A\u092C\u094B\u0930\u094D\u0921 \u092E\u0947\u0902 \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",delete:"\u0939\u091F\u093E\u090F\u0902",delete_action_cannot_be_undone:"\u092F\u0939 \u0915\u094D\u0930\u093F\u092F\u093E \u092A\u0942\u0930\u094D\u0935\u0935\u0924 \u0928\u0939\u0940\u0902 \u0915\u0940 \u091C\u093E \u0938\u0915\u0924\u0940",delete_are_you_sure:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u0907\u0938 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u094B \u0939\u091F\u093E\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",deselect_all:"\u0938\u092D\u0940 \u0915\u094B \u0905\u091A\u092F\u0928\u093F\u0924 \u0915\u0930\u0947\u0902",download:"\u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0947\u0902",download_confirm:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",edit_tags:"\u091F\u0948\u0917 \u0938\u0902\u092A\u093E\u0926\u093F\u0924 \u0915\u0930\u0947\u0902",episodes:"\u090F\u092A\u093F\u0938\u094B\u0921\u094D\u0938",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",file_index:"\u092B\u093C\u093E\u0907\u0932 \u0938\u0942\u091A\u0915\u093E\u0902\u0915",file_path:"\u092B\u093C\u093E\u0907\u0932 \u092A\u0925",file_size:"\u092B\u093C\u093E\u0907\u0932 \u0906\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",files:"\u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_count_n:"{{count}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_no_info:"\u0915\u094B\u0908 \u092B\u093C\u093E\u0907\u0932 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948",files_single:"\u090F\u0915\u0932 \u092B\u093C\u093E\u0907\u0932",genres:"\u0936\u0948\u0932\u093F\u092F\u093E\u0901",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",info_hashes:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936\u0947\u091C",languages:"\u092D\u093E\u0937\u093E\u090F\u0901",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",magnet:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F",magnet_links:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F \u0932\u093F\u0902\u0915",new_tag:"\u0928\u092F\u093E \u091F\u0948\u0917",order_by:"\u0915\u094D\u0930\u092E\u092C\u0926\u094D\u0927 \u0915\u0930\u0947\u0902",order_direction_toggle:"\u0926\u093F\u0936\u093E \u092C\u0926\u0932\u0947\u0902",ordering:{files_count:"\u092B\u093C\u093E\u0907\u0932\u094B\u0902 \u0915\u0940 \u0938\u0902\u0916\u094D\u092F\u093E",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",name:"\u0928\u093E\u092E",published_at:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924 \u0938\u092E\u092F",relevance:"\u092A\u094D\u0930\u093E\u0938\u0902\u0917\u093F\u0915\u0924\u093E",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",size:"\u0906\u0915\u093E\u0930",updated_at:"\u0905\u092A\u0921\u0947\u091F \u0938\u092E\u092F"},original_release_date:"\u092E\u0942\u0932 \u0930\u093F\u0932\u0940\u091C\u093C \u0924\u093F\u0925\u093F",permalink:"\u0938\u094D\u0925\u093E\u092F\u0940 \u0932\u093F\u0902\u0915",poster:"\u092A\u094B\u0938\u094D\u091F\u0930",published:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924",rating:"\u0930\u0947\u091F\u093F\u0902\u0917",refresh:"\u092A\u0930\u093F\u0923\u093E\u092E \u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",s_l:"S / L",search:"\u0916\u094B\u091C",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",select_all:"\u0938\u092D\u0940 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",showing_x_of_y_files:"{{x}} \u092E\u0947\u0902 \u0938\u0947 {{y}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902 \u0926\u093F\u0916\u093E \u0930\u0939\u093E \u0939\u0948",size:"\u0906\u0915\u093E\u0930",source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",summary:"\u0938\u093E\u0930\u093E\u0902\u0936",tags:{delete:"\u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",delete_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0938\u0947 \u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",placeholder:"\u091F\u0948\u0917...",put:"\u091F\u0948\u0917 \u0921\u093E\u0932\u0947\u0902",put_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u092E\u0947\u0902 \u091F\u0948\u0917 \u091C\u094B\u0921\u093C\u0947\u0902",set:"\u091F\u0948\u0917 \u0938\u0947\u091F \u0915\u0930\u0947\u0902",set_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u0947 \u091F\u0948\u0917 \u092C\u0926\u0932\u0947\u0902"},title:"\u0936\u0940\u0930\u094D\u0937\u0915",toggle_drawer:"\u0921\u094D\u0930\u0949\u0905\u0930 \u092C\u0926\u0932\u0947\u0902",votes_count_n:"{{count}} \u0935\u094B\u091F"},version:{bitmagnet_version:"bitmagnet \u0938\u0902\u0938\u094D\u0915\u0930\u0923 {{version}}",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924"}};var ot={content_types:{plural:{all:"\u3059\u3079\u3066",audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"},singular:{audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"}},dashboard:{event:{created:"\u4F5C\u6210\u6E08\u307F",failed:"\u5931\u6557",processed:"\u51E6\u7406\u6E08\u307F",updated:"\u66F4\u65B0\u6E08\u307F"},interval:{all:"\u3059\u3079\u3066",days:"\u65E5",days_1:"1\u65E5",hours:"\u6642\u9593",hours_1:"1\u6642\u9593",hours_12:"12\u6642\u9593",hours_6:"6\u6642\u9593",minutes:"\u5206",minutes_1:"1\u5206",minutes_15:"15\u5206",minutes_30:"30\u5206",minutes_5:"5\u5206",off:"\u30AA\u30D5",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u9031\u9593"},metrics:{event:"\u30A4\u30D9\u30F3\u30C8",resolution:"\u89E3\u50CF\u5EA6",throughput:"\u30B9\u30EB\u30FC\u30D7\u30C3\u30C8",timeframe:"\u671F\u9593"},queues:{created:"\u4F5C\u6210\u6E08\u307F",created_at:"\u4F5C\u6210\u65E5\u6642",enqueue_jobs:"\u30B8\u30E7\u30D6\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",enqueue_torrent_processing_batch:"\u30C8\u30EC\u30F3\u30C8\u51E6\u7406\u30D0\u30C3\u30C1\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",failed:"\u5931\u6557",force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",jobs_enqueued:"\u30AD\u30E5\u30FC\u306B\u8FFD\u52A0\u3055\u308C\u305F\u30B8\u30E7\u30D6",latency:"\u30EC\u30A4\u30C6\u30F3\u30B7",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",payload:"\u30DA\u30A4\u30ED\u30FC\u30C9",pending:"\u4FDD\u7559\u4E2D",priority:"\u512A\u5148\u9806\u4F4D",process_orphaned_torrents_only:"\u5B64\u7ACB\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u307F\u51E6\u7406\u3059\u308B",processed:"\u51E6\u7406\u6E08\u307F",purge_jobs:"\u30B8\u30E7\u30D6\u3092\u524A\u9664",purge_queue_jobs:"\u30AD\u30E5\u30FC\u5185\u306E\u30B8\u30E7\u30D6\u3092\u524A\u9664",queue:"\u30AD\u30E5\u30FC",queue_purged:"\u30AD\u30E5\u30FC\u304C\u30AF\u30EA\u30A2\u3055\u308C\u307E\u3057\u305F",queues:"\u30AD\u30E5\u30FC",ran_at:"\u5B9F\u884C\u6642\u523B",retry:"\u518D\u8A66\u884C",total_counts_by_status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3054\u3068\u306E\u7DCF\u6570"}},facets:{content_type:"\u30B3\u30F3\u30C6\u30F3\u30C4\u30BF\u30A4\u30D7",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",genre:"\u30B8\u30E3\u30F3\u30EB",language:"\u8A00\u8A9E",queue:"\u30AD\u30E5\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",torrent_source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",torrent_tag:"\u30C8\u30EC\u30F3\u30C8\u30BF\u30B0",video_resolution:"\u30D3\u30C7\u30AA\u89E3\u50CF\u5EA6",video_source:"\u30D3\u30C7\u30AA\u30BD\u30FC\u30B9"},file_types:{archive:"\u30A2\u30FC\u30AB\u30A4\u30D6",audio:"\u30AA\u30FC\u30C7\u30A3\u30AA",data:"\u30C7\u30FC\u30BF",document:"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8",image:"\u753B\u50CF",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",subtitles:"\u5B57\u5E55",unknown:"\u4E0D\u660E",video:"\u30D3\u30C7\u30AA"},general:{all:"\u3059\u3079\u3066",dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",none:"\u306A\u3057",page_not_found:"\u30DA\u30FC\u30B8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",refresh:"\u66F4\u65B0",status:"\u30B9\u30C6\u30FC\u30BF\u30B9"},health:{bitmagnet_is_status:"bitmagnet\u306F{{status}}\u3067\u3059",check_failed_with_error:"\u30A8\u30E9\u30FC\u3067\u30C1\u30A7\u30C3\u30AF\u306B\u5931\u6557\u3057\u307E\u3057\u305F",component:"\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",statuses:{degraded:"\u4F4E\u4E0B",down:"\u505C\u6B62",error:"\u30A8\u30E9\u30FC",inactive:"\u975E\u30A2\u30AF\u30C6\u30A3\u30D6",started:"\u958B\u59CB",unknown:"\u4FDD\u7559\u4E2D",up:"\u7A3C\u50CD\u4E2D"},summary:"\u5065\u5EB7\u72B6\u614B\u306E\u6982\u8981",worker:"\u30EF\u30FC\u30AB\u30FC",workers:{dht_crawler:"DHT\u30AF\u30ED\u30FC\u30E9\u30FC",http_server:"HTTP\u30B5\u30FC\u30D0\u30FC",queue_server:"\u30AD\u30E5\u30FC\u30B5\u30FC\u30D0\u30FC"}},languages:{af:"\u30A2\u30D5\u30EA\u30AB\u30FC\u30F3\u30B9\u8A9E",ar:"\u30A2\u30E9\u30D3\u30A2\u8A9E",az:"\u30A2\u30BC\u30EB\u30D0\u30A4\u30B8\u30E3\u30F3\u8A9E",be:"\u30D9\u30E9\u30EB\u30FC\u30B7\u8A9E",bg:"\u30D6\u30EB\u30AC\u30EA\u30A2\u8A9E",bs:"\u30DC\u30B9\u30CB\u30A2\u8A9E",ca:"\u30AB\u30BF\u30EB\u30FC\u30CB\u30E3\u8A9E",ce:"\u30C1\u30A7\u30C1\u30A7\u30F3\u8A9E",co:"\u30B3\u30EB\u30B7\u30AB\u8A9E",cs:"\u30C1\u30A7\u30B3\u8A9E",cy:"\u30A6\u30A7\u30FC\u30EB\u30BA\u8A9E",da:"\u30C7\u30F3\u30DE\u30FC\u30AF\u8A9E",de:"\u30C9\u30A4\u30C4\u8A9E",el:"\u30AE\u30EA\u30B7\u30E3\u8A9E",en:"\u82F1\u8A9E",es:"\u30B9\u30DA\u30A4\u30F3\u8A9E",et:"\u30A8\u30B9\u30C8\u30CB\u30A2\u8A9E",eu:"\u30D0\u30B9\u30AF\u8A9E",fa:"\u30DA\u30EB\u30B7\u30E3\u8A9E",fi:"\u30D5\u30A3\u30F3\u30E9\u30F3\u30C9\u8A9E",fr:"\u30D5\u30E9\u30F3\u30B9\u8A9E",he:"\u30D8\u30D6\u30E9\u30A4\u8A9E",hi:"\u30D2\u30F3\u30C7\u30A3\u30FC\u8A9E",hr:"\u30AF\u30ED\u30A2\u30C1\u30A2\u8A9E",hu:"\u30CF\u30F3\u30AC\u30EA\u30FC\u8A9E",hy:"\u30A2\u30EB\u30E1\u30CB\u30A2\u8A9E",id:"\u30A4\u30F3\u30C9\u30CD\u30B7\u30A2\u8A9E",is:"\u30A2\u30A4\u30B9\u30E9\u30F3\u30C9\u8A9E",it:"\u30A4\u30BF\u30EA\u30A2\u8A9E",ja:"\u65E5\u672C\u8A9E",ka:"\u30B0\u30EB\u30B8\u30A2\u8A9E",ko:"\u97D3\u56FD\u8A9E",ku:"\u30AF\u30EB\u30C9\u8A9E",lt:"\u30EA\u30C8\u30A2\u30CB\u30A2\u8A9E",lv:"\u30E9\u30C8\u30D3\u30A2\u8A9E",mi:"\u30DE\u30AA\u30EA\u8A9E",mk:"\u30DE\u30B1\u30C9\u30CB\u30A2\u8A9E",ml:"\u30DE\u30E9\u30E4\u30FC\u30E9\u30E0\u8A9E",mn:"\u30E2\u30F3\u30B4\u30EB\u8A9E",ms:"\u30DE\u30EC\u30FC\u8A9E",mt:"\u30DE\u30EB\u30BF\u8A9E",nl:"\u30AA\u30E9\u30F3\u30C0\u8A9E",no:"\u30CE\u30EB\u30A6\u30A7\u30FC\u8A9E",pl:"\u30DD\u30FC\u30E9\u30F3\u30C9\u8A9E",pt:"\u30DD\u30EB\u30C8\u30AC\u30EB\u8A9E",ro:"\u30EB\u30FC\u30DE\u30CB\u30A2\u8A9E",ru:"\u30ED\u30B7\u30A2\u8A9E",sa:"\u30B5\u30F3\u30B9\u30AF\u30EA\u30C3\u30C8",sk:"\u30B9\u30ED\u30D0\u30AD\u30A2\u8A9E",sl:"\u30B9\u30ED\u30D9\u30CB\u30A2\u8A9E",sm:"\u30B5\u30E2\u30A2\u8A9E",so:"\u30BD\u30DE\u30EA\u8A9E",sr:"\u30BB\u30EB\u30D3\u30A2\u8A9E",sv:"\u30B9\u30A6\u30A7\u30FC\u30C7\u30F3\u8A9E",ta:"\u30BF\u30DF\u30EB\u8A9E",th:"\u30BF\u30A4\u8A9E",tr:"\u30C8\u30EB\u30B3\u8A9E",uk:"\u30A6\u30AF\u30E9\u30A4\u30CA\u8A9E",vi:"\u30D9\u30C8\u30CA\u30E0\u8A9E",yi:"\u30A4\u30C7\u30A3\u30C3\u30B7\u30E5\u8A9E",zh:"\u4E2D\u56FD\u8A9E",zu:"\u30BA\u30FC\u30EB\u30FC\u8A9E"},layout:{bitmagnet_on_service:"{{service}}\u306Ebitmagnet",change_theme:"\u30C6\u30FC\u30DE\u3092\u5909\u66F4",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",sponsor:"\u30B9\u30DD\u30F3\u30B5\u30FC",support_bitmagnet:"bitmagnet\u3092\u30B5\u30DD\u30FC\u30C8",translate:"\u7FFB\u8A33\u3059\u308B"},paginator:{first_page:"\u6700\u521D\u306E\u30DA\u30FC\u30B8",items_per_page:"\u30DA\u30FC\u30B8\u3042\u305F\u308A\u306E\u9805\u76EE\u6570",last_page:"\u6700\u5F8C\u306E\u30DA\u30FC\u30B8",next_page:"\u6B21\u306E\u30DA\u30FC\u30B8",previous_page:"\u524D\u306E\u30DA\u30FC\u30B8",x_to_y:"{{x}} \u304B\u3089 {{y}} \u307E\u3067",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u304B\u3089 {{y}} \u307E\u3067\u306E {{z}}"},routes:{admin:"\u7BA1\u7406\u8005",dashboard:"\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",home:"\u30DB\u30FC\u30E0",jobs:"\u30B8\u30E7\u30D6",queues:"\u30AD\u30E5\u30FC",torrents:"\u30C8\u30EC\u30F3\u30C8",visualize:"\u53EF\u8996\u5316"},torrents:{clear_search:"\u691C\u7D22\u3092\u30AF\u30EA\u30A2",copy:"\u30B3\u30D4\u30FC",copy_to_clipboard:"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC",delete:"\u524A\u9664",delete_action_cannot_be_undone:"\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093",delete_are_you_sure:"\u3053\u306E\u30C8\u30EC\u30F3\u30C8\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",deselect_all:"\u3059\u3079\u3066\u306E\u9078\u629E\u3092\u89E3\u9664",download:"\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",download_confirm:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B?",edit_tags:"\u30BF\u30B0\u3092\u7DE8\u96C6",episodes:"\u30A8\u30D4\u30BD\u30FC\u30C9",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",file_index:"\u30D5\u30A1\u30A4\u30EB\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9",file_path:"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9",file_size:"\u30D5\u30A1\u30A4\u30EB\u30B5\u30A4\u30BA",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",files:"\u30D5\u30A1\u30A4\u30EB",files_count_n:"{{count}} \u4EF6\u306E\u30D5\u30A1\u30A4\u30EB",files_no_info:"\u30D5\u30A1\u30A4\u30EB\u60C5\u5831\u306F\u3042\u308A\u307E\u305B\u3093",files_single:"\u5358\u4E00\u30D5\u30A1\u30A4\u30EB",genres:"\u30B8\u30E3\u30F3\u30EB",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",info_hashes:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",languages:"\u8A00\u8A9E",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",magnet:"\u30DE\u30B0\u30CD\u30C3\u30C8",magnet_links:"\u30DE\u30B0\u30CD\u30C3\u30C8\u30EA\u30F3\u30AF",new_tag:"\u65B0\u3057\u3044\u30BF\u30B0",order_by:"\u4E26\u3073\u66FF\u3048",order_direction_toggle:"\u4E26\u3073\u9806\u3092\u5207\u308A\u66FF\u3048",ordering:{files_count:"\u30D5\u30A1\u30A4\u30EB\u6570",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",name:"\u540D\u524D",published_at:"\u516C\u958B\u65E5\u6642",relevance:"\u95A2\u9023\u6027",seeders:"\u30B7\u30FC\u30C0\u30FC",size:"\u30B5\u30A4\u30BA",updated_at:"\u66F4\u65B0\u65E5\u6642"},original_release_date:"\u30AA\u30EA\u30B8\u30CA\u30EB\u306E\u767A\u58F2\u65E5",permalink:"\u30D1\u30FC\u30DE\u30EA\u30F3\u30AF",poster:"\u30DD\u30B9\u30BF\u30FC",published:"\u516C\u958B\u6E08\u307F",rating:"\u8A55\u4FA1",refresh:"\u7D50\u679C\u3092\u66F4\u65B0",s_l:"S / L",search:"\u691C\u7D22",seeders:"\u30B7\u30FC\u30C0\u30FC",select_all:"\u3059\u3079\u3066\u9078\u629E",showing_x_of_y_files:"{{x}} \u4EF6\u4E2D {{y}} \u4EF6\u8868\u793A",size:"\u30B5\u30A4\u30BA",source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",summary:"\u6982\u8981",tags:{delete:"\u30BF\u30B0\u3092\u524A\u9664",delete_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u304B\u3089\u30BF\u30B0\u3092\u524A\u9664",placeholder:"\u30BF\u30B0...",put:"\u30BF\u30B0\u3092\u4ED8\u3051\u308B",put_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306B\u30BF\u30B0\u3092\u8FFD\u52A0\u3059\u308B",set:"\u30BF\u30B0\u3092\u8A2D\u5B9A\u3059\u308B",set_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u30BF\u30B0\u3092\u7F6E\u304D\u63DB\u3048\u308B"},title:"\u30BF\u30A4\u30C8\u30EB",toggle_drawer:"\u5F15\u304D\u51FA\u3057\u3092\u5207\u308A\u66FF\u3048",votes_count_n:"{{count}} \u7968"},version:{bitmagnet_version:"bitmagnet\u30D0\u30FC\u30B8\u30E7\u30F3 {{version}}",unknown:"\u4E0D\u660E"}};var at={content_types:{plural:{all:"Alle",audiobook:"Audioboeken",comic:"Strips",ebook:"E-Boeken",movie:"Films",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma's",xxx:"XXX"},singular:{audiobook:"Audioboek",comic:"Strip",ebook:"E-Book",movie:"Film",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma",xxx:"XXX"}},dashboard:{event:{created:"Gemaakt",failed:"Mislukt",processed:"Verwerkt",updated:"Bijgewerkt"},interval:{all:"Alle",days:"Dagen",days_1:"1 dag",hours:"Uren",hours_1:"1 uur",hours_12:"12 uur",hours_6:"6 uur",minutes:"Minuten",minutes_1:"1 minuut",minutes_15:"15 minuten",minutes_30:"30 minuten",minutes_5:"5 minuten",off:"Uit",seconds_10:"10 seconden",seconds_30:"30 seconden",weeks_1:"1 week"},metrics:{event:"Gebeurtenis",resolution:"Resolutie",throughput:"Doorvoer",timeframe:"Tijdsperiode"},queues:{created:"Gemaakt",created_at:"Gemaakt op",enqueue_jobs:"Voeg taken toe aan wachtrij",enqueue_torrent_processing_batch:"Torrentverwerkingsbatch toevoegen",failed:"Mislukt",force_rematch:"Forceer nieuwe match van al gematchte inhoud",jobs_enqueued:"Taken in wachtrij gezet",latency:"Latentie",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",payload:"Inhoud",pending:"In afwachting",priority:"Prioriteit",process_orphaned_torrents_only:"Verwerk alleen verweesde torrents",processed:"Verwerkt",purge_jobs:"Wis taken",purge_queue_jobs:"Wis wachtrijtaken",queue:"Wachtrij",queue_purged:"Wachtrij gewist",queues:"Wachtrijen",ran_at:"Uitgevoerd op",retry:"Opnieuw proberen",total_counts_by_status:"Totaal aantal per status"}},facets:{content_type:"Inhoudstype",file_type:"Bestandstype",genre:"Genre",language:"Taal",queue:"Wachtrij",status:"Status",torrent_source:"Torrentbron",torrent_tag:"Torrenttag",video_resolution:"Videoresolutie",video_source:"Videobron"},file_types:{archive:"Archief",audio:"Audio",data:"Data",document:"Document",image:"Afbeelding",software:"Software",subtitles:"Ondertitels",unknown:"Onbekend",video:"Video"},general:{all:"Alle",dismiss:"Sluiten",error:"Fout",none:"Geen",page_not_found:"Pagina niet gevonden",refresh:"Verversen",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Controle mislukt met foutmelding",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Sluiten",error:"Fout",status:"Status",statuses:{degraded:"Verlaagd",down:"Niet beschikbaar",error:"Fout",inactive:"Inactief",started:"Gestart",unknown:"Onbekend",up:"Beschikbaar"},summary:"Gezondheidsrapport",worker:"Werker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Wachtrijserver"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Azerbeidzjaans",be:"Wit-Russisch",bg:"Bulgaars",bs:"Bosnisch",ca:"Catalaans",ce:"Tsjetsjeens",co:"Corsicaans",cs:"Tsjechisch",cy:"Welsh",da:"Deens",de:"Duits",el:"Grieks",en:"Engels",es:"Spaans",et:"Ests",eu:"Baskisch",fa:"Perzisch",fi:"Fins",fr:"Frans",he:"Hebreeuws",hi:"Hindi",hr:"Kroatisch",hu:"Hongaars",hy:"Armeens",id:"Indonesisch",is:"IJslands",it:"Italiaans",ja:"Japans",ka:"Georgisch",ko:"Koreaans",ku:"Koerdisch",lt:"Litouws",lv:"Lets",mi:"Maori",mk:"Macedonisch",ml:"Malayalam",mn:"Mongools",ms:"Maleis",mt:"Maltees",nl:"Nederlands",no:"Noors",pl:"Pools",pt:"Portugees",ro:"Roemeens",ru:"Russisch",sa:"Sanskriet",sk:"Slowaaks",sl:"Sloveens",sm:"Samoaans",so:"Somalisch",sr:"Servisch",sv:"Zweeds",ta:"Tamil",th:"Thais",tr:"Turks",uk:"Oekra\xEFens",vi:"Vietnamees",yi:"Jiddisch",zh:"Chinees",zu:"Zoeloe"},layout:{bitmagnet_on_service:"bitmagnet op {{service}}",change_theme:"Wijzig thema",external_links:"Externe links",sponsor:"Sponsor",support_bitmagnet:"Ondersteun bitmagnet",translate:"Vertalen"},paginator:{first_page:"Eerste pagina",items_per_page:"Items per pagina",last_page:"Laatste pagina",next_page:"Volgende pagina",previous_page:"Vorige pagina",x_to_y:"{{x}} tot {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} tot {{y}} van {{z}}"},routes:{admin:"Beheerder",dashboard:"Dashboard",home:"Home",jobs:"Taken",queues:"Wachtrijen",torrents:"Torrents",visualize:"Visualiseren"},torrents:{clear_search:"Zoekopdracht wissen",copy:"Kopi\xEBren",copy_to_clipboard:"Kopi\xEBren naar klembord",delete:"Verwijderen",delete_action_cannot_be_undone:"Deze actie kan niet ongedaan worden gemaakt",delete_are_you_sure:"Weet u zeker dat u deze torrent wilt verwijderen?",deselect_all:"Deselecteer alles",download:"Downloaden",download_confirm:"Weet u zeker dat u de geselecteerde torrents wilt downloaden?",edit_tags:"Tags bewerken",episodes:"Afleveringen",external_links:"Externe links",file_index:"Bestandsindex",file_path:"Bestandspad",file_size:"Bestandsgrootte",file_type:"Bestandstype",files:"Bestanden",files_count_n:"{{count}} bestanden",files_no_info:"Geen informatie over bestanden beschikbaar",files_single:"Enkel bestand",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Talen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-links",new_tag:"Nieuwe tag",order_by:"Sorteren op",order_direction_toggle:"Richting omkeren",ordering:{files_count:"Aantal bestanden",info_hash:"Info hash",leechers:"Leechers",name:"Naam",published_at:"Gepubliceerd op",relevance:"Relevantie",seeders:"Seeders",size:"Grootte",updated_at:"Bijgewerkt op"},original_release_date:"Oorspronkelijke releasedatum",permalink:"Permalink",poster:"Poster",published:"Gepubliceerd",rating:"Beoordeling",refresh:"Vernieuw resultaten",s_l:"S / L",search:"Zoeken",seeders:"Seeders",select_all:"Alles selecteren",showing_x_of_y_files:"{{x}} van {{y}} bestanden weergegeven",size:"Grootte",source:"Torrentbron",summary:"Samenvatting",tags:{delete:"Tags verwijderen",delete_tip:"Tags verwijderen van de geselecteerde torrents",placeholder:"Tag...",put:"Tags plaatsen",put_tip:"Tags toevoegen aan de geselecteerde torrents",set:"Tags instellen",set_tip:"Tags van de geselecteerde torrents vervangen"},title:"Titel",toggle_drawer:"Zijpaneel in-/uitschakelen",votes_count_n:"{{count}} stemmen"},version:{bitmagnet_version:"bitmagnet versie {{version}}",unknown:"onbekend"}};var rt={content_types:{plural:{all:"Todos",audiobook:"Audiolivros",comic:"Quadrinhos",ebook:"E-books",movie:"Filmes",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolivro",comic:"Quadrinho",ebook:"E-book",movie:"Filme",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Criado",failed:"Falhou",processed:"Processado",updated:"Atualizado"},interval:{all:"Todos",days:"Dias",days_1:"1 dia",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Desligado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resolu\xE7\xE3o",throughput:"Taxa de transfer\xEAncia",timeframe:"Intervalo de tempo"},queues:{created:"Criado",created_at:"Criado em",enqueue_jobs:"Enfileirar trabalhos",enqueue_torrent_processing_batch:"Enfileirar lote de processamento de torrents",failed:"Falhou",force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",jobs_enqueued:"Trabalhos enfileirados",latency:"Lat\xEAncia",match_content_by_external_api_search:"Correspond\xEAncia de conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Correspond\xEAncia de conte\xFAdo por pesquisa local",payload:"Carga \xFAtil",pending:"Pendente",priority:"Prioridade",process_orphaned_torrents_only:"Processar apenas torrents \xF3rf\xE3os",processed:"Processado",purge_jobs:"Limpar trabalhos",purge_queue_jobs:"Limpar trabalhos da fila",queue:"Fila",queue_purged:"Fila limpa",queues:"Filas",ran_at:"Executado em",retry:"Tentar novamente",total_counts_by_status:"Contagens totais por status"}},facets:{content_type:"Tipo de Conte\xFAdo",file_type:"Tipo de Arquivo",genre:"G\xEAnero",language:"Idioma",queue:"Fila",status:"Status",torrent_source:"Fonte do Torrent",torrent_tag:"Tag do Torrent",video_resolution:"Resolu\xE7\xE3o de V\xEDdeo",video_source:"Fonte de V\xEDdeo"},file_types:{archive:"Arquivo",audio:"\xC1udio",data:"Dados",document:"Documento",image:"Imagem",software:"Software",subtitles:"Legendas",unknown:"Desconhecido",video:"V\xEDdeo"},general:{all:"Todos",dismiss:"Fechar",error:"Erro",none:"Nenhum",page_not_found:"P\xE1gina n\xE3o encontrada",refresh:"Atualizar",status:"Status"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"Verifica\xE7\xE3o falhou com erro",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fechar",error:"Erro",status:"Status",statuses:{degraded:"Degradado",down:"Fora do ar",error:"Erro",inactive:"Inativo",started:"Iniciado",unknown:"Pendente",up:"Funcionando"},summary:"Resumo de Sa\xFAde",worker:"Trabalhador",workers:{dht_crawler:"Rastreamento DHT",http_server:"Servidor HTTP",queue_server:"Servidor de Fila"}},languages:{af:"Afric\xE2ner",ar:"\xC1rabe",az:"Azeri",be:"Bielorrusso",bg:"B\xFAlgaro",bs:"B\xF3snio",ca:"Catal\xE3o",ce:"Checheno",co:"Corso",cs:"Tcheco",cy:"Gal\xEAs",da:"Dinamarqu\xEAs",de:"Alem\xE3o",el:"Grego",en:"Ingl\xEAs",es:"Espanhol",et:"Estoniano",eu:"Basco",fa:"Persa",fi:"Finland\xEAs",fr:"Franc\xEAs",he:"Hebraico",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Arm\xEAnio",id:"Indon\xE9sio",is:"Island\xEAs",it:"Italiano",ja:"Japon\xEAs",ka:"Georgiano",ko:"Coreano",ku:"Curdo",lt:"Lituano",lv:"Let\xE3o",mi:"Maori",mk:"Maced\xF4nio",ml:"Malaiala",mn:"Mongol",ms:"Malaio",mt:"Malt\xEAs",nl:"Holand\xEAs",no:"Noruegu\xEAs",pl:"Polon\xEAs",pt:"Portugu\xEAs",ro:"Romeno",ru:"Russo",sa:"S\xE2nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somali",sr:"S\xE9rvio",sv:"Sueco",ta:"T\xE2mil",th:"Tailand\xEAs",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"I\xEDdiche",zh:"Chin\xEAs",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet em {{service}}",change_theme:"Alterar tema",external_links:"Links externos",sponsor:"Patrocinador",support_bitmagnet:"Apoiar bitmagnet",translate:"Traduzir"},paginator:{first_page:"Primeira p\xE1gina",items_per_page:"Itens por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"Pr\xF3xima p\xE1gina",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administra\xE7\xE3o",dashboard:"Painel",home:"In\xEDcio",jobs:"Tarefas",queues:"Filas",torrents:"Torrents",visualize:"Visualizar"},torrents:{clear_search:"Limpar Pesquisa",copy:"Copiar",copy_to_clipboard:"Copiar para a \xE1rea de transfer\xEAncia",delete:"Excluir",delete_action_cannot_be_undone:"Esta a\xE7\xE3o n\xE3o pode ser desfeita",delete_are_you_sure:"Tem certeza de que deseja excluir este torrent?",deselect_all:"Desmarcar todos",download:"Baixar",download_confirm:"Tem certeza de que deseja baixar os torrents selecionados?",edit_tags:"Editar tags",episodes:"Epis\xF3dios",external_links:"Links externos",file_index:"\xCDndice de arquivo",file_path:"Caminho do arquivo",file_size:"Tamanho do arquivo",file_type:"Tipo de arquivo",files:"Arquivos",files_count_n:"{{count}} arquivos",files_no_info:"Sem informa\xE7\xF5es de arquivos dispon\xEDveis",files_single:"Arquivo \xFAnico",genres:"G\xEAneros",info_hash:"Hash de informa\xE7\xE3o",info_hashes:"Hashes de informa\xE7\xE3o",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Links magnet",new_tag:"Nova tag",order_by:"Ordenar por",order_direction_toggle:"Inverter dire\xE7\xE3o",ordering:{files_count:"Contagem de arquivos",info_hash:"Hash de informa\xE7\xE3o",leechers:"Leechers",name:"Nome",published_at:"Publicado em",relevance:"Relev\xE2ncia",seeders:"Seeders",size:"Tamanho",updated_at:"Atualizado em"},original_release_date:"Data de lan\xE7amento original",permalink:"Link permanente",poster:"P\xF4ster",published:"Publicado",rating:"Classifica\xE7\xE3o",refresh:"Atualizar resultados",s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Selecionar tudo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} arquivos",size:"Tamanho",source:"Fonte do torrent",summary:"Resumo",tags:{delete:"Excluir tags",delete_tip:"Remover tags dos torrents selecionados",placeholder:"Tag...",put:"Colocar tags",put_tip:"Adicionar tags aos torrents selecionados",set:"Definir tags",set_tip:"Substituir tags dos torrents selecionados"},title:"T\xEDtulo",toggle_drawer:"Alternar gaveta",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"Vers\xE3o do bitmagnet {{version}}",unknown:"desconhecido"}};var nt={content_types:{plural:{all:"\u0412\u0441\u0435",audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0438\u043A\u0441\u044B",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0435 \u043A\u043D\u0438\u0433\u0438",movie:"\u0424\u0438\u043B\u044C\u043C\u044B",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0438\u043A\u0441",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043A\u043D\u0438\u0433\u0430",movie:"\u0424\u0438\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",updated:"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0412\u0441\u0435",days:"\u0414\u043D\u0438",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0427\u0430\u0441\u044B",hours_1:"1 \u0447\u0430\u0441",hours_12:"12 \u0447\u0430\u0441\u043E\u0432",hours_6:"6 \u0447\u0430\u0441\u043E\u0432",minutes:"\u041C\u0438\u043D\u0443\u0442\u044B",minutes_1:"1 \u043C\u0438\u043D\u0443\u0442\u0430",minutes_15:"15 \u043C\u0438\u043D\u0443\u0442",minutes_30:"30 \u043C\u0438\u043D\u0443\u0442",minutes_5:"5 \u043C\u0438\u043D\u0443\u0442",off:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u043D\u0435\u0434\u0435\u043B\u044F"},metrics:{event:"\u0421\u043E\u0431\u044B\u0442\u0438\u0435",resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C",timeframe:"\u041F\u0435\u0440\u0438\u043E\u0434 \u0432\u0440\u0435\u043C\u0435\u043D\u0438"},queues:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",created_at:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E \u0432",enqueue_jobs:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",enqueue_torrent_processing_batch:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0430\u0440\u0442\u0438\u044E \u0434\u043B\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",jobs_enqueued:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",latency:"\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",payload:"\u0414\u0430\u043D\u043D\u044B\u0435",pending:"\u0412 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0438",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \xAB\u043E\u0441\u0438\u0440\u043E\u0442\u0435\u0432\u0448\u0438\u0435\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u043E\u0447\u0435\u0440\u0435\u0434\u0438",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",queue_purged:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",ran_at:"\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0432",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",total_counts_by_status:"\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",genre:"\u0416\u0430\u043D\u0440",language:"\u042F\u0437\u044B\u043A",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0432\u0438\u0434\u0435\u043E",video_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0432\u0438\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0438\u0432",audio:"\u0410\u0443\u0434\u0438\u043E",data:"\u0414\u0430\u043D\u043D\u044B\u0435",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",video:"\u0412\u0438\u0434\u0435\u043E"},general:{all:"\u0412\u0441\u0435",dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",none:"\u041D\u0435\u0442",page_not_found:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0421\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",down:"\u041D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",error:"\u041E\u0448\u0438\u0431\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u0435\u043D",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",up:"\u0420\u0430\u0431\u043E\u0442\u0430\u0435\u0442"},summary:"\u0421\u0432\u043E\u0434\u043A\u0430 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F",worker:"\u0420\u0430\u0431\u043E\u0447\u0438\u0439",workers:{dht_crawler:"DHT \u043E\u0431\u0445\u043E\u0434\u0447\u0438\u043A",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u043E\u0447\u0435\u0440\u0435\u0434\u0435\u0439"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u043A\u0438\u0439",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u043A\u0438\u0439",be:"\u0411\u0435\u043B\u043E\u0440\u0443\u0441\u0441\u043A\u0438\u0439",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u043A\u0438\u0439",bs:"\u0411\u043E\u0441\u043D\u0438\u0439\u0441\u043A\u0438\u0439",ca:"\u041A\u0430\u0442\u0430\u043B\u0430\u043D\u0441\u043A\u0438\u0439",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u043A\u0438\u0439",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u043A\u0438\u0439",cs:"\u0427\u0435\u0448\u0441\u043A\u0438\u0439",cy:"\u0412\u0430\u043B\u043B\u0438\u0439\u0441\u043A\u0438\u0439",da:"\u0414\u0430\u0442\u0441\u043A\u0438\u0439",de:"\u041D\u0435\u043C\u0435\u0446\u043A\u0438\u0439",el:"\u0413\u0440\u0435\u0447\u0435\u0441\u043A\u0438\u0439",en:"\u0410\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u0438\u0439",es:"\u0418\u0441\u043F\u0430\u043D\u0441\u043A\u0438\u0439",et:"\u042D\u0441\u0442\u043E\u043D\u0441\u043A\u0438\u0439",eu:"\u0411\u0430\u0441\u043A\u0441\u043A\u0438\u0439",fa:"\u041F\u0435\u0440\u0441\u0438\u0434\u0441\u043A\u0438\u0439",fi:"\u0424\u0438\u043D\u0441\u043A\u0438\u0439",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u0441\u043A\u0438\u0439",he:"\u0418\u0432\u0440\u0438\u0442",hi:"\u0425\u0438\u043D\u0434\u0438",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u043A\u0438\u0439",hu:"\u0412\u0435\u043D\u0433\u0435\u0440\u0441\u043A\u0438\u0439",hy:"\u0410\u0440\u043C\u044F\u043D\u0441\u043A\u0438\u0439",id:"\u0418\u043D\u0434\u043E\u043D\u0435\u0437\u0438\u0439\u0441\u043A\u0438\u0439",is:"\u0418\u0441\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",it:"\u0418\u0442\u0430\u043B\u044C\u044F\u043D\u0441\u043A\u0438\u0439",ja:"\u042F\u043F\u043E\u043D\u0441\u043A\u0438\u0439",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u043A\u0438\u0439",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u043A\u0438\u0439",ku:"\u041A\u0443\u0440\u0434\u0441\u043A\u0438\u0439",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u043A\u0438\u0439",lv:"\u041B\u0430\u0442\u044B\u0448\u0441\u043A\u0438\u0439",mi:"\u041C\u0430\u043E\u0440\u0438",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438\u0439",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u043A\u0438\u0439",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u043A\u0438\u0439",mt:"\u041C\u0430\u043B\u044C\u0442\u0438\u0439\u0441\u043A\u0438\u0439",nl:"\u041D\u0438\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",no:"\u041D\u043E\u0440\u0432\u0435\u0436\u0441\u043A\u0438\u0439",pl:"\u041F\u043E\u043B\u044C\u0441\u043A\u0438\u0439",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u043A\u0438\u0439",ro:"\u0420\u0443\u043C\u044B\u043D\u0441\u043A\u0438\u0439",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u043A\u0438\u0439",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u043A\u0438\u0439",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u043A\u0438\u0439",so:"\u0421\u043E\u043C\u0430\u043B\u0438\u0439\u0441\u043A\u0438\u0439",sr:"\u0421\u0435\u0440\u0431\u0441\u043A\u0438\u0439",sv:"\u0428\u0432\u0435\u0434\u0441\u043A\u0438\u0439",ta:"\u0422\u0430\u043C\u0438\u043B\u044C\u0441\u043A\u0438\u0439",th:"\u0422\u0430\u0439\u0441\u043A\u0438\u0439",tr:"\u0422\u0443\u0440\u0435\u0446\u043A\u0438\u0439",uk:"\u0423\u043A\u0440\u0430\u0438\u043D\u0441\u043A\u0438\u0439",vi:"\u0412\u044C\u0435\u0442\u043D\u0430\u043C\u0441\u043A\u0438\u0439",yi:"\u0418\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u043A\u0438\u0439",zu:"\u0417\u0443\u043B\u0443\u0441\u0441\u043A\u0438\u0439"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u043C\u0443",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044C bitmagnet",translate:"\u041F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0432\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",items_per_page:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",last_page:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",next_page:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",previous_page:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0438\u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F",home:"\u0413\u043B\u0430\u0432\u043D\u0430\u044F",jobs:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u044B",visualize:"\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F"},torrents:{clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A",copy:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",copy_to_clipboard:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",delete_action_cannot_be_undone:"\u042D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",delete_are_you_sure:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0421\u043D\u044F\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435",download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C",download_confirm:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B?",edit_tags:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u0433\u0438",episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",file_index:"\u0418\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0430",file_path:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",files:"\u0424\u0430\u0439\u043B\u044B",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u043E\u0432",files_no_info:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0444\u0430\u0439\u043B\u0430\u0445 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u044B",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",info_hashes:"\u0425\u044D\u0448\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",languages:"\u042F\u0437\u044B\u043A\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442 \u0441\u0441\u044B\u043B\u043A\u0438",new_tag:"\u041D\u043E\u0432\u044B\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E",order_direction_toggle:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",ordering:{files_count:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0444\u0430\u0439\u043B\u043E\u0432",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",name:"\u0418\u043C\u044F",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u044C",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",size:"\u0420\u0430\u0437\u043C\u0435\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F"},original_release_date:"\u041E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u0432\u044B\u043F\u0443\u0441\u043A\u0430",permalink:"\u041F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u0430\u044F \u0441\u0441\u044B\u043B\u043A\u0430",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B",s_l:"S / L",search:"\u041F\u043E\u0438\u0441\u043A",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",select_all:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0438\u0437 {{y}} \u0444\u0430\u0439\u043B\u043E\u0432",size:"\u0420\u0430\u0437\u043C\u0435\u0440",source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0421\u0432\u043E\u0434\u043A\u0430",tags:{delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438",delete_tip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0438\u0437 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",placeholder:"\u0422\u0435\u0433...",put:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u043A \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430\u043C",set:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432"},title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",toggle_drawer:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u043E\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0438\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}};var st={content_types:{plural:{all:"T\xFCm\xFC",audiobook:"Sesli Kitaplar",comic:"\xC7izgi Romanlar",ebook:"E-Kitaplar",movie:"Filmler",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Programlar\u0131",xxx:"XXX"},singular:{audiobook:"Sesli Kitap",comic:"\xC7izgi Roman",ebook:"E-Kitap",movie:"Film",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Program\u0131",xxx:"XXX"}},dashboard:{event:{created:"Olu\u015Fturuldu",failed:"Ba\u015Far\u0131s\u0131z",processed:"\u0130\u015Flendi",updated:"G\xFCncellendi"},interval:{all:"T\xFCm\xFC",days:"G\xFCnler",days_1:"1 g\xFCn",hours:"Saatler",hours_1:"1 saat",hours_12:"12 saat",hours_6:"6 saat",minutes:"Dakikalar",minutes_1:"1 dakika",minutes_15:"15 dakika",minutes_30:"30 dakika",minutes_5:"5 dakika",off:"Kapal\u0131",seconds_10:"10 saniye",seconds_30:"30 saniye",weeks_1:"1 hafta"},metrics:{event:"Olay",resolution:"\xC7\xF6z\xFCn\xFCrl\xFCk",throughput:"Verim",timeframe:"Zaman Dilimi"},queues:{created:"Olu\u015Fturuldu",created_at:"Olu\u015Fturulma tarihi",enqueue_jobs:"\u0130\u015Fleri Kuyru\u011Fa Al",enqueue_torrent_processing_batch:"Torrent \u0130\u015Fleme Paketini Kuyru\u011Fa Al",failed:"Ba\u015Far\u0131s\u0131z",force_rematch:"E\u015Fle\u015Fmi\u015F i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",jobs_enqueued:"Kuyru\u011Fa Al\u0131nan \u0130\u015Fler",latency:"Gecikme",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",payload:"Veri Y\xFCk\xFC",pending:"Beklemede",priority:"\xD6ncelik",process_orphaned_torrents_only:"Sadece sahipsiz torrentleri i\u015Fle",processed:"\u0130\u015Flendi",purge_jobs:"\u0130\u015Fleri Temizle",purge_queue_jobs:"Kuyruk \u0130\u015Flerini Temizle",queue:"Kuyruk",queue_purged:"Kuyruk Temizlendi",queues:"Kuyruklar",ran_at:"\xC7al\u0131\u015Ft\u0131r\u0131ld\u0131",retry:"Tekrar Dene",total_counts_by_status:"Duruma G\xF6re Toplam Say\u0131lar"}},facets:{content_type:"\u0130\xE7erik T\xFCr\xFC",file_type:"Dosya T\xFCr\xFC",genre:"T\xFCr",language:"Dil",queue:"Kuyruk",status:"Durum",torrent_source:"Torrent Kayna\u011F\u0131",torrent_tag:"Torrent Etiketi",video_resolution:"Video \xC7\xF6z\xFCn\xFCrl\xFC\u011F\xFC",video_source:"Video Kayna\u011F\u0131"},file_types:{archive:"Ar\u015Fiv",audio:"Ses",data:"Veri",document:"Belge",image:"G\xF6r\xFCnt\xFC",software:"Yaz\u0131l\u0131m",subtitles:"Altyaz\u0131lar",unknown:"Bilinmiyor",video:"Video"},general:{all:"T\xFCm\xFC",dismiss:"Kapat",error:"Hata",none:"Hi\xE7biri",page_not_found:"Sayfa Bulunamad\u0131",refresh:"Yenile",status:"Durum"},health:{bitmagnet_is_status:"bitmagnet durumu {{status}}",check_failed_with_error:"Hata ile kontrol ba\u015Far\u0131s\u0131z oldu",component:"Bile\u015Fen",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Kapat",error:"Hata",status:"Durum",statuses:{degraded:"Azalm\u0131\u015F",down:"Kapal\u0131",error:"Hata",inactive:"Etkin de\u011Fil",started:"Ba\u015Flad\u0131",unknown:"Bilinmiyor",up:"\xC7al\u0131\u015F\u0131yor"},summary:"Sa\u011Fl\u0131k \xD6zeti",worker:"\u0130\u015F\xE7i",workers:{dht_crawler:"DHT taray\u0131c\u0131",http_server:"HTTP sunucusu",queue_server:"Kuyruk sunucusu"}},languages:{af:"Afrikanca",ar:"Arap\xE7a",az:"Azerice",be:"Beyaz Rus\xE7a",bg:"Bulgarca",bs:"Bo\u015Fnak\xE7a",ca:"Katalanca",ce:"\xC7e\xE7ence",co:"Korsikaca",cs:"\xC7ek\xE7e",cy:"Galce",da:"Danca",de:"Almanca",el:"Yunanca",en:"\u0130ngilizce",es:"\u0130spanyolca",et:"Estonca",eu:"Bask\xE7a",fa:"Fars\xE7a",fi:"Fince",fr:"Frans\u0131zca",he:"\u0130branice",hi:"Hint\xE7e",hr:"H\u0131rvat\xE7a",hu:"Macarca",hy:"Ermenice",id:"Endonezce",is:"\u0130zlandaca",it:"\u0130talyanca",ja:"Japonca",ka:"G\xFCrc\xFCce",ko:"Korece",ku:"K\xFCrt\xE7e",lt:"Litvanca",lv:"Letonca",mi:"Maorice",mk:"Makedonca",ml:"Malayalamca",mn:"Mo\u011Folca",ms:"Malayca",mt:"Maltaca",nl:"Flemenk\xE7e",no:"Norve\xE7\xE7e",pl:"Leh\xE7e",pt:"Portekizce",ro:"Romence",ru:"Rus\xE7a",sa:"Sanskrit\xE7e",sk:"Slovak\xE7a",sl:"Slovence",sm:"Samoaca",so:"Somalice",sr:"S\u0131rp\xE7a",sv:"\u0130sve\xE7\xE7e",ta:"Tamilce",th:"Tayca",tr:"T\xFCrk\xE7e",uk:"Ukraynaca",vi:"Vietnamca",yi:"Yidi\u015F",zh:"\xC7ince",zu:"Zuluca"},layout:{bitmagnet_on_service:"{{service}} \xFCzerinde bitmagnet",change_theme:"Temay\u0131 De\u011Fi\u015Ftir",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",sponsor:"Sponsor",support_bitmagnet:"bitmagnet'i Destekle",translate:"\xC7evir"},paginator:{first_page:"\u0130lk Sayfa",items_per_page:"Sayfa ba\u015F\u0131na \xF6\u011Fe",last_page:"Son Sayfa",next_page:"Sonraki Sayfa",previous_page:"\xD6nceki Sayfa",x_to_y:"{{x}} - {{y}} aras\u0131",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} ile {{y}} aras\u0131, toplam {{z}}"},routes:{admin:"Y\xF6netici",dashboard:"Kontrol Paneli",home:"Ana Sayfa",jobs:"G\xF6revler",queues:"Kuyruklar",torrents:"Torrentler",visualize:"G\xF6rselle\u015Ftir"},torrents:{clear_search:"Aramay\u0131 Temizle",copy:"Kopyala",copy_to_clipboard:"Panoya Kopyala",delete:"Sil",delete_action_cannot_be_undone:"Bu i\u015Flem geri al\u0131namaz",delete_are_you_sure:"Bu torrent'i silmek istedi\u011Finizden emin misiniz?",deselect_all:"T\xFCm Se\xE7imleri Kald\u0131r",download:"\u0130ndir",download_confirm:"Se\xE7ilen torrentleri indirmek istedi\u011Finizden emin misiniz?",edit_tags:"Etiketleri D\xFCzenle",episodes:"B\xF6l\xFCmler",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",file_index:"Dosya Dizini",file_path:"Dosya Yolu",file_size:"Dosya Boyutu",file_type:"Dosya T\xFCr\xFC",files:"Dosyalar",files_count_n:"{{count}} dosya",files_no_info:"Dosya bilgisi mevcut de\u011Fil",files_single:"Tek dosya",genres:"T\xFCrler",info_hash:"Bilgi hash'i",info_hashes:"Bilgi hash'leri",languages:"Diller",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet Ba\u011Flant\u0131lar",new_tag:"Yeni etiket",order_by:"S\u0131ralama \xF6l\xE7\xFCt\xFC",order_direction_toggle:"Y\xF6n\xFC de\u011Fi\u015Ftir",ordering:{files_count:"Dosya say\u0131s\u0131",info_hash:"Bilgi hash'i",leechers:"Leechers",name:"Ad",published_at:"Yay\u0131nlanma tarihi",relevance:"Alaka d\xFCzeyi",seeders:"Seeders",size:"Boyut",updated_at:"G\xFCncellenme tarihi"},original_release_date:"Orijinal \xE7\u0131k\u0131\u015F tarihi",permalink:"Kal\u0131c\u0131 Ba\u011Flant\u0131",poster:"Poster",published:"Yay\u0131nland\u0131",rating:"Puan",refresh:"Sonu\xE7lar\u0131 Yenile",s_l:"S / L",search:"Ara",seeders:"Seeders",select_all:"T\xFCm\xFCn\xFC Se\xE7",showing_x_of_y_files:"{{y}} dosyan\u0131n {{x}} tanesi g\xF6steriliyor",size:"Boyut",source:"Torrent Kayna\u011F\u0131",summary:"\xD6zet",tags:{delete:"Etiketleri sil",delete_tip:"Se\xE7ili torrentlerden etiketleri kald\u0131r",placeholder:"Etiket...",put:"Etiket koy",put_tip:"Se\xE7ili torrentlere etiket ekle",set:"Etiketleri ayarla",set_tip:"Se\xE7ili torrentlerin etiketlerini de\u011Fi\u015Ftir"},title:"Ba\u015Fl\u0131k",toggle_drawer:"\xC7ekmeceyi A\xE7/Kapat",votes_count_n:"{{count}} oy"},version:{bitmagnet_version:"bitmagnet versiyonu {{version}}",unknown:"bilinmiyor"}};var it={content_types:{plural:{all:"\u0423\u0441\u0456",audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0456\u043A\u0441\u0438",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0456 \u043A\u043D\u0438\u0433\u0438",movie:"\u0424\u0456\u043B\u044C\u043C\u0438",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0456\u043A\u0441",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043A\u043D\u0438\u0433\u0430",movie:"\u0424\u0456\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",updated:"\u041E\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0423\u0441\u0456",days:"\u0414\u043D\u0456",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0413\u043E\u0434\u0438\u043D\u0438",hours_1:"1 \u0433\u043E\u0434\u0438\u043D\u0430",hours_12:"12 \u0433\u043E\u0434\u0438\u043D",hours_6:"6 \u0433\u043E\u0434\u0438\u043D",minutes:"\u0425\u0432\u0438\u043B\u0438\u043D\u0438",minutes_1:"1 \u0445\u0432\u0438\u043B\u0438\u043D\u0430",minutes_15:"15 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_30:"30 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_5:"5 \u0445\u0432\u0438\u043B\u0438\u043D",off:"\u0412\u0438\u043C\u043A\u043D\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u0442\u0438\u0436\u0434\u0435\u043D\u044C"},metrics:{event:"\u041F\u043E\u0434\u0456\u044F",resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",timeframe:"\u041F\u0440\u043E\u043C\u0456\u0436\u043E\u043A \u0447\u0430\u0441\u0443"},queues:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",created_at:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E \u043E",enqueue_jobs:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E \u0447\u0435\u0440\u0433\u0438",enqueue_torrent_processing_batch:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043F\u0430\u043A\u0435\u0442 \u0434\u043B\u044F \u043E\u0431\u0440\u043E\u0431\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",jobs_enqueued:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E\u0434\u0430\u043D\u043E \u0432 \u0447\u0435\u0440\u0433\u0443",latency:"\u0417\u0430\u0442\u0440\u0438\u043C\u043A\u0430",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",payload:"\u0414\u0430\u043D\u0456",pending:"\u0412 \u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u043D\u0456",priority:"\u041F\u0440\u0456\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u043E\u0431\u043B\u044F\u0442\u0438 \u043B\u0438\u0448\u0435 \xAB\u0441\u0438\u0440\u043E\u0442\u043B\u0438\u0432\u0456\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0447\u0435\u0440\u0433\u0438",queue:"\u0427\u0435\u0440\u0433\u0430",queue_purged:"\u0427\u0435\u0440\u0433\u0430 \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u0427\u0435\u0440\u0433\u0438",ran_at:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E \u043E",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438",total_counts_by_status:"\u0417\u0430\u0433\u0430\u043B\u044C\u043D\u0430 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0437\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C\u0438"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",genre:"\u0416\u0430\u043D\u0440",language:"\u041C\u043E\u0432\u0430",queue:"\u0427\u0435\u0440\u0433\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C \u0432\u0456\u0434\u0435\u043E",video_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0432\u0456\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0456\u0432",audio:"\u0410\u0443\u0434\u0456\u043E",data:"\u0414\u0430\u043D\u0456",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u0438",unknown:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",video:"\u0412\u0456\u0434\u0435\u043E"},general:{all:"\u0423\u0441\u0456",dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",none:"\u041D\u0435\u043C\u0430\u0454",page_not_found:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u043E\u044E",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0417\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u0456\u0441\u0442\u044C",down:"\u041D\u0435 \u043F\u0440\u0430\u0446\u044E\u0454",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u0438\u0439",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F",up:"\u041F\u0440\u0430\u0446\u044E\u0454"},summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F \u0441\u0442\u0430\u043D\u0443",worker:"\u041F\u0440\u0430\u0446\u0456\u0432\u043D\u0438\u043A",workers:{dht_crawler:"DHT \u0441\u043A\u0430\u043D\u0435\u0440",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u0447\u0435\u0440\u0433\u0438"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u044C\u043A\u0430",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0456\u043B\u043E\u0440\u0443\u0441\u044C\u043A\u0430",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u044C\u043A\u0430",bs:"\u0411\u043E\u0441\u043D\u0456\u0439\u0441\u044C\u043A\u0430",ca:"\u041A\u0430\u0442\u0430\u043B\u043E\u043D\u0441\u044C\u043A\u0430",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u044C\u043A\u0430",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u044C\u043A\u0430",cs:"\u0427\u0435\u0441\u044C\u043A\u0430",cy:"\u0412\u0430\u043B\u043B\u0456\u0439\u0441\u044C\u043A\u0430",da:"\u0414\u0430\u043D\u0441\u044C\u043A\u0430",de:"\u041D\u0456\u043C\u0435\u0446\u044C\u043A\u0430",el:"\u0413\u0440\u0435\u0446\u044C\u043A\u0430",en:"\u0410\u043D\u0433\u043B\u0456\u0439\u0441\u044C\u043A\u0430",es:"\u0406\u0441\u043F\u0430\u043D\u0441\u044C\u043A\u0430",et:"\u0415\u0441\u0442\u043E\u043D\u0441\u044C\u043A\u0430",eu:"\u0411\u0430\u0441\u043A\u0441\u044C\u043A\u0430",fa:"\u041F\u0435\u0440\u0441\u044C\u043A\u0430",fi:"\u0424\u0456\u043D\u0441\u044C\u043A\u0430",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u044C\u043A\u0430",he:"\u0406\u0432\u0440\u0438\u0442",hi:"\u0425\u0456\u043D\u0434\u0456",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u044C\u043A\u0430",hu:"\u0423\u0433\u043E\u0440\u0441\u044C\u043A\u0430",hy:"\u0412\u0456\u0440\u043C\u0435\u043D\u0441\u044C\u043A\u0430",id:"\u0406\u043D\u0434\u043E\u043D\u0435\u0437\u0456\u0439\u0441\u044C\u043A\u0430",is:"\u0406\u0441\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",it:"\u0406\u0442\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",ja:"\u042F\u043F\u043E\u043D\u0441\u044C\u043A\u0430",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u044C\u043A\u0430",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u044C\u043A\u0430",ku:"\u041A\u0443\u0440\u0434\u0441\u044C\u043A\u0430",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u044C\u043A\u0430",lv:"\u041B\u0430\u0442\u0438\u0441\u044C\u043A\u0430",mi:"\u041C\u0430\u043E\u0440\u0456",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u044C\u043A\u0430",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u044C\u043A\u0430",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u044C\u043A\u0430",mt:"\u041C\u0430\u043B\u044C\u0442\u0456\u0439\u0441\u044C\u043A\u0430",nl:"\u041D\u0456\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",no:"\u041D\u043E\u0440\u0432\u0435\u0437\u044C\u043A\u0430",pl:"\u041F\u043E\u043B\u044C\u0441\u044C\u043A\u0430",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u044C\u043A\u0430",ro:"\u0420\u0443\u043C\u0443\u043D\u0441\u044C\u043A\u0430",ru:"\u0420\u043E\u0441\u0456\u0439\u0441\u044C\u043A\u0430",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u044C\u043A\u0430",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u044C\u043A\u0430",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u044C\u043A\u0430",so:"\u0421\u043E\u043C\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",sr:"\u0421\u0435\u0440\u0431\u0441\u044C\u043A\u0430",sv:"\u0428\u0432\u0435\u0434\u0441\u044C\u043A\u0430",ta:"\u0422\u0430\u043C\u0456\u043B\u044C\u0441\u044C\u043A\u0430",th:"\u0422\u0430\u0439\u0441\u044C\u043A\u0430",tr:"\u0422\u0443\u0440\u0435\u0446\u044C\u043A\u0430",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",vi:"\u0412'\u0454\u0442\u043D\u0430\u043C\u0441\u044C\u043A\u0430",yi:"\u0407\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u044C\u043A\u0430",zu:"\u0417\u0443\u043B\u0443\u0441\u044C\u043A\u0430"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u043C\u0443",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u0456\u0434\u0442\u0440\u0438\u043C\u0430\u0442\u0438 bitmagnet",translate:"\u041F\u0435\u0440\u0435\u043A\u043B\u0430\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0448\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",items_per_page:"\u0415\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u0446\u0456",last_page:"\u041E\u0441\u0442\u0430\u043D\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",next_page:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",previous_page:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_y:"__\u043F\u0440\u043E\u043F\u0430\u0432__",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0456\u043D\u043D\u044F",home:"\u0413\u043E\u043B\u043E\u0432\u043D\u0430",jobs:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F",queues:"\u0427\u0435\u0440\u0433\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u0438",visualize:"\u0412\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0443\u0432\u0430\u0442\u0438"},torrents:{clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043F\u043E\u0448\u0443\u043A",copy:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438",copy_to_clipboard:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0456\u043D\u0443",delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",delete_action_cannot_be_undone:"\u0426\u044E \u0434\u0456\u044E \u043D\u0435 \u043C\u043E\u0436\u043D\u0430 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438",delete_are_you_sure:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u0435\u0439 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0417\u043D\u044F\u0442\u0438 \u0432\u0438\u0434\u0456\u043B\u0435\u043D\u043D\u044F",download:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438",download_confirm:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0456 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438?",edit_tags:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u0435\u0433\u0438",episodes:"\u0415\u043F\u0456\u0437\u043E\u0434\u0438",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",file_index:"\u0406\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0443",file_path:"\u0428\u043B\u044F\u0445 \u0434\u043E \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u043E\u0437\u043C\u0456\u0440 \u0444\u0430\u0439\u043B\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",files:"\u0424\u0430\u0439\u043B\u0438",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u0456\u0432",files_no_info:"\u0406\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F \u043F\u0440\u043E \u0444\u0430\u0439\u043B\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u0438",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",info_hashes:"\u0425\u0435\u0448\u0456 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",languages:"\u041C\u043E\u0432\u0438",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442-\u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",new_tag:"\u041D\u043E\u0432\u0438\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430",order_direction_toggle:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043D\u0430\u043F\u0440\u044F\u043C\u043E\u043A",ordering:{files_count:"\u041A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0444\u0430\u0439\u043B\u0456\u0432",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",name:"\u041D\u0430\u0437\u0432\u0430",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0456\u043A\u0430\u0446\u0456\u0457",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0456\u0441\u0442\u044C",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",size:"\u0420\u043E\u0437\u043C\u0456\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F"},original_release_date:"\u0414\u0430\u0442\u0430 \u043E\u0440\u0438\u0433\u0456\u043D\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043F\u0443\u0441\u043A\u0443",permalink:"\u041F\u043E\u0441\u0442\u0456\u0439\u043D\u0435 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438",s_l:"S / L",search:"\u041F\u043E\u0448\u0443\u043A",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",select_all:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0456",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0437 {{y}} \u0444\u0430\u0439\u043B\u0456\u0432",size:"\u0420\u043E\u0437\u043C\u0456\u0440",source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F",tags:{delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",delete_tip:"\u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0442\u0435\u0433\u0438 \u0437 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",placeholder:"\u0422\u0435\u0433\u0438...",put:"\u0421\u0442\u0430\u0432\u0442\u0435 \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0434\u0430\u0439\u0442\u0435 \u0442\u0435\u0433\u0438 \u0434\u043E \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",set:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u0433\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432"},title:"\u041D\u0430\u0437\u0432\u0430",toggle_drawer:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u0456\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0456\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0432\u0456\u0434\u043E\u043C\u043E"}};var lt={content_types:{plural:{all:"\u5168\u90E8",audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"},singular:{audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"}},dashboard:{event:{created:"\u5DF2\u521B\u5EFA",failed:"\u5931\u8D25",processed:"\u5DF2\u5904\u7406",updated:"\u5DF2\u66F4\u65B0"},interval:{all:"\u5168\u90E8",days:"\u5929",days_1:"1\u5929",hours:"\u5C0F\u65F6",hours_1:"1\u5C0F\u65F6",hours_12:"12\u5C0F\u65F6",hours_6:"6\u5C0F\u65F6",minutes:"\u5206\u949F",minutes_1:"1\u5206\u949F",minutes_15:"15\u5206\u949F",minutes_30:"30\u5206\u949F",minutes_5:"5\u5206\u949F",off:"\u5173\u95ED",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u5468"},metrics:{event:"\u4E8B\u4EF6",resolution:"\u5206\u8FA8\u7387",throughput:"\u541E\u5410\u91CF",timeframe:"\u65F6\u95F4\u8303\u56F4"},queues:{created:"\u5DF2\u521B\u5EFA",created_at:"\u521B\u5EFA\u4E8E",enqueue_jobs:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",enqueue_torrent_processing_batch:"\u52A0\u5165\u961F\u5217\u7684\u79CD\u5B50\u5904\u7406\u6279\u6B21",failed:"\u5931\u8D25",force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",jobs_enqueued:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",latency:"\u5EF6\u8FDF",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",payload:"\u6709\u6548\u8F7D\u8377",pending:"\u5F85\u5904\u7406",priority:"\u4F18\u5148\u7EA7",process_orphaned_torrents_only:"\u4EC5\u5904\u7406\u5B64\u7ACB\u7684\u79CD\u5B50",processed:"\u5DF2\u5904\u7406",purge_jobs:"\u6E05\u9664\u4EFB\u52A1",purge_queue_jobs:"\u6E05\u9664\u961F\u5217\u4EFB\u52A1",queue:"\u961F\u5217",queue_purged:"\u961F\u5217\u5DF2\u6E05\u9664",queues:"\u961F\u5217",ran_at:"\u8FD0\u884C\u4E8E",retry:"\u91CD\u8BD5",total_counts_by_status:"\u6309\u72B6\u6001\u7EDF\u8BA1\u603B\u6570"}},facets:{content_type:"\u5185\u5BB9\u7C7B\u578B",file_type:"\u6587\u4EF6\u7C7B\u578B",genre:"\u7C7B\u578B",language:"\u8BED\u8A00",queue:"\u961F\u5217",status:"\u72B6\u6001",torrent_source:"\u79CD\u5B50\u6765\u6E90",torrent_tag:"\u79CD\u5B50\u6807\u7B7E",video_resolution:"\u89C6\u9891\u5206\u8FA8\u7387",video_source:"\u89C6\u9891\u6765\u6E90"},file_types:{archive:"\u6863\u6848",audio:"\u97F3\u9891",data:"\u6570\u636E",document:"\u6587\u6863",image:"\u56FE\u50CF",software:"\u8F6F\u4EF6",subtitles:"\u5B57\u5E55",unknown:"\u672A\u77E5",video:"\u89C6\u9891"},general:{all:"\u5168\u90E8",dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",none:"\u65E0",page_not_found:"\u9875\u9762\u672A\u627E\u5230",refresh:"\u5237\u65B0",status:"\u72B6\u6001"},health:{bitmagnet_is_status:"bitmagnet\u662F{{status}}",check_failed_with_error:"\u68C0\u67E5\u5931\u8D25\uFF0C\u9519\u8BEF",component:"\u7EC4\u4EF6",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",status:"\u72B6\u6001",statuses:{degraded:"\u964D\u7EA7",down:"\u5173\u95ED",error:"\u9519\u8BEF",inactive:"\u4E0D\u6D3B\u8DC3",started:"\u5DF2\u542F\u52A8",unknown:"\u672A\u77E5",up:"\u8FD0\u884C\u4E2D"},summary:"\u5065\u5EB7\u6982\u8FF0",worker:"\u5DE5\u4F5C\u8005",workers:{dht_crawler:"DHT\u722C\u866B",http_server:"HTTP\u670D\u52A1\u5668",queue_server:"\u961F\u5217\u670D\u52A1\u5668"}},languages:{af:"\u5357\u975E\u8377\u5170\u8BED",ar:"\u963F\u62C9\u4F2F\u8BED",az:"\u963F\u585E\u62DC\u7586\u8BED",be:"\u767D\u4FC4\u7F57\u65AF\u8BED",bg:"\u4FDD\u52A0\u5229\u4E9A\u8BED",bs:"\u6CE2\u65AF\u5C3C\u4E9A\u8BED",ca:"\u52A0\u6CF0\u7F57\u5C3C\u4E9A\u8BED",ce:"\u8F66\u81E3\u8BED",co:"\u79D1\u897F\u5609\u8BED",cs:"\u6377\u514B\u8BED",cy:"\u5A01\u5C14\u58EB\u8BED",da:"\u4E39\u9EA6\u8BED",de:"\u5FB7\u8BED",el:"\u5E0C\u814A\u8BED",en:"\u82F1\u8BED",es:"\u897F\u73ED\u7259\u8BED",et:"\u7231\u6C99\u5C3C\u4E9A\u8BED",eu:"\u5DF4\u65AF\u514B\u8BED",fa:"\u6CE2\u65AF\u8BED",fi:"\u82AC\u5170\u8BED",fr:"\u6CD5\u8BED",he:"\u5E0C\u4F2F\u6765\u8BED",hi:"\u5370\u5730\u8BED",hr:"\u514B\u7F57\u5730\u4E9A\u8BED",hu:"\u5308\u7259\u5229\u8BED",hy:"\u4E9A\u7F8E\u5C3C\u4E9A\u8BED",id:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u8BED",is:"\u51B0\u5C9B\u8BED",it:"\u610F\u5927\u5229\u8BED",ja:"\u65E5\u8BED",ka:"\u683C\u9C81\u5409\u4E9A\u8BED",ko:"\u97E9\u8BED",ku:"\u5E93\u5C14\u5FB7\u8BED",lt:"\u7ACB\u9676\u5B9B\u8BED",lv:"\u62C9\u8131\u7EF4\u4E9A\u8BED",mi:"\u6BDB\u5229\u8BED",mk:"\u9A6C\u5176\u987F\u8BED",ml:"\u9A6C\u62C9\u96C5\u62C9\u59C6\u8BED",mn:"\u8499\u53E4\u8BED",ms:"\u9A6C\u6765\u8BED",mt:"\u9A6C\u8033\u4ED6\u8BED",nl:"\u8377\u5170\u8BED",no:"\u632A\u5A01\u8BED",pl:"\u6CE2\u5170\u8BED",pt:"\u8461\u8404\u7259\u8BED",ro:"\u7F57\u9A6C\u5C3C\u4E9A\u8BED",ru:"\u4FC4\u8BED",sa:"\u68B5\u8BED",sk:"\u65AF\u6D1B\u4F10\u514B\u8BED",sl:"\u65AF\u6D1B\u6587\u5C3C\u4E9A\u8BED",sm:"\u8428\u6469\u4E9A\u8BED",so:"\u7D22\u9A6C\u91CC\u8BED",sr:"\u585E\u5C14\u7EF4\u4E9A\u8BED",sv:"\u745E\u5178\u8BED",ta:"\u6CF0\u7C73\u5C14\u8BED",th:"\u6CF0\u8BED",tr:"\u571F\u8033\u5176\u8BED",uk:"\u4E4C\u514B\u5170\u8BED",vi:"\u8D8A\u5357\u8BED",yi:"\u610F\u7B2C\u7EEA\u8BED",zh:"\u4E2D\u6587",zu:"\u7956\u9C81\u8BED"},layout:{bitmagnet_on_service:"bitmagnet\u5728{{service}}",change_theme:"\u66F4\u6539\u4E3B\u9898",external_links:"\u5916\u90E8\u94FE\u63A5",sponsor:"\u8D5E\u52A9\u5546",support_bitmagnet:"\u652F\u6301bitmagnet",translate:"\u7FFB\u8BD1"},paginator:{first_page:"\u7B2C\u4E00\u9875",items_per_page:"\u6BCF\u9875\u9879\u76EE\u6570",last_page:"\u6700\u540E\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",previous_page:"\u4E0A\u4E00\u9875",x_to_y:"{{x}}\u5230{{y}}",x_to_y_of_y:"__\u7F3A\u5931__",x_to_y_of_z:"{{x}}\u5230{{y}}\uFF0C\u5171{{z}}"},routes:{admin:"\u7BA1\u7406\u5458",dashboard:"\u4EEA\u8868\u76D8",home:"\u9996\u9875",jobs:"\u4EFB\u52A1",queues:"\u961F\u5217",torrents:"\u79CD\u5B50",visualize:"\u53EF\u89C6\u5316"},torrents:{clear_search:"\u6E05\u9664\u641C\u7D22",copy:"\u590D\u5236",copy_to_clipboard:"\u590D\u5236\u5230\u526A\u8D34\u677F",delete:"\u5220\u9664",delete_action_cannot_be_undone:"\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500",delete_are_you_sure:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u6B64\u79CD\u5B50\u5417\uFF1F",deselect_all:"\u53D6\u6D88\u5168\u9009",download:"\u4E0B\u8F7D",download_confirm:"\u60A8\u786E\u5B9A\u8981\u4E0B\u8F7D\u9009\u5B9A\u7684\u79CD\u5B50\u5417\uFF1F",edit_tags:"\u7F16\u8F91\u6807\u7B7E",episodes:"\u5267\u96C6",external_links:"\u5916\u90E8\u94FE\u63A5",file_index:"\u6587\u4EF6\u7D22\u5F15",file_path:"\u6587\u4EF6\u8DEF\u5F84",file_size:"\u6587\u4EF6\u5927\u5C0F",file_type:"\u6587\u4EF6\u7C7B\u578B",files:"\u6587\u4EF6",files_count_n:"{{count}}\u4E2A\u6587\u4EF6",files_no_info:"\u65E0\u6587\u4EF6\u4FE1\u606F",files_single:"\u5355\u4E2A\u6587\u4EF6",genres:"\u7C7B\u578B",info_hash:"\u4FE1\u606F\u54C8\u5E0C",info_hashes:"\u4FE1\u606F\u54C8\u5E0C",languages:"\u8BED\u8A00",leechers:"\u4E0B\u8F7D\u8005",magnet:"\u78C1\u529B\u94FE\u63A5",magnet_links:"\u78C1\u529B\u94FE\u63A5",new_tag:"\u65B0\u6807\u7B7E",order_by:"\u6392\u5E8F\u4F9D\u636E",order_direction_toggle:"\u5207\u6362\u65B9\u5411",ordering:{files_count:"\u6587\u4EF6\u6570",info_hash:"\u4FE1\u606F\u54C8\u5E0C",leechers:"\u4E0B\u8F7D\u8005",name:"\u540D\u79F0",published_at:"\u53D1\u5E03\u4E8E",relevance:"\u76F8\u5173\u6027",seeders:"\u4E0A\u4F20\u8005",size:"\u5927\u5C0F",updated_at:"\u66F4\u65B0\u4E8E"},original_release_date:"\u539F\u59CB\u53D1\u5E03\u65E5\u671F",permalink:"\u6C38\u4E45\u94FE\u63A5",poster:"\u6D77\u62A5",published:"\u5DF2\u53D1\u5E03",rating:"\u8BC4\u5206",refresh:"\u5237\u65B0\u7ED3\u679C",s_l:"S / L",search:"\u641C\u7D22",seeders:"\u4E0A\u4F20\u8005",select_all:"\u5168\u9009",showing_x_of_y_files:"\u663E\u793A{{x}}\u4E2A\uFF0C\u5171{{y}}\u4E2A\u6587\u4EF6",size:"\u5927\u5C0F",source:"\u79CD\u5B50\u6765\u6E90",summary:"\u6458\u8981",tags:{delete:"\u5220\u9664\u6807\u7B7E",delete_tip:"\u4ECE\u9009\u5B9A\u7684\u79CD\u5B50\u4E2D\u5220\u9664\u6807\u7B7E",placeholder:"\u6807\u7B7E...",put:"\u6DFB\u52A0\u6807\u7B7E",put_tip:"\u4E3A\u9009\u5B9A\u7684\u79CD\u5B50\u6DFB\u52A0\u6807\u7B7E",set:"\u8BBE\u7F6E\u6807\u7B7E",set_tip:"\u66FF\u6362\u9009\u5B9A\u79CD\u5B50\u7684\u6807\u7B7E"},title:"\u6807\u9898",toggle_drawer:"\u5207\u6362\u62BD\u5C49",votes_count_n:"{{count}}\u7968"},version:{bitmagnet_version:"bitmagnet\u7248\u672C{{version}}",unknown:"\u672A\u77E5"}};var W={ar:Ye,de:Je,en:Ze,es:$e,fr:et,hi:tt,ja:ot,nl:at,pt:rt,ru:nt,tr:st,uk:it,zh:lt};var ut=(()=>{class t{getTranslation(e){return Z(this,null,function*(){if(e in W){let o=W[e];return ct(o)}else return Promise.reject(new Error(`Translation not found: ${e}`))})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Bt=["__missing__","__fallback__"],ct=t=>Object.fromEntries(Object.entries(t).flatMap(([a,e])=>{if(typeof e=="object")e=ct(e);else if(typeof e=="string"&&Bt.includes(e))return[];return[[a,e]]}));var dt={providers:[he({eventCoalescing:!0}),xe(Qe,Se()),We("animations"),X(pe()),X(),ze({config:{availableLangs:[{id:"ar",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},{id:"de",label:"Deutsch"},{id:"en",label:"English"},{id:"es",label:"Espa\xF1ol"},{id:"fr",label:"Fran\xE7ais"},{id:"hi",label:"\u0939\u093F\u0928\u094D\u0926\u0940"},{id:"ja",label:"\u65E5\u672C\u8A9E"},{id:"nl",label:"Nederlands"},{id:"pt",label:"Portugu\xEAs"},{id:"ru",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{id:"tr",label:"T\xFCrk\xE7e"},{id:"uk",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},{id:"zh",label:"\u4E2D\u6587"}],defaultLang:"en",fallbackLang:"en",missingHandler:{useFallbackTranslation:!0},reRenderOnLangChange:!0,prodMode:!1},loader:ut}),Ae(Me())]};var Rt=new q("Browser Storage",{providedIn:"root",factory:()=>localStorage}),L=(()=>{class t{constructor(e){this.storage=e}get(e){return this.storage.getItem(e)}set(e,o){this.storage.setItem(e,o)}remove(e){this.storage.removeItem(e)}clear(){this.storage.clear()}static{this.\u0275fac=function(o){return new(o||t)(oe(Rt))}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ht={classic:{key:"classic",label:"Classic",dark:!1},clean:{key:"clean",label:"Clean",dark:!1},neon:{key:"neon",label:"Neon",dark:!0},tundra:{key:"tundra",label:"Tundra",dark:!0}},F=Ht,_t="classic",mt="tundra";var Q="bitmagnet-theme",B=(()=>{class t{constructor(){this.document=u(D),this.browserStorage=u(L),this._window=this.document.defaultView,this.selectedThemeSubject=new $(void 0),this.selectedTheme$=this.selectedThemeSubject.asObservable(),this.themes=Object.values(F),this.getPreferredTheme=()=>this.getStoredTheme()??this.getAutoTheme(),this.getStoredTheme=()=>{let e=this.browserStorage.get(Q);return e&&e in F?e:void 0},this.getAutoTheme=()=>this.windowMatchMediaPrefersDark()?.matches?mt:_t,this.setTheme=e=>{this.setActiveTheme(e),this.setStoredTheme(this.selectedTheme??"auto")},this.setActiveTheme=e=>{e==="auto"||!(e in F)?(e=this.getAutoTheme(),this.selectedTheme=void 0):this.selectedTheme=e,this.document.documentElement.setAttribute("data-bitmagnet-theme",e),this.selectedThemeSubject.next(this.selectedTheme)},this.setStoredTheme=e=>{e==="auto"?this.browserStorage.remove(Q):this.browserStorage.set(Q,e)},this.setActiveTheme(this.getPreferredTheme()),this.windowMatchMediaPrefersDark()?.addEventListener("change",()=>{this.getStoredTheme()||this.setActiveTheme(this.getAutoTheme())})}windowMatchMediaPrefersDark(){return this._window&&this._window.matchMedia?this._window.matchMedia("(prefers-color-scheme: dark)"):void 0}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Gt=t=>({version:t});function Nt(t,a){if(t&1&&(T(0),s(1,"span",1),c(2),n(),x()),t&2){let e=a.$implicit,o=_();i(),h("matTooltip",e("version.bitmagnet_version",me(2,Gt,o.versionUnknown?e("version.unknown"):o.version))),i(),f(o.version)}}var Y="v-unknown",ht=(()=>{class t{constructor(){this.apollo=u(qe),this.version=Y,this.versionUnknown=!0}ngOnInit(){this.apollo.query({query:je}).pipe(ee(e=>e.data.version)).subscribe({next:e=>{e?(this.version=e,this.versionUnknown=!1):(this.version=Y,this.versionUnknown=!0)},error:()=>{this.version=Y}})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-version"]],standalone:!0,features:[b],decls:1,vars:0,consts:[[4,"transloco"],[1,"version",3,"matTooltip"]],template:function(o,r){o&1&&w(0,Nt,3,4,"ng-container",0)},dependencies:[I,j,E,Ie],encapsulation:2})}}return t})();var pt="bitmagnet-language",gt=(()=>{class t{constructor(){this.transloco=u(Ce),this.browserStorage=u(L),this.availableLanguages=this.transloco.getAvailableLangs(),this.transloco.setActiveLang(this.getPreferredLanguage())}getPreferredLanguage(){return this.getStoredLanguage()??this.getAutoLanguage()}getStoredLanguage(){let e=this.browserStorage.get(pt);return e&&this.transloco.isLang(e)?e:void 0}getAutoLanguage(){let e=navigator?.language?.split("-")?.[0];return this.transloco.isLang(e)?e:"en"}setLanguage(e){this.transloco.setActiveLang(e),this.browserStorage.set(pt,e)}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Kt=["element"],J=(()=>{class t{static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-theme-emitter-color"]],viewQuery:function(o,r){if(o&1&&z(Kt,5),o&2){let l;M(l=A())&&(r.element=l.first)}},inputs:{color:"color"},standalone:!0,features:[b],decls:2,vars:2,consts:[["element",""]],template:function(o,r){o&1&&d(0,"div",null,0),o&2&&v("theme-emitter-color "+r.color)},encapsulation:2})}}return t})();var Xt=["lightdark"];function Ut(t,a){if(t&1&&d(0,"app-theme-emitter-color",1),t&2){let e=a.$implicit;h("color",e)}}var ft=(()=>{class t{constructor(){this.service=u(Ue),this.themeManager=u(B),this.themeColors=Xe,this.themeManager.selectedTheme$.subscribe(()=>{this.updateThemeColors()})}ngAfterViewInit(){this.updateThemeColors()}updateThemeColors(){let e={};for(let r of this.elements??[])e[r.color]=getComputedStyle(r.element.nativeElement).color;let o=this.lightdark&&getComputedStyle(this.lightdark.nativeElement).color==="rgb(0, 0, 0)"?"dark":"light";this.service.setInfo({colors:e,type:o})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-theme-emitter"]],viewQuery:function(o,r){if(o&1&&(z(Xt,5),z(J,5)),o&2){let l;M(l=A())&&(r.lightdark=l.first),M(l=A())&&(r.elements=l)}},standalone:!0,features:[b],decls:5,vars:0,consts:[["lightdark",""],[3,"color"],[1,"theme-emitter-lightdark"]],template:function(o,r){o&1&&(T(0),S(1,Ut,1,1,"app-theme-emitter-color",1,ce),d(3,"div",2,0),x()),o&2&&(i(),C(r.themeColors))},dependencies:[J],styles:["[_nghost-%COMP%]{display:none}.theme-emitter-color.background[_ngcontent-%COMP%]{color:var(--mat-app-background-color)}.theme-emitter-color.foreground[_ngcontent-%COMP%]{color:var(--mat-app-text-color)}"]})}}return t})();var Qt=["*"],Yt=(t,a)=>a.key,Jt=(t,a)=>a.id,Zt=()=>({service:"Discord"}),$t=()=>({service:"GitHub"}),eo=()=>({service:"OpenCollective"});function to(t,a){if(t&1&&(s(0,"h1")(1,"a",22),d(2,"mat-icon",23),s(3,"span",24),c(4,"bitmagnet"),n(),d(5,"app-version"),n()(),s(6,"nav")(7,"a",25,3),d(9,"mat-icon",23),c(10),n(),s(11,"a",26,4)(13,"mat-icon"),c(14,"dashboard"),n(),c(15),n()()),t&2){let e=k(8),o=k(12),r=_().$implicit;i(7),v(e.isActive?"active":""),i(3),K(" ",r("routes.torrents")," "),i(),v(o.isActive?"active":""),i(4),K(" ",r("routes.dashboard")," ")}}function oo(t,a){if(t&1&&(s(0,"h1")(1,"a",27),d(2,"mat-icon",23),n()(),s(3,"button",28,4)(5,"mat-icon"),c(6,"dashboard"),n()()),t&2){let e=k(4),o=_().$implicit;i(3),v(e.isActive?"active":""),h("matTooltip",o("routes.dashboard"))}}function ao(t,a){if(t&1){let e=G();s(0,"a",29),N("click",function(){let r=R(e).$implicit,l=_(2);return H(l.themeManager.setTheme(r.key))}),s(1,"mat-icon"),c(2),n(),c(3),n()}if(t&2){let e=a.$implicit,o=_(2);v(e.key===o.themeManager.selectedTheme?"active":""),i(2),f(e.dark?"dark_mode":"light_mode"),i(),f(e.label)}}function ro(t,a){if(t&1){let e=G();s(0,"a",30),N("click",function(){let r=R(e).$implicit,l=_(2);return H(l.translateManager.setLanguage(r.id))}),c(1),n()}if(t&2){let e=a.$implicit,o=_().$implicit,r=_();v(e.id===r.translateManager.getPreferredLanguage()?"active":""),h("matTooltip",e.id===r.translateManager.getPreferredLanguage()?void 0:o("languages."+e.id)),i(),f(e.label)}}function no(t,a){if(t&1&&(s(0,"a",19)(1,"mat-icon"),c(2,"favorite"),n()()),t&2){let e=_().$implicit;h("matTooltip",e("layout.sponsor"))}}function so(t,a){if(t&1&&(s(0,"a",20)(1,"mat-icon"),c(2,"favorite"),n(),c(3),n()),t&2){let e=_().$implicit;h("matTooltip",e("layout.support_bitmagnet")),i(3),f(e("layout.sponsor"))}}function io(t,a){if(t&1&&(T(0),s(1,"mat-toolbar",6),w(2,to,16,6)(3,oo,7,3),d(4,"span",7)(5,"app-health-widget"),s(6,"button",8)(7,"mat-icon"),c(8,"apparel"),n()(),s(9,"mat-menu",9,0),S(11,ao,4,4,"a",10,Yt),n(),s(13,"button",11)(14,"mat-icon"),c(15,"translate"),n()(),s(16,"mat-menu",9,1),S(18,ro,2,4,"a",12,Jt),n(),s(20,"button",13),d(21,"mat-icon",14),n(),s(22,"mat-menu",9,2)(24,"a",15),c(25,"bitmagnet.io"),n(),s(26,"a",16),c(27),n(),s(28,"a",17),c(29),n(),s(30,"a",18),c(31),n()(),w(32,no,3,1,"a",19)(33,so,4,2,"a",20),n(),s(34,"div",21),_e(35),n(),d(36,"app-theme-emitter"),x()),t&2){let e=a.$implicit,o=k(10),r=k(17),l=k(23),m=_();i(2),O(m.breakpoints.sizeAtLeast("Medium")?2:3),i(4),h("matMenuTriggerFor",o)("matTooltip",e("layout.change_theme")),i(5),C(m.themeManager.themes),i(2),h("matMenuTriggerFor",r)("matTooltip",e("layout.translate")),i(5),C(m.translateManager.availableLanguages),i(2),h("matTooltip",e("layout.external_links"))("matMenuTriggerFor",l),i(7),f(e("layout.bitmagnet_on_service",P(11,Zt))),i(2),f(e("layout.bitmagnet_on_service",P(12,$t))),i(2),f(e("layout.bitmagnet_on_service",P(13,eo))),i(),O(m.breakpoints.sizeAtLeast("Medium")?33:32)}}var bt=(()=>{class t{constructor(){this.themeManager=u(B),this.translateManager=u(gt),this.breakpoints=u(Oe),this.title=u(be),this.router=u(ke),this.health=u(Ge)}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-layout"]],standalone:!0,features:[b],ngContentSelectors:Qt,decls:1,vars:0,consts:[["themesMenu","matMenu"],["languagesMenu","matMenu"],["externalLinksMenu","matMenu"],["linkTorrents","routerLinkActive"],["linkDashboard","routerLinkActive"],[4,"transloco"],[1,"toolbar-header"],[1,"spacer"],["mat-icon-button","","aria-label","Theme",3,"matMenuTriggerFor","matTooltip"],[1,"layout-header-menu"],["mat-menu-item","",3,"class"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","class"],["mat-icon-button","",3,"matTooltip","matMenuTriggerFor"],["svgIcon","external-link"],["mat-menu-item","","href","https://bitmagnet.io","target","_blank"],["mat-menu-item","","href","https://discord.gg/6mFNszX8qM","target","_blank"],["mat-menu-item","","href","https://github.com/bitmagnet-io/bitmagnet","target","_blank"],["mat-menu-item","","href","https://opencollective.com/bitmagnet","target","_blank"],["mat-icon-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],["mat-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],[1,"app-content"],["routerLink","torrents"],["svgIcon","magnet"],[1,"name"],["mat-button","","routerLink","torrents","routerLinkActive",""],["mat-button","","routerLink","dashboard","routerLinkActive",""],["routerLink","/torrents"],["mat-icon-button","","routerLink","dashboard","routerLinkActive","",3,"matTooltip"],["mat-menu-item","",3,"click"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click","matTooltip"]],template:function(o,r){o&1&&(de(),w(0,io,37,14,"ng-container",5))},dependencies:[I,Pe,Ee,De,Fe,Re,Be,He,Ve,j,we,Te,E,Ke,Ne,ft,ht],styles:[".mat-toolbar.toolbar-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:10;--mat-toolbar-title-text-size: 22px;--mat-toolbar-standard-height: 56px;--mat-icon-color: #fff;padding:0 20px;--mdc-text-button-label-text-size: 15px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:-2px;margin-right:20px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:4px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{margin-left:10px;margin-right:16px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] app-version[_ngcontent-%COMP%]{font-size:13px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]{margin-left:6px;--mdc-text-button-label-text-weight: bold;--mat-text-button-horizontal-padding: 12px;--mdc-text-button-container-height: 30px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{position:absolute;left:340px;top:0;height:56px;padding-top:14px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:10px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] mat-icon[data-mat-icon-name=magnet][_ngcontent-%COMP%]{margin-top:-5px;overflow:visible}.app-content[_ngcontent-%COMP%]{z-index:1}.layout-header-menu[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{font-weight:700}"]})}}return t})();var yt=(t,a)=>t.setDefaultFontSetClass("material-icons-outlined","material-symbols-outlined").addSvgIcon("magnet",a.bypassSecurityTrustResourceUrl("magnet.svg")).addSvgIcon("external-link",a.bypassSecurityTrustResourceUrl("external-link.svg")).addSvgIcon("binary",a.bypassSecurityTrustResourceUrl("binary.svg")).addSvgIcon("queue",a.bypassSecurityTrustResourceUrl("queue.svg"));var vt=(()=>{class t{constructor(e,o){this.title="bitmagnet",yt(e,o)}static{this.\u0275fac=function(o){return new(o||t)(V(Le),V(ye))}}static{this.\u0275cmp=g({type:t,selectors:[["app-root"]],standalone:!0,features:[b],decls:2,vars:0,template:function(o,r){o&1&&(s(0,"app-layout"),d(1,"router-outlet"),n())},dependencies:[ve,bt]})}}return t})();fe(vt,dt).catch(t=>console.error(t)); From 595ef930c813e3c56a97e38fdb5d55b9857f3d4c Mon Sep 17 00:00:00 2001 From: rraymondgh Date: Mon, 3 Mar 2025 18:22:13 +0000 Subject: [PATCH 08/14] complete Merge remote-tracking branch 'upstream/main' into download --- internal/gql/gql.gen.go | 1574 ++++++++++------- internal/gql/gqlmodel/gen/model.gen.go | 2 +- webui/dist/bitmagnet/3rdpartylicenses.txt | 130 +- .../dist/bitmagnet/browser/chunk-2DNC66PX.js | 1 - .../dist/bitmagnet/browser/chunk-3IKCDSDW.js | 1 + .../dist/bitmagnet/browser/chunk-42PJPEMD.js | 1 + .../dist/bitmagnet/browser/chunk-6NVKEHMV.js | 1 - .../{chunk-VRXOKWLG.js => chunk-772YMJAF.js} | 2 +- .../dist/bitmagnet/browser/chunk-7HDEVHSY.js | 1 - .../dist/bitmagnet/browser/chunk-7SFHH767.js | 1 + .../dist/bitmagnet/browser/chunk-B2KTWFU6.js | 1 - .../dist/bitmagnet/browser/chunk-BF5UYWQS.js | 1 - .../dist/bitmagnet/browser/chunk-BFXZYWVF.js | 1 + .../dist/bitmagnet/browser/chunk-BYSPLPNN.js | 1 + .../dist/bitmagnet/browser/chunk-CCCAKKZT.js | 1 - .../{chunk-ZBBMS7J5.js => chunk-CMNWCZJM.js} | 4 +- .../dist/bitmagnet/browser/chunk-DSEDLZDW.js | 1 + .../dist/bitmagnet/browser/chunk-DZT5WVMO.js | 1 + .../dist/bitmagnet/browser/chunk-E7M2745X.js | 1 + .../dist/bitmagnet/browser/chunk-EBLD3IWA.js | 1 + .../dist/bitmagnet/browser/chunk-FJILXII2.js | 7 - .../dist/bitmagnet/browser/chunk-FNMD7JET.js | 2 + .../dist/bitmagnet/browser/chunk-GLXU5TTY.js | 1 + .../dist/bitmagnet/browser/chunk-HZYDZMJ4.js | 435 +++++ .../dist/bitmagnet/browser/chunk-ISB6LSNT.js | 1 + .../dist/bitmagnet/browser/chunk-ISQ7AX2Q.js | 1 + .../dist/bitmagnet/browser/chunk-JS3YJKHP.js | 1 - .../{chunk-R6LGJCCV.js => chunk-KZMLKX77.js} | 2 +- .../dist/bitmagnet/browser/chunk-N3JJ3NXQ.js | 1 - .../dist/bitmagnet/browser/chunk-NEBTMJTJ.js | 1 - .../dist/bitmagnet/browser/chunk-NJLU6UWE.js | 1 + .../dist/bitmagnet/browser/chunk-OQYWMLJI.js | 1 - .../dist/bitmagnet/browser/chunk-OUPXCRLE.js | 1 + .../{chunk-3AJEMLV6.js => chunk-P4IGP6ZM.js} | 2 +- .../dist/bitmagnet/browser/chunk-PX3TOMGC.js | 1 + .../dist/bitmagnet/browser/chunk-QR34FW2E.js | 1 - .../dist/bitmagnet/browser/chunk-RD4V5RUF.js | 1 - .../dist/bitmagnet/browser/chunk-RQ2LQKI2.js | 1 + .../dist/bitmagnet/browser/chunk-RTNXCXB5.js | 3 - .../dist/bitmagnet/browser/chunk-SF7T53WL.js | 1 + .../dist/bitmagnet/browser/chunk-W2FDHTDN.js | 1 - .../dist/bitmagnet/browser/chunk-WC5EMJNC.js | 3 + .../dist/bitmagnet/browser/chunk-WMBLMVKT.js | 1 + .../dist/bitmagnet/browser/chunk-XSWMZFX5.js | 1 - .../{chunk-VHNPENGG.js => chunk-Y7K23DTG.js} | 2 +- .../dist/bitmagnet/browser/chunk-Z3WUIYN5.js | 7 + .../dist/bitmagnet/browser/chunk-Z5TALIEZ.js | 1 - .../dist/bitmagnet/browser/chunk-Z6GE3BUT.js | 429 ----- .../dist/bitmagnet/browser/chunk-ZF4WX6G7.js | 2 - webui/dist/bitmagnet/browser/index.html | 4 +- webui/dist/bitmagnet/browser/main-BAOK3W2A.js | 1 + webui/dist/bitmagnet/browser/main-FQGK2CWS.js | 1 - .../bitmagnet/browser/styles-G2MF5VCJ.css | 1 + .../bitmagnet/browser/styles-RRNC7ICR.css | 1 - 54 files changed, 1505 insertions(+), 1142 deletions(-) delete mode 100644 webui/dist/bitmagnet/browser/chunk-2DNC66PX.js create mode 100644 webui/dist/bitmagnet/browser/chunk-3IKCDSDW.js create mode 100644 webui/dist/bitmagnet/browser/chunk-42PJPEMD.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-6NVKEHMV.js rename webui/dist/bitmagnet/browser/{chunk-VRXOKWLG.js => chunk-772YMJAF.js} (69%) delete mode 100644 webui/dist/bitmagnet/browser/chunk-7HDEVHSY.js create mode 100644 webui/dist/bitmagnet/browser/chunk-7SFHH767.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-B2KTWFU6.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-BF5UYWQS.js create mode 100644 webui/dist/bitmagnet/browser/chunk-BFXZYWVF.js create mode 100644 webui/dist/bitmagnet/browser/chunk-BYSPLPNN.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-CCCAKKZT.js rename webui/dist/bitmagnet/browser/{chunk-ZBBMS7J5.js => chunk-CMNWCZJM.js} (98%) create mode 100644 webui/dist/bitmagnet/browser/chunk-DSEDLZDW.js create mode 100644 webui/dist/bitmagnet/browser/chunk-DZT5WVMO.js create mode 100644 webui/dist/bitmagnet/browser/chunk-E7M2745X.js create mode 100644 webui/dist/bitmagnet/browser/chunk-EBLD3IWA.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-FJILXII2.js create mode 100644 webui/dist/bitmagnet/browser/chunk-FNMD7JET.js create mode 100644 webui/dist/bitmagnet/browser/chunk-GLXU5TTY.js create mode 100644 webui/dist/bitmagnet/browser/chunk-HZYDZMJ4.js create mode 100644 webui/dist/bitmagnet/browser/chunk-ISB6LSNT.js create mode 100644 webui/dist/bitmagnet/browser/chunk-ISQ7AX2Q.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-JS3YJKHP.js rename webui/dist/bitmagnet/browser/{chunk-R6LGJCCV.js => chunk-KZMLKX77.js} (99%) delete mode 100644 webui/dist/bitmagnet/browser/chunk-N3JJ3NXQ.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-NEBTMJTJ.js create mode 100644 webui/dist/bitmagnet/browser/chunk-NJLU6UWE.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-OQYWMLJI.js create mode 100644 webui/dist/bitmagnet/browser/chunk-OUPXCRLE.js rename webui/dist/bitmagnet/browser/{chunk-3AJEMLV6.js => chunk-P4IGP6ZM.js} (81%) create mode 100644 webui/dist/bitmagnet/browser/chunk-PX3TOMGC.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-QR34FW2E.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-RD4V5RUF.js create mode 100644 webui/dist/bitmagnet/browser/chunk-RQ2LQKI2.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-RTNXCXB5.js create mode 100644 webui/dist/bitmagnet/browser/chunk-SF7T53WL.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-W2FDHTDN.js create mode 100644 webui/dist/bitmagnet/browser/chunk-WC5EMJNC.js create mode 100644 webui/dist/bitmagnet/browser/chunk-WMBLMVKT.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-XSWMZFX5.js rename webui/dist/bitmagnet/browser/{chunk-VHNPENGG.js => chunk-Y7K23DTG.js} (99%) create mode 100644 webui/dist/bitmagnet/browser/chunk-Z3WUIYN5.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-Z5TALIEZ.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-Z6GE3BUT.js delete mode 100644 webui/dist/bitmagnet/browser/chunk-ZF4WX6G7.js create mode 100644 webui/dist/bitmagnet/browser/main-BAOK3W2A.js delete mode 100644 webui/dist/bitmagnet/browser/main-FQGK2CWS.js create mode 100644 webui/dist/bitmagnet/browser/styles-G2MF5VCJ.css delete mode 100644 webui/dist/bitmagnet/browser/styles-RRNC7ICR.css diff --git a/internal/gql/gql.gen.go b/internal/gql/gql.gen.go index e543aa07..b1fa1b67 100644 --- a/internal/gql/gql.gen.go +++ b/internal/gql/gql.gen.go @@ -372,6 +372,7 @@ type ComplexityRoot struct { Delete func(childComplexity int, infoHashes []protocol.ID) int DeleteTags func(childComplexity int, infoHashes []protocol.ID, tagNames []string) int PutTags func(childComplexity int, infoHashes []protocol.ID, tagNames []string) int + Reprocess func(childComplexity int, input gen.TorrentReprocessInput) int SetTags func(childComplexity int, infoHashes []protocol.ID, tagNames []string) int } @@ -475,6 +476,7 @@ type TorrentMutationResolver interface { PutTags(ctx context.Context, obj *gqlmodel.TorrentMutation, infoHashes []protocol.ID, tagNames []string) (*string, error) SetTags(ctx context.Context, obj *gqlmodel.TorrentMutation, infoHashes []protocol.ID, tagNames []string) (*string, error) DeleteTags(ctx context.Context, obj *gqlmodel.TorrentMutation, infoHashes []protocol.ID, tagNames []string) (*string, error) + Reprocess(ctx context.Context, obj *gqlmodel.TorrentMutation, input gen.TorrentReprocessInput) (*string, error) } type TorrentQueryResolver interface { Files(ctx context.Context, obj *gqlmodel.TorrentQuery, input gqlmodel.TorrentFilesQueryInput) (query.GenericResult[model.TorrentFile], error) @@ -498,7 +500,7 @@ func (e *executableSchema) Schema() *ast.Schema { return parsedSchema } -func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) { +func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]any) (int, bool) { ec := executionContext{nil, e, 0, 0, nil} _ = ec switch typeName + "." + field { @@ -1885,6 +1887,18 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.TorrentMutation.PutTags(childComplexity, args["infoHashes"].([]protocol.ID), args["tagNames"].([]string)), true + case "TorrentMutation.reprocess": + if e.complexity.TorrentMutation.Reprocess == nil { + break + } + + args, err := ec.field_TorrentMutation_reprocess_args(context.TODO(), rawArgs) + if err != nil { + return 0, false + } + + return e.complexity.TorrentMutation.Reprocess(childComplexity, args["input"].(gen.TorrentReprocessInput)), true + case "TorrentMutation.setTags": if e.complexity.TorrentMutation.SetTags == nil { break @@ -2141,8 +2155,8 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in } func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { - rc := graphql.GetOperationContext(ctx) - ec := executionContext{rc, e, 0, 0, make(chan graphql.DeferredResult)} + opCtx := graphql.GetOperationContext(ctx) + ec := executionContext{opCtx, e, 0, 0, make(chan graphql.DeferredResult)} inputUnmarshalMap := graphql.BuildUnmarshalerMap( ec.unmarshalInputContentTypeFacetInput, ec.unmarshalInputGenreFacetInput, @@ -2164,6 +2178,7 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { ec.unmarshalInputTorrentFilesOrderByInput, ec.unmarshalInputTorrentFilesQueryInput, ec.unmarshalInputTorrentMetricsQueryInput, + ec.unmarshalInputTorrentReprocessInput, ec.unmarshalInputTorrentSourceFacetInput, ec.unmarshalInputTorrentTagFacetInput, ec.unmarshalInputVideoResolutionFacetInput, @@ -2171,7 +2186,7 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { ) first := true - switch rc.Operation.Operation { + switch opCtx.Operation.Operation { case ast.Query: return func(ctx context.Context) *graphql.Response { var response graphql.Response @@ -2179,7 +2194,7 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { if first { first = false ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap) - data = ec._Query(ctx, rc.Operation.SelectionSet) + data = ec._Query(ctx, opCtx.Operation.SelectionSet) } else { if atomic.LoadInt32(&ec.pendingDeferred) > 0 { result := <-ec.deferredResults @@ -2209,7 +2224,7 @@ func (e *executableSchema) Exec(ctx context.Context) graphql.ResponseHandler { } first = false ctx = graphql.WithUnmarshalerMap(ctx, inputUnmarshalMap) - data := ec._Mutation(ctx, rc.Operation.SelectionSet) + data := ec._Mutation(ctx, opCtx.Operation.SelectionSet) var buf bytes.Buffer data.MarshalGQL(&buf) @@ -2438,11 +2453,11 @@ enum QueueJobsOrderByField { priority } - enum ClientID { - Transmission - QBittorrent -}`, BuiltIn: false}, + Transmission + QBittorrent +} +`, BuiltIn: false}, {Name: "../../graphql/schema/metrics.graphqls", Input: `enum MetricsBucketDuration { minute hour @@ -2635,6 +2650,15 @@ type TorrentMutation { putTags(infoHashes: [Hash20!]!, tagNames: [String!]!): Void setTags(infoHashes: [Hash20!]!, tagNames: [String!]!): Void deleteTags(infoHashes: [Hash20!], tagNames: [String!]): Void + reprocess(input: TorrentReprocessInput!): Void +} + +input TorrentReprocessInput { + infoHashes: [Hash20!]! + classifierRematch: Boolean + classifierWorkflow: String + apisDisabled: Boolean + localSearchDisabled: Boolean } type DownloadClientMutation { @@ -2799,6 +2823,7 @@ enum QueueJobStatus { } input QueueEnqueueReprocessTorrentsBatchInput { + purge: Boolean batchSize: Int chunkSize: Int contentTypes: [ContentType] @@ -3026,9 +3051,9 @@ var parsedSchema = gqlparser.MustLoadSchema(sources...) // region ***************************** args.gotpl ***************************** -func (ec *executionContext) field_DownloadClientMutation_download_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_DownloadClientMutation_download_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_DownloadClientMutation_download_argsInfoHashes(ctx, rawArgs) if err != nil { return nil, err @@ -3038,13 +3063,9 @@ func (ec *executionContext) field_DownloadClientMutation_download_args(ctx conte } func (ec *executionContext) field_DownloadClientMutation_download_argsInfoHashes( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) ([]protocol.ID, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["infoHashes"] - if !ok { + if _, ok := rawArgs["infoHashes"]; !ok { var zeroVal []protocol.ID return zeroVal, nil } @@ -3058,9 +3079,9 @@ func (ec *executionContext) field_DownloadClientMutation_download_argsInfoHashes return zeroVal, nil } -func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_Query___type_argsName(ctx, rawArgs) if err != nil { return nil, err @@ -3070,13 +3091,9 @@ func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs } func (ec *executionContext) field_Query___type_argsName( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["name"] - if !ok { + if _, ok := rawArgs["name"]; !ok { var zeroVal string return zeroVal, nil } @@ -3090,9 +3107,9 @@ func (ec *executionContext) field_Query___type_argsName( return zeroVal, nil } -func (ec *executionContext) field_QueueMutation_enqueueReprocessTorrentsBatch_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_QueueMutation_enqueueReprocessTorrentsBatch_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_QueueMutation_enqueueReprocessTorrentsBatch_argsInput(ctx, rawArgs) if err != nil { return nil, err @@ -3102,13 +3119,9 @@ func (ec *executionContext) field_QueueMutation_enqueueReprocessTorrentsBatch_ar } func (ec *executionContext) field_QueueMutation_enqueueReprocessTorrentsBatch_argsInput( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (manager.EnqueueReprocessTorrentsBatchRequest, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { + if _, ok := rawArgs["input"]; !ok { var zeroVal manager.EnqueueReprocessTorrentsBatchRequest return zeroVal, nil } @@ -3122,9 +3135,9 @@ func (ec *executionContext) field_QueueMutation_enqueueReprocessTorrentsBatch_ar return zeroVal, nil } -func (ec *executionContext) field_QueueMutation_purgeJobs_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_QueueMutation_purgeJobs_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_QueueMutation_purgeJobs_argsInput(ctx, rawArgs) if err != nil { return nil, err @@ -3134,13 +3147,9 @@ func (ec *executionContext) field_QueueMutation_purgeJobs_args(ctx context.Conte } func (ec *executionContext) field_QueueMutation_purgeJobs_argsInput( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (manager.PurgeJobsRequest, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { + if _, ok := rawArgs["input"]; !ok { var zeroVal manager.PurgeJobsRequest return zeroVal, nil } @@ -3154,9 +3163,9 @@ func (ec *executionContext) field_QueueMutation_purgeJobs_argsInput( return zeroVal, nil } -func (ec *executionContext) field_QueueQuery_jobs_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_QueueQuery_jobs_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_QueueQuery_jobs_argsInput(ctx, rawArgs) if err != nil { return nil, err @@ -3166,13 +3175,9 @@ func (ec *executionContext) field_QueueQuery_jobs_args(ctx context.Context, rawA } func (ec *executionContext) field_QueueQuery_jobs_argsInput( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (gqlmodel.QueueJobsQueryInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { + if _, ok := rawArgs["input"]; !ok { var zeroVal gqlmodel.QueueJobsQueryInput return zeroVal, nil } @@ -3186,9 +3191,9 @@ func (ec *executionContext) field_QueueQuery_jobs_argsInput( return zeroVal, nil } -func (ec *executionContext) field_QueueQuery_metrics_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_QueueQuery_metrics_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_QueueQuery_metrics_argsInput(ctx, rawArgs) if err != nil { return nil, err @@ -3198,13 +3203,9 @@ func (ec *executionContext) field_QueueQuery_metrics_args(ctx context.Context, r } func (ec *executionContext) field_QueueQuery_metrics_argsInput( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (gen.QueueMetricsQueryInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { + if _, ok := rawArgs["input"]; !ok { var zeroVal gen.QueueMetricsQueryInput return zeroVal, nil } @@ -3218,9 +3219,9 @@ func (ec *executionContext) field_QueueQuery_metrics_argsInput( return zeroVal, nil } -func (ec *executionContext) field_TorrentContentQuery_search_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_TorrentContentQuery_search_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_TorrentContentQuery_search_argsInput(ctx, rawArgs) if err != nil { return nil, err @@ -3230,13 +3231,9 @@ func (ec *executionContext) field_TorrentContentQuery_search_args(ctx context.Co } func (ec *executionContext) field_TorrentContentQuery_search_argsInput( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (gqlmodel.TorrentContentSearchQueryInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { + if _, ok := rawArgs["input"]; !ok { var zeroVal gqlmodel.TorrentContentSearchQueryInput return zeroVal, nil } @@ -3250,9 +3247,9 @@ func (ec *executionContext) field_TorrentContentQuery_search_argsInput( return zeroVal, nil } -func (ec *executionContext) field_TorrentMutation_deleteTags_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_TorrentMutation_deleteTags_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_TorrentMutation_deleteTags_argsInfoHashes(ctx, rawArgs) if err != nil { return nil, err @@ -3267,13 +3264,9 @@ func (ec *executionContext) field_TorrentMutation_deleteTags_args(ctx context.Co } func (ec *executionContext) field_TorrentMutation_deleteTags_argsInfoHashes( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) ([]protocol.ID, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["infoHashes"] - if !ok { + if _, ok := rawArgs["infoHashes"]; !ok { var zeroVal []protocol.ID return zeroVal, nil } @@ -3289,13 +3282,9 @@ func (ec *executionContext) field_TorrentMutation_deleteTags_argsInfoHashes( func (ec *executionContext) field_TorrentMutation_deleteTags_argsTagNames( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) ([]string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["tagNames"] - if !ok { + if _, ok := rawArgs["tagNames"]; !ok { var zeroVal []string return zeroVal, nil } @@ -3309,9 +3298,9 @@ func (ec *executionContext) field_TorrentMutation_deleteTags_argsTagNames( return zeroVal, nil } -func (ec *executionContext) field_TorrentMutation_delete_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_TorrentMutation_delete_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_TorrentMutation_delete_argsInfoHashes(ctx, rawArgs) if err != nil { return nil, err @@ -3321,13 +3310,9 @@ func (ec *executionContext) field_TorrentMutation_delete_args(ctx context.Contex } func (ec *executionContext) field_TorrentMutation_delete_argsInfoHashes( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) ([]protocol.ID, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["infoHashes"] - if !ok { + if _, ok := rawArgs["infoHashes"]; !ok { var zeroVal []protocol.ID return zeroVal, nil } @@ -3341,9 +3326,9 @@ func (ec *executionContext) field_TorrentMutation_delete_argsInfoHashes( return zeroVal, nil } -func (ec *executionContext) field_TorrentMutation_putTags_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_TorrentMutation_putTags_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_TorrentMutation_putTags_argsInfoHashes(ctx, rawArgs) if err != nil { return nil, err @@ -3358,13 +3343,9 @@ func (ec *executionContext) field_TorrentMutation_putTags_args(ctx context.Conte } func (ec *executionContext) field_TorrentMutation_putTags_argsInfoHashes( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) ([]protocol.ID, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["infoHashes"] - if !ok { + if _, ok := rawArgs["infoHashes"]; !ok { var zeroVal []protocol.ID return zeroVal, nil } @@ -3380,13 +3361,9 @@ func (ec *executionContext) field_TorrentMutation_putTags_argsInfoHashes( func (ec *executionContext) field_TorrentMutation_putTags_argsTagNames( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) ([]string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["tagNames"] - if !ok { + if _, ok := rawArgs["tagNames"]; !ok { var zeroVal []string return zeroVal, nil } @@ -3400,9 +3377,37 @@ func (ec *executionContext) field_TorrentMutation_putTags_argsTagNames( return zeroVal, nil } -func (ec *executionContext) field_TorrentMutation_setTags_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_TorrentMutation_reprocess_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} + arg0, err := ec.field_TorrentMutation_reprocess_argsInput(ctx, rawArgs) + if err != nil { + return nil, err + } + args["input"] = arg0 + return args, nil +} +func (ec *executionContext) field_TorrentMutation_reprocess_argsInput( + ctx context.Context, + rawArgs map[string]any, +) (gen.TorrentReprocessInput, error) { + if _, ok := rawArgs["input"]; !ok { + var zeroVal gen.TorrentReprocessInput + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("input")) + if tmp, ok := rawArgs["input"]; ok { + return ec.unmarshalNTorrentReprocessInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentReprocessInput(ctx, tmp) + } + + var zeroVal gen.TorrentReprocessInput + return zeroVal, nil +} + +func (ec *executionContext) field_TorrentMutation_setTags_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { + var err error + args := map[string]any{} arg0, err := ec.field_TorrentMutation_setTags_argsInfoHashes(ctx, rawArgs) if err != nil { return nil, err @@ -3417,13 +3422,9 @@ func (ec *executionContext) field_TorrentMutation_setTags_args(ctx context.Conte } func (ec *executionContext) field_TorrentMutation_setTags_argsInfoHashes( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) ([]protocol.ID, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["infoHashes"] - if !ok { + if _, ok := rawArgs["infoHashes"]; !ok { var zeroVal []protocol.ID return zeroVal, nil } @@ -3439,13 +3440,9 @@ func (ec *executionContext) field_TorrentMutation_setTags_argsInfoHashes( func (ec *executionContext) field_TorrentMutation_setTags_argsTagNames( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) ([]string, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["tagNames"] - if !ok { + if _, ok := rawArgs["tagNames"]; !ok { var zeroVal []string return zeroVal, nil } @@ -3459,9 +3456,9 @@ func (ec *executionContext) field_TorrentMutation_setTags_argsTagNames( return zeroVal, nil } -func (ec *executionContext) field_TorrentQuery_files_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_TorrentQuery_files_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_TorrentQuery_files_argsInput(ctx, rawArgs) if err != nil { return nil, err @@ -3471,13 +3468,9 @@ func (ec *executionContext) field_TorrentQuery_files_args(ctx context.Context, r } func (ec *executionContext) field_TorrentQuery_files_argsInput( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (gqlmodel.TorrentFilesQueryInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { + if _, ok := rawArgs["input"]; !ok { var zeroVal gqlmodel.TorrentFilesQueryInput return zeroVal, nil } @@ -3491,9 +3484,9 @@ func (ec *executionContext) field_TorrentQuery_files_argsInput( return zeroVal, nil } -func (ec *executionContext) field_TorrentQuery_metrics_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_TorrentQuery_metrics_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_TorrentQuery_metrics_argsInput(ctx, rawArgs) if err != nil { return nil, err @@ -3503,13 +3496,9 @@ func (ec *executionContext) field_TorrentQuery_metrics_args(ctx context.Context, } func (ec *executionContext) field_TorrentQuery_metrics_argsInput( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (gen.TorrentMetricsQueryInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { + if _, ok := rawArgs["input"]; !ok { var zeroVal gen.TorrentMetricsQueryInput return zeroVal, nil } @@ -3523,9 +3512,9 @@ func (ec *executionContext) field_TorrentQuery_metrics_argsInput( return zeroVal, nil } -func (ec *executionContext) field_TorrentQuery_suggestTags_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field_TorrentQuery_suggestTags_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field_TorrentQuery_suggestTags_argsInput(ctx, rawArgs) if err != nil { return nil, err @@ -3535,13 +3524,9 @@ func (ec *executionContext) field_TorrentQuery_suggestTags_args(ctx context.Cont } func (ec *executionContext) field_TorrentQuery_suggestTags_argsInput( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (*gen.SuggestTagsQueryInput, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["input"] - if !ok { + if _, ok := rawArgs["input"]; !ok { var zeroVal *gen.SuggestTagsQueryInput return zeroVal, nil } @@ -3555,9 +3540,65 @@ func (ec *executionContext) field_TorrentQuery_suggestTags_argsInput( return zeroVal, nil } -func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field___Directive_args_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { + var err error + args := map[string]any{} + arg0, err := ec.field___Directive_args_argsIncludeDeprecated(ctx, rawArgs) + if err != nil { + return nil, err + } + args["includeDeprecated"] = arg0 + return args, nil +} +func (ec *executionContext) field___Directive_args_argsIncludeDeprecated( + ctx context.Context, + rawArgs map[string]any, +) (*bool, error) { + if _, ok := rawArgs["includeDeprecated"]; !ok { + var zeroVal *bool + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated")) + if tmp, ok := rawArgs["includeDeprecated"]; ok { + return ec.unmarshalOBoolean2ᚖbool(ctx, tmp) + } + + var zeroVal *bool + return zeroVal, nil +} + +func (ec *executionContext) field___Field_args_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} + arg0, err := ec.field___Field_args_argsIncludeDeprecated(ctx, rawArgs) + if err != nil { + return nil, err + } + args["includeDeprecated"] = arg0 + return args, nil +} +func (ec *executionContext) field___Field_args_argsIncludeDeprecated( + ctx context.Context, + rawArgs map[string]any, +) (*bool, error) { + if _, ok := rawArgs["includeDeprecated"]; !ok { + var zeroVal *bool + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated")) + if tmp, ok := rawArgs["includeDeprecated"]; ok { + return ec.unmarshalOBoolean2ᚖbool(ctx, tmp) + } + + var zeroVal *bool + return zeroVal, nil +} + +func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { + var err error + args := map[string]any{} arg0, err := ec.field___Type_enumValues_argsIncludeDeprecated(ctx, rawArgs) if err != nil { return nil, err @@ -3567,13 +3608,9 @@ func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, ra } func (ec *executionContext) field___Type_enumValues_argsIncludeDeprecated( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (bool, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["includeDeprecated"] - if !ok { + if _, ok := rawArgs["includeDeprecated"]; !ok { var zeroVal bool return zeroVal, nil } @@ -3587,9 +3624,9 @@ func (ec *executionContext) field___Type_enumValues_argsIncludeDeprecated( return zeroVal, nil } -func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]interface{}) (map[string]interface{}, error) { +func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error - args := map[string]interface{}{} + args := map[string]any{} arg0, err := ec.field___Type_fields_argsIncludeDeprecated(ctx, rawArgs) if err != nil { return nil, err @@ -3599,13 +3636,9 @@ func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArg } func (ec *executionContext) field___Type_fields_argsIncludeDeprecated( ctx context.Context, - rawArgs map[string]interface{}, + rawArgs map[string]any, ) (bool, error) { - // We won't call the directive if the argument is null. - // Set call_argument_directives_with_null to true to call directives - // even if the argument is null. - _, ok := rawArgs["includeDeprecated"] - if !ok { + if _, ok := rawArgs["includeDeprecated"]; !ok { var zeroVal bool return zeroVal, nil } @@ -3639,7 +3672,7 @@ func (ec *executionContext) _Content_type(ctx context.Context, field graphql.Col ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Type, nil }) @@ -3683,7 +3716,7 @@ func (ec *executionContext) _Content_source(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Source, nil }) @@ -3727,7 +3760,7 @@ func (ec *executionContext) _Content_id(ctx context.Context, field graphql.Colle ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ID, nil }) @@ -3771,7 +3804,7 @@ func (ec *executionContext) _Content_title(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Title, nil }) @@ -3815,7 +3848,7 @@ func (ec *executionContext) _Content_releaseDate(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ReleaseDate, nil }) @@ -3856,7 +3889,7 @@ func (ec *executionContext) _Content_releaseYear(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ReleaseYear, nil }) @@ -3897,7 +3930,7 @@ func (ec *executionContext) _Content_adult(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Adult, nil }) @@ -3938,7 +3971,7 @@ func (ec *executionContext) _Content_originalLanguage(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Content().OriginalLanguage(rctx, obj) }) @@ -3985,7 +4018,7 @@ func (ec *executionContext) _Content_originalTitle(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OriginalTitle, nil }) @@ -4026,7 +4059,7 @@ func (ec *executionContext) _Content_overview(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Overview, nil }) @@ -4067,7 +4100,7 @@ func (ec *executionContext) _Content_runtime(ctx context.Context, field graphql. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Runtime, nil }) @@ -4108,7 +4141,7 @@ func (ec *executionContext) _Content_popularity(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Popularity, nil }) @@ -4149,7 +4182,7 @@ func (ec *executionContext) _Content_voteAverage(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.VoteAverage, nil }) @@ -4190,7 +4223,7 @@ func (ec *executionContext) _Content_voteCount(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.VoteCount, nil }) @@ -4231,7 +4264,7 @@ func (ec *executionContext) _Content_attributes(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Attributes, nil }) @@ -4289,7 +4322,7 @@ func (ec *executionContext) _Content_collections(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Collections, nil }) @@ -4349,7 +4382,7 @@ func (ec *executionContext) _Content_metadataSource(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.MetadataSource, nil }) @@ -4399,7 +4432,7 @@ func (ec *executionContext) _Content_externalLinks(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ExternalLinks(), nil }) @@ -4449,7 +4482,7 @@ func (ec *executionContext) _Content_createdAt(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CreatedAt, nil }) @@ -4493,7 +4526,7 @@ func (ec *executionContext) _Content_updatedAt(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.UpdatedAt, nil }) @@ -4537,7 +4570,7 @@ func (ec *executionContext) _ContentAttribute_source(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Source, nil }) @@ -4581,7 +4614,7 @@ func (ec *executionContext) _ContentAttribute_key(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Key, nil }) @@ -4625,7 +4658,7 @@ func (ec *executionContext) _ContentAttribute_value(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -4669,7 +4702,7 @@ func (ec *executionContext) _ContentAttribute_metadataSource(ctx context.Context ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.MetadataSource, nil }) @@ -4719,7 +4752,7 @@ func (ec *executionContext) _ContentAttribute_createdAt(ctx context.Context, fie ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CreatedAt, nil }) @@ -4763,7 +4796,7 @@ func (ec *executionContext) _ContentAttribute_updatedAt(ctx context.Context, fie ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.UpdatedAt, nil }) @@ -4807,7 +4840,7 @@ func (ec *executionContext) _ContentCollection_type(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Type, nil }) @@ -4851,7 +4884,7 @@ func (ec *executionContext) _ContentCollection_source(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Source, nil }) @@ -4895,7 +4928,7 @@ func (ec *executionContext) _ContentCollection_id(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ID, nil }) @@ -4939,7 +4972,7 @@ func (ec *executionContext) _ContentCollection_name(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -4983,7 +5016,7 @@ func (ec *executionContext) _ContentCollection_metadataSource(ctx context.Contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.MetadataSource, nil }) @@ -5033,7 +5066,7 @@ func (ec *executionContext) _ContentCollection_createdAt(ctx context.Context, fi ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CreatedAt, nil }) @@ -5077,7 +5110,7 @@ func (ec *executionContext) _ContentCollection_updatedAt(ctx context.Context, fi ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.UpdatedAt, nil }) @@ -5121,7 +5154,7 @@ func (ec *executionContext) _ContentTypeAgg_value(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -5162,7 +5195,7 @@ func (ec *executionContext) _ContentTypeAgg_label(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Label, nil }) @@ -5206,7 +5239,7 @@ func (ec *executionContext) _ContentTypeAgg_count(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -5250,7 +5283,7 @@ func (ec *executionContext) _ContentTypeAgg_isEstimate(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsEstimate, nil }) @@ -5294,7 +5327,7 @@ func (ec *executionContext) _DownloadClientConfigQuery_enabled(ctx context.Conte ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Enabled, nil }) @@ -5338,7 +5371,7 @@ func (ec *executionContext) _DownloadClientMutation_download(ctx context.Context ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.DownloadClientMutation().Download(rctx, obj, fc.Args["infoHashes"].([]protocol.ID)) }) @@ -5390,7 +5423,7 @@ func (ec *executionContext) _Episodes_label(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Label, nil }) @@ -5434,7 +5467,7 @@ func (ec *executionContext) _Episodes_seasons(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Seasons, nil }) @@ -5484,7 +5517,7 @@ func (ec *executionContext) _ExternalLink_metadataSource(ctx context.Context, fi ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.MetadataSource, nil }) @@ -5534,7 +5567,7 @@ func (ec *executionContext) _ExternalLink_url(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Url, nil }) @@ -5578,7 +5611,7 @@ func (ec *executionContext) _GenreAgg_value(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -5622,7 +5655,7 @@ func (ec *executionContext) _GenreAgg_label(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Label, nil }) @@ -5666,7 +5699,7 @@ func (ec *executionContext) _GenreAgg_count(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -5710,7 +5743,7 @@ func (ec *executionContext) _GenreAgg_isEstimate(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsEstimate, nil }) @@ -5754,7 +5787,7 @@ func (ec *executionContext) _HealthCheck_key(ctx context.Context, field graphql. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Key, nil }) @@ -5798,7 +5831,7 @@ func (ec *executionContext) _HealthCheck_status(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Status, nil }) @@ -5842,7 +5875,7 @@ func (ec *executionContext) _HealthCheck_timestamp(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Timestamp, nil }) @@ -5886,7 +5919,7 @@ func (ec *executionContext) _HealthCheck_error(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Error, nil }) @@ -5927,7 +5960,7 @@ func (ec *executionContext) _HealthQuery_status(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Status, nil }) @@ -5971,7 +6004,7 @@ func (ec *executionContext) _HealthQuery_checks(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Checks, nil }) @@ -6025,7 +6058,7 @@ func (ec *executionContext) _LanguageAgg_value(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -6069,7 +6102,7 @@ func (ec *executionContext) _LanguageAgg_label(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Label, nil }) @@ -6113,7 +6146,7 @@ func (ec *executionContext) _LanguageAgg_count(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -6157,7 +6190,7 @@ func (ec *executionContext) _LanguageAgg_isEstimate(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsEstimate, nil }) @@ -6201,7 +6234,7 @@ func (ec *executionContext) _LanguageInfo_id(ctx context.Context, field graphql. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Id(), nil }) @@ -6245,7 +6278,7 @@ func (ec *executionContext) _LanguageInfo_name(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name(), nil }) @@ -6289,7 +6322,7 @@ func (ec *executionContext) _MetadataSource_key(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Key, nil }) @@ -6333,7 +6366,7 @@ func (ec *executionContext) _MetadataSource_name(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -6377,7 +6410,7 @@ func (ec *executionContext) _Mutation_torrent(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().Torrent(rctx) }) @@ -6412,6 +6445,8 @@ func (ec *executionContext) fieldContext_Mutation_torrent(_ context.Context, fie return ec.fieldContext_TorrentMutation_setTags(ctx, field) case "deleteTags": return ec.fieldContext_TorrentMutation_deleteTags(ctx, field) + case "reprocess": + return ec.fieldContext_TorrentMutation_reprocess(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type TorrentMutation", field.Name) }, @@ -6431,7 +6466,7 @@ func (ec *executionContext) _Mutation_queue(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().Queue(rctx) }) @@ -6481,7 +6516,7 @@ func (ec *executionContext) _Mutation_downloadclient(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Mutation().Downloadclient(rctx) }) @@ -6529,7 +6564,7 @@ func (ec *executionContext) _Query_version(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().Version(rctx) }) @@ -6573,7 +6608,7 @@ func (ec *executionContext) _Query_workers(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().Workers(rctx) }) @@ -6621,7 +6656,7 @@ func (ec *executionContext) _Query_health(ctx context.Context, field graphql.Col ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().Health(rctx) }) @@ -6671,7 +6706,7 @@ func (ec *executionContext) _Query_queue(ctx context.Context, field graphql.Coll ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().Queue(rctx) }) @@ -6721,7 +6756,7 @@ func (ec *executionContext) _Query_torrent(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().Torrent(rctx) }) @@ -6775,7 +6810,7 @@ func (ec *executionContext) _Query_torrentContent(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().TorrentContent(rctx) }) @@ -6823,7 +6858,7 @@ func (ec *executionContext) _Query_downloadClient(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Query().DownloadClient(rctx) }) @@ -6871,7 +6906,7 @@ func (ec *executionContext) _Query___type(ctx context.Context, field graphql.Col ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.introspectType(fc.Args["name"].(string)) }) @@ -6915,6 +6950,8 @@ func (ec *executionContext) fieldContext_Query___type(ctx context.Context, field return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -6945,7 +6982,7 @@ func (ec *executionContext) _Query___schema(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.introspectSchema() }) @@ -7000,7 +7037,7 @@ func (ec *executionContext) _QueueJob_id(ctx context.Context, field graphql.Coll ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ID, nil }) @@ -7044,7 +7081,7 @@ func (ec *executionContext) _QueueJob_queue(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Queue, nil }) @@ -7088,7 +7125,7 @@ func (ec *executionContext) _QueueJob_status(ctx context.Context, field graphql. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Status, nil }) @@ -7132,7 +7169,7 @@ func (ec *executionContext) _QueueJob_payload(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Payload, nil }) @@ -7176,7 +7213,7 @@ func (ec *executionContext) _QueueJob_priority(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Priority, nil }) @@ -7220,7 +7257,7 @@ func (ec *executionContext) _QueueJob_retries(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Retries, nil }) @@ -7264,7 +7301,7 @@ func (ec *executionContext) _QueueJob_maxRetries(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.MaxRetries, nil }) @@ -7308,7 +7345,7 @@ func (ec *executionContext) _QueueJob_runAfter(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.RunAfter, nil }) @@ -7352,7 +7389,7 @@ func (ec *executionContext) _QueueJob_ranAt(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.QueueJob().RanAt(rctx, obj) }) @@ -7393,7 +7430,7 @@ func (ec *executionContext) _QueueJob_error(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Error, nil }) @@ -7434,7 +7471,7 @@ func (ec *executionContext) _QueueJob_createdAt(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CreatedAt, nil }) @@ -7478,7 +7515,7 @@ func (ec *executionContext) _QueueJobQueueAgg_value(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -7522,7 +7559,7 @@ func (ec *executionContext) _QueueJobQueueAgg_label(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Label, nil }) @@ -7566,7 +7603,7 @@ func (ec *executionContext) _QueueJobQueueAgg_count(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -7610,7 +7647,7 @@ func (ec *executionContext) _QueueJobStatusAgg_value(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -7654,7 +7691,7 @@ func (ec *executionContext) _QueueJobStatusAgg_label(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Label, nil }) @@ -7698,7 +7735,7 @@ func (ec *executionContext) _QueueJobStatusAgg_count(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -7742,7 +7779,7 @@ func (ec *executionContext) _QueueJobsAggregations_queue(ctx context.Context, fi ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Queue, nil }) @@ -7791,7 +7828,7 @@ func (ec *executionContext) _QueueJobsAggregations_status(ctx context.Context, f ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Status, nil }) @@ -7840,7 +7877,7 @@ func (ec *executionContext) _QueueJobsQueryResult_totalCount(ctx context.Context ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.TotalCount, nil }) @@ -7884,7 +7921,7 @@ func (ec *executionContext) _QueueJobsQueryResult_hasNextPage(ctx context.Contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.HasNextPage, nil }) @@ -7925,7 +7962,7 @@ func (ec *executionContext) _QueueJobsQueryResult_items(ctx context.Context, fie ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Items, nil }) @@ -7993,7 +8030,7 @@ func (ec *executionContext) _QueueJobsQueryResult_aggregations(ctx context.Conte ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Aggregations, nil }) @@ -8043,7 +8080,7 @@ func (ec *executionContext) _QueueMetricsBucket_queue(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Queue, nil }) @@ -8087,7 +8124,7 @@ func (ec *executionContext) _QueueMetricsBucket_status(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Status, nil }) @@ -8131,7 +8168,7 @@ func (ec *executionContext) _QueueMetricsBucket_createdAtBucket(ctx context.Cont ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CreatedAtBucket, nil }) @@ -8175,7 +8212,7 @@ func (ec *executionContext) _QueueMetricsBucket_ranAtBucket(ctx context.Context, ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.RanAtBucket, nil }) @@ -8216,7 +8253,7 @@ func (ec *executionContext) _QueueMetricsBucket_count(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -8260,7 +8297,7 @@ func (ec *executionContext) _QueueMetricsBucket_latency(ctx context.Context, fie ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Latency, nil }) @@ -8301,7 +8338,7 @@ func (ec *executionContext) _QueueMetricsQueryResult_buckets(ctx context.Context ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Buckets, nil }) @@ -8359,7 +8396,7 @@ func (ec *executionContext) _QueueMutation_purgeJobs(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PurgeJobs(ctx, fc.Args["input"].(manager.PurgeJobsRequest)) }) @@ -8411,7 +8448,7 @@ func (ec *executionContext) _QueueMutation_enqueueReprocessTorrentsBatch(ctx con ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.EnqueueReprocessTorrentsBatch(ctx, fc.Args["input"].(manager.EnqueueReprocessTorrentsBatchRequest)) }) @@ -8463,7 +8500,7 @@ func (ec *executionContext) _QueueQuery_jobs(ctx context.Context, field graphql. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.QueueQuery().Jobs(rctx, obj, fc.Args["input"].(gqlmodel.QueueJobsQueryInput)) }) @@ -8528,7 +8565,7 @@ func (ec *executionContext) _QueueQuery_metrics(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Metrics(ctx, fc.Args["input"].(gen.QueueMetricsQueryInput)) }) @@ -8587,7 +8624,7 @@ func (ec *executionContext) _ReleaseYearAgg_value(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -8628,7 +8665,7 @@ func (ec *executionContext) _ReleaseYearAgg_label(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Label, nil }) @@ -8672,7 +8709,7 @@ func (ec *executionContext) _ReleaseYearAgg_count(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -8716,7 +8753,7 @@ func (ec *executionContext) _ReleaseYearAgg_isEstimate(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsEstimate, nil }) @@ -8760,7 +8797,7 @@ func (ec *executionContext) _Season_season(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Season, nil }) @@ -8804,7 +8841,7 @@ func (ec *executionContext) _Season_episodes(ctx context.Context, field graphql. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Episodes, nil }) @@ -8845,7 +8882,7 @@ func (ec *executionContext) _SuggestedTag_name(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -8889,7 +8926,7 @@ func (ec *executionContext) _SuggestedTag_count(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -8933,7 +8970,7 @@ func (ec *executionContext) _Torrent_infoHash(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.InfoHash, nil }) @@ -8977,7 +9014,7 @@ func (ec *executionContext) _Torrent_name(ctx context.Context, field graphql.Col ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -9021,7 +9058,7 @@ func (ec *executionContext) _Torrent_size(ctx context.Context, field graphql.Col ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Size, nil }) @@ -9065,7 +9102,7 @@ func (ec *executionContext) _Torrent_hasFilesInfo(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.HasFilesInfo(), nil }) @@ -9109,7 +9146,7 @@ func (ec *executionContext) _Torrent_singleFile(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.SingleFile(), nil }) @@ -9150,7 +9187,7 @@ func (ec *executionContext) _Torrent_extension(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Extension, nil }) @@ -9191,7 +9228,7 @@ func (ec *executionContext) _Torrent_filesStatus(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.FilesStatus, nil }) @@ -9235,7 +9272,7 @@ func (ec *executionContext) _Torrent_filesCount(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.FilesCount, nil }) @@ -9276,7 +9313,7 @@ func (ec *executionContext) _Torrent_fileType(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.FileType(), nil }) @@ -9317,7 +9354,7 @@ func (ec *executionContext) _Torrent_fileTypes(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.FileTypes(), nil }) @@ -9358,7 +9395,7 @@ func (ec *executionContext) _Torrent_files(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Files, nil }) @@ -9417,7 +9454,7 @@ func (ec *executionContext) _Torrent_sources(ctx context.Context, field graphql. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.Torrent().Sources(rctx, obj) }) @@ -9473,7 +9510,7 @@ func (ec *executionContext) _Torrent_seeders(ctx context.Context, field graphql. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Seeders(), nil }) @@ -9514,7 +9551,7 @@ func (ec *executionContext) _Torrent_leechers(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Leechers(), nil }) @@ -9555,7 +9592,7 @@ func (ec *executionContext) _Torrent_tagNames(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.TagNames(), nil }) @@ -9599,7 +9636,7 @@ func (ec *executionContext) _Torrent_magnetUri(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.MagnetUri(), nil }) @@ -9643,7 +9680,7 @@ func (ec *executionContext) _Torrent_createdAt(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CreatedAt, nil }) @@ -9687,7 +9724,7 @@ func (ec *executionContext) _Torrent_updatedAt(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.UpdatedAt, nil }) @@ -9731,7 +9768,7 @@ func (ec *executionContext) _TorrentContent_id(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ID, nil }) @@ -9775,7 +9812,7 @@ func (ec *executionContext) _TorrentContent_infoHash(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.InfoHash, nil }) @@ -9819,7 +9856,7 @@ func (ec *executionContext) _TorrentContent_torrent(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Torrent, nil }) @@ -9901,7 +9938,7 @@ func (ec *executionContext) _TorrentContent_contentType(ctx context.Context, fie ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ContentType, nil }) @@ -9942,7 +9979,7 @@ func (ec *executionContext) _TorrentContent_contentSource(ctx context.Context, f ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ContentSource, nil }) @@ -9983,7 +10020,7 @@ func (ec *executionContext) _TorrentContent_contentId(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ContentID, nil }) @@ -10024,7 +10061,7 @@ func (ec *executionContext) _TorrentContent_content(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Content, nil }) @@ -10107,7 +10144,7 @@ func (ec *executionContext) _TorrentContent_title(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Title, nil }) @@ -10151,7 +10188,7 @@ func (ec *executionContext) _TorrentContent_languages(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Languages, nil }) @@ -10198,7 +10235,7 @@ func (ec *executionContext) _TorrentContent_episodes(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Episodes, nil }) @@ -10245,7 +10282,7 @@ func (ec *executionContext) _TorrentContent_videoResolution(ctx context.Context, ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.VideoResolution, nil }) @@ -10286,7 +10323,7 @@ func (ec *executionContext) _TorrentContent_videoSource(ctx context.Context, fie ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.VideoSource, nil }) @@ -10327,7 +10364,7 @@ func (ec *executionContext) _TorrentContent_videoCodec(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.VideoCodec, nil }) @@ -10368,7 +10405,7 @@ func (ec *executionContext) _TorrentContent_video3d(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Video3D, nil }) @@ -10409,7 +10446,7 @@ func (ec *executionContext) _TorrentContent_videoModifier(ctx context.Context, f ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.VideoModifier, nil }) @@ -10450,7 +10487,7 @@ func (ec *executionContext) _TorrentContent_releaseGroup(ctx context.Context, fi ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ReleaseGroup, nil }) @@ -10491,7 +10528,7 @@ func (ec *executionContext) _TorrentContent_seeders(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Seeders, nil }) @@ -10532,7 +10569,7 @@ func (ec *executionContext) _TorrentContent_leechers(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Leechers, nil }) @@ -10573,7 +10610,7 @@ func (ec *executionContext) _TorrentContent_publishedAt(ctx context.Context, fie ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PublishedAt, nil }) @@ -10617,7 +10654,7 @@ func (ec *executionContext) _TorrentContent_createdAt(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CreatedAt, nil }) @@ -10661,7 +10698,7 @@ func (ec *executionContext) _TorrentContent_updatedAt(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.UpdatedAt, nil }) @@ -10705,7 +10742,7 @@ func (ec *executionContext) _TorrentContentAggregations_contentType(ctx context. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ContentType, nil }) @@ -10756,7 +10793,7 @@ func (ec *executionContext) _TorrentContentAggregations_torrentSource(ctx contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.TorrentSource, nil }) @@ -10807,7 +10844,7 @@ func (ec *executionContext) _TorrentContentAggregations_torrentTag(ctx context.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.TorrentTag, nil }) @@ -10858,7 +10895,7 @@ func (ec *executionContext) _TorrentContentAggregations_torrentFileType(ctx cont ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.TorrentFileType, nil }) @@ -10909,7 +10946,7 @@ func (ec *executionContext) _TorrentContentAggregations_language(ctx context.Con ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Language, nil }) @@ -10960,7 +10997,7 @@ func (ec *executionContext) _TorrentContentAggregations_genre(ctx context.Contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Genre, nil }) @@ -11011,7 +11048,7 @@ func (ec *executionContext) _TorrentContentAggregations_releaseYear(ctx context. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ReleaseYear, nil }) @@ -11062,7 +11099,7 @@ func (ec *executionContext) _TorrentContentAggregations_videoResolution(ctx cont ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.VideoResolution, nil }) @@ -11113,7 +11150,7 @@ func (ec *executionContext) _TorrentContentAggregations_videoSource(ctx context. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.VideoSource, nil }) @@ -11164,7 +11201,7 @@ func (ec *executionContext) _TorrentContentQuery_search(ctx context.Context, fie ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Search(ctx, fc.Args["input"].(gqlmodel.TorrentContentSearchQueryInput)) }) @@ -11231,7 +11268,7 @@ func (ec *executionContext) _TorrentContentSearchResult_totalCount(ctx context.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.TotalCount, nil }) @@ -11275,7 +11312,7 @@ func (ec *executionContext) _TorrentContentSearchResult_totalCountIsEstimate(ctx ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.TotalCountIsEstimate, nil }) @@ -11319,7 +11356,7 @@ func (ec *executionContext) _TorrentContentSearchResult_hasNextPage(ctx context. ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.HasNextPage, nil }) @@ -11360,7 +11397,7 @@ func (ec *executionContext) _TorrentContentSearchResult_items(ctx context.Contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Items, nil }) @@ -11448,7 +11485,7 @@ func (ec *executionContext) _TorrentContentSearchResult_aggregations(ctx context ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Aggregations, nil }) @@ -11512,7 +11549,7 @@ func (ec *executionContext) _TorrentFile_infoHash(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.InfoHash, nil }) @@ -11556,7 +11593,7 @@ func (ec *executionContext) _TorrentFile_index(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Index, nil }) @@ -11600,7 +11637,7 @@ func (ec *executionContext) _TorrentFile_path(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Path, nil }) @@ -11644,7 +11681,7 @@ func (ec *executionContext) _TorrentFile_extension(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Extension, nil }) @@ -11685,7 +11722,7 @@ func (ec *executionContext) _TorrentFile_fileType(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.FileType(), nil }) @@ -11726,7 +11763,7 @@ func (ec *executionContext) _TorrentFile_size(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Size, nil }) @@ -11770,7 +11807,7 @@ func (ec *executionContext) _TorrentFile_createdAt(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.CreatedAt, nil }) @@ -11814,7 +11851,7 @@ func (ec *executionContext) _TorrentFile_updatedAt(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.UpdatedAt, nil }) @@ -11858,7 +11895,7 @@ func (ec *executionContext) _TorrentFileTypeAgg_value(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -11902,7 +11939,7 @@ func (ec *executionContext) _TorrentFileTypeAgg_label(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Label, nil }) @@ -11946,7 +11983,7 @@ func (ec *executionContext) _TorrentFileTypeAgg_count(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -11990,7 +12027,7 @@ func (ec *executionContext) _TorrentFileTypeAgg_isEstimate(ctx context.Context, ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsEstimate, nil }) @@ -12034,7 +12071,7 @@ func (ec *executionContext) _TorrentFilesQueryResult_totalCount(ctx context.Cont ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.TotalCount, nil }) @@ -12078,7 +12115,7 @@ func (ec *executionContext) _TorrentFilesQueryResult_hasNextPage(ctx context.Con ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.HasNextPage, nil }) @@ -12119,7 +12156,7 @@ func (ec *executionContext) _TorrentFilesQueryResult_items(ctx context.Context, ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Items, nil }) @@ -12181,7 +12218,7 @@ func (ec *executionContext) _TorrentListSourcesResult_sources(ctx context.Contex ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Sources, nil }) @@ -12231,7 +12268,7 @@ func (ec *executionContext) _TorrentMetricsBucket_source(ctx context.Context, fi ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Source, nil }) @@ -12275,7 +12312,7 @@ func (ec *executionContext) _TorrentMetricsBucket_bucket(ctx context.Context, fi ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Bucket, nil }) @@ -12319,7 +12356,7 @@ func (ec *executionContext) _TorrentMetricsBucket_updated(ctx context.Context, f ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Updated, nil }) @@ -12363,7 +12400,7 @@ func (ec *executionContext) _TorrentMetricsBucket_count(ctx context.Context, fie ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -12407,7 +12444,7 @@ func (ec *executionContext) _TorrentMetricsQueryResult_buckets(ctx context.Conte ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Buckets, nil }) @@ -12461,7 +12498,7 @@ func (ec *executionContext) _TorrentMutation_delete(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.TorrentMutation().Delete(rctx, obj, fc.Args["infoHashes"].([]protocol.ID)) }) @@ -12513,7 +12550,7 @@ func (ec *executionContext) _TorrentMutation_putTags(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.TorrentMutation().PutTags(rctx, obj, fc.Args["infoHashes"].([]protocol.ID), fc.Args["tagNames"].([]string)) }) @@ -12565,7 +12602,7 @@ func (ec *executionContext) _TorrentMutation_setTags(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.TorrentMutation().SetTags(rctx, obj, fc.Args["infoHashes"].([]protocol.ID), fc.Args["tagNames"].([]string)) }) @@ -12617,7 +12654,7 @@ func (ec *executionContext) _TorrentMutation_deleteTags(ctx context.Context, fie ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.TorrentMutation().DeleteTags(rctx, obj, fc.Args["infoHashes"].([]protocol.ID), fc.Args["tagNames"].([]string)) }) @@ -12657,6 +12694,58 @@ func (ec *executionContext) fieldContext_TorrentMutation_deleteTags(ctx context. return fc, nil } +func (ec *executionContext) _TorrentMutation_reprocess(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.TorrentMutation) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_TorrentMutation_reprocess(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + ctx = rctx // use context from middleware stack in children + return ec.resolvers.TorrentMutation().Reprocess(rctx, obj, fc.Args["input"].(gen.TorrentReprocessInput)) + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(*string) + fc.Result = res + return ec.marshalOVoid2ᚖstring(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_TorrentMutation_reprocess(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "TorrentMutation", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Void does not have child fields") + }, + } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field_TorrentMutation_reprocess_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } + return fc, nil +} + func (ec *executionContext) _TorrentQuery_files(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.TorrentQuery) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentQuery_files(ctx, field) if err != nil { @@ -12669,7 +12758,7 @@ func (ec *executionContext) _TorrentQuery_files(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return ec.resolvers.TorrentQuery().Files(rctx, obj, fc.Args["input"].(gqlmodel.TorrentFilesQueryInput)) }) @@ -12732,7 +12821,7 @@ func (ec *executionContext) _TorrentQuery_listSources(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ListSources(ctx) }) @@ -12780,7 +12869,7 @@ func (ec *executionContext) _TorrentQuery_suggestTags(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.SuggestTags(ctx, fc.Args["input"].(*gen.SuggestTagsQueryInput)) }) @@ -12839,7 +12928,7 @@ func (ec *executionContext) _TorrentQuery_metrics(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Metrics(ctx, fc.Args["input"].(gen.TorrentMetricsQueryInput)) }) @@ -12898,7 +12987,7 @@ func (ec *executionContext) _TorrentSource_key(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Key, nil }) @@ -12942,7 +13031,7 @@ func (ec *executionContext) _TorrentSource_name(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -12986,7 +13075,7 @@ func (ec *executionContext) _TorrentSourceAgg_value(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -13030,7 +13119,7 @@ func (ec *executionContext) _TorrentSourceAgg_label(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Label, nil }) @@ -13074,7 +13163,7 @@ func (ec *executionContext) _TorrentSourceAgg_count(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -13118,7 +13207,7 @@ func (ec *executionContext) _TorrentSourceAgg_isEstimate(ctx context.Context, fi ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsEstimate, nil }) @@ -13162,7 +13251,7 @@ func (ec *executionContext) _TorrentSourceInfo_key(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Key, nil }) @@ -13206,7 +13295,7 @@ func (ec *executionContext) _TorrentSourceInfo_name(ctx context.Context, field g ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -13250,7 +13339,7 @@ func (ec *executionContext) _TorrentSourceInfo_importId(ctx context.Context, fie ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ImportID, nil }) @@ -13291,7 +13380,7 @@ func (ec *executionContext) _TorrentSourceInfo_seeders(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Seeders, nil }) @@ -13332,7 +13421,7 @@ func (ec *executionContext) _TorrentSourceInfo_leechers(ctx context.Context, fie ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Leechers, nil }) @@ -13373,7 +13462,7 @@ func (ec *executionContext) _TorrentSuggestTagsResult_suggestions(ctx context.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Suggestions, nil }) @@ -13423,7 +13512,7 @@ func (ec *executionContext) _TorrentTagAgg_value(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -13467,7 +13556,7 @@ func (ec *executionContext) _TorrentTagAgg_label(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Label, nil }) @@ -13511,7 +13600,7 @@ func (ec *executionContext) _TorrentTagAgg_count(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -13555,7 +13644,7 @@ func (ec *executionContext) _TorrentTagAgg_isEstimate(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsEstimate, nil }) @@ -13599,7 +13688,7 @@ func (ec *executionContext) _VideoResolutionAgg_value(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -13640,7 +13729,7 @@ func (ec *executionContext) _VideoResolutionAgg_label(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Label, nil }) @@ -13684,7 +13773,7 @@ func (ec *executionContext) _VideoResolutionAgg_count(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -13728,7 +13817,7 @@ func (ec *executionContext) _VideoResolutionAgg_isEstimate(ctx context.Context, ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsEstimate, nil }) @@ -13772,7 +13861,7 @@ func (ec *executionContext) _VideoSourceAgg_value(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Value, nil }) @@ -13813,7 +13902,7 @@ func (ec *executionContext) _VideoSourceAgg_label(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Label, nil }) @@ -13857,7 +13946,7 @@ func (ec *executionContext) _VideoSourceAgg_count(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Count, nil }) @@ -13901,7 +13990,7 @@ func (ec *executionContext) _VideoSourceAgg_isEstimate(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsEstimate, nil }) @@ -13945,7 +14034,7 @@ func (ec *executionContext) _Worker_key(ctx context.Context, field graphql.Colle ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Key, nil }) @@ -13989,7 +14078,7 @@ func (ec *executionContext) _Worker_started(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Started, nil }) @@ -14033,7 +14122,7 @@ func (ec *executionContext) _WorkersListAllQueryResult_workers(ctx context.Conte ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Workers, nil }) @@ -14083,7 +14172,7 @@ func (ec *executionContext) _WorkersQuery_listAll(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.ListAll, nil }) @@ -14131,7 +14220,7 @@ func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -14175,7 +14264,7 @@ func (ec *executionContext) ___Directive_description(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Description(), nil }) @@ -14216,7 +14305,7 @@ func (ec *executionContext) ___Directive_locations(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Locations, nil }) @@ -14260,7 +14349,7 @@ func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Args, nil }) @@ -14279,7 +14368,7 @@ func (ec *executionContext) ___Directive_args(ctx context.Context, field graphql return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext___Directive_args(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext___Directive_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "__Directive", Field: field, @@ -14295,10 +14384,25 @@ func (ec *executionContext) fieldContext___Directive_args(_ context.Context, fie return ec.fieldContext___InputValue_type(ctx, field) case "defaultValue": return ec.fieldContext___InputValue_defaultValue(ctx, field) + case "isDeprecated": + return ec.fieldContext___InputValue_isDeprecated(ctx, field) + case "deprecationReason": + return ec.fieldContext___InputValue_deprecationReason(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name) }, } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field___Directive_args_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } return fc, nil } @@ -14314,7 +14418,7 @@ func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsRepeatable, nil }) @@ -14358,7 +14462,7 @@ func (ec *executionContext) ___EnumValue_name(ctx context.Context, field graphql ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -14402,7 +14506,7 @@ func (ec *executionContext) ___EnumValue_description(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Description(), nil }) @@ -14443,7 +14547,7 @@ func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsDeprecated(), nil }) @@ -14487,7 +14591,7 @@ func (ec *executionContext) ___EnumValue_deprecationReason(ctx context.Context, ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.DeprecationReason(), nil }) @@ -14528,7 +14632,7 @@ func (ec *executionContext) ___Field_name(ctx context.Context, field graphql.Col ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -14572,7 +14676,7 @@ func (ec *executionContext) ___Field_description(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Description(), nil }) @@ -14613,7 +14717,7 @@ func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.Col ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Args, nil }) @@ -14632,7 +14736,7 @@ func (ec *executionContext) ___Field_args(ctx context.Context, field graphql.Col return ec.marshalN__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext___Field_args(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext___Field_args(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "__Field", Field: field, @@ -14648,10 +14752,25 @@ func (ec *executionContext) fieldContext___Field_args(_ context.Context, field g return ec.fieldContext___InputValue_type(ctx, field) case "defaultValue": return ec.fieldContext___InputValue_defaultValue(ctx, field) + case "isDeprecated": + return ec.fieldContext___InputValue_isDeprecated(ctx, field) + case "deprecationReason": + return ec.fieldContext___InputValue_deprecationReason(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name) }, } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field___Field_args_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } return fc, nil } @@ -14667,7 +14786,7 @@ func (ec *executionContext) ___Field_type(ctx context.Context, field graphql.Col ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Type, nil }) @@ -14714,6 +14833,8 @@ func (ec *executionContext) fieldContext___Field_type(_ context.Context, field g return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -14733,7 +14854,7 @@ func (ec *executionContext) ___Field_isDeprecated(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.IsDeprecated(), nil }) @@ -14777,7 +14898,7 @@ func (ec *executionContext) ___Field_deprecationReason(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.DeprecationReason(), nil }) @@ -14818,7 +14939,7 @@ func (ec *executionContext) ___InputValue_name(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name, nil }) @@ -14862,7 +14983,7 @@ func (ec *executionContext) ___InputValue_description(ctx context.Context, field ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Description(), nil }) @@ -14903,7 +15024,7 @@ func (ec *executionContext) ___InputValue_type(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Type, nil }) @@ -14950,6 +15071,8 @@ func (ec *executionContext) fieldContext___InputValue_type(_ context.Context, fi return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -14969,7 +15092,7 @@ func (ec *executionContext) ___InputValue_defaultValue(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.DefaultValue, nil }) @@ -14998,6 +15121,91 @@ func (ec *executionContext) fieldContext___InputValue_defaultValue(_ context.Con return fc, nil } +func (ec *executionContext) ___InputValue_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) { + fc, err := ec.fieldContext___InputValue_isDeprecated(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + ctx = rctx // use context from middleware stack in children + return obj.IsDeprecated(), nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + if !graphql.HasFieldError(ctx, fc) { + ec.Errorf(ctx, "must not be null") + } + return graphql.Null + } + res := resTmp.(bool) + fc.Result = res + return ec.marshalNBoolean2bool(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext___InputValue_isDeprecated(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "__InputValue", + Field: field, + IsMethod: true, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Boolean does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) ___InputValue_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.InputValue) (ret graphql.Marshaler) { + fc, err := ec.fieldContext___InputValue_deprecationReason(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + ctx = rctx // use context from middleware stack in children + return obj.DeprecationReason(), nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(*string) + fc.Result = res + return ec.marshalOString2ᚖstring(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext___InputValue_deprecationReason(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "__InputValue", + Field: field, + IsMethod: true, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type String does not have child fields") + }, + } + return fc, nil +} + func (ec *executionContext) ___Schema_description(ctx context.Context, field graphql.CollectedField, obj *introspection.Schema) (ret graphql.Marshaler) { fc, err := ec.fieldContext___Schema_description(ctx, field) if err != nil { @@ -15010,7 +15218,7 @@ func (ec *executionContext) ___Schema_description(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Description(), nil }) @@ -15051,7 +15259,7 @@ func (ec *executionContext) ___Schema_types(ctx context.Context, field graphql.C ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Types(), nil }) @@ -15098,6 +15306,8 @@ func (ec *executionContext) fieldContext___Schema_types(_ context.Context, field return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -15117,7 +15327,7 @@ func (ec *executionContext) ___Schema_queryType(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.QueryType(), nil }) @@ -15164,6 +15374,8 @@ func (ec *executionContext) fieldContext___Schema_queryType(_ context.Context, f return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -15183,7 +15395,7 @@ func (ec *executionContext) ___Schema_mutationType(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.MutationType(), nil }) @@ -15227,6 +15439,8 @@ func (ec *executionContext) fieldContext___Schema_mutationType(_ context.Context return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -15246,7 +15460,7 @@ func (ec *executionContext) ___Schema_subscriptionType(ctx context.Context, fiel ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.SubscriptionType(), nil }) @@ -15290,6 +15504,8 @@ func (ec *executionContext) fieldContext___Schema_subscriptionType(_ context.Con return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -15309,7 +15525,7 @@ func (ec *executionContext) ___Schema_directives(ctx context.Context, field grap ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Directives(), nil }) @@ -15365,7 +15581,7 @@ func (ec *executionContext) ___Type_kind(ctx context.Context, field graphql.Coll ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Kind(), nil }) @@ -15409,7 +15625,7 @@ func (ec *executionContext) ___Type_name(ctx context.Context, field graphql.Coll ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Name(), nil }) @@ -15450,7 +15666,7 @@ func (ec *executionContext) ___Type_description(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Description(), nil }) @@ -15491,7 +15707,7 @@ func (ec *executionContext) ___Type_fields(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Fields(fc.Args["includeDeprecated"].(bool)), nil }) @@ -15557,7 +15773,7 @@ func (ec *executionContext) ___Type_interfaces(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.Interfaces(), nil }) @@ -15601,6 +15817,8 @@ func (ec *executionContext) fieldContext___Type_interfaces(_ context.Context, fi return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -15620,7 +15838,7 @@ func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field gra ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.PossibleTypes(), nil }) @@ -15664,6 +15882,8 @@ func (ec *executionContext) fieldContext___Type_possibleTypes(_ context.Context, return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -15683,7 +15903,7 @@ func (ec *executionContext) ___Type_enumValues(ctx context.Context, field graphq ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.EnumValues(fc.Args["includeDeprecated"].(bool)), nil }) @@ -15745,7 +15965,7 @@ func (ec *executionContext) ___Type_inputFields(ctx context.Context, field graph ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.InputFields(), nil }) @@ -15777,6 +15997,10 @@ func (ec *executionContext) fieldContext___Type_inputFields(_ context.Context, f return ec.fieldContext___InputValue_type(ctx, field) case "defaultValue": return ec.fieldContext___InputValue_defaultValue(ctx, field) + case "isDeprecated": + return ec.fieldContext___InputValue_isDeprecated(ctx, field) + case "deprecationReason": + return ec.fieldContext___InputValue_deprecationReason(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __InputValue", field.Name) }, @@ -15796,7 +16020,7 @@ func (ec *executionContext) ___Type_ofType(ctx context.Context, field graphql.Co ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.OfType(), nil }) @@ -15840,6 +16064,8 @@ func (ec *executionContext) fieldContext___Type_ofType(_ context.Context, field return ec.fieldContext___Type_ofType(ctx, field) case "specifiedByURL": return ec.fieldContext___Type_specifiedByURL(ctx, field) + case "isOneOf": + return ec.fieldContext___Type_isOneOf(ctx, field) } return nil, fmt.Errorf("no field named %q was found under type __Type", field.Name) }, @@ -15859,7 +16085,7 @@ func (ec *executionContext) ___Type_specifiedByURL(ctx context.Context, field gr ret = graphql.Null } }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (interface{}, error) { + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children return obj.SpecifiedByURL(), nil }) @@ -15888,14 +16114,55 @@ func (ec *executionContext) fieldContext___Type_specifiedByURL(_ context.Context return fc, nil } +func (ec *executionContext) ___Type_isOneOf(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) { + fc, err := ec.fieldContext___Type_isOneOf(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + ctx = rctx // use context from middleware stack in children + return obj.IsOneOf(), nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(bool) + fc.Result = res + return ec.marshalOBoolean2bool(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext___Type_isOneOf(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "__Type", + Field: field, + IsMethod: true, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Boolean does not have child fields") + }, + } + return fc, nil +} + // endregion **************************** field.gotpl ***************************** // region **************************** input.gotpl ***************************** -func (ec *executionContext) unmarshalInputContentTypeFacetInput(ctx context.Context, obj interface{}) (gen.ContentTypeFacetInput, error) { +func (ec *executionContext) unmarshalInputContentTypeFacetInput(ctx context.Context, obj any) (gen.ContentTypeFacetInput, error) { var it gen.ContentTypeFacetInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -15926,10 +16193,10 @@ func (ec *executionContext) unmarshalInputContentTypeFacetInput(ctx context.Cont return it, nil } -func (ec *executionContext) unmarshalInputGenreFacetInput(ctx context.Context, obj interface{}) (gen.GenreFacetInput, error) { +func (ec *executionContext) unmarshalInputGenreFacetInput(ctx context.Context, obj any) (gen.GenreFacetInput, error) { var it gen.GenreFacetInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -15967,10 +16234,10 @@ func (ec *executionContext) unmarshalInputGenreFacetInput(ctx context.Context, o return it, nil } -func (ec *executionContext) unmarshalInputLanguageFacetInput(ctx context.Context, obj interface{}) (gen.LanguageFacetInput, error) { +func (ec *executionContext) unmarshalInputLanguageFacetInput(ctx context.Context, obj any) (gen.LanguageFacetInput, error) { var it gen.LanguageFacetInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16001,20 +16268,27 @@ func (ec *executionContext) unmarshalInputLanguageFacetInput(ctx context.Context return it, nil } -func (ec *executionContext) unmarshalInputQueueEnqueueReprocessTorrentsBatchInput(ctx context.Context, obj interface{}) (manager.EnqueueReprocessTorrentsBatchRequest, error) { +func (ec *executionContext) unmarshalInputQueueEnqueueReprocessTorrentsBatchInput(ctx context.Context, obj any) (manager.EnqueueReprocessTorrentsBatchRequest, error) { var it manager.EnqueueReprocessTorrentsBatchRequest - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } - fieldsInOrder := [...]string{"batchSize", "chunkSize", "contentTypes", "orphans", "classifierRematch", "classifierWorkflow", "apisDisabled", "localSearchDisabled"} + fieldsInOrder := [...]string{"purge", "batchSize", "chunkSize", "contentTypes", "orphans", "classifierRematch", "classifierWorkflow", "apisDisabled", "localSearchDisabled"} for _, k := range fieldsInOrder { v, ok := asMap[k] if !ok { continue } switch k { + case "purge": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("purge")) + data, err := ec.unmarshalOBoolean2bool(ctx, v) + if err != nil { + return it, err + } + it.Purge = data case "batchSize": ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("batchSize")) data, err := ec.unmarshalOInt2uint(ctx, v) @@ -16079,10 +16353,10 @@ func (ec *executionContext) unmarshalInputQueueEnqueueReprocessTorrentsBatchInpu return it, nil } -func (ec *executionContext) unmarshalInputQueueJobQueueFacetInput(ctx context.Context, obj interface{}) (gen.QueueJobQueueFacetInput, error) { +func (ec *executionContext) unmarshalInputQueueJobQueueFacetInput(ctx context.Context, obj any) (gen.QueueJobQueueFacetInput, error) { var it gen.QueueJobQueueFacetInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16113,10 +16387,10 @@ func (ec *executionContext) unmarshalInputQueueJobQueueFacetInput(ctx context.Co return it, nil } -func (ec *executionContext) unmarshalInputQueueJobStatusFacetInput(ctx context.Context, obj interface{}) (gen.QueueJobStatusFacetInput, error) { +func (ec *executionContext) unmarshalInputQueueJobStatusFacetInput(ctx context.Context, obj any) (gen.QueueJobStatusFacetInput, error) { var it gen.QueueJobStatusFacetInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16147,10 +16421,10 @@ func (ec *executionContext) unmarshalInputQueueJobStatusFacetInput(ctx context.C return it, nil } -func (ec *executionContext) unmarshalInputQueueJobsFacetsInput(ctx context.Context, obj interface{}) (gen.QueueJobsFacetsInput, error) { +func (ec *executionContext) unmarshalInputQueueJobsFacetsInput(ctx context.Context, obj any) (gen.QueueJobsFacetsInput, error) { var it gen.QueueJobsFacetsInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16181,10 +16455,10 @@ func (ec *executionContext) unmarshalInputQueueJobsFacetsInput(ctx context.Conte return it, nil } -func (ec *executionContext) unmarshalInputQueueJobsOrderByInput(ctx context.Context, obj interface{}) (gen.QueueJobsOrderByInput, error) { +func (ec *executionContext) unmarshalInputQueueJobsOrderByInput(ctx context.Context, obj any) (gen.QueueJobsOrderByInput, error) { var it gen.QueueJobsOrderByInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16215,10 +16489,10 @@ func (ec *executionContext) unmarshalInputQueueJobsOrderByInput(ctx context.Cont return it, nil } -func (ec *executionContext) unmarshalInputQueueJobsQueryInput(ctx context.Context, obj interface{}) (gqlmodel.QueueJobsQueryInput, error) { +func (ec *executionContext) unmarshalInputQueueJobsQueryInput(ctx context.Context, obj any) (gqlmodel.QueueJobsQueryInput, error) { var it gqlmodel.QueueJobsQueryInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16298,10 +16572,10 @@ func (ec *executionContext) unmarshalInputQueueJobsQueryInput(ctx context.Contex return it, nil } -func (ec *executionContext) unmarshalInputQueueMetricsQueryInput(ctx context.Context, obj interface{}) (gen.QueueMetricsQueryInput, error) { +func (ec *executionContext) unmarshalInputQueueMetricsQueryInput(ctx context.Context, obj any) (gen.QueueMetricsQueryInput, error) { var it gen.QueueMetricsQueryInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16353,10 +16627,10 @@ func (ec *executionContext) unmarshalInputQueueMetricsQueryInput(ctx context.Con return it, nil } -func (ec *executionContext) unmarshalInputQueuePurgeJobsInput(ctx context.Context, obj interface{}) (manager.PurgeJobsRequest, error) { +func (ec *executionContext) unmarshalInputQueuePurgeJobsInput(ctx context.Context, obj any) (manager.PurgeJobsRequest, error) { var it manager.PurgeJobsRequest - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16387,10 +16661,10 @@ func (ec *executionContext) unmarshalInputQueuePurgeJobsInput(ctx context.Contex return it, nil } -func (ec *executionContext) unmarshalInputReleaseYearFacetInput(ctx context.Context, obj interface{}) (gen.ReleaseYearFacetInput, error) { +func (ec *executionContext) unmarshalInputReleaseYearFacetInput(ctx context.Context, obj any) (gen.ReleaseYearFacetInput, error) { var it gen.ReleaseYearFacetInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16421,10 +16695,10 @@ func (ec *executionContext) unmarshalInputReleaseYearFacetInput(ctx context.Cont return it, nil } -func (ec *executionContext) unmarshalInputSuggestTagsQueryInput(ctx context.Context, obj interface{}) (gen.SuggestTagsQueryInput, error) { +func (ec *executionContext) unmarshalInputSuggestTagsQueryInput(ctx context.Context, obj any) (gen.SuggestTagsQueryInput, error) { var it gen.SuggestTagsQueryInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16455,10 +16729,10 @@ func (ec *executionContext) unmarshalInputSuggestTagsQueryInput(ctx context.Cont return it, nil } -func (ec *executionContext) unmarshalInputTorrentContentFacetsInput(ctx context.Context, obj interface{}) (gen.TorrentContentFacetsInput, error) { +func (ec *executionContext) unmarshalInputTorrentContentFacetsInput(ctx context.Context, obj any) (gen.TorrentContentFacetsInput, error) { var it gen.TorrentContentFacetsInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16538,10 +16812,10 @@ func (ec *executionContext) unmarshalInputTorrentContentFacetsInput(ctx context. return it, nil } -func (ec *executionContext) unmarshalInputTorrentContentOrderByInput(ctx context.Context, obj interface{}) (gen.TorrentContentOrderByInput, error) { +func (ec *executionContext) unmarshalInputTorrentContentOrderByInput(ctx context.Context, obj any) (gen.TorrentContentOrderByInput, error) { var it gen.TorrentContentOrderByInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16572,10 +16846,10 @@ func (ec *executionContext) unmarshalInputTorrentContentOrderByInput(ctx context return it, nil } -func (ec *executionContext) unmarshalInputTorrentContentSearchQueryInput(ctx context.Context, obj interface{}) (gqlmodel.TorrentContentSearchQueryInput, error) { +func (ec *executionContext) unmarshalInputTorrentContentSearchQueryInput(ctx context.Context, obj any) (gqlmodel.TorrentContentSearchQueryInput, error) { var it gqlmodel.TorrentContentSearchQueryInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16669,10 +16943,10 @@ func (ec *executionContext) unmarshalInputTorrentContentSearchQueryInput(ctx con return it, nil } -func (ec *executionContext) unmarshalInputTorrentFileTypeFacetInput(ctx context.Context, obj interface{}) (gen.TorrentFileTypeFacetInput, error) { +func (ec *executionContext) unmarshalInputTorrentFileTypeFacetInput(ctx context.Context, obj any) (gen.TorrentFileTypeFacetInput, error) { var it gen.TorrentFileTypeFacetInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16710,10 +16984,10 @@ func (ec *executionContext) unmarshalInputTorrentFileTypeFacetInput(ctx context. return it, nil } -func (ec *executionContext) unmarshalInputTorrentFilesOrderByInput(ctx context.Context, obj interface{}) (gen.TorrentFilesOrderByInput, error) { +func (ec *executionContext) unmarshalInputTorrentFilesOrderByInput(ctx context.Context, obj any) (gen.TorrentFilesOrderByInput, error) { var it gen.TorrentFilesOrderByInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16744,10 +17018,10 @@ func (ec *executionContext) unmarshalInputTorrentFilesOrderByInput(ctx context.C return it, nil } -func (ec *executionContext) unmarshalInputTorrentFilesQueryInput(ctx context.Context, obj interface{}) (gqlmodel.TorrentFilesQueryInput, error) { +func (ec *executionContext) unmarshalInputTorrentFilesQueryInput(ctx context.Context, obj any) (gqlmodel.TorrentFilesQueryInput, error) { var it gqlmodel.TorrentFilesQueryInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16820,10 +17094,10 @@ func (ec *executionContext) unmarshalInputTorrentFilesQueryInput(ctx context.Con return it, nil } -func (ec *executionContext) unmarshalInputTorrentMetricsQueryInput(ctx context.Context, obj interface{}) (gen.TorrentMetricsQueryInput, error) { +func (ec *executionContext) unmarshalInputTorrentMetricsQueryInput(ctx context.Context, obj any) (gen.TorrentMetricsQueryInput, error) { var it gen.TorrentMetricsQueryInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16868,10 +17142,65 @@ func (ec *executionContext) unmarshalInputTorrentMetricsQueryInput(ctx context.C return it, nil } -func (ec *executionContext) unmarshalInputTorrentSourceFacetInput(ctx context.Context, obj interface{}) (gen.TorrentSourceFacetInput, error) { +func (ec *executionContext) unmarshalInputTorrentReprocessInput(ctx context.Context, obj any) (gen.TorrentReprocessInput, error) { + var it gen.TorrentReprocessInput + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { + asMap[k] = v + } + + fieldsInOrder := [...]string{"infoHashes", "classifierRematch", "classifierWorkflow", "apisDisabled", "localSearchDisabled"} + for _, k := range fieldsInOrder { + v, ok := asMap[k] + if !ok { + continue + } + switch k { + case "infoHashes": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("infoHashes")) + data, err := ec.unmarshalNHash202ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋprotocolᚐIDᚄ(ctx, v) + if err != nil { + return it, err + } + it.InfoHashes = data + case "classifierRematch": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("classifierRematch")) + data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) + if err != nil { + return it, err + } + it.ClassifierRematch = graphql.OmittableOf(data) + case "classifierWorkflow": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("classifierWorkflow")) + data, err := ec.unmarshalOString2ᚖstring(ctx, v) + if err != nil { + return it, err + } + it.ClassifierWorkflow = graphql.OmittableOf(data) + case "apisDisabled": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("apisDisabled")) + data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) + if err != nil { + return it, err + } + it.ApisDisabled = graphql.OmittableOf(data) + case "localSearchDisabled": + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("localSearchDisabled")) + data, err := ec.unmarshalOBoolean2ᚖbool(ctx, v) + if err != nil { + return it, err + } + it.LocalSearchDisabled = graphql.OmittableOf(data) + } + } + + return it, nil +} + +func (ec *executionContext) unmarshalInputTorrentSourceFacetInput(ctx context.Context, obj any) (gen.TorrentSourceFacetInput, error) { var it gen.TorrentSourceFacetInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16909,10 +17238,10 @@ func (ec *executionContext) unmarshalInputTorrentSourceFacetInput(ctx context.Co return it, nil } -func (ec *executionContext) unmarshalInputTorrentTagFacetInput(ctx context.Context, obj interface{}) (gen.TorrentTagFacetInput, error) { +func (ec *executionContext) unmarshalInputTorrentTagFacetInput(ctx context.Context, obj any) (gen.TorrentTagFacetInput, error) { var it gen.TorrentTagFacetInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16950,10 +17279,10 @@ func (ec *executionContext) unmarshalInputTorrentTagFacetInput(ctx context.Conte return it, nil } -func (ec *executionContext) unmarshalInputVideoResolutionFacetInput(ctx context.Context, obj interface{}) (gen.VideoResolutionFacetInput, error) { +func (ec *executionContext) unmarshalInputVideoResolutionFacetInput(ctx context.Context, obj any) (gen.VideoResolutionFacetInput, error) { var it gen.VideoResolutionFacetInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -16984,10 +17313,10 @@ func (ec *executionContext) unmarshalInputVideoResolutionFacetInput(ctx context. return it, nil } -func (ec *executionContext) unmarshalInputVideoSourceFacetInput(ctx context.Context, obj interface{}) (gen.VideoSourceFacetInput, error) { +func (ec *executionContext) unmarshalInputVideoSourceFacetInput(ctx context.Context, obj any) (gen.VideoSourceFacetInput, error) { var it gen.VideoSourceFacetInput - asMap := map[string]interface{}{} - for k, v := range obj.(map[string]interface{}) { + asMap := map[string]any{} + for k, v := range obj.(map[string]any) { asMap[k] = v } @@ -19685,6 +20014,39 @@ func (ec *executionContext) _TorrentMutation(ctx context.Context, sel ast.Select continue } + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + case "reprocess": + field := field + + innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._TorrentMutation_reprocess(ctx, field, obj) + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) default: panic("unknown field " + strconv.Quote(field.Name)) @@ -20539,6 +20901,13 @@ func (ec *executionContext) ___InputValue(ctx context.Context, sel ast.Selection } case "defaultValue": out.Values[i] = ec.___InputValue_defaultValue(ctx, field, obj) + case "isDeprecated": + out.Values[i] = ec.___InputValue_isDeprecated(ctx, field, obj) + if out.Values[i] == graphql.Null { + out.Invalids++ + } + case "deprecationReason": + out.Values[i] = ec.___InputValue_deprecationReason(ctx, field, obj) default: panic("unknown field " + strconv.Quote(field.Name)) } @@ -20651,6 +21020,8 @@ func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, o out.Values[i] = ec.___Type_ofType(ctx, field, obj) case "specifiedByURL": out.Values[i] = ec.___Type_specifiedByURL(ctx, field, obj) + case "isOneOf": + out.Values[i] = ec.___Type_isOneOf(ctx, field, obj) default: panic("unknown field " + strconv.Quote(field.Name)) } @@ -20678,7 +21049,7 @@ func (ec *executionContext) ___Type(ctx context.Context, sel ast.SelectionSet, o // region ***************************** type.gotpl ***************************** -func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v interface{}) (bool, error) { +func (ec *executionContext) unmarshalNBoolean2bool(ctx context.Context, v any) (bool, error) { res, err := graphql.UnmarshalBoolean(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -20789,7 +21160,7 @@ func (ec *executionContext) marshalNContentCollection2ᚕgithubᚗcomᚋbitmagne return ret } -func (ec *executionContext) unmarshalNContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, v interface{}) (model.ContentType, error) { +func (ec *executionContext) unmarshalNContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, v any) (model.ContentType, error) { tmp, err := graphql.UnmarshalString(v) res := model.ContentType(tmp) return res, graphql.ErrorOnPath(ctx, err) @@ -20809,7 +21180,7 @@ func (ec *executionContext) marshalNContentTypeAgg2githubᚗcomᚋbitmagnetᚑio return ec._ContentTypeAgg(ctx, sel, &v) } -func (ec *executionContext) unmarshalNDateTime2timeᚐTime(ctx context.Context, v interface{}) (time.Time, error) { +func (ec *executionContext) unmarshalNDateTime2timeᚐTime(ctx context.Context, v any) (time.Time, error) { res, err := graphql.UnmarshalTime(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -20880,7 +21251,7 @@ func (ec *executionContext) marshalNExternalLink2ᚕgithubᚗcomᚋbitmagnetᚑi return ret } -func (ec *executionContext) unmarshalNFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileType(ctx context.Context, v interface{}) (model.FileType, error) { +func (ec *executionContext) unmarshalNFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileType(ctx context.Context, v any) (model.FileType, error) { tmp, err := graphql.UnmarshalString(v) res := model.FileType(tmp) return res, graphql.ErrorOnPath(ctx, err) @@ -20896,7 +21267,7 @@ func (ec *executionContext) marshalNFileType2githubᚗcomᚋbitmagnetᚑioᚋbit return res } -func (ec *executionContext) unmarshalNFilesStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFilesStatus(ctx context.Context, v interface{}) (model.FilesStatus, error) { +func (ec *executionContext) unmarshalNFilesStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFilesStatus(ctx context.Context, v any) (model.FilesStatus, error) { tmp, err := graphql.UnmarshalString(v) res := model.FilesStatus(tmp) return res, graphql.ErrorOnPath(ctx, err) @@ -20916,7 +21287,7 @@ func (ec *executionContext) marshalNGenreAgg2githubᚗcomᚋbitmagnetᚑioᚋbit return ec._GenreAgg(ctx, sel, &v) } -func (ec *executionContext) unmarshalNHash202githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋprotocolᚐID(ctx context.Context, v interface{}) (protocol.ID, error) { +func (ec *executionContext) unmarshalNHash202githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋprotocolᚐID(ctx context.Context, v any) (protocol.ID, error) { var res protocol.ID err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -20926,8 +21297,8 @@ func (ec *executionContext) marshalNHash202githubᚗcomᚋbitmagnetᚑioᚋbitma return v } -func (ec *executionContext) unmarshalNHash202ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋprotocolᚐIDᚄ(ctx context.Context, v interface{}) ([]protocol.ID, error) { - var vSlice []interface{} +func (ec *executionContext) unmarshalNHash202ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋprotocolᚐIDᚄ(ctx context.Context, v any) ([]protocol.ID, error) { + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -21010,7 +21381,7 @@ func (ec *executionContext) marshalNHealthQuery2githubᚗcomᚋbitmagnetᚑioᚋ return ec._HealthQuery(ctx, sel, &v) } -func (ec *executionContext) unmarshalNHealthStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐHealthStatus(ctx context.Context, v interface{}) (gen.HealthStatus, error) { +func (ec *executionContext) unmarshalNHealthStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐHealthStatus(ctx context.Context, v any) (gen.HealthStatus, error) { var res gen.HealthStatus err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -21020,7 +21391,7 @@ func (ec *executionContext) marshalNHealthStatus2githubᚗcomᚋbitmagnetᚑio return v } -func (ec *executionContext) unmarshalNID2string(ctx context.Context, v interface{}) (string, error) { +func (ec *executionContext) unmarshalNID2string(ctx context.Context, v any) (string, error) { res, err := graphql.UnmarshalID(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -21035,7 +21406,7 @@ func (ec *executionContext) marshalNID2string(ctx context.Context, sel ast.Selec return res } -func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v interface{}) (int, error) { +func (ec *executionContext) unmarshalNInt2int(ctx context.Context, v any) (int, error) { res, err := graphql.UnmarshalInt(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -21050,7 +21421,7 @@ func (ec *executionContext) marshalNInt2int(ctx context.Context, sel ast.Selecti return res } -func (ec *executionContext) unmarshalNInt2uint(ctx context.Context, v interface{}) (uint, error) { +func (ec *executionContext) unmarshalNInt2uint(ctx context.Context, v any) (uint, error) { res, err := graphql.UnmarshalUint(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -21065,7 +21436,7 @@ func (ec *executionContext) marshalNInt2uint(ctx context.Context, sel ast.Select return res } -func (ec *executionContext) unmarshalNLanguage2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx context.Context, v interface{}) (model.Language, error) { +func (ec *executionContext) unmarshalNLanguage2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx context.Context, v any) (model.Language, error) { tmp, err := graphql.UnmarshalString(v) res := model.Language(tmp) return res, graphql.ErrorOnPath(ctx, err) @@ -21093,7 +21464,7 @@ func (ec *executionContext) marshalNMetadataSource2githubᚗcomᚋbitmagnetᚑio return ec._MetadataSource(ctx, sel, &v) } -func (ec *executionContext) unmarshalNMetricsBucketDuration2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐMetricsBucketDuration(ctx context.Context, v interface{}) (gen.MetricsBucketDuration, error) { +func (ec *executionContext) unmarshalNMetricsBucketDuration2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐMetricsBucketDuration(ctx context.Context, v any) (gen.MetricsBucketDuration, error) { var res gen.MetricsBucketDuration err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -21155,7 +21526,7 @@ func (ec *executionContext) marshalNQueueJobQueueAgg2githubᚗcomᚋbitmagnetᚑ return ec._QueueJobQueueAgg(ctx, sel, &v) } -func (ec *executionContext) unmarshalNQueueJobStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatus(ctx context.Context, v interface{}) (model.QueueJobStatus, error) { +func (ec *executionContext) unmarshalNQueueJobStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatus(ctx context.Context, v any) (model.QueueJobStatus, error) { tmp, err := graphql.UnmarshalString(v) res := model.QueueJobStatus(tmp) return res, graphql.ErrorOnPath(ctx, err) @@ -21179,7 +21550,7 @@ func (ec *executionContext) marshalNQueueJobsAggregations2githubᚗcomᚋbitmagn return ec._QueueJobsAggregations(ctx, sel, &v) } -func (ec *executionContext) unmarshalNQueueJobsOrderByField2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueJobsOrderByField(ctx context.Context, v interface{}) (gen.QueueJobsOrderByField, error) { +func (ec *executionContext) unmarshalNQueueJobsOrderByField2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueJobsOrderByField(ctx context.Context, v any) (gen.QueueJobsOrderByField, error) { var res gen.QueueJobsOrderByField err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -21189,12 +21560,12 @@ func (ec *executionContext) marshalNQueueJobsOrderByField2githubᚗcomᚋbitmagn return v } -func (ec *executionContext) unmarshalNQueueJobsOrderByInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueJobsOrderByInput(ctx context.Context, v interface{}) (gen.QueueJobsOrderByInput, error) { +func (ec *executionContext) unmarshalNQueueJobsOrderByInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueJobsOrderByInput(ctx context.Context, v any) (gen.QueueJobsOrderByInput, error) { res, err := ec.unmarshalInputQueueJobsOrderByInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNQueueJobsQueryInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐQueueJobsQueryInput(ctx context.Context, v interface{}) (gqlmodel.QueueJobsQueryInput, error) { +func (ec *executionContext) unmarshalNQueueJobsQueryInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐQueueJobsQueryInput(ctx context.Context, v any) (gqlmodel.QueueJobsQueryInput, error) { res, err := ec.unmarshalInputQueueJobsQueryInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } @@ -21251,7 +21622,7 @@ func (ec *executionContext) marshalNQueueMetricsBucket2ᚕgithubᚗcomᚋbitmagn return ret } -func (ec *executionContext) unmarshalNQueueMetricsQueryInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueMetricsQueryInput(ctx context.Context, v interface{}) (gen.QueueMetricsQueryInput, error) { +func (ec *executionContext) unmarshalNQueueMetricsQueryInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueMetricsQueryInput(ctx context.Context, v any) (gen.QueueMetricsQueryInput, error) { res, err := ec.unmarshalInputQueueMetricsQueryInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } @@ -21270,7 +21641,7 @@ func (ec *executionContext) marshalNQueueMutation2githubᚗcomᚋbitmagnetᚑio return ec._QueueMutation(ctx, sel, &v) } -func (ec *executionContext) unmarshalNQueuePurgeJobsInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋqueueᚋmanagerᚐPurgeJobsRequest(ctx context.Context, v interface{}) (manager.PurgeJobsRequest, error) { +func (ec *executionContext) unmarshalNQueuePurgeJobsInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋqueueᚋmanagerᚐPurgeJobsRequest(ctx context.Context, v any) (manager.PurgeJobsRequest, error) { res, err := ec.unmarshalInputQueuePurgeJobsInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } @@ -21331,7 +21702,7 @@ func (ec *executionContext) marshalNSeason2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbi return ret } -func (ec *executionContext) unmarshalNString2string(ctx context.Context, v interface{}) (string, error) { +func (ec *executionContext) unmarshalNString2string(ctx context.Context, v any) (string, error) { res, err := graphql.UnmarshalString(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -21346,8 +21717,8 @@ func (ec *executionContext) marshalNString2string(ctx context.Context, sel ast.S return res } -func (ec *executionContext) unmarshalNString2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) { - var vSlice []interface{} +func (ec *executionContext) unmarshalNString2ᚕstringᚄ(ctx context.Context, v any) ([]string, error) { + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -21482,7 +21853,7 @@ func (ec *executionContext) marshalNTorrentContentAggregations2githubᚗcomᚋbi return ec._TorrentContentAggregations(ctx, sel, &v) } -func (ec *executionContext) unmarshalNTorrentContentOrderByField2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentContentOrderByField(ctx context.Context, v interface{}) (gen.TorrentContentOrderByField, error) { +func (ec *executionContext) unmarshalNTorrentContentOrderByField2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentContentOrderByField(ctx context.Context, v any) (gen.TorrentContentOrderByField, error) { var res gen.TorrentContentOrderByField err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -21492,7 +21863,7 @@ func (ec *executionContext) marshalNTorrentContentOrderByField2githubᚗcomᚋbi return v } -func (ec *executionContext) unmarshalNTorrentContentOrderByInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentContentOrderByInput(ctx context.Context, v interface{}) (gen.TorrentContentOrderByInput, error) { +func (ec *executionContext) unmarshalNTorrentContentOrderByInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentContentOrderByInput(ctx context.Context, v any) (gen.TorrentContentOrderByInput, error) { res, err := ec.unmarshalInputTorrentContentOrderByInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } @@ -21501,7 +21872,7 @@ func (ec *executionContext) marshalNTorrentContentQuery2githubᚗcomᚋbitmagnet return ec._TorrentContentQuery(ctx, sel, &v) } -func (ec *executionContext) unmarshalNTorrentContentSearchQueryInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐTorrentContentSearchQueryInput(ctx context.Context, v interface{}) (gqlmodel.TorrentContentSearchQueryInput, error) { +func (ec *executionContext) unmarshalNTorrentContentSearchQueryInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐTorrentContentSearchQueryInput(ctx context.Context, v any) (gqlmodel.TorrentContentSearchQueryInput, error) { res, err := ec.unmarshalInputTorrentContentSearchQueryInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } @@ -21562,7 +21933,7 @@ func (ec *executionContext) marshalNTorrentFileTypeAgg2githubᚗcomᚋbitmagnet return ec._TorrentFileTypeAgg(ctx, sel, &v) } -func (ec *executionContext) unmarshalNTorrentFilesOrderByField2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentFilesOrderByField(ctx context.Context, v interface{}) (gen.TorrentFilesOrderByField, error) { +func (ec *executionContext) unmarshalNTorrentFilesOrderByField2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentFilesOrderByField(ctx context.Context, v any) (gen.TorrentFilesOrderByField, error) { var res gen.TorrentFilesOrderByField err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -21572,12 +21943,12 @@ func (ec *executionContext) marshalNTorrentFilesOrderByField2githubᚗcomᚋbitm return v } -func (ec *executionContext) unmarshalNTorrentFilesOrderByInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentFilesOrderByInput(ctx context.Context, v interface{}) (gen.TorrentFilesOrderByInput, error) { +func (ec *executionContext) unmarshalNTorrentFilesOrderByInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentFilesOrderByInput(ctx context.Context, v any) (gen.TorrentFilesOrderByInput, error) { res, err := ec.unmarshalInputTorrentFilesOrderByInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalNTorrentFilesQueryInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐTorrentFilesQueryInput(ctx context.Context, v interface{}) (gqlmodel.TorrentFilesQueryInput, error) { +func (ec *executionContext) unmarshalNTorrentFilesQueryInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐTorrentFilesQueryInput(ctx context.Context, v any) (gqlmodel.TorrentFilesQueryInput, error) { res, err := ec.unmarshalInputTorrentFilesQueryInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } @@ -21638,7 +22009,7 @@ func (ec *executionContext) marshalNTorrentMetricsBucket2ᚕgithubᚗcomᚋbitma return ret } -func (ec *executionContext) unmarshalNTorrentMetricsQueryInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentMetricsQueryInput(ctx context.Context, v interface{}) (gen.TorrentMetricsQueryInput, error) { +func (ec *executionContext) unmarshalNTorrentMetricsQueryInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentMetricsQueryInput(ctx context.Context, v any) (gen.TorrentMetricsQueryInput, error) { res, err := ec.unmarshalInputTorrentMetricsQueryInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } @@ -21661,6 +22032,11 @@ func (ec *executionContext) marshalNTorrentQuery2githubᚗcomᚋbitmagnetᚑio return ec._TorrentQuery(ctx, sel, &v) } +func (ec *executionContext) unmarshalNTorrentReprocessInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentReprocessInput(ctx context.Context, v any) (gen.TorrentReprocessInput, error) { + res, err := ec.unmarshalInputTorrentReprocessInput(ctx, v) + return res, graphql.ErrorOnPath(ctx, err) +} + func (ec *executionContext) marshalNTorrentSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentSource(ctx context.Context, sel ast.SelectionSet, v model.TorrentSource) graphql.Marshaler { return ec._TorrentSource(ctx, sel, &v) } @@ -21881,7 +22257,7 @@ func (ec *executionContext) marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgq return ret } -func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx context.Context, v interface{}) (string, error) { +func (ec *executionContext) unmarshalN__DirectiveLocation2string(ctx context.Context, v any) (string, error) { res, err := graphql.UnmarshalString(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -21896,8 +22272,8 @@ func (ec *executionContext) marshalN__DirectiveLocation2string(ctx context.Conte return res } -func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) { - var vSlice []interface{} +func (ec *executionContext) unmarshalN__DirectiveLocation2ᚕstringᚄ(ctx context.Context, v any) ([]string, error) { + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -22071,7 +22447,7 @@ func (ec *executionContext) marshalN__Type2ᚖgithubᚗcomᚋ99designsᚋgqlgen return ec.___Type(ctx, sel, v) } -func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v interface{}) (string, error) { +func (ec *executionContext) unmarshalN__TypeKind2string(ctx context.Context, v any) (string, error) { res, err := graphql.UnmarshalString(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -22086,7 +22462,7 @@ func (ec *executionContext) marshalN__TypeKind2string(ctx context.Context, sel a return res } -func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v interface{}) (bool, error) { +func (ec *executionContext) unmarshalOBoolean2bool(ctx context.Context, v any) (bool, error) { res, err := graphql.UnmarshalBoolean(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -22096,7 +22472,7 @@ func (ec *executionContext) marshalOBoolean2bool(ctx context.Context, sel ast.Se return res } -func (ec *executionContext) unmarshalOBoolean2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullBool(ctx context.Context, v interface{}) (model.NullBool, error) { +func (ec *executionContext) unmarshalOBoolean2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullBool(ctx context.Context, v any) (model.NullBool, error) { var res model.NullBool err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -22106,7 +22482,7 @@ func (ec *executionContext) marshalOBoolean2githubᚗcomᚋbitmagnetᚑioᚋbitm return v } -func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Context, v interface{}) (*bool, error) { +func (ec *executionContext) unmarshalOBoolean2ᚖbool(ctx context.Context, v any) (*bool, error) { if v == nil { return nil, nil } @@ -22129,7 +22505,7 @@ func (ec *executionContext) marshalOContent2ᚖgithubᚗcomᚋbitmagnetᚑioᚋb return ec._Content(ctx, sel, v) } -func (ec *executionContext) unmarshalOContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx context.Context, v interface{}) (model.NullContentType, error) { +func (ec *executionContext) unmarshalOContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx context.Context, v any) (model.NullContentType, error) { var res model.NullContentType err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -22139,11 +22515,11 @@ func (ec *executionContext) marshalOContentType2githubᚗcomᚋbitmagnetᚑioᚋ return v } -func (ec *executionContext) unmarshalOContentType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx context.Context, v interface{}) ([]model.NullContentType, error) { +func (ec *executionContext) unmarshalOContentType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx context.Context, v any) ([]model.NullContentType, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -22200,11 +22576,11 @@ func (ec *executionContext) marshalOContentType2ᚕgithubᚗcomᚋbitmagnetᚑio return ret } -func (ec *executionContext) unmarshalOContentType2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, v interface{}) ([]*model.ContentType, error) { +func (ec *executionContext) unmarshalOContentType2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, v any) ([]*model.ContentType, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -22261,7 +22637,7 @@ func (ec *executionContext) marshalOContentType2ᚕᚖgithubᚗcomᚋbitmagnet return ret } -func (ec *executionContext) unmarshalOContentType2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, v interface{}) (*model.ContentType, error) { +func (ec *executionContext) unmarshalOContentType2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, v any) (*model.ContentType, error) { if v == nil { return nil, nil } @@ -22325,7 +22701,7 @@ func (ec *executionContext) marshalOContentTypeAgg2ᚕgithubᚗcomᚋbitmagnet return ret } -func (ec *executionContext) unmarshalOContentTypeFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐContentTypeFacetInput(ctx context.Context, v interface{}) (*gen.ContentTypeFacetInput, error) { +func (ec *executionContext) unmarshalOContentTypeFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐContentTypeFacetInput(ctx context.Context, v any) (*gen.ContentTypeFacetInput, error) { if v == nil { return nil, nil } @@ -22333,7 +22709,7 @@ func (ec *executionContext) unmarshalOContentTypeFacetInput2ᚖgithubᚗcomᚋbi return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalODate2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐDate(ctx context.Context, v interface{}) (model.Date, error) { +func (ec *executionContext) unmarshalODate2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐDate(ctx context.Context, v any) (model.Date, error) { var res model.Date err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -22343,7 +22719,7 @@ func (ec *executionContext) marshalODate2githubᚗcomᚋbitmagnetᚑioᚋbitmagn return v } -func (ec *executionContext) unmarshalODateTime2timeᚐTime(ctx context.Context, v interface{}) (time.Time, error) { +func (ec *executionContext) unmarshalODateTime2timeᚐTime(ctx context.Context, v any) (time.Time, error) { res, err := graphql.UnmarshalTime(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -22353,7 +22729,7 @@ func (ec *executionContext) marshalODateTime2timeᚐTime(ctx context.Context, se return res } -func (ec *executionContext) unmarshalODateTime2ᚖtimeᚐTime(ctx context.Context, v interface{}) (*time.Time, error) { +func (ec *executionContext) unmarshalODateTime2ᚖtimeᚐTime(ctx context.Context, v any) (*time.Time, error) { if v == nil { return nil, nil } @@ -22369,7 +22745,7 @@ func (ec *executionContext) marshalODateTime2ᚖtimeᚐTime(ctx context.Context, return res } -func (ec *executionContext) unmarshalODuration2ᚖtimeᚐDuration(ctx context.Context, v interface{}) (*time.Duration, error) { +func (ec *executionContext) unmarshalODuration2ᚖtimeᚐDuration(ctx context.Context, v any) (*time.Duration, error) { if v == nil { return nil, nil } @@ -22392,7 +22768,7 @@ func (ec *executionContext) marshalOEpisodes2ᚖgithubᚗcomᚋbitmagnetᚑioᚋ return ec._Episodes(ctx, sel, v) } -func (ec *executionContext) unmarshalOFacetLogic2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFacetLogic(ctx context.Context, v interface{}) (*model.FacetLogic, error) { +func (ec *executionContext) unmarshalOFacetLogic2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFacetLogic(ctx context.Context, v any) (*model.FacetLogic, error) { if v == nil { return nil, nil } @@ -22409,7 +22785,7 @@ func (ec *executionContext) marshalOFacetLogic2ᚖgithubᚗcomᚋbitmagnetᚑio return res } -func (ec *executionContext) unmarshalOFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFileType(ctx context.Context, v interface{}) (model.NullFileType, error) { +func (ec *executionContext) unmarshalOFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFileType(ctx context.Context, v any) (model.NullFileType, error) { var res model.NullFileType err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -22419,11 +22795,11 @@ func (ec *executionContext) marshalOFileType2githubᚗcomᚋbitmagnetᚑioᚋbit return v } -func (ec *executionContext) unmarshalOFileType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileTypeᚄ(ctx context.Context, v interface{}) ([]model.FileType, error) { +func (ec *executionContext) unmarshalOFileType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileTypeᚄ(ctx context.Context, v any) ([]model.FileType, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -22486,7 +22862,7 @@ func (ec *executionContext) marshalOFileType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋ return ret } -func (ec *executionContext) unmarshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat32(ctx context.Context, v interface{}) (model.NullFloat32, error) { +func (ec *executionContext) unmarshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat32(ctx context.Context, v any) (model.NullFloat32, error) { var res model.NullFloat32 err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -22496,7 +22872,7 @@ func (ec *executionContext) marshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmag return v } -func (ec *executionContext) unmarshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat64(ctx context.Context, v interface{}) (model.NullFloat64, error) { +func (ec *executionContext) unmarshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat64(ctx context.Context, v any) (model.NullFloat64, error) { var res model.NullFloat64 err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -22553,7 +22929,7 @@ func (ec *executionContext) marshalOGenreAgg2ᚕgithubᚗcomᚋbitmagnetᚑioᚋ return ret } -func (ec *executionContext) unmarshalOGenreFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐGenreFacetInput(ctx context.Context, v interface{}) (*gen.GenreFacetInput, error) { +func (ec *executionContext) unmarshalOGenreFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐGenreFacetInput(ctx context.Context, v any) (*gen.GenreFacetInput, error) { if v == nil { return nil, nil } @@ -22561,11 +22937,11 @@ func (ec *executionContext) unmarshalOGenreFacetInput2ᚖgithubᚗcomᚋbitmagne return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOHash202ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋprotocolᚐIDᚄ(ctx context.Context, v interface{}) ([]protocol.ID, error) { +func (ec *executionContext) unmarshalOHash202ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋprotocolᚐIDᚄ(ctx context.Context, v any) ([]protocol.ID, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -22599,7 +22975,7 @@ func (ec *executionContext) marshalOHash202ᚕgithubᚗcomᚋbitmagnetᚑioᚋbi return ret } -func (ec *executionContext) unmarshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx context.Context, v interface{}) (model.NullUint, error) { +func (ec *executionContext) unmarshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx context.Context, v any) (model.NullUint, error) { var res model.NullUint err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -22609,7 +22985,7 @@ func (ec *executionContext) marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagne return v } -func (ec *executionContext) unmarshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint16(ctx context.Context, v interface{}) (model.NullUint16, error) { +func (ec *executionContext) unmarshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint16(ctx context.Context, v any) (model.NullUint16, error) { var res model.NullUint16 err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -22619,7 +22995,7 @@ func (ec *executionContext) marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagne return v } -func (ec *executionContext) unmarshalOInt2uint(ctx context.Context, v interface{}) (uint, error) { +func (ec *executionContext) unmarshalOInt2uint(ctx context.Context, v any) (uint, error) { res, err := graphql.UnmarshalUint(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -22629,11 +23005,11 @@ func (ec *executionContext) marshalOInt2uint(ctx context.Context, sel ast.Select return res } -func (ec *executionContext) unmarshalOInt2ᚕintᚄ(ctx context.Context, v interface{}) ([]int, error) { +func (ec *executionContext) unmarshalOInt2ᚕintᚄ(ctx context.Context, v any) ([]int, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -22667,11 +23043,11 @@ func (ec *executionContext) marshalOInt2ᚕintᚄ(ctx context.Context, sel ast.S return ret } -func (ec *executionContext) unmarshalOLanguage2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguageᚄ(ctx context.Context, v interface{}) ([]model.Language, error) { +func (ec *executionContext) unmarshalOLanguage2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguageᚄ(ctx context.Context, v any) ([]model.Language, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -22781,7 +23157,7 @@ func (ec *executionContext) marshalOLanguageAgg2ᚕgithubᚗcomᚋbitmagnetᚑio return ret } -func (ec *executionContext) unmarshalOLanguageFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐLanguageFacetInput(ctx context.Context, v interface{}) (*gen.LanguageFacetInput, error) { +func (ec *executionContext) unmarshalOLanguageFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐLanguageFacetInput(ctx context.Context, v any) (*gen.LanguageFacetInput, error) { if v == nil { return nil, nil } @@ -22843,12 +23219,12 @@ func (ec *executionContext) marshalOLanguageInfo2ᚖgithubᚗcomᚋbitmagnetᚑi return ec._LanguageInfo(ctx, sel, v) } -func (ec *executionContext) unmarshalOQueueEnqueueReprocessTorrentsBatchInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋqueueᚋmanagerᚐEnqueueReprocessTorrentsBatchRequest(ctx context.Context, v interface{}) (manager.EnqueueReprocessTorrentsBatchRequest, error) { +func (ec *executionContext) unmarshalOQueueEnqueueReprocessTorrentsBatchInput2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋqueueᚋmanagerᚐEnqueueReprocessTorrentsBatchRequest(ctx context.Context, v any) (manager.EnqueueReprocessTorrentsBatchRequest, error) { res, err := ec.unmarshalInputQueueEnqueueReprocessTorrentsBatchInput(ctx, v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOQueueEnqueueReprocessTorrentsBatchInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋqueueᚋmanagerᚐEnqueueReprocessTorrentsBatchRequest(ctx context.Context, v interface{}) (*manager.EnqueueReprocessTorrentsBatchRequest, error) { +func (ec *executionContext) unmarshalOQueueEnqueueReprocessTorrentsBatchInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋqueueᚋmanagerᚐEnqueueReprocessTorrentsBatchRequest(ctx context.Context, v any) (*manager.EnqueueReprocessTorrentsBatchRequest, error) { if v == nil { return nil, nil } @@ -22903,7 +23279,7 @@ func (ec *executionContext) marshalOQueueJobQueueAgg2ᚕgithubᚗcomᚋbitmagnet return ret } -func (ec *executionContext) unmarshalOQueueJobQueueFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueJobQueueFacetInput(ctx context.Context, v interface{}) (*gen.QueueJobQueueFacetInput, error) { +func (ec *executionContext) unmarshalOQueueJobQueueFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueJobQueueFacetInput(ctx context.Context, v any) (*gen.QueueJobQueueFacetInput, error) { if v == nil { return nil, nil } @@ -22911,11 +23287,11 @@ func (ec *executionContext) unmarshalOQueueJobQueueFacetInput2ᚖgithubᚗcomᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOQueueJobStatus2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatusᚄ(ctx context.Context, v interface{}) ([]model.QueueJobStatus, error) { +func (ec *executionContext) unmarshalOQueueJobStatus2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatusᚄ(ctx context.Context, v any) ([]model.QueueJobStatus, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -23025,7 +23401,7 @@ func (ec *executionContext) marshalOQueueJobStatusAgg2ᚕgithubᚗcomᚋbitmagne return ret } -func (ec *executionContext) unmarshalOQueueJobStatusFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueJobStatusFacetInput(ctx context.Context, v interface{}) (*gen.QueueJobStatusFacetInput, error) { +func (ec *executionContext) unmarshalOQueueJobStatusFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueJobStatusFacetInput(ctx context.Context, v any) (*gen.QueueJobStatusFacetInput, error) { if v == nil { return nil, nil } @@ -23033,7 +23409,7 @@ func (ec *executionContext) unmarshalOQueueJobStatusFacetInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOQueueJobsFacetsInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueJobsFacetsInput(ctx context.Context, v interface{}) (*gen.QueueJobsFacetsInput, error) { +func (ec *executionContext) unmarshalOQueueJobsFacetsInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueJobsFacetsInput(ctx context.Context, v any) (*gen.QueueJobsFacetsInput, error) { if v == nil { return nil, nil } @@ -23041,11 +23417,11 @@ func (ec *executionContext) unmarshalOQueueJobsFacetsInput2ᚖgithubᚗcomᚋbit return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOQueueJobsOrderByInput2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueJobsOrderByInputᚄ(ctx context.Context, v interface{}) ([]gen.QueueJobsOrderByInput, error) { +func (ec *executionContext) unmarshalOQueueJobsOrderByInput2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐQueueJobsOrderByInputᚄ(ctx context.Context, v any) ([]gen.QueueJobsOrderByInput, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -23108,7 +23484,7 @@ func (ec *executionContext) marshalOReleaseYearAgg2ᚕgithubᚗcomᚋbitmagnet return ret } -func (ec *executionContext) unmarshalOReleaseYearFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐReleaseYearFacetInput(ctx context.Context, v interface{}) (*gen.ReleaseYearFacetInput, error) { +func (ec *executionContext) unmarshalOReleaseYearFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐReleaseYearFacetInput(ctx context.Context, v any) (*gen.ReleaseYearFacetInput, error) { if v == nil { return nil, nil } @@ -23116,7 +23492,7 @@ func (ec *executionContext) unmarshalOReleaseYearFacetInput2ᚖgithubᚗcomᚋbi return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx context.Context, v interface{}) (model.NullString, error) { +func (ec *executionContext) unmarshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx context.Context, v any) (model.NullString, error) { var res model.NullString err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -23126,7 +23502,7 @@ func (ec *executionContext) marshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitma return v } -func (ec *executionContext) unmarshalOString2string(ctx context.Context, v interface{}) (string, error) { +func (ec *executionContext) unmarshalOString2string(ctx context.Context, v any) (string, error) { res, err := graphql.UnmarshalString(v) return res, graphql.ErrorOnPath(ctx, err) } @@ -23136,11 +23512,11 @@ func (ec *executionContext) marshalOString2string(ctx context.Context, sel ast.S return res } -func (ec *executionContext) unmarshalOString2ᚕstringᚄ(ctx context.Context, v interface{}) ([]string, error) { +func (ec *executionContext) unmarshalOString2ᚕstringᚄ(ctx context.Context, v any) ([]string, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -23174,7 +23550,7 @@ func (ec *executionContext) marshalOString2ᚕstringᚄ(ctx context.Context, sel return ret } -func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Context, v interface{}) (*string, error) { +func (ec *executionContext) unmarshalOString2ᚖstring(ctx context.Context, v any) (*string, error) { if v == nil { return nil, nil } @@ -23190,7 +23566,7 @@ func (ec *executionContext) marshalOString2ᚖstring(ctx context.Context, sel as return res } -func (ec *executionContext) unmarshalOSuggestTagsQueryInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐSuggestTagsQueryInput(ctx context.Context, v interface{}) (*gen.SuggestTagsQueryInput, error) { +func (ec *executionContext) unmarshalOSuggestTagsQueryInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐSuggestTagsQueryInput(ctx context.Context, v any) (*gen.SuggestTagsQueryInput, error) { if v == nil { return nil, nil } @@ -23198,7 +23574,7 @@ func (ec *executionContext) unmarshalOSuggestTagsQueryInput2ᚖgithubᚗcomᚋbi return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOTorrentContentFacetsInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentContentFacetsInput(ctx context.Context, v interface{}) (*gen.TorrentContentFacetsInput, error) { +func (ec *executionContext) unmarshalOTorrentContentFacetsInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentContentFacetsInput(ctx context.Context, v any) (*gen.TorrentContentFacetsInput, error) { if v == nil { return nil, nil } @@ -23206,11 +23582,11 @@ func (ec *executionContext) unmarshalOTorrentContentFacetsInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOTorrentContentOrderByInput2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentContentOrderByInputᚄ(ctx context.Context, v interface{}) ([]gen.TorrentContentOrderByInput, error) { +func (ec *executionContext) unmarshalOTorrentContentOrderByInput2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentContentOrderByInputᚄ(ctx context.Context, v any) ([]gen.TorrentContentOrderByInput, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -23320,7 +23696,7 @@ func (ec *executionContext) marshalOTorrentFileTypeAgg2ᚕgithubᚗcomᚋbitmagn return ret } -func (ec *executionContext) unmarshalOTorrentFileTypeFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentFileTypeFacetInput(ctx context.Context, v interface{}) (*gen.TorrentFileTypeFacetInput, error) { +func (ec *executionContext) unmarshalOTorrentFileTypeFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentFileTypeFacetInput(ctx context.Context, v any) (*gen.TorrentFileTypeFacetInput, error) { if v == nil { return nil, nil } @@ -23328,11 +23704,11 @@ func (ec *executionContext) unmarshalOTorrentFileTypeFacetInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOTorrentFilesOrderByInput2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentFilesOrderByInputᚄ(ctx context.Context, v interface{}) ([]gen.TorrentFilesOrderByInput, error) { +func (ec *executionContext) unmarshalOTorrentFilesOrderByInput2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentFilesOrderByInputᚄ(ctx context.Context, v any) ([]gen.TorrentFilesOrderByInput, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -23395,7 +23771,7 @@ func (ec *executionContext) marshalOTorrentSourceAgg2ᚕgithubᚗcomᚋbitmagnet return ret } -func (ec *executionContext) unmarshalOTorrentSourceFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentSourceFacetInput(ctx context.Context, v interface{}) (*gen.TorrentSourceFacetInput, error) { +func (ec *executionContext) unmarshalOTorrentSourceFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentSourceFacetInput(ctx context.Context, v any) (*gen.TorrentSourceFacetInput, error) { if v == nil { return nil, nil } @@ -23450,7 +23826,7 @@ func (ec *executionContext) marshalOTorrentTagAgg2ᚕgithubᚗcomᚋbitmagnetᚑ return ret } -func (ec *executionContext) unmarshalOTorrentTagFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentTagFacetInput(ctx context.Context, v interface{}) (*gen.TorrentTagFacetInput, error) { +func (ec *executionContext) unmarshalOTorrentTagFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐTorrentTagFacetInput(ctx context.Context, v any) (*gen.TorrentTagFacetInput, error) { if v == nil { return nil, nil } @@ -23458,7 +23834,7 @@ func (ec *executionContext) unmarshalOTorrentTagFacetInput2ᚖgithubᚗcomᚋbit return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOVideo3D2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideo3D(ctx context.Context, v interface{}) (model.NullVideo3D, error) { +func (ec *executionContext) unmarshalOVideo3D2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideo3D(ctx context.Context, v any) (model.NullVideo3D, error) { var res model.NullVideo3D err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -23468,7 +23844,7 @@ func (ec *executionContext) marshalOVideo3D2githubᚗcomᚋbitmagnetᚑioᚋbitm return v } -func (ec *executionContext) unmarshalOVideoCodec2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoCodec(ctx context.Context, v interface{}) (model.NullVideoCodec, error) { +func (ec *executionContext) unmarshalOVideoCodec2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoCodec(ctx context.Context, v any) (model.NullVideoCodec, error) { var res model.NullVideoCodec err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -23478,7 +23854,7 @@ func (ec *executionContext) marshalOVideoCodec2githubᚗcomᚋbitmagnetᚑioᚋb return v } -func (ec *executionContext) unmarshalOVideoModifier2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoModifier(ctx context.Context, v interface{}) (model.NullVideoModifier, error) { +func (ec *executionContext) unmarshalOVideoModifier2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoModifier(ctx context.Context, v any) (model.NullVideoModifier, error) { var res model.NullVideoModifier err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -23488,7 +23864,7 @@ func (ec *executionContext) marshalOVideoModifier2githubᚗcomᚋbitmagnetᚑio return v } -func (ec *executionContext) unmarshalOVideoResolution2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoResolution(ctx context.Context, v interface{}) (model.NullVideoResolution, error) { +func (ec *executionContext) unmarshalOVideoResolution2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoResolution(ctx context.Context, v any) (model.NullVideoResolution, error) { var res model.NullVideoResolution err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -23498,11 +23874,11 @@ func (ec *executionContext) marshalOVideoResolution2githubᚗcomᚋbitmagnetᚑi return v } -func (ec *executionContext) unmarshalOVideoResolution2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx context.Context, v interface{}) ([]*model.VideoResolution, error) { +func (ec *executionContext) unmarshalOVideoResolution2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx context.Context, v any) ([]*model.VideoResolution, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -23559,7 +23935,7 @@ func (ec *executionContext) marshalOVideoResolution2ᚕᚖgithubᚗcomᚋbitmagn return ret } -func (ec *executionContext) unmarshalOVideoResolution2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx context.Context, v interface{}) (*model.VideoResolution, error) { +func (ec *executionContext) unmarshalOVideoResolution2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx context.Context, v any) (*model.VideoResolution, error) { if v == nil { return nil, nil } @@ -23623,7 +23999,7 @@ func (ec *executionContext) marshalOVideoResolutionAgg2ᚕgithubᚗcomᚋbitmagn return ret } -func (ec *executionContext) unmarshalOVideoResolutionFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐVideoResolutionFacetInput(ctx context.Context, v interface{}) (*gen.VideoResolutionFacetInput, error) { +func (ec *executionContext) unmarshalOVideoResolutionFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐVideoResolutionFacetInput(ctx context.Context, v any) (*gen.VideoResolutionFacetInput, error) { if v == nil { return nil, nil } @@ -23631,7 +24007,7 @@ func (ec *executionContext) unmarshalOVideoResolutionFacetInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOVideoSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoSource(ctx context.Context, v interface{}) (model.NullVideoSource, error) { +func (ec *executionContext) unmarshalOVideoSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoSource(ctx context.Context, v any) (model.NullVideoSource, error) { var res model.NullVideoSource err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -23641,11 +24017,11 @@ func (ec *executionContext) marshalOVideoSource2githubᚗcomᚋbitmagnetᚑioᚋ return v } -func (ec *executionContext) unmarshalOVideoSource2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx context.Context, v interface{}) ([]*model.VideoSource, error) { +func (ec *executionContext) unmarshalOVideoSource2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx context.Context, v any) ([]*model.VideoSource, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -23702,7 +24078,7 @@ func (ec *executionContext) marshalOVideoSource2ᚕᚖgithubᚗcomᚋbitmagnet return ret } -func (ec *executionContext) unmarshalOVideoSource2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx context.Context, v interface{}) (*model.VideoSource, error) { +func (ec *executionContext) unmarshalOVideoSource2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx context.Context, v any) (*model.VideoSource, error) { if v == nil { return nil, nil } @@ -23766,7 +24142,7 @@ func (ec *executionContext) marshalOVideoSourceAgg2ᚕgithubᚗcomᚋbitmagnet return ret } -func (ec *executionContext) unmarshalOVideoSourceFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐVideoSourceFacetInput(ctx context.Context, v interface{}) (*gen.VideoSourceFacetInput, error) { +func (ec *executionContext) unmarshalOVideoSourceFacetInput2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐVideoSourceFacetInput(ctx context.Context, v any) (*gen.VideoSourceFacetInput, error) { if v == nil { return nil, nil } @@ -23774,7 +24150,7 @@ func (ec *executionContext) unmarshalOVideoSourceFacetInput2ᚖgithubᚗcomᚋbi return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOVoid2ᚖstring(ctx context.Context, v interface{}) (*string, error) { +func (ec *executionContext) unmarshalOVoid2ᚖstring(ctx context.Context, v any) (*string, error) { if v == nil { return nil, nil } @@ -23790,7 +24166,7 @@ func (ec *executionContext) marshalOVoid2ᚖstring(ctx context.Context, sel ast. return res } -func (ec *executionContext) unmarshalOYear2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, v interface{}) (model.Year, error) { +func (ec *executionContext) unmarshalOYear2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, v any) (model.Year, error) { var res model.Year err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) @@ -23800,11 +24176,11 @@ func (ec *executionContext) marshalOYear2githubᚗcomᚋbitmagnetᚑioᚋbitmagn return v } -func (ec *executionContext) unmarshalOYear2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, v interface{}) ([]*model.Year, error) { +func (ec *executionContext) unmarshalOYear2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, v any) ([]*model.Year, error) { if v == nil { return nil, nil } - var vSlice []interface{} + var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } @@ -23832,7 +24208,7 @@ func (ec *executionContext) marshalOYear2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋb return ret } -func (ec *executionContext) unmarshalOYear2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, v interface{}) (*model.Year, error) { +func (ec *executionContext) unmarshalOYear2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, v any) (*model.Year, error) { if v == nil { return nil, nil } diff --git a/internal/gql/gqlmodel/gen/model.gen.go b/internal/gql/gqlmodel/gen/model.gen.go index 86e25115..5218b26a 100644 --- a/internal/gql/gqlmodel/gen/model.gen.go +++ b/internal/gql/gqlmodel/gen/model.gen.go @@ -297,7 +297,7 @@ func (e ClientID) String() string { return string(e) } -func (e *ClientID) UnmarshalGQL(v interface{}) error { +func (e *ClientID) UnmarshalGQL(v any) error { str, ok := v.(string) if !ok { return fmt.Errorf("enums must be strings") diff --git a/webui/dist/bitmagnet/3rdpartylicenses.txt b/webui/dist/bitmagnet/3rdpartylicenses.txt index e37a1aaf..51ad5d39 100644 --- a/webui/dist/bitmagnet/3rdpartylicenses.txt +++ b/webui/dist/bitmagnet/3rdpartylicenses.txt @@ -51,6 +51,32 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +-------------------------------------------------------------------------------- +Package: apollo-angular +License: "MIT" + +The MIT License (MIT) + +Copyright (c) 2015 - 2020 Kamil Kisiela + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + -------------------------------------------------------------------------------- Package: @kurkle/color License: "MIT" @@ -314,58 +340,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: @angular/forms -License: "MIT" - -The MIT License - -Copyright (c) 2010-2024 Google LLC. https://angular.dev/license - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - --------------------------------------------------------------------------------- -Package: @angular/cdk -License: "MIT" - -The MIT License - -Copyright (c) 2024 Google LLC. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -------------------------------------------------------------------------------- Package: ts-invariant License: "MIT" @@ -563,10 +537,14 @@ SOFTWARE. Package: symbol-observable License: "MIT" -The MIT License (MIT) -Copyright (c) 2021 Sindre Sorhus (sindresorhus.com) -Copyright (c) 2021 Ben Lesh +-------------------------------------------------------------------------------- +Package: @wry/equality +License: "MIT" + +MIT License + +Copyright (c) 2019 Ben Newman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -575,24 +553,24 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -------------------------------------------------------------------------------- -Package: @wry/equality +Package: graphql-tag License: "MIT" -MIT License +The MIT License (MIT) -Copyright (c) 2019 Ben Newman +Copyright (c) 2021 Apollo Graph, Inc. (Formerly Meteor Development Group, Inc.) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -613,12 +591,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- -Package: graphql-tag +Package: @angular/forms License: "MIT" -The MIT License (MIT) +The MIT License -Copyright (c) 2021 Apollo Graph, Inc. (Formerly Meteor Development Group, Inc.) +Copyright (c) 2010-2024 Google LLC. https://angular.dev/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -627,24 +605,24 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. -------------------------------------------------------------------------------- -Package: apollo-angular +Package: @angular/cdk License: "MIT" -The MIT License (MIT) +The MIT License -Copyright (c) 2015 - 2020 Kamil Kisiela +Copyright (c) 2024 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -653,16 +631,16 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. -------------------------------------------------------------------------------- Package: @angular/common diff --git a/webui/dist/bitmagnet/browser/chunk-2DNC66PX.js b/webui/dist/bitmagnet/browser/chunk-2DNC66PX.js deleted file mode 100644 index cecfdee7..00000000 --- a/webui/dist/bitmagnet/browser/chunk-2DNC66PX.js +++ /dev/null @@ -1 +0,0 @@ -import{d as M,e as y,f as w,g as f,h as g,j as S,k as D,l as I,m as X}from"./chunk-ZF4WX6G7.js";function h(t,e){let r=+f(t)-+f(e);return r<0?-1:r>0?1:r}function T(t){return w(t,Date.now())}function _(t,e,r){let[s,o]=D(r?.in,t,e),c=s.getFullYear()-o.getFullYear(),i=s.getMonth()-o.getMonth();return c*12+i}function F(t){return e=>{let s=(t?Math[t]:Math.trunc)(e);return s===0?0:s}}function Y(t,e){return+f(t)-+f(e)}function z(t,e){let r=f(t,e?.in);return r.setHours(23,59,59,999),r}function L(t,e){let r=f(t,e?.in),s=r.getMonth();return r.setFullYear(r.getFullYear(),s+1,0),r.setHours(23,59,59,999),r}function N(t,e){let r=f(t,e?.in);return+z(r,e)==+L(r,e)}function b(t,e,r){let[s,o,c]=D(r?.in,t,t,e),i=h(o,c),n=Math.abs(_(o,c));if(n<1)return 0;o.getMonth()===1&&o.getDate()>27&&o.setDate(30),o.setMonth(o.getMonth()-i*n);let m=h(o,c)===-i;N(s)&&n===1&&h(s,c)===1&&(m=!1);let u=i*(n-+m);return u===0?0:u}function A(t,e,r){let s=Y(t,e)/1e3;return F(r?.roundingMethod)(s)}function v(t,e,r){let s=g(),o=r?.locale??s.locale??I,c=2520,i=h(t,e);if(isNaN(i))throw new RangeError("Invalid time value");let n=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:i}),[m,u]=D(r?.in,...i>0?[e,t]:[t,e]),l=A(u,m),x=(S(u)-S(m))/1e3,a=Math.round((l-x)/60),p;if(a<2)return r?.includeSeconds?l<5?o.formatDistance("lessThanXSeconds",5,n):l<10?o.formatDistance("lessThanXSeconds",10,n):l<20?o.formatDistance("lessThanXSeconds",20,n):l<40?o.formatDistance("halfAMinute",0,n):l<60?o.formatDistance("lessThanXMinutes",1,n):o.formatDistance("xMinutes",1,n):a===0?o.formatDistance("lessThanXMinutes",1,n):o.formatDistance("xMinutes",a,n);if(a<45)return o.formatDistance("xMinutes",a,n);if(a<90)return o.formatDistance("aboutXHours",1,n);if(a{let l=`x${u.replace(/(^.)/,a=>a.toUpperCase())}`,x=t[u];return x!==void 0&&(c||t[u])?m.concat(s.formatDistance(l,x)):m},[]).join(i):""}var _t=(t,e)=>H(t,{addSuffix:!0,locale:X(e)}),Ft=(t,e)=>k(t,{locale:X(e)});export{_t as a,Ft as b}; diff --git a/webui/dist/bitmagnet/browser/chunk-3IKCDSDW.js b/webui/dist/bitmagnet/browser/chunk-3IKCDSDW.js new file mode 100644 index 00000000..77bdcb53 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-3IKCDSDW.js @@ -0,0 +1 @@ +import{g as oe,j as ae}from"./chunk-6OKZFKY7.js";import{b as ie}from"./chunk-PX3TOMGC.js";import{a as Y}from"./chunk-FNMD7JET.js";import{a as ne}from"./chunk-DSEDLZDW.js";import{Ca as O,E as z,F as H,Fa as te,P as K,R as W,S as X,V as y,X as Z,_a as S,b as q,h as I,ha as R,ia as N,ja as ee,la as B,ma as A,na as J,s as L,t as V,u as U}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{$b as a,B as F,Cb as f,Ea as m,Fa as p,Hb as g,Mb as E,N as P,Nb as G,Ob as Q,Pb as w,Qb as s,Rb as r,Sb as h,Tb as D,Ub as v,Wb as x,Zb as _,kb as i,kc as c,lc as d,mc as C,nc as $,o as M,pc as k,qa as b,tc as j,ua as T}from"./chunk-Z3WUIYN5.js";var he=(n,l)=>l.key;function xe(n,l){if(n&1&&(s(0,"mat-option",8),c(1),r()),n&2){let e=l.$implicit,t=a(2).$implicit;g("value",e.key),i(),C(" ",t("content_types.plural."+e.key)," ")}}function fe(n,l){if(n&1){let e=x();s(0,"section")(1,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.purge=o.checked)}),c(2),r(),h(3,"br"),s(4,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return u.localSearchDisabled=!o.checked,p(u.apisDisabled=o.checked?u.apisDisabled:!0)}),c(5),r(),h(6,"br"),s(7,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.apisDisabled=!o.checked)}),c(8),r(),h(9,"br"),s(10,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.classifierRematch=o.checked)}),c(11),r(),h(12,"br"),s(13,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return u.orphans=o.checked,p(u.contentTypes=o.checked?["all"]:u.contentTypes)}),c(14),r(),h(15,"br"),s(16,"mat-form-field",5)(17,"mat-label"),c(18),r(),s(19,"mat-select",6),_("selectionChange",function(o){m(e);let u=a(2);return p(u.onContentTypeSelectionChange(o))}),s(20,"mat-option",7),c(21),r(),Q(22,xe,2,2,"mat-option",8,he),r()()()}if(n&2){let e=a().$implicit,t=a();i(),g("checked",t.purge),i(),d(e("dashboard.queues.purge_queue_jobs")),i(2),g("checked",!t.localSearchDisabled),i(),d(e("torrents.reprocess.match_content_by_local_search")),i(2),g("checked",!t.apisDisabled),i(),d(e("torrents.reprocess.match_content_by_external_api_search")),i(2),g("checked",t.classifierRematch),i(),d(e("torrents.reprocess.force_rematch")),i(2),g("checked",t.orphans),i(),d(e("dashboard.queues.process_orphaned_torrents_only")),i(4),d(e("facets.content_type")),i(),g("value",t.contentTypes),i(2),d(e("general.all")),i(),w(t.allContentTypes)}}function Ce(n,l){n&1&&h(0,"mat-spinner")}function be(n,l){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a().$implicit;i(),d(e("dashboard.queues.jobs_enqueued"))}}function Te(n,l){if(n&1){let e=x();s(0,"button",9),_("click",function(){m(e);let o=a(2);return p(o.handleEnqueue())}),c(1),r()}if(n&2){let e=a().$implicit;i(),C(" ",e("dashboard.queues.enqueue_jobs")," ")}}function Ee(n,l){if(n&1){let e=x();D(0),s(1,"mat-card")(2,"h2",1),c(3),r(),s(4,"mat-dialog-content"),f(5,fe,24,13,"section")(6,Ce,1,0,"mat-spinner")(7,be,2,1,"p"),r(),s(8,"mat-dialog-actions"),f(9,Te,2,1,"button",2),s(10,"button",3),_("click",function(){m(e);let o=a();return p(o.dialogRef.close())}),c(11),r()()(),v()}if(n&2){let e=l.$implicit,t=a();i(3),C(" ",e("dashboard.queues.enqueue_torrent_processing_batch")," "),i(2),E(t.stage==="PENDING"?5:t.stage==="REQUESTING"?6:t.stage==="DONE"?7:-1),i(4),E(t.stage==="PENDING"?9:-1),i(2),C(" ",e("general.dismiss")," ")}}var ue=(()=>{class n{constructor(){this.apollo=b(I),this.dialogRef=b(N),this.errorsService=b(Y),this.allContentTypes=ie,this.stage="PENDING",this.purge=!0,this.apisDisabled=!0,this.localSearchDisabled=!0,this.classifierRematch=!1,this.contentTypes=["all"],this.orphans=!1}handleEnqueue(){this.stage==="PENDING"&&(this.stage="REQUESTING",this.apollo.mutate({mutation:z,variables:{input:{purge:this.purge,apisDisabled:this.apisDisabled,localSearchDisabled:this.localSearchDisabled,classifierRematch:this.classifierRematch,contentTypes:this.contentTypes.includes("all")?void 0:this.contentTypes.map(e=>e==="null"?null:e),orphans:this.orphans?!0:void 0}}}).pipe(P(e=>(this.errorsService.addError(e.message),this.dialogRef.close(),M))).subscribe(()=>{this.stage="DONE",this.data.onEnqueued?.()}))}onContentTypeSelectionChange(e){!Array.isArray(e.value)||!e.value.length||e.value.includes("all")&&(!this.contentTypes.includes("all")||e.value.length===1)?this.contentTypes=["all"]:(this.orphans=!1,this.contentTypes=this.allContentTypes.map(t=>t.key).filter(t=>e.value.includes(t)))}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=T({type:n,selectors:[["app-queue-enqueue-reprocess-torrents-batch-dialog"]],standalone:!0,features:[k],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],["mat-stroked-button","","color","warning"],["mat-stroked-button","",3,"click"],[3,"change","checked"],[1,"select-content-types"],["multiple","",3,"selectionChange","value"],["value","all"],[3,"value"],["mat-stroked-button","","color","warning",3,"click"]],template:function(t,o){t&1&&f(0,Ee,12,4,"ng-container",0)},dependencies:[S,L,V,y,R,B,J,A,X,W,O,te,q],styles:["mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%;height:100%}.select-content-types[_ngcontent-%COMP%]{margin-top:10px}"]})}}return n})();function De(n,l){if(n&1){let e=x();s(0,"mat-checkbox",6),_("change",function(o){m(e);let u=a(3);return p(u.handleQueueEvent(o))}),c(1),r()}if(n&2){let e=l.$implicit,t=a(3);g("value",e)("checked",t.queues==null?null:t.queues.includes(e)),i(),d(e)}}function ve(n,l){if(n&1){let e=x();s(0,"mat-checkbox",6),_("change",function(o){m(e);let u=a(3);return p(u.handleStatusEvent(o))}),c(1),r()}if(n&2){let e=l.$implicit,t=a(2).$implicit,o=a();g("value",e)("checked",o.statuses==null?null:o.statuses.includes(e)),i(),d(t("dashboard.queues."+e))}}function ke(n,l){if(n&1){let e=x();s(0,"section")(1,"h4"),c(2),r(),s(3,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.handleQueueEvent(o))}),c(4),r(),Q(5,De,2,3,"mat-checkbox",5,G),r(),s(7,"section")(8,"h4"),c(9),r(),s(10,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.handleStatusEvent(o))}),c(11),r(),Q(12,ve,2,3,"mat-checkbox",5,G),r()}if(n&2){let e=a().$implicit,t=a();i(2),C("",e("dashboard.queues.queues"),":"),i(),g("checked",t.queues===void 0),i(),d(e("general.all")),i(),w(t.availableQueueNames),i(4),C("",e("general.status"),":"),i(),g("checked",t.statuses===void 0),i(),d(e("general.all")),i(),w(t.statusNames)}}function qe(n,l){n&1&&h(0,"mat-spinner")}function ye(n,l){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a(2).$implicit,t=a();i(),$("",e("general.error"),": ",t.error.message,"")}}function Se(n,l){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a(2).$implicit;i(),d(e("dashboard.queues.queue_purged"))}}function Qe(n,l){if(n&1&&f(0,ye,2,2,"p")(1,Se,2,1,"p"),n&2){let e=a(2);E(e.error?0:1)}}function we(n,l){if(n&1){let e=x();D(0),s(1,"mat-card")(2,"h2",1),c(3),r(),s(4,"mat-dialog-content"),f(5,ke,14,6)(6,qe,1,0,"mat-spinner")(7,Qe,2,1),r(),s(8,"mat-dialog-actions")(9,"button",2),_("click",function(){m(e);let o=a();return p(o.handlePurgeJobs())}),c(10),r(),s(11,"button",3),_("click",function(){m(e);let o=a();return p(o.dialogRef.close())}),c(12),r()()(),v()}if(n&2){let e=l.$implicit,t=a();i(3),d(e("dashboard.queues.purge_queue_jobs")),i(2),E(t.stage==="PENDING"?5:t.stage==="REQUESTING"?6:t.stage==="DONE"?7:-1),i(4),g("disabled",t.stage!=="PENDING"),i(),C(" ",e("dashboard.queues.purge_jobs")," "),i(2),C(" ",e("general.dismiss")," ")}}var me=(()=>{class n{constructor(){this.apollo=b(I),this.dialogRef=b(N),this.availableQueueNames=ae,this.statusNames=oe,this.stage="PENDING"}handleQueueEvent(e){if(e.source.value==="_all"){this.queues=void 0;return}if(e.checked){let t=this.queues??[];t.includes(e.source.value)||(t=[...t,e.source.value]),t.length===this.availableQueueNames.length?(e.source.checked=!1,this.queues=void 0):this.queues=t}else{let t=this.queues?.filter(o=>o!==e.source.value);t?.length?this.queues=t:this.queues=void 0}}handleStatusEvent(e){if(e.source.value==="_all"){this.statuses=void 0;return}if(e.checked){let t=this.statuses??[];t.includes(e.source.value)||(t=[...t,e.source.value]),t.length===this.statusNames.length?(e.source.checked=!1,this.statuses=void 0):this.statuses=t}else{let t=this.statuses?.filter(o=>o!==e.source.value);t?.length?this.statuses=t:this.statuses=void 0}}handlePurgeJobs(){this.stage==="PENDING"&&(this.stage="REQUESTING",this.apollo.mutate({mutation:H,variables:{input:{queues:this.queues,statuses:this.statuses}}}).pipe(P(e=>(this.stage="DONE",this.error=e,M)),F(()=>{this.stage="DONE",this.data?.onPurged?.()})).subscribe())}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=T({type:n,selectors:[["app-queue-purge-jobs-dialog"]],standalone:!0,features:[k],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],["mat-stroked-button","","color","warning",3,"click","disabled"],["mat-stroked-button","",3,"click"],["value","_all",3,"change","checked"],[3,"value","checked"],[3,"change","value","checked"]],template:function(t,o){t&1&&f(0,we,13,5,"ng-container",0)},dependencies:[S,V,y,R,B,J,A,O,q,K],styles:["mat-dialog-content[_ngcontent-%COMP%]{min-height:240px;overflow:visible}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return n})();var Me=(n,l,e)=>[n,l,e];function Pe(n,l){if(n&1){let e=x();D(0),h(1,"app-document-title",1),s(2,"mat-card")(3,"mat-card-content")(4,"ul")(5,"li")(6,"a",2),_("click",function(){m(e);let o=a();return p(o.openDialogPurgeJobs())}),c(7),r()(),s(8,"li")(9,"a",2),_("click",function(){m(e);let o=a();return p(o.openDialogEnqueueReprocessTorrentsBatch())}),c(10),r()()()()(),v()}if(n&2){let e=l.$implicit;i(),g("parts",j(3,Me,e("routes.admin"),e("routes.queues"),e("routes.dashboard"))),i(6),d(e("dashboard.queues.purge_queue_jobs")),i(3),d(e("dashboard.queues.enqueue_torrent_processing_batch"))}}var pt=(()=>{class n{constructor(){this.dialog=b(ee)}openDialogPurgeJobs(){this.dialog.open(me)}openDialogEnqueueReprocessTorrentsBatch(){this.dialog.open(ue)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=T({type:n,selectors:[["app-queue-admin"]],standalone:!0,features:[k],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],["mat-button","",3,"click"]],template:function(t,o){t&1&&f(0,Pe,11,7,"ng-container",0)},dependencies:[S,U,y,Z,q,ne],styles:["ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}"]})}}return n})();export{pt as QueueAdminComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-42PJPEMD.js b/webui/dist/bitmagnet/browser/chunk-42PJPEMD.js new file mode 100644 index 00000000..f9912d89 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-42PJPEMD.js @@ -0,0 +1 @@ +var mt={lessThanXSeconds:{one:"\u0623\u0642\u0644 \u0645\u0646 \u062B\u0627\u0646\u064A\u0629",two:"\u0623\u0642\u0644 \u0645\u0646 \u062B\u0627\u0646\u064A\u062A\u064A\u0646",threeToTen:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062B\u0648\u0627\u0646\u064A",other:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062B\u0627\u0646\u064A\u0629"},xSeconds:{one:"\u062B\u0627\u0646\u064A\u0629 \u0648\u0627\u062D\u062F\u0629",two:"\u062B\u0627\u0646\u064A\u062A\u0627\u0646",threeToTen:"{{count}} \u062B\u0648\u0627\u0646\u064A",other:"{{count}} \u062B\u0627\u0646\u064A\u0629"},halfAMinute:"\u0646\u0635\u0641 \u062F\u0642\u064A\u0642\u0629",lessThanXMinutes:{one:"\u0623\u0642\u0644 \u0645\u0646 \u062F\u0642\u064A\u0642\u0629",two:"\u0623\u0642\u0644 \u0645\u0646 \u062F\u0642\u064A\u0642\u062A\u064A\u0646",threeToTen:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062F\u0642\u0627\u0626\u0642",other:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062F\u0642\u064A\u0642\u0629"},xMinutes:{one:"\u062F\u0642\u064A\u0642\u0629 \u0648\u0627\u062D\u062F\u0629",two:"\u062F\u0642\u064A\u0642\u062A\u0627\u0646",threeToTen:"{{count}} \u062F\u0642\u0627\u0626\u0642",other:"{{count}} \u062F\u0642\u064A\u0642\u0629"},aboutXHours:{one:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629 \u062A\u0642\u0631\u064A\u0628\u0627\u064B",two:"\u0633\u0627\u0639\u062A\u064A\u0646 \u062A\u0642\u0631\u064A\u0628\u0627",threeToTen:"{{count}} \u0633\u0627\u0639\u0627\u062A \u062A\u0642\u0631\u064A\u0628\u0627\u064B",other:"{{count}} \u0633\u0627\u0639\u0629 \u062A\u0642\u0631\u064A\u0628\u0627\u064B"},xHours:{one:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",two:"\u0633\u0627\u0639\u062A\u0627\u0646",threeToTen:"{{count}} \u0633\u0627\u0639\u0627\u062A",other:"{{count}} \u0633\u0627\u0639\u0629"},xDays:{one:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",two:"\u064A\u0648\u0645\u0627\u0646",threeToTen:"{{count}} \u0623\u064A\u0627\u0645",other:"{{count}} \u064A\u0648\u0645"},aboutXWeeks:{one:"\u0623\u0633\u0628\u0648\u0639 \u0648\u0627\u062D\u062F \u062A\u0642\u0631\u064A\u0628\u0627",two:"\u0623\u0633\u0628\u0648\u0639\u064A\u0646 \u062A\u0642\u0631\u064A\u0628\u0627",threeToTen:"{{count}} \u0623\u0633\u0627\u0628\u064A\u0639 \u062A\u0642\u0631\u064A\u0628\u0627",other:"{{count}} \u0623\u0633\u0628\u0648\u0639\u0627 \u062A\u0642\u0631\u064A\u0628\u0627"},xWeeks:{one:"\u0623\u0633\u0628\u0648\u0639 \u0648\u0627\u062D\u062F",two:"\u0623\u0633\u0628\u0648\u0639\u0627\u0646",threeToTen:"{{count}} \u0623\u0633\u0627\u0628\u064A\u0639",other:"{{count}} \u0623\u0633\u0628\u0648\u0639\u0627"},aboutXMonths:{one:"\u0634\u0647\u0631 \u0648\u0627\u062D\u062F \u062A\u0642\u0631\u064A\u0628\u0627\u064B",two:"\u0634\u0647\u0631\u064A\u0646 \u062A\u0642\u0631\u064A\u0628\u0627",threeToTen:"{{count}} \u0623\u0634\u0647\u0631 \u062A\u0642\u0631\u064A\u0628\u0627",other:"{{count}} \u0634\u0647\u0631\u0627 \u062A\u0642\u0631\u064A\u0628\u0627\u064B"},xMonths:{one:"\u0634\u0647\u0631 \u0648\u0627\u062D\u062F",two:"\u0634\u0647\u0631\u0627\u0646",threeToTen:"{{count}} \u0623\u0634\u0647\u0631",other:"{{count}} \u0634\u0647\u0631\u0627"},aboutXYears:{one:"\u0633\u0646\u0629 \u0648\u0627\u062D\u062F\u0629 \u062A\u0642\u0631\u064A\u0628\u0627\u064B",two:"\u0633\u0646\u062A\u064A\u0646 \u062A\u0642\u0631\u064A\u0628\u0627",threeToTen:"{{count}} \u0633\u0646\u0648\u0627\u062A \u062A\u0642\u0631\u064A\u0628\u0627\u064B",other:"{{count}} \u0633\u0646\u0629 \u062A\u0642\u0631\u064A\u0628\u0627\u064B"},xYears:{one:"\u0633\u0646\u0629 \u0648\u0627\u062D\u062F",two:"\u0633\u0646\u062A\u0627\u0646",threeToTen:"{{count}} \u0633\u0646\u0648\u0627\u062A",other:"{{count}} \u0633\u0646\u0629"},overXYears:{one:"\u0623\u0643\u062B\u0631 \u0645\u0646 \u0633\u0646\u0629",two:"\u0623\u0643\u062B\u0631 \u0645\u0646 \u0633\u0646\u062A\u064A\u0646",threeToTen:"\u0623\u0643\u062B\u0631 \u0645\u0646 {{count}} \u0633\u0646\u0648\u0627\u062A",other:"\u0623\u0643\u062B\u0631 \u0645\u0646 {{count}} \u0633\u0646\u0629"},almostXYears:{one:"\u0645\u0627 \u064A\u0642\u0627\u0631\u0628 \u0633\u0646\u0629 \u0648\u0627\u062D\u062F\u0629",two:"\u0645\u0627 \u064A\u0642\u0627\u0631\u0628 \u0633\u0646\u062A\u064A\u0646",threeToTen:"\u0645\u0627 \u064A\u0642\u0627\u0631\u0628 {{count}} \u0633\u0646\u0648\u0627\u062A",other:"\u0645\u0627 \u064A\u0642\u0627\u0631\u0628 {{count}} \u0633\u0646\u0629"}},F=(e,t,a)=>{let n=mt[e],r;return typeof n=="string"?r=n:t===1?r=n.one:t===2?r=n.two:t<=10?r=n.threeToTen.replace("{{count}}",String(t)):r=n.other.replace("{{count}}",String(t)),a?.addSuffix?a.comparison&&a.comparison>0?"\u062E\u0644\u0627\u0644 "+r:"\u0645\u0646\u0630 "+r:r};function s(e){return(t={})=>{let a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}var dt={full:"EEEE\u060C do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},ut={full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},lt={full:"{{date}} '\u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' {{time}}",long:"{{date}} '\u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},N={date:s({formats:dt,defaultWidth:"full"}),time:s({formats:ut,defaultWidth:"full"}),dateTime:s({formats:lt,defaultWidth:"full"})};var ct={lastWeek:"eeee '\u0627\u0644\u0645\u0627\u0636\u064A \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",yesterday:"'\u0627\u0644\u0623\u0645\u0633 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",today:"'\u0627\u0644\u064A\u0648\u0645 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",tomorrow:"'\u063A\u062F\u0627 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",nextWeek:"eeee '\u0627\u0644\u0642\u0627\u062F\u0645 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",other:"P"},j=e=>ct[e];function o(e){return(t,a)=>{let n=a?.context?String(a.context):"standalone",r;if(n==="formatting"&&e.formattingValues){let u=e.defaultFormattingWidth||e.defaultWidth,h=a?.width?String(a.width):u;r=e.formattingValues[h]||e.formattingValues[u]}else{let u=e.defaultWidth,h=a?.width?String(a.width):e.defaultWidth;r=e.values[h]||e.values[u]}let d=e.argumentCallback?e.argumentCallback(t):t;return r[d]}}var ht={narrow:["\u0642","\u0628"],abbreviated:["\u0642.\u0645.","\u0628.\u0645."],wide:["\u0642\u0628\u0644 \u0627\u0644\u0645\u064A\u0644\u0627\u062F","\u0628\u0639\u062F \u0627\u0644\u0645\u064A\u0644\u0627\u062F"]},ft={narrow:["1","2","3","4"],abbreviated:["\u06311","\u06312","\u06313","\u06314"],wide:["\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u0623\u0648\u0644","\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u062B\u0627\u0646\u064A","\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u062B\u0627\u0644\u062B","\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u0631\u0627\u0628\u0639"]},gt={narrow:["\u064A","\u0641","\u0645","\u0623","\u0645","\u064A","\u064A","\u0623","\u0633","\u0623","\u0646","\u062F"],abbreviated:["\u064A\u0646\u0627\u064A\u0631","\u0641\u0628\u0631\u0627\u064A\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064A\u0644","\u0645\u0627\u064A\u0648","\u064A\u0648\u0646\u064A\u0648","\u064A\u0648\u0644\u064A\u0648","\u0623\u063A\u0633\u0637\u0633","\u0633\u0628\u062A\u0645\u0628\u0631","\u0623\u0643\u062A\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062F\u064A\u0633\u0645\u0628\u0631"],wide:["\u064A\u0646\u0627\u064A\u0631","\u0641\u0628\u0631\u0627\u064A\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064A\u0644","\u0645\u0627\u064A\u0648","\u064A\u0648\u0646\u064A\u0648","\u064A\u0648\u0644\u064A\u0648","\u0623\u063A\u0633\u0637\u0633","\u0633\u0628\u062A\u0645\u0628\u0631","\u0623\u0643\u062A\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062F\u064A\u0633\u0645\u0628\u0631"]},pt={narrow:["\u062D","\u0646","\u062B","\u0631","\u062E","\u062C","\u0633"],short:["\u0623\u062D\u062F","\u0627\u062B\u0646\u064A\u0646","\u062B\u0644\u0627\u062B\u0627\u0621","\u0623\u0631\u0628\u0639\u0627\u0621","\u062E\u0645\u064A\u0633","\u062C\u0645\u0639\u0629","\u0633\u0628\u062A"],abbreviated:["\u0623\u062D\u062F","\u0627\u062B\u0646\u064A\u0646","\u062B\u0644\u0627\u062B\u0627\u0621","\u0623\u0631\u0628\u0639\u0627\u0621","\u062E\u0645\u064A\u0633","\u062C\u0645\u0639\u0629","\u0633\u0628\u062A"],wide:["\u0627\u0644\u0623\u062D\u062F","\u0627\u0644\u0627\u062B\u0646\u064A\u0646","\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621","\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621","\u0627\u0644\u062E\u0645\u064A\u0633","\u0627\u0644\u062C\u0645\u0639\u0629","\u0627\u0644\u0633\u0628\u062A"]},vt={narrow:{am:"\u0635",pm:"\u0645",morning:"\u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"},abbreviated:{am:"\u0635",pm:"\u0645",morning:"\u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"},wide:{am:"\u0635",pm:"\u0645",morning:"\u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"}},bt={narrow:{am:"\u0635",pm:"\u0645",morning:"\u0641\u064A \u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0641\u064A \u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0641\u064A \u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"},abbreviated:{am:"\u0635",pm:"\u0645",morning:"\u0641\u064A \u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0641\u064A \u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0641\u064A \u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"},wide:{am:"\u0635",pm:"\u0645",morning:"\u0641\u064A \u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0641\u064A \u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0641\u064A \u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"}},wt=e=>String(e),T={ordinalNumber:wt,era:o({values:ht,defaultWidth:"wide"}),quarter:o({values:ft,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:gt,defaultWidth:"wide"}),day:o({values:pt,defaultWidth:"wide"}),dayPeriod:o({values:vt,defaultWidth:"wide",formattingValues:bt,defaultFormattingWidth:"wide"})};function m(e){return(t,a={})=>{let n=t.match(e.matchPattern);if(!n)return null;let r=n[0],d=t.match(e.parsePattern);if(!d)return null;let u=e.valueCallback?e.valueCallback(d[0]):d[0];u=a.valueCallback?a.valueCallback(u):u;let h=t.slice(r.length);return{value:u,rest:h}}}function i(e){return(t,a={})=>{let n=a.width,r=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],d=t.match(r);if(!d)return null;let u=d[0],h=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],S=Array.isArray(h)?Pt(h,P=>P.test(u)):yt(h,P=>P.test(u)),p;p=e.valueCallback?e.valueCallback(S):S,p=a.valueCallback?a.valueCallback(p):p;let st=t.slice(u.length);return{value:p,rest:st}}}function yt(e,t){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return a}function Pt(e,t){for(let a=0;aparseInt(e,10)}),era:i({matchPatterns:xt,defaultMatchWidth:"wide",parsePatterns:kt,defaultParseWidth:"any"}),quarter:i({matchPatterns:Dt,defaultMatchWidth:"wide",parsePatterns:zt,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:St,defaultMatchWidth:"wide",parsePatterns:Ft,defaultParseWidth:"any"}),day:i({matchPatterns:Nt,defaultMatchWidth:"wide",parsePatterns:jt,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:Tt,defaultMatchWidth:"any",parsePatterns:Ct,defaultParseWidth:"any"})};var G={code:"ar",formatDistance:F,formatLong:N,formatRelative:j,localize:T,match:C,options:{weekStartsOn:6,firstWeekContainsDate:1}};var V={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},H=(e,t,a)=>{let n,r=a?.addSuffix?V[e].withPreposition:V[e].standalone;return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",String(t)),a?.addSuffix?a.comparison&&a.comparison>0?"in "+n:"vor "+n:n};var Gt={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},Vt={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Ht={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},L={date:s({formats:Gt,defaultWidth:"full"}),time:s({formats:Vt,defaultWidth:"full"}),dateTime:s({formats:Ht,defaultWidth:"full"})};var Lt={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},X=(e,t,a,n)=>Lt[e];var Xt={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},Et={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},M={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},qt={narrow:M.narrow,abbreviated:["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:M.wide},At={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},Ot={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},Yt={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},Jt=e=>Number(e)+".",E={ordinalNumber:Jt,era:o({values:Xt,defaultWidth:"wide"}),quarter:o({values:Et,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:M,formattingValues:qt,defaultWidth:"wide"}),day:o({values:At,defaultWidth:"wide"}),dayPeriod:o({values:Ot,defaultWidth:"wide",formattingValues:Yt,defaultFormattingWidth:"wide"})};var Rt=/^(\d+)(\.)?/i,Qt=/\d+/i,_t={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},It={any:[/^v/i,/^n/i]},Kt={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},$t={any:[/1/i,/2/i,/3/i,/4/i]},Ut={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},Bt={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Zt={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},ea={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},ta={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},aa={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},q={ordinalNumber:m({matchPattern:Rt,parsePattern:Qt,valueCallback:e=>parseInt(e)}),era:i({matchPatterns:_t,defaultMatchWidth:"wide",parsePatterns:It,defaultParseWidth:"any"}),quarter:i({matchPatterns:Kt,defaultMatchWidth:"wide",parsePatterns:$t,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:Ut,defaultMatchWidth:"wide",parsePatterns:Bt,defaultParseWidth:"any"}),day:i({matchPatterns:Zt,defaultMatchWidth:"wide",parsePatterns:ea,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:ta,defaultMatchWidth:"wide",parsePatterns:aa,defaultParseWidth:"any"})};var A={code:"de",formatDistance:H,formatLong:L,formatRelative:X,localize:E,match:q,options:{weekStartsOn:1,firstWeekContainsDate:4}};var na={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},O=(e,t,a)=>{let n,r=na[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",t.toString()),a?.addSuffix?a.comparison&&a.comparison>0?"in "+n:n+" ago":n};var ra={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},oa={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ia={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Y={date:s({formats:ra,defaultWidth:"full"}),time:s({formats:oa,defaultWidth:"full"}),dateTime:s({formats:ia,defaultWidth:"full"})};var sa={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},J=(e,t,a,n)=>sa[e];var ma={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},da={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ua={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},la={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ca={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ha={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},fa=(e,t)=>{let a=Number(e),n=a%100;if(n>20||n<10)switch(n%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},R={ordinalNumber:fa,era:o({values:ma,defaultWidth:"wide"}),quarter:o({values:da,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:ua,defaultWidth:"wide"}),day:o({values:la,defaultWidth:"wide"}),dayPeriod:o({values:ca,defaultWidth:"wide",formattingValues:ha,defaultFormattingWidth:"wide"})};var ga=/^(\d+)(th|st|nd|rd)?/i,pa=/\d+/i,va={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ba={any:[/^b/i,/^(a|c)/i]},wa={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ya={any:[/1/i,/2/i,/3/i,/4/i]},Pa={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ma={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Wa={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},xa={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ka={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Da={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Q={ordinalNumber:m({matchPattern:ga,parsePattern:pa,valueCallback:e=>parseInt(e,10)}),era:i({matchPatterns:va,defaultMatchWidth:"wide",parsePatterns:ba,defaultParseWidth:"any"}),quarter:i({matchPatterns:wa,defaultMatchWidth:"wide",parsePatterns:ya,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:Pa,defaultMatchWidth:"wide",parsePatterns:Ma,defaultParseWidth:"any"}),day:i({matchPatterns:Wa,defaultMatchWidth:"wide",parsePatterns:xa,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:ka,defaultMatchWidth:"any",parsePatterns:Da,defaultParseWidth:"any"})};var w={code:"en-US",formatDistance:O,formatLong:Y,formatRelative:J,localize:R,match:Q,options:{weekStartsOn:0,firstWeekContainsDate:1}};var za={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 d\xEDa",other:"{{count}} d\xEDas"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 a\xF1o",other:"alrededor de {{count}} a\xF1os"},xYears:{one:"1 a\xF1o",other:"{{count}} a\xF1os"},overXYears:{one:"m\xE1s de 1 a\xF1o",other:"m\xE1s de {{count}} a\xF1os"},almostXYears:{one:"casi 1 a\xF1o",other:"casi {{count}} a\xF1os"}},_=(e,t,a)=>{let n,r=za[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",t.toString()),a?.addSuffix?a.comparison&&a.comparison>0?"en "+n:"hace "+n:n};var Sa={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},Fa={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Na={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},I={date:s({formats:Sa,defaultWidth:"full"}),time:s({formats:Fa,defaultWidth:"full"}),dateTime:s({formats:Na,defaultWidth:"full"})};var ja={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'ma\xF1ana a la' p",nextWeek:"eeee 'a la' p",other:"P"},Ta={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'ma\xF1ana a las' p",nextWeek:"eeee 'a las' p",other:"P"},K=(e,t,a,n)=>t.getHours()!==1?Ta[e]:ja[e];var Ca={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despu\xE9s de cristo"]},Ga={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xBA trimestre","2\xBA trimestre","3\xBA trimestre","4\xBA trimestre"]},Va={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},Ha={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","s\xE1"],abbreviated:["dom","lun","mar","mi\xE9","jue","vie","s\xE1b"],wide:["domingo","lunes","martes","mi\xE9rcoles","jueves","viernes","s\xE1bado"]},La={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"ma\xF1ana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"ma\xF1ana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"ma\xF1ana",afternoon:"tarde",evening:"tarde",night:"noche"}},Xa={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la ma\xF1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xF1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xF1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},Ea=(e,t)=>Number(e)+"\xBA",$={ordinalNumber:Ea,era:o({values:Ca,defaultWidth:"wide"}),quarter:o({values:Ga,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:o({values:Va,defaultWidth:"wide"}),day:o({values:Ha,defaultWidth:"wide"}),dayPeriod:o({values:La,defaultWidth:"wide",formattingValues:Xa,defaultFormattingWidth:"wide"})};var qa=/^(\d+)(º)?/i,Aa=/\d+/i,Oa={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},Ya={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},Ja={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},Ra={any:[/1/i,/2/i,/3/i,/4/i]},Qa={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},_a={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},Ia={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},Ka={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},$a={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},Ua={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},U={ordinalNumber:m({matchPattern:qa,parsePattern:Aa,valueCallback:function(e){return parseInt(e,10)}}),era:i({matchPatterns:Oa,defaultMatchWidth:"wide",parsePatterns:Ya,defaultParseWidth:"any"}),quarter:i({matchPatterns:Ja,defaultMatchWidth:"wide",parsePatterns:Ra,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:Qa,defaultMatchWidth:"wide",parsePatterns:_a,defaultParseWidth:"any"}),day:i({matchPatterns:Ia,defaultMatchWidth:"wide",parsePatterns:Ka,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:$a,defaultMatchWidth:"any",parsePatterns:Ua,defaultParseWidth:"any"})};var B={code:"es",formatDistance:_,formatLong:I,formatRelative:K,localize:$,match:U,options:{weekStartsOn:1,firstWeekContainsDate:1}};var Ba={lessThanXSeconds:{one:"moins d\u2019une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d\u2019une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d\u2019un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu\u2019un an",other:"presque {{count}} ans"}},Z=(e,t,a)=>{let n,r=Ba[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",String(t)),a?.addSuffix?a.comparison&&a.comparison>0?"dans "+n:"il y a "+n:n};var Za={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},en={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},tn={full:"{{date}} '\xE0' {{time}}",long:"{{date}} '\xE0' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ee={date:s({formats:Za,defaultWidth:"full"}),time:s({formats:en,defaultWidth:"full"}),dateTime:s({formats:tn,defaultWidth:"full"})};var an={lastWeek:"eeee 'dernier \xE0' p",yesterday:"'hier \xE0' p",today:"'aujourd\u2019hui \xE0' p",tomorrow:"'demain \xE0' p'",nextWeek:"eeee 'prochain \xE0' p",other:"P"},te=(e,t,a,n)=>an[e];var nn={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant J\xE9sus-Christ","apr\xE8s J\xE9sus-Christ"]},rn={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2\xE8me trim.","3\xE8me trim.","4\xE8me trim."],wide:["1er trimestre","2\xE8me trimestre","3\xE8me trimestre","4\xE8me trimestre"]},on={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","f\xE9vr.","mars","avr.","mai","juin","juil.","ao\xFBt","sept.","oct.","nov.","d\xE9c."],wide:["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"]},sn={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},mn={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"apr\xE8s-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l\u2019apr\xE8s-midi",evening:"du soir",night:"du matin"}},dn=(e,t)=>{let a=Number(e),n=t?.unit;if(a===0)return"0";let r=["year","week","hour","minute","second"],d;return a===1?d=n&&r.includes(n)?"\xE8re":"er":d="\xE8me",a+d},un=["MMM","MMMM"],ae={preprocessor:(e,t)=>e.getDate()===1||!t.some(n=>n.isToken&&un.includes(n.value))?t:t.map(n=>n.isToken&&n.value==="do"?{isToken:!0,value:"d"}:n),ordinalNumber:dn,era:o({values:nn,defaultWidth:"wide"}),quarter:o({values:rn,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:on,defaultWidth:"wide"}),day:o({values:sn,defaultWidth:"wide"}),dayPeriod:o({values:mn,defaultWidth:"wide"})};var ln=/^(\d+)(ième|ère|ème|er|e)?/i,cn=/\d+/i,hn={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},fn={any:[/^av/i,/^ap/i]},gn={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},pn={any:[/1/i,/2/i,/3/i,/4/i]},vn={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},bn={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},wn={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},yn={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},Pn={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},Mn={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},ne={ordinalNumber:m({matchPattern:ln,parsePattern:cn,valueCallback:e=>parseInt(e)}),era:i({matchPatterns:hn,defaultMatchWidth:"wide",parsePatterns:fn,defaultParseWidth:"any"}),quarter:i({matchPatterns:gn,defaultMatchWidth:"wide",parsePatterns:pn,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:vn,defaultMatchWidth:"wide",parsePatterns:bn,defaultParseWidth:"any"}),day:i({matchPatterns:wn,defaultMatchWidth:"wide",parsePatterns:yn,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:Pn,defaultMatchWidth:"any",parsePatterns:Mn,defaultParseWidth:"any"})};var re={code:"fr",formatDistance:Z,formatLong:ee,formatRelative:te,localize:ae,match:ne,options:{weekStartsOn:1,firstWeekContainsDate:4}};var oe={locale:{1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096A",5:"\u096B",6:"\u096C",7:"\u096D",8:"\u096E",9:"\u096F",0:"\u0966"},number:{"\u0967":"1","\u0968":"2","\u0969":"3","\u096A":"4","\u096B":"5","\u096C":"6","\u096D":"7","\u096E":"8","\u096F":"9","\u0966":"0"}},Wn={narrow:["\u0908\u0938\u093E-\u092A\u0942\u0930\u094D\u0935","\u0908\u0938\u094D\u0935\u0940"],abbreviated:["\u0908\u0938\u093E-\u092A\u0942\u0930\u094D\u0935","\u0908\u0938\u094D\u0935\u0940"],wide:["\u0908\u0938\u093E-\u092A\u0942\u0930\u094D\u0935","\u0908\u0938\u0935\u0940 \u0938\u0928"]},xn={narrow:["1","2","3","4"],abbreviated:["\u0924\u093F1","\u0924\u093F2","\u0924\u093F3","\u0924\u093F4"],wide:["\u092A\u0939\u0932\u0940 \u0924\u093F\u092E\u093E\u0939\u0940","\u0926\u0942\u0938\u0930\u0940 \u0924\u093F\u092E\u093E\u0939\u0940","\u0924\u0940\u0938\u0930\u0940 \u0924\u093F\u092E\u093E\u0939\u0940","\u091A\u094C\u0925\u0940 \u0924\u093F\u092E\u093E\u0939\u0940"]},kn={narrow:["\u091C","\u092B\u093C","\u092E\u093E","\u0905","\u092E\u0908","\u091C\u0942","\u091C\u0941","\u0905\u0917","\u0938\u093F","\u0905\u0915\u094D\u091F\u0942","\u0928","\u0926\u093F"],abbreviated:["\u091C\u0928","\u092B\u093C\u0930","\u092E\u093E\u0930\u094D\u091A","\u0905\u092A\u094D\u0930\u0948\u0932","\u092E\u0908","\u091C\u0942\u0928","\u091C\u0941\u0932","\u0905\u0917","\u0938\u093F\u0924","\u0905\u0915\u094D\u091F\u0942","\u0928\u0935","\u0926\u093F\u0938"],wide:["\u091C\u0928\u0935\u0930\u0940","\u092B\u093C\u0930\u0935\u0930\u0940","\u092E\u093E\u0930\u094D\u091A","\u0905\u092A\u094D\u0930\u0948\u0932","\u092E\u0908","\u091C\u0942\u0928","\u091C\u0941\u0932\u093E\u0908","\u0905\u0917\u0938\u094D\u0924","\u0938\u093F\u0924\u0902\u092C\u0930","\u0905\u0915\u094D\u091F\u0942\u092C\u0930","\u0928\u0935\u0902\u092C\u0930","\u0926\u093F\u0938\u0902\u092C\u0930"]},Dn={narrow:["\u0930","\u0938\u094B","\u092E\u0902","\u092C\u0941","\u0917\u0941","\u0936\u0941","\u0936"],short:["\u0930","\u0938\u094B","\u092E\u0902","\u092C\u0941","\u0917\u0941","\u0936\u0941","\u0936"],abbreviated:["\u0930\u0935\u093F","\u0938\u094B\u092E","\u092E\u0902\u0917\u0932","\u092C\u0941\u0927","\u0917\u0941\u0930\u0941","\u0936\u0941\u0915\u094D\u0930","\u0936\u0928\u093F"],wide:["\u0930\u0935\u093F\u0935\u093E\u0930","\u0938\u094B\u092E\u0935\u093E\u0930","\u092E\u0902\u0917\u0932\u0935\u093E\u0930","\u092C\u0941\u0927\u0935\u093E\u0930","\u0917\u0941\u0930\u0941\u0935\u093E\u0930","\u0936\u0941\u0915\u094D\u0930\u0935\u093E\u0930","\u0936\u0928\u093F\u0935\u093E\u0930"]},zn={narrow:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"},abbreviated:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"},wide:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"}},Sn={narrow:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"},abbreviated:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"},wide:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"}},Fn=(e,t)=>{let a=Number(e);return W(a)};function ie(e){let t=e.toString().replace(/[१२३४५६७८९०]/g,function(a){return oe.number[a]});return Number(t)}function W(e){return e.toString().replace(/\d/g,function(t){return oe.locale[t]})}var se={ordinalNumber:Fn,era:o({values:Wn,defaultWidth:"wide"}),quarter:o({values:xn,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:kn,defaultWidth:"wide"}),day:o({values:Dn,defaultWidth:"wide"}),dayPeriod:o({values:zn,defaultWidth:"wide",formattingValues:Sn,defaultFormattingWidth:"wide"})};var Nn={lessThanXSeconds:{one:"\u0967 \u0938\u0947\u0915\u0902\u0921 \u0938\u0947 \u0915\u092E",other:"{{count}} \u0938\u0947\u0915\u0902\u0921 \u0938\u0947 \u0915\u092E"},xSeconds:{one:"\u0967 \u0938\u0947\u0915\u0902\u0921",other:"{{count}} \u0938\u0947\u0915\u0902\u0921"},halfAMinute:"\u0906\u0927\u093E \u092E\u093F\u0928\u091F",lessThanXMinutes:{one:"\u0967 \u092E\u093F\u0928\u091F \u0938\u0947 \u0915\u092E",other:"{{count}} \u092E\u093F\u0928\u091F \u0938\u0947 \u0915\u092E"},xMinutes:{one:"\u0967 \u092E\u093F\u0928\u091F",other:"{{count}} \u092E\u093F\u0928\u091F"},aboutXHours:{one:"\u0932\u0917\u092D\u0917 \u0967 \u0918\u0902\u091F\u093E",other:"\u0932\u0917\u092D\u0917 {{count}} \u0918\u0902\u091F\u0947"},xHours:{one:"\u0967 \u0918\u0902\u091F\u093E",other:"{{count}} \u0918\u0902\u091F\u0947"},xDays:{one:"\u0967 \u0926\u093F\u0928",other:"{{count}} \u0926\u093F\u0928"},aboutXWeeks:{one:"\u0932\u0917\u092D\u0917 \u0967 \u0938\u092A\u094D\u0924\u093E\u0939",other:"\u0932\u0917\u092D\u0917 {{count}} \u0938\u092A\u094D\u0924\u093E\u0939"},xWeeks:{one:"\u0967 \u0938\u092A\u094D\u0924\u093E\u0939",other:"{{count}} \u0938\u092A\u094D\u0924\u093E\u0939"},aboutXMonths:{one:"\u0932\u0917\u092D\u0917 \u0967 \u092E\u0939\u0940\u0928\u093E",other:"\u0932\u0917\u092D\u0917 {{count}} \u092E\u0939\u0940\u0928\u0947"},xMonths:{one:"\u0967 \u092E\u0939\u0940\u0928\u093E",other:"{{count}} \u092E\u0939\u0940\u0928\u0947"},aboutXYears:{one:"\u0932\u0917\u092D\u0917 \u0967 \u0935\u0930\u094D\u0937",other:"\u0932\u0917\u092D\u0917 {{count}} \u0935\u0930\u094D\u0937"},xYears:{one:"\u0967 \u0935\u0930\u094D\u0937",other:"{{count}} \u0935\u0930\u094D\u0937"},overXYears:{one:"\u0967 \u0935\u0930\u094D\u0937 \u0938\u0947 \u0905\u0927\u093F\u0915",other:"{{count}} \u0935\u0930\u094D\u0937 \u0938\u0947 \u0905\u0927\u093F\u0915"},almostXYears:{one:"\u0932\u0917\u092D\u0917 \u0967 \u0935\u0930\u094D\u0937",other:"\u0932\u0917\u092D\u0917 {{count}} \u0935\u0930\u094D\u0937"}},me=(e,t,a)=>{let n,r=Nn[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",W(t)),a?.addSuffix?a.comparison&&a.comparison>0?n+"\u092E\u0947 ":n+" \u092A\u0939\u0932\u0947":n};var jn={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},Tn={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Cn={full:"{{date}} '\u0915\u094B' {{time}}",long:"{{date}} '\u0915\u094B' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},de={date:s({formats:jn,defaultWidth:"full"}),time:s({formats:Tn,defaultWidth:"full"}),dateTime:s({formats:Cn,defaultWidth:"full"})};var Gn={lastWeek:"'\u092A\u093F\u091B\u0932\u0947' eeee p",yesterday:"'\u0915\u0932' p",today:"'\u0906\u091C' p",tomorrow:"'\u0915\u0932' p",nextWeek:"eeee '\u0915\u094B' p",other:"P"},ue=(e,t,a,n)=>Gn[e];var Vn=/^[०१२३४५६७८९]+/i,Hn=/^[०१२३४५६७८९]+/i,Ln={narrow:/^(ईसा-पूर्व|ईस्वी)/i,abbreviated:/^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i,wide:/^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i},Xn={any:[/^b/i,/^(a|c)/i]},En={narrow:/^[1234]/i,abbreviated:/^ति[1234]/i,wide:/^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i},qn={any:[/1/i,/2/i,/3/i,/4/i]},An={narrow:/^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,abbreviated:/^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i,wide:/^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i},On={narrow:[/^ज/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^न/i,/^दि/i],any:[/^जन/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^नव/i,/^दिस/i]},Yn={narrow:/^[रविसोममंगलबुधगुरुशुक्रशनि]/i,short:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,abbreviated:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,wide:/^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i},Jn={narrow:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i],any:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i]},Rn={narrow:/^(पू|अ|म|द.\?|सु|दो|शा|रा)/i,any:/^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i},Qn={any:{am:/^पूर्वाह्न/i,pm:/^अपराह्न/i,midnight:/^मध्य/i,noon:/^दो/i,morning:/सु/i,afternoon:/दो/i,evening:/शा/i,night:/रा/i}},le={ordinalNumber:m({matchPattern:Vn,parsePattern:Hn,valueCallback:ie}),era:i({matchPatterns:Ln,defaultMatchWidth:"wide",parsePatterns:Xn,defaultParseWidth:"any"}),quarter:i({matchPatterns:En,defaultMatchWidth:"wide",parsePatterns:qn,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:An,defaultMatchWidth:"wide",parsePatterns:On,defaultParseWidth:"any"}),day:i({matchPatterns:Yn,defaultMatchWidth:"wide",parsePatterns:Jn,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:Rn,defaultMatchWidth:"any",parsePatterns:Qn,defaultParseWidth:"any"})};var ce={code:"hi",formatDistance:me,formatLong:de,formatRelative:ue,localize:se,match:le,options:{weekStartsOn:0,firstWeekContainsDate:4}};var _n={lessThanXSeconds:{one:"1\u79D2\u672A\u6E80",other:"{{count}}\u79D2\u672A\u6E80",oneWithSuffix:"\u7D041\u79D2",otherWithSuffix:"\u7D04{{count}}\u79D2"},xSeconds:{one:"1\u79D2",other:"{{count}}\u79D2"},halfAMinute:"30\u79D2",lessThanXMinutes:{one:"1\u5206\u672A\u6E80",other:"{{count}}\u5206\u672A\u6E80",oneWithSuffix:"\u7D041\u5206",otherWithSuffix:"\u7D04{{count}}\u5206"},xMinutes:{one:"1\u5206",other:"{{count}}\u5206"},aboutXHours:{one:"\u7D041\u6642\u9593",other:"\u7D04{{count}}\u6642\u9593"},xHours:{one:"1\u6642\u9593",other:"{{count}}\u6642\u9593"},xDays:{one:"1\u65E5",other:"{{count}}\u65E5"},aboutXWeeks:{one:"\u7D041\u9031\u9593",other:"\u7D04{{count}}\u9031\u9593"},xWeeks:{one:"1\u9031\u9593",other:"{{count}}\u9031\u9593"},aboutXMonths:{one:"\u7D041\u304B\u6708",other:"\u7D04{{count}}\u304B\u6708"},xMonths:{one:"1\u304B\u6708",other:"{{count}}\u304B\u6708"},aboutXYears:{one:"\u7D041\u5E74",other:"\u7D04{{count}}\u5E74"},xYears:{one:"1\u5E74",other:"{{count}}\u5E74"},overXYears:{one:"1\u5E74\u4EE5\u4E0A",other:"{{count}}\u5E74\u4EE5\u4E0A"},almostXYears:{one:"1\u5E74\u8FD1\u304F",other:"{{count}}\u5E74\u8FD1\u304F"}},he=(e,t,a)=>{a=a||{};let n,r=_n[e];return typeof r=="string"?n=r:t===1?a.addSuffix&&r.oneWithSuffix?n=r.oneWithSuffix:n=r.one:a.addSuffix&&r.otherWithSuffix?n=r.otherWithSuffix.replace("{{count}}",String(t)):n=r.other.replace("{{count}}",String(t)),a.addSuffix?a.comparison&&a.comparison>0?n+"\u5F8C":n+"\u524D":n};var In={full:"y\u5E74M\u6708d\u65E5EEEE",long:"y\u5E74M\u6708d\u65E5",medium:"y/MM/dd",short:"y/MM/dd"},Kn={full:"H\u6642mm\u5206ss\u79D2 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},$n={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},fe={date:s({formats:In,defaultWidth:"full"}),time:s({formats:Kn,defaultWidth:"full"}),dateTime:s({formats:$n,defaultWidth:"full"})};var Un={lastWeek:"\u5148\u9031\u306Eeeee\u306Ep",yesterday:"\u6628\u65E5\u306Ep",today:"\u4ECA\u65E5\u306Ep",tomorrow:"\u660E\u65E5\u306Ep",nextWeek:"\u7FCC\u9031\u306Eeeee\u306Ep",other:"P"},ge=(e,t,a,n)=>Un[e];var Bn={narrow:["BC","AC"],abbreviated:["\u7D00\u5143\u524D","\u897F\u66A6"],wide:["\u7D00\u5143\u524D","\u897F\u66A6"]},Zn={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["\u7B2C1\u56DB\u534A\u671F","\u7B2C2\u56DB\u534A\u671F","\u7B2C3\u56DB\u534A\u671F","\u7B2C4\u56DB\u534A\u671F"]},er={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]},tr={narrow:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],short:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],abbreviated:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],wide:["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5"]},ar={narrow:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},abbreviated:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},wide:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"}},nr={narrow:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},abbreviated:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},wide:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"}},rr=(e,t)=>{let a=Number(e);switch(String(t?.unit)){case"year":return`${a}\u5E74`;case"quarter":return`\u7B2C${a}\u56DB\u534A\u671F`;case"month":return`${a}\u6708`;case"week":return`\u7B2C${a}\u9031`;case"date":return`${a}\u65E5`;case"hour":return`${a}\u6642`;case"minute":return`${a}\u5206`;case"second":return`${a}\u79D2`;default:return`${a}`}},pe={ordinalNumber:rr,era:o({values:Bn,defaultWidth:"wide"}),quarter:o({values:Zn,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:o({values:er,defaultWidth:"wide"}),day:o({values:tr,defaultWidth:"wide"}),dayPeriod:o({values:ar,defaultWidth:"wide",formattingValues:nr,defaultFormattingWidth:"wide"})};var or=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,ir=/\d+/i,sr={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},mr={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},dr={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},ur={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},lr={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},cr={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},hr={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},fr={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},gr={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},pr={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},ve={ordinalNumber:m({matchPattern:or,parsePattern:ir,valueCallback:function(e){return parseInt(e,10)}}),era:i({matchPatterns:sr,defaultMatchWidth:"wide",parsePatterns:mr,defaultParseWidth:"any"}),quarter:i({matchPatterns:dr,defaultMatchWidth:"wide",parsePatterns:ur,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:lr,defaultMatchWidth:"wide",parsePatterns:cr,defaultParseWidth:"any"}),day:i({matchPatterns:hr,defaultMatchWidth:"wide",parsePatterns:fr,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:gr,defaultMatchWidth:"any",parsePatterns:pr,defaultParseWidth:"any"})};var be={code:"ja",formatDistance:he,formatLong:fe,formatRelative:ge,localize:pe,match:ve,options:{weekStartsOn:0,firstWeekContainsDate:1}};var vr={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},we=(e,t,a)=>{let n,r=vr[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",String(t)),a?.addSuffix?a.comparison&&a.comparison>0?"over "+n:n+" geleden":n};var br={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},wr={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},yr={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ye={date:s({formats:br,defaultWidth:"full"}),time:s({formats:wr,defaultWidth:"full"}),dateTime:s({formats:yr,defaultWidth:"full"})};var Pr={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},Pe=(e,t,a,n)=>Pr[e];var Mr={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},Wr={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},xr={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},kr={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},Dr={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},zr=(e,t)=>Number(e)+"e",Me={ordinalNumber:zr,era:o({values:Mr,defaultWidth:"wide"}),quarter:o({values:Wr,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:xr,defaultWidth:"wide"}),day:o({values:kr,defaultWidth:"wide"}),dayPeriod:o({values:Dr,defaultWidth:"wide"})};var Sr=/^(\d+)e?/i,Fr=/\d+/i,Nr={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},jr={any:[/^v/,/^n/]},Tr={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},Cr={any:[/1/i,/2/i,/3/i,/4/i]},Gr={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},Vr={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},Hr={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},Lr={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},Xr={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},Er={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},We={ordinalNumber:m({matchPattern:Sr,parsePattern:Fr,valueCallback:e=>parseInt(e,10)}),era:i({matchPatterns:Nr,defaultMatchWidth:"wide",parsePatterns:jr,defaultParseWidth:"any"}),quarter:i({matchPatterns:Tr,defaultMatchWidth:"wide",parsePatterns:Cr,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:Gr,defaultMatchWidth:"wide",parsePatterns:Vr,defaultParseWidth:"any"}),day:i({matchPatterns:Hr,defaultMatchWidth:"wide",parsePatterns:Lr,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:Xr,defaultMatchWidth:"any",parsePatterns:Er,defaultParseWidth:"any"})};var xe={code:"nl",formatDistance:we,formatLong:ye,formatRelative:Pe,localize:Me,match:We,options:{weekStartsOn:1,firstWeekContainsDate:4}};var qr={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 m\xEAs",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 m\xEAs",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},ke=(e,t,a)=>{let n,r=qr[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",String(t)),a?.addSuffix?a.comparison&&a.comparison>0?"daqui a "+n:"h\xE1 "+n:n};var Ar={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},Or={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Yr={full:"{{date}} '\xE0s' {{time}}",long:"{{date}} '\xE0s' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},De={date:s({formats:Ar,defaultWidth:"full"}),time:s({formats:Or,defaultWidth:"full"}),dateTime:s({formats:Yr,defaultWidth:"full"})};var Jr={lastWeek:e=>{let t=e.getDay();return"'"+(t===0||t===6?"\xFAltimo":"\xFAltima")+"' eeee '\xE0s' p"},yesterday:"'ontem \xE0s' p",today:"'hoje \xE0s' p",tomorrow:"'amanh\xE3 \xE0s' p",nextWeek:"eeee '\xE0s' p",other:"P"},ze=(e,t,a,n)=>{let r=Jr[e];return typeof r=="function"?r(t):r};var Rr={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},Qr={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xBA trimestre","2\xBA trimestre","3\xBA trimestre","4\xBA trimestre"]},_r={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","mar\xE7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},Ir={narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","s\xE1b"],abbreviated:["dom","seg","ter","qua","qui","sex","s\xE1b"],wide:["domingo","segunda-feira","ter\xE7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xE1bado"]},Kr={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"noite",night:"madrugada"}},$r={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},Ur=(e,t)=>Number(e)+"\xBA",Se={ordinalNumber:Ur,era:o({values:Rr,defaultWidth:"wide"}),quarter:o({values:Qr,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:_r,defaultWidth:"wide"}),day:o({values:Ir,defaultWidth:"wide"}),dayPeriod:o({values:Kr,defaultWidth:"wide",formattingValues:$r,defaultFormattingWidth:"wide"})};var Br=/^(\d+)(º|ª)?/i,Zr=/\d+/i,eo={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},to={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},ao={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},no={any:[/1/i,/2/i,/3/i,/4/i]},ro={narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},oo={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},io={narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},so={narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},mo={narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},uo={any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},Fe={ordinalNumber:m({matchPattern:Br,parsePattern:Zr,valueCallback:e=>parseInt(e,10)}),era:i({matchPatterns:eo,defaultMatchWidth:"wide",parsePatterns:to,defaultParseWidth:"any"}),quarter:i({matchPatterns:ao,defaultMatchWidth:"wide",parsePatterns:no,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:ro,defaultMatchWidth:"wide",parsePatterns:oo,defaultParseWidth:"any"}),day:i({matchPatterns:io,defaultMatchWidth:"wide",parsePatterns:so,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:mo,defaultMatchWidth:"any",parsePatterns:uo,defaultParseWidth:"any"})};var Ne={code:"pt",formatDistance:ke,formatLong:De,formatRelative:ze,localize:Se,match:Fe,options:{weekStartsOn:1,firstWeekContainsDate:4}};function v(e,t){if(e.one!==void 0&&t===1)return e.one;let a=t%10,n=t%100;return a===1&&n!==11?e.singularNominative.replace("{{count}}",String(t)):a>=2&&a<=4&&(n<10||n>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function l(e){return(t,a)=>a?.addSuffix?a.comparison&&a.comparison>0?e.future?v(e.future,t):"\u0447\u0435\u0440\u0435\u0437 "+v(e.regular,t):e.past?v(e.past,t):v(e.regular,t)+" \u043D\u0430\u0437\u0430\u0434":v(e.regular,t)}var lo={lessThanXSeconds:l({regular:{one:"\u043C\u0435\u043D\u044C\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},future:{one:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),xSeconds:l({regular:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0430",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},past:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443 \u043D\u0430\u0437\u0430\u0434",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B \u043D\u0430\u0437\u0430\u0434",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434"},future:{singularNominative:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),halfAMinute:(e,t)=>t?.addSuffix?t.comparison&&t.comparison>0?"\u0447\u0435\u0440\u0435\u0437 \u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B":"\u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0437\u0430\u0434":"\u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B",lessThanXMinutes:l({regular:{one:"\u043C\u0435\u043D\u044C\u0448\u0435 \u043C\u0438\u043D\u0443\u0442\u044B",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442"},future:{one:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 \u043C\u0438\u043D\u0443\u0442\u0443",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u0443",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442"}}),xMinutes:l({regular:{singularNominative:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0430",singularGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442"},past:{singularNominative:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0443 \u043D\u0430\u0437\u0430\u0434",singularGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0437\u0430\u0434",pluralGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442 \u043D\u0430\u0437\u0430\u0434"},future:{singularNominative:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u0443",singularGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442"}}),aboutXHours:l({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u043E\u0432",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u043E\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441\u043E\u0432"}}),xHours:l({regular:{singularNominative:"{{count}} \u0447\u0430\u0441",singularGenitive:"{{count}} \u0447\u0430\u0441\u0430",pluralGenitive:"{{count}} \u0447\u0430\u0441\u043E\u0432"}}),xDays:l({regular:{singularNominative:"{{count}} \u0434\u0435\u043D\u044C",singularGenitive:"{{count}} \u0434\u043D\u044F",pluralGenitive:"{{count}} \u0434\u043D\u0435\u0439"}}),aboutXWeeks:l({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u0438",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u044C",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u044C"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u044E",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u0438",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u044C"}}),xWeeks:l({regular:{singularNominative:"{{count}} \u043D\u0435\u0434\u0435\u043B\u044F",singularGenitive:"{{count}} \u043D\u0435\u0434\u0435\u043B\u0438",pluralGenitive:"{{count}} \u043D\u0435\u0434\u0435\u043B\u044C"}}),aboutXMonths:l({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"}}),xMonths:l({regular:{singularNominative:"{{count}} \u043C\u0435\u0441\u044F\u0446",singularGenitive:"{{count}} \u043C\u0435\u0441\u044F\u0446\u0430",pluralGenitive:"{{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"}}),aboutXYears:l({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0433\u043E\u0434\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043B\u0435\u0442",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}}),xYears:l({regular:{singularNominative:"{{count}} \u0433\u043E\u0434",singularGenitive:"{{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"{{count}} \u043B\u0435\u0442"}}),overXYears:l({regular:{singularNominative:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u0433\u043E\u0434\u0430",singularGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u043B\u0435\u0442",pluralGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}}),almostXYears:l({regular:{singularNominative:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}})},je=(e,t,a)=>lo[e](t,a);var co={full:"EEEE, d MMMM y '\u0433.'",long:"d MMMM y '\u0433.'",medium:"d MMM y '\u0433.'",short:"dd.MM.y"},ho={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},fo={any:"{{date}}, {{time}}"},Te={date:s({formats:co,defaultWidth:"full"}),time:s({formats:ho,defaultWidth:"full"}),dateTime:s({formats:fo,defaultWidth:"any"})};var go=Math.pow(10,8)*24*60*60*1e3,$d=-go,Ud=6048e5,Bd=864e5;var Zd=43200,eu=1440;var po=3600;var Ce=po*24,tu=Ce*7,vo=Ce*365.2425,bo=vo/12,au=bo*3,x=Symbol.for("constructDateFrom");function y(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&x in e?e[x](t):e instanceof Date?new e.constructor(t):new Date(t)}function Ge(e,...t){let a=y.bind(null,e||t.find(n=>typeof n=="object"));return t.map(a)}var wo={};function Ve(){return wo}function g(e,t){return y(t||e,e)}function k(e,t){let a=Ve(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,r=g(e,t?.in),d=r.getDay(),u=(d{let n=e.getDay();return f(e,t,a)?He(n):yo(n)},yesterday:"'\u0432\u0447\u0435\u0440\u0430 \u0432' p",today:"'\u0441\u0435\u0433\u043E\u0434\u043D\u044F \u0432' p",tomorrow:"'\u0437\u0430\u0432\u0442\u0440\u0430 \u0432' p",nextWeek:(e,t,a)=>{let n=e.getDay();return f(e,t,a)?He(n):Po(n)},other:"P"},Le=(e,t,a,n)=>{let r=Mo[e];return typeof r=="function"?r(t,a,n):r};var Wo={narrow:["\u0434\u043E \u043D.\u044D.","\u043D.\u044D."],abbreviated:["\u0434\u043E \u043D. \u044D.","\u043D. \u044D."],wide:["\u0434\u043E \u043D\u0430\u0448\u0435\u0439 \u044D\u0440\u044B","\u043D\u0430\u0448\u0435\u0439 \u044D\u0440\u044B"]},xo={narrow:["1","2","3","4"],abbreviated:["1-\u0439 \u043A\u0432.","2-\u0439 \u043A\u0432.","3-\u0439 \u043A\u0432.","4-\u0439 \u043A\u0432."],wide:["1-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","2-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","3-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","4-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B"]},ko={narrow:["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],abbreviated:["\u044F\u043D\u0432.","\u0444\u0435\u0432.","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440.","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],wide:["\u044F\u043D\u0432\u0430\u0440\u044C","\u0444\u0435\u0432\u0440\u0430\u043B\u044C","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0435\u043B\u044C","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u043E\u043A\u0442\u044F\u0431\u0440\u044C","\u043D\u043E\u044F\u0431\u0440\u044C","\u0434\u0435\u043A\u0430\u0431\u0440\u044C"]},Do={narrow:["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],abbreviated:["\u044F\u043D\u0432.","\u0444\u0435\u0432.","\u043C\u0430\u0440.","\u0430\u043F\u0440.","\u043C\u0430\u044F","\u0438\u044E\u043D.","\u0438\u044E\u043B.","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],wide:["\u044F\u043D\u0432\u0430\u0440\u044F","\u0444\u0435\u0432\u0440\u0430\u043B\u044F","\u043C\u0430\u0440\u0442\u0430","\u0430\u043F\u0440\u0435\u043B\u044F","\u043C\u0430\u044F","\u0438\u044E\u043D\u044F","\u0438\u044E\u043B\u044F","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F","\u043E\u043A\u0442\u044F\u0431\u0440\u044F","\u043D\u043E\u044F\u0431\u0440\u044F","\u0434\u0435\u043A\u0430\u0431\u0440\u044F"]},zo={narrow:["\u0412","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],short:["\u0432\u0441","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],abbreviated:["\u0432\u0441\u043A","\u043F\u043D\u0434","\u0432\u0442\u0440","\u0441\u0440\u0434","\u0447\u0442\u0432","\u043F\u0442\u043D","\u0441\u0443\u0431"],wide:["\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435","\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0432\u0442\u043E\u0440\u043D\u0438\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043F\u044F\u0442\u043D\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043E\u0442\u0430"]},So={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u044C"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u044C"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D\u043E\u0447\u044C",noon:"\u043F\u043E\u043B\u0434\u0435\u043D\u044C",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447\u0435\u0440",night:"\u043D\u043E\u0447\u044C"}},Fo={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0438"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0438"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D\u043E\u0447\u044C",noon:"\u043F\u043E\u043B\u0434\u0435\u043D\u044C",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447\u0435\u0440\u0430",night:"\u043D\u043E\u0447\u0438"}},No=(e,t)=>{let a=Number(e),n=t?.unit,r;return n==="date"?r="-\u0435":n==="week"||n==="minute"||n==="second"?r="-\u044F":r="-\u0439",a+r},Xe={ordinalNumber:No,era:o({values:Wo,defaultWidth:"wide"}),quarter:o({values:xo,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:ko,defaultWidth:"wide",formattingValues:Do,defaultFormattingWidth:"wide"}),day:o({values:zo,defaultWidth:"wide"}),dayPeriod:o({values:So,defaultWidth:"any",formattingValues:Fo,defaultFormattingWidth:"wide"})};var jo=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,To=/\d+/i,Co={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},Go={any:[/^д/i,/^н/i]},Vo={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},Ho={any:[/1/i,/2/i,/3/i,/4/i]},Lo={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},Xo={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},Eo={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},qo={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},Ao={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},Oo={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},Ee={ordinalNumber:m({matchPattern:jo,parsePattern:To,valueCallback:e=>parseInt(e,10)}),era:i({matchPatterns:Co,defaultMatchWidth:"wide",parsePatterns:Go,defaultParseWidth:"any"}),quarter:i({matchPatterns:Vo,defaultMatchWidth:"wide",parsePatterns:Ho,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:Lo,defaultMatchWidth:"wide",parsePatterns:Xo,defaultParseWidth:"any"}),day:i({matchPatterns:Eo,defaultMatchWidth:"wide",parsePatterns:qo,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:Ao,defaultMatchWidth:"wide",parsePatterns:Oo,defaultParseWidth:"any"})};var qe={code:"ru",formatDistance:je,formatLong:Te,formatRelative:Le,localize:Xe,match:Ee,options:{weekStartsOn:1,firstWeekContainsDate:1}};var Yo={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yar\u0131m dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yakla\u015F\u0131k 1 saat",other:"yakla\u015F\u0131k {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 g\xFCn",other:"{{count}} g\xFCn"},aboutXWeeks:{one:"yakla\u015F\u0131k 1 hafta",other:"yakla\u015F\u0131k {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yakla\u015F\u0131k 1 ay",other:"yakla\u015F\u0131k {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yakla\u015F\u0131k 1 y\u0131l",other:"yakla\u015F\u0131k {{count}} y\u0131l"},xYears:{one:"1 y\u0131l",other:"{{count}} y\u0131l"},overXYears:{one:"1 y\u0131ldan fazla",other:"{{count}} y\u0131ldan fazla"},almostXYears:{one:"neredeyse 1 y\u0131l",other:"neredeyse {{count}} y\u0131l"}},Ae=(e,t,a)=>{let n,r=Yo[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",t.toString()),a?.addSuffix?a.comparison&&a.comparison>0?n+" sonra":n+" \xF6nce":n};var Jo={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},Ro={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Qo={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Oe={date:s({formats:Jo,defaultWidth:"full"}),time:s({formats:Ro,defaultWidth:"full"}),dateTime:s({formats:Qo,defaultWidth:"full"})};var _o={lastWeek:"'ge\xE7en hafta' eeee 'saat' p",yesterday:"'d\xFCn saat' p",today:"'bug\xFCn saat' p",tomorrow:"'yar\u0131n saat' p",nextWeek:"eeee 'saat' p",other:"P"},Ye=(e,t,a,n)=>_o[e];var Io={narrow:["M\xD6","MS"],abbreviated:["M\xD6","MS"],wide:["Milattan \xD6nce","Milattan Sonra"]},Ko={narrow:["1","2","3","4"],abbreviated:["1\xC7","2\xC7","3\xC7","4\xC7"],wide:["\u0130lk \xE7eyrek","\u0130kinci \xC7eyrek","\xDC\xE7\xFCnc\xFC \xE7eyrek","Son \xE7eyrek"]},$o={narrow:["O","\u015E","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","\u015Eub","Mar","Nis","May","Haz","Tem","A\u011Fu","Eyl","Eki","Kas","Ara"],wide:["Ocak","\u015Eubat","Mart","Nisan","May\u0131s","Haziran","Temmuz","A\u011Fustos","Eyl\xFCl","Ekim","Kas\u0131m","Aral\u0131k"]},Uo={narrow:["P","P","S","\xC7","P","C","C"],short:["Pz","Pt","Sa","\xC7a","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","\xC7ar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Sal\u0131","\xC7ar\u015Famba","Per\u015Fembe","Cuma","Cumartesi"]},Bo={narrow:{am:"\xF6\xF6",pm:"\xF6s",midnight:"gy",noon:"\xF6",morning:"sa",afternoon:"\xF6s",evening:"ak",night:"ge"},abbreviated:{am:"\xD6\xD6",pm:"\xD6S",midnight:"gece yar\u0131s\u0131",noon:"\xF6\u011Fle",morning:"sabah",afternoon:"\xF6\u011Fleden sonra",evening:"ak\u015Fam",night:"gece"},wide:{am:"\xD6.\xD6.",pm:"\xD6.S.",midnight:"gece yar\u0131s\u0131",noon:"\xF6\u011Fle",morning:"sabah",afternoon:"\xF6\u011Fleden sonra",evening:"ak\u015Fam",night:"gece"}},Zo={narrow:{am:"\xF6\xF6",pm:"\xF6s",midnight:"gy",noon:"\xF6",morning:"sa",afternoon:"\xF6s",evening:"ak",night:"ge"},abbreviated:{am:"\xD6\xD6",pm:"\xD6S",midnight:"gece yar\u0131s\u0131",noon:"\xF6\u011Flen",morning:"sabahleyin",afternoon:"\xF6\u011Fleden sonra",evening:"ak\u015Famleyin",night:"geceleyin"},wide:{am:"\xF6.\xF6.",pm:"\xF6.s.",midnight:"gece yar\u0131s\u0131",noon:"\xF6\u011Flen",morning:"sabahleyin",afternoon:"\xF6\u011Fleden sonra",evening:"ak\u015Famleyin",night:"geceleyin"}},ei=(e,t)=>Number(e)+".",Je={ordinalNumber:ei,era:o({values:Io,defaultWidth:"wide"}),quarter:o({values:Ko,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:o({values:$o,defaultWidth:"wide"}),day:o({values:Uo,defaultWidth:"wide"}),dayPeriod:o({values:Bo,defaultWidth:"wide",formattingValues:Zo,defaultFormattingWidth:"wide"})};var ti=/^(\d+)(\.)?/i,ai=/\d+/i,ni={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},ri={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},oi={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},ii={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},si={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},mi={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},di={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},ui={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},li={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},ci={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},Re={ordinalNumber:m({matchPattern:ti,parsePattern:ai,valueCallback:function(e){return parseInt(e,10)}}),era:i({matchPatterns:ni,defaultMatchWidth:"wide",parsePatterns:ri,defaultParseWidth:"any"}),quarter:i({matchPatterns:oi,defaultMatchWidth:"wide",parsePatterns:ii,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:si,defaultMatchWidth:"wide",parsePatterns:mi,defaultParseWidth:"any"}),day:i({matchPatterns:di,defaultMatchWidth:"wide",parsePatterns:ui,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:li,defaultMatchWidth:"any",parsePatterns:ci,defaultParseWidth:"any"})};var Qe={code:"tr",formatDistance:Ae,formatLong:Oe,formatRelative:Ye,localize:Je,match:Re,options:{weekStartsOn:1,firstWeekContainsDate:1}};function b(e,t){if(e.one!==void 0&&t===1)return e.one;let a=t%10,n=t%100;return a===1&&n!==11?e.singularNominative.replace("{{count}}",String(t)):a>=2&&a<=4&&(n<10||n>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function c(e){return(t,a)=>a&&a.addSuffix?a.comparison&&a.comparison>0?e.future?b(e.future,t):"\u0437\u0430 "+b(e.regular,t):e.past?b(e.past,t):b(e.regular,t)+" \u0442\u043E\u043C\u0443":b(e.regular,t)}var hi=(e,t)=>t&&t.addSuffix?t.comparison&&t.comparison>0?"\u0437\u0430 \u043F\u0456\u0432\u0445\u0432\u0438\u043B\u0438\u043D\u0438":"\u043F\u0456\u0432\u0445\u0432\u0438\u043B\u0438\u043D\u0438 \u0442\u043E\u043C\u0443":"\u043F\u0456\u0432\u0445\u0432\u0438\u043B\u0438\u043D\u0438",fi={lessThanXSeconds:c({regular:{one:"\u043C\u0435\u043D\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",singularNominative:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438",singularGenitive:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434",pluralGenitive:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},future:{one:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularNominative:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438",pluralGenitive:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),xSeconds:c({regular:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0430",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},past:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443 \u0442\u043E\u043C\u0443",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438 \u0442\u043E\u043C\u0443",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434 \u0442\u043E\u043C\u0443"},future:{singularNominative:"\u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438",pluralGenitive:"\u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),halfAMinute:hi,lessThanXMinutes:c({regular:{one:"\u043C\u0435\u043D\u0448\u0435 \u0445\u0432\u0438\u043B\u0438\u043D\u0438",singularNominative:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438",singularGenitive:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D",pluralGenitive:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D"},future:{one:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 \u0445\u0432\u0438\u043B\u0438\u043D\u0443",singularNominative:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0443",singularGenitive:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438",pluralGenitive:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D"}}),xMinutes:c({regular:{singularNominative:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0430",singularGenitive:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438",pluralGenitive:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D"},past:{singularNominative:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0443 \u0442\u043E\u043C\u0443",singularGenitive:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438 \u0442\u043E\u043C\u0443",pluralGenitive:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D \u0442\u043E\u043C\u0443"},future:{singularNominative:"\u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0443",singularGenitive:"\u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438",pluralGenitive:"\u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D"}}),aboutXHours:c({regular:{singularNominative:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0438",singularGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D",pluralGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0433\u043E\u0434\u0438\u043D\u0443",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0433\u043E\u0434\u0438\u043D\u0438",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0433\u043E\u0434\u0438\u043D"}}),xHours:c({regular:{singularNominative:"{{count}} \u0433\u043E\u0434\u0438\u043D\u0443",singularGenitive:"{{count}} \u0433\u043E\u0434\u0438\u043D\u0438",pluralGenitive:"{{count}} \u0433\u043E\u0434\u0438\u043D"}}),xDays:c({regular:{singularNominative:"{{count}} \u0434\u0435\u043D\u044C",singularGenitive:"{{count}} \u0434\u043Di",pluralGenitive:"{{count}} \u0434\u043D\u0456\u0432"}}),aboutXWeeks:c({regular:{singularNominative:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0442\u0438\u0436\u043D\u044F",singularGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0442\u0438\u0436\u043D\u0456\u0432",pluralGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0442\u0438\u0436\u043D\u0456\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0442\u0438\u0436\u0434\u0435\u043D\u044C",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0442\u0438\u0436\u043D\u0456",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0442\u0438\u0436\u043D\u0456\u0432"}}),xWeeks:c({regular:{singularNominative:"{{count}} \u0442\u0438\u0436\u0434\u0435\u043D\u044C",singularGenitive:"{{count}} \u0442\u0438\u0436\u043D\u0456",pluralGenitive:"{{count}} \u0442\u0438\u0436\u043D\u0456\u0432"}}),aboutXMonths:c({regular:{singularNominative:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u043C\u0456\u0441\u044F\u0446\u044F",singularGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u043C\u0456\u0441\u044F\u0446\u0456\u0432",pluralGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u043C\u0456\u0441\u044F\u0446\u0456\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u043C\u0456\u0441\u044F\u0446\u044C",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u043C\u0456\u0441\u044F\u0446\u0456",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u043C\u0456\u0441\u044F\u0446\u0456\u0432"}}),xMonths:c({regular:{singularNominative:"{{count}} \u043C\u0456\u0441\u044F\u0446\u044C",singularGenitive:"{{count}} \u043C\u0456\u0441\u044F\u0446\u0456",pluralGenitive:"{{count}} \u043C\u0456\u0441\u044F\u0446\u0456\u0432"}}),aboutXYears:c({regular:{singularNominative:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0440\u043E\u043A\u0443",singularGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0440\u043E\u043A\u0456\u0432",pluralGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0440\u043E\u043A\u0456\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0440\u0456\u043A",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0440\u043E\u043A\u0456\u0432"}}),xYears:c({regular:{singularNominative:"{{count}} \u0440\u0456\u043A",singularGenitive:"{{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"{{count}} \u0440\u043E\u043A\u0456\u0432"}}),overXYears:c({regular:{singularNominative:"\u0431\u0456\u043B\u044C\u0448\u0435 {{count}} \u0440\u043E\u043A\u0443",singularGenitive:"\u0431\u0456\u043B\u044C\u0448\u0435 {{count}} \u0440\u043E\u043A\u0456\u0432",pluralGenitive:"\u0431\u0456\u043B\u044C\u0448\u0435 {{count}} \u0440\u043E\u043A\u0456\u0432"},future:{singularNominative:"\u0431\u0456\u043B\u044C\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0440\u0456\u043A",singularGenitive:"\u0431\u0456\u043B\u044C\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"\u0431\u0456\u043B\u044C\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0440\u043E\u043A\u0456\u0432"}}),almostXYears:c({regular:{singularNominative:"\u043C\u0430\u0439\u0436\u0435 {{count}} \u0440\u0456\u043A",singularGenitive:"\u043C\u0430\u0439\u0436\u0435 {{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"\u043C\u0430\u0439\u0436\u0435 {{count}} \u0440\u043E\u043A\u0456\u0432"},future:{singularNominative:"\u043C\u0430\u0439\u0436\u0435 \u0437\u0430 {{count}} \u0440\u0456\u043A",singularGenitive:"\u043C\u0430\u0439\u0436\u0435 \u0437\u0430 {{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"\u043C\u0430\u0439\u0436\u0435 \u0437\u0430 {{count}} \u0440\u043E\u043A\u0456\u0432"}})},_e=(e,t,a)=>(a=a||{},fi[e](t,a));var gi={full:"EEEE, do MMMM y '\u0440.'",long:"do MMMM y '\u0440.'",medium:"d MMM y '\u0440.'",short:"dd.MM.y"},pi={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},vi={full:"{{date}} '\u043E' {{time}}",long:"{{date}} '\u043E' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ie={date:s({formats:gi,defaultWidth:"full"}),time:s({formats:pi,defaultWidth:"full"}),dateTime:s({formats:vi,defaultWidth:"full"})};var z=["\u043D\u0435\u0434\u0456\u043B\u044E","\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A","\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A","\u0441\u0435\u0440\u0435\u0434\u0443","\u0447\u0435\u0442\u0432\u0435\u0440","\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044E","\u0441\u0443\u0431\u043E\u0442\u0443"];function bi(e){let t=z[e];switch(e){case 0:case 3:case 5:case 6:return"'\u0443 \u043C\u0438\u043D\u0443\u043B\u0443 "+t+" \u043E' p";case 1:case 2:case 4:return"'\u0443 \u043C\u0438\u043D\u0443\u043B\u0438\u0439 "+t+" \u043E' p"}}function Ke(e){return"'\u0443 "+z[e]+" \u043E' p"}function wi(e){let t=z[e];switch(e){case 0:case 3:case 5:case 6:return"'\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0443 "+t+" \u043E' p";case 1:case 2:case 4:return"'\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0439 "+t+" \u043E' p"}}var yi=(e,t,a)=>{let n=g(e),r=n.getDay();return f(n,t,a)?Ke(r):bi(r)},Pi=(e,t,a)=>{let n=g(e),r=n.getDay();return f(n,t,a)?Ke(r):wi(r)},Mi={lastWeek:yi,yesterday:"'\u0432\u0447\u043E\u0440\u0430 \u043E' p",today:"'\u0441\u044C\u043E\u0433\u043E\u0434\u043D\u0456 \u043E' p",tomorrow:"'\u0437\u0430\u0432\u0442\u0440\u0430 \u043E' p",nextWeek:Pi,other:"P"},$e=(e,t,a,n)=>{let r=Mi[e];return typeof r=="function"?r(t,a,n):r};var Wi={narrow:["\u0434\u043E \u043D.\u0435.","\u043D.\u0435."],abbreviated:["\u0434\u043E \u043D. \u0435.","\u043D. \u0435."],wide:["\u0434\u043E \u043D\u0430\u0448\u043E\u0457 \u0435\u0440\u0438","\u043D\u0430\u0448\u043E\u0457 \u0435\u0440\u0438"]},xi={narrow:["1","2","3","4"],abbreviated:["1-\u0439 \u043A\u0432.","2-\u0439 \u043A\u0432.","3-\u0439 \u043A\u0432.","4-\u0439 \u043A\u0432."],wide:["1-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","2-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","3-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","4-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B"]},ki={narrow:["\u0421","\u041B","\u0411","\u041A","\u0422","\u0427","\u041B","\u0421","\u0412","\u0416","\u041B","\u0413"],abbreviated:["\u0441\u0456\u0447.","\u043B\u044E\u0442.","\u0431\u0435\u0440\u0435\u0437.","\u043A\u0432\u0456\u0442.","\u0442\u0440\u0430\u0432.","\u0447\u0435\u0440\u0432.","\u043B\u0438\u043F.","\u0441\u0435\u0440\u043F.","\u0432\u0435\u0440\u0435\u0441.","\u0436\u043E\u0432\u0442.","\u043B\u0438\u0441\u0442\u043E\u043F.","\u0433\u0440\u0443\u0434."],wide:["\u0441\u0456\u0447\u0435\u043D\u044C","\u043B\u044E\u0442\u0438\u0439","\u0431\u0435\u0440\u0435\u0437\u0435\u043D\u044C","\u043A\u0432\u0456\u0442\u0435\u043D\u044C","\u0442\u0440\u0430\u0432\u0435\u043D\u044C","\u0447\u0435\u0440\u0432\u0435\u043D\u044C","\u043B\u0438\u043F\u0435\u043D\u044C","\u0441\u0435\u0440\u043F\u0435\u043D\u044C","\u0432\u0435\u0440\u0435\u0441\u0435\u043D\u044C","\u0436\u043E\u0432\u0442\u0435\u043D\u044C","\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434","\u0433\u0440\u0443\u0434\u0435\u043D\u044C"]},Di={narrow:["\u0421","\u041B","\u0411","\u041A","\u0422","\u0427","\u041B","\u0421","\u0412","\u0416","\u041B","\u0413"],abbreviated:["\u0441\u0456\u0447.","\u043B\u044E\u0442.","\u0431\u0435\u0440\u0435\u0437.","\u043A\u0432\u0456\u0442.","\u0442\u0440\u0430\u0432.","\u0447\u0435\u0440\u0432.","\u043B\u0438\u043F.","\u0441\u0435\u0440\u043F.","\u0432\u0435\u0440\u0435\u0441.","\u0436\u043E\u0432\u0442.","\u043B\u0438\u0441\u0442\u043E\u043F.","\u0433\u0440\u0443\u0434."],wide:["\u0441\u0456\u0447\u043D\u044F","\u043B\u044E\u0442\u043E\u0433\u043E","\u0431\u0435\u0440\u0435\u0437\u043D\u044F","\u043A\u0432\u0456\u0442\u043D\u044F","\u0442\u0440\u0430\u0432\u043D\u044F","\u0447\u0435\u0440\u0432\u043D\u044F","\u043B\u0438\u043F\u043D\u044F","\u0441\u0435\u0440\u043F\u043D\u044F","\u0432\u0435\u0440\u0435\u0441\u043D\u044F","\u0436\u043E\u0432\u0442\u043D\u044F","\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434\u0430","\u0433\u0440\u0443\u0434\u043D\u044F"]},zi={narrow:["\u041D","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],short:["\u043D\u0434","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],abbreviated:["\u043D\u0435\u0434","\u043F\u043E\u043D","\u0432\u0456\u0432","\u0441\u0435\u0440","\u0447\u0442\u0432","\u043F\u0442\u043D","\u0441\u0443\u0431"],wide:["\u043D\u0435\u0434\u0456\u043B\u044F","\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A","\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A","\u0441\u0435\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440","\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044F","\u0441\u0443\u0431\u043E\u0442\u0430"]},Si={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D.",noon:"\u043F\u043E\u043B.",morning:"\u0440\u0430\u043D\u043E\u043A",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u0456\u0447"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D.",noon:"\u043F\u043E\u043B.",morning:"\u0440\u0430\u043D\u043E\u043A",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u0456\u0447"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D\u0456\u0447",noon:"\u043F\u043E\u043B\u0443\u0434\u0435\u043D\u044C",morning:"\u0440\u0430\u043D\u043E\u043A",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447\u0456\u0440",night:"\u043D\u0456\u0447"}},Fi={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D.",noon:"\u043F\u043E\u043B.",morning:"\u0440\u0430\u043D\u043A\u0443",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0456"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D.",noon:"\u043F\u043E\u043B.",morning:"\u0440\u0430\u043D\u043A\u0443",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0456"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D\u0456\u0447",noon:"\u043F\u043E\u043B\u0443\u0434\u0435\u043D\u044C",morning:"\u0440\u0430\u043D\u043A\u0443",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0456"}},Ni=(e,t)=>{let a=String(t?.unit),n=Number(e),r;return a==="date"?n===3||n===23?r="-\u0454":r="-\u0435":a==="minute"||a==="second"||a==="hour"?r="-\u0430":r="-\u0439",n+r},Ue={ordinalNumber:Ni,era:o({values:Wi,defaultWidth:"wide"}),quarter:o({values:xi,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:ki,defaultWidth:"wide",formattingValues:Di,defaultFormattingWidth:"wide"}),day:o({values:zi,defaultWidth:"wide"}),dayPeriod:o({values:Si,defaultWidth:"any",formattingValues:Fi,defaultFormattingWidth:"wide"})};var ji=/^(\d+)(-?(е|й|є|а|я))?/i,Ti=/\d+/i,Ci={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},Gi={any:[/^д/i,/^н/i]},Vi={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},Hi={any:[/1/i,/2/i,/3/i,/4/i]},Li={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},Xi={narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},Ei={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},qi={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},Ai={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},Oi={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},Be={ordinalNumber:m({matchPattern:ji,parsePattern:Ti,valueCallback:e=>parseInt(e,10)}),era:i({matchPatterns:Ci,defaultMatchWidth:"wide",parsePatterns:Gi,defaultParseWidth:"any"}),quarter:i({matchPatterns:Vi,defaultMatchWidth:"wide",parsePatterns:Hi,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:Li,defaultMatchWidth:"wide",parsePatterns:Xi,defaultParseWidth:"any"}),day:i({matchPatterns:Ei,defaultMatchWidth:"wide",parsePatterns:qi,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:Ai,defaultMatchWidth:"wide",parsePatterns:Oi,defaultParseWidth:"any"})};var Ze={code:"uk",formatDistance:_e,formatLong:Ie,formatRelative:$e,localize:Ue,match:Be,options:{weekStartsOn:1,firstWeekContainsDate:1}};var Yi={lessThanXSeconds:{one:"\u4E0D\u5230 1 \u79D2",other:"\u4E0D\u5230 {{count}} \u79D2"},xSeconds:{one:"1 \u79D2",other:"{{count}} \u79D2"},halfAMinute:"\u534A\u5206\u949F",lessThanXMinutes:{one:"\u4E0D\u5230 1 \u5206\u949F",other:"\u4E0D\u5230 {{count}} \u5206\u949F"},xMinutes:{one:"1 \u5206\u949F",other:"{{count}} \u5206\u949F"},xHours:{one:"1 \u5C0F\u65F6",other:"{{count}} \u5C0F\u65F6"},aboutXHours:{one:"\u5927\u7EA6 1 \u5C0F\u65F6",other:"\u5927\u7EA6 {{count}} \u5C0F\u65F6"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7EA6 1 \u4E2A\u661F\u671F",other:"\u5927\u7EA6 {{count}} \u4E2A\u661F\u671F"},xWeeks:{one:"1 \u4E2A\u661F\u671F",other:"{{count}} \u4E2A\u661F\u671F"},aboutXMonths:{one:"\u5927\u7EA6 1 \u4E2A\u6708",other:"\u5927\u7EA6 {{count}} \u4E2A\u6708"},xMonths:{one:"1 \u4E2A\u6708",other:"{{count}} \u4E2A\u6708"},aboutXYears:{one:"\u5927\u7EA6 1 \u5E74",other:"\u5927\u7EA6 {{count}} \u5E74"},xYears:{one:"1 \u5E74",other:"{{count}} \u5E74"},overXYears:{one:"\u8D85\u8FC7 1 \u5E74",other:"\u8D85\u8FC7 {{count}} \u5E74"},almostXYears:{one:"\u5C06\u8FD1 1 \u5E74",other:"\u5C06\u8FD1 {{count}} \u5E74"}},et=(e,t,a)=>{let n,r=Yi[e];return typeof r=="string"?n=r:t===1?n=r.one:n=r.other.replace("{{count}}",String(t)),a?.addSuffix?a.comparison&&a.comparison>0?n+"\u5185":n+"\u524D":n};var Ji={full:"y'\u5E74'M'\u6708'd'\u65E5' EEEE",long:"y'\u5E74'M'\u6708'd'\u65E5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},Ri={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},Qi={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},tt={date:s({formats:Ji,defaultWidth:"full"}),time:s({formats:Ri,defaultWidth:"full"}),dateTime:s({formats:Qi,defaultWidth:"full"})};function at(e,t,a){let n="eeee p";return f(e,t,a)?n:e.getTime()>t.getTime()?"'\u4E0B\u4E2A'"+n:"'\u4E0A\u4E2A'"+n}var _i={lastWeek:at,yesterday:"'\u6628\u5929' p",today:"'\u4ECA\u5929' p",tomorrow:"'\u660E\u5929' p",nextWeek:at,other:"PP p"},nt=(e,t,a,n)=>{let r=_i[e];return typeof r=="function"?r(t,a,n):r};var Ii={narrow:["\u524D","\u516C\u5143"],abbreviated:["\u524D","\u516C\u5143"],wide:["\u516C\u5143\u524D","\u516C\u5143"]},Ki={narrow:["1","2","3","4"],abbreviated:["\u7B2C\u4E00\u5B63","\u7B2C\u4E8C\u5B63","\u7B2C\u4E09\u5B63","\u7B2C\u56DB\u5B63"],wide:["\u7B2C\u4E00\u5B63\u5EA6","\u7B2C\u4E8C\u5B63\u5EA6","\u7B2C\u4E09\u5B63\u5EA6","\u7B2C\u56DB\u5B63\u5EA6"]},$i={narrow:["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},Ui={narrow:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],short:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],abbreviated:["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],wide:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]},Bi={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u51CC\u6668",noon:"\u5348",morning:"\u65E9",afternoon:"\u4E0B\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"}},Zi={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u51CC\u6668",noon:"\u5348",morning:"\u65E9",afternoon:"\u4E0B\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"}},es=(e,t)=>{let a=Number(e);switch(t?.unit){case"date":return a.toString()+"\u65E5";case"hour":return a.toString()+"\u65F6";case"minute":return a.toString()+"\u5206";case"second":return a.toString()+"\u79D2";default:return"\u7B2C "+a.toString()}},rt={ordinalNumber:es,era:o({values:Ii,defaultWidth:"wide"}),quarter:o({values:Ki,defaultWidth:"wide",argumentCallback:e=>e-1}),month:o({values:$i,defaultWidth:"wide"}),day:o({values:Ui,defaultWidth:"wide"}),dayPeriod:o({values:Bi,defaultWidth:"wide",formattingValues:Zi,defaultFormattingWidth:"wide"})};var ts=/^(第\s*)?\d+(日|时|分|秒)?/i,as=/\d+/i,ns={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},rs={any:[/^(前)/i,/^(公元)/i]},os={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},is={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},ss={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},ms={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},ds={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},us={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},ls={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},cs={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},ot={ordinalNumber:m({matchPattern:ts,parsePattern:as,valueCallback:e=>parseInt(e,10)}),era:i({matchPatterns:ns,defaultMatchWidth:"wide",parsePatterns:rs,defaultParseWidth:"any"}),quarter:i({matchPatterns:os,defaultMatchWidth:"wide",parsePatterns:is,defaultParseWidth:"any",valueCallback:e=>e+1}),month:i({matchPatterns:ss,defaultMatchWidth:"wide",parsePatterns:ms,defaultParseWidth:"any"}),day:i({matchPatterns:ds,defaultMatchWidth:"wide",parsePatterns:us,defaultParseWidth:"any"}),dayPeriod:i({matchPatterns:ls,defaultMatchWidth:"any",parsePatterns:cs,defaultParseWidth:"any"})};var it={code:"zh-CN",formatDistance:et,formatLong:tt,formatRelative:nt,localize:rt,match:ot,options:{weekStartsOn:1,firstWeekContainsDate:4}};var hs={ar:G,de:A,en:w,es:B,fr:re,hi:ce,ja:be,nl:xe,pt:Ne,ru:qe,tr:Qe,uk:Ze,zh:it};var Ll=e=>hs[e]??w;function Ol(e){let t=g(e),a=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return a.setUTCFullYear(t.getFullYear()),+e-+a}export{Ud as a,Bd as b,Zd as c,eu as d,y as e,g as f,Ve as g,k as h,Ol as i,Ge as j,w as k,Ll as l}; diff --git a/webui/dist/bitmagnet/browser/chunk-6NVKEHMV.js b/webui/dist/bitmagnet/browser/chunk-6NVKEHMV.js deleted file mode 100644 index a998dab6..00000000 --- a/webui/dist/bitmagnet/browser/chunk-6NVKEHMV.js +++ /dev/null @@ -1 +0,0 @@ -import{P as u,Q as C,U as g,Ua as _,b as f}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{Cb as i,Qb as r,Rb as d,Tb as c,Ub as m,kb as a,kc as p,lc as l,pc as s,ua as o}from"./chunk-FJILXII2.js";function x(t,M){if(t&1&&(c(0),r(1,"mat-card",1)(2,"mat-card-header")(3,"mat-card-title")(4,"h2"),p(5),d()()()(),m()),t&2){let e=M.$implicit;a(5),l(e("general.page_not_found"))}}var D=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=o({type:t,selectors:[["app-not-found"]],standalone:!0,features:[s],decls:1,vars:0,consts:[[4,"transloco"],[1,"card-not-found"]],template:function(n,h){n&1&&i(0,x,6,1,"ng-container",0)},dependencies:[_,u,g,C,f],styles:[".card-not-found[_ngcontent-%COMP%]{max-width:960px;margin:20px auto}.card-not-found[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-top:10px}"]})}}return t})();export{D as NotFoundComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-VRXOKWLG.js b/webui/dist/bitmagnet/browser/chunk-772YMJAF.js similarity index 69% rename from webui/dist/bitmagnet/browser/chunk-VRXOKWLG.js rename to webui/dist/bitmagnet/browser/chunk-772YMJAF.js index dad2a68a..50d43c87 100644 --- a/webui/dist/bitmagnet/browser/chunk-VRXOKWLG.js +++ b/webui/dist/bitmagnet/browser/chunk-772YMJAF.js @@ -1 +1 @@ -import{k as s}from"./chunk-ZBBMS7J5.js";import{Sb as n,pc as r,ua as o}from"./chunk-FJILXII2.js";var m=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=o({type:e,selectors:[["app-torrents"]],standalone:!0,features:[r],decls:2,vars:0,consts:[["outlet",""]],template:function(t,a){t&1&&n(0,"router-outlet",null,0)},dependencies:[s]})}}return e})();export{m as TorrentsComponent}; +import{j as s}from"./chunk-CMNWCZJM.js";import{Sb as n,pc as r,ua as o}from"./chunk-Z3WUIYN5.js";var m=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=o({type:e,selectors:[["app-torrents"]],standalone:!0,features:[r],decls:2,vars:0,consts:[["outlet",""]],template:function(t,a){t&1&&n(0,"router-outlet",null,0)},dependencies:[s]})}}return e})();export{m as TorrentsComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-7HDEVHSY.js b/webui/dist/bitmagnet/browser/chunk-7HDEVHSY.js deleted file mode 100644 index fce64462..00000000 --- a/webui/dist/bitmagnet/browser/chunk-7HDEVHSY.js +++ /dev/null @@ -1 +0,0 @@ -import{b as D,d as H}from"./chunk-W2FDHTDN.js";import{P as f,R as M,U as _,Ua as P,b as C,ja as u,na as b,oa as x,qa as v,xa as O}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{Cb as p,Hb as c,Qb as e,Rb as n,Sb as r,Tb as s,Ub as l,kb as i,kc as m,lc as h,pc as g,ua as d}from"./chunk-FJILXII2.js";function y(t,w){if(t&1&&(s(0),e(1,"mat-card",1)(2,"mat-card-header")(3,"mat-toolbar")(4,"h2")(5,"mat-icon"),m(6,"dashboard"),n(),m(7),n()()(),e(8,"mat-card-content"),r(9,"mat-divider"),e(10,"div",2)(11,"mat-grid-list",3)(12,"mat-grid-tile",4),r(13,"app-health-card"),n()()()()(),l()),t&2){let a=w.$implicit;i(7),h(a("routes.dashboard")),i(5),c("colspan",1)("rowspan",1)}}var q=(()=>{class t{static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=d({type:t,selectors:[["app-dashboard"]],standalone:!0,features:[g],decls:1,vars:0,consts:[[4,"transloco"],[1,"dashboard-card"],[1,"grid-container"],["cols","1","rowHeight","500px"],[3,"colspan","rowspan"]],template:function(o,S){o&1&&p(0,y,14,3,"ng-container",0)},dependencies:[P,f,M,_,u,x,b,v,O,C,H,D],styles:[".grid-container[_ngcontent-%COMP%]{margin:20px}.more-button[_ngcontent-%COMP%]{position:absolute;top:5px;right:10px}app-health-card[_ngcontent-%COMP%]{width:100%;height:100%}app-health-card[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{height:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;margin-right:14px;margin-left:32px}"]})}}return t})();export{q as DashboardHomeComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-7SFHH767.js b/webui/dist/bitmagnet/browser/chunk-7SFHH767.js new file mode 100644 index 00000000..c125c8ef --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-7SFHH767.js @@ -0,0 +1 @@ +import{b as Fe,c as Re}from"./chunk-GLXU5TTY.js";import"./chunk-RQ2LQKI2.js";import"./chunk-42PJPEMD.js";import{a as ue}from"./chunk-FNMD7JET.js";import{a as je}from"./chunk-P4IGP6ZM.js";import{a as Ae}from"./chunk-DSEDLZDW.js";import{Ba as Te,Ea as j,Fa as we,Ga as Me,Ha as Je,I as _e,Ia as Ie,Ja as Ee,Ka as Pe,La as $e,Ma as Qe,Na as ke,Oa as Oe,Pa as Ve,Q as ge,Qa as De,R as xe,Ra as qe,S as fe,Sa as Be,V as be,W as Ce,X as he,_ as ve,_a as A,a as B,b as F,h as ce,ha as ye,n as se,s as pe,v as de,w as me,wa as Se}from"./chunk-HZYDZMJ4.js";import{c as re,d as ae,g as N,h as W,i as le}from"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{$b as l,B as P,Cb as u,Ea as _,Fa as g,Gb as O,Hb as d,Kb as H,Mb as E,N as U,Na as ee,O as X,Ob as $,Pb as Q,Q as Z,Qb as a,Rb as c,Sb as J,Tb as h,Ub as v,Wb as y,Zb as x,a as f,ad as D,b,bd as q,cd as oe,jc as z,kb as r,kc as p,l as w,lc as S,mc as m,o as K,pc as V,qa as I,qc as te,tc as ie,ua as k,vc as T,wc as M,yc as ne}from"./chunk-Z3WUIYN5.js";var Ue=()=>["expandedDetail"];function Xe(t,n){t&1&&(a(0,"th",18),p(1,"ID"),c())}function Ze(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).id," ")}}function et(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.queue")," ")}}function tt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).queue," ")}}function it(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.priority")," ")}}function nt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),T(2,"number"),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",M(2,1,i.item(e).priority)," ")}}function ot(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("general.status")," ")}}function rt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).status," ")}}function at(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),S(e("general.error"))}}function lt(t,n){if(t&1&&(p(0),T(1,"slice")),t&2){let e=l().$implicit,i=l(2);m(" ",ne(1,1,i.item(e).error,0,20)+"..."," ")}}function ct(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),u(1,lt,2,5),c()}if(t&2){let e=n.$implicit;r(),E(e.error?1:-1)}}function st(t,n){if(t&1&&(a(0,"th",20),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.created_at")," ")}}function pt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),T(2,"timeAgo"),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",M(2,1,i.item(e).createdAt)," ")}}function dt(t,n){if(t&1&&(a(0,"th",20),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.ran_at")," ")}}function mt(t,n){t&1&&(p(0),T(1,"timeAgo")),t&2&&m(" ",M(1,1,n)," ")}function ut(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),u(1,mt,2,3),c()}if(t&2){let e,i=n.$implicit;r(),E((e=i.ranAt)?1:-1,e)}}function _t(t,n){if(t&1&&(a(0,"h5")(1,"span",23),p(2),c()(),a(3,"pre",24),p(4),c()),t&2){let e=n,i=l(2).$implicit;r(),d("matTooltip",i("torrents.copy_to_clipboard"))("cdkCopyToClipboard",e),r(),m("",i("general.error"),":"),r(2),S(e)}}function gt(t,n){if(t&1&&(a(0,"td",21)(1,"div",22)(2,"p")(3,"strong"),p(4,"ID:"),c(),p(5,"\xA0"),a(6,"span",23),p(7),c()(),a(8,"h5")(9,"span",23),p(10),c()(),a(11,"pre",24),p(12),c(),u(13,_t,5,4),c()()),t&2){let e,i=n.$implicit,o=l().$implicit,s=l();O("colspan",s.displayedColumns.length),r(),d("@detailExpand",s.expandedId.getValue()===i.id?"expanded":"collapsed"),r(5),d("matTooltip",o("torrents.copy_to_clipboard"))("cdkCopyToClipboard",s.item(i).id),r(),S(s.item(i).id),r(2),d("matTooltip",o("torrents.copy_to_clipboard"))("cdkCopyToClipboard",s.item(i).payload),r(),m("",o("dashboard.queues.payload"),":"),r(2),S(s.beautifyPayload(s.item(i).payload)),r(),E((e=s.item(i).error)?13:-1,e)}}function xt(t,n){t&1&&J(0,"tr",25)}function ft(t,n){if(t&1&&J(0,"tr",26),t&2){let e=n.$implicit,i=l(2);H("summary-row "+(e.id===i.expandedId.getValue()?"expanded":"collapsed"))}}function bt(t,n){if(t&1&&J(0,"tr",26),t&2){let e=n.$implicit,i=l(2);H("expanded-detail-row "+(e.id===i.expandedId.getValue()?"expanded":"collapsed"))}}function Ct(t,n){if(t&1&&(h(0),a(1,"div",1),J(2,"mat-progress-bar",2),T(3,"async"),c(),a(4,"table",3),h(5,4),u(6,Xe,2,0,"th",5)(7,Ze,2,1,"td",6),v(),h(8,7),u(9,et,2,1,"th",5)(10,tt,2,1,"td",6),v(),h(11,8),u(12,it,2,1,"th",5)(13,nt,3,3,"td",6),v(),h(14,9),u(15,ot,2,1,"th",5)(16,rt,2,1,"td",6),v(),h(17,10),u(18,at,2,1,"th",5)(19,ct,2,1,"td",6),v(),h(20,11),u(21,st,2,1,"th",12)(22,pt,3,3,"td",6),v(),h(23,13),u(24,dt,2,1,"th",12)(25,ut,2,1,"td",6),v(),h(26,14),u(27,gt,14,10,"td",15),v(),u(28,xt,1,0,"tr",16)(29,ft,1,2,"tr",17)(30,bt,1,2,"tr",17),c(),v()),t&2){let e=l();r(2),d("mode",M(3,7,e.dataSource.loading$)?"indeterminate":"determinate")("value",0),r(2),d("dataSource",e.dataSource)("multiTemplateDataRows",!0),r(24),d("matHeaderRowDef",e.displayedColumns),r(),d("matRowDefColumns",e.displayedColumns),r(),d("matRowDefColumns",te(9,Ue))}}var Le=(()=>{class t{constructor(){this.transloco=I(B),this.displayedColumns=ht,this.updated=new ee,this.expandedId=new w(null),this.items=Array()}ngOnInit(){this.dataSource.items$.subscribe(e=>{if(this.items=e,e.length){let i=this.expandedId.getValue();i&&!e.some(({id:o})=>o===i)&&this.expandedId.next(null)}})}isAllSelected(){return this.items.every(e=>this.selection.isSelected(e.id))}toggleAllRows(){if(this.isAllSelected()){this.selection.clear();return}this.selection.select(...this.items.map(e=>e.id))}toggleQueueJobId(e){this.expandedId.getValue()===e?this.expandedId.next(null):this.expandedId.next(e)}item(e){return e}beautifyPayload(e){try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-queue-jobs-table"]],inputs:{dataSource:"dataSource",selection:"selection",displayedColumns:"displayedColumns"},outputs:{updated:"updated"},standalone:!0,features:[V],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-results",3,"dataSource","multiTemplateDataRows"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","queue"],["matColumnDef","priority"],["matColumnDef","status"],["matColumnDef","error"],["matColumnDef","createdAt"],["mat-header-cell","","style","text-align: center",4,"matHeaderCellDef"],["matColumnDef","ranAt"],["matColumnDef","expandedDetail"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"class",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",3,"click"],["mat-header-cell","",2,"text-align","center"],["mat-cell",""],[1,"item-detail"],[1,"copy",3,"matTooltip","cdkCopyToClipboard"],[1,"payload"],["mat-header-row",""],["mat-row",""]],template:function(i,o){i&1&&u(0,Ct,31,10,"ng-container",0)},dependencies:[A,ge,Te,Ee,$e,Ve,Qe,Pe,De,ke,Oe,qe,Be,j,F,D,oe,q,Re],styles:[".item-detail[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-top:20px}.item-detail[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{margin-bottom:20px}tr[_ngcontent-%COMP%]:not(.expanded-detail-row) td[_ngcontent-%COMP%]{cursor:pointer}tr.expanded-detail-row[_ngcontent-%COMP%]{height:0}tr.expanded-detail-row[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0;padding-top:8px}tr.expanded-detail-row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding-top:8px;padding-bottom:4px}tr.expanded-detail-row[_ngcontent-%COMP%] span.copy[_ngcontent-%COMP%]{cursor:crosshair;text-decoration:underline;text-decoration-style:dotted}pre[_ngcontent-%COMP%]{opacity:0;max-height:200px;max-width:100px;overflow:scroll;background:#7773;padding:10px}.expanded-detail-row.expanded[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{opacity:1;max-width:1200px}"],data:{animation:[re("detailExpand",[W("collapsed,void",N({height:"0px",minHeight:"0"})),W("expanded",N({height:"*"})),le("expanded <=> collapsed",ae("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return t})(),ht=["id","queue","priority","status","error","createdAt","ranAt"];var vt={items:[],hasNextPage:!1,totalCount:0,aggregations:{queue:[],status:[]}},R=class{constructor(n,e,i){this.apollo=n,this.errorsService=e,this.currentRequest=new w(0),this.loadingSubject=new w(!1),this.loading$=this.loadingSubject.asObservable(),this.result=vt,this.resultSubject=new w(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(P(o=>o.items)),i.subscribe(o=>{this.variables=o,this.loadResult(o)}),this.resultSubject.subscribe(o=>{this.result=o})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}refresh(){this.variables&&this.loadResult(this.variables)}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:_e,variables:n,fetchPolicy:"no-cache"}).pipe(P(o=>o.data.queue.jobs)).pipe(U(o=>(this.errorsService.addError(`Error loading item results: ${o.message}`),K)));this.currentSubscription=i.subscribe(o=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(o))})}};var L=class{constructor(n=yt){this.controlsSubject=new w(n),this.controls$=this.controlsSubject.asObservable(),this.variablesSubject=new w(He(n)),this.variables$=this.variablesSubject.asObservable(),this.controls$.pipe(Z(100)).subscribe(e=>{let i=this.variablesSubject.getValue(),o=He(e);JSON.stringify(i)!==JSON.stringify(o)&&this.variablesSubject.next(o)})}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}activateFilter(n,e){this.update(i=>{let o=n.extractInput(i.facets);return b(f({},i),{page:1,facets:n.patchInput(i.facets,b(f({},o),{filter:Array.from(new Set([...o.filter??[],e])).sort()}))})})}deactivateFilter(n,e){this.update(i=>{let o=n.extractInput(i.facets),s=o.filter?.filter(C=>C!==e);return b(f({},i),{page:1,facets:n.patchInput(i.facets,b(f({},o),{filter:s?.length?s:void 0}))})})}selectOrderBy(n){let e={field:n,descending:Y.find(i=>i.field===n)?.descending??!1};this.update(i=>b(f({},i),{orderBy:e,page:1}))}toggleOrderByDirection(){this.update(n=>b(f({},n),{orderBy:b(f({},n.orderBy),{descending:!n.orderBy.descending}),page:1}))}handlePageEvent(n){this.update(e=>b(f({},e),{limit:n.pageSize,page:n.page}))}},He=t=>({input:{limit:t.limit,page:t.page,totalCount:!0,orderBy:[t.orderBy,...t.orderBy.field!=="created_at"?[{field:"created_at",descending:t.orderBy.descending}]:[]],queues:t.queues,statuses:t.statuses,facets:{queue:{aggregate:!0,filter:t.facets.queue.filter},status:{aggregate:!0,filter:t.facets.status.filter}}}}),Y=[{field:"created_at",descending:!0},{field:"ran_at",descending:!0},{field:"priority",descending:!1}],yt={limit:20,page:1,orderBy:{field:"ran_at",descending:!0},facets:{queue:{},status:{}}},St={key:"queue",extractInput:t=>t.queue,patchInput:(t,n)=>b(f({},t),{queue:n}),extractAggregations:t=>t.queue??[],resolveLabel:t=>t.label},Tt={key:"status",extractInput:t=>t.status,patchInput:(t,n)=>b(f({},t),{status:n}),extractAggregations:t=>t.status??[],resolveLabel:(t,n)=>n.translate("dashboard.queues."+t.label)},ze=[St,Tt];var wt=(t,n)=>n.key,Mt=(t,n)=>n.field,Ne=(t,n)=>n.value,Jt=(t,n,e)=>[t,n,e];function It(t,n){if(t&1){let e=y();a(0,"mat-checkbox",21),x("change",function(o){let s=_(e).$implicit,C=l(2).$implicit,G=l(2);return g(o.checked?G.controller.activateFilter(C,s.value):G.controller.deactivateFilter(C,s.value))}),p(1),a(2,"small"),p(3),T(4,"number"),c()()}if(t&2){let e=n.$implicit,i=l(2).$implicit;d("checked",i.filter==null?null:i.filter.includes(e.value)),r(),m(" ",e.label," "),r(2),S(M(4,3,e.count))}}function Et(t,n){if(t&1&&(a(0,"mat-card-content",18),$(1,It,5,5,"mat-checkbox",20,Ne),c()),t&2){let e=l().$implicit;r(),Q(e.aggregations)}}function Pt(t,n){if(t&1){let e=y();a(0,"mat-checkbox",23),x("change",function(){let o=_(e).$implicit,s=l(2).$implicit,C=l(2);return g(C.controller.activateFilter(s,o.value))}),p(1),a(2,"small"),p(3),T(4,"number"),c()()}if(t&2){let e=n.$implicit;r(),m(" ",e.label," "),r(2),S(M(4,2,e.count))}}function $t(t,n){if(t&1&&(a(0,"mat-card-content",19),$(1,Pt,5,4,"mat-checkbox",22,Ne),c()),t&2){let e=l().$implicit;r(),Q(e.aggregations)}}function Qt(t,n){if(t&1&&(a(0,"mat-card")(1,"mat-card-header")(2,"mat-card-title"),p(3),c()(),u(4,Et,3,0,"mat-card-content",18)(5,$t,3,0,"mat-card-content",19),c()),t&2){let e=n.$implicit,i=l().$implicit;r(3),m(" ",i("facets."+e.key)," "),r(),E(e.filter!=null&&e.filter.length?4:5)}}function kt(t,n){if(t&1&&(a(0,"mat-option",12),p(1),c()),t&2){let e=n.$implicit,i=l().$implicit;d("value",e.field),r(),m(" ",i("dashboard.queues."+e.field)," ")}}function Ot(t,n){if(t&1){let e=y();h(0),J(1,"app-document-title",2),a(2,"mat-drawer-container",3)(3,"mat-drawer",4,0),$(5,Qt,6,2,"mat-card",null,wt),T(7,"async"),c(),a(8,"mat-drawer-content")(9,"div",5)(10,"div",6)(11,"button",7),x("click",function(){_(e);let o=z(4);return g(o.toggle())}),a(12,"mat-icon",8),p(13),c()()(),a(14,"div",9)(15,"mat-form-field",10)(16,"mat-label"),p(17),c(),a(18,"mat-select",11),x("valueChange",function(o){_(e);let s=l();return g(s.controller.selectOrderBy(o))}),$(19,kt,2,2,"mat-option",12,Mt),c()(),a(21,"button",13),x("click",function(){_(e);let o=l();return g(o.controller.toggleOrderByDirection())}),a(22,"mat-icon"),p(23),c()()(),a(24,"div",14)(25,"button",15),x("click",function(){_(e);let o=l();return g(o.dataSource.refresh())}),a(26,"mat-icon"),p(27,"sync"),c()()()(),J(28,"app-queue-jobs-table",16),a(29,"app-paginator",17),x("paging",function(o){_(e);let s=l();return g(s.controller.handlePageEvent(o))}),c()()(),v()}if(t&2){let e=n.$implicit,i=z(4),o=l();r(),d("parts",ie(21,Jt,e("routes.jobs"),e("routes.queues"),e("routes.dashboard"))),r(2),d("mode",o.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",o.breakpoints.sizeAtLeast("Medium")),O("role",o.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),r(2),Q(M(7,19,o.facets$)),r(6),d("matTooltip",e("torrents.toggle_drawer")),r(2),S(i.opened?"arrow_circle_left":"arrow_circle_right"),r(4),S(e("torrents.order_by")),r(),d("value",o.controls.orderBy.field),r(),Q(o.orderByOptions),r(2),d("matTooltip",e("torrents.order_direction_toggle")),r(2),S(o.controls.orderBy.descending?"arrow_downward":"arrow_upward"),r(2),d("matTooltip",e("torrents.refresh")),r(3),d("dataSource",o.dataSource)("selection",o.selection),r(),d("page",o.controls.page)("pageSize",o.controls.limit)("pageLength",o.dataSource.result.items.length)("totalLength",o.dataSource.result.totalCount)("totalIsEstimate",!1)("showLastPage",!0)}}var Ti=(()=>{class t{constructor(){this.apollo=I(ce),this.errorsService=I(ue),this.breakpoints=I(je),this.transloco=I(B),this.controller=new L,this.dataSource=new R(this.apollo,this.errorsService,this.controller.variables$),this.selection=new se,this.orderByOptions=Y,this.facets$=this.controller.controls$.pipe(X(this.dataSource.result$),P(([e,i])=>ze.map(o=>b(f(f({},o),o.extractInput(e.facets)),{aggregations:o.extractAggregations(i.aggregations).map(s=>b(f({},s),{label:o.resolveLabel(s,this.transloco)}))})))),this.controller.controls$.subscribe(e=>{this.controls=e})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-queue-jobs"]],standalone:!0,features:[V],decls:1,vars:0,consts:[["drawer",""],[4,"transloco"],[3,"parts"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],[1,"query-form"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["fontSet","material-icons"],[1,"form-field-container","form-field-container-order-by"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],["mat-icon-button","",3,"click","matTooltip"],[1,"form-field-container","button-container","button-container-refresh"],["mat-mini-fab","","color","primary",3,"click","matTooltip"],[3,"dataSource","selection"],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"],[1,"filtered"],[1,"unfiltered"],[3,"checked"],[3,"change","checked"],["checked","true"],["checked","true",3,"change"]],template:function(i,o){i&1&&u(0,Ot,30,25,"ng-container",1)},dependencies:[A,pe,me,de,be,he,ve,Ce,ye,fe,xe,Se,we,Je,Ie,Me,j,F,D,q,Fe,Le,Ae],styles:[".drawer[_ngcontent-%COMP%]{width:220px}.query-form[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;position:relative;clear:both;display:flex;flex-wrap:wrap}.query-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;position:relative;margin-left:20px;padding-bottom:20px}.query-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:8px}.query-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%]{padding-right:40px}.query-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.query-form[_ngcontent-%COMP%] .form-field-container.button-container-toggle-drawer[_ngcontent-%COMP%]{margin-left:5px}.query-form[_ngcontent-%COMP%] .button-container-toggle-direction[_ngcontent-%COMP%]{margin-left:4px}app-paginator[_ngcontent-%COMP%]{float:right;padding-top:14px;padding-bottom:20px}"]})}}return t})();export{Ti as QueueJobsComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-B2KTWFU6.js b/webui/dist/bitmagnet/browser/chunk-B2KTWFU6.js deleted file mode 100644 index db3f5350..00000000 --- a/webui/dist/bitmagnet/browser/chunk-B2KTWFU6.js +++ /dev/null @@ -1 +0,0 @@ -import{g as J,j as A}from"./chunk-6OKZFKY7.js";import{A as z,J as H,P as k,R as K,Ua as q,b as T,ba as M,ca as N,da as W,fa as I,ga as V,ha as y,i as w,o as P,p as L,wa as R,z as Y}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{$b as a,B as F,Cb as x,Ea as m,Fa as _,Hb as g,Mb as Q,N as $,Nb as B,Ob as O,Pb as G,Qb as s,Rb as r,Sb as S,Tb as D,Ub as E,Wb as h,Zb as d,kb as o,kc as c,lc as p,mc as C,nc as U,o as j,pc as v,qa as f,ua as b}from"./chunk-FJILXII2.js";function ce(n,u){if(n&1){let e=h();s(0,"section")(1,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return l.localSearchDisabled=!i.checked,_(l.apisDisabled=l.localSearchDisabled?!0:l.apisDisabled)}),c(2),r(),s(3,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return l.apisDisabled=!i.checked,_(l.localSearchDisabled=l.apisDisabled?l.localSearchDisabled:!0)}),c(4),r(),s(5,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return _(l.classifierRematch=i.checked)}),c(6),r(),s(7,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return _(l.orphans=i.checked)}),c(8),r()()}if(n&2){let e=a().$implicit,t=a();o(),g("checked",!t.apisDisabled),o(),p(e("dashboard.queues.match_content_by_local_search")),o(),g("checked",!t.apisDisabled),o(),p(e("dashboard.queues.match_content_by_external_api_search")),o(),g("checked",t.classifierRematch),o(),p(e("dashboard.queues.force_rematch")),o(),g("checked",t.orphans),o(),p(e("dashboard.queues.process_orphaned_torrents_only"))}}function le(n,u){n&1&&S(0,"mat-spinner")}function ue(n,u){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a().$implicit;o(),p(e("dashboard.queues.jobs_enqueued"))}}function me(n,u){if(n&1){let e=h();D(0),s(1,"mat-card")(2,"h2",1),c(3),r(),s(4,"mat-dialog-content"),x(5,ce,9,8,"section")(6,le,1,0,"mat-spinner")(7,ue,2,1,"p"),r(),s(8,"mat-dialog-actions")(9,"button",2),d("click",function(){m(e);let i=a();return _(i.handleEnqueue())}),c(10),r(),s(11,"button",3),d("click",function(){m(e);let i=a();return _(i.dialogRef.close())}),c(12),r()()(),E()}if(n&2){let e=u.$implicit,t=a();o(3),C(" ",e("dashboard.queues.enqueue_torrent_processing_batch")," "),o(2),Q(t.stage==="PENDING"?5:t.stage==="REQUESTING"?6:t.stage==="DONE"?7:-1),o(4),g("disabled",t.stage!=="PENDING"),o(),C(" ",e("dashboard.queues.enqueue_jobs")," "),o(2),C(" ",e("general.dismiss")," ")}}var ne=(()=>{class n{constructor(){this.apollo=f(w),this.dialogRef=f(N),this.availableQueueNames=A,this.statusNames=J,this.stage="PENDING",this.apisDisabled=!0,this.localSearchDisabled=!0,this.classifierRematch=!1,this.orphans=!1}handleEnqueue(){this.stage==="PENDING"&&(this.stage="REQUESTING",this.apollo.mutate({mutation:Y,variables:{input:{apisDisabled:this.apisDisabled,localSearchDisabled:this.localSearchDisabled,classifierRematch:this.classifierRematch,contentTypes:this.contentTypes,orphans:this.orphans?!0:void 0}}}).subscribe(()=>{this.stage="DONE",this.data.onEnqueued?.()}))}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=b({type:n,selectors:[["app-queue-enqueue-reprocess-torrents-batch-dialog"]],standalone:!0,features:[v],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],["mat-stroked-button","","color","warning",3,"click","disabled"],["mat-stroked-button","",3,"click"],[3,"change","checked"]],template:function(t,i){t&1&&x(0,me,13,5,"ng-container",0)},dependencies:[q,P,k,M,I,y,V,R,T],styles:["mat-dialog-content[_ngcontent-%COMP%]{min-height:240px;overflow:visible}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return n})();function _e(n,u){if(n&1){let e=h();s(0,"mat-checkbox",6),d("change",function(i){m(e);let l=a(3);return _(l.handleQueueEvent(i))}),c(1),r()}if(n&2){let e=u.$implicit,t=a(3);g("value",e)("checked",t.queues==null?null:t.queues.includes(e)),o(),p(e)}}function de(n,u){if(n&1){let e=h();s(0,"mat-checkbox",6),d("change",function(i){m(e);let l=a(3);return _(l.handleStatusEvent(i))}),c(1),r()}if(n&2){let e=u.$implicit,t=a(3);g("value",e)("checked",t.statuses==null?null:t.statuses.includes(e)),o(),p(e)}}function pe(n,u){if(n&1){let e=h();s(0,"section")(1,"h4"),c(2),r(),s(3,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return _(l.handleQueueEvent(i))}),c(4),r(),O(5,_e,2,3,"mat-checkbox",5,B),r(),s(7,"section")(8,"h4"),c(9,"Statuses:"),r(),s(10,"mat-checkbox",4),d("change",function(i){m(e);let l=a(2);return _(l.handleStatusEvent(i))}),c(11,"All"),r(),O(12,de,2,3,"mat-checkbox",5,B),r()}if(n&2){let e=a().$implicit,t=a();o(2),C("",e("dashboard.queues.queues"),":"),o(),g("checked",t.queues===void 0),o(),p(e("general.all")),o(),G(t.availableQueueNames),o(5),g("checked",t.statuses===void 0),o(2),G(t.statusNames)}}function ge(n,u){n&1&&S(0,"mat-spinner")}function he(n,u){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a(2).$implicit,t=a();o(),U("",e("general.error"),": ",t.error.message,"")}}function xe(n,u){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a(2).$implicit;o(),p(e("dashboard.queues.queue_purged"))}}function fe(n,u){if(n&1&&x(0,he,2,2,"p")(1,xe,2,1,"p"),n&2){let e=a(2);Q(e.error?0:1)}}function Ce(n,u){if(n&1){let e=h();D(0),s(1,"mat-card")(2,"h2",1),c(3,"Purge Queue Jobs"),r(),s(4,"mat-dialog-content"),x(5,pe,14,4)(6,ge,1,0,"mat-spinner")(7,fe,2,1),r(),s(8,"mat-dialog-actions")(9,"button",2),d("click",function(){m(e);let i=a();return _(i.handlePurgeJobs())}),c(10),r(),s(11,"button",3),d("click",function(){m(e);let i=a();return _(i.dialogRef.close())}),c(12),r()()(),E()}if(n&2){let e=u.$implicit,t=a();o(5),Q(t.stage==="PENDING"?5:t.stage==="REQUESTING"?6:t.stage==="DONE"?7:-1),o(4),g("disabled",t.stage!=="PENDING"),o(),C(" ",e("dashboard.queues.purge_jobs")," "),o(2),C(" ",e("general.dismiss")," ")}}var ie=(()=>{class n{constructor(){this.apollo=f(w),this.dialogRef=f(N),this.availableQueueNames=A,this.statusNames=J,this.stage="PENDING"}handleQueueEvent(e){if(e.source.value==="_all"){this.queues=void 0;return}if(e.checked){let t=this.queues??[];t.includes(e.source.value)||(t=[...t,e.source.value]),t.length===this.availableQueueNames.length?(e.source.checked=!1,this.queues=void 0):this.queues=t}else{let t=this.queues?.filter(i=>i!==e.source.value);t?.length?this.queues=t:this.queues=void 0}}handleStatusEvent(e){if(e.source.value==="_all"){this.statuses=void 0;return}if(e.checked){let t=this.statuses??[];t.includes(e.source.value)||(t=[...t,e.source.value]),t.length===this.statusNames.length?(e.source.checked=!1,this.statuses=void 0):this.statuses=t}else{let t=this.statuses?.filter(i=>i!==e.source.value);t?.length?this.statuses=t:this.statuses=void 0}}handlePurgeJobs(){this.stage==="PENDING"&&(this.stage="REQUESTING",this.apollo.mutate({mutation:z,variables:{input:{queues:this.queues,statuses:this.statuses}}}).pipe($(e=>(this.stage="DONE",this.error=e,j)),F(()=>{this.stage="DONE",this.data?.onPurged?.()})).subscribe())}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=b({type:n,selectors:[["app-queue-purge-jobs-dialog"]],standalone:!0,features:[v],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],["mat-stroked-button","","color","warning",3,"click","disabled"],["mat-stroked-button","",3,"click"],["value","_all",3,"change","checked"],[3,"value","checked"],[3,"change","value","checked"]],template:function(t,i){t&1&&x(0,Ce,13,4,"ng-container",0)},dependencies:[q,P,k,M,I,y,V,R,T,H],styles:["mat-dialog-content[_ngcontent-%COMP%]{min-height:240px;overflow:visible}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return n})();function be(n,u){if(n&1){let e=h();D(0),s(1,"mat-card")(2,"mat-card-content")(3,"ul")(4,"li")(5,"a",1),d("click",function(){m(e);let i=a();return _(i.openDialogPurgeJobs())}),c(6),r()(),s(7,"li")(8,"a",1),d("click",function(){m(e);let i=a();return _(i.openDialogEnqueueReprocessTorrentsBatch())}),c(9),r()()()()(),E()}if(n&2){let e=u.$implicit;o(6),p(e("dashboard.queues.purge_queue_jobs")),o(3),p(e("dashboard.queues.enqueue_torrent_processing_batch"))}}var ze=(()=>{class n{constructor(){this.dialog=f(W)}openDialogPurgeJobs(){this.dialog.open(ie)}openDialogEnqueueReprocessTorrentsBatch(){this.dialog.open(ne)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=b({type:n,selectors:[["app-queue-admin"]],standalone:!0,features:[v],decls:1,vars:0,consts:[[4,"transloco"],["mat-button","",3,"click"]],template:function(t,i){t&1&&x(0,be,10,2,"ng-container",0)},dependencies:[q,L,k,K,T],styles:["ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}"]})}}return n})();export{ze as QueueAdminComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-BF5UYWQS.js b/webui/dist/bitmagnet/browser/chunk-BF5UYWQS.js deleted file mode 100644 index 9722bd69..00000000 --- a/webui/dist/bitmagnet/browser/chunk-BF5UYWQS.js +++ /dev/null @@ -1 +0,0 @@ -import{c as H,e as _}from"./chunk-VHNPENGG.js";import{b as y,c as G,f as d,g as s,h as O,i as l,j as T,k as Q,l as L}from"./chunk-ZF4WX6G7.js";import{a as N}from"./chunk-Z6GE3BUT.js";import{Hb as F,Sb as q,a as S,b as C,h as E,pc as I,qa as W,ua as v}from"./chunk-FJILXII2.js";var Yt=(()=>{class r{constructor(){this.themeInfo=W(_),this.transloco=W(N),this.$data=new E,this.width=500,this.height=500}ngOnInit(){this.updateChart(),this.$data.subscribe(e=>{this.data=e,this.updateChart()}),this.themeInfo.info$.subscribe(()=>{this.updateChart()}),this.transloco.langChanges$.subscribe(()=>{this.updateChart()})}updateChart(){this.chartConfig=this.adapter.create(this.data)}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275cmp=v({type:r,selectors:[["app-chart"]],inputs:{$data:"$data",adapter:"adapter",width:"width",height:"height"},standalone:!0,features:[I],decls:1,vars:5,consts:[["baseChart","",3,"data","options","type","height","width"]],template:function(n,a){n&1&&q(0,"canvas",0),n&2&&F("data",a.chartConfig.data)("options",a.chartConfig.options)("type",a.chartConfig.type)("height",a.height)("width",a.width)},dependencies:[H]})}}return r})();function M(r,t){let e=s(r,t?.in);return e.setHours(0,0,0,0),e}function $(r,t,e){let[n,a]=Q(e?.in,r,t),o=M(n),c=M(a),m=+o-T(o),h=+c-T(c);return Math.round((m-h)/G)}function B(r,t){let e=s(r,t?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}function X(r,t){let e=s(r,t?.in);return $(e,B(e))+1}function p(r,t){return l(r,C(S({},t),{weekStartsOn:1}))}function b(r,t){let e=s(r,t?.in),n=e.getFullYear(),a=d(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let o=p(a),c=d(e,0);c.setFullYear(n,0,4),c.setHours(0,0,0,0);let m=p(c);return e.getTime()>=o.getTime()?n+1:e.getTime()>=m.getTime()?n:n-1}function R(r,t){let e=b(r,t),n=d(t?.in||r,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),p(n)}function j(r,t){let e=s(r,t?.in),n=+p(e)-+R(e);return Math.round(n/y)+1}function k(r,t){let e=s(r,t?.in),n=e.getFullYear(),a=O(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,c=d(t?.in||r,0);c.setFullYear(n+1,0,o),c.setHours(0,0,0,0);let m=l(c,t),h=d(t?.in||r,0);h.setFullYear(n,0,o),h.setHours(0,0,0,0);let D=l(h,t);return+e>=+m?n+1:+e>=+D?n:n-1}function V(r,t){let e=O(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,a=k(r,t),o=d(t?.in||r,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),l(o,t)}function Z(r,t){let e=s(r,t?.in),n=+l(e,t)-+V(e,t);return Math.round(n/y)+1}function i(r,t){let e=r<0?"-":"",n=Math.abs(r).toString().padStart(t,"0");return e+n}var g={y(r,t){let e=r.getFullYear(),n=e>0?e:1-e;return i(t==="yy"?n%100:n,t.length)},M(r,t){let e=r.getMonth();return t==="M"?String(e+1):i(e+1,2)},d(r,t){return i(r.getDate(),t.length)},a(r,t){let e=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h(r,t){return i(r.getHours()%12||12,t.length)},H(r,t){return i(r.getHours(),t.length)},m(r,t){return i(r.getMinutes(),t.length)},s(r,t){return i(r.getSeconds(),t.length)},S(r,t){let e=t.length,n=r.getMilliseconds(),a=Math.trunc(n*Math.pow(10,e-3));return i(a,t.length)}};var x={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},P={G:function(r,t,e){let n=r.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return e.era(n,{width:"abbreviated"});case"GGGGG":return e.era(n,{width:"narrow"});case"GGGG":default:return e.era(n,{width:"wide"})}},y:function(r,t,e){if(t==="yo"){let n=r.getFullYear(),a=n>0?n:1-n;return e.ordinalNumber(a,{unit:"year"})}return g.y(r,t)},Y:function(r,t,e,n){let a=k(r,n),o=a>0?a:1-a;if(t==="YY"){let c=o%100;return i(c,2)}return t==="Yo"?e.ordinalNumber(o,{unit:"year"}):i(o,t.length)},R:function(r,t){let e=b(r);return i(e,t.length)},u:function(r,t){let e=r.getFullYear();return i(e,t.length)},Q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return i(n,2);case"Qo":return e.ordinalNumber(n,{unit:"quarter"});case"QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return i(n,2);case"qo":return e.ordinalNumber(n,{unit:"quarter"});case"qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,t,e){let n=r.getMonth();switch(t){case"M":case"MM":return g.M(r,t);case"Mo":return e.ordinalNumber(n+1,{unit:"month"});case"MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(r,t,e){let n=r.getMonth();switch(t){case"L":return String(n+1);case"LL":return i(n+1,2);case"Lo":return e.ordinalNumber(n+1,{unit:"month"});case"LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(r,t,e,n){let a=Z(r,n);return t==="wo"?e.ordinalNumber(a,{unit:"week"}):i(a,t.length)},I:function(r,t,e){let n=j(r);return t==="Io"?e.ordinalNumber(n,{unit:"week"}):i(n,t.length)},d:function(r,t,e){return t==="do"?e.ordinalNumber(r.getDate(),{unit:"date"}):g.d(r,t)},D:function(r,t,e){let n=X(r);return t==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):i(n,t.length)},E:function(r,t,e){let n=r.getDay();switch(t){case"E":case"EE":case"EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(n,{width:"short",context:"formatting"});case"EEEE":default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(r,t,e,n){let a=r.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return i(o,2);case"eo":return e.ordinalNumber(o,{unit:"day"});case"eee":return e.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(a,{width:"short",context:"formatting"});case"eeee":default:return e.day(a,{width:"wide",context:"formatting"})}},c:function(r,t,e,n){let a=r.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return i(o,t.length);case"co":return e.ordinalNumber(o,{unit:"day"});case"ccc":return e.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(a,{width:"narrow",context:"standalone"});case"cccccc":return e.day(a,{width:"short",context:"standalone"});case"cccc":default:return e.day(a,{width:"wide",context:"standalone"})}},i:function(r,t,e){let n=r.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return i(a,t.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(n,{width:"short",context:"formatting"});case"iiii":default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(r,t,e){let a=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(r,t,e){let n=r.getHours(),a;switch(n===12?a=x.noon:n===0?a=x.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(r,t,e){let n=r.getHours(),a;switch(n>=17?a=x.evening:n>=12?a=x.afternoon:n>=4?a=x.morning:a=x.night,t){case"B":case"BB":case"BBB":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(r,t,e){if(t==="ho"){let n=r.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return g.h(r,t)},H:function(r,t,e){return t==="Ho"?e.ordinalNumber(r.getHours(),{unit:"hour"}):g.H(r,t)},K:function(r,t,e){let n=r.getHours()%12;return t==="Ko"?e.ordinalNumber(n,{unit:"hour"}):i(n,t.length)},k:function(r,t,e){let n=r.getHours();return n===0&&(n=24),t==="ko"?e.ordinalNumber(n,{unit:"hour"}):i(n,t.length)},m:function(r,t,e){return t==="mo"?e.ordinalNumber(r.getMinutes(),{unit:"minute"}):g.m(r,t)},s:function(r,t,e){return t==="so"?e.ordinalNumber(r.getSeconds(),{unit:"second"}):g.s(r,t)},S:function(r,t){return g.S(r,t)},X:function(r,t,e){let n=r.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return J(n);case"XXXX":case"XX":return w(n);case"XXXXX":case"XXX":default:return w(n,":")}},x:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"x":return J(n);case"xxxx":case"xx":return w(n);case"xxxxx":case"xxx":default:return w(n,":")}},O:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+A(n,":");case"OOOO":default:return"GMT"+w(n,":")}},z:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+A(n,":");case"zzzz":default:return"GMT"+w(n,":")}},t:function(r,t,e){let n=Math.trunc(+r/1e3);return i(n,t.length)},T:function(r,t,e){return i(+r,t.length)}};function A(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),a=Math.trunc(n/60),o=n%60;return o===0?e+String(a):e+String(a)+t+i(o,2)}function J(r,t){return r%60===0?(r>0?"-":"+")+i(Math.abs(r)/60,2):w(r,t)}function w(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),a=i(Math.trunc(n/60),2),o=i(n%60,2);return e+a+t+o}var K=(r,t)=>{switch(r){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},U=(r,t)=>{switch(r){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},ot=(r,t)=>{let e=r.match(/(P+)(p+)?/)||[],n=e[1],a=e[2];if(!a)return K(r,t);let o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",K(n,t)).replace("{{time}}",U(a,t))},z={p:U,P:ot};var it=/^D+$/,st=/^Y+$/,ct=["D","DD","YY","YYYY"];function tt(r){return it.test(r)}function et(r){return st.test(r)}function rt(r,t,e){let n=ut(r,t,e);if(console.warn(n),ct.includes(r))throw new RangeError(n)}function ut(r,t,e){let n=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${t}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function nt(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function at(r){return!(!nt(r)&&typeof r!="number"||isNaN(+s(r)))}var ft=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,dt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,mt=/^'([^]*?)'?$/,ht=/''/g,lt=/[a-zA-Z]/;function Le(r,t,e){let n=O(),a=e?.locale??n.locale??L,o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,c=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,m=s(r,e?.in);if(!at(m))throw new RangeError("Invalid time value");let h=t.match(dt).map(f=>{let u=f[0];if(u==="p"||u==="P"){let Y=z[u];return Y(f,a.formatLong)}return f}).join("").match(ft).map(f=>{if(f==="''")return{isToken:!1,value:"'"};let u=f[0];if(u==="'")return{isToken:!1,value:gt(f)};if(P[u])return{isToken:!0,value:f};if(u.match(lt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+u+"`");return{isToken:!1,value:f}});a.localize.preprocessor&&(h=a.localize.preprocessor(m,h));let D={firstWeekContainsDate:o,weekStartsOn:c,locale:a};return h.map(f=>{if(!f.isToken)return f.value;let u=f.value;(!e?.useAdditionalWeekYearTokens&&et(u)||!e?.useAdditionalDayOfYearTokens&&tt(u))&&rt(u,t,String(r));let Y=P[u[0]];return Y(m,u,a.localize,D)}).join("")}function gt(r){let t=r.match(mt);return t?t[1].replace(ht,"'"):r}var $e=(r,t)=>`${r}-${t}`;export{Le as a,Yt as b,$e as c}; diff --git a/webui/dist/bitmagnet/browser/chunk-BFXZYWVF.js b/webui/dist/bitmagnet/browser/chunk-BFXZYWVF.js new file mode 100644 index 00000000..572c3770 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-BFXZYWVF.js @@ -0,0 +1 @@ +import{Da as O,V as x,X as _,Xa as A,Ya as L,Za as E,_ as k,_a as y,b as M,wa as P}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import{j as b,l as h,m as C}from"./chunk-CMNWCZJM.js";import{Cb as u,Hb as c,Qb as r,Rb as e,Sb as d,Tb as v,Ub as g,jc as m,kb as t,kc as n,lc as l,pc as f,ua as p}from"./chunk-Z3WUIYN5.js";function I(i,S){if(i&1&&(v(0),r(1,"mat-card",6)(2,"mat-card-header")(3,"mat-toolbar")(4,"nav",7)(5,"h2"),d(6,"mat-icon",8),n(7),e(),r(8,"a",9,0)(10,"mat-icon"),n(11,"monitoring"),e(),n(12),e(),r(13,"a",10,1)(15,"mat-icon"),n(16,"toc"),e(),n(17),e(),r(18,"a",11,2)(20,"mat-icon"),n(21,"construction"),e(),n(22),e()(),d(23,"mat-tab-nav-panel",null,3),e()(),r(25,"mat-card-content"),d(26,"router-outlet",null,4),e()(),g()),i&2){let a=S.$implicit,o=m(9),s=m(14),T=m(19),D=m(24);t(4),c("tabPanel",D),t(3),l(a("routes.queues")),t(),c("active",o.isActive),t(4),l(a("routes.visualize")),t(),c("active",s.isActive),t(4),l(a("routes.jobs")),t(),c("active",T.isActive),t(4),l(a("routes.admin"))}}var N=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=p({type:i,selectors:[["app-queue-dashboard"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["linkVisualize","routerLinkActive"],["linkJobs","routerLinkActive"],["linkAdmin","routerLinkActive"],["tabPanel",""],["outlet",""],[4,"transloco"],[1,"dashboard-card"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["svgIcon","queue"],["mat-tab-link","","routerLink","visualize","routerLinkActive","",3,"active"],["mat-tab-link","","routerLink","jobs","routerLinkActive","",3,"active"],["mat-tab-link","","routerLink","admin","routerLinkActive","",3,"active"]],template:function(o,s){o&1&&u(0,I,28,8,"ng-container",5)},dependencies:[y,x,_,k,P,A,E,L,O,b,h,C,M],styles:["mat-card-header[_ngcontent-%COMP%]{flex-wrap:wrap}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;margin:0 60px 0 48px;height:48px;line-height:48px}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:6px;margin-right:14px;line-height:1.25rem}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{flex:0 0 100%}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:2px}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}"]})}}return i})();export{N as QueueDashboardComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-BYSPLPNN.js b/webui/dist/bitmagnet/browser/chunk-BYSPLPNN.js new file mode 100644 index 00000000..4dd503bb --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-BYSPLPNN.js @@ -0,0 +1 @@ +import{c as U,e as ut}from"./chunk-Y7K23DTG.js";import{a as D,b as it,e as f,f as s,g as x,h as l,i as _,j as st,k as ct}from"./chunk-42PJPEMD.js";import{a as ot}from"./chunk-P4IGP6ZM.js";import{Ea as at,V as z,W as tt,X as et,_ as rt,a as J,b as K,wa as nt}from"./chunk-HZYDZMJ4.js";import{$b as v,Cb as $,Ea as G,Fa as Q,Hb as W,Kb as P,Qb as S,Rb as k,Sb as B,Tb as X,Ub as R,Wb as V,Zb as j,a as I,b as N,h as H,kb as y,kc as E,mc as Z,pc as A,qa as b,ua as L}from"./chunk-Z3WUIYN5.js";function Tt(r,t){if(r&1){let e=V();X(0),S(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title")(4,"h4")(5,"mat-icon",1),j("click",function(){G(e);let a=v();return Q(a.toggleLegend())}),E(6,"legend_toggle"),k(),E(7),k()()(),S(8,"mat-card-content")(9,"div"),B(10,"canvas",2),k()()(),R()}if(r&2){let e=t.$implicit,n=v();y(5),P("icon-toggle-legend "+(n.legend?"icon-toggle-legend-active":"")),W("matTooltip",e("dashboard.metrics.toggle_legend")),y(2),Z("",n.title," "),y(2),P(n.breakpoints.sizeAtLeast("Large")?"app-chart":"app-chart-small"),y(),W("data",n.chartConfig.data)("options",n.chartConfig.options)("type",n.chartConfig.type)("height",n.height)("width",n.width)}}var Kt=(()=>{class r{constructor(){this.themeInfo=b(ut),this.transloco=b(J),this.breakpoints=b(ot),this.$data=new H,this.width=500,this.height=500,this.legend=!0}ngOnInit(){this.updateChart(),this.$data.subscribe(e=>{this.data=e,this.updateChart()}),this.themeInfo.info$.subscribe(()=>{this.updateChart()}),this.transloco.langChanges$.subscribe(()=>{this.updateChart()})}toggleLegend(){this.legend=!this.legend,this.updateChart()}updateChart(){this.chartConfig=this.adapter.create(this.data,{legend:this.legend})}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275cmp=L({type:r,selectors:[["app-chart"]],inputs:{title:"title",$data:"$data",adapter:"adapter",width:"width",height:"height"},standalone:!0,features:[A],decls:1,vars:0,consts:[[4,"transloco"],[3,"click","matTooltip"],["baseChart","",3,"data","options","type","height","width"]],template:function(n,a){n&1&&$(0,Tt,11,11,"ng-container",0)},dependencies:[U,z,et,rt,tt,K,nt,at],styles:[".icon-toggle-legend[_ngcontent-%COMP%]{cursor:pointer;position:relative;top:4px;margin-right:8px;opacity:.6}.icon-toggle-legend.icon-toggle-legend-active[_ngcontent-%COMP%]{opacity:1}.app-chart[_ngcontent-%COMP%]{position:relative}.app-chart-small[_ngcontent-%COMP%]{position:relative;width:calc(40vw + 100px)}"]})}}return r})();function F(r,t){let e=s(r,t?.in);return e.setHours(0,0,0,0),e}function dt(r,t,e){let[n,a]=st(e?.in,r,t),o=F(n),c=F(a),m=+o-_(o),h=+c-_(c);return Math.round((m-h)/it)}function ft(r,t){let e=s(r,t?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}function mt(r,t){let e=s(r,t?.in);return dt(e,ft(e))+1}function p(r,t){return l(r,N(I({},t),{weekStartsOn:1}))}function Y(r,t){let e=s(r,t?.in),n=e.getFullYear(),a=f(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let o=p(a),c=f(e,0);c.setFullYear(n,0,4),c.setHours(0,0,0,0);let m=p(c);return e.getTime()>=o.getTime()?n+1:e.getTime()>=m.getTime()?n:n-1}function ht(r,t){let e=Y(r,t),n=f(t?.in||r,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),p(n)}function lt(r,t){let e=s(r,t?.in),n=+p(e)-+ht(e);return Math.round(n/D)+1}function M(r,t){let e=s(r,t?.in),n=e.getFullYear(),a=x(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,c=f(t?.in||r,0);c.setFullYear(n+1,0,o),c.setHours(0,0,0,0);let m=l(c,t),h=f(t?.in||r,0);h.setFullYear(n,0,o),h.setHours(0,0,0,0);let C=l(h,t);return+e>=+m?n+1:+e>=+C?n:n-1}function gt(r,t){let e=x(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,a=M(r,t),o=f(t?.in||r,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),l(o,t)}function pt(r,t){let e=s(r,t?.in),n=+l(e,t)-+gt(e,t);return Math.round(n/D)+1}function i(r,t){let e=r<0?"-":"",n=Math.abs(r).toString().padStart(t,"0");return e+n}var g={y(r,t){let e=r.getFullYear(),n=e>0?e:1-e;return i(t==="yy"?n%100:n,t.length)},M(r,t){let e=r.getMonth();return t==="M"?String(e+1):i(e+1,2)},d(r,t){return i(r.getDate(),t.length)},a(r,t){let e=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h(r,t){return i(r.getHours()%12||12,t.length)},H(r,t){return i(r.getHours(),t.length)},m(r,t){return i(r.getMinutes(),t.length)},s(r,t){return i(r.getSeconds(),t.length)},S(r,t){let e=t.length,n=r.getMilliseconds(),a=Math.trunc(n*Math.pow(10,e-3));return i(a,t.length)}};var O={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},q={G:function(r,t,e){let n=r.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return e.era(n,{width:"abbreviated"});case"GGGGG":return e.era(n,{width:"narrow"});case"GGGG":default:return e.era(n,{width:"wide"})}},y:function(r,t,e){if(t==="yo"){let n=r.getFullYear(),a=n>0?n:1-n;return e.ordinalNumber(a,{unit:"year"})}return g.y(r,t)},Y:function(r,t,e,n){let a=M(r,n),o=a>0?a:1-a;if(t==="YY"){let c=o%100;return i(c,2)}return t==="Yo"?e.ordinalNumber(o,{unit:"year"}):i(o,t.length)},R:function(r,t){let e=Y(r);return i(e,t.length)},u:function(r,t){let e=r.getFullYear();return i(e,t.length)},Q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return i(n,2);case"Qo":return e.ordinalNumber(n,{unit:"quarter"});case"QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return i(n,2);case"qo":return e.ordinalNumber(n,{unit:"quarter"});case"qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,t,e){let n=r.getMonth();switch(t){case"M":case"MM":return g.M(r,t);case"Mo":return e.ordinalNumber(n+1,{unit:"month"});case"MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(r,t,e){let n=r.getMonth();switch(t){case"L":return String(n+1);case"LL":return i(n+1,2);case"Lo":return e.ordinalNumber(n+1,{unit:"month"});case"LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(r,t,e,n){let a=pt(r,n);return t==="wo"?e.ordinalNumber(a,{unit:"week"}):i(a,t.length)},I:function(r,t,e){let n=lt(r);return t==="Io"?e.ordinalNumber(n,{unit:"week"}):i(n,t.length)},d:function(r,t,e){return t==="do"?e.ordinalNumber(r.getDate(),{unit:"date"}):g.d(r,t)},D:function(r,t,e){let n=mt(r);return t==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):i(n,t.length)},E:function(r,t,e){let n=r.getDay();switch(t){case"E":case"EE":case"EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(n,{width:"short",context:"formatting"});case"EEEE":default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(r,t,e,n){let a=r.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return i(o,2);case"eo":return e.ordinalNumber(o,{unit:"day"});case"eee":return e.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(a,{width:"short",context:"formatting"});case"eeee":default:return e.day(a,{width:"wide",context:"formatting"})}},c:function(r,t,e,n){let a=r.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return i(o,t.length);case"co":return e.ordinalNumber(o,{unit:"day"});case"ccc":return e.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(a,{width:"narrow",context:"standalone"});case"cccccc":return e.day(a,{width:"short",context:"standalone"});case"cccc":default:return e.day(a,{width:"wide",context:"standalone"})}},i:function(r,t,e){let n=r.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return i(a,t.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(n,{width:"short",context:"formatting"});case"iiii":default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(r,t,e){let a=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(r,t,e){let n=r.getHours(),a;switch(n===12?a=O.noon:n===0?a=O.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(r,t,e){let n=r.getHours(),a;switch(n>=17?a=O.evening:n>=12?a=O.afternoon:n>=4?a=O.morning:a=O.night,t){case"B":case"BB":case"BBB":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(r,t,e){if(t==="ho"){let n=r.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return g.h(r,t)},H:function(r,t,e){return t==="Ho"?e.ordinalNumber(r.getHours(),{unit:"hour"}):g.H(r,t)},K:function(r,t,e){let n=r.getHours()%12;return t==="Ko"?e.ordinalNumber(n,{unit:"hour"}):i(n,t.length)},k:function(r,t,e){let n=r.getHours();return n===0&&(n=24),t==="ko"?e.ordinalNumber(n,{unit:"hour"}):i(n,t.length)},m:function(r,t,e){return t==="mo"?e.ordinalNumber(r.getMinutes(),{unit:"minute"}):g.m(r,t)},s:function(r,t,e){return t==="so"?e.ordinalNumber(r.getSeconds(),{unit:"second"}):g.s(r,t)},S:function(r,t){return g.S(r,t)},X:function(r,t,e){let n=r.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return xt(n);case"XXXX":case"XX":return w(n);case"XXXXX":case"XXX":default:return w(n,":")}},x:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"x":return xt(n);case"xxxx":case"xx":return w(n);case"xxxxx":case"xxx":default:return w(n,":")}},O:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+wt(n,":");case"OOOO":default:return"GMT"+w(n,":")}},z:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+wt(n,":");case"zzzz":default:return"GMT"+w(n,":")}},t:function(r,t,e){let n=Math.trunc(+r/1e3);return i(n,t.length)},T:function(r,t,e){return i(+r,t.length)}};function wt(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),a=Math.trunc(n/60),o=n%60;return o===0?e+String(a):e+String(a)+t+i(o,2)}function xt(r,t){return r%60===0?(r>0?"-":"+")+i(Math.abs(r)/60,2):w(r,t)}function w(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),a=i(Math.trunc(n/60),2),o=i(n%60,2);return e+a+t+o}var Ot=(r,t)=>{switch(r){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},yt=(r,t)=>{switch(r){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Wt=(r,t)=>{let e=r.match(/(P+)(p+)?/)||[],n=e[1],a=e[2];if(!a)return Ot(r,t);let o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",Ot(n,t)).replace("{{time}}",yt(a,t))},bt={p:yt,P:Wt};var Pt=/^D+$/,St=/^Y+$/,vt=["D","DD","YY","YYYY"];function kt(r){return Pt.test(r)}function Dt(r){return St.test(r)}function Yt(r,t,e){let n=Et(r,t,e);if(console.warn(n),vt.includes(r))throw new RangeError(n)}function Et(r,t,e){let n=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${t}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function Mt(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function Ct(r){return!(!Mt(r)&&typeof r!="number"||isNaN(+s(r)))}var _t=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ft=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qt=/^'([^]*?)'?$/,It=/''/g,Nt=/[a-zA-Z]/;function hr(r,t,e){let n=x(),a=e?.locale??n.locale??ct,o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,c=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,m=s(r,e?.in);if(!Ct(m))throw new RangeError("Invalid time value");let h=t.match(Ft).map(d=>{let u=d[0];if(u==="p"||u==="P"){let T=bt[u];return T(d,a.formatLong)}return d}).join("").match(_t).map(d=>{if(d==="''")return{isToken:!1,value:"'"};let u=d[0];if(u==="'")return{isToken:!1,value:Ht(d)};if(q[u])return{isToken:!0,value:d};if(u.match(Nt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+u+"`");return{isToken:!1,value:d}});a.localize.preprocessor&&(h=a.localize.preprocessor(m,h));let C={firstWeekContainsDate:o,weekStartsOn:c,locale:a};return h.map(d=>{if(!d.isToken)return d.value;let u=d.value;(!e?.useAdditionalWeekYearTokens&&Dt(u)||!e?.useAdditionalDayOfYearTokens&&kt(u))&&Yt(u,t,String(r));let T=q[u[0]];return T(m,u,a.localize,C)}).join("")}function Ht(r){let t=r.match(qt);return t?t[1].replace(It,"'"):r}var gr=(r,t)=>`${r}-${t}`;export{hr as a,Kt as b,gr as c}; diff --git a/webui/dist/bitmagnet/browser/chunk-CCCAKKZT.js b/webui/dist/bitmagnet/browser/chunk-CCCAKKZT.js deleted file mode 100644 index bd90a73e..00000000 --- a/webui/dist/bitmagnet/browser/chunk-CCCAKKZT.js +++ /dev/null @@ -1 +0,0 @@ -import{a as Ne,b as Ae,c as j}from"./chunk-BF5UYWQS.js";import{e as je}from"./chunk-VHNPENGG.js";import{a as Me,m as De}from"./chunk-ZF4WX6G7.js";import{a as Ie}from"./chunk-3AJEMLV6.js";import{G as ve,J as ke,M as Te,P as J,Q as Se,R as K,U as Q,Ua as q,a as be,b as G,i as ge,n as Ce,na as ye,oa as we,qa as Y,r as xe,ra as Oe,va as Ee,xa as Pe,ya as Be,za as Ve}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{$b as p,$c as he,B as ue,Cb as F,Ea as _,Fa as f,Hb as l,Kb as N,N as pe,Nb as D,Ob as E,Pb as P,Q as te,Qb as i,Rb as c,Sb as B,Tb as z,Ub as H,Wb as re,Zb as h,a as v,b as k,ka as de,kb as a,kc as u,l as I,lc as T,mc as _e,o as me,pc as U,qa as O,qc as fe,ua as L,uc as ne,vc as ie}from"./chunk-FJILXII2.js";var R=(n,s)=>{let{bucketParams:e,earliestBucket:r}=Ye(n,s),t=Object.entries(s.torrent.metrics.buckets.reduce((b,x)=>{if(x.source!==(n.source??x.source))return b;let C=y(x.bucket,e);if(r&&r.index>C.index&&(C=void 0),!C)return b;let d=b[x.source]??[];return k(v({},b),{[x.source]:{created:x.updated?d.created:k(v({},d.created),{[C.key]:{count:x.count+(d.created?.[C.key]?.count??0),startTime:C.start}}),updated:x.updated?k(v({},d.updated),{[C.key]:{count:x.count+(d.updated?.[C.key]?.count??0),startTime:C.start}}):d.updated}})},{})).map(([b,x])=>{let C;if(Object.keys(x).length){let d=Array(),M=Re(Array("created","updated").flatMap(S=>{let A=Re(Object.entries(x[S]??{}).filter(([,ee])=>ee?.count).sort(([ee],[Qe])=>parseInt(ee)b.events?[b.events.earliestBucket]:[]).sort()[0],o=t.flatMap(b=>b.events?[b.events.latestBucket]:[]).sort().reverse()[0];return g&&o&&(m={earliestBucket:g,latestBucket:o}),{params:k(v({},n),{buckets:e}),sourceSummaries:t,bucketSpan:m,availableSources:s.torrent.listSources.sources.map(b=>({key:b.key,name:b.name}))}},Re=n=>Object.fromEntries(n),Ye=(n,s)=>{let e=n.buckets.duration==="AUTO"?"hour":n.buckets.duration,r=n.buckets.multiplier==="AUTO"?1:n.buckets.multiplier,t=n.buckets.timeframe,m=new Date,g=y(m,{duration:e,multiplier:r}),o=y(m.getTime()-1e3*V[t],{duration:e,multiplier:r}),b=[o,...s.torrent.metrics.buckets.flatMap(d=>[y(d.bucket,{duration:e,multiplier:r})]),g].filter(d=>d.index>=o.index).sort((d,M)=>d.index-M.index),x=b[0],C=b[b.length-1];if(n.buckets.multiplier==="AUTO"){let M=C.index-x.index;r=Math.min(60,Math.max(Math.floor(M/(20*5))*5,1))}return{bucketParams:{duration:e,multiplier:r,timeframe:t},earliestBucket:y(m.getTime()-1e3*V[t],{duration:e,multiplier:r}),latestBucket:y(Math.max(m.getTime(),C.start.getTime()),{duration:e,multiplier:r})}},y=(n,s)=>{let e=new Date(n),r=1e3*W[s.duration]*s.multiplier,t=Math.floor(e.getTime()/r);return{key:`${t}`,index:t,start:new Date(t*r)}};var oe={duration:"minute",multiplier:1,timeframe:"hours_1"},$e=["day","hour","minute"],W={minute:60,hour:60*60,day:60*60*24},ae={buckets:oe,autoRefresh:"off"},se={torrent:{metrics:{buckets:[]},listSources:{sources:[{key:"dht",name:"DHT"}]}}},X=["created","updated"],Le=["minutes_15","minutes_30","hours_1","hours_6","hours_12","days_1","weeks_1"],V={minutes_15:60*15,minutes_30:60*30,hours_1:60*60,hours_6:60*60*6,hours_12:60*60*12,days_1:60*60*24,weeks_1:60*60*24*7},Fe=["off","seconds_10","seconds_30","minutes_1","minutes_5"],ze={off:null,seconds_10:10,seconds_30:30,minutes_1:60,minutes_5:60*5},He=R(ae,se);var Z=class{constructor(s,e=ae,r){this.apollo=s,this.errorsService=r,this.rawResultSubject=new I(se),this.resultSubject=new I(He),this.result$=this.resultSubject.asObservable(),this.loadingSubject=new I(!1),this.paramsSubject=new I(e),this.params$=this.paramsSubject.asObservable(),this.variablesSubject=new I(Ue(e)),this.paramsSubject.pipe(te(50)).subscribe(t=>{let m=this.variablesSubject.getValue(),g=Ue(t);JSON.stringify(m)!==JSON.stringify(g)?this.variablesSubject.next(g):this.resultSubject.next(R(t,this.rawResultSubject.getValue()))}),this.variablesSubject.pipe(te(50)).subscribe(t=>this.request(t)),this.rawResultSubject.subscribe(t=>{let m=this.paramsSubject.getValue();this.resultSubject.next(R(m,t)),this.setInterval(m.autoRefresh)})}setInterval(s){clearTimeout(this.refreshTimeout);let e=ze[s??this.params.autoRefresh];e&&(this.refreshTimeout=setTimeout(()=>{this.refresh()},e*1e3))}get params(){return this.paramsSubject.getValue()}get bucketDuration(){let s=this.params.buckets.duration;return s==="AUTO"?"hour":s}get bucketMultiplier(){return this.resultSubject.getValue().params.buckets.multiplier??this.params.buckets.multiplier}get loading(){return this.loadingSubject.getValue()}setTimeframe(s){this.updateParams(e=>k(v({},e),{buckets:k(v({},e.buckets),{timeframe:s})}))}setSource(s){this.updateParams(e=>k(v({},e),{source:s??void 0}))}setBucketDuration(s,e){this.updateParams(r=>k(v({},r),{buckets:k(v({},r.buckets),{duration:s,multiplier:e??"AUTO"})}))}setBucketMultiplier(s){this.updateParams(e=>k(v({},e),{buckets:k(v({},e.buckets),{multiplier:s})}))}setEvent(s){this.updateParams(e=>k(v({},e),{event:s??void 0}))}setAutoRefreshInterval(s){this.updateParams(e=>k(v({},e),{autoRefresh:s}))}updateParams(s){this.paramsSubject.next(s(this.params))}refresh(){this.variablesSubject.next(this.variablesSubject.getValue())}request(s){return clearTimeout(this.refreshTimeout),this.loadingSubject.next(!0),this.apollo.query({query:ve,variables:s,fetchPolicy:"no-cache"}).pipe(ue(e=>{e&&(this.loadingSubject.next(!1),this.rawResultSubject.next(e.data))})).pipe(pe(e=>(this.errorsService.addError(`Failed to load torrent metrics: ${e.message}`),this.loadingSubject.next(!1),this.setInterval(),me))).subscribe()}},Ue=n=>({input:{bucketDuration:n.buckets.duration==="AUTO"?"hour":n.buckets.duration,sources:n.source?[n.source]:void 0,startTime:new Date(new Date().getTime()-1e3*V[n.buckets.timeframe]).toISOString()}});var $={created:"primary",updated:"secondary"},Je=(()=>{class n{constructor(){this.themeInfo=O(je),this.transloco=O(be)}create(e){let{colors:r}=this.themeInfo.info,t=Array(),m=[];if(e){let g=e.sourceSummaries.filter(d=>!d.isEmpty),o=Array.from(new Set(g.flatMap(d=>d.events?[d.events.earliestBucket,d.events.latestBucket]:[]))).sort(),b=new Date,x=Math.min(o[0],y(b.getTime()-1e3*V[e.params.buckets.timeframe],e.params.buckets).index),C=Math.max(o[o.length-1],y(b,e.params.buckets).index);if(o.length){for(let M=x;M<=C;M++)t.push(this.formatBucketKey(e.params.buckets,M));let d=X.filter(M=>(e.params.event??M)===M);for(let M of g)for(let S of d){let A=Array();for(let w=x;w<=C;w++)A.push(M.events?.eventBuckets?.[S]?.entries?.[`${w}`]?.count??0);m.push({yAxisID:"yCount",label:[M.source,S].join("/"),data:A,borderColor:r[j($[S],50)],pointBackgroundColor:r[j($[S],20)],pointBorderColor:r[j($[S],80)],pointHoverBackgroundColor:r[j($[S],40)],pointHoverBorderColor:r[j($[S],60)]})}}}return{type:"line",options:{animation:!1,elements:{line:{tension:.5}},scales:{yCount:{position:"left",ticks:{callback:g=>parseInt(g).toLocaleString(this.transloco.getActiveLang())}}},plugins:{legend:{display:!0},decimation:{enabled:!0}}},data:{labels:t,datasets:m}}}formatBucketKey(e,r){let t;switch(e.duration){case"day":t="d LLL";break;case"hour":t="d LLL H:00";break;case"minute":t="H:mm";break}return Ne(1e3*W[e.duration]*e.multiplier*r,t,{locale:De(this.transloco.getActiveLang())})}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=de({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Ze=(n,s)=>s.key,et=()=>["dht"];function tt(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e))}}function rt(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e+"s"))}}function nt(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit;l("value",e.key),a(),T(e.name)}}function it(n,s){if(n&1){let e=re();i(0,"button",16),h("click",function(){let t=_(e).$implicit,m=p(2);return f(m.torrentMetricsController.params.source===t||m.torrentMetricsController.setSource(t))}),i(1,"mat-icon"),u(2),c()()}if(n&2){let e=s.$implicit,r=p(2);N(r.torrentMetricsController.params.source===e?"selected":"deselected"),l("matTooltip",e),a(2),T(r.torrentMetricsController.params.source===e?"radio_button_checked":"radio_button_unchecked")}}function ot(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.event."+e))}}function at(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e))}}function st(n,s){if(n&1){let e=re();z(0),i(1,"mat-card")(2,"mat-card-content")(3,"mat-grid-list",1)(4,"mat-grid-tile",2)(5,"mat-card",3)(6,"mat-card-header")(7,"mat-card-title")(8,"h4"),u(9),c()()(),i(10,"mat-card-content")(11,"mat-form-field",4)(12,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setTimeframe(t))}),E(13,tt,2,2,"mat-option",6,D),c()(),i(15,"div",7)(16,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[0]))}),i(17,"mat-icon"),u(18,"first_page"),c()(),i(19,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.torrentMetricsController.params.buckets.timeframe)-1]))}),i(20,"mat-icon"),u(21,"navigate_before"),c()(),i(22,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.torrentMetricsController.params.buckets.timeframe)+1]))}),i(23,"mat-icon"),u(24,"navigate_next"),c()(),i(25,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.length-1]))}),i(26,"mat-icon"),u(27,"last_page"),c()()()()()(),i(28,"mat-grid-tile",2)(29,"mat-card",9)(30,"mat-card-header")(31,"mat-card-title")(32,"h4"),u(33),c()()(),i(34,"mat-card-content")(35,"mat-form-field",10)(36,"input",11),ne(37,"async"),h("change",function(t){_(e);let m=p();return f(m.handleMultiplierEvent(t))}),c()(),i(38,"mat-form-field",12)(39,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setBucketDuration(t))}),E(40,rt,2,2,"mat-option",6,D),c()(),i(42,"div",7)(43,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketMultiplier(t.torrentMetricsController.bucketMultiplier-1))}),i(44,"mat-icon"),u(45,"remove"),c()(),i(46,"button",13),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketMultiplier(t.torrentMetricsController.bucketMultiplier+1))}),i(47,"mat-icon"),u(48,"add"),c()(),i(49,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[0]))}),i(50,"mat-icon"),u(51,"first_page"),c()(),i(52,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.torrentMetricsController.bucketDuration)-1]))}),i(53,"mat-icon"),u(54,"navigate_before"),c()(),i(55,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.torrentMetricsController.bucketDuration)+1]))}),i(56,"mat-icon"),u(57,"navigate_next"),c()(),i(58,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.length-1]))}),i(59,"mat-icon"),u(60,"last_page"),c()()()()()(),i(61,"mat-grid-tile",2)(62,"mat-card")(63,"mat-card-header")(64,"mat-card-title")(65,"h4"),u(66),c()()(),i(67,"mat-card-content")(68,"mat-form-field",4)(69,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setSource(t==="_all"?null:t))}),i(70,"mat-option",14),u(71,"All"),c(),E(72,nt,2,2,"mat-option",6,Ze),ne(74,"async"),c()(),i(75,"div",15)(76,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setSource(null))}),i(77,"mat-icon",17),u(78,"workspaces"),c()(),E(79,it,3,4,"button",18,D),c()()()(),i(81,"mat-grid-tile",2)(82,"mat-card")(83,"mat-card-header")(84,"mat-card-title")(85,"h4"),u(86),c()()(),i(87,"mat-card-content")(88,"mat-form-field",4)(89,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setEvent(t==="_all"?null:t))}),i(90,"mat-option",14),u(91,"All"),c(),E(92,ot,2,2,"mat-option",6,D),c()(),i(94,"div",15)(95,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setEvent(null))}),i(96,"mat-icon",17),u(97,"radio_button_checked"),c()(),i(98,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.params.event==="created"||t.torrentMetricsController.setEvent("created"))}),i(99,"mat-icon"),u(100,"add_circle"),c()(),i(101,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.params.event==="updated"||t.torrentMetricsController.setEvent("updated"))}),i(102,"mat-icon"),u(103,"check_circle"),c()()()()()(),i(104,"mat-grid-tile",2)(105,"mat-card",19)(106,"mat-card-header")(107,"mat-card-title")(108,"h4"),u(109),c()()(),i(110,"mat-card-content")(111,"mat-form-field",4)(112,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setAutoRefreshInterval(t))}),E(113,at,2,2,"mat-option",6,D),c()(),i(115,"div",15)(116,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.refresh())}),i(117,"mat-icon"),u(118,"sync"),c()()()()()()(),i(119,"div",20),B(120,"mat-progress-bar",21),c(),i(121,"mat-grid-list",1)(122,"mat-grid-tile",2)(123,"mat-card")(124,"mat-card-header")(125,"mat-card-title")(126,"h4"),u(127),c()()(),i(128,"mat-card-content"),B(129,"app-chart",22),c()()(),B(130,"mat-grid-tile",2),c()()(),H()}if(n&2){let e,r,t,m,g=s.$implicit,o=p();a(3),l("cols",o.breakpoints.sizeAtLeast("Large")?5:o.breakpoints.sizeAtLeast("Medium")?3:o.breakpoints.sizeAtLeast("Small")?2:1),a(),l("colspan",1)("rowspan",2),a(5),T(g("dashboard.metrics.timeframe")),a(3),l("value",o.torrentMetricsController.params.buckets.timeframe),a(),P(o.timeframeNames),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)<=0),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)<=0),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)>=o.timeframeNames.length-1),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)>=o.timeframeNames.length-1),a(3),l("colspan",1)("rowspan",2),a(5),_e(" ",g("dashboard.metrics.resolution")," "),a(3),l("placeholder",(e=(e=ie(37,57,o.torrentMetricsController.result$))==null||e.params==null||e.params.buckets==null||e.params.buckets.multiplier==null?null:e.params.buckets.multiplier.toString())!==null&&e!==void 0?e:"")("value",o.torrentMetricsController.params.buckets.multiplier),a(3),l("value",o.torrentMetricsController.bucketDuration),a(),P(o.resolutionNames),a(3),l("disabled",o.torrentMetricsController.bucketMultiplier===1),a(6),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)<=0),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)<=0),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)>=o.resolutionNames.length-1),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)>=o.resolutionNames.length-1),a(3),l("colspan",1)("rowspan",2),a(5),T(g("torrents.source")),a(3),l("value",(r=o.torrentMetricsController.params.source)!==null&&r!==void 0?r:"_all"),a(3),P((t=ie(74,59,o.torrentMetricsController.result$))==null?null:t.availableSources),a(4),N(o.torrentMetricsController.params.source?"deselected":"selected"),l("matTooltip","all"),a(3),P(fe(61,et)),a(2),l("colspan",1)("rowspan",2),a(5),T(g("dashboard.metrics.event")),a(3),l("value",(m=o.torrentMetricsController.params.event)!==null&&m!==void 0?m:"_all"),a(3),P(o.eventNames),a(3),N(o.torrentMetricsController.params.event?"deselected":"selected"),l("matTooltip","all"),a(3),N(o.torrentMetricsController.params.event==="created"?"selected":"deselected"),l("matTooltip","created"),a(3),N(o.torrentMetricsController.params.event==="updated"?"selected":"deselected"),l("matTooltip","updated"),a(3),l("colspan",1)("rowspan",2),a(5),T(g("general.refresh")),a(3),l("value",o.torrentMetricsController.params.autoRefresh),a(),P(o.autoRefreshIntervalNames),a(3),l("matTooltip","Refresh"),a(4),l("mode",o.torrentMetricsController.loading?"indeterminate":"determinate")("value",0),a(),l("cols",o.breakpoints.sizeAtLeast("Large")?2:1),a(),l("colspan",1)("rowspan",6),a(5),T(g("dashboard.metrics.throughput")),a(2),l("adapter",o.timeline)("$data",o.torrentMetricsController.result$)("height",400)("width",550),a(),l("colspan",1)("rowspan",5)}}var Ke=(()=>{class n{constructor(){this.breakpoints=O(Ie),this.apollo=O(ge),this.torrentMetricsController=new Z(this.apollo,{buckets:oe,autoRefresh:"seconds_30"},O(Me)),this.timeline=O(Je),this.resolutionNames=$e,this.timeframeNames=Le,this.autoRefreshIntervalNames=Fe,this.eventNames=X}ngOnDestroy(){this.torrentMetricsController.setAutoRefreshInterval("off")}handleMultiplierEvent(e){let r=e.currentTarget.value;this.torrentMetricsController.setBucketMultiplier(/^\d+$/.test(r)?parseInt(r):"AUTO")}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=L({type:n,selectors:[["app-torrent-metrics"]],standalone:!0,features:[U],decls:1,vars:0,consts:[[4,"transloco"],["rowHeight","100px",3,"cols"],[3,"colspan","rowspan"],[1,"form-timeframe"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],[1,"paginator","actions"],["mat-icon-button","",3,"click","disabled"],[1,"form-resolution"],["subscriptSizing","dynamic",1,"form-input-multiplier"],["type","number","matInput","","min","1","step","1",3,"change","placeholder","value"],["subscriptSizing","dynamic",1,"form-select-duration"],["mat-icon-button","",3,"click"],["value","_all"],[1,"actions"],["mat-icon-button","",3,"click","matTooltip"],["fontSet","material-icons"],["mat-icon-button","",3,"class","matTooltip"],[1,"form-refresh"],[1,"progress-bar-container"],[3,"mode","value"],[3,"adapter","$data","height","width"]],template:function(r,t){r&1&&F(0,st,131,62,"ng-container",0)},dependencies:[q,Ce,xe,J,K,Q,Se,Te,we,ye,Y,Oe,Ee,Ve,Be,G,he,Ae,ke],styles:[".actions[_ngcontent-%COMP%]{width:210px;padding-top:12px;--mdc-icon-button-state-layer-size: 32px}.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:22px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:0}.progress-bar-container[_ngcontent-%COMP%]{width:100%;height:10px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{min-width:190px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:16px;font-size:18px}mat-form-field[_ngcontent-%COMP%]{width:186px}.form-resolution[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:-2px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%]{width:60px;margin-right:10px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-resolution[_ngcontent-%COMP%] .form-select-duration[_ngcontent-%COMP%]{width:116px}"]})}}return n})();function ct(n,s){if(n&1&&(z(0),i(1,"mat-card",1)(2,"mat-card-header")(3,"mat-toolbar")(4,"h2"),B(5,"mat-icon",2),u(6),c()()(),i(7,"mat-card-content"),B(8,"app-torrent-metrics"),c()(),H()),n&2){let e=s.$implicit;a(6),T(e("routes.torrents"))}}var tr=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=L({type:n,selectors:[["app-torrents"]],standalone:!0,features:[U],decls:1,vars:0,consts:[[4,"transloco"],[1,"dashboard-card"],["svgIcon","magnet"]],template:function(r,t){r&1&&F(0,ct,9,1,"ng-container",0)},dependencies:[q,J,K,Q,Y,Pe,G,Ke],styles:["mat-card-header[_ngcontent-%COMP%]{flex-wrap:wrap}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;margin:0 60px 0 48px;height:48px;line-height:48px}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:6px;margin-right:14px;line-height:1.25rem}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{flex:0 0 100%}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:2px}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}"]})}}return n})();export{tr as TorrentsDashboardComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-ZBBMS7J5.js b/webui/dist/bitmagnet/browser/chunk-CMNWCZJM.js similarity index 98% rename from webui/dist/bitmagnet/browser/chunk-ZBBMS7J5.js rename to webui/dist/bitmagnet/browser/chunk-CMNWCZJM.js index bfe3d057..374d9a1d 100644 --- a/webui/dist/bitmagnet/browser/chunk-ZBBMS7J5.js +++ b/webui/dist/bitmagnet/browser/chunk-CMNWCZJM.js @@ -1,2 +1,2 @@ -import{$ as Cr,$a as Lr,A as Rr,Aa as le,Ab as Wr,Ac as ti,B as S,Ba as F,Bb as yn,Bc as wn,C as mt,Cc as Tt,D as U,Da as Rt,Dc as bt,E as Le,Ec as Ct,F as Sr,Fb as Hr,G as on,Gb as Xr,Gc as Et,Ia as hn,Ic as ni,Ja as Pr,Jc as It,Ka as dn,L as H,Ma as _e,N as me,Na as ye,Oa as q,Oc as ri,P as ee,Pa as fn,Pc as Rn,Qa as pn,Qc as ii,R as an,Rc as si,S as ve,Sa as Nr,Sb as Jr,Sc as x,T as Tr,Ta as gn,Tc as oi,Ua as xr,Uc as $e,Va as he,Vc as ai,W as ue,Wc as ci,X as te,Xa as mn,Xc as ze,Y as cn,Ya as we,Yc as Mt,Z as br,Za as Re,Zb as Zr,_a as Ur,a as f,ab as kr,b as P,bb as jr,cb as _r,d as tn,da as Er,db as Fr,dc as Kr,dd as ui,e as vr,ea as L,eb as $r,fa as Ir,fb as de,fc as Yr,fd as At,g as yr,gc as Qr,gd as li,h as nn,ha as D,hd as Dt,i as rn,ia as E,ib as zr,j as sn,jb as Fe,k as Y,ka as R,l as _,la as vt,lb as z,ma as Mr,mb as Br,na as C,o as Q,oa as un,pa as m,pc as ei,qa as d,qb as Vr,ra as ln,rb as vn,sa as Ar,sb as qr,ta as ke,ua as Dr,va as yt,w as O,wa as wt,x as p,y as Ue,ya as je,z as wr,za as Or,zb as Gr,zc as St}from"./chunk-FJILXII2.js";var Ve=class{},Pt=class{},X=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` -`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),s=i.toLowerCase(),o=e.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.setHeaderEntries(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let s=n.value;if(!s)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(c=>s.indexOf(c)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(s=>s.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Tn=class{encodeKey(n){return hi(n)}encodeValue(n){return hi(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function As(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let s=i.indexOf("="),[o,c]=s==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,s)),n.decodeValue(i.slice(s+1))],a=e.get(o)||[];a.push(c),e.set(o,a)}),e}var Ds=/%(\d[a-f0-9])/gi,Os={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function hi(t){return encodeURIComponent(t).replace(Ds,(n,e)=>Os[e]??n)}function Ot(t){return`${t}`}var re=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Tn,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=As(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(Ot):[Ot(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(s=>{e.push({param:r,value:s,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Ot(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(Ot(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var bn=class{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function Ps(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function di(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function fi(t){return typeof Blob<"u"&&t instanceof Blob}function pi(t){return typeof FormData<"u"&&t instanceof FormData}function Ns(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Be=class t{constructor(n,e,r,i){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let s;if(Ps(this.method)||i?(this.body=r!==void 0?r:null,s=i):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),this.transferCache=s.transferCache),this.headers??=new X,this.context??=new bn,!this.params)this.params=new re,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let c=e.indexOf("?"),a=c===-1?"?":cy.set(T,n.setHeaders[T]),u)),n.setParams&&(l=Object.keys(n.setParams).reduce((y,T)=>y.set(T,n.setParams[T]),l)),new t(e,r,o,{params:l,headers:u,context:h,reportProgress:a,responseType:i,withCredentials:c,transferCache:s})}},ie=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(ie||{}),qe=class{constructor(n,e=200,r="OK"){this.headers=n.headers||new X,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Nt=class t extends qe{constructor(n={}){super(n),this.type=ie.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Ge=class t extends qe{constructor(n={}){super(n),this.type=ie.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},ne=class extends qe{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Ri=200,xs=204;function Sn(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Us=(()=>{class t{constructor(e){this.handler=e}request(e,r,i={}){let s;if(e instanceof Be)s=e;else{let a;i.headers instanceof X?a=i.headers:a=new X(i.headers);let u;i.params&&(i.params instanceof re?u=i.params:u=new re({fromObject:i.params})),s=new Be(e,r,i.body!==void 0?i.body:null,{headers:a,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let o=p(s).pipe(ee(a=>this.handler.handle(a)));if(e instanceof Be||i.observe==="events")return o;let c=o.pipe(H(a=>a instanceof Ge));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(S(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return a.body}));case"blob":return c.pipe(S(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new Error("Response is not a Blob.");return a.body}));case"text":return c.pipe(S(a=>{if(a.body!==null&&typeof a.body!="string")throw new Error("Response is not a string.");return a.body}));case"json":default:return c.pipe(S(a=>a.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new re().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,Sn(i,r))}post(e,r,i={}){return this.request("POST",e,Sn(i,r))}put(e,r,i={}){return this.request("PUT",e,Sn(i,r))}static{this.\u0275fac=function(r){return new(r||t)(m(Ve))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Ls=/^\)\]\}',?\n/,ks="X-Request-URL";function gi(t){if(t.url)return t.url;let n=ks.toLocaleLowerCase();return t.headers.get(n)}var js=(()=>{class t{constructor(){this.fetchImpl=d(Cn,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=d(q)}handle(e){return new nn(r=>{let i=new AbortController;return this.doRequest(e,i.signal,r).then(En,s=>r.error(new ne({error:s}))),()=>i.abort()})}doRequest(e,r,i){return tn(this,null,function*(){let s=this.createRequestInit(e),o;try{let T=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,f({signal:r},s)));_s(T),i.next({type:ie.Sent}),o=yield T}catch(T){i.error(new ne({error:T,status:T.status??0,statusText:T.statusText,url:e.urlWithParams,headers:T.headers}));return}let c=new X(o.headers),a=o.statusText,u=gi(o)??e.urlWithParams,l=o.status,h=null;if(e.reportProgress&&i.next(new Nt({headers:c,status:l,statusText:a,url:u})),o.body){let T=o.headers.get("content-length"),M=[],w=o.body.getReader(),v=0,N,K,I=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>tn(this,null,function*(){for(;;){let{done:ce,value:xe}=yield w.read();if(ce)break;if(M.push(xe),v+=xe.length,e.reportProgress){K=e.responseType==="text"?(K??"")+(N??=new TextDecoder).decode(xe,{stream:!0}):void 0;let mr=()=>i.next({type:ie.DownloadProgress,total:T?+T:void 0,loaded:v,partialText:K});I?I.run(mr):mr()}}}));let Ne=this.concatChunks(M,v);try{let ce=o.headers.get("Content-Type")??"";h=this.parseBody(e,Ne,ce)}catch(ce){i.error(new ne({error:ce,headers:new X(o.headers),status:o.status,statusText:o.statusText,url:gi(o)??e.urlWithParams}));return}}l===0&&(l=h?Ri:0),l>=200&&l<300?(i.next(new Ge({body:h,headers:c,status:l,statusText:a,url:u})),i.complete()):i.error(new ne({error:h,headers:c,status:l,statusText:a,url:u}))})}parseBody(e,r,i){switch(e.responseType){case"json":let s=new TextDecoder().decode(r).replace(Ls,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(e){let r={},i=e.withCredentials?"include":void 0;if(e.headers.forEach((s,o)=>r[s]=o.join(",")),e.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let s=e.detectContentTypeHeader();s!==null&&(r["Content-Type"]=s)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i}}concatChunks(e,r){let i=new Uint8Array(r),s=0;for(let o of e)i.set(o,s),s+=o.length;return i}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Cn=class{};function En(){}function _s(t){t.then(En,En)}function Si(t,n){return n(t)}function Fs(t,n){return(e,r)=>n.intercept(e,{handle:i=>t(i,r)})}function $s(t,n,e){return(r,i)=>F(e,()=>n(r,s=>t(s,i)))}var zs=new C(""),In=new C(""),Bs=new C(""),Ti=new C("",{providedIn:"root",factory:()=>!0});function Vs(){let t=null;return(n,e)=>{t===null&&(t=(d(zs,{optional:!0})??[]).reduceRight(Fs,Si));let r=d(_e);if(d(Ti)){let s=r.add();return t(n,e).pipe(ue(()=>r.remove(s)))}else return t(n,e)}}var mi=(()=>{class t extends Ve{constructor(e,r){super(),this.backend=e,this.injector=r,this.chain=null,this.pendingTasks=d(_e),this.contributeToStability=d(Ti)}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(In),...this.injector.get(Bs,[])]));this.chain=r.reduceRight((i,s)=>$s(i,s,this.injector),Si)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(ue(()=>this.pendingTasks.remove(r)))}else return this.chain(e,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||t)(m(Pt),m(le))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var qs=/^\)\]\}',?\n/;function Gs(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var vi=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?O(r.\u0275loadImpl()):p(null)).pipe(L(()=>new nn(s=>{let o=r.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((w,v)=>o.setRequestHeader(w,v.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let w=e.detectContentTypeHeader();w!==null&&o.setRequestHeader("Content-Type",w)}if(e.responseType){let w=e.responseType.toLowerCase();o.responseType=w!=="json"?w:"text"}let c=e.serializeBody(),a=null,u=()=>{if(a!==null)return a;let w=o.statusText||"OK",v=new X(o.getAllResponseHeaders()),N=Gs(o)||e.url;return a=new Nt({headers:v,status:o.status,statusText:w,url:N}),a},l=()=>{let{headers:w,status:v,statusText:N,url:K}=u(),I=null;v!==xs&&(I=typeof o.response>"u"?o.responseText:o.response),v===0&&(v=I?Ri:0);let Ne=v>=200&&v<300;if(e.responseType==="json"&&typeof I=="string"){let ce=I;I=I.replace(qs,"");try{I=I!==""?JSON.parse(I):null}catch(xe){I=ce,Ne&&(Ne=!1,I={error:xe,text:I})}}Ne?(s.next(new Ge({body:I,headers:w,status:v,statusText:N,url:K||void 0})),s.complete()):s.error(new ne({error:I,headers:w,status:v,statusText:N,url:K||void 0}))},h=w=>{let{url:v}=u(),N=new ne({error:w,status:o.status||0,statusText:o.statusText||"Unknown Error",url:v||void 0});s.error(N)},y=!1,T=w=>{y||(s.next(u()),y=!0);let v={type:ie.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(v.total=w.total),e.responseType==="text"&&o.responseText&&(v.partialText=o.responseText),s.next(v)},M=w=>{let v={type:ie.UploadProgress,loaded:w.loaded};w.lengthComputable&&(v.total=w.total),s.next(v)};return o.addEventListener("load",l),o.addEventListener("error",h),o.addEventListener("timeout",h),o.addEventListener("abort",h),e.reportProgress&&(o.addEventListener("progress",T),c!==null&&o.upload&&o.upload.addEventListener("progress",M)),o.send(c),s.next({type:ie.Sent}),()=>{o.removeEventListener("error",h),o.removeEventListener("abort",h),o.removeEventListener("load",l),o.removeEventListener("timeout",h),e.reportProgress&&(o.removeEventListener("progress",T),c!==null&&o.upload&&o.upload.removeEventListener("progress",M)),o.readyState!==o.DONE&&o.abort()}})))}static{this.\u0275fac=function(r){return new(r||t)(m(Dt))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),bi=new C(""),Ws="XSRF-TOKEN",Hs=new C("",{providedIn:"root",factory:()=>Ws}),Xs="X-XSRF-TOKEN",Js=new C("",{providedIn:"root",factory:()=>Xs}),xt=class{},Zs=(()=>{class t{constructor(e,r,i){this.doc=e,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Mt(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(r){return new(r||t)(m(x),m(he),m(Hs))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();function Ks(t,n){let e=t.url.toLowerCase();if(!d(bi)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let r=d(xt).getToken(),i=d(Js);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),n(t)}var Ci=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Ci||{});function Ys(t,n){return{\u0275kind:t,\u0275providers:n}}function kc(...t){let n=[Us,vi,mi,{provide:Ve,useExisting:mi},{provide:Pt,useFactory:()=>d(js,{optional:!0})??d(vi)},{provide:In,useValue:Ks,multi:!0},{provide:bi,useValue:!0},{provide:xt,useClass:Zs}];for(let e of t)n.push(...e.\u0275providers);return je(n)}var yi=new C("");function jc(){return Ys(Ci.LegacyInterceptors,[{provide:yi,useFactory:Vs},{provide:In,useExisting:yi,multi:!0}])}var Dn=class extends si{constructor(){super(...arguments),this.supportsDOMEvents=!0}},On=class t extends Dn{static makeCurrent(){ii(new t)}onAndCancel(n,e,r){return n.addEventListener(e,r),()=>{n.removeEventListener(e,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=to();return e==null?null:no(e)}resetBaseElement(){We=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Mt(document.cookie,n)}},We=null;function to(){return We=We||document.querySelector("base"),We?We.getAttribute("href"):null}function no(t){return new URL(t,document.baseURI).pathname}var ro=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Pn=new C(""),Ai=(()=>{class t{constructor(e,r){this._zone=r,this._eventNameToPlugin=new Map,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,r,i){return this._findPluginFor(r).addEventListener(e,r,i)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(s=>s.supports(e)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(e,r),r}static{this.\u0275fac=function(r){return new(r||t)(m(Pn),m(q))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Ut=class{constructor(n){this._doc=n}},Mn="ng-app-id",Di=(()=>{class t{constructor(e,r,i,s={}){this.doc=e,this.appId=r,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=At(s),this.resetHostNodes()}addStyles(e){for(let r of e)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(e){for(let r of e)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(r=>r.remove()),e.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let r of this.getAllStyles())this.addStyleToHost(e,r)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let r of this.hostNodes)this.addStyleToHost(r,e)}onStyleRemoved(e){let r=this.styleRef;r.get(e)?.elements?.forEach(i=>i.remove()),r.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${Mn}="${this.appId}"]`);if(e?.length){let r=new Map;return e.forEach(i=>{i.textContent!=null&&r.set(i.textContent,i)}),r}return null}changeUsageCount(e,r){let i=this.styleRef;if(i.has(e)){let s=i.get(e);return s.usage+=r,s.usage}return i.set(e,{usage:r,elements:[]}),r}getStyleElement(e,r){let i=this.styleNodesInDOM,s=i?.get(r);if(s?.parentNode===e)return i.delete(r),s.removeAttribute(Mn),s;{let o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=r,this.platformIsServer&&o.setAttribute(Mn,this.appId),e.appendChild(o),o}}addStyleToHost(e,r){let i=this.getStyleElement(e,r),s=this.styleRef,o=s.get(r)?.elements;o?o.push(i):s.set(r,{elements:[i],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||t)(m(x),m(gn),m(mn,8),m(he))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),An={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},xn=/%COMP%/g,Oi="%COMP%",io=`_nghost-${Oi}`,so=`_ngcontent-${Oi}`,oo=!0,ao=new C("",{providedIn:"root",factory:()=>oo});function co(t){return so.replace(xn,t)}function uo(t){return io.replace(xn,t)}function Pi(t,n){return n.map(e=>e.replace(xn,t))}var Ei=(()=>{class t{constructor(e,r,i,s,o,c,a,u=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=o,this.platformId=c,this.ngZone=a,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=At(c),this.defaultRenderer=new He(e,o,a,this.platformIsServer)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===ke.ShadowDom&&(r=P(f({},r),{encapsulation:ke.Emulated}));let i=this.getOrCreateRenderer(e,r);return i instanceof Lt?i.applyToHost(e):i instanceof Xe&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,s=i.get(r.id);if(!s){let o=this.doc,c=this.ngZone,a=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(r.encapsulation){case ke.Emulated:s=new Lt(a,u,r,this.appId,l,o,c,h);break;case ke.ShadowDom:return new Nn(a,u,e,r,o,c,this.nonce,h);default:s=new Xe(a,u,r,l,o,c,h);break}i.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||t)(m(Ai),m(Di),m(gn),m(ao),m(x),m(he),m(q),m(mn))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),He=class{constructor(n,e,r,i){this.eventManager=n,this.doc=e,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(An[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Ii(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(Ii(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let s=An[i];s?n.setAttributeNS(s,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=An[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(Fe.DashCase|Fe.Important)?n.style.setProperty(e,r,i&Fe.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Fe.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r){if(typeof n=="string"&&(n=Rn().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(r))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function Ii(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Nn=class extends He{constructor(n,e,r,i,s,o,c,a){super(n,s,o,a),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Pi(i.id,i.styles);for(let l of u){let h=document.createElement("style");c&&h.setAttribute("nonce",c),h.textContent=l,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xe=class extends He{constructor(n,e,r,i,s,o,c,a){super(n,s,o,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=a?Pi(a,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Lt=class extends Xe{constructor(n,e,r,i,s,o,c,a){let u=i+"-"+r.id;super(n,e,r,s,o,c,a,u),this.contentAttr=co(u),this.hostAttr=uo(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}},lo=(()=>{class t extends Ut{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i){return e.addEventListener(r,i,!1),()=>this.removeEventListener(e,r,i)}removeEventListener(e,r,i){return e.removeEventListener(r,i)}static{this.\u0275fac=function(r){return new(r||t)(m(x))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Mi=["alt","control","meta","shift"],ho={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},fo={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},po=(()=>{class t extends Ut{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i){let s=t.parseEventName(r),o=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rn().onAndCancel(e,s.domEventName,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(r.pop()),o="",c=r.indexOf("code");if(c>-1&&(r.splice(c,1),o="code."),Mi.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),o+=u+".")}),o+=s,r.length!=0||s.length===0)return null;let a={};return a.domEventName=i,a.fullKey=o,a}static matchEventFullKeyCode(e,r){let i=ho[e.key]||e.key,s="";return r.indexOf("code.")>-1&&(i=e.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Mi.forEach(o=>{if(o!==i){let c=fo[o];c(e)&&(s+=o+".")}}),s+=i,s===r)}static eventCallback(e,r,i){return s=>{t.matchEventFullKeyCode(s,e)&&i.runGuarded(()=>r(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(r){return new(r||t)(m(x))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();function au(t,n){return ni(f({rootComponent:t},go(n)))}function go(t){return{appProviders:[...Ro,...t?.providers??[]],platformProviders:wo}}function mo(){On.makeCurrent()}function vo(){return new fn}function yo(){return Nr(document),document}var wo=[{provide:he,useValue:ui},{provide:xr,useValue:mo,multi:!0},{provide:x,useFactory:yo,deps:[]}];var Ro=[{provide:Or,useValue:"root"},{provide:fn,useFactory:vo,deps:[]},{provide:Pn,useClass:lo,multi:!0,deps:[x,q,he]},{provide:Pn,useClass:po,multi:!0,deps:[x]},Ei,Di,Ai,{provide:Vr,useExisting:Ei},{provide:Dt,useClass:ro,deps:[]},[]];var Ni=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.\u0275fac=function(r){return new(r||t)(m(x))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var So=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=m(To),i},providedIn:"root"})}}return t})(),To=(()=>{class t extends So{constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case de.NONE:return r;case de.HTML:return Re(r,"HTML")?we(r):$r(this._doc,String(r)).toString();case de.STYLE:return Re(r,"Style")?we(r):r;case de.SCRIPT:if(Re(r,"Script"))return we(r);throw new E(5200,!1);case de.URL:return Re(r,"URL")?we(r):Fr(String(r));case de.RESOURCE_URL:if(Re(r,"ResourceURL"))return we(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(e){return Ur(e)}bypassSecurityTrustStyle(e){return Lr(e)}bypassSecurityTrustScript(e){return kr(e)}bypassSecurityTrustUrl(e){return jr(e)}bypassSecurityTrustResourceUrl(e){return _r(e)}static{this.\u0275fac=function(r){return new(r||t)(m(x))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var g="primary",ut=Symbol("RouteTitle"),_n=class{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ie(t){return new _n(t)}function Co(t,n,e){let r=e.path.split("/");if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.lengthr[s]===i)}else return t===n}function Gi(t){return t.length>0?t[t.length-1]:null}function ae(t){return wr(t)?t:ti(t)?O(Promise.resolve(t)):p(t)}var Io={exact:Hi,subset:Xi},Wi={exact:Mo,subset:Ao,ignored:()=>!0};function xi(t,n,e){return Io[e.paths](t.root,n.root,e.matrixParams)&&Wi[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function Mo(t,n){return G(t,n)}function Hi(t,n,e){if(!pe(t.segments,n.segments)||!_t(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!Hi(t.children[r],n.children[r],e))return!1;return!0}function Ao(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>qi(t[e],n[e]))}function Xi(t,n,e){return Ji(t,n,n.segments,e)}function Ji(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!pe(i,e)||n.hasChildren()||!_t(i,e,r))}else if(t.segments.length===e.length){if(!pe(t.segments,e)||!_t(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!Xi(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!pe(t.segments,i)||!_t(t.segments,i,r)||!t.children[g]?!1:Ji(t.children[g],n,s,r)}}function _t(t,n,e){return n.every((r,i)=>Wi[e](t[i].parameters,r.parameters))}var Z=class{constructor(n=new b([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Ie(this.queryParams),this._queryParamMap}toString(){return Po.serialize(this)}},b=class{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ft(this)}},fe=class{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Ie(this.parameters),this._parameterMap}toString(){return Ki(this)}};function Do(t,n){return pe(t,n)&&t.every((e,r)=>G(e.parameters,n[r].parameters))}function pe(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function Oo(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===g&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==g&&(e=e.concat(n(i,r)))}),e}var lt=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>new Me,providedIn:"root"})}}return t})(),Me=class{parse(n){let e=new zn(n);return new Z(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Je(n.root,!0)}`,r=Uo(n.queryParams),i=typeof n.fragment=="string"?`#${No(n.fragment)}`:"";return`${e}${r}${i}`}},Po=new Me;function Ft(t){return t.segments.map(n=>Ki(n)).join("/")}function Je(t,n){if(!t.hasChildren())return Ft(t);if(n){let e=t.children[g]?Je(t.children[g],!1):"",r=[];return Object.entries(t.children).forEach(([i,s])=>{i!==g&&r.push(`${i}:${Je(s,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=Oo(t,(r,i)=>i===g?[Je(t.children[g],!1)]:[`${i}:${Je(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[g]!=null?`${Ft(t)}/${e[0]}`:`${Ft(t)}/(${e.join("//")})`}}function Zi(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function kt(t){return Zi(t).replace(/%3B/gi,";")}function No(t){return encodeURI(t)}function $n(t){return Zi(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $t(t){return decodeURIComponent(t)}function Ui(t){return $t(t.replace(/\+/g,"%20"))}function Ki(t){return`${$n(t.path)}${xo(t.parameters)}`}function xo(t){return Object.entries(t).map(([n,e])=>`;${$n(n)}=${$n(e)}`).join("")}function Uo(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${kt(e)}=${kt(i)}`).join("&"):`${kt(e)}=${kt(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var Lo=/^[^\/()?;#]+/;function Un(t){let n=t.match(Lo);return n?n[0]:""}var ko=/^[^\/()?;=#]+/;function jo(t){let n=t.match(ko);return n?n[0]:""}var _o=/^[^=?&#]+/;function Fo(t){let n=t.match(_o);return n?n[0]:""}var $o=/^[^&#]+/;function zo(t){let n=t.match($o);return n?n[0]:""}var zn=class{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new b([],{}):new b([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(r[g]=new b(n,e)),r}parseSegment(){let n=Un(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(n),new fe($t(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=jo(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=Un(this.remaining);i&&(r=i,this.capture(r))}n[$t(e)]=$t(r)}parseQueryParam(n){let e=Fo(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let o=zo(this.remaining);o&&(r=o,this.capture(r))}let i=Ui(e),s=Ui(r);if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)||(o=[o],n[i]=o),o.push(s)}else n[i]=s}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Un(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new E(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=g);let o=this.parseChildren();e[s]=Object.keys(o).length===1?o[g]:new b([],o),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new E(4011,!1)}};function Yi(t){return t.segments.length>0?new b([],{[g]:t}):t}function Qi(t){let n={};for(let[r,i]of Object.entries(t.children)){let s=Qi(i);if(r===g&&s.segments.length===0&&s.hasChildren())for(let[o,c]of Object.entries(s.children))n[o]=c;else(s.segments.length>0||s.hasChildren())&&(n[r]=s)}let e=new b(t.segments,n);return Bo(e)}function Bo(t){if(t.numberOfChildren===1&&t.children[g]){let n=t.children[g];return new b(t.segments.concat(n.segments),n.children)}return t}function ge(t){return t instanceof Z}function Vo(t,n,e=null,r=null){let i=es(t);return ts(i,n,e,r)}function es(t){let n;function e(s){let o={};for(let a of s.children){let u=e(a);o[a.outlet]=u}let c=new b(s.url,o);return s===t&&(n=c),c}let r=e(t.root),i=Yi(r);return n??i}function ts(t,n,e,r){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return Ln(i,i,i,e,r);let s=qo(n);if(s.toRoot())return Ln(i,i,new b([],{}),e,r);let o=Go(s,i,t),c=o.processChildren?Ye(o.segmentGroup,o.index,s.commands):rs(o.segmentGroup,o.index,s.commands);return Ln(i,o.segmentGroup,c,e,r)}function zt(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function tt(t){return typeof t=="object"&&t!=null&&t.outlets}function Ln(t,n,e,r,i){let s={};r&&Object.entries(r).forEach(([a,u])=>{s[a]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let o;t===n?o=e:o=ns(t,n,e);let c=Yi(Qi(o));return new Z(c,s,i)}function ns(t,n,e){let r={};return Object.entries(t.children).forEach(([i,s])=>{s===n?r[i]=e:r[i]=ns(s,n,e)}),new b(t.segments,r)}var Bt=class{constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&zt(r[0]))throw new E(4003,!1);let i=r.find(tt);if(i&&i!==Gi(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function qo(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Bt(!0,0,t);let n=0,e=!1,r=t.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let c={};return Object.entries(s.outlets).forEach(([a,u])=>{c[a]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:c}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((c,a)=>{a==0&&c==="."||(a==0&&c===""?e=!0:c===".."?n++:c!=""&&i.push(c))}),i):[...i,s]},[]);return new Bt(e,n,r)}var be=class{constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function Go(t,n,e){if(t.isAbsolute)return new be(n,!0,0);if(!e)return new be(n,!1,NaN);if(e.parent===null)return new be(e,!0,0);let r=zt(t.commands[0])?0:1,i=e.segments.length-1+r;return Wo(e,i,t.numberOfDoubleDots)}function Wo(t,n,e){let r=t,i=n,s=e;for(;s>i;){if(s-=i,r=r.parent,!r)throw new E(4005,!1);i=r.segments.length}return new be(r,!1,i-s)}function Ho(t){return tt(t[0])?t[0].outlets:{[g]:t}}function rs(t,n,e){if(t??=new b([],{}),t.segments.length===0&&t.hasChildren())return Ye(t,n,e);let r=Xo(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndexs!==g)&&t.children[g]&&t.numberOfChildren===1&&t.children[g].segments.length===0){let s=Ye(t.children[g],n,e);return new b(t.segments,s.children)}return Object.entries(r).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=rs(t.children[s],n,o))}),Object.entries(t.children).forEach(([s,o])=>{r[s]===void 0&&(i[s]=o)}),new b(t.segments,i)}}function Xo(t,n,e){let r=0,i=n,s={match:!1,pathIndex:0,commandIndex:0};for(;i=e.length)return s;let o=t.segments[i],c=e[r];if(tt(c))break;let a=`${c}`,u=r0&&a===void 0)break;if(a&&u&&typeof u=="object"&&u.outlets===void 0){if(!ki(a,u,o))return s;r+=2}else{if(!ki(a,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Bn(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=Bn(new b([],{}),0,r))}),n}function Li(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function ki(t,n,e){return t==e.path&&G(n,e.parameters)}var Qe="imperative",A=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(A||{}),$=class{constructor(n,e){this.id=n,this.url=e}},Ae=class extends ${constructor(n,e,r="imperative",i=null){super(n,e),this.type=A.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},V=class extends ${constructor(n,e,r){super(n,e),this.urlAfterRedirects=r,this.type=A.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},j=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(j||{}),Vt=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Vt||{}),J=class extends ${constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i,this.type=A.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},se=class extends ${constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i,this.type=A.NavigationSkipped}},nt=class extends ${constructor(n,e,r,i){super(n,e),this.error=r,this.target=i,this.type=A.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},qt=class extends ${constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=A.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vn=class extends ${constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=A.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qn=class extends ${constructor(n,e,r,i,s){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s,this.type=A.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Gn=class extends ${constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=A.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wn=class extends ${constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=A.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hn=class{constructor(n){this.route=n,this.type=A.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Xn=class{constructor(n){this.route=n,this.type=A.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Jn=class{constructor(n){this.snapshot=n,this.type=A.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zn=class{constructor(n){this.snapshot=n,this.type=A.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Kn=class{constructor(n){this.snapshot=n,this.type=A.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yn=class{constructor(n){this.snapshot=n,this.type=A.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gt=class{constructor(n,e,r){this.routerEvent=n,this.position=e,this.anchor=r,this.type=A.Scroll}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},rt=class{},De=class{constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Zo(t,n){return t.providers&&!t._injector&&(t._injector=yn(t.providers,n,`Route: ${t.path}`)),t._injector??n}function B(t){return t.outlet||g}function Ko(t,n){let e=t.filter(r=>B(r)===n);return e.push(...t.filter(r=>B(r)!==n)),e}function ht(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Qn=class{get injector(){return ht(this.route?.snapshot)??this.rootInjector}set injector(n){}constructor(n){this.rootInjector=n,this.outlet=null,this.route=null,this.children=new dt(this.rootInjector),this.attachRef=null}},dt=(()=>{class t{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Qn(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static{this.\u0275fac=function(r){return new(r||t)(m(le))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Wt=class{constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=er(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=er(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=tr(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return tr(n,this._root).map(e=>e.value)}};function er(t,n){if(t===n.value)return n;for(let e of n.children){let r=er(t,e);if(r)return r}return null}function tr(t,n){if(t===n.value)return[n];for(let e of n.children){let r=tr(t,e);if(r.length)return r.unshift(n),r}return[]}var k=class{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Te(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Ht=class extends Wt{constructor(n,e){super(n),this.snapshot=e,lr(this,n)}toString(){return this.snapshot.toString()}};function is(t){let n=Yo(t),e=new _([new fe("",{})]),r=new _({}),i=new _({}),s=new _({}),o=new _(""),c=new oe(e,r,s,o,i,g,t,n.root);return c.snapshot=n.root,new Ht(new k(c,[]),n)}function Yo(t){let n={},e={},r={},i="",s=new Ce([],n,r,i,e,g,t,null,{});return new Jt("",new k(s,[]))}var oe=class{constructor(n,e,r,i,s,o,c,a){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=c,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(S(u=>u[ut]))??p(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(S(n=>Ie(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(S(n=>Ie(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Xt(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:f(f({},n.params),t.params),data:f(f({},n.data),t.data),resolve:f(f(f(f({},t.data),n.data),i?.data),t._resolvedData)}:r={params:f({},t.params),data:f({},t.data),resolve:f(f({},t.data),t._resolvedData??{})},i&&os(i)&&(r.resolve[ut]=i.title),r}var Ce=class{get title(){return this.data?.[ut]}constructor(n,e,r,i,s,o,c,a,u){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=c,this.routeConfig=a,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ie(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ie(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Jt=class extends Wt{constructor(n,e){super(e),this.url=n,lr(this,e)}toString(){return ss(this._root)}};function lr(t,n){n.value._routerState=t,n.children.forEach(e=>lr(t,e))}function ss(t){let n=t.children.length>0?` { ${t.children.map(ss).join(", ")} } `:"";return`${t.value}${n}`}function kn(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,G(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),G(n.params,e.params)||t.paramsSubject.next(e.params),Eo(n.url,e.url)||t.urlSubject.next(e.url),G(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function nr(t,n){let e=G(t.params,n.params)&&Do(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||nr(t.parent,n.parent))}function os(t){return typeof t.title=="string"||t.title===null}var Qo=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=g,this.activateEvents=new ye,this.deactivateEvents=new ye,this.attachEvents=new ye,this.detachEvents=new ye,this.parentContexts=d(dt),this.location=d(qr),this.changeDetector=d(Et),this.inputBinder=d(Qt,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=e;let i=this.location,o=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,a=new rr(e,c,i.injector);this.activated=i.createComponent(o,{index:i.length,injector:a,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275dir=wt({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Rt]})}}return t})(),rr=class t{__ngOutletInjector(n){return new t(this.route,this.childContexts,n)}constructor(n,e,r){this.route=n,this.childContexts=e,this.parent=r}get(n,e){return n===oe?this.route:n===dt?this.childContexts:this.parent.get(n,e)}},Qt=new C(""),ji=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,i=mt([r.queryParams,r.params,r.data]).pipe(L(([s,o,c],a)=>(c=f(f(f({},s),o),c),a===0?p(c):Promise.resolve(c)))).subscribe(s=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let o=ri(r.component);if(!o){this.unsubscribeFromRouteData(e);return}for(let{templateName:c}of o.inputs)e.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(e,i)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();function ea(t,n,e){let r=it(t,n._root,e?e._root:void 0);return new Ht(r,n)}function it(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=ta(t,n,e);return new k(r,i)}else{if(t.shouldAttach(n.value)){let s=t.retrieve(n.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(c=>it(t,c)),o}}let r=na(n.value),i=n.children.map(s=>it(t,s));return new k(r,i)}}function ta(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return it(t,r,i);return it(t,r)})}function na(t){return new oe(new _(t.url),new _(t.params),new _(t.queryParams),new _(t.fragment),new _(t.data),t.outlet,t.component,t)}var st=class{constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},as="ngNavigationCancelingError";function Zt(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=ge(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=cs(!1,j.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function cs(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[as]=!0,e.cancellationCode=n,e}function ra(t){return us(t)&&ge(t.url)}function us(t){return!!t&&t[as]}var ia=(t,n,e,r)=>S(i=>(new ir(n,i.targetRouterState,i.currentRouterState,e,r).activate(t),i)),ir=class{constructor(n,e,r,i,s){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=s}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),kn(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=Te(e);n.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(n,e,r){let i=n.value,s=e?e.value:null;if(i===s)if(i.component){let o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(n,e,o.children)}else this.deactivateChildRoutes(n,e,r);else s&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,s=Te(n);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(r&&r.outlet){let o=r.outlet.detach(),c=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:c})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,s=Te(n);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let i=Te(e);n.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new Yn(s.value.snapshot))}),n.children.length&&this.forwardEvent(new Zn(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,s=e?e.value:null;if(kn(i),i===s)if(i.component){let o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,o.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(c.contexts),o.attachRef=c.componentRef,o.route=c.route.value,o.outlet&&o.outlet.attach(c.componentRef,c.route.value),kn(c.route.value),this.activateChildRoutes(n,null,o.children)}else o.attachRef=null,o.route=i,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(n,null,o.children)}else this.activateChildRoutes(n,null,r)}},Kt=class{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ee=class{constructor(n,e){this.component=n,this.route=e}};function sa(t,n,e){let r=t._root,i=n?n._root:null;return Ze(r,i,e,[r.value])}function oa(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Pe(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Mr(t)?t:n.get(t):r}function Ze(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=Te(n);return t.children.forEach(o=>{aa(o,s[o.value.outlet],e,r.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,c])=>et(c,e.getContext(o),i)),i}function aa(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=t.value,o=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let a=ca(o,s,s.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new Kt(r)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?Ze(t,n,c?c.children:null,r,i):Ze(t,n,e,r,i),a&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new Ee(c.outlet.component,o))}else o&&et(n,c,i),i.canActivateChecks.push(new Kt(r)),s.component?Ze(t,null,c?c.children:null,r,i):Ze(t,null,e,r,i);return i}function ca(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!pe(t.url,n.url);case"pathParamsOrQueryParamsChange":return!pe(t.url,n.url)||!G(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nr(t,n)||!G(t.queryParams,n.queryParams);case"paramsChange":default:return!nr(t,n)}}function et(t,n,e){let r=Te(t),i=t.value;Object.entries(r).forEach(([s,o])=>{i.component?n?et(o,n.children.getContext(s),e):et(o,null,e):et(o,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Ee(n.outlet.component,i)):e.canDeactivateChecks.push(new Ee(null,i)):e.canDeactivateChecks.push(new Ee(null,i))}function ft(t){return typeof t=="function"}function ua(t){return typeof t=="boolean"}function la(t){return t&&ft(t.canLoad)}function ha(t){return t&&ft(t.canActivate)}function da(t){return t&&ft(t.canActivateChild)}function fa(t){return t&&ft(t.canDeactivate)}function pa(t){return t&&ft(t.canMatch)}function ls(t){return t instanceof Rr||t?.name==="EmptyError"}var jt=Symbol("INITIAL_VALUE");function Oe(){return L(t=>mt(t.map(n=>n.pipe(ve(1),Er(jt)))).pipe(S(n=>{for(let e of n)if(e!==!0){if(e===jt)return jt;if(e===!1||ga(e))return e}return!0}),H(n=>n!==jt),ve(1)))}function ga(t){return ge(t)||t instanceof st}function ma(t,n){return U(e=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return o.length===0&&s.length===0?p(P(f({},e),{guardsResult:!0})):va(o,r,i,t).pipe(U(c=>c&&ua(c)?ya(r,s,t,n):p(c)),S(c=>P(f({},e),{guardsResult:c})))})}function va(t,n,e,r){return O(t).pipe(U(i=>ba(i.component,i.route,e,n,r)),te(i=>i!==!0,!0))}function ya(t,n,e,r){return O(n).pipe(ee(i=>Sr(Ra(i.route.parent,r),wa(i.route,r),Ta(t,i.path,e),Sa(t,i.route,e))),te(i=>i!==!0,!0))}function wa(t,n){return t!==null&&n&&n(new Kn(t)),p(!0)}function Ra(t,n){return t!==null&&n&&n(new Jn(t)),p(!0)}function Sa(t,n,e){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return p(!0);let i=r.map(s=>on(()=>{let o=ht(n)??e,c=Pe(s,o),a=ha(c)?c.canActivate(n,t):F(o,()=>c(n,t));return ae(a).pipe(te())}));return p(i).pipe(Oe())}function Ta(t,n,e){let r=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(o=>oa(o)).filter(o=>o!==null).map(o=>on(()=>{let c=o.guards.map(a=>{let u=ht(o.node)??e,l=Pe(a,u),h=da(l)?l.canActivateChild(r,t):F(u,()=>l(r,t));return ae(h).pipe(te())});return p(c).pipe(Oe())}));return p(s).pipe(Oe())}function ba(t,n,e,r,i){let s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!s||s.length===0)return p(!0);let o=s.map(c=>{let a=ht(n)??i,u=Pe(c,a),l=fa(u)?u.canDeactivate(t,n,e,r):F(a,()=>u(t,n,e,r));return ae(l).pipe(te())});return p(o).pipe(Oe())}function Ca(t,n,e,r){let i=n.canLoad;if(i===void 0||i.length===0)return p(!0);let s=i.map(o=>{let c=Pe(o,t),a=la(c)?c.canLoad(n,e):F(t,()=>c(n,e));return ae(a)});return p(s).pipe(Oe(),hs(r))}function hs(t){return yr(D(n=>{if(typeof n!="boolean")throw Zt(t,n)}),S(n=>n===!0))}function Ea(t,n,e,r){let i=n.canMatch;if(!i||i.length===0)return p(!0);let s=i.map(o=>{let c=Pe(o,t),a=pa(c)?c.canMatch(n,e):F(t,()=>c(n,e));return ae(a)});return p(s).pipe(Oe(),hs(r))}var ot=class{constructor(n){this.segmentGroup=n||null}},at=class extends Error{constructor(n){super(),this.urlTree=n}};function Se(t){return Ue(new ot(t))}function Ia(t){return Ue(new E(4e3,!1))}function Ma(t){return Ue(cs(!1,j.GuardRejected))}var sr=class{constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return p(r);if(i.numberOfChildren>1||!i.children[g])return Ia(`${n.redirectTo}`);i=i.children[g]}}applyRedirectCommands(n,e,r,i,s){if(typeof e!="string"){let c=e,{queryParams:a,fragment:u,routeConfig:l,url:h,outlet:y,params:T,data:M,title:w}=i,v=F(s,()=>c({params:T,data:M,queryParams:a,fragment:u,routeConfig:l,url:h,outlet:y,title:w}));if(v instanceof Z)throw new at(v);e=v}let o=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,r);if(e[0]==="/")throw new at(o);return o}applyRedirectCreateUrlTree(n,e,r,i){let s=this.createSegmentGroup(n,e.root,r,i);return new Z(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,s])=>{if(typeof s=="string"&&s[0]===":"){let c=s.substring(1);r[i]=e[c]}else r[i]=s}),r}createSegmentGroup(n,e,r,i){let s=this.createSegments(n,e.segments,r,i),o={};return Object.entries(e.children).forEach(([c,a])=>{o[c]=this.createSegmentGroup(n,a,r,i)}),new b(s,o)}createSegments(n,e,r,i){return e.map(s=>s.path[0]===":"?this.findPosParam(n,s,i):this.findOrReturn(s,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new E(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}},or={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Aa(t,n,e,r,i){let s=ds(t,n,e);return s.matched?(r=Zo(n,r),Ea(r,n,e,i).pipe(S(o=>o===!0?s:f({},or)))):p(s)}function ds(t,n,e){if(n.path==="**")return Da(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?f({},or):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||Co)(e,t,n);if(!i)return f({},or);let s={};Object.entries(i.posParams??{}).forEach(([c,a])=>{s[c]=a.path});let o=i.consumed.length>0?f(f({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function Da(t){return{matched:!0,parameters:t.length>0?Gi(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function _i(t,n,e,r){return e.length>0&&Na(t,e,r)?{segmentGroup:new b(n,Pa(r,new b(e,t.children))),slicedSegments:[]}:e.length===0&&xa(t,e,r)?{segmentGroup:new b(t.segments,Oa(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new b(t.segments,t.children),slicedSegments:e}}function Oa(t,n,e,r){let i={};for(let s of e)if(en(t,n,s)&&!r[B(s)]){let o=new b([],{});i[B(s)]=o}return f(f({},r),i)}function Pa(t,n){let e={};e[g]=n;for(let r of t)if(r.path===""&&B(r)!==g){let i=new b([],{});e[B(r)]=i}return e}function Na(t,n,e){return e.some(r=>en(t,n,r)&&B(r)!==g)}function xa(t,n,e){return e.some(r=>en(t,n,r))}function en(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Ua(t,n,e){return n.length===0&&!t.children[e]}var ar=class{};function La(t,n,e,r,i,s,o="emptyOnly"){return new cr(t,n,e,r,i,o,s).recognize()}var ka=31,cr=class{constructor(n,e,r,i,s,o,c){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=c,this.applyRedirects=new sr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new E(4002,`'${n.segmentGroup}'`)}recognize(){let n=_i(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(S(({children:e,rootSnapshot:r})=>{let i=new k(r,e),s=new Jt("",i),o=Vo(r,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(n){let e=new Ce([],Object.freeze({}),Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),g,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,g,e).pipe(S(r=>({children:r,rootSnapshot:e})),me(r=>{if(r instanceof at)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof ot?this.noMatchError(r):r}))}processSegmentGroup(n,e,r,i,s){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,e,r,s):this.processSegment(n,e,r,r.segments,i,!0,s).pipe(S(o=>o instanceof k?[o]:[]))}processChildren(n,e,r,i){let s=[];for(let o of Object.keys(r.children))o==="primary"?s.unshift(o):s.push(o);return O(s).pipe(ee(o=>{let c=r.children[o],a=Ko(e,o);return this.processSegmentGroup(n,a,c,o,i)}),Cr((o,c)=>(o.push(...c),o)),an(null),br(),U(o=>{if(o===null)return Se(r);let c=fs(o);return ja(c),p(c)}))}processSegment(n,e,r,i,s,o,c){return O(e).pipe(ee(a=>this.processSegmentAgainstRoute(a._injector??n,e,a,r,i,s,o,c).pipe(me(u=>{if(u instanceof ot)return p(null);throw u}))),te(a=>!!a),me(a=>{if(ls(a))return Ua(r,i,s)?p(new ar):Se(r);throw a}))}processSegmentAgainstRoute(n,e,r,i,s,o,c,a){return B(r)!==o&&(o===g||!en(i,s,r))?Se(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,i,r,s,o,a):this.allowRedirects&&c?this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,s,o,a):Se(i)}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,s,o,c){let{matched:a,parameters:u,consumedSegments:l,positionalParamSegments:h,remainingSegments:y}=ds(e,i,s);if(!a)return Se(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ka&&(this.allowRedirects=!1));let T=new Ce(s,u,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Fi(i),B(i),i.component??i._loadedComponent??null,i,$i(i)),M=Xt(T,c,this.paramsInheritanceStrategy);T.params=Object.freeze(M.params),T.data=Object.freeze(M.data);let w=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,h,T,n);return this.applyRedirects.lineralizeSegments(i,w).pipe(U(v=>this.processSegment(n,r,e,v.concat(y),o,!1,c)))}matchSegmentAgainstRoute(n,e,r,i,s,o){let c=Aa(e,r,i,n,this.urlSerializer);return r.path==="**"&&(e.children={}),c.pipe(L(a=>a.matched?(n=r._injector??n,this.getChildConfig(n,r,i).pipe(L(({routes:u})=>{let l=r._loadedInjector??n,{parameters:h,consumedSegments:y,remainingSegments:T}=a,M=new Ce(y,h,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Fi(r),B(r),r.component??r._loadedComponent??null,r,$i(r)),w=Xt(M,o,this.paramsInheritanceStrategy);M.params=Object.freeze(w.params),M.data=Object.freeze(w.data);let{segmentGroup:v,slicedSegments:N}=_i(e,y,T,u);if(N.length===0&&v.hasChildren())return this.processChildren(l,u,v,M).pipe(S(I=>new k(M,I)));if(u.length===0&&N.length===0)return p(new k(M,[]));let K=B(r)===s;return this.processSegment(l,u,v,N,K?g:s,!0,M).pipe(S(I=>new k(M,I instanceof k?[I]:[])))}))):Se(e)))}getChildConfig(n,e,r){return e.children?p({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?p({routes:e._loadedRoutes,injector:e._loadedInjector}):Ca(n,e,r,this.urlSerializer).pipe(U(i=>i?this.configLoader.loadChildren(n,e).pipe(D(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):Ma(e))):p({routes:[],injector:n})}};function ja(t){t.sort((n,e)=>n.value.outlet===g?-1:e.value.outlet===g?1:n.value.outlet.localeCompare(e.value.outlet))}function _a(t){let n=t.value.routeConfig;return n&&n.path===""}function fs(t){let n=[],e=new Set;for(let r of t){if(!_a(r)){n.push(r);continue}let i=n.find(s=>r.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=fs(r.children);n.push(new k(r.value,i))}return n.filter(r=>!e.has(r))}function Fi(t){return t.data||{}}function $i(t){return t.resolve||{}}function Fa(t,n,e,r,i,s){return U(o=>La(t,n,e,r,o.extractedUrl,i,s).pipe(S(({state:c,tree:a})=>P(f({},o),{targetSnapshot:c,urlAfterRedirects:a}))))}function $a(t,n){return U(e=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return p(e);let s=new Set(i.map(a=>a.route)),o=new Set;for(let a of s)if(!o.has(a))for(let u of ps(a))o.add(u);let c=0;return O(o).pipe(ee(a=>s.has(a)?za(a,r,t,n):(a.data=Xt(a,a.parent,t).resolve,p(void 0))),D(()=>c++),cn(1),U(a=>c===o.size?p(e):Q))})}function ps(t){let n=t.children.map(e=>ps(e)).flat();return[t,...n]}function za(t,n,e,r){let i=t.routeConfig,s=t._resolve;return i?.title!==void 0&&!os(i)&&(s[ut]=i.title),Ba(s,t,n,r).pipe(S(o=>(t._resolvedData=o,t.data=Xt(t,t.parent,e).resolve,null)))}function Ba(t,n,e,r){let i=Fn(t);if(i.length===0)return p({});let s={};return O(i).pipe(U(o=>Va(t[o],n,e,r).pipe(te(),D(c=>{if(c instanceof st)throw Zt(new Me,c);s[o]=c}))),cn(1),Tr(s),me(o=>ls(o)?Q:Ue(o)))}function Va(t,n,e,r){let i=ht(n)??r,s=Pe(t,i),o=s.resolve?s.resolve(n,e):F(i,()=>s(n,e));return ae(o)}function jn(t){return L(n=>{let e=t(n);return e?O(e).pipe(S(()=>n)):p(n)})}var gs=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(s=>s.outlet===g);return r}getResolvedTitleForRoute(e){return e.data[ut]}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>d(qa),providedIn:"root"})}}return t})(),qa=(()=>{class t extends gs{constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||t)(m(Ni))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),pt=new C("",{providedIn:"root",factory:()=>({})}),Ga=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=Dr({type:t,selectors:[["ng-component"]],standalone:!0,features:[ei],decls:1,vars:0,template:function(r,i){r&1&&Jr(0,"router-outlet")},dependencies:[Qo],encapsulation:2})}}return t})();function hr(t){let n=t.children&&t.children.map(hr),e=n?P(f({},t),{children:n}):f({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==g&&(e.component=Ga),e}var ct=new C(""),dr=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=d(Ct)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return p(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let r=ae(e.loadComponent()).pipe(S(ms),D(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),ue(()=>{this.componentLoaders.delete(e)})),i=new sn(r,()=>new Y).pipe(rn());return this.componentLoaders.set(e,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return p({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=Wa(r,this.compiler,e,this.onLoadEndListener).pipe(ue(()=>{this.childrenLoaders.delete(r)})),o=new sn(s,()=>new Y).pipe(rn());return this.childrenLoaders.set(r,o),o}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Wa(t,n,e,r){return ae(t.loadChildren()).pipe(S(ms),U(i=>i instanceof Wr||Array.isArray(i)?p(i):O(n.compileModuleAsync(i))),S(i=>{r&&r(t);let s,o,c=!1;return Array.isArray(i)?(o=i,c=!0):(s=i.create(e).injector,o=s.get(ct,[],{optional:!0,self:!0}).flat()),{routes:o.map(hr),injector:s}}))}function Ha(t){return t&&typeof t=="object"&&"default"in t}function ms(t){return Ha(t)?t.default:t}var fr=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>d(Xa),providedIn:"root"})}}return t})(),Xa=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),vs=new C(""),ys=new C("");function Ja(t,n,e){let r=t.get(ys),i=t.get(x);return t.get(q).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let s,o=new Promise(u=>{s=u}),c=i.startViewTransition(()=>(s(),Za(t))),{onViewTransitionCreated:a}=r;return a&&F(t,()=>a({transition:c,from:n,to:e})),o})}function Za(t){return new Promise(n=>{Hr({read:()=>setTimeout(n)},{injector:t})})}var Ka=new C(""),pr=(()=>{class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Y,this.transitionAbortSubject=new Y,this.configLoader=d(dr),this.environmentInjector=d(le),this.urlSerializer=d(lt),this.rootContexts=d(dt),this.location=d(ze),this.inputBindingEnabled=d(Qt,{optional:!0})!==null,this.titleStrategy=d(gs),this.options=d(pt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=d(fr),this.createViewTransition=d(vs,{optional:!0}),this.navigationErrorHandler=d(Ka,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>p(void 0),this.rootComponentType=null;let e=i=>this.events.next(new Hn(i)),r=i=>this.events.next(new Xn(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;this.transitions?.next(P(f(f({},this.transitions.value),e),{id:r}))}setupNavigations(e,r,i){return this.transitions=new _({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Qe,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(H(s=>s.id!==0),S(s=>P(f({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),L(s=>{let o=!1,c=!1;return p(s).pipe(L(a=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",j.SupersededByNewNavigation),Q;this.currentTransition=s,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?P(f({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&l!=="reload"){let h="";return this.events.next(new se(a.id,this.urlSerializer.serialize(a.rawUrl),h,Vt.IgnoredSameUrlNavigation)),a.resolve(!1),Q}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return p(a).pipe(L(h=>{let y=this.transitions?.getValue();return this.events.next(new Ae(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),y!==this.transitions?.getValue()?Q:Promise.resolve(h)}),Fa(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),D(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=P(f({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let y=new qt(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(y)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:h,extractedUrl:y,source:T,restoredState:M,extras:w}=a,v=new Ae(h,this.urlSerializer.serialize(y),T,M);this.events.next(v);let N=is(this.rootComponentType).snapshot;return this.currentTransition=s=P(f({},a),{targetSnapshot:N,urlAfterRedirects:y,extras:P(f({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,p(s)}else{let h="";return this.events.next(new se(a.id,this.urlSerializer.serialize(a.extractedUrl),h,Vt.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Q}}),D(a=>{let u=new Vn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),S(a=>(this.currentTransition=s=P(f({},a),{guards:sa(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),s)),ma(this.environmentInjector,a=>this.events.next(a)),D(a=>{if(s.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Zt(this.urlSerializer,a.guardsResult);let u=new qn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(u)}),H(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",j.GuardRejected),!1)),jn(a=>{if(a.guards.canActivateChecks.length)return p(a).pipe(D(u=>{let l=new Gn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),L(u=>{let l=!1;return p(u).pipe($a(this.paramsInheritanceStrategy,this.environmentInjector),D({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",j.NoDataFromResolver)}}))}),D(u=>{let l=new Wn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),jn(a=>{let u=l=>{let h=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(l.routeConfig).pipe(D(y=>{l.component=y}),S(()=>{})));for(let y of l.children)h.push(...u(y));return h};return mt(u(a.targetSnapshot.root)).pipe(an(null),ve(1))}),jn(()=>this.afterPreactivation()),L(()=>{let{currentSnapshot:a,targetSnapshot:u}=s,l=this.createViewTransition?.(this.environmentInjector,a.root,u.root);return l?O(l).pipe(S(()=>s)):p(s)}),S(a=>{let u=ea(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=s=P(f({},a),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),D(()=>{this.events.next(new rt)}),ia(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),ve(1),D({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new V(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),Ir(this.transitionAbortSubject.pipe(D(a=>{throw a}))),ue(()=>{!o&&!c&&this.cancelNavigationTransition(s,"",j.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),me(a=>{if(c=!0,us(a))this.events.next(new J(s.id,this.urlSerializer.serialize(s.extractedUrl),a.message,a.cancellationCode)),ra(a)?this.events.next(new De(a.url,a.navigationBehaviorOptions)):s.resolve(!1);else{let u=new nt(s.id,this.urlSerializer.serialize(s.extractedUrl),a,s.targetSnapshot??void 0);try{let l=F(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof st){let{message:h,cancellationCode:y}=Zt(this.urlSerializer,l);this.events.next(new J(s.id,this.urlSerializer.serialize(s.extractedUrl),h,y)),this.events.next(new De(l.redirectTo,l.navigationBehaviorOptions))}else{this.events.next(u);let h=e.errorHandler(a);s.resolve(!!h)}}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return Q}))}))}cancelNavigationTransition(e,r,i){let s=new J(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(s),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Ya(t){return t!==Qe}var Qa=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>d(ec),providedIn:"root"})}}return t})(),ur=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},ec=(()=>{class t extends ur{static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=hn(t)))(i||t)}})()}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ws=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>d(tc),providedIn:"root"})}}return t})(),tc=(()=>{class t extends ws{constructor(){super(...arguments),this.location=d(ze),this.urlSerializer=d(lt),this.options=d(pt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=d(fr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Z,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=is(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&e(r.url,r.state)})}handleRouterEvent(e,r){if(e instanceof Ae)this.stateMemento=this.createStateMemento();else if(e instanceof se)this.rawUrlTree=r.initialUrl;else if(e instanceof qt){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else e instanceof rt?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):e instanceof J&&(e.code===j.GuardRejected||e.code===j.NoDataFromResolver)?this.restoreHistory(r):e instanceof nt?this.restoreHistory(r,!0):e instanceof V&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let i=e instanceof Z?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let s=this.browserPageId,o=f(f({},r.extras.state),this.generateNgRouterState(r.id,s));this.location.replaceState(i,"",o)}else{let s=f(f({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===e.finalUrl&&s===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=hn(t)))(i||t)}})()}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ke=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ke||{});function Rs(t,n){t.events.pipe(H(e=>e instanceof V||e instanceof J||e instanceof nt||e instanceof se),S(e=>e instanceof V||e instanceof se?Ke.COMPLETE:(e instanceof J?e.code===j.Redirect||e.code===j.SupersededByNewNavigation:!1)?Ke.REDIRECTING:Ke.FAILED),H(e=>e!==Ke.REDIRECTING),ve(1)).subscribe(()=>{n()})}function nc(t){throw t}var rc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ic={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},W=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=d(St),this.stateManager=d(ws),this.options=d(pt,{optional:!0})||{},this.pendingTasks=d(_e),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=d(pr),this.urlSerializer=d(lt),this.location=d(ze),this.urlHandlingStrategy=d(fr),this._events=new Y,this.errorHandler=this.options.errorHandler||nc,this.navigated=!1,this.routeReuseStrategy=d(Qa),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=d(ct,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!d(Qt,{optional:!0}),this.eventsSubscription=new vr,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof J&&r.code!==j.Redirect&&r.code!==j.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof V)this.navigated=!0;else if(r instanceof De){let o=r.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a=f({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Ya(i.source)},o);this.scheduleNavigation(c,Qe,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}oc(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Qe,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",r)},0)})}navigateToSyncWithBrowser(e,r,i){let s={replaceUrl:!0},o=i?.navigationId?i:null;if(i){let a=f({},i);delete a.navigationId,delete a.\u0275routerPageId,Object.keys(a).length!==0&&(s.state=a)}let c=this.parseUrl(e);this.scheduleNavigation(c,r,o,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(hr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:c,preserveFragment:a}=r,u=a?this.currentUrlTree.fragment:o,l=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":l=f(f({},this.currentUrlTree.queryParams),s);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=s||null}l!==null&&(l=this.removeEmptyProps(l));let h;try{let y=i?i.snapshot:this.routerState.snapshot.root;h=es(y)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return ts(h,e,l,u??null)}navigateByUrl(e,r={skipLocationChange:!1}){let i=ge(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Qe,null,r)}navigate(e,r={skipLocationChange:!1}){return sc(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=f({},rc):r===!1?i=f({},ic):i=r,ge(e))return xi(this.currentUrlTree,e,i);let s=this.parseUrl(e);return xi(this.currentUrlTree,s,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,s])=>(s!=null&&(r[i]=s),r),{})}scheduleNavigation(e,r,i,s,o){if(this.disposed)return Promise.resolve(!1);let c,a,u;o?(c=o.resolve,a=o.reject,u=o.promise):u=new Promise((h,y)=>{c=h,a=y});let l=this.pendingTasks.add();return Rs(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:s,resolve:c,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function sc(t){for(let n=0;n{class t{constructor(e,r,i,s,o,c){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=s,this.el=o,this.locationStrategy=c,this.href=null,this.onChanges=new Y,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let a=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a==="a"||a==="area",this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof V&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(ge(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,s,o){let c=this.urlTree;if(c===null||this.isAnchorElement&&(e!==0||r||i||s||o||typeof this.target=="string"&&this.target!="_self"))return!0;let a={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,a),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let r=this.href===null?null:zr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(e,r){let i=this.renderer,s=this.el.nativeElement;r!==null?i.setAttribute(s,e,r):i.removeAttribute(s,e)}get urlTree(){return this.routerLinkInput===null?null:ge(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||t)(z(W),z(oe),Pr("tabindex"),z(vn),z(pn),z($e))}}static{this.\u0275dir=wt({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&Zr("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),r&2&&Xr("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",It],skipLocationChange:[2,"skipLocationChange","skipLocationChange",It],replaceUrl:[2,"replaceUrl","replaceUrl",It],routerLink:"routerLink"},standalone:!0,features:[Gr,Rt]})}}return t})(),Iu=(()=>{class t{get isActive(){return this._isActive}constructor(e,r,i,s,o){this.router=e,this.element=r,this.renderer=i,this.cdr=s,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ye,this.routerEventsSubscription=e.events.subscribe(c=>{c instanceof V&&this.update()})}ngAfterContentInit(){p(this.links.changes,p(null)).pipe(Le()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=O(e).pipe(Le()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=ac(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?e.isActive(s,r):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static{this.\u0275fac=function(r){return new(r||t)(z(W),z(pn),z(vn),z(Et),z(zi,8))}}static{this.\u0275dir=wt({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,s){if(r&1&&Kr(s,zi,5),r&2){let o;Yr(o=Qr())&&(i.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Rt]})}}return t})();function ac(t){return!!t.paths}var Yt=class{};var cc=(()=>{class t{constructor(e,r,i,s,o){this.router=e,this.injector=i,this.preloadingStrategy=s,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(H(e=>e instanceof V),ee(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,r){let i=[];for(let s of r){s.providers&&!s._injector&&(s._injector=yn(s.providers,e,`Route: ${s.path}`));let o=s._injector??e,c=s._loadedInjector??o;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(o,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return O(i).pipe(Le())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(e,r):i=p(null);let s=i.pipe(U(o=>o===null?p(void 0):(r._loadedRoutes=o.routes,r._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(r.loadComponent&&!r._loadedComponent){let o=this.loader.loadComponent(r);return O([s,o]).pipe(Le())}else return s})}static{this.\u0275fac=function(r){return new(r||t)(m(W),m(Ct),m(le),m(Yt),m(dr))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ss=new C(""),uc=(()=>{class t{constructor(e,r,i,s,o={}){this.urlSerializer=e,this.transitions=r,this.viewportScroller=i,this.zone=s,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ae?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof V?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof se&&e.code===Vt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Gt&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Gt(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){Br()}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();function Mu(t,...n){return je([{provide:ct,multi:!0,useValue:t},[],{provide:oe,useFactory:Ts,deps:[W]},{provide:Tt,multi:!0,useFactory:bs},n.map(e=>e.\u0275providers)])}function Ts(t){return t.routerState.root}function gt(t,n){return{\u0275kind:t,\u0275providers:n}}function bs(){let t=d(dn);return n=>{let e=t.get(bt);if(n!==e.components[0])return;let r=t.get(W),i=t.get(Cs);t.get(gr)===1&&r.initialNavigation(),t.get(Es,null,un.Optional)?.setUpPreloading(),t.get(Ss,null,un.Optional)?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Cs=new C("",{factory:()=>new Y}),gr=new C("",{providedIn:"root",factory:()=>1});function lc(){return gt(2,[{provide:gr,useValue:0},{provide:wn,multi:!0,deps:[dn],useFactory:n=>{let e=n.get(oi,Promise.resolve());return()=>e.then(()=>new Promise(r=>{let i=n.get(W),s=n.get(Cs);Rs(i,()=>{r(!0)}),n.get(pr).afterPreactivation=()=>(r(!0),s.closed?p(void 0):s),i.initialNavigation()}))}}])}function hc(){return gt(3,[{provide:wn,multi:!0,useFactory:()=>{let n=d(W);return()=>{n.setUpLocationChangeListener()}}},{provide:gr,useValue:2}])}var Es=new C("");function dc(t){return gt(0,[{provide:Es,useExisting:cc},{provide:Yt,useExisting:t}])}function fc(){return gt(8,[ji,{provide:Qt,useExisting:ji}])}function pc(t){let n=[{provide:vs,useValue:Ja},{provide:ys,useValue:f({skipNextTransition:!!t?.skipInitialTransition},t)}];return gt(9,n)}var Bi=new C("ROUTER_FORROOT_GUARD"),gc=[ze,{provide:lt,useClass:Me},W,dt,{provide:oe,useFactory:Ts,deps:[W]},dr,[]],Au=(()=>{class t{constructor(e){}static forRoot(e,r){return{ngModule:t,providers:[gc,[],{provide:ct,multi:!0,useValue:e},{provide:Bi,useFactory:wc,deps:[[W,new ln,new Ar]]},{provide:pt,useValue:r||{}},r?.useHash?vc():yc(),mc(),r?.preloadingStrategy?dc(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Rc(r):[],r?.bindToComponentInputs?fc().\u0275providers:[],r?.enableViewTransitions?pc().\u0275providers:[],Sc()]}}static forChild(e){return{ngModule:t,providers:[{provide:ct,multi:!0,useValue:e}]}}static{this.\u0275fac=function(r){return new(r||t)(m(Bi,8))}}static{this.\u0275mod=yt({type:t})}static{this.\u0275inj=vt({})}}return t})();function mc(){return{provide:Ss,useFactory:()=>{let t=d(li),n=d(q),e=d(pt),r=d(pr),i=d(lt);return e.scrollOffset&&t.setOffset(e.scrollOffset),new uc(i,r,t,n,e)}}}function vc(){return{provide:$e,useClass:ci}}function yc(){return{provide:$e,useClass:ai}}function wc(t){return"guarded"}function Rc(t){return[t.initialNavigation==="disabled"?hc().\u0275providers:[],t.initialNavigation==="enabledBlocking"?lc().\u0275providers:[]]}var Vi=new C("");function Sc(){return[{provide:Vi,useFactory:bs},{provide:Tt,multi:!0,useExisting:Vi}]}export{X as a,Us as b,kc as c,jc as d,Ei as e,au as f,Ni as g,So as h,A as i,oe as j,Qo as k,W as l,zi as m,Iu as n,Mu as o,fc as p,Au as q}; +import{$ as Cr,$a as Lr,A as Rr,Aa as le,Ab as Wr,Ac as St,B as S,Ba as F,Bb as yn,Bc as ti,C as mt,Cc as wn,D as U,Da as Rt,Dc as Tt,E as Le,Ec as bt,F as Sr,Fb as Hr,Fc as Ct,G as on,Gb as Xr,Hc as Et,Ia as hn,Ja as Pr,Jc as ni,Ka as dn,Kc as It,L as H,Ma as _e,N as me,Na as ye,Oa as q,P as ee,Pa as fn,Pc as ri,Qa as pn,Qc as Rn,R as an,Rc as ii,S as ve,Sa as Nr,Sb as Jr,Sc as si,T as Tr,Ta as gn,Tc as x,Ua as xr,Uc as oi,Va as he,Vc as $e,W as ue,Wc as ai,X as te,Xa as mn,Xc as ci,Y as cn,Ya as we,Yc as ze,Z as br,Za as Re,Zb as Zr,Zc as Mt,_a as Ur,a as f,ab as kr,b as P,bb as jr,cb as _r,d as tn,da as Er,db as Fr,dc as Kr,e as vr,ea as L,eb as $r,ed as ui,fa as Ir,fb as de,fc as Yr,g as yr,gc as Qr,gd as At,h as nn,ha as D,hd as li,i as rn,ia as E,ib as zr,id as Dt,j as sn,jb as Fe,k as Y,ka as R,l as _,la as vt,lb as z,ma as Mr,mb as Br,na as C,o as Q,oa as un,pa as m,pc as ei,qa as d,qb as Vr,ra as ln,rb as vn,sa as Ar,sb as qr,ta as ke,ua as Dr,va as yt,w as O,wa as wt,x as p,y as Ue,ya as je,z as wr,za as Or,zb as Gr}from"./chunk-Z3WUIYN5.js";var Ve=class{},Pt=class{},X=class t{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` +`).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),s=i.toLowerCase(),o=e.slice(r+1).trim();this.maybeSetNormalizedName(i,s),this.headers.has(s)?this.headers.get(s).push(o):this.headers.set(s,[o])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.setHeaderEntries(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let s=n.value;if(!s)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(c=>s.indexOf(c)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(s=>s.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var Tn=class{encodeKey(n){return hi(n)}encodeValue(n){return hi(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function As(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let s=i.indexOf("="),[o,c]=s==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,s)),n.decodeValue(i.slice(s+1))],a=e.get(o)||[];a.push(c),e.set(o,a)}),e}var Ds=/%(\d[a-f0-9])/gi,Os={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function hi(t){return encodeURIComponent(t).replace(Ds,(n,e)=>Os[e]??n)}function Ot(t){return`${t}`}var re=class t{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Tn,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=As(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(Ot):[Ot(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(s=>{e.push({param:r,value:s,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Ot(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(Ot(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var bn=class{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function Ps(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function di(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function fi(t){return typeof Blob<"u"&&t instanceof Blob}function pi(t){return typeof FormData<"u"&&t instanceof FormData}function Ns(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Be=class t{constructor(n,e,r,i){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase();let s;if(Ps(this.method)||i?(this.body=r!==void 0?r:null,s=i):s=r,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),this.transferCache=s.transferCache),this.headers??=new X,this.context??=new bn,!this.params)this.params=new re,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let c=e.indexOf("?"),a=c===-1?"?":cy.set(T,n.setHeaders[T]),u)),n.setParams&&(l=Object.keys(n.setParams).reduce((y,T)=>y.set(T,n.setParams[T]),l)),new t(e,r,o,{params:l,headers:u,context:h,reportProgress:a,responseType:i,withCredentials:c,transferCache:s})}},ie=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(ie||{}),qe=class{constructor(n,e=200,r="OK"){this.headers=n.headers||new X,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Nt=class t extends qe{constructor(n={}){super(n),this.type=ie.ResponseHeader}clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Ge=class t extends qe{constructor(n={}){super(n),this.type=ie.Response,this.body=n.body!==void 0?n.body:null}clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},ne=class extends qe{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Ri=200,xs=204;function Sn(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var Us=(()=>{class t{constructor(e){this.handler=e}request(e,r,i={}){let s;if(e instanceof Be)s=e;else{let a;i.headers instanceof X?a=i.headers:a=new X(i.headers);let u;i.params&&(i.params instanceof re?u=i.params:u=new re({fromObject:i.params})),s=new Be(e,r,i.body!==void 0?i.body:null,{headers:a,context:i.context,params:u,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let o=p(s).pipe(ee(a=>this.handler.handle(a)));if(e instanceof Be||i.observe==="events")return o;let c=o.pipe(H(a=>a instanceof Ge));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(S(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return a.body}));case"blob":return c.pipe(S(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new Error("Response is not a Blob.");return a.body}));case"text":return c.pipe(S(a=>{if(a.body!==null&&typeof a.body!="string")throw new Error("Response is not a string.");return a.body}));case"json":default:return c.pipe(S(a=>a.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new re().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,Sn(i,r))}post(e,r,i={}){return this.request("POST",e,Sn(i,r))}put(e,r,i={}){return this.request("PUT",e,Sn(i,r))}static{this.\u0275fac=function(r){return new(r||t)(m(Ve))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Ls=/^\)\]\}',?\n/,ks="X-Request-URL";function gi(t){if(t.url)return t.url;let n=ks.toLocaleLowerCase();return t.headers.get(n)}var js=(()=>{class t{constructor(){this.fetchImpl=d(Cn,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e)),this.ngZone=d(q)}handle(e){return new nn(r=>{let i=new AbortController;return this.doRequest(e,i.signal,r).then(En,s=>r.error(new ne({error:s}))),()=>i.abort()})}doRequest(e,r,i){return tn(this,null,function*(){let s=this.createRequestInit(e),o;try{let T=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,f({signal:r},s)));_s(T),i.next({type:ie.Sent}),o=yield T}catch(T){i.error(new ne({error:T,status:T.status??0,statusText:T.statusText,url:e.urlWithParams,headers:T.headers}));return}let c=new X(o.headers),a=o.statusText,u=gi(o)??e.urlWithParams,l=o.status,h=null;if(e.reportProgress&&i.next(new Nt({headers:c,status:l,statusText:a,url:u})),o.body){let T=o.headers.get("content-length"),M=[],w=o.body.getReader(),v=0,N,K,I=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>tn(this,null,function*(){for(;;){let{done:ce,value:xe}=yield w.read();if(ce)break;if(M.push(xe),v+=xe.length,e.reportProgress){K=e.responseType==="text"?(K??"")+(N??=new TextDecoder).decode(xe,{stream:!0}):void 0;let mr=()=>i.next({type:ie.DownloadProgress,total:T?+T:void 0,loaded:v,partialText:K});I?I.run(mr):mr()}}}));let Ne=this.concatChunks(M,v);try{let ce=o.headers.get("Content-Type")??"";h=this.parseBody(e,Ne,ce)}catch(ce){i.error(new ne({error:ce,headers:new X(o.headers),status:o.status,statusText:o.statusText,url:gi(o)??e.urlWithParams}));return}}l===0&&(l=h?Ri:0),l>=200&&l<300?(i.next(new Ge({body:h,headers:c,status:l,statusText:a,url:u})),i.complete()):i.error(new ne({error:h,headers:c,status:l,statusText:a,url:u}))})}parseBody(e,r,i){switch(e.responseType){case"json":let s=new TextDecoder().decode(r).replace(Ls,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:i});case"arraybuffer":return r.buffer}}createRequestInit(e){let r={},i=e.withCredentials?"include":void 0;if(e.headers.forEach((s,o)=>r[s]=o.join(",")),e.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!e.headers.has("Content-Type")){let s=e.detectContentTypeHeader();s!==null&&(r["Content-Type"]=s)}return{body:e.serializeBody(),method:e.method,headers:r,credentials:i}}concatChunks(e,r){let i=new Uint8Array(r),s=0;for(let o of e)i.set(o,s),s+=o.length;return i}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Cn=class{};function En(){}function _s(t){t.then(En,En)}function Si(t,n){return n(t)}function Fs(t,n){return(e,r)=>n.intercept(e,{handle:i=>t(i,r)})}function $s(t,n,e){return(r,i)=>F(e,()=>n(r,s=>t(s,i)))}var zs=new C(""),In=new C(""),Bs=new C(""),Ti=new C("",{providedIn:"root",factory:()=>!0});function Vs(){let t=null;return(n,e)=>{t===null&&(t=(d(zs,{optional:!0})??[]).reduceRight(Fs,Si));let r=d(_e);if(d(Ti)){let s=r.add();return t(n,e).pipe(ue(()=>r.remove(s)))}else return t(n,e)}}var mi=(()=>{class t extends Ve{constructor(e,r){super(),this.backend=e,this.injector=r,this.chain=null,this.pendingTasks=d(_e),this.contributeToStability=d(Ti)}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(In),...this.injector.get(Bs,[])]));this.chain=r.reduceRight((i,s)=>$s(i,s,this.injector),Si)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(ue(()=>this.pendingTasks.remove(r)))}else return this.chain(e,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||t)(m(Pt),m(le))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();var qs=/^\)\]\}',?\n/;function Gs(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var vi=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new E(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?O(r.\u0275loadImpl()):p(null)).pipe(L(()=>new nn(s=>{let o=r.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((w,v)=>o.setRequestHeader(w,v.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){let w=e.detectContentTypeHeader();w!==null&&o.setRequestHeader("Content-Type",w)}if(e.responseType){let w=e.responseType.toLowerCase();o.responseType=w!=="json"?w:"text"}let c=e.serializeBody(),a=null,u=()=>{if(a!==null)return a;let w=o.statusText||"OK",v=new X(o.getAllResponseHeaders()),N=Gs(o)||e.url;return a=new Nt({headers:v,status:o.status,statusText:w,url:N}),a},l=()=>{let{headers:w,status:v,statusText:N,url:K}=u(),I=null;v!==xs&&(I=typeof o.response>"u"?o.responseText:o.response),v===0&&(v=I?Ri:0);let Ne=v>=200&&v<300;if(e.responseType==="json"&&typeof I=="string"){let ce=I;I=I.replace(qs,"");try{I=I!==""?JSON.parse(I):null}catch(xe){I=ce,Ne&&(Ne=!1,I={error:xe,text:I})}}Ne?(s.next(new Ge({body:I,headers:w,status:v,statusText:N,url:K||void 0})),s.complete()):s.error(new ne({error:I,headers:w,status:v,statusText:N,url:K||void 0}))},h=w=>{let{url:v}=u(),N=new ne({error:w,status:o.status||0,statusText:o.statusText||"Unknown Error",url:v||void 0});s.error(N)},y=!1,T=w=>{y||(s.next(u()),y=!0);let v={type:ie.DownloadProgress,loaded:w.loaded};w.lengthComputable&&(v.total=w.total),e.responseType==="text"&&o.responseText&&(v.partialText=o.responseText),s.next(v)},M=w=>{let v={type:ie.UploadProgress,loaded:w.loaded};w.lengthComputable&&(v.total=w.total),s.next(v)};return o.addEventListener("load",l),o.addEventListener("error",h),o.addEventListener("timeout",h),o.addEventListener("abort",h),e.reportProgress&&(o.addEventListener("progress",T),c!==null&&o.upload&&o.upload.addEventListener("progress",M)),o.send(c),s.next({type:ie.Sent}),()=>{o.removeEventListener("error",h),o.removeEventListener("abort",h),o.removeEventListener("load",l),o.removeEventListener("timeout",h),e.reportProgress&&(o.removeEventListener("progress",T),c!==null&&o.upload&&o.upload.removeEventListener("progress",M)),o.readyState!==o.DONE&&o.abort()}})))}static{this.\u0275fac=function(r){return new(r||t)(m(Dt))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),bi=new C(""),Ws="XSRF-TOKEN",Hs=new C("",{providedIn:"root",factory:()=>Ws}),Xs="X-XSRF-TOKEN",Js=new C("",{providedIn:"root",factory:()=>Xs}),xt=class{},Zs=(()=>{class t{constructor(e,r,i){this.doc=e,this.platform=r,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Mt(e,this.cookieName),this.lastCookieString=e),this.lastToken}static{this.\u0275fac=function(r){return new(r||t)(m(x),m(he),m(Hs))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();function Ks(t,n){let e=t.url.toLowerCase();if(!d(bi)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return n(t);let r=d(xt).getToken(),i=d(Js);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),n(t)}var Ci=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Ci||{});function Ys(t,n){return{\u0275kind:t,\u0275providers:n}}function kc(...t){let n=[Us,vi,mi,{provide:Ve,useExisting:mi},{provide:Pt,useFactory:()=>d(js,{optional:!0})??d(vi)},{provide:In,useValue:Ks,multi:!0},{provide:bi,useValue:!0},{provide:xt,useClass:Zs}];for(let e of t)n.push(...e.\u0275providers);return je(n)}var yi=new C("");function jc(){return Ys(Ci.LegacyInterceptors,[{provide:yi,useFactory:Vs},{provide:In,useExisting:yi,multi:!0}])}var Dn=class extends si{constructor(){super(...arguments),this.supportsDOMEvents=!0}},On=class t extends Dn{static makeCurrent(){ii(new t)}onAndCancel(n,e,r){return n.addEventListener(e,r),()=>{n.removeEventListener(e,r)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=to();return e==null?null:no(e)}resetBaseElement(){We=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Mt(document.cookie,n)}},We=null;function to(){return We=We||document.querySelector("base"),We?We.getAttribute("href"):null}function no(t){return new URL(t,document.baseURI).pathname}var ro=(()=>{class t{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Pn=new C(""),Ai=(()=>{class t{constructor(e,r){this._zone=r,this._eventNameToPlugin=new Map,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,r,i){return this._findPluginFor(r).addEventListener(e,r,i)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(s=>s.supports(e)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(e,r),r}static{this.\u0275fac=function(r){return new(r||t)(m(Pn),m(q))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Ut=class{constructor(n){this._doc=n}},Mn="ng-app-id",Di=(()=>{class t{constructor(e,r,i,s={}){this.doc=e,this.appId=r,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=At(s),this.resetHostNodes()}addStyles(e){for(let r of e)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(e){for(let r of e)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let e=this.styleNodesInDOM;e&&(e.forEach(r=>r.remove()),e.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(let r of this.getAllStyles())this.addStyleToHost(e,r)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(let r of this.hostNodes)this.addStyleToHost(r,e)}onStyleRemoved(e){let r=this.styleRef;r.get(e)?.elements?.forEach(i=>i.remove()),r.delete(e)}collectServerRenderedStyles(){let e=this.doc.head?.querySelectorAll(`style[${Mn}="${this.appId}"]`);if(e?.length){let r=new Map;return e.forEach(i=>{i.textContent!=null&&r.set(i.textContent,i)}),r}return null}changeUsageCount(e,r){let i=this.styleRef;if(i.has(e)){let s=i.get(e);return s.usage+=r,s.usage}return i.set(e,{usage:r,elements:[]}),r}getStyleElement(e,r){let i=this.styleNodesInDOM,s=i?.get(r);if(s?.parentNode===e)return i.delete(r),s.removeAttribute(Mn),s;{let o=this.doc.createElement("style");return this.nonce&&o.setAttribute("nonce",this.nonce),o.textContent=r,this.platformIsServer&&o.setAttribute(Mn,this.appId),e.appendChild(o),o}}addStyleToHost(e,r){let i=this.getStyleElement(e,r),s=this.styleRef,o=s.get(r)?.elements;o?o.push(i):s.set(r,{elements:[i],usage:1})}resetHostNodes(){let e=this.hostNodes;e.clear(),e.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||t)(m(x),m(gn),m(mn,8),m(he))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),An={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},xn=/%COMP%/g,Oi="%COMP%",io=`_nghost-${Oi}`,so=`_ngcontent-${Oi}`,oo=!0,ao=new C("",{providedIn:"root",factory:()=>oo});function co(t){return so.replace(xn,t)}function uo(t){return io.replace(xn,t)}function Pi(t,n){return n.map(e=>e.replace(xn,t))}var Ei=(()=>{class t{constructor(e,r,i,s,o,c,a,u=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=o,this.platformId=c,this.ngZone=a,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=At(c),this.defaultRenderer=new He(e,o,a,this.platformIsServer)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===ke.ShadowDom&&(r=P(f({},r),{encapsulation:ke.Emulated}));let i=this.getOrCreateRenderer(e,r);return i instanceof Lt?i.applyToHost(e):i instanceof Xe&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,s=i.get(r.id);if(!s){let o=this.doc,c=this.ngZone,a=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(r.encapsulation){case ke.Emulated:s=new Lt(a,u,r,this.appId,l,o,c,h);break;case ke.ShadowDom:return new Nn(a,u,e,r,o,c,this.nonce,h);default:s=new Xe(a,u,r,l,o,c,h);break}i.set(r.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||t)(m(Ai),m(Di),m(gn),m(ao),m(x),m(he),m(q),m(mn))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),He=class{constructor(n,e,r,i){this.eventManager=n,this.doc=e,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,e){return e?this.doc.createElementNS(An[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Ii(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(Ii(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let s=An[i];s?n.setAttributeNS(s,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=An[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(Fe.DashCase|Fe.Important)?n.style.setProperty(e,r,i&Fe.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Fe.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r){if(typeof n=="string"&&(n=Rn().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);return this.eventManager.addEventListener(n,e,this.decoratePreventDefault(r))}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function Ii(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Nn=class extends He{constructor(n,e,r,i,s,o,c,a){super(n,s,o,a),this.sharedStylesHost=e,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Pi(i.id,i.styles);for(let l of u){let h=document.createElement("style");c&&h.setAttribute("nonce",c),h.textContent=l,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xe=class extends He{constructor(n,e,r,i,s,o,c,a){super(n,s,o,c),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=a?Pi(a,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Lt=class extends Xe{constructor(n,e,r,i,s,o,c,a){let u=i+"-"+r.id;super(n,e,r,s,o,c,a,u),this.contentAttr=co(u),this.hostAttr=uo(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}},lo=(()=>{class t extends Ut{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i){return e.addEventListener(r,i,!1),()=>this.removeEventListener(e,r,i)}removeEventListener(e,r,i){return e.removeEventListener(r,i)}static{this.\u0275fac=function(r){return new(r||t)(m(x))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})(),Mi=["alt","control","meta","shift"],ho={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},fo={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},po=(()=>{class t extends Ut{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i){let s=t.parseEventName(r),o=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rn().onAndCancel(e,s.domEventName,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let s=t._normalizeKey(r.pop()),o="",c=r.indexOf("code");if(c>-1&&(r.splice(c,1),o="code."),Mi.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),o+=u+".")}),o+=s,r.length!=0||s.length===0)return null;let a={};return a.domEventName=i,a.fullKey=o,a}static matchEventFullKeyCode(e,r){let i=ho[e.key]||e.key,s="";return r.indexOf("code.")>-1&&(i=e.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Mi.forEach(o=>{if(o!==i){let c=fo[o];c(e)&&(s+=o+".")}}),s+=i,s===r)}static eventCallback(e,r,i){return s=>{t.matchEventFullKeyCode(s,e)&&i.runGuarded(()=>r(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static{this.\u0275fac=function(r){return new(r||t)(m(x))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();function au(t,n){return ni(f({rootComponent:t},go(n)))}function go(t){return{appProviders:[...Ro,...t?.providers??[]],platformProviders:wo}}function mo(){On.makeCurrent()}function vo(){return new fn}function yo(){return Nr(document),document}var wo=[{provide:he,useValue:ui},{provide:xr,useValue:mo,multi:!0},{provide:x,useFactory:yo,deps:[]}];var Ro=[{provide:Or,useValue:"root"},{provide:fn,useFactory:vo,deps:[]},{provide:Pn,useClass:lo,multi:!0,deps:[x,q,he]},{provide:Pn,useClass:po,multi:!0,deps:[x]},Ei,Di,Ai,{provide:Vr,useExisting:Ei},{provide:Dt,useClass:ro,deps:[]},[]];var Ni=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static{this.\u0275fac=function(r){return new(r||t)(m(x))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var So=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=m(To),i},providedIn:"root"})}}return t})(),To=(()=>{class t extends So{constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case de.NONE:return r;case de.HTML:return Re(r,"HTML")?we(r):$r(this._doc,String(r)).toString();case de.STYLE:return Re(r,"Style")?we(r):r;case de.SCRIPT:if(Re(r,"Script"))return we(r);throw new E(5200,!1);case de.URL:return Re(r,"URL")?we(r):Fr(String(r));case de.RESOURCE_URL:if(Re(r,"ResourceURL"))return we(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(e){return Ur(e)}bypassSecurityTrustStyle(e){return Lr(e)}bypassSecurityTrustScript(e){return kr(e)}bypassSecurityTrustUrl(e){return jr(e)}bypassSecurityTrustResourceUrl(e){return _r(e)}static{this.\u0275fac=function(r){return new(r||t)(m(x))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var g="primary",ut=Symbol("RouteTitle"),_n=class{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ie(t){return new _n(t)}function Co(t,n,e){let r=e.path.split("/");if(r.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||r.lengthr[s]===i)}else return t===n}function Gi(t){return t.length>0?t[t.length-1]:null}function ae(t){return wr(t)?t:ti(t)?O(Promise.resolve(t)):p(t)}var Io={exact:Hi,subset:Xi},Wi={exact:Mo,subset:Ao,ignored:()=>!0};function xi(t,n,e){return Io[e.paths](t.root,n.root,e.matrixParams)&&Wi[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function Mo(t,n){return G(t,n)}function Hi(t,n,e){if(!pe(t.segments,n.segments)||!_t(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!Hi(t.children[r],n.children[r],e))return!1;return!0}function Ao(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>qi(t[e],n[e]))}function Xi(t,n,e){return Ji(t,n,n.segments,e)}function Ji(t,n,e,r){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!pe(i,e)||n.hasChildren()||!_t(i,e,r))}else if(t.segments.length===e.length){if(!pe(t.segments,e)||!_t(t.segments,e,r))return!1;for(let i in n.children)if(!t.children[i]||!Xi(t.children[i],n.children[i],r))return!1;return!0}else{let i=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!pe(t.segments,i)||!_t(t.segments,i,r)||!t.children[g]?!1:Ji(t.children[g],n,s,r)}}function _t(t,n,e){return n.every((r,i)=>Wi[e](t[i].parameters,r.parameters))}var Z=class{constructor(n=new b([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Ie(this.queryParams),this._queryParamMap}toString(){return Po.serialize(this)}},b=class{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ft(this)}},fe=class{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=Ie(this.parameters),this._parameterMap}toString(){return Ki(this)}};function Do(t,n){return pe(t,n)&&t.every((e,r)=>G(e.parameters,n[r].parameters))}function pe(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function Oo(t,n){let e=[];return Object.entries(t.children).forEach(([r,i])=>{r===g&&(e=e.concat(n(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==g&&(e=e.concat(n(i,r)))}),e}var lt=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>new Me,providedIn:"root"})}}return t})(),Me=class{parse(n){let e=new zn(n);return new Z(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Je(n.root,!0)}`,r=Uo(n.queryParams),i=typeof n.fragment=="string"?`#${No(n.fragment)}`:"";return`${e}${r}${i}`}},Po=new Me;function Ft(t){return t.segments.map(n=>Ki(n)).join("/")}function Je(t,n){if(!t.hasChildren())return Ft(t);if(n){let e=t.children[g]?Je(t.children[g],!1):"",r=[];return Object.entries(t.children).forEach(([i,s])=>{i!==g&&r.push(`${i}:${Je(s,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=Oo(t,(r,i)=>i===g?[Je(t.children[g],!1)]:[`${i}:${Je(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[g]!=null?`${Ft(t)}/${e[0]}`:`${Ft(t)}/(${e.join("//")})`}}function Zi(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function kt(t){return Zi(t).replace(/%3B/gi,";")}function No(t){return encodeURI(t)}function $n(t){return Zi(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function $t(t){return decodeURIComponent(t)}function Ui(t){return $t(t.replace(/\+/g,"%20"))}function Ki(t){return`${$n(t.path)}${xo(t.parameters)}`}function xo(t){return Object.entries(t).map(([n,e])=>`;${$n(n)}=${$n(e)}`).join("")}function Uo(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(i=>`${kt(e)}=${kt(i)}`).join("&"):`${kt(e)}=${kt(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var Lo=/^[^\/()?;#]+/;function Un(t){let n=t.match(Lo);return n?n[0]:""}var ko=/^[^\/()?;=#]+/;function jo(t){let n=t.match(ko);return n?n[0]:""}var _o=/^[^=?&#]+/;function Fo(t){let n=t.match(_o);return n?n[0]:""}var $o=/^[^&#]+/;function zo(t){let n=t.match($o);return n?n[0]:""}var zn=class{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new b([],{}):new b([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(r[g]=new b(n,e)),r}parseSegment(){let n=Un(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(n),new fe($t(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=jo(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let i=Un(this.remaining);i&&(r=i,this.capture(r))}n[$t(e)]=$t(r)}parseQueryParam(n){let e=Fo(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let o=zo(this.remaining);o&&(r=o,this.capture(r))}let i=Ui(e),s=Ui(r);if(n.hasOwnProperty(i)){let o=n[i];Array.isArray(o)||(o=[o],n[i]=o),o.push(s)}else n[i]=s}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Un(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new E(4010,!1);let s;r.indexOf(":")>-1?(s=r.slice(0,r.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=g);let o=this.parseChildren();e[s]=Object.keys(o).length===1?o[g]:new b([],o),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new E(4011,!1)}};function Yi(t){return t.segments.length>0?new b([],{[g]:t}):t}function Qi(t){let n={};for(let[r,i]of Object.entries(t.children)){let s=Qi(i);if(r===g&&s.segments.length===0&&s.hasChildren())for(let[o,c]of Object.entries(s.children))n[o]=c;else(s.segments.length>0||s.hasChildren())&&(n[r]=s)}let e=new b(t.segments,n);return Bo(e)}function Bo(t){if(t.numberOfChildren===1&&t.children[g]){let n=t.children[g];return new b(t.segments.concat(n.segments),n.children)}return t}function ge(t){return t instanceof Z}function Vo(t,n,e=null,r=null){let i=es(t);return ts(i,n,e,r)}function es(t){let n;function e(s){let o={};for(let a of s.children){let u=e(a);o[a.outlet]=u}let c=new b(s.url,o);return s===t&&(n=c),c}let r=e(t.root),i=Yi(r);return n??i}function ts(t,n,e,r){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return Ln(i,i,i,e,r);let s=qo(n);if(s.toRoot())return Ln(i,i,new b([],{}),e,r);let o=Go(s,i,t),c=o.processChildren?Ye(o.segmentGroup,o.index,s.commands):rs(o.segmentGroup,o.index,s.commands);return Ln(i,o.segmentGroup,c,e,r)}function zt(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function tt(t){return typeof t=="object"&&t!=null&&t.outlets}function Ln(t,n,e,r,i){let s={};r&&Object.entries(r).forEach(([a,u])=>{s[a]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let o;t===n?o=e:o=ns(t,n,e);let c=Yi(Qi(o));return new Z(c,s,i)}function ns(t,n,e){let r={};return Object.entries(t.children).forEach(([i,s])=>{s===n?r[i]=e:r[i]=ns(s,n,e)}),new b(t.segments,r)}var Bt=class{constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&zt(r[0]))throw new E(4003,!1);let i=r.find(tt);if(i&&i!==Gi(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function qo(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Bt(!0,0,t);let n=0,e=!1,r=t.reduce((i,s,o)=>{if(typeof s=="object"&&s!=null){if(s.outlets){let c={};return Object.entries(s.outlets).forEach(([a,u])=>{c[a]=typeof u=="string"?u.split("/"):u}),[...i,{outlets:c}]}if(s.segmentPath)return[...i,s.segmentPath]}return typeof s!="string"?[...i,s]:o===0?(s.split("/").forEach((c,a)=>{a==0&&c==="."||(a==0&&c===""?e=!0:c===".."?n++:c!=""&&i.push(c))}),i):[...i,s]},[]);return new Bt(e,n,r)}var be=class{constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function Go(t,n,e){if(t.isAbsolute)return new be(n,!0,0);if(!e)return new be(n,!1,NaN);if(e.parent===null)return new be(e,!0,0);let r=zt(t.commands[0])?0:1,i=e.segments.length-1+r;return Wo(e,i,t.numberOfDoubleDots)}function Wo(t,n,e){let r=t,i=n,s=e;for(;s>i;){if(s-=i,r=r.parent,!r)throw new E(4005,!1);i=r.segments.length}return new be(r,!1,i-s)}function Ho(t){return tt(t[0])?t[0].outlets:{[g]:t}}function rs(t,n,e){if(t??=new b([],{}),t.segments.length===0&&t.hasChildren())return Ye(t,n,e);let r=Xo(t,n,e),i=e.slice(r.commandIndex);if(r.match&&r.pathIndexs!==g)&&t.children[g]&&t.numberOfChildren===1&&t.children[g].segments.length===0){let s=Ye(t.children[g],n,e);return new b(t.segments,s.children)}return Object.entries(r).forEach(([s,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(i[s]=rs(t.children[s],n,o))}),Object.entries(t.children).forEach(([s,o])=>{r[s]===void 0&&(i[s]=o)}),new b(t.segments,i)}}function Xo(t,n,e){let r=0,i=n,s={match:!1,pathIndex:0,commandIndex:0};for(;i=e.length)return s;let o=t.segments[i],c=e[r];if(tt(c))break;let a=`${c}`,u=r0&&a===void 0)break;if(a&&u&&typeof u=="object"&&u.outlets===void 0){if(!ki(a,u,o))return s;r+=2}else{if(!ki(a,{},o))return s;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Bn(t,n,e){let r=t.segments.slice(0,n),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=Bn(new b([],{}),0,r))}),n}function Li(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function ki(t,n,e){return t==e.path&&G(n,e.parameters)}var Qe="imperative",A=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(A||{}),$=class{constructor(n,e){this.id=n,this.url=e}},Ae=class extends ${constructor(n,e,r="imperative",i=null){super(n,e),this.type=A.NavigationStart,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},V=class extends ${constructor(n,e,r){super(n,e),this.urlAfterRedirects=r,this.type=A.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},j=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(j||{}),Vt=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Vt||{}),J=class extends ${constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i,this.type=A.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},se=class extends ${constructor(n,e,r,i){super(n,e),this.reason=r,this.code=i,this.type=A.NavigationSkipped}},nt=class extends ${constructor(n,e,r,i){super(n,e),this.error=r,this.target=i,this.type=A.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},qt=class extends ${constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=A.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vn=class extends ${constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=A.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qn=class extends ${constructor(n,e,r,i,s){super(n,e),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=s,this.type=A.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Gn=class extends ${constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=A.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wn=class extends ${constructor(n,e,r,i){super(n,e),this.urlAfterRedirects=r,this.state=i,this.type=A.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hn=class{constructor(n){this.route=n,this.type=A.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Xn=class{constructor(n){this.route=n,this.type=A.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Jn=class{constructor(n){this.snapshot=n,this.type=A.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Zn=class{constructor(n){this.snapshot=n,this.type=A.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Kn=class{constructor(n){this.snapshot=n,this.type=A.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yn=class{constructor(n){this.snapshot=n,this.type=A.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Gt=class{constructor(n,e,r){this.routerEvent=n,this.position=e,this.anchor=r,this.type=A.Scroll}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},rt=class{},De=class{constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Zo(t,n){return t.providers&&!t._injector&&(t._injector=yn(t.providers,n,`Route: ${t.path}`)),t._injector??n}function B(t){return t.outlet||g}function Ko(t,n){let e=t.filter(r=>B(r)===n);return e.push(...t.filter(r=>B(r)!==n)),e}function ht(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Qn=class{get injector(){return ht(this.route?.snapshot)??this.rootInjector}set injector(n){}constructor(n){this.rootInjector=n,this.outlet=null,this.route=null,this.children=new dt(this.rootInjector),this.attachRef=null}},dt=(()=>{class t{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,r){let i=this.getOrCreateContext(e);i.outlet=r,this.contexts.set(e,i)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Qn(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static{this.\u0275fac=function(r){return new(r||t)(m(le))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Wt=class{constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=er(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=er(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=tr(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return tr(n,this._root).map(e=>e.value)}};function er(t,n){if(t===n.value)return n;for(let e of n.children){let r=er(t,e);if(r)return r}return null}function tr(t,n){if(t===n.value)return[n];for(let e of n.children){let r=tr(t,e);if(r.length)return r.unshift(n),r}return[]}var k=class{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Te(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Ht=class extends Wt{constructor(n,e){super(n),this.snapshot=e,lr(this,n)}toString(){return this.snapshot.toString()}};function is(t){let n=Yo(t),e=new _([new fe("",{})]),r=new _({}),i=new _({}),s=new _({}),o=new _(""),c=new oe(e,r,s,o,i,g,t,n.root);return c.snapshot=n.root,new Ht(new k(c,[]),n)}function Yo(t){let n={},e={},r={},i="",s=new Ce([],n,r,i,e,g,t,null,{});return new Jt("",new k(s,[]))}var oe=class{constructor(n,e,r,i,s,o,c,a){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=s,this.outlet=o,this.component=c,this._futureSnapshot=a,this.title=this.dataSubject?.pipe(S(u=>u[ut]))??p(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(S(n=>Ie(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(S(n=>Ie(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Xt(t,n,e="emptyOnly"){let r,{routeConfig:i}=t;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:f(f({},n.params),t.params),data:f(f({},n.data),t.data),resolve:f(f(f(f({},t.data),n.data),i?.data),t._resolvedData)}:r={params:f({},t.params),data:f({},t.data),resolve:f(f({},t.data),t._resolvedData??{})},i&&os(i)&&(r.resolve[ut]=i.title),r}var Ce=class{get title(){return this.data?.[ut]}constructor(n,e,r,i,s,o,c,a,u){this.url=n,this.params=e,this.queryParams=r,this.fragment=i,this.data=s,this.outlet=o,this.component=c,this.routeConfig=a,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ie(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ie(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Jt=class extends Wt{constructor(n,e){super(e),this.url=n,lr(this,e)}toString(){return ss(this._root)}};function lr(t,n){n.value._routerState=t,n.children.forEach(e=>lr(t,e))}function ss(t){let n=t.children.length>0?` { ${t.children.map(ss).join(", ")} } `:"";return`${t.value}${n}`}function kn(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,G(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),G(n.params,e.params)||t.paramsSubject.next(e.params),Eo(n.url,e.url)||t.urlSubject.next(e.url),G(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function nr(t,n){let e=G(t.params,n.params)&&Do(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||nr(t.parent,n.parent))}function os(t){return typeof t.title=="string"||t.title===null}var Qo=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=g,this.activateEvents=new ye,this.deactivateEvents=new ye,this.attachEvents=new ye,this.detachEvents=new ye,this.parentContexts=d(dt),this.location=d(qr),this.changeDetector=d(Et),this.inputBinder=d(Qt,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:i}=e.name;if(r)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=e;let i=this.location,o=e.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,a=new rr(e,c,i.injector);this.activated=i.createComponent(o,{index:i.length,injector:a,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275dir=wt({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Rt]})}}return t})(),rr=class t{__ngOutletInjector(n){return new t(this.route,this.childContexts,n)}constructor(n,e,r){this.route=n,this.childContexts=e,this.parent=r}get(n,e){return n===oe?this.route:n===dt?this.childContexts:this.parent.get(n,e)}},Qt=new C(""),ji=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,i=mt([r.queryParams,r.params,r.data]).pipe(L(([s,o,c],a)=>(c=f(f(f({},s),o),c),a===0?p(c):Promise.resolve(c)))).subscribe(s=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let o=ri(r.component);if(!o){this.unsubscribeFromRouteData(e);return}for(let{templateName:c}of o.inputs)e.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(e,i)}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();function ea(t,n,e){let r=it(t,n._root,e?e._root:void 0);return new Ht(r,n)}function it(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let i=ta(t,n,e);return new k(r,i)}else{if(t.shouldAttach(n.value)){let s=t.retrieve(n.value);if(s!==null){let o=s.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(c=>it(t,c)),o}}let r=na(n.value),i=n.children.map(s=>it(t,s));return new k(r,i)}}function ta(t,n,e){return n.children.map(r=>{for(let i of e.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return it(t,r,i);return it(t,r)})}function na(t){return new oe(new _(t.url),new _(t.params),new _(t.queryParams),new _(t.fragment),new _(t.data),t.outlet,t.component,t)}var st=class{constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},as="ngNavigationCancelingError";function Zt(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=ge(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=cs(!1,j.Redirect);return i.url=e,i.navigationBehaviorOptions=r,i}function cs(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[as]=!0,e.cancellationCode=n,e}function ra(t){return us(t)&&ge(t.url)}function us(t){return!!t&&t[as]}var ia=(t,n,e,r)=>S(i=>(new ir(n,i.targetRouterState,i.currentRouterState,e,r).activate(t),i)),ir=class{constructor(n,e,r,i,s){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=s}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),kn(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let i=Te(e);n.children.forEach(s=>{let o=s.value.outlet;this.deactivateRoutes(s,i[o],r),delete i[o]}),Object.values(i).forEach(s=>{this.deactivateRouteAndItsChildren(s,r)})}deactivateRoutes(n,e,r){let i=n.value,s=e?e.value:null;if(i===s)if(i.component){let o=r.getContext(i.outlet);o&&this.deactivateChildRoutes(n,e,o.children)}else this.deactivateChildRoutes(n,e,r);else s&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,s=Te(n);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);if(r&&r.outlet){let o=r.outlet.detach(),c=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:c})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),i=r&&n.value.component?r.children:e,s=Te(n);for(let o of Object.values(s))this.deactivateRouteAndItsChildren(o,i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let i=Te(e);n.children.forEach(s=>{this.activateRoutes(s,i[s.value.outlet],r),this.forwardEvent(new Yn(s.value.snapshot))}),n.children.length&&this.forwardEvent(new Zn(n.value.snapshot))}activateRoutes(n,e,r){let i=n.value,s=e?e.value:null;if(kn(i),i===s)if(i.component){let o=r.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,o.children)}else this.activateChildRoutes(n,e,r);else if(i.component){let o=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let c=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(c.contexts),o.attachRef=c.componentRef,o.route=c.route.value,o.outlet&&o.outlet.attach(c.componentRef,c.route.value),kn(c.route.value),this.activateChildRoutes(n,null,o.children)}else o.attachRef=null,o.route=i,o.outlet&&o.outlet.activateWith(i,o.injector),this.activateChildRoutes(n,null,o.children)}else this.activateChildRoutes(n,null,r)}},Kt=class{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ee=class{constructor(n,e){this.component=n,this.route=e}};function sa(t,n,e){let r=t._root,i=n?n._root:null;return Ze(r,i,e,[r.value])}function oa(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Pe(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Mr(t)?t:n.get(t):r}function Ze(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=Te(n);return t.children.forEach(o=>{aa(o,s[o.value.outlet],e,r.concat([o.value]),i),delete s[o.value.outlet]}),Object.entries(s).forEach(([o,c])=>et(c,e.getContext(o),i)),i}function aa(t,n,e,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let s=t.value,o=n?n.value:null,c=e?e.getContext(t.value.outlet):null;if(o&&s.routeConfig===o.routeConfig){let a=ca(o,s,s.routeConfig.runGuardsAndResolvers);a?i.canActivateChecks.push(new Kt(r)):(s.data=o.data,s._resolvedData=o._resolvedData),s.component?Ze(t,n,c?c.children:null,r,i):Ze(t,n,e,r,i),a&&c&&c.outlet&&c.outlet.isActivated&&i.canDeactivateChecks.push(new Ee(c.outlet.component,o))}else o&&et(n,c,i),i.canActivateChecks.push(new Kt(r)),s.component?Ze(t,null,c?c.children:null,r,i):Ze(t,null,e,r,i);return i}function ca(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!pe(t.url,n.url);case"pathParamsOrQueryParamsChange":return!pe(t.url,n.url)||!G(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nr(t,n)||!G(t.queryParams,n.queryParams);case"paramsChange":default:return!nr(t,n)}}function et(t,n,e){let r=Te(t),i=t.value;Object.entries(r).forEach(([s,o])=>{i.component?n?et(o,n.children.getContext(s),e):et(o,null,e):et(o,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Ee(n.outlet.component,i)):e.canDeactivateChecks.push(new Ee(null,i)):e.canDeactivateChecks.push(new Ee(null,i))}function ft(t){return typeof t=="function"}function ua(t){return typeof t=="boolean"}function la(t){return t&&ft(t.canLoad)}function ha(t){return t&&ft(t.canActivate)}function da(t){return t&&ft(t.canActivateChild)}function fa(t){return t&&ft(t.canDeactivate)}function pa(t){return t&&ft(t.canMatch)}function ls(t){return t instanceof Rr||t?.name==="EmptyError"}var jt=Symbol("INITIAL_VALUE");function Oe(){return L(t=>mt(t.map(n=>n.pipe(ve(1),Er(jt)))).pipe(S(n=>{for(let e of n)if(e!==!0){if(e===jt)return jt;if(e===!1||ga(e))return e}return!0}),H(n=>n!==jt),ve(1)))}function ga(t){return ge(t)||t instanceof st}function ma(t,n){return U(e=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:o}}=e;return o.length===0&&s.length===0?p(P(f({},e),{guardsResult:!0})):va(o,r,i,t).pipe(U(c=>c&&ua(c)?ya(r,s,t,n):p(c)),S(c=>P(f({},e),{guardsResult:c})))})}function va(t,n,e,r){return O(t).pipe(U(i=>ba(i.component,i.route,e,n,r)),te(i=>i!==!0,!0))}function ya(t,n,e,r){return O(n).pipe(ee(i=>Sr(Ra(i.route.parent,r),wa(i.route,r),Ta(t,i.path,e),Sa(t,i.route,e))),te(i=>i!==!0,!0))}function wa(t,n){return t!==null&&n&&n(new Kn(t)),p(!0)}function Ra(t,n){return t!==null&&n&&n(new Jn(t)),p(!0)}function Sa(t,n,e){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return p(!0);let i=r.map(s=>on(()=>{let o=ht(n)??e,c=Pe(s,o),a=ha(c)?c.canActivate(n,t):F(o,()=>c(n,t));return ae(a).pipe(te())}));return p(i).pipe(Oe())}function Ta(t,n,e){let r=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(o=>oa(o)).filter(o=>o!==null).map(o=>on(()=>{let c=o.guards.map(a=>{let u=ht(o.node)??e,l=Pe(a,u),h=da(l)?l.canActivateChild(r,t):F(u,()=>l(r,t));return ae(h).pipe(te())});return p(c).pipe(Oe())}));return p(s).pipe(Oe())}function ba(t,n,e,r,i){let s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!s||s.length===0)return p(!0);let o=s.map(c=>{let a=ht(n)??i,u=Pe(c,a),l=fa(u)?u.canDeactivate(t,n,e,r):F(a,()=>u(t,n,e,r));return ae(l).pipe(te())});return p(o).pipe(Oe())}function Ca(t,n,e,r){let i=n.canLoad;if(i===void 0||i.length===0)return p(!0);let s=i.map(o=>{let c=Pe(o,t),a=la(c)?c.canLoad(n,e):F(t,()=>c(n,e));return ae(a)});return p(s).pipe(Oe(),hs(r))}function hs(t){return yr(D(n=>{if(typeof n!="boolean")throw Zt(t,n)}),S(n=>n===!0))}function Ea(t,n,e,r){let i=n.canMatch;if(!i||i.length===0)return p(!0);let s=i.map(o=>{let c=Pe(o,t),a=pa(c)?c.canMatch(n,e):F(t,()=>c(n,e));return ae(a)});return p(s).pipe(Oe(),hs(r))}var ot=class{constructor(n){this.segmentGroup=n||null}},at=class extends Error{constructor(n){super(),this.urlTree=n}};function Se(t){return Ue(new ot(t))}function Ia(t){return Ue(new E(4e3,!1))}function Ma(t){return Ue(cs(!1,j.GuardRejected))}var sr=class{constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let r=[],i=e.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return p(r);if(i.numberOfChildren>1||!i.children[g])return Ia(`${n.redirectTo}`);i=i.children[g]}}applyRedirectCommands(n,e,r,i,s){if(typeof e!="string"){let c=e,{queryParams:a,fragment:u,routeConfig:l,url:h,outlet:y,params:T,data:M,title:w}=i,v=F(s,()=>c({params:T,data:M,queryParams:a,fragment:u,routeConfig:l,url:h,outlet:y,title:w}));if(v instanceof Z)throw new at(v);e=v}let o=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,r);if(e[0]==="/")throw new at(o);return o}applyRedirectCreateUrlTree(n,e,r,i){let s=this.createSegmentGroup(n,e.root,r,i);return new Z(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([i,s])=>{if(typeof s=="string"&&s[0]===":"){let c=s.substring(1);r[i]=e[c]}else r[i]=s}),r}createSegmentGroup(n,e,r,i){let s=this.createSegments(n,e.segments,r,i),o={};return Object.entries(e.children).forEach(([c,a])=>{o[c]=this.createSegmentGroup(n,a,r,i)}),new b(s,o)}createSegments(n,e,r,i){return e.map(s=>s.path[0]===":"?this.findPosParam(n,s,i):this.findOrReturn(s,r))}findPosParam(n,e,r){let i=r[e.path.substring(1)];if(!i)throw new E(4001,!1);return i}findOrReturn(n,e){let r=0;for(let i of e){if(i.path===n.path)return e.splice(r),i;r++}return n}},or={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Aa(t,n,e,r,i){let s=ds(t,n,e);return s.matched?(r=Zo(n,r),Ea(r,n,e,i).pipe(S(o=>o===!0?s:f({},or)))):p(s)}function ds(t,n,e){if(n.path==="**")return Da(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?f({},or):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||Co)(e,t,n);if(!i)return f({},or);let s={};Object.entries(i.posParams??{}).forEach(([c,a])=>{s[c]=a.path});let o=i.consumed.length>0?f(f({},s),i.consumed[i.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function Da(t){return{matched:!0,parameters:t.length>0?Gi(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function _i(t,n,e,r){return e.length>0&&Na(t,e,r)?{segmentGroup:new b(n,Pa(r,new b(e,t.children))),slicedSegments:[]}:e.length===0&&xa(t,e,r)?{segmentGroup:new b(t.segments,Oa(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new b(t.segments,t.children),slicedSegments:e}}function Oa(t,n,e,r){let i={};for(let s of e)if(en(t,n,s)&&!r[B(s)]){let o=new b([],{});i[B(s)]=o}return f(f({},r),i)}function Pa(t,n){let e={};e[g]=n;for(let r of t)if(r.path===""&&B(r)!==g){let i=new b([],{});e[B(r)]=i}return e}function Na(t,n,e){return e.some(r=>en(t,n,r)&&B(r)!==g)}function xa(t,n,e){return e.some(r=>en(t,n,r))}function en(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Ua(t,n,e){return n.length===0&&!t.children[e]}var ar=class{};function La(t,n,e,r,i,s,o="emptyOnly"){return new cr(t,n,e,r,i,o,s).recognize()}var ka=31,cr=class{constructor(n,e,r,i,s,o,c){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=i,this.urlTree=s,this.paramsInheritanceStrategy=o,this.urlSerializer=c,this.applyRedirects=new sr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new E(4002,`'${n.segmentGroup}'`)}recognize(){let n=_i(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(S(({children:e,rootSnapshot:r})=>{let i=new k(r,e),s=new Jt("",i),o=Vo(r,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,s.url=this.urlSerializer.serialize(o),{state:s,tree:o}}))}match(n){let e=new Ce([],Object.freeze({}),Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),g,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,g,e).pipe(S(r=>({children:r,rootSnapshot:e})),me(r=>{if(r instanceof at)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof ot?this.noMatchError(r):r}))}processSegmentGroup(n,e,r,i,s){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,e,r,s):this.processSegment(n,e,r,r.segments,i,!0,s).pipe(S(o=>o instanceof k?[o]:[]))}processChildren(n,e,r,i){let s=[];for(let o of Object.keys(r.children))o==="primary"?s.unshift(o):s.push(o);return O(s).pipe(ee(o=>{let c=r.children[o],a=Ko(e,o);return this.processSegmentGroup(n,a,c,o,i)}),Cr((o,c)=>(o.push(...c),o)),an(null),br(),U(o=>{if(o===null)return Se(r);let c=fs(o);return ja(c),p(c)}))}processSegment(n,e,r,i,s,o,c){return O(e).pipe(ee(a=>this.processSegmentAgainstRoute(a._injector??n,e,a,r,i,s,o,c).pipe(me(u=>{if(u instanceof ot)return p(null);throw u}))),te(a=>!!a),me(a=>{if(ls(a))return Ua(r,i,s)?p(new ar):Se(r);throw a}))}processSegmentAgainstRoute(n,e,r,i,s,o,c,a){return B(r)!==o&&(o===g||!en(i,s,r))?Se(i):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,i,r,s,o,a):this.allowRedirects&&c?this.expandSegmentAgainstRouteUsingRedirect(n,i,e,r,s,o,a):Se(i)}expandSegmentAgainstRouteUsingRedirect(n,e,r,i,s,o,c){let{matched:a,parameters:u,consumedSegments:l,positionalParamSegments:h,remainingSegments:y}=ds(e,i,s);if(!a)return Se(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ka&&(this.allowRedirects=!1));let T=new Ce(s,u,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Fi(i),B(i),i.component??i._loadedComponent??null,i,$i(i)),M=Xt(T,c,this.paramsInheritanceStrategy);T.params=Object.freeze(M.params),T.data=Object.freeze(M.data);let w=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,h,T,n);return this.applyRedirects.lineralizeSegments(i,w).pipe(U(v=>this.processSegment(n,r,e,v.concat(y),o,!1,c)))}matchSegmentAgainstRoute(n,e,r,i,s,o){let c=Aa(e,r,i,n,this.urlSerializer);return r.path==="**"&&(e.children={}),c.pipe(L(a=>a.matched?(n=r._injector??n,this.getChildConfig(n,r,i).pipe(L(({routes:u})=>{let l=r._loadedInjector??n,{parameters:h,consumedSegments:y,remainingSegments:T}=a,M=new Ce(y,h,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Fi(r),B(r),r.component??r._loadedComponent??null,r,$i(r)),w=Xt(M,o,this.paramsInheritanceStrategy);M.params=Object.freeze(w.params),M.data=Object.freeze(w.data);let{segmentGroup:v,slicedSegments:N}=_i(e,y,T,u);if(N.length===0&&v.hasChildren())return this.processChildren(l,u,v,M).pipe(S(I=>new k(M,I)));if(u.length===0&&N.length===0)return p(new k(M,[]));let K=B(r)===s;return this.processSegment(l,u,v,N,K?g:s,!0,M).pipe(S(I=>new k(M,I instanceof k?[I]:[])))}))):Se(e)))}getChildConfig(n,e,r){return e.children?p({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?p({routes:e._loadedRoutes,injector:e._loadedInjector}):Ca(n,e,r,this.urlSerializer).pipe(U(i=>i?this.configLoader.loadChildren(n,e).pipe(D(s=>{e._loadedRoutes=s.routes,e._loadedInjector=s.injector})):Ma(e))):p({routes:[],injector:n})}};function ja(t){t.sort((n,e)=>n.value.outlet===g?-1:e.value.outlet===g?1:n.value.outlet.localeCompare(e.value.outlet))}function _a(t){let n=t.value.routeConfig;return n&&n.path===""}function fs(t){let n=[],e=new Set;for(let r of t){if(!_a(r)){n.push(r);continue}let i=n.find(s=>r.value.routeConfig===s.value.routeConfig);i!==void 0?(i.children.push(...r.children),e.add(i)):n.push(r)}for(let r of e){let i=fs(r.children);n.push(new k(r.value,i))}return n.filter(r=>!e.has(r))}function Fi(t){return t.data||{}}function $i(t){return t.resolve||{}}function Fa(t,n,e,r,i,s){return U(o=>La(t,n,e,r,o.extractedUrl,i,s).pipe(S(({state:c,tree:a})=>P(f({},o),{targetSnapshot:c,urlAfterRedirects:a}))))}function $a(t,n){return U(e=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=e;if(!i.length)return p(e);let s=new Set(i.map(a=>a.route)),o=new Set;for(let a of s)if(!o.has(a))for(let u of ps(a))o.add(u);let c=0;return O(o).pipe(ee(a=>s.has(a)?za(a,r,t,n):(a.data=Xt(a,a.parent,t).resolve,p(void 0))),D(()=>c++),cn(1),U(a=>c===o.size?p(e):Q))})}function ps(t){let n=t.children.map(e=>ps(e)).flat();return[t,...n]}function za(t,n,e,r){let i=t.routeConfig,s=t._resolve;return i?.title!==void 0&&!os(i)&&(s[ut]=i.title),Ba(s,t,n,r).pipe(S(o=>(t._resolvedData=o,t.data=Xt(t,t.parent,e).resolve,null)))}function Ba(t,n,e,r){let i=Fn(t);if(i.length===0)return p({});let s={};return O(i).pipe(U(o=>Va(t[o],n,e,r).pipe(te(),D(c=>{if(c instanceof st)throw Zt(new Me,c);s[o]=c}))),cn(1),Tr(s),me(o=>ls(o)?Q:Ue(o)))}function Va(t,n,e,r){let i=ht(n)??r,s=Pe(t,i),o=s.resolve?s.resolve(n,e):F(i,()=>s(n,e));return ae(o)}function jn(t){return L(n=>{let e=t(n);return e?O(e).pipe(S(()=>n)):p(n)})}var gs=(()=>{class t{buildTitle(e){let r,i=e.root;for(;i!==void 0;)r=this.getResolvedTitleForRoute(i)??r,i=i.children.find(s=>s.outlet===g);return r}getResolvedTitleForRoute(e){return e.data[ut]}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>d(qa),providedIn:"root"})}}return t})(),qa=(()=>{class t extends gs{constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||t)(m(Ni))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),pt=new C("",{providedIn:"root",factory:()=>({})}),Ga=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=Dr({type:t,selectors:[["ng-component"]],standalone:!0,features:[ei],decls:1,vars:0,template:function(r,i){r&1&&Jr(0,"router-outlet")},dependencies:[Qo],encapsulation:2})}}return t})();function hr(t){let n=t.children&&t.children.map(hr),e=n?P(f({},t),{children:n}):f({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==g&&(e.component=Ga),e}var ct=new C(""),dr=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=d(Ct)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return p(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let r=ae(e.loadComponent()).pipe(S(ms),D(s=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=s}),ue(()=>{this.componentLoaders.delete(e)})),i=new sn(r,()=>new Y).pipe(rn());return this.componentLoaders.set(e,i),i}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return p({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let s=Wa(r,this.compiler,e,this.onLoadEndListener).pipe(ue(()=>{this.childrenLoaders.delete(r)})),o=new sn(s,()=>new Y).pipe(rn());return this.childrenLoaders.set(r,o),o}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Wa(t,n,e,r){return ae(t.loadChildren()).pipe(S(ms),U(i=>i instanceof Wr||Array.isArray(i)?p(i):O(n.compileModuleAsync(i))),S(i=>{r&&r(t);let s,o,c=!1;return Array.isArray(i)?(o=i,c=!0):(s=i.create(e).injector,o=s.get(ct,[],{optional:!0,self:!0}).flat()),{routes:o.map(hr),injector:s}}))}function Ha(t){return t&&typeof t=="object"&&"default"in t}function ms(t){return Ha(t)?t.default:t}var fr=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>d(Xa),providedIn:"root"})}}return t})(),Xa=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),vs=new C(""),ys=new C("");function Ja(t,n,e){let r=t.get(ys),i=t.get(x);return t.get(q).runOutsideAngular(()=>{if(!i.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let s,o=new Promise(u=>{s=u}),c=i.startViewTransition(()=>(s(),Za(t))),{onViewTransitionCreated:a}=r;return a&&F(t,()=>a({transition:c,from:n,to:e})),o})}function Za(t){return new Promise(n=>{Hr({read:()=>setTimeout(n)},{injector:t})})}var Ka=new C(""),pr=(()=>{class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Y,this.transitionAbortSubject=new Y,this.configLoader=d(dr),this.environmentInjector=d(le),this.urlSerializer=d(lt),this.rootContexts=d(dt),this.location=d(ze),this.inputBindingEnabled=d(Qt,{optional:!0})!==null,this.titleStrategy=d(gs),this.options=d(pt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=d(fr),this.createViewTransition=d(vs,{optional:!0}),this.navigationErrorHandler=d(Ka,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>p(void 0),this.rootComponentType=null;let e=i=>this.events.next(new Hn(i)),r=i=>this.events.next(new Xn(i));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;this.transitions?.next(P(f(f({},this.transitions.value),e),{id:r}))}setupNavigations(e,r,i){return this.transitions=new _({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Qe,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(H(s=>s.id!==0),S(s=>P(f({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),L(s=>{let o=!1,c=!1;return p(s).pipe(L(a=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",j.SupersededByNewNavigation),Q;this.currentTransition=s,this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?P(f({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!u&&l!=="reload"){let h="";return this.events.next(new se(a.id,this.urlSerializer.serialize(a.rawUrl),h,Vt.IgnoredSameUrlNavigation)),a.resolve(!1),Q}if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return p(a).pipe(L(h=>{let y=this.transitions?.getValue();return this.events.next(new Ae(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),y!==this.transitions?.getValue()?Q:Promise.resolve(h)}),Fa(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),D(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=P(f({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let y=new qt(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(y)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:h,extractedUrl:y,source:T,restoredState:M,extras:w}=a,v=new Ae(h,this.urlSerializer.serialize(y),T,M);this.events.next(v);let N=is(this.rootComponentType).snapshot;return this.currentTransition=s=P(f({},a),{targetSnapshot:N,urlAfterRedirects:y,extras:P(f({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=y,p(s)}else{let h="";return this.events.next(new se(a.id,this.urlSerializer.serialize(a.extractedUrl),h,Vt.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Q}}),D(a=>{let u=new Vn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),S(a=>(this.currentTransition=s=P(f({},a),{guards:sa(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),s)),ma(this.environmentInjector,a=>this.events.next(a)),D(a=>{if(s.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Zt(this.urlSerializer,a.guardsResult);let u=new qn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(u)}),H(a=>a.guardsResult?!0:(this.cancelNavigationTransition(a,"",j.GuardRejected),!1)),jn(a=>{if(a.guards.canActivateChecks.length)return p(a).pipe(D(u=>{let l=new Gn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),L(u=>{let l=!1;return p(u).pipe($a(this.paramsInheritanceStrategy,this.environmentInjector),D({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",j.NoDataFromResolver)}}))}),D(u=>{let l=new Wn(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),jn(a=>{let u=l=>{let h=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(l.routeConfig).pipe(D(y=>{l.component=y}),S(()=>{})));for(let y of l.children)h.push(...u(y));return h};return mt(u(a.targetSnapshot.root)).pipe(an(null),ve(1))}),jn(()=>this.afterPreactivation()),L(()=>{let{currentSnapshot:a,targetSnapshot:u}=s,l=this.createViewTransition?.(this.environmentInjector,a.root,u.root);return l?O(l).pipe(S(()=>s)):p(s)}),S(a=>{let u=ea(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return this.currentTransition=s=P(f({},a),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,s}),D(()=>{this.events.next(new rt)}),ia(this.rootContexts,e.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),ve(1),D({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new V(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),Ir(this.transitionAbortSubject.pipe(D(a=>{throw a}))),ue(()=>{!o&&!c&&this.cancelNavigationTransition(s,"",j.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),me(a=>{if(c=!0,us(a))this.events.next(new J(s.id,this.urlSerializer.serialize(s.extractedUrl),a.message,a.cancellationCode)),ra(a)?this.events.next(new De(a.url,a.navigationBehaviorOptions)):s.resolve(!1);else{let u=new nt(s.id,this.urlSerializer.serialize(s.extractedUrl),a,s.targetSnapshot??void 0);try{let l=F(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof st){let{message:h,cancellationCode:y}=Zt(this.urlSerializer,l);this.events.next(new J(s.id,this.urlSerializer.serialize(s.extractedUrl),h,y)),this.events.next(new De(l.redirectTo,l.navigationBehaviorOptions))}else{this.events.next(u);let h=e.errorHandler(a);s.resolve(!!h)}}catch(l){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(l)}}return Q}))}))}cancelNavigationTransition(e,r,i){let s=new J(e.id,this.urlSerializer.serialize(e.extractedUrl),r,i);this.events.next(s),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Ya(t){return t!==Qe}var Qa=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>d(ec),providedIn:"root"})}}return t})(),ur=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},ec=(()=>{class t extends ur{static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=hn(t)))(i||t)}})()}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ws=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:()=>d(tc),providedIn:"root"})}}return t})(),tc=(()=>{class t extends ws{constructor(){super(...arguments),this.location=d(ze),this.urlSerializer=d(lt),this.options=d(pt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=d(fr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Z,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=is(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&e(r.url,r.state)})}handleRouterEvent(e,r){if(e instanceof Ae)this.stateMemento=this.createStateMemento();else if(e instanceof se)this.rawUrlTree=r.initialUrl;else if(e instanceof qt){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??i,r)}}else e instanceof rt?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):e instanceof J&&(e.code===j.GuardRejected||e.code===j.NoDataFromResolver)?this.restoreHistory(r):e instanceof nt?this.restoreHistory(r,!0):e instanceof V&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let i=e instanceof Z?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(i)||r.extras.replaceUrl){let s=this.browserPageId,o=f(f({},r.extras.state),this.generateNgRouterState(r.id,s));this.location.replaceState(i,"",o)}else{let s=f(f({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===e.finalUrl&&s===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:r}:{navigationId:e}}static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=hn(t)))(i||t)}})()}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ke=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ke||{});function Rs(t,n){t.events.pipe(H(e=>e instanceof V||e instanceof J||e instanceof nt||e instanceof se),S(e=>e instanceof V||e instanceof se?Ke.COMPLETE:(e instanceof J?e.code===j.Redirect||e.code===j.SupersededByNewNavigation:!1)?Ke.REDIRECTING:Ke.FAILED),H(e=>e!==Ke.REDIRECTING),ve(1)).subscribe(()=>{n()})}function nc(t){throw t}var rc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ic={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},W=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=d(St),this.stateManager=d(ws),this.options=d(pt,{optional:!0})||{},this.pendingTasks=d(_e),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=d(pr),this.urlSerializer=d(lt),this.location=d(ze),this.urlHandlingStrategy=d(fr),this._events=new Y,this.errorHandler=this.options.errorHandler||nc,this.navigated=!1,this.routeReuseStrategy=d(Qa),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=d(ct,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!d(Qt,{optional:!0}),this.eventsSubscription=new vr,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(r,s),r instanceof J&&r.code!==j.Redirect&&r.code!==j.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof V)this.navigated=!0;else if(r instanceof De){let o=r.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(r.url,i.currentRawUrl),a=f({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Ya(i.source)},o);this.scheduleNavigation(c,Qe,null,a,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}oc(r)&&this._events.next(r)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Qe,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",r)},0)})}navigateToSyncWithBrowser(e,r,i){let s={replaceUrl:!0},o=i?.navigationId?i:null;if(i){let a=f({},i);delete a.navigationId,delete a.\u0275routerPageId,Object.keys(a).length!==0&&(s.state=a)}let c=this.parseUrl(e);this.scheduleNavigation(c,r,o,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(hr),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:i,queryParams:s,fragment:o,queryParamsHandling:c,preserveFragment:a}=r,u=a?this.currentUrlTree.fragment:o,l=null;switch(c??this.options.defaultQueryParamsHandling){case"merge":l=f(f({},this.currentUrlTree.queryParams),s);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=s||null}l!==null&&(l=this.removeEmptyProps(l));let h;try{let y=i?i.snapshot:this.routerState.snapshot.root;h=es(y)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return ts(h,e,l,u??null)}navigateByUrl(e,r={skipLocationChange:!1}){let i=ge(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Qe,null,r)}navigate(e,r={skipLocationChange:!1}){return sc(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,r){let i;if(r===!0?i=f({},rc):r===!1?i=f({},ic):i=r,ge(e))return xi(this.currentUrlTree,e,i);let s=this.parseUrl(e);return xi(this.currentUrlTree,s,i)}removeEmptyProps(e){return Object.entries(e).reduce((r,[i,s])=>(s!=null&&(r[i]=s),r),{})}scheduleNavigation(e,r,i,s,o){if(this.disposed)return Promise.resolve(!1);let c,a,u;o?(c=o.resolve,a=o.reject,u=o.promise):u=new Promise((h,y)=>{c=h,a=y});let l=this.pendingTasks.add();return Rs(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:s,resolve:c,reject:a,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function sc(t){for(let n=0;n{class t{constructor(e,r,i,s,o,c){this.router=e,this.route=r,this.tabIndexAttribute=i,this.renderer=s,this.el=o,this.locationStrategy=c,this.href=null,this.onChanges=new Y,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let a=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=a==="a"||a==="area",this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof V&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(ge(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,i,s,o){let c=this.urlTree;if(c===null||this.isAnchorElement&&(e!==0||r||i||s||o||typeof this.target=="string"&&this.target!="_self"))return!0;let a={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,a),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let r=this.href===null?null:zr(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(e,r){let i=this.renderer,s=this.el.nativeElement;r!==null?i.setAttribute(s,e,r):i.removeAttribute(s,e)}get urlTree(){return this.routerLinkInput===null?null:ge(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||t)(z(W),z(oe),Pr("tabindex"),z(vn),z(pn),z($e))}}static{this.\u0275dir=wt({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(r,i){r&1&&Zr("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),r&2&&Xr("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",It],skipLocationChange:[2,"skipLocationChange","skipLocationChange",It],replaceUrl:[2,"replaceUrl","replaceUrl",It],routerLink:"routerLink"},standalone:!0,features:[Gr,Rt]})}}return t})(),Iu=(()=>{class t{get isActive(){return this._isActive}constructor(e,r,i,s,o){this.router=e,this.element=r,this.renderer=i,this.cdr=s,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ye,this.routerEventsSubscription=e.events.subscribe(c=>{c instanceof V&&this.update()})}ngAfterContentInit(){p(this.links.changes,p(null)).pipe(Le()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=O(e).pipe(Le()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=ac(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?e.isActive(s,r):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static{this.\u0275fac=function(r){return new(r||t)(z(W),z(pn),z(vn),z(Et),z(zi,8))}}static{this.\u0275dir=wt({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,i,s){if(r&1&&Kr(s,zi,5),r&2){let o;Yr(o=Qr())&&(i.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Rt]})}}return t})();function ac(t){return!!t.paths}var Yt=class{};var cc=(()=>{class t{constructor(e,r,i,s,o){this.router=e,this.injector=i,this.preloadingStrategy=s,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(H(e=>e instanceof V),ee(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,r){let i=[];for(let s of r){s.providers&&!s._injector&&(s._injector=yn(s.providers,e,`Route: ${s.path}`));let o=s._injector??e,c=s._loadedInjector??o;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(o,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return O(i).pipe(Le())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{let i;r.loadChildren&&r.canLoad===void 0?i=this.loader.loadChildren(e,r):i=p(null);let s=i.pipe(U(o=>o===null?p(void 0):(r._loadedRoutes=o.routes,r._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(r.loadComponent&&!r._loadedComponent){let o=this.loader.loadComponent(r);return O([s,o]).pipe(Le())}else return s})}static{this.\u0275fac=function(r){return new(r||t)(m(W),m(Ct),m(le),m(Yt),m(dr))}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ss=new C(""),uc=(()=>{class t{constructor(e,r,i,s,o={}){this.urlSerializer=e,this.transitions=r,this.viewportScroller=i,this.zone=s,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Ae?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof V?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof se&&e.code===Vt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Gt&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Gt(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){Br()}}static{this.\u0275prov=R({token:t,factory:t.\u0275fac})}}return t})();function Mu(t,...n){return je([{provide:ct,multi:!0,useValue:t},[],{provide:oe,useFactory:Ts,deps:[W]},{provide:Tt,multi:!0,useFactory:bs},n.map(e=>e.\u0275providers)])}function Ts(t){return t.routerState.root}function gt(t,n){return{\u0275kind:t,\u0275providers:n}}function bs(){let t=d(dn);return n=>{let e=t.get(bt);if(n!==e.components[0])return;let r=t.get(W),i=t.get(Cs);t.get(gr)===1&&r.initialNavigation(),t.get(Es,null,un.Optional)?.setUpPreloading(),t.get(Ss,null,un.Optional)?.init(),r.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Cs=new C("",{factory:()=>new Y}),gr=new C("",{providedIn:"root",factory:()=>1});function lc(){return gt(2,[{provide:gr,useValue:0},{provide:wn,multi:!0,deps:[dn],useFactory:n=>{let e=n.get(oi,Promise.resolve());return()=>e.then(()=>new Promise(r=>{let i=n.get(W),s=n.get(Cs);Rs(i,()=>{r(!0)}),n.get(pr).afterPreactivation=()=>(r(!0),s.closed?p(void 0):s),i.initialNavigation()}))}}])}function hc(){return gt(3,[{provide:wn,multi:!0,useFactory:()=>{let n=d(W);return()=>{n.setUpLocationChangeListener()}}},{provide:gr,useValue:2}])}var Es=new C("");function dc(t){return gt(0,[{provide:Es,useExisting:cc},{provide:Yt,useExisting:t}])}function fc(){return gt(8,[ji,{provide:Qt,useExisting:ji}])}function pc(t){let n=[{provide:vs,useValue:Ja},{provide:ys,useValue:f({skipNextTransition:!!t?.skipInitialTransition},t)}];return gt(9,n)}var Bi=new C("ROUTER_FORROOT_GUARD"),gc=[ze,{provide:lt,useClass:Me},W,dt,{provide:oe,useFactory:Ts,deps:[W]},dr,[]],Au=(()=>{class t{constructor(e){}static forRoot(e,r){return{ngModule:t,providers:[gc,[],{provide:ct,multi:!0,useValue:e},{provide:Bi,useFactory:wc,deps:[[W,new ln,new Ar]]},{provide:pt,useValue:r||{}},r?.useHash?vc():yc(),mc(),r?.preloadingStrategy?dc(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?Rc(r):[],r?.bindToComponentInputs?fc().\u0275providers:[],r?.enableViewTransitions?pc().\u0275providers:[],Sc()]}}static forChild(e){return{ngModule:t,providers:[{provide:ct,multi:!0,useValue:e}]}}static{this.\u0275fac=function(r){return new(r||t)(m(Bi,8))}}static{this.\u0275mod=yt({type:t})}static{this.\u0275inj=vt({})}}return t})();function mc(){return{provide:Ss,useFactory:()=>{let t=d(li),n=d(q),e=d(pt),r=d(pr),i=d(lt);return e.scrollOffset&&t.setOffset(e.scrollOffset),new uc(i,r,t,n,e)}}}function vc(){return{provide:$e,useClass:ci}}function yc(){return{provide:$e,useClass:ai}}function wc(t){return"guarded"}function Rc(t){return[t.initialNavigation==="disabled"?hc().\u0275providers:[],t.initialNavigation==="enabledBlocking"?lc().\u0275providers:[]]}var Vi=new C("");function Sc(){return[{provide:Vi,useFactory:bs},{provide:Tt,multi:!0,useExisting:Vi}]}export{X as a,Us as b,kc as c,jc as d,Ei as e,au as f,Ni as g,So as h,oe as i,Qo as j,W as k,zi as l,Iu as m,Mu as n,fc as o,Au as p}; diff --git a/webui/dist/bitmagnet/browser/chunk-DSEDLZDW.js b/webui/dist/bitmagnet/browser/chunk-DSEDLZDW.js new file mode 100644 index 00000000..b92fee84 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-DSEDLZDW.js @@ -0,0 +1 @@ +import{g as r}from"./chunk-CMNWCZJM.js";import{Da as o,Vb as a,pc as s,qa as n,ua as i}from"./chunk-Z3WUIYN5.js";var h=(()=>{class t{constructor(){this.title=n(r),this.parts=[]}ngOnInit(){this.updateTitle()}ngOnChanges(){this.updateTitle()}updateTitle(){this.title.setTitle([...this.parts.filter(Boolean),"bitmagnet"].join(" - "))}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=i({type:t,selectors:[["app-document-title"]],inputs:{parts:"parts"},standalone:!0,features:[o,s],decls:1,vars:0,template:function(e,l){e&1&&a(0)},encapsulation:2})}}return t})();export{h as a}; diff --git a/webui/dist/bitmagnet/browser/chunk-DZT5WVMO.js b/webui/dist/bitmagnet/browser/chunk-DZT5WVMO.js new file mode 100644 index 00000000..ac969ce2 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-DZT5WVMO.js @@ -0,0 +1 @@ +import{c as j,k as B}from"./chunk-ISQ7AX2Q.js";import"./chunk-GLXU5TTY.js";import"./chunk-RQ2LQKI2.js";import{c as U}from"./chunk-PX3TOMGC.js";import"./chunk-42PJPEMD.js";import"./chunk-FNMD7JET.js";import"./chunk-P4IGP6ZM.js";import{a as R}from"./chunk-DSEDLZDW.js";import{$ as z,Ba as q,Ea as $,K as I,P as S,V as w,W as E,X as F,Y as A,_ as D,_a as L,b,h as O,wa as H}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import{i as y,k as P}from"./chunk-CMNWCZJM.js";import{$b as d,Cb as C,Hb as l,Mb as h,Qb as i,Rb as a,Sb as m,Tb as x,Ub as M,cc as v,hb as _,kb as r,kc as u,lc as f,pc as T,qa as s,sc as k,ua as g}from"./chunk-Z3WUIYN5.js";var G=(e,p)=>[e,p];function Q(e,p){e&1&&m(0,"mat-progress-bar",2)}function J(e,p){if(e&1&&(i(0,"mat-card",3)(1,"mat-card-header")(2,"mat-icon",4),u(3),a(),i(4,"mat-card-title")(5,"h2"),u(6),a(),i(7,"a",5),m(8,"mat-icon",6),a()(),i(9,"mat-card-subtitle"),m(10,"app-torrent-chips",7),a()(),i(11,"mat-card-content"),m(12,"app-torrent-content",8),a()()),e&2){let o,t,c=d().$implicit,n=d();r(2),l("matTooltip",c("content_types.singular."+((o=n.torrentContent.contentType)!==null&&o!==void 0?o:"null"))),r(),f((t=(t=n.contentTypeInfo(n.torrentContent.contentType))==null?null:t.icon)!==null&&t!==void 0?t:"question_mark"),r(3),f(n.torrentContent.torrent.name),r(),v("href",n.torrentContent.torrent.magnetUri,_),r(3),l("torrentContent",n.torrentContent),r(2),l("torrentContent",n.torrentContent)("heading",!1)}}function K(e,p){if(e&1&&(x(0),m(1,"app-document-title",1),C(2,Q,1,0,"mat-progress-bar",2)(3,J,13,7,"mat-card",3),M()),e&2){let o=p.$implicit,t=d();r(),l("parts",k(2,G,t.torrentContent==null?null:t.torrentContent.title,o("torrents.permalink"))),r(),h(t.torrentContent?3:2)}}var st=(()=>{class e{constructor(){this.route=s(y),this.router=s(P),this.apollo=s(O),this.contentTypeInfo=U}ngOnInit(){this.route.paramMap.subscribe(o=>{let t=o.get("infoHash");if(typeof t!="string"||!/^[0-9a-f]{40}$/.test(t))return this.notFound();this.apollo.query({query:I,variables:{input:{infoHashes:[t]}},fetchPolicy:"no-cache"}).subscribe(c=>{let n=c.data.torrentContent.search.items;if(n.length===0)return this.notFound();this.torrentContent=n[0]})})}notFound(){this.router.navigate(["/not-found"],{skipLocationChange:!0})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=g({type:e,selectors:[["app-torrent-permalink"]],standalone:!0,features:[T],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],["mode","indeterminate"],[1,"torrent-permalink"],["matCardAvatar","",3,"matTooltip"],[1,"magnet-link",3,"href"],["svgIcon","magnet"],[3,"torrentContent"],[3,"torrentContent","heading"]],template:function(t,c){t&1&&C(0,K,4,5,"ng-container",0)},dependencies:[L,w,z,F,D,A,E,H,q,$,b,S,B,j,R],styles:[".torrent-permalink[_ngcontent-%COMP%]{max-width:900px;margin:20px auto}.torrent-permalink[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:24px;word-break:break-word;overflow-wrap:break-word;padding-right:80px}.torrent-permalink[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] .magnet-link[_ngcontent-%COMP%]{position:absolute;right:20px;top:20px}.torrent-permalink[_ngcontent-%COMP%] .mat-mdc-card-avatar[_ngcontent-%COMP%]{font-size:44px;margin-top:-10px;border-radius:0;overflow:visible}.torrent-permalink[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{margin:16px 0 14px -56px;font-size:6px}"]})}}return e})();export{st as TorrentPermalinkComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-E7M2745X.js b/webui/dist/bitmagnet/browser/chunk-E7M2745X.js new file mode 100644 index 00000000..6fe45899 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-E7M2745X.js @@ -0,0 +1 @@ +import{a as je,b as Ne,c as Qe,d as Ue}from"./chunk-WC5EMJNC.js";import{d as Ae,e as T,f as Re,g as q,h as L,i as ze,j as He}from"./chunk-ISQ7AX2Q.js";import{a as Fe,b as Ve}from"./chunk-GLXU5TTY.js";import"./chunk-RQ2LQKI2.js";import{a as De,b as Le}from"./chunk-PX3TOMGC.js";import"./chunk-42PJPEMD.js";import{a as ge}from"./chunk-FNMD7JET.js";import{a as qe}from"./chunk-P4IGP6ZM.js";import{a as Be}from"./chunk-DSEDLZDW.js";import{Ea as we,Fa as Oe,Ga as Ee,Ha as ke,Ia as $e,K as fe,P as he,R as xe,S as Ce,_a as Ie,a as oe,b as re,h as ae,ha as Se,j as ce,k as le,l as se,m as pe,n as me,pa as be,qa as ye,ra as Te,s as _e,sa as ve,v as ue,w as de,wa as Me,xa as Pe}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import{i as ne,k as ie}from"./chunk-CMNWCZJM.js";import{$ as G,$b as l,B as P,Cb as h,Ea as _,Fa as u,Gb as Y,Hb as d,Kb as j,Mb as C,N as Q,O as U,Ob as k,Pb as $,Qb as s,Rb as p,Sb as V,Tb as J,Ub as K,Wb as O,Zb as g,a as f,ad as te,b as M,jc as D,kb as c,kc as m,l as E,lc as S,mc as x,o as N,pc as X,qa as w,rc as Z,ua as W,uc as ee,vc as b,wc as I,xc as F}from"./chunk-Z3WUIYN5.js";var A=(t,o)=>{let i=y(t,o)?.split(",").map(n=>n.trim()).filter(Boolean);return i?.length?Array.from(new Set(i)).sort():void 0},y=(t,o)=>typeof t[o]=="string"&&decodeURIComponent(t[o])||void 0,R=(t,o)=>{if(t&&t[o]&&/^\d+$/.test(t[o]))return parseInt(t[o])};var z={items:[],totalCount:0,totalCountIsEstimate:!1,aggregations:{}},B=class{constructor(o,e,i){this.apollo=o,this.errorsService=e,this.currentRequest=new E(0),this.loadingSubject=new E(!1),this.loading$=this.loadingSubject.asObservable(),this.result=z,this.resultSubject=new E(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(P(n=>n.items)),this.overallTotalCount$=this.resultSubject.pipe(P(n=>{let a=0,r=!1;for(let v of n.aggregations.contentType??[])a+=v.count,r=r||v.isEstimate;return{count:a,isEstimate:r}})),this.availableContentTypes$=this.resultSubject.pipe(G((n,a)=>Array.from(new Set([...n,...(a.aggregations.contentType??[]).flatMap(r=>r.value?[r.value]:[])])),[])),this.contentTypeCounts$=this.resultSubject.pipe(P(n=>Object.fromEntries((n.aggregations.contentType??[]).map(a=>[a.value,{count:a.count,isEstimate:a.isEstimate}])))),i.subscribe(n=>{this.input=n.input,this.loadResult({input:M(f({},n.input),{cached:!0})})}),this.resultSubject.subscribe(n=>{this.result=n})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}refresh(){this.loadResult({input:M(f({},this.input),{cached:!1})})}loadResult(o){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:fe,variables:o,fetchPolicy:"no-cache"}).pipe(P(n=>n.data.torrentContent.search)).pipe(Q(n=>(this.errorsService.addError(`Error loading item results: ${n.message}`),N)));this.currentSubscription=i.subscribe(n=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(n))})}};var Ge=(t,o)=>o.key,Ke=(t,o)=>o.field,We=(t,o)=>o.value,Xe=t=>({x:t}),Ze=(t,o,e,i)=>[t,o,e,i];function et(t,o){if(t&1&&(s(0,"small"),m(1),b(2,"intEstimate"),p()),t&2){let e=o;c(),x(" ",F(2,1,e.count,e.isEstimate)," ")}}function tt(t,o){if(t&1&&(s(0,"small"),m(1),b(2,"intEstimate"),p()),t&2){let e=o;c(),S(F(2,1,e.count,e.isEstimate))}}function nt(t,o){t&1&&(s(0,"small"),m(1,"0"),p())}function it(t,o){if(t&1){let e=O();s(0,"li",6),g("click",function(){_(e);let n=l().$implicit,a=l(2);return u(a.controller.selectContentType(n.key))}),s(1,"mat-icon"),m(2),p(),m(3),h(4,tt,3,4,"small"),b(5,"async"),h(6,nt,2,0,"small"),p()}if(t&2){let e,i=l().$implicit,n=l().$implicit,a=l();j(a.controls.contentType===i.key?"active":""),c(2),S(i.icon),c(),x(" ",n("content_types.plural."+i.key)," "),c(),C((e=(e=I(5,5,a.dataSource.contentTypeCounts$))==null?null:e[i.key])?4:6,e)}}function ot(t,o){if(t&1&&(h(0,it,7,7,"li",24),b(1,"async")),t&2){let e,i=o.$implicit,n=l(2);C(i.key==="null"||(e=I(1,1,n.dataSource.availableContentTypes$))!=null&&e.includes(i.key)?0:-1)}}function rt(t,o){if(t&1){let e=O();s(0,"mat-checkbox",30),g("change",function(n){let a=_(e).$implicit,r=l(3).$implicit,v=l(2);return u(n.checked?v.controller.activateFilter(r,a.value):v.controller.deactivateFilter(r,a.value))}),m(1),s(2,"small"),m(3),b(4,"intEstimate"),p()()}if(t&2){let e=o.$implicit,i=l(3).$implicit;d("checked",i.filter==null?null:i.filter.includes(e.value)),c(),x(" ",e.label," "),c(2),S(F(4,3,e.count,e.isEstimate))}}function at(t,o){if(t&1&&(s(0,"section",27),k(1,rt,5,6,"mat-checkbox",29,We),p()),t&2){let e=l(2).$implicit;c(),$(e.aggregations)}}function ct(t,o){if(t&1){let e=O();s(0,"mat-checkbox",32),g("change",function(){let n=_(e).$implicit,a=l(4).$implicit,r=l(2);return u(r.controller.activateFilter(a,n.value))}),m(1),s(2,"small"),m(3),b(4,"intEstimate"),p()()}if(t&2){let e=o.$implicit;c(),x(" ",e.label," "),c(2),S(F(4,2,e.count,e.isEstimate))}}function lt(t,o){if(t&1&&k(0,ct,5,5,"mat-checkbox",31,We),t&2){let e=l(3).$implicit;$(e.aggregations)}}function st(t,o){if(t&1&&m(0),t&2){let e=l(4).$implicit;x(" ",e("general.none")," ")}}function pt(t,o){if(t&1&&(s(0,"section",28),h(1,lt,2,0)(2,st,1,1),p()),t&2){let e=l(2).$implicit;c(),C(e.aggregations.length?1:2)}}function mt(t,o){if(t&1){let e=O();s(0,"mat-expansion-panel",26),g("opened",function(){_(e);let n=l().$implicit,a=l(2);return u(a.controller.activateFacet(n))})("closed",function(){_(e);let n=l().$implicit,a=l(2);return u(a.controller.deactivateFacet(n))}),s(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon"),m(4),p(),m(5),p()(),h(6,at,3,0,"section",27)(7,pt,3,1,"section",28),p()}if(t&2){let e=l().$implicit,i=l().$implicit;d("expanded",e.active),c(4),S(e.icon),c(),x(" ",i("facets."+e.key)," "),c(),C(e.filter!=null&&e.filter.length?6:7)}}function _t(t,o){if(t&1&&h(0,mt,8,4,"mat-expansion-panel",25),t&2){let e=o.$implicit;C(e.relevant?0:-1)}}function ut(t,o){if(t&1){let e=O();s(0,"button",18),g("click",function(){_(e);let n=l(2);return n.queryString.reset(),u(n.controller.setQueryString(null))}),s(1,"mat-icon"),m(2,"close"),p()()}if(t&2){let e=l().$implicit;d("matTooltip",e("torrents.clear_search"))}}function dt(t,o){if(t&1&&(s(0,"mat-option",33),m(1),p()),t&2){let e=l().$implicit,i=l().$implicit;d("value",e.field),c(),x(" ",i("torrents.ordering."+e.field)," ")}}function gt(t,o){if(t&1&&h(0,dt,2,2,"mat-option",33),t&2){let e=o.$implicit,i=l(2);C(e.field!="relevance"||i.queryString.value?0:-1)}}function ft(t,o){if(t&1){let e=O();J(0),V(1,"app-document-title",2),s(2,"mat-drawer-container",3)(3,"mat-drawer",4,0)(5,"mat-expansion-panel",5)(6,"mat-expansion-panel-header")(7,"mat-panel-title")(8,"mat-icon"),m(9,"interests"),p(),m(10),p()(),s(11,"section")(12,"nav")(13,"ul")(14,"li",6),g("click",function(){_(e);let n=l();return u(n.controller.selectContentType(null))}),s(15,"mat-icon",7),m(16,"emergency"),p(),m(17),h(18,et,3,4,"small"),b(19,"async"),p(),k(20,ot,2,3,null,null,Ge),p()()()(),k(22,_t,1,1,null,null,Ge),b(24,"async"),p(),s(25,"mat-drawer-content")(26,"div",8)(27,"div",9)(28,"button",10),g("click",function(){_(e);let n=D(4);return u(n.toggle())}),s(29,"mat-icon",11),m(30),p()()(),s(31,"div",12)(32,"mat-form-field",13)(33,"input",14),g("keyup.enter",function(){_(e);let n=l();return u(n.controller.setQueryString(n.queryString.value))}),p(),h(34,ut,3,1,"button",15),p()(),s(35,"div",16)(36,"mat-form-field",13)(37,"mat-label"),m(38),p(),s(39,"mat-select",17),g("valueChange",function(n){_(e);let a=l();return u(a.controller.selectOrderBy(n))}),k(40,gt,1,1,null,null,Ke),p()(),s(42,"button",18),g("click",function(){_(e);let n=l();return u(n.controller.toggleOrderByDirection())}),s(43,"mat-icon"),m(44),p()()(),s(45,"div",19)(46,"button",20),g("click",function(){_(e);let n=l();return u(n.dataSource.refresh())}),s(47,"mat-icon"),m(48,"sync"),p()()()(),V(49,"mat-divider"),s(50,"app-torrents-bulk-actions",21),g("updated",function(){_(e);let n=l();return u(n.dataSource.refresh())}),p(),V(51,"mat-divider"),s(52,"app-torrents-table",22),g("updated",function(){_(e);let n=l();return u(n.dataSource.refresh())}),p(),s(53,"app-paginator",23),g("paging",function(n){_(e);let a=l();return u(a.controller.handlePageEvent(n))}),p()()(),K()}if(t&2){let e,i,n=o.$implicit,a=D(4),r=l();c(),d("parts",ee(37,Ze,r.controls.queryString,((e=r.controls.contentType)!==null&&e!==void 0?e:"null")==="null"?null:n("content_types.plural."+r.controls.contentType),r.controls.page>1?n("paginator.page_x",Z(35,Xe,r.controls.page)):null,n("routes.torrents"))),c(2),d("mode",r.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",r.breakpoints.sizeAtLeast("Medium")),Y("role",r.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),c(2),d("expanded",r.breakpoints.sizeAtLeast("Medium")),c(5),x(" ",n("facets.content_type")," "),c(4),j(r.controls.contentType===null?"active":""),c(3),x("",n("content_types.plural.all")," "),c(),C((i=I(19,31,r.dataSource.overallTotalCount$))?18:-1,i),c(2),$(r.contentTypes),c(2),$(I(24,33,r.facets$)),c(6),d("matTooltip",n("torrents.toggle_drawer")),c(2),S(a.opened?"arrow_circle_left":"arrow_circle_right"),c(3),d("placeholder",n("torrents.search"))("formControl",r.queryString),c(),C(r.queryString.value?34:-1),c(4),S(n("torrents.order_by")),c(),d("value",r.controls.orderBy.field),c(),$(r.orderByOptions),c(2),d("matTooltip",n("torrents.order_direction_toggle")),c(2),S(r.controls.orderBy.descending?"arrow_downward":"arrow_upward"),c(2),d("matTooltip",n("torrents.refresh")),c(4),d("selectedItems$",r.selectedItems$),c(2),d("dataSource",r.dataSource)("controller",r.controller)("displayedColumns",r.breakpoints.sizeAtLeast("Medium")?r.allColumns:r.compactColumns)("multiSelection",r.multiSelection),c(),d("page",r.controls.page)("pageSize",r.controls.limit)("pageLength",r.dataSource.result.items.length)("totalLength",r.dataSource.result.totalCount)("totalIsEstimate",r.dataSource.result.totalCountIsEstimate)("hasNextPage",r.dataSource.result.hasNextPage)}}var un=(()=>{class t{constructor(){this.route=w(ne),this.router=w(ie),this.apollo=w(ae),this.errorsService=w(ge),this.transloco=w(oe),this.breakpoints=w(qe),this.controls=Ye,this.contentTypes=Le,this.orderByOptions=L,this.allColumns=Qe,this.compactColumns=Ue,this.queryString=new se(""),this.result=z,this.multiSelection=new me(!0,[]),this.selectedItemsSubject=new E([]),this.selectedItems$=this.selectedItemsSubject.asObservable(),this.subscriptions=Array(),this.controller=new Re(this.controls),this.dataSource=new B(this.apollo,this.errorsService,this.controller.params$),this.subscriptions.push(this.controller.controls$.subscribe(e=>{this.controls=e})),this.facets$=this.controller.controls$.pipe(U(this.dataSource.result$),P(([e,i])=>q.map(n=>M(f(f({},n),n.extractInput(e.facets)),{relevant:!n.contentTypes||!!(e.contentType&&e.contentType!=="null"&&n.contentTypes.includes(e.contentType)),aggregations:n.extractAggregations(i.aggregations).map(a=>M(f({},a),{label:n.resolveLabel(a,this.transloco)}))})))),this.subscriptions.push(this.dataSource.result$.subscribe(e=>{this.result=e;let i=new Set(e.items.map(({infoHash:n})=>n));this.multiSelection.deselect(...this.multiSelection.selected.filter(n=>!i.has(n)))}))}ngOnInit(){this.subscriptions.push(this.route.queryParams.subscribe(e=>{this.queryString.setValue(y(e,"query")??null),this.controller.update(()=>ht(e))}),this.controller.controls$.subscribe(e=>{this.router.navigate([],{relativeTo:this.route,queryParams:xt(e),queryParamsHandling:"replace"})}),this.multiSelection.changed.subscribe(e=>{let i=new Set(e.source.selected);this.selectedItemsSubject.next(this.result.items.filter(n=>i.has(n.infoHash)))}))}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe()),this.subscriptions=new Array}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=W({type:t,selectors:[["app-torrents-search"]],standalone:!0,features:[X],decls:1,vars:0,consts:[["drawer",""],[4,"transloco"],[3,"parts"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],[1,"panel-content-type",3,"expanded"],[3,"click"],["fontSet","material-icons"],[1,"search-form"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["aria-label","Side nav toggle icon","fontSet","material-icons"],[1,"form-field-container","form-field-container-search-query"],["subscriptSizing","dynamic"],["matInput","","autocapitalize","none",3,"keyup.enter","placeholder","formControl"],["mat-icon-button","",3,"matTooltip"],[1,"form-field-container","form-field-container-order-by"],[3,"valueChange","value"],["mat-icon-button","",3,"click","matTooltip"],[1,"form-field-container","button-container","button-container-refresh"],["mat-mini-fab","","color","primary",3,"click","matTooltip"],[3,"updated","selectedItems$"],[3,"updated","dataSource","controller","displayedColumns","multiSelection"],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","hasNextPage"],[3,"class"],[3,"expanded"],[3,"opened","closed","expanded"],[1,"filtered"],[1,"unfiltered"],[3,"checked"],[3,"change","checked"],["checked","true"],["checked","true",3,"change"],[3,"value"]],template:function(i,n){i&1&&h(0,ft,54,42,"ng-container",1)},dependencies:[Ie,_e,de,ue,Se,be,ye,Te,ve,Ce,xe,Me,Pe,Oe,ke,$e,Ee,we,ce,le,pe,re,te,Be,he,Ve,je,Ne,Fe],styles:[".mat-expansion-panel[_ngcontent-%COMP%]{margin-top:14px;margin-right:14px}.mat-expansion-panel[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:-10px}.mat-expansion-panel.panel-content-type[_ngcontent-%COMP%]{margin-top:20px}.mat-expansion-panel.panel-content-type[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:0}.mat-expansion-panel[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0;margin:0}.mat-expansion-panel[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative;line-height:40px;padding-left:40px}.mat-expansion-panel[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:absolute;left:0;top:8px}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{cursor:pointer}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{top:6px}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{float:right;font-size:.8rem}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{display:block}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] label{min-width:220px}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{margin-left:10px;position:absolute;right:0}.search-form[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;position:relative;clear:both;display:flex;flex-wrap:wrap}.search-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;position:relative;margin-left:20px;padding-bottom:20px}.search-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:8px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%]{padding-right:40px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%]{width:300px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%] .mat-mdc-form-field-infix{padding-right:50px}.search-form[_ngcontent-%COMP%] .button-container-toggle-direction[_ngcontent-%COMP%]{margin-left:4px}app-paginator[_ngcontent-%COMP%]{float:right;padding-top:14px;padding-bottom:20px}"],changeDetection:0})}}return t})(),H=20,Ye={page:1,limit:H,contentType:null,orderBy:ze,facets:{genre:T,language:T,fileType:T,torrentSource:T,torrentTag:T,videoResolution:T,videoSource:T}},ht=t=>{let o=y(t,"query"),e=A(t,"facets"),i,n=y(t,"torrent");if(n){let a,r=y(t,"tab");Ae.includes(r)&&(a=r),i={infoHash:n,tab:a}}return{queryString:o,orderBy:St(t,!!o),contentType:Ct(t),limit:R(t,"limit")??H,page:R(t,"page")??1,selectedTorrent:i,facets:q.reduce((a,r)=>{let v=e?.includes(r.key)??!1,Je=A(t,r.key);return r.patchInput(a,{active:v,filter:Je})},Ye.facets)}},xt=t=>{let o=t.page,e=t.limit;o===1&&(o=void 0),e===H&&(e=void 0);let i=He(t)?void 0:t.orderBy,n;return i&&(n=i.descending?"1":"0"),f(f({query:t.queryString?encodeURIComponent(t.queryString):void 0,page:o,limit:e,content_type:t.contentType,order:i?.field,desc:n},t.selectedTorrent?{torrent:t.selectedTorrent.infoHash,tab:t.selectedTorrent.tab??void 0}:{}),bt(t.facets))},Ct=t=>{let o=y(t,"content_type");return o&&o in De?o:null},St=(t,o)=>{let e=null,i=y(t,"desc");i==="1"?e=!0:i==="0"&&(e=!1);let n=y(t,"order");for(let a of L)if(a.field===n)return{field:n,descending:e??a.descending};return{field:o?"relevance":"published_at",descending:e??!0}},bt=t=>{let[o,e]=q.reduce((i,n)=>{let a=n.extractInput(t);return a.active?[[...i[0],n.key],a.filter?M(f({},i[1]),{[n.key]:a.filter}):i[1]]:i},[[],{}]);return f({facets:o.length?o.join(","):void 0},Object.fromEntries(Object.entries(e).map(([i,n])=>[i,encodeURIComponent(n.join(","))])))};export{un as TorrentsSearchComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-EBLD3IWA.js b/webui/dist/bitmagnet/browser/chunk-EBLD3IWA.js new file mode 100644 index 00000000..946cfd55 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-EBLD3IWA.js @@ -0,0 +1 @@ +import{Ea as lt,H as J,P as K,V as T,W as U,X,_ as k,b as M,h as z,ja as Y,ka as Z,la as tt,ma as et,na as nt,oa as it,t as b,ta as at,w as H,wa as u,ya as ot,za as rt}from"./chunk-HZYDZMJ4.js";import{$b as l,B as F,Cb as s,Ea as Q,Fa as A,Hb as V,Kb as G,Mb as v,Ob as P,Pb as $,Qb as r,Rb as o,Sb as _,Tb as f,Ub as C,Wb as N,Zb as R,a as I,b as D,jc as q,kb as a,kc as c,l as j,la as W,lc as m,mc as g,nc as y,qa as p,rc as S,ua as x,va as B,zc as L}from"./chunk-Z3WUIYN5.js";var w={error:"error",degraded:"warning",down:"warning",unknown:"pending",inactive:"circle",up:"check_circle",started:"play_circle"},ct={status:"unknown",checks:[],icon:w.unknown,workers:[],error:null},mt=1e4,h=class{constructor(){this.apollo=p(z),this.resultSubject=new j(ct),this.result$=this.resultSubject.asObservable(),this.result=ct,this.watchQuery(),this.result$.subscribe(i=>{this.result=i})}watchQuery(){this.apollo.watchQuery({query:J,fetchPolicy:"no-cache",pollInterval:mt}).valueChanges.pipe(F(i=>({status:i.data.health.status==="down"?"degraded":i.data.health.status,checks:i.data.health.checks.map(e=>D(I({},e),{icon:w[e.status]})),workers:i.data.workers.listAll.workers.map(e=>D(I({},e),{icon:w[e.started?"started":"inactive"]})),icon:w[i.data.health.status],error:null}))).subscribe({next:i=>this.resultSubject.next(i),error:i=>{this.resultSubject.next({status:"error",checks:[],workers:[],error:i,icon:w.error}),setTimeout(this.watchQuery.bind(this),mt)}})}};var st=(t,i)=>i.key;function xt(t,i){if(t&1&&(r(0,"p"),c(1),o()),t&2){let e=l().$implicit,n=l();a(),y("",e("health.check_failed_with_error"),": ",n.health.result.error,"")}}function ft(t,i){if(t&1&&(r(0,"th"),c(1),o()),t&2){let e=l(2).$implicit;a(),m(e("general.error"))}}function Ct(t,i){if(t&1&&(r(0,"td"),c(1),o()),t&2){let e=l().$implicit;a(),m(e.error)}}function gt(t,i){if(t&1&&(r(0,"tr")(1,"td",2)(2,"mat-icon"),c(3),o()(),r(4,"th",3),c(5),o(),r(6,"td"),c(7),o(),s(8,Ct,2,1,"td"),o()),t&2){let e=i.$implicit,n=l(2).$implicit,d=l();a(3),m(e.icon),a(2),m(n("health.components."+e.key)),a(2),m(n("health.statuses."+e.status)),a(),v(d.health.result.status==="down"?8:-1)}}function Mt(t,i){t&1&&_(0,"td")}function vt(t,i){if(t&1&&(r(0,"tr")(1,"td",2)(2,"mat-icon"),c(3),o()(),r(4,"th",3),c(5),o(),r(6,"td"),c(7),o(),s(8,Mt,1,0,"td"),o()),t&2){let e=i.$implicit,n=l(2).$implicit,d=l();a(3),m(e.icon),a(2),y(" ",n("health.worker"),": ",n("health.workers."+e.key)," "),a(2),g(" ",n("health.statuses."+(e.started?"started":"inactive"))," "),a(),v(d.health.result.status==="down"?8:-1)}}function yt(t,i){if(t&1&&(r(0,"table",1)(1,"thead")(2,"tr"),_(3,"th"),r(4,"th"),c(5),o(),r(6,"th"),c(7),o(),s(8,ft,2,1,"th"),o()(),r(9,"tbody"),P(10,gt,9,4,"tr",null,st),P(12,vt,9,5,"tr",null,st),o()()),t&2){let e=l().$implicit,n=l();a(5),m(e("health.component")),a(2),m(e("general.status")),a(),v(n.health.result.status==="down"?8:-1),a(2),$(n.health.result.checks),a(2),$(n.health.result.workers)}}function St(t,i){if(t&1&&(f(0),s(1,xt,2,2,"p")(2,yt,14,3,"table",1),C()),t&2){let e=l();a(),v(e.health.result.error?1:2)}}var E=(()=>{class t{constructor(){this.health=p(h)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-summary"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"table-health"],[1,"td-icon"],["scope","row"]],template:function(n,d){n&1&&s(0,St,3,1,"ng-container",0)},dependencies:[M,u],styles:[".table-health[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table-health[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:20px}.table-health[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}"]})}}return t})();var wt=t=>({status:t});function bt(t,i){if(t&1&&(f(0),r(1,"mat-card",1)(2,"mat-card-header")(3,"mat-card-title")(4,"h3")(5,"mat-icon"),c(6),o(),c(7),o()()(),r(8,"mat-card-content",2),_(9,"app-health-summary"),o()(),C()),t&2){let e=i.$implicit,n=l();a(6),m(n.health.result.icon),a(),g(" ",e("health.bitmagnet_is_status",S(2,wt,e("health.statuses."+(n.health.result.error?"down":n.health.result.status))))," ")}}var Vt=(()=>{class t{constructor(){this.health=p(h)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-card"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"dashboard-card","dashboard-card-health"],[1,"dashboard-card-content"]],template:function(n,d){n&1&&s(0,bt,10,4,"ng-container",0)},dependencies:[M,u,T,X,k,U,E],styles:[".dashboard-card-health[_ngcontent-%COMP%]{position:absolute;inset:15px}.dashboard-card-health[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0}.dashboard-card-health[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;margin-left:4px;margin-right:6px}"]})}}return t})();var ut=t=>({status:t});function Ht(t,i){if(t&1&&(r(0,"h2",3),c(1),o(),r(2,"mat-dialog-content"),_(3,"app-health-summary"),o(),r(4,"mat-dialog-actions")(5,"button",4),c(6),o()()),t&2){let e=l().$implicit,n=l();a(),y(" ",e("health.summary"),": ",e("health.bitmagnet_is_status",S(3,ut,e("health.statuses."+(n.health.result.error?"down":n.health.result.status))))," "),a(5),g(" ",e("general.dismiss")," ")}}function Tt(t,i){if(t&1){let e=N();f(0),r(1,"button",2),R("click",function(){Q(e);let d=q(5),_t=l();return A(_t.dialog.open(d))}),r(2,"mat-icon"),c(3),o()(),s(4,Ht,7,5,"ng-template",null,0,L),C()}if(t&2){let e=i.$implicit,n=l();a(),G("health-icon health-icon-"+n.health.result.status),V("matTooltip",e("health.bitmagnet_is_status",S(4,ut,e("health.statuses."+n.health.result.status)))),a(2),m(n.health.result.icon)}}var Ut=(()=>{class t{constructor(){this.health=p(h),this.dialog=p(Y)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-widget"]],decls:1,vars:0,consts:[["healthDialog",""],[4,"transloco"],["mat-icon-button","",3,"click","matTooltip"],["matDialogTitle",""],["mat-button","","matDialogClose","","color","primary"]],template:function(n,d){n&1&&s(0,Tt,6,6,"ng-container",1)},dependencies:[M,u,lt,Z,tt,nt,et,b,H,E]})}}return t})();var _e=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=W({providers:[h],imports:[K,u,it,b,H,T,k,at,rt,ot]})}}return t})();export{h as a,Vt as b,Ut as c,_e as d}; diff --git a/webui/dist/bitmagnet/browser/chunk-FJILXII2.js b/webui/dist/bitmagnet/browser/chunk-FJILXII2.js deleted file mode 100644 index 3778ce05..00000000 --- a/webui/dist/bitmagnet/browser/chunk-FJILXII2.js +++ /dev/null @@ -1,7 +0,0 @@ -var Yf=Object.defineProperty,Qf=Object.defineProperties;var Kf=Object.getOwnPropertyDescriptors;var Ln=Object.getOwnPropertySymbols;var Ka=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable;var Qa=(e,t,n)=>t in e?Yf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,me=(e,t)=>{for(var n in t||={})Ka.call(t,n)&&Qa(e,n,t[n]);if(Ln)for(var n of Ln(t))Ja.call(t,n)&&Qa(e,n,t[n]);return e},ye=(e,t)=>Qf(e,Kf(t));var ow=(e,t)=>{var n={};for(var r in e)Ka.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ln)for(var r of Ln(e))t.indexOf(r)<0&&Ja.call(e,r)&&(n[r]=e[r]);return n};var Jf=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())});function g(e){return typeof e=="function"}function Nt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var jn=Nt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function et(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof jn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Xa(i)}catch(s){t=t??[],s instanceof jn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new jn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Xa(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&et(n,t)}remove(t){let{_finalizers:n}=this;n&&et(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var $o=L.EMPTY;function Vn(e){return e instanceof L||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function Xa(e){g(e)?e():e.unsubscribe()}var ce={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var At={setTimeout(e,t,...n){let{delegate:r}=At;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=At;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Bn(e){At.setTimeout(()=>{let{onUnhandledError:t}=ce;if(t)t(e);else throw e})}function tt(){}var eu=Uo("C",void 0,void 0);function tu(e){return Uo("E",void 0,e)}function nu(e){return Uo("N",e,void 0)}function Uo(e,t,n){return{kind:e,value:t,error:n}}var nt=null;function Ot(e){if(ce.useDeprecatedSynchronousErrorHandling){let t=!nt;if(t&&(nt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=nt;if(nt=null,n)throw r}}else e()}function ru(e){ce.useDeprecatedSynchronousErrorHandling&&nt&&(nt.errorThrown=!0,nt.error=e)}var rt=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Vn(t)&&t.add(this)):this.destination=tp}static create(t,n,r){return new Te(t,n,r)}next(t){this.isStopped?Go(nu(t),this):this._next(t)}error(t){this.isStopped?Go(tu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Go(eu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Xf=Function.prototype.bind;function zo(e,t){return Xf.call(e,t)}var Wo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Hn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Hn(r)}else Hn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Hn(n)}}},Te=class extends rt{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ce.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&zo(t.next,i),error:t.error&&zo(t.error,i),complete:t.complete&&zo(t.complete,i)}):o=t}this.destination=new Wo(o)}};function Hn(e){ce.useDeprecatedSynchronousErrorHandling?ru(e):Bn(e)}function ep(e){throw e}function Go(e,t){let{onStoppedNotification:n}=ce;n&&At.setTimeout(()=>n(e,t))}var tp={closed:!0,next:tt,error:ep,complete:tt};var ot=typeof Symbol=="function"&&Symbol.observable||"@@observable";function B(e){return e}function qo(...e){return Zo(e)}function Zo(e){return e.length===0?B:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=rp(n)?n:new Te(n,r,o);return Ot(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=ou(r),new r((o,i)=>{let s=new Te({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[ot](){return this}pipe(...n){return Zo(n)(this)}toPromise(n){return n=ou(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function ou(e){var t;return(t=e??ce.Promise)!==null&&t!==void 0?t:Promise}function np(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function rp(e){return e&&e instanceof rt||np(e)&&Vn(e)}var iu=Nt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new $n(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new iu}next(n){Ot(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ot(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ot(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?$o:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,et(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new $n(t,n),e})(),$n=class extends ie{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:$o}};var on=class extends ie{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var it=new S(e=>e.complete());function Yo(e){return g(e?.lift)}function y(e){return t=>{if(Yo(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function v(e,t,n,r,o){return new Qo(e,t,n,r,o)}var Qo=class extends rt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ve(e,t){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:op}=Array,{getPrototypeOf:ip,prototype:sp,keys:ap}=Object;function Un(e){if(e.length===1){let t=e[0];if(op(t))return{args:t,keys:null};if(up(t)){let n=ap(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function up(e){return e&&typeof e=="object"&&ip(e)===sp}var Ko=function(e,t){return Ko=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},Ko(e,t)};function dE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ko(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var su=function(){return su=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0&&i[i.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function hE(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r1||u(f,m)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(m){p(i[0][3],m)}}function c(f){f.value instanceof st?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function lu(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof au=="function"?au(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Rt=e=>e&&typeof e.length=="number"&&typeof e!="function";function zn(e){return g(e?.then)}function Gn(e){return g(e[ot])}function Wn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function qn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function cp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Zn=cp();function Yn(e){return g(e?.[Zn])}function Qn(e){return cu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield st(n.read());if(o)return yield st(void 0);yield yield st(r)}}finally{n.releaseLock()}})}function Kn(e){return g(e?.getReader)}function T(e){if(e instanceof S)return e;if(e!=null){if(Gn(e))return lp(e);if(Rt(e))return dp(e);if(zn(e))return fp(e);if(Wn(e))return du(e);if(Yn(e))return pp(e);if(Kn(e))return hp(e)}throw qn(e)}function lp(e){return new S(t=>{let n=e[ot]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function dp(e){return new S(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Bn)})}function pp(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function du(e){return new S(t=>{gp(e,t).catch(n=>t.error(n))})}function hp(e){return du(Qn(e))}function gp(e,t){var n,r,o,i;return uu(this,void 0,void 0,function*(){try{for(n=lu(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Q(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function sn(e,t=0){return y((n,r)=>{n.subscribe(v(r,o=>Q(r,e,()=>r.next(o),t),()=>Q(r,e,()=>r.complete(),t),o=>Q(r,e,()=>r.error(o),t)))})}function Jn(e,t=0){return y((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function fu(e,t){return T(e).pipe(Jn(t),sn(t))}function pu(e,t){return T(e).pipe(Jn(t),sn(t))}function hu(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function gu(e,t){return new S(n=>{let r;return Q(n,t,()=>{r=e[Zn](),Q(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function Xn(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{Q(n,t,()=>{let r=e[Symbol.asyncIterator]();Q(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function mu(e,t){return Xn(Qn(e),t)}function yu(e,t){if(e!=null){if(Gn(e))return fu(e,t);if(Rt(e))return hu(e,t);if(zn(e))return pu(e,t);if(Wn(e))return Xn(e,t);if(Yn(e))return gu(e,t);if(Kn(e))return mu(e,t)}throw qn(e)}function De(e,t){return t?yu(e,t):T(e)}var{isArray:mp}=Array;function yp(e,t){return mp(t)?e(...t):e(t)}function Ve(e){return ve(t=>yp(e,t))}function er(e){return e&&g(e.schedule)}function Jo(e){return e[e.length-1]}function Ft(e){return g(Jo(e))?e.pop():void 0}function Ie(e){return er(Jo(e))?e.pop():void 0}function vu(e,t){return typeof Jo(e)=="number"?e.pop():t}function tr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function vp(...e){let t=Ie(e),n=Ft(e),{args:r,keys:o}=Un(e);if(r.length===0)return De([],t);let i=new S(Xo(r,t,o?s=>tr(o,s):B));return n?i.pipe(Ve(n)):i}function Xo(e,t,n=B){return r=>{Du(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=De(e[u],t),l=!1;c.subscribe(v(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Du(e,t,n){e?Q(n,e,t):t()}var{isArray:Dp}=Array;function Iu(e){return e.length===1&&Dp(e[0])?e[0]:e}function ei(...e){let t=Ft(e);return t?qo(ei(...e),Ve(t)):y((n,r)=>{Xo([n,...Iu(e)])(r)})}function Ip(...e){return ei(...e)}function ti(){return y((e,t)=>{let n=null;e._refCount++;let r=v(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var ni=class extends S{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Yo(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(v(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return ti()(this)}};var an={now(){return(an.delegate||Date).now()},delegate:void 0};var nr=class extends ie{constructor(t=1/0,n=1/0,r=an){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;swu(t)&&e()),t},clearImmediate(e){wu(e)}};var{setImmediate:Ep,clearImmediate:Cp}=Eu,cn={setImmediate(...e){let{delegate:t}=cn;return(t?.setImmediate||Ep)(...e)},clearImmediate(e){let{delegate:t}=cn;return(t?.clearImmediate||Cp)(e)},delegate:void 0};var or=class extends Be{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=cn.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(cn.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Pt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Pt.now=an.now;var He=class extends Pt{constructor(t,n=Pt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var ir=class extends He{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var bp=new ir(or);var at=new He(Be),Cu=at;var sr=class extends Be{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var ar=class extends He{};var _p=new ar(sr);function Mp(...e){let t=Ie(e);return De(e,t)}function xp(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Sp(e){return!!e&&(e instanceof S||g(e.lift)&&g(e.subscribe))}var ut=Nt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function bu(e){return e instanceof Date&&!isNaN(e)}function _u(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=m=>c{i&&t.next(m),c++;let A=!1;T(n(m,l++)).subscribe(v(t,b=>{o?.(b),i?f(b):t.next(b)},()=>{A=!0},void 0,()=>{if(A)try{for(c--;u.length&&ch(b)):h(b)}p()}catch(b){t.error(b)}}))};return e.subscribe(v(t,f,()=>{d=!0,p()})),()=>{a?.()}}function le(e,t,n=1/0){return g(t)?le((r,o)=>ve((i,s)=>t(r,i,o,s))(T(e(r,o))),n):(typeof t=="number"&&(n=t),y((r,o)=>_u(r,o,e,n)))}function ln(e=1/0){return le(B,e)}function Mu(){return ln(1)}function kt(...e){return Mu()(De(e,Ie(e)))}function Tp(e){return new S(t=>{T(e()).subscribe(t)})}function Np(...e){let t=Ft(e),{args:n,keys:r}=Un(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?tr(r,a):a),i.complete())}))}});return t?o.pipe(Ve(t)):o}var Ap=["addListener","removeListener"],Op=["addEventListener","removeEventListener"],Rp=["on","off"];function ii(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return ii(e,t,n).pipe(Ve(r));let[o,i]=kp(e)?Op.map(s=>a=>e[s](t,a,n)):Fp(e)?Ap.map(xu(e,t)):Pp(e)?Rp.map(xu(e,t)):[];if(!o&&Rt(e))return le(s=>ii(s,t,n))(T(e));if(!o)throw new TypeError("Invalid event target");return new S(s=>{let a=(...u)=>s.next(1i(a)})}function xu(e,t){return n=>r=>e[n](t,r)}function Fp(e){return g(e.addListener)&&g(e.removeListener)}function Pp(e){return g(e.on)&&g(e.off)}function kp(e){return g(e.addEventListener)&&g(e.removeEventListener)}function ct(e=0,t,n=Cu){let r=-1;return t!=null&&(er(t)?n=t:r=t),new S(o=>{let i=bu(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Lp(...e){let t=Ie(e),n=vu(e,1/0),r=e;return r.length?r.length===1?T(r[0]):ln(n)(De(r,t)):it}function lt(e,t){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Su(e){return y((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(v(n,c=>{r=!0,o=c,i||T(e(c)).subscribe(i=v(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function jp(e,t=at){return Su(()=>ct(e,t))}function si(e){return y((t,n)=>{let r=null,o=!1,i;r=t.subscribe(v(n,void 0,void 0,s=>{i=T(e(s,si(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Tu(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(v(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Vp(e,t){return g(t)?le(e,t,1):le(e,1)}function Nu(e,t=at){return y((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function dn(e){return y((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function dt(e){return e<=0?()=>it:y((t,n)=>{let r=0;t.subscribe(v(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Au(){return y((e,t)=>{e.subscribe(v(t,tt))})}function ai(e){return ve(()=>e)}function ui(e,t){return t?n=>kt(t.pipe(dt(1),Au()),n.pipe(ui(e))):le((n,r)=>T(e(n,r)).pipe(dt(1),ai(n)))}function Bp(e,t=at){let n=ct(e,t);return ui(()=>n)}function Hp(e,t=B){return e=e??$p,y((n,r)=>{let o,i=!0;n.subscribe(v(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function $p(e,t){return e===t}function ur(e=Up){return y((t,n)=>{let r=!1;t.subscribe(v(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Up(){return new ut}function zp(e){return y((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ou(e,t){let n=arguments.length>=2;return r=>r.pipe(e?lt((o,i)=>e(o,i,r)):B,dt(1),n?dn(t):ur(()=>new ut))}function ci(e){return e<=0?()=>it:y((t,n)=>{let r=[];t.subscribe(v(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Gp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?lt((o,i)=>e(o,i,r)):B,ci(1),n?dn(t):ur(()=>new ut))}function Wp(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?B:y((i,s)=>{let a=0,u,c=()=>{let l=!1;u=i.subscribe(v(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++{u?(u.unsubscribe(),u=null,c()):l=!0};if(r!=null){let f=typeof r=="number"?ct(r):T(r(d,a)),h=v(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),l&&(u.unsubscribe(),u=null,c())};c()})}function Ru(e,t){return y(Tu(e,t,arguments.length>=2,!0))}function di(e={}){let{connector:t=()=>new ie,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=u=void 0,l=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return y((m,A)=>{c++,!d&&!l&&p();let b=u=u??t();A.add(()=>{c--,c===0&&!d&&!l&&(a=li(h,o))}),b.subscribe(A),!s&&c>0&&(s=new Te({next:O=>b.next(O),error:O=>{d=!0,p(),a=li(f,n,O),b.error(O)},complete:()=>{l=!0,p(),a=li(f,r),b.complete()}}),T(m).subscribe(s))})(i)}}function li(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Te({next:()=>{r.unsubscribe(),e()}});return T(t(...n)).subscribe(r)}function Fu(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,di({connector:()=>new nr(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function qp(e){return lt((t,n)=>e<=n)}function Zp(...e){let t=Ie(e);return y((n,r)=>{(t?kt(e,n,t):kt(e,n)).subscribe(r)})}function Pu(e,t){return y((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(v(r,u=>{o?.unsubscribe();let c=0,l=i++;T(e(u,l)).subscribe(o=v(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Yp(e){return y((t,n)=>{T(e).subscribe(v(n,()=>n.complete(),tt)),!n.closed&&t.subscribe(n)})}function Qp(e,t=!1){return y((n,r)=>{let o=0;n.subscribe(v(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function ku(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?y((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(v(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):B}function Lu(e,t){return Object.is(e,t)}var j=null,fn=!1,cr=1,se=Symbol("SIGNAL");function _(e){let t=j;return j=e,t}function ju(){return j}function Kp(){return fn}var Lt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function gi(e){if(fn)throw new Error("");if(j===null)return;j.consumerOnSignalRead(e);let t=j.nextProducerIndex++;if(gr(j),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function fr(e){gr(e);for(let t=0;t0}function gr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function zu(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Gu(e){return e.producerNode!==void 0}function mi(e){let t=Object.create(Xp);t.computation=e;let n=()=>{if(Vu(t),gi(t),t.value===lr)throw t.error;return t.value};return n[se]=t,n}var fi=Symbol("UNSET"),pi=Symbol("COMPUTING"),lr=Symbol("ERRORED"),Xp=ye(me({},Lt),{value:fi,dirty:!0,error:null,equal:Lu,producerMustRecompute(e){return e.value===fi||e.value===pi},producerRecomputeValue(e){if(e.value===pi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=pi;let n=hn(e),r;try{r=e.computation()}catch(o){r=lr,e.error=o}finally{dr(e,n)}if(t!==fi&&t!==lr&&r!==lr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function eh(){throw new Error}var Wu=eh;function qu(){Wu()}function Zu(e){Wu=e}var th=null;function Yu(e){let t=Object.create(Ku);t.value=e;let n=()=>(gi(t),t.value);return n[se]=t,n}function yi(e,t){Hu()||qu(),e.equal(e.value,t)||(e.value=t,nh(e))}function Qu(e,t){Hu()||qu(),yi(e,t(e.value))}var Ku=ye(me({},Lt),{equal:Lu,value:void 0});function nh(e){e.version++,Jp(),Bu(e),th?.()}function Ju(e,t,n){let r=Object.create(rh);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(pr(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=hi)}let a=()=>{if(r.fn===null)return;if(Kp())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!fr(r))return;r.hasRun=!0;let u=hn(r);try{r.cleanupFn(),r.cleanupFn=hi,r.fn(o)}finally{dr(r,u)}};return r.ref={notify:()=>$u(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[se]:r},r.ref}var hi=()=>{},rh=ye(me({},Lt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:hi});var Uc="https://g.co/ng/security#xss",x=class extends Error{constructor(t,n){super(zc(t,n)),this.code=t}};function zc(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function _n(e){return{toString:e}.toString()}var mr="__parameters__";function oh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Gc(e,t,n){return _n(()=>{let r=oh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(mr)?u[mr]:Object.defineProperty(u,mr,{value:[]})[mr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ue=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("Could not find renamed property on target object.")}function ih(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function J(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(J).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function Oi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var sh=R({__forward_ref__:R});function Wc(e){return e.__forward_ref__=Wc,e.toString=function(){return J(this())},e}function H(e){return qc(e)?e():e}function qc(e){return typeof e=="function"&&e.hasOwnProperty(sh)&&e.__forward_ref__===Wc}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Zc(e){return{providers:e.providers||[],imports:e.imports||[]}}function io(e){return Xu(e,Yc)||Xu(e,Qc)}function AS(e){return io(e)!==null}function Xu(e,t){return e.hasOwnProperty(t)?e[t]:null}function ah(e){let t=e&&(e[Yc]||e[Qc]);return t||null}function ec(e){return e&&(e.hasOwnProperty(tc)||e.hasOwnProperty(uh))?e[tc]:null}var Yc=R({\u0275prov:R}),tc=R({\u0275inj:R}),Qc=R({ngInjectableDef:R}),uh=R({ngInjectorDef:R}),N=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Kc(e){return e&&!!e.\u0275providers}var ch=R({\u0275cmp:R}),lh=R({\u0275dir:R}),dh=R({\u0275pipe:R}),fh=R({\u0275mod:R}),Nr=R({\u0275fac:R}),mn=R({__NG_ELEMENT_ID__:R}),nc=R({__NG_ENV_ID__:R});function ht(e){return typeof e=="string"?e:e==null?"":String(e)}function ph(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ht(e)}function hh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new x(-200,e)}function Gs(e,t){throw new x(-201,!1)}var M=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(M||{}),Ri;function Jc(){return Ri}function K(e){let t=Ri;return Ri=e,t}function Xc(e,t,n){let r=io(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&M.Optional)return null;if(t!==void 0)return t;Gs(e,"Injector")}var gh={},yn=gh,Fi="__NG_DI_FLAG__",Ar="ngTempTokenPath",mh="ngTokenPath",yh=/\n/gm,vh="\u0275",rc="__source",$t;function Dh(){return $t}function $e(e){let t=$t;return $t=e,t}function Ih(e,t=M.Default){if($t===void 0)throw new x(-203,!1);return $t===null?Xc(e,void 0,t):$t.get(e,t&M.Optional?null:void 0,t)}function G(e,t=M.Default){return(Jc()||Ih)(H(e),t)}function I(e,t=M.Default){return G(e,so(t))}function so(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Pi(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):J(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(yh,` - `)}`}var bh=el(Gc("Optional"),8);var _h=el(Gc("SkipSelf"),4);function gt(e,t){let n=e.hasOwnProperty(Nr);return n?e[Nr]:null}function Mh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Ws(n,t):t(n))}function tl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Or(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Sh(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function ao(e,t,n){let r=Mn(e,t);return r>=0?e[r|1]=n:(r=~r,Th(e,r,t,n)),r}function vi(e,t){let n=Mn(e,t);if(n>=0)return e[n|1]}function Mn(e,t){return Nh(e,t,1)}function Nh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(de(r))return!1;s=!0}}}}return de(r)||s}function de(e){return(e&1)===0}function kh(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!de(s)&&(t+=ic(i,o),o=""),r=s,i=i||!de(r);n++}return o!==""&&(t+=ic(i,o)),t}function $h(e){return e.map(Hh).join(",")}function Uh(e){let t=[],n=[],r=1,o=2;for(;r{let t=dl(e),n=ye(me({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ol.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||vn.Emulated,styles:e.styles||Z,_:null,schemas:e.schemas||null,tView:null,id:""});fl(n);let r=e.dependencies;return n.directiveDefs=ac(r,!1),n.pipeDefs=ac(r,!0),n.id=qh(n),n})}function zh(e){return qe(e)||Zs(e)}function Gh(e){return e!==null}function ul(e){return _n(()=>({type:e.type,bootstrap:e.bootstrap||Z,declarations:e.declarations||Z,imports:e.imports||Z,exports:e.exports||Z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function sc(e,t){if(e==null)return Ne;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=We.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==We.None?[r,a]:r,t[i]=s):n[i]=r}return n}function uo(e){return _n(()=>{let t=dl(e);return fl(t),t})}function co(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function qe(e){return e[ch]||null}function Zs(e){return e[lh]||null}function cl(e){return e[dh]||null}function Wh(e){let t=qe(e)||Zs(e)||cl(e);return t!==null?t.standalone:!1}function ll(e,t){let n=e[fh]||null;if(!n&&t===!0)throw new Error(`Type ${J(e)} does not have '\u0275mod' property.`);return n}function dl(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Ne,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:sc(e.inputs,t),outputs:sc(e.outputs),debugInfo:null}}function fl(e){e.features?.forEach(t=>t(e))}function ac(e,t){if(!e)return null;let n=t?cl:zh;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Gh)}function qh(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Zh(e){return{\u0275providers:e}}function Yh(...e){return{\u0275providers:pl(!0,e),\u0275fromNgModule:!0}}function pl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ws(t,s=>{let a=s;Li(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&hl(o,i),n}function hl(e,t){for(let n=0;n{t(i,r)})}}function Li(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=ec(e),s=!i&&qe(e);if(!i&&!s){let u=e.ngModule;if(i=ec(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Li(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Ws(i.imports,l=>{Li(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&hl(c,t)}if(!a){let c=gt(o)||(()=>new o);t({provide:o,useFactory:c,deps:Z},o),t({provide:rl,useValue:o,multi:!0},o),t({provide:Rr,useValue:()=>G(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Ys(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Ys(e,t){for(let n of e)Kc(n)&&(n=n.\u0275providers),Array.isArray(n)?Ys(n,t):t(n)}var Qh=R({provide:String,useValue:R});function gl(e){return e!==null&&typeof e=="object"&&Qh in e}function Kh(e){return!!(e&&e.useExisting)}function Jh(e){return!!(e&&e.useFactory)}function zt(e){return typeof e=="function"}function Xh(e){return!!e.useClass}var ml=new N(""),Cr={},eg={},Di;function Qs(){return Di===void 0&&(Di=new Fr),Di}var Ze=class{},In=class extends Ze{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Vi(t,s=>this.processProvider(s)),this.records.set(nl,jt(void 0,this)),o.has("environment")&&this.records.set(Ze,jt(void 0,this));let i=this.records.get(ml);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rl,Z,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=_(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=$e(this),r=K(void 0),o;try{return t()}finally{$e(n),K(r)}}get(t,n=yn,r=M.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(nc))return t[nc](this);r=so(r);let o,i=$e(this),s=K(void 0);try{if(!(r&M.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=ig(t)&&io(t);c&&this.injectableDefInScope(c)?u=jt(ji(t),Cr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&M.Self?Qs():this.parent;return n=r&M.Optional&&n===yn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Ar]=a[Ar]||[]).unshift(J(t)),i)throw a;return Eh(a,t,"R3InjectorError",this.source)}else throw a}finally{K(s),$e(i)}}resolveInjectorInitializers(){let t=_(null),n=$e(this),r=K(void 0),o;try{let i=this.get(Rr,Z,M.Self);for(let s of i)s()}finally{$e(n),K(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(J(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(t){t=H(t);let n=zt(t)?t:H(t&&t.provide),r=ng(t);if(!zt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=jt(void 0,Cr,!0),o.factory=()=>Pi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=_(null);try{return n.value===Cr&&(n.value=eg,n.value=n.factory()),typeof n.value=="object"&&n.value&&og(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ji(e){let t=io(e),n=t!==null?t.factory:gt(e);if(n!==null)return n;if(e instanceof N)throw new x(204,!1);if(e instanceof Function)return tg(e);throw new x(204,!1)}function tg(e){if(e.length>0)throw new x(204,!1);let n=ah(e);return n!==null?()=>n.factory(e):()=>new e}function ng(e){if(gl(e))return jt(void 0,e.useValue);{let t=yl(e);return jt(t,Cr)}}function yl(e,t,n){let r;if(zt(e)){let o=H(e);return gt(o)||ji(o)}else if(gl(e))r=()=>H(e.useValue);else if(Jh(e))r=()=>e.useFactory(...Pi(e.deps||[]));else if(Kh(e))r=()=>G(H(e.useExisting));else{let o=H(e&&(e.useClass||e.provide));if(rg(e))r=()=>new o(...Pi(e.deps));else return gt(o)||ji(o)}return r}function jt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function rg(e){return!!e.deps}function og(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ig(e){return typeof e=="function"||typeof e=="object"&&e instanceof N}function Vi(e,t){for(let n of e)Array.isArray(n)?Vi(n,t):n&&Kc(n)?Vi(n.\u0275providers,t):t(n)}function RS(e,t){e instanceof In&&e.assertNotDestroyed();let n,r=$e(e),o=K(void 0);try{return t()}finally{$e(r),K(o)}}function vl(){return Jc()!==void 0||Dh()!=null}function Ks(e){if(!vl())throw new x(-203,!1)}function sg(e){return typeof e=="function"}var Me=0,E=1,w=2,W=3,he=4,X=5,Gt=6,Pr=7,U=8,Wt=9,Ce=10,k=11,wn=12,uc=13,en=14,ne=15,mt=16,Vt=17,Ae=18,lo=19,Dl=20,ze=21,br=22,ae=23,V=25,Js=1;var yt=7,kr=8,qt=9,z=10,Lr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Lr||{});function Ge(e){return Array.isArray(e)&&typeof e[Js]=="object"}function Fe(e){return Array.isArray(e)&&e[Js]===!0}function Xs(e){return(e.flags&4)!==0}function fo(e){return e.componentOffset>-1}function po(e){return(e.flags&1)===1}function Oe(e){return!!e.template}function Bi(e){return(e[w]&512)!==0}var Hi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Il(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function ho(){return wl}function wl(e){return e.type.prototype.ngOnChanges&&(e.setInput=ug),ag}ho.ngInherit=!0;function ag(){let e=Cl(this),t=e?.current;if(t){let n=e.previous;if(n===Ne)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ug(e,t,n,r,o){let i=this.declaredInputs[r],s=Cl(e)||cg(e,{previous:Ne,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Hi(c&&c.currentValue,n,u===Ne),Il(e,t,o,n)}var El="__ngSimpleChanges__";function Cl(e){return e[El]||null}function cg(e,t){return e[El]=t}var cc=null;var we=function(e,t,n){cc?.(e,t,n)},bl="svg",lg="math";function be(e){for(;Array.isArray(e);)e=e[Me];return e}function dg(e){for(;Array.isArray(e);){if(typeof e[Js]=="object")return e;e=e[Me]}return null}function _l(e,t){return be(t[e])}function ue(e,t){return be(t[e.index])}function ea(e,t){return e.data[t]}function go(e,t){return e[t]}function Je(e,t){let n=t[e];return Ge(n)?n:n[Me]}function fg(e){return(e[w]&4)===4}function ta(e){return(e[w]&128)===128}function pg(e){return Fe(e[W])}function Ye(e,t){return t==null?null:e[t]}function Ml(e){e[Vt]=0}function xl(e){e[w]&1024||(e[w]|=1024,ta(e)&&yo(e))}function hg(e,t){for(;e>0;)t=t[en],e--;return t}function mo(e){return!!(e[w]&9216||e[ae]?.dirty)}function $i(e){e[Ce].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),mo(e)&&yo(e)}function yo(e){e[Ce].changeDetectionScheduler?.notify(0);let t=vt(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!ta(t)));)t=vt(t)}function Sl(e,t){if((e[w]&256)===256)throw new x(911,!1);e[ze]===null&&(e[ze]=[]),e[ze].push(t)}function gg(e,t){if(e[ze]===null)return;let n=e[ze].indexOf(t);n!==-1&&e[ze].splice(n,1)}function vt(e){let t=e[W];return Fe(t)?t[W]:t}var C={lFrame:kl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Tl=!1;function mg(){return C.lFrame.elementDepthCount}function yg(){C.lFrame.elementDepthCount++}function vg(){C.lFrame.elementDepthCount--}function Nl(){return C.bindingsEnabled}function Al(){return C.skipHydrationRootTNode!==null}function Dg(e){return C.skipHydrationRootTNode===e}function Ig(){C.skipHydrationRootTNode=null}function D(){return C.lFrame.lView}function P(){return C.lFrame.tView}function FS(e){return C.lFrame.contextLView=e,e[U]}function PS(e){return C.lFrame.contextLView=null,e}function $(){let e=Ol();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ol(){return C.lFrame.currentTNode}function wg(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function _t(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function na(){return C.lFrame.isParent}function ra(){C.lFrame.isParent=!1}function Eg(){return C.lFrame.contextLView}function Rl(){return Tl}function lc(e){Tl=e}function Mt(){let e=C.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Cg(){return C.lFrame.bindingIndex}function bg(e){return C.lFrame.bindingIndex=e}function xt(){return C.lFrame.bindingIndex++}function oa(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _g(){return C.lFrame.inI18n}function Mg(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ui(t)}function xg(){return C.lFrame.currentDirectiveIndex}function Ui(e){C.lFrame.currentDirectiveIndex=e}function ia(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function sa(){return C.lFrame.currentQueryIndex}function vo(e){C.lFrame.currentQueryIndex=e}function Sg(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[X]:null}function Fl(e,t,n){if(n&M.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&M.Host);)if(o=Sg(i),o===null||(i=i[en],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=Pl();return r.currentTNode=t,r.lView=e,!0}function aa(e){let t=Pl(),n=e[E];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Pl(){let e=C.lFrame,t=e===null?null:e.child;return t===null?kl(e):t}function kl(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Ll(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var jl=Ll;function ua(){let e=Ll();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Tg(e){return(C.lFrame.contextLView=hg(e,C.lFrame.contextLView))[U]}function Pe(){return C.lFrame.selectedIndex}function Dt(e){C.lFrame.selectedIndex=e}function xn(){let e=C.lFrame;return ea(e.tView,e.selectedIndex)}function kS(){C.lFrame.currentNamespace=bl}function LS(){Ng()}function Ng(){C.lFrame.currentNamespace=null}function Ag(){return C.lFrame.currentNamespace}var Vl=!0;function Do(){return Vl}function Io(e){Vl=e}function Og(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=wl(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function wo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Vt]+=65536),(a>14>16&&(e[w]&3)===t&&(e[w]+=16384,dc(a,i)):dc(a,i)}var Ut=-1,It=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Fg(e){return e instanceof It}function Pg(e){return(e.flags&8)!==0}function kg(e){return(e.flags&16)!==0}var wi={},zi=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=so(r);let o=this.injector.get(t,wi,r);return o!==wi||n===wi?o:this.parentInjector.get(t,n,r)}};function Hl(e){return e!==Ut}function jr(e){return e&32767}function Lg(e){return e>>16}function Vr(e,t){let n=Lg(e),r=t;for(;n>0;)r=r[en],n--;return r}var Gi=!0;function Br(e){let t=Gi;return Gi=e,t}var jg=256,$l=jg-1,Ul=5,Vg=0,Ee={};function Bg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(mn)&&(r=n[mn]),r==null&&(r=n[mn]=Vg++);let o=r&$l,i=1<>Ul)]|=i}function Hr(e,t){let n=zl(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Ei(r.data,e),Ei(t,null),Ei(r.blueprint,null));let o=ca(e,t),i=e.injectorIndex;if(Hl(o)){let s=jr(o),a=Vr(o,t),u=a[E].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Ei(e,t){e.push(0,0,0,0,0,0,0,0,t)}function zl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ca(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Yl(o),r===null)return Ut;if(n++,o=o[en],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ut}function Wi(e,t,n){Bg(e,t,n)}function Hg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Oe(f)&&f.type===n)return u}return null}function wt(e,t,n,r){let o=e[n],i=t.data;if(Fg(o)){let s=o;s.resolving&&hh(ph(i[n]));let a=Br(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?K(s.injectImpl):null,l=Fl(e,r,M.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Og(n,i[n],t)}finally{c!==null&&K(c),Br(a),s.resolving=!1,jl()}}return o}function Ug(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(mn)?e[mn]:void 0;return typeof t=="number"?t>=0?t&$l:zg:t}function fc(e,t,n){let r=1<>Ul)]&r)}function pc(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var pt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ql(this._tNode,this._lView,t,so(r),n)}};function zg(){return new pt($(),D())}function jS(e){return _n(()=>{let t=e.prototype.constructor,n=t[Nr]||qi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Nr]||qi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function qi(e){return qc(e)?()=>{let t=qi(H(e));return t&&t()}:gt(e)}function Gg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!(s[w]&512);){let a=Zl(i,s,n,r|M.Self,Ee);if(a!==Ee)return a;let u=i.parent;if(!u){let c=s[Dl];if(c){let l=c.get(n,Ee,r);if(l!==Ee)return l}u=Yl(s),s=s[en]}i=u}return o}function Yl(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[X]:null}function Wg(e){return Hg($(),e)}function hc(e,t=null,n=null,r){let o=Ql(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ql(e,t=null,n=null,r,o=new Set){let i=[n||Z,Yh(e)];return r=r||(typeof e=="object"?void 0:J(e)),new In(i,t||Qs(),r||null,o)}var _e=class e{static{this.THROW_IF_NOT_FOUND=yn}static{this.NULL=new Fr}static create(t,n){if(Array.isArray(t))return hc({name:""},n,t,"");{let r=t.name??"";return hc({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=F({token:e,providedIn:"any",factory:()=>G(nl)})}static{this.__NG_ELEMENT_ID__=-1}};var qg=new N("");qg.__NG_ELEMENT_ID__=e=>{let t=$();if(t===null)throw new x(204,!1);if(t.type&2)return t.value;if(e&M.Optional)return null;throw new x(204,!1)};var Zg="ngOriginalError";function Ci(e){return e[Zg]}var Kl=!0,Eo=(()=>{class e{static{this.__NG_ELEMENT_ID__=Yg}static{this.__NG_ENV_ID__=n=>n}}return e})(),Zi=class extends Eo{constructor(t){super(),this._lView=t}onDestroy(t){return Sl(this._lView,t),()=>gg(this._lView,t)}};function Yg(){return new Zi(D())}var Sn=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new on(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}}return e})();var Yi=class extends ie{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,vl()&&(this.destroyRef=I(Eo,{optional:!0})??void 0,this.pendingTasks=I(Sn,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof L&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},pe=Yi;function $r(...e){}function Jl(e){let t,n;function r(){e=$r;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function gc(e){return queueMicrotask(()=>e()),()=>{e=$r}}var la="isAngularZone",Ur=la+"_ID",Qg=0,Y=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new pe(!1),this.onMicrotaskEmpty=new pe(!1),this.onStable=new pe(!1),this.onError=new pe(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Kl}=t;if(typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Xg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(la)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new x(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Kg,$r,$r);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Kg={};function da(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Jg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Jl(()=>{e.callbackScheduled=!1,Qi(e),e.isCheckStableRunning=!0,da(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Qi(e)}function Xg(e){let t=()=>{Jg(e)},n=Qg++;e._inner=e._inner.fork({name:"angular",properties:{[la]:!0,[Ur]:n,[Ur+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(em(u))return r.invokeTask(i,s,a,u);try{return mc(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),yc(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return mc(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!tm(u)&&t(),yc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Qi(e),da(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Qi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function mc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function yc(e){e._nesting--,da(e)}var Ki=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new pe,this.onMicrotaskEmpty=new pe,this.onStable=new pe,this.onError=new pe}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function em(e){return Xl(e,"__ignore_ng_zone__")}function tm(e){return Xl(e,"__scheduler_tick__")}function Xl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Et=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ci(t);for(;n&&Ci(n);)n=Ci(n);return n||null}},nm=new N("",{providedIn:"root",factory:()=>{let e=I(Y),t=I(Et);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function rm(){return tn($(),D())}function tn(e,t){return new Xe(ue(e,t))}var Xe=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=rm}}return e})();function ed(e){return e instanceof Xe?e.nativeElement:e}function om(){return this._results[Symbol.iterator]()}var Ji=class e{get changes(){return this._changes??=new pe}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=om)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=xh(t);(this._changesDetected=!Mh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function td(e){return(e.flags&128)===128}var nd=new Map,im=0;function sm(){return im++}function am(e){nd.set(e[lo],e)}function Xi(e){nd.delete(e[lo])}var vc="__ngContext__";function Qe(e,t){Ge(t)?(e[vc]=t[lo],am(t)):e[vc]=t}function rd(e){return id(e[wn])}function od(e){return id(e[he])}function id(e){for(;e!==null&&!Fe(e);)e=e[he];return e}var es;function VS(e){es=e}function sd(){if(es!==void 0)return es;if(typeof document<"u")return document;throw new x(210,!1)}var BS=new N("",{providedIn:"root",factory:()=>um}),um="ng",cm=new N(""),Co=new N("",{providedIn:"platform",factory:()=>"unknown"});var HS=new N(""),$S=new N("",{providedIn:"root",factory:()=>sd().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),fa={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ad=new N("",{providedIn:"root",factory:()=>fa});var lm="h",dm="b";var fm=()=>null;function pa(e,t,n=!1){return fm(e,t,n)}var ud=!1,pm=new N("",{providedIn:"root",factory:()=>ud});var yr;function hm(){if(yr===void 0&&(yr=null,Ue.trustedTypes))try{yr=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return yr}function bo(e){return hm()?.createHTML(e)||e}var vr;function cd(){if(vr===void 0&&(vr=null,Ue.trustedTypes))try{vr=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return vr}function Dc(e){return cd()?.createHTML(e)||e}function Ic(e){return cd()?.createScriptURL(e)||e}var Re=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Uc})`}},ts=class extends Re{getTypeName(){return"HTML"}},ns=class extends Re{getTypeName(){return"Style"}},rs=class extends Re{getTypeName(){return"Script"}},os=class extends Re{getTypeName(){return"URL"}},is=class extends Re{getTypeName(){return"ResourceURL"}};function St(e){return e instanceof Re?e.changingThisBreaksApplicationSecurity:e}function ha(e,t){let n=gm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Uc})`)}return n===t}function gm(e){return e instanceof Re&&e.getTypeName()||null}function US(e){return new ts(e)}function zS(e){return new ns(e)}function GS(e){return new rs(e)}function WS(e){return new os(e)}function qS(e){return new is(e)}function mm(e){let t=new as(e);return ym()?new ss(t):t}var ss=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(bo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},as=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=bo(t),n}};function ym(){try{return!!new window.DOMParser().parseFromString(bo(""),"text/html")}catch{return!1}}var vm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ld(e){return e=String(e),e.match(vm)?e:"unsafe:"+e}function ke(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Tn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var dd=ke("area,br,col,hr,img,wbr"),fd=ke("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pd=ke("rp,rt"),Dm=Tn(pd,fd),Im=Tn(fd,ke("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),wm=Tn(pd,ke("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),wc=Tn(dd,Im,wm,Dm),hd=ke("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Em=ke("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Cm=ke("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),bm=Tn(hd,Em,Cm),_m=ke("script,style,template"),us=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Sm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=xm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Ec(t).toLowerCase();if(!wc.hasOwnProperty(n))return this.sanitizedSomething=!0,!_m.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Ec(t).toLowerCase();wc.hasOwnProperty(n)&&!dd.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Cc(t))}};function Mm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function xm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw gd(t);return t}function Sm(e){let t=e.firstChild;if(t&&Mm(e,t))throw gd(t);return t}function Ec(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function gd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Tm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Nm=/([^\#-~ |!])/g;function Cc(e){return e.replace(/&/g,"&").replace(Tm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Nm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var Dr;function Am(e,t){let n=null;try{Dr=Dr||mm(e);let r=t?String(t):"";n=Dr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Dr.getInertBodyElement(r)}while(r!==i);let a=new us().sanitizeChildren(bc(n)||n);return bo(a)}finally{if(n){let r=bc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function bc(e){return"content"in e&&Om(e)?e.content:null}function Om(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var _o=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(_o||{});function ZS(e){let t=ga();return t?Dc(t.sanitize(_o.HTML,e)||""):ha(e,"HTML")?Dc(St(e)):Am(sd(),ht(e))}function Rm(e){let t=ga();return t?t.sanitize(_o.URL,e)||"":ha(e,"URL")?St(e):ld(ht(e))}function Fm(e){let t=ga();if(t)return Ic(t.sanitize(_o.RESOURCE_URL,e)||"");if(ha(e,"ResourceURL"))return Ic(St(e));throw new x(904,!1)}function Pm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Fm:Rm}function YS(e,t,n){return Pm(t,n)(e)}function ga(){let e=D();return e&&e[Ce].sanitizer}var km=/^>|^->||--!>|)/g,jm="\u200B$1\u200B";function Vm(e){return e.replace(km,t=>t.replace(Lm,jm))}function md(e){return e instanceof Function?e():e}function yd(e){return(e??I(_e)).get(Co)==="browser"}var zr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(zr||{}),Bm;function ma(e,t){return Bm(e,t)}function Bt(e,t,n,r,o){if(r!=null){let i,s=!1;Fe(r)?i=r:Ge(r)&&(s=!0,r=r[Me]);let a=be(r);e===0&&n!==null?o==null?Ed(t,n,a):Gr(t,n,a,o||null,!0):e===1&&n!==null?Gr(t,n,a,o||null,!0):e===2?ey(t,a,s):e===3&&t.destroyNode(a),i!=null&&ny(t,e,i,n,o)}}function Hm(e,t){return e.createText(t)}function $m(e,t,n){e.setValue(t,n)}function Um(e,t){return e.createComment(Vm(t))}function vd(e,t,n){return e.createElement(t,n)}function zm(e,t){Dd(e,t),t[Me]=null,t[X]=null}function Gm(e,t,n,r,o,i){r[Me]=o,r[X]=t,So(e,r,n,1,o,i)}function Dd(e,t){t[Ce].changeDetectionScheduler?.notify(9),So(e,t,t[k],2,null,null)}function Wm(e){let t=e[wn];if(!t)return bi(e[E],e);for(;t;){let n=null;if(Ge(t))n=t[wn];else{let r=t[z];r&&(n=r)}if(!n){for(;t&&!t[he]&&t!==e;)Ge(t)&&bi(t[E],t),t=t[W];t===null&&(t=e),Ge(t)&&bi(t[E],t),n=t&&t[he]}t=n}}function qm(e,t,n,r){let o=z+r,i=n.length;r>0&&(n[o-1][he]=t),r0&&(e[n-1][he]=r[he]);let i=Or(e,z+t);zm(r[E],r);let s=i[Ae];s!==null&&s.detachView(i[E]),r[W]=null,r[he]=null,r[w]&=-129}return r}function Mo(e,t){if(!(t[w]&256)){let n=t[k];n.destroyNode&&So(e,t,n,3,null,null),Wm(t)}}function bi(e,t){if(t[w]&256)return;let n=_(null);try{t[w]&=-129,t[w]|=256,t[ae]&&pr(t[ae]),Ym(e,t),Zm(e,t),t[E].type===1&&t[k].destroy();let r=t[mt];if(r!==null&&Fe(t[W])){r!==t[W]&&ya(r,t);let o=t[Ae];o!==null&&o.detachView(e)}Xi(t)}finally{_(n)}}function Zm(e,t){let n=e.cleanup,r=t[Pr];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Pr]=null);let o=t[ze];if(o!==null){t[ze]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===vn.None||i===vn.Emulated)return null}return ue(r,n)}}function Gr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ed(e,t,n){e.appendChild(t,n)}function _c(e,t,n,r,o){r!==null?Gr(e,t,n,r,o):Ed(e,t,n)}function Cd(e,t){return e.parentNode(t)}function Km(e,t){return e.nextSibling(t)}function bd(e,t,n){return Xm(e,t,n)}function Jm(e,t,n){return e.type&40?ue(e,n):null}var Xm=Jm,Mc;function xo(e,t,n,r){let o=wd(e,r,t),i=t[k],s=r.parent||t[X],a=bd(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uV&&Td(e,t,V,!1),we(s?2:0,o),n(r,o)}finally{Dt(i),we(s?3:1,o)}}function Da(e,t,n){if(Xs(t)){let r=_(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function dy(e,t,n,r){let o=jd(t);o.push(n),e.firstCreatePass&&Vd(e).push(r,o.length-1)}function fy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Al()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function xc(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=We.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Sc(r,n,c,a,u):Sc(r,n,c,a)}return r}function Sc(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function py(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function vy(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;fo(n)&&_y(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Hr(n,t),Qe(r,t);let s=n.initialInputs;for(let a=o;a{yo(e.lView)},consumerOnSignalRead(){this.lView[ae]=this}});function jy(e){let t=e[ae]??Object.create(Vy);return t.lView=e,t}var Vy=ye(me({},Lt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=vt(e.lView);for(;t&&!Wd(t[E]);)t=vt(t);t&&xl(t)},consumerOnSignalRead(){this.lView[ae]=this}});function Wd(e){return e.type!==2}var By=100;function qd(e,t=!0,n=0){let r=e[Ce],o=r.rendererFactory,i=!1;i||o.begin?.();try{Hy(e,n)}catch(s){throw t&&Hd(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Hy(e,t){let n=Rl();try{lc(!0),fs(e,t);let r=0;for(;mo(e);){if(r===By)throw new x(103,!1);r++,fs(e,1)}}finally{lc(n)}}function $y(e,t,n,r){let o=t[w];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Ce].inlineEffectRunner?.flush(),aa(t);let a=!0,u=null,c=null;i||(Wd(e)?(c=Fy(t),u=hn(c)):ju()===null?(a=!1,c=jy(t),u=hn(c)):t[ae]&&(pr(t[ae]),t[ae]=null));try{Ml(t),bg(e.bindingStartIndex),n!==null&&Od(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&_r(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Mr(t,f,0,null),Ii(t,0)}if(s||Uy(t),Zd(t,0),e.contentQueries!==null&&Ld(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&_r(t,f)}else{let f=e.contentHooks;f!==null&&Mr(t,f,1),Ii(t,1)}iy(e,t);let d=e.components;d!==null&&Qd(t,d,0);let p=e.viewQuery;if(p!==null&&ds(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&_r(t,f)}else{let f=e.viewHooks;f!==null&&Mr(t,f,2),Ii(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[br]){for(let f of t[br])f();t[br]=null}i||(t[w]&=-73)}catch(l){throw i||yo(t),l}finally{c!==null&&(dr(c,u),a&&ky(c)),ua()}}function Zd(e,t){for(let n=rd(e);n!==null;n=od(n))for(let r=z;r-1&&(En(t,r),Or(n,r))}this._attachedToViewContainer=!1}Mo(this._lView[E],this._lView)}onDestroy(t){Sl(this._lView,t)}markForCheck(){Ma(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){$i(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,qd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Bi(this._lView),n=this._lView[mt];n!==null&&!t&&ya(n,this._lView),Dd(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t;let n=Bi(this._lView),r=this._lView[mt];r!==null&&!n&&Id(r,this._lView),$i(this._lView)}},Cn=(()=>{class e{static{this.__NG_ELEMENT_ID__=qy}}return e})(),Gy=Cn,Wy=class extends Gy{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Nn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Ct(o)}};function qy(){return Oo($(),D())}function Oo(e,t){return e.type&4?new Wy(t,e,tn(e,t)):null}var XS=new RegExp(`^(\\d+)*(${dm}|${lm})*(.*)`);var Zy=()=>null;function Yt(e,t){return Zy(e,t)}var Qt=class{},xa=new N("",{providedIn:"root",factory:()=>!1});var Kd=new N(""),Jd=new N(""),ps=class{},qr=class{};function Yy(e){let t=Error(`No component factory found for ${J(e)}.`);return t[Qy]=e,t}var Qy="ngComponent";var hs=class{resolveComponentFactory(t){throw Yy(t)}},Kt=class{static{this.NULL=new hs}},Zr=class{},Ro=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>Ky()}}return e})();function Ky(){let e=D(),t=$(),n=Je(t.index,e);return(Ge(n)?n:e)[k]}var Jy=(()=>{class e{static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>null})}}return e})();function Yr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&xd(e,n,i.join(" "))}}function iv(e,t,n){let r=e.projection=[];for(let o=0;o{class e{static{this.__NG_ELEMENT_ID__=av}}return e})();function av(){let e=$();return ef(e,D())}var uv=On,Xd=class extends uv{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return tn(this._hostTNode,this._hostLView)}get injector(){return new pt(this._hostTNode,this._hostLView)}get parentInjector(){let t=ca(this._hostTNode,this._hostLView);if(Hl(t)){let n=Vr(t,this._hostLView),r=jr(t),o=n[E].data[r+8];return new pt(o,n)}else return new pt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Nc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-z}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Yt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Zt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!sg(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new Jt(qe(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let m=(s?c:this.parentInjector).get(Ze,null);m&&(i=m)}let l=qe(u.componentType??{}),d=Yt(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,Zt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(pg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[W],c=new Xd(u,u[X],u[W]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return An(s,o,i,r),t.attachToViewContainerRef(),tl(_i(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Nc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=En(this._lContainer,n);r&&(Or(_i(this._lContainer),n),Mo(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=En(this._lContainer,n);return r&&Or(_i(this._lContainer),n)!=null?new Ct(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Nc(e){return e[kr]}function _i(e){return e[kr]||(e[kr]=[])}function ef(e,t){let n,r=t[e.index];return Fe(r)?n=r:(n=kd(r,t,null,e),t[e.index]=n,Ao(t,n)),lv(n,t,e,r),new Xd(n,e,t)}function cv(e,t){let n=e[k],r=n.createComment(""),o=ue(t,e),i=Cd(n,o);return Gr(n,i,r,Km(n,o),!1),r}var lv=pv,dv=()=>!1;function fv(e,t,n){return dv(e,t,n)}function pv(e,t,n,r){if(e[yt])return;let o;n.type&8?o=be(r):o=cv(t,n),e[yt]=o}var ms=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ys=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=z;dt.trim())}function of(e,t,n){e.queries===null&&(e.queries=new vs),e.queries.track(new Ds(t,n))}function Iv(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Ta(e,t){return e.queries.getByIndex(t)}function sf(e,t){let n=e[E],r=Ta(n,t);return r.crossesNgTemplate?Is(n,e,t,[]):tf(n,e,r,t)}var Ac=new Set;function ge(e){Ac.has(e)||(Ac.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function tT(e){return typeof e=="function"&&e[se]!==void 0}function wv(e,t){ge("NgSignals");let n=Yu(e),r=n[se];return t?.equal&&(r.equal=t.equal),n.set=o=>yi(r,o),n.update=o=>Qu(r,o),n.asReadonly=Ev.bind(n),n}function Ev(){let e=this[se];if(e.readonlyFn===void 0){let t=()=>this();t[se]=e,e.readonlyFn=t}return e.readonlyFn}function af(e,t){let n,r=mi(()=>{n._dirtyCounter();let o=Mv(n,e);if(t&&o===void 0)throw new x(-951,!1);return o});return n=r[se],n._dirtyCounter=wv(0),n._flatValue=void 0,r}function Cv(){return af(!0,!1)}function bv(){return af(!0,!0)}function _v(e,t){let n=e[se];n._lView=D(),n._queryIndex=t,n._queryList=Sa(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Mv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[w]&4)return t?void 0:Z;let o=Sa(n,r),i=sf(n,r);return o.reset(i,ed),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Oc(e,t){return Cv()}function xv(e,t){return bv()}var nT=(Oc.required=xv,Oc);function Sv(e){return Object.getPrototypeOf(e.prototype).constructor}function Tv(e){let t=Sv(e.type),n=!0,r=[e];for(;t;){let o;if(Oe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new x(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Ir(e.inputs),s.inputTransforms=Ir(e.inputTransforms),s.declaredInputs=Ir(e.declaredInputs),s.outputs=Ir(e.outputs);let a=o.hostBindings;a&&Fv(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Ov(e,u),c&&Rv(e,c),Nv(e,o),ih(e.outputs,o.outputs),Oe(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Dn(o.hostAttrs,n=Dn(n,o.hostAttrs))}}function Ir(e){return e===Ne?{}:e===Z?[]:e}function Ov(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Rv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Fv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function rT(e){let t=n=>{let r=(Array.isArray(e)?e:e()).map(o=>typeof o=="function"?{directive:H(o),inputs:Ne,outputs:Ne}:{directive:H(o.directive),inputs:Rc(o.inputs),outputs:Rc(o.outputs)});n.hostDirectives===null?(n.findHostDirectiveDefs=uf,n.hostDirectives=r):n.hostDirectives.unshift(...r)};return t.ngInherit=!0,t}function uf(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives){let o=Zs(r.directive);Pv(o.declaredInputs,r.inputs),uf(o,t,n),n.set(o,r),t.push(o)}}function Rc(e){if(e===void 0||e.length===0)return Ne;let t={};for(let n=0;nn()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},Cs=class extends ws{constructor(t){super(),this.moduleType=t}create(t){return new Es(this.moduleType,t,[])}};var Jr=class extends Ke{constructor(t){super(),this.componentFactoryResolver=new Qr(this),this.instance=null;let n=new In([...t.providers,{provide:Ke,useValue:this},{provide:Kt,useValue:this.componentFactoryResolver}],t.parent||Qs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function kv(e,t,n=null){return new Jr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function lf(e){return jv(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Lv(e,t){if(Array.isArray(e))for(let n=0;n{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}}return e})(),bs=class e{constructor(){this.ngZone=I(Y),this.scheduler=I(Qt),this.errorHandler=I(Et,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Ht.EarlyRead,Ht.Write,Ht.MixedReadWrite,Ht.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}},_s=class{constructor(t,n,r,o){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function Wv(e,t){!t?.injector&&Ks(Wv);let n=t?.injector??I(_e);return yd(n)?(ge("NgAfterRender"),ff(e,n,t,!1)):pf}function qv(e,t){!t?.injector&&Ks(qv);let n=t?.injector??I(_e);return yd(n)?(ge("NgAfterNextRender"),ff(e,n,t,!0)):pf}function Zv(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function ff(e,t,n,r){let o=t.get(df);o.impl??=t.get(bs);let i=n?.phase??Ht.MixedReadWrite,s=n?.manualCleanup!==!0?t.get(Eo):null,a=new _s(o.impl,Zv(e,i),r,s);return o.impl.register(a),a}var pf={destroy(){}};function Yv(e,t,n,r){let o=D(),i=xt();if(re(o,i,t)){let s=P(),a=xn();My(a,o,e,t,n,r)}return Yv}function Aa(e,t,n,r){return re(e,xt(),n)?t+ht(n)+r:ee}function Qv(e,t,n,r,o,i){let s=Cg(),a=Na(e,s,n,o);return oa(2),a?t+ht(n)+r+ht(o)+i:ee}function wr(e,t){return e<<17|t<<2}function bt(e){return e>>17&32767}function Kv(e){return(e&2)==2}function Jv(e,t){return e&131071|t<<17}function Ms(e){return e|2}function Xt(e){return(e&131068)>>2}function Mi(e,t){return e&-131069|t<<2}function Xv(e){return(e&1)===1}function xs(e){return e|1}function eD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=bt(s),u=Xt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Mn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=bt(e[a+1]);e[r+1]=wr(p,a),p!==0&&(e[p+1]=Mi(e[p+1],r)),e[a+1]=Jv(e[a+1],r)}else e[r+1]=wr(a,0),a!==0&&(e[a+1]=Mi(e[a+1],r)),a=r;else e[r+1]=wr(u,0),a===0?a=r:e[u+1]=Mi(e[u+1],r),u=r;c&&(e[r+1]=Ms(e[r+1])),Fc(e,l,r,!0),Fc(e,l,r,!1),tD(t,l,e,r,i),s=wr(a,u),i?t.classBindings=s:t.styleBindings=s}function tD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Mn(i,t)>=0&&(n[r+1]=xs(n[r+1]))}function Fc(e,t,n,r){let o=e[n+1],i=t===null,s=r?bt(o):Xt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];nD(u,t)&&(a=!0,e[s+1]=r?xs(c):Ms(c)),s=r?bt(c):Xt(c)}a&&(e[n+1]=r?Ms(o):xs(o))}function nD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Mn(e,t)>=0:!1}var fe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rD(e){return e.substring(fe.key,fe.keyEnd)}function oD(e){return iD(e),hf(e,gf(e,0,fe.textEnd))}function hf(e,t){let n=fe.textEnd;return n===t?-1:(t=fe.keyEnd=sD(e,fe.key=t,n),gf(e,t,n))}function iD(e){fe.key=0,fe.keyEnd=0,fe.value=0,fe.valueEnd=0,fe.textEnd=e.length}function gf(e,t,n){for(;t32;)t++;return t}function aD(e,t,n){let r=D(),o=xt();if(re(r,o,t)){let i=P(),s=xn();No(i,s,r,e,t,r[k],n,!1)}return aD}function Ss(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ba(e,n,i[s],s,r)}function Oa(e,t,n){return yf(e,t,n,!1),Oa}function uD(e,t){return yf(e,t,null,!0),uD}function oT(e){vf(hD,mf,e,!0)}function mf(e,t){for(let n=oD(t);n>=0;n=hf(t,n))ao(e,rD(t),!0)}function yf(e,t,n,r){let o=D(),i=P(),s=oa(2);if(i.firstUpdatePass&&If(i,e,s,r),t!==ee&&re(o,s,t)){let a=i.data[Pe()];wf(i,a,o,o[k],e,o[s+1]=mD(t,n),r,s)}}function vf(e,t,n,r){let o=P(),i=oa(2);o.firstUpdatePass&&If(o,null,i,r);let s=D();if(n!==ee&&re(s,i,n)){let a=o.data[Pe()];if(Ef(a,r)&&!Df(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=Oi(u,n||"")),Ss(o,a,s,n,r)}else gD(o,a,s,s[k],s[i+1],s[i+1]=pD(e,t,n),r,i)}}function Df(e,t){return t>=e.expandoStartIndex}function If(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Pe()],s=Df(e,n);Ef(i,r)&&t===null&&!s&&(t=!1),t=cD(o,i,t,r),eD(o,i,t,n,s,r)}}function cD(e,t,n,r){let o=ia(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=xi(null,e,t,n,r),n=bn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=xi(o,e,t,n,r),i===null){let u=lD(e,t,r);u!==void 0&&Array.isArray(u)&&(u=xi(null,e,t,u[1],r),u=bn(u,t.attrs,r),dD(e,t,r,u))}else i=fD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function lD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Xt(r)!==0)return e[bt(r)]}function dD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[bt(o)]=r}function fD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===ee&&(p=d?Z:void 0);let f=d?vi(p,r):l===r?p:void 0;if(c&&!eo(f)&&(f=vi(u,r)),eo(f)&&(a=f,s))return a;let h=e[o+1];o=s?bt(h):Xt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=vi(u,r))}return a}function eo(e){return e!==void 0}function mD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=J(St(e)))),e}function Ef(e,t){return(e.flags&(t?8:16))!==0}function iT(e,t,n){let r=D(),o=Aa(r,e,t,n);vf(ao,mf,o,!0)}var Ts=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Si(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function yD(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=Si(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[u],h=Si(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let m=n(i,c),A=n(s,p),b=n(i,l);if(Object.is(b,A)){let O=n(u,f);Object.is(O,m)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new to,o??=Lc(e,i,s,n),Ns(e,r,i,b))e.updateValue(i,l),i++,s++;else if(o.has(b))r.set(m,e.detach(i)),s--;else{let O=e.create(i,t[i]);e.attach(i,O),i++,s++}}for(;i<=u;)kc(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,p=Si(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new to,o??=Lc(e,i,s,n);let f=n(i,d);if(Ns(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!c.done;)kc(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function Ns(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function kc(e,t,n,r,o){if(Ns(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Lc(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var to=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function sT(e,t){ge("NgControlFlow");let n=D(),r=xt(),o=n[r]!==ee?n[r]:-1,i=o!==-1?no(n,V+o):void 0,s=0;if(re(n,r,e)){let a=_(null);try{if(i!==void 0&&zd(i,s),e!==-1){let u=V+e,c=no(n,u),l=Fs(n[E],u),d=Yt(c,l.tView.ssrId),p=Nn(n,l,t,{dehydratedView:d});An(c,p,s,Zt(l,d))}}finally{_(a)}}else if(i!==void 0){let a=Ud(i,s);a!==void 0&&(a[U]=t)}}var As=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-z}};function aT(e,t){return t}var Os=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function uT(e,t,n,r,o,i,s,a,u,c,l,d,p){ge("NgControlFlow");let f=D(),h=P(),m=u!==void 0,A=D(),b=a?s.bind(A[ne][U]):s,O=new Os(m,b);A[V+e]=O,Xr(f,h,e+1,t,n,r,o,Ye(h.consts,i)),m&&Xr(f,h,e+2,u,c,l,d,Ye(h.consts,p))}var Rs=class extends Ts{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-z}at(t){return this.getLView(t)[U].$implicit}attach(t,n){let r=n[Gt];this.needsIndexUpdate||=t!==this.length,An(this.lContainer,n,t,Zt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,vD(this.lContainer,t)}create(t,n){let r=Yt(this.lContainer,this.templateTNode.tView.ssrId),o=Nn(this.hostLView,this.templateTNode,new As(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Mo(t[E],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[U].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Io(!0),vd(r,o,Ag()));function CD(e,t,n,r,o){let i=t.consts,s=Ye(i,r),a=nn(t,e,8,"ng-container",s);s!==null&&Yr(a,s,!0);let u=Ye(i,o);return Ca(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function _f(e,t,n){let r=D(),o=P(),i=e+V,s=o.firstCreatePass?CD(i,o,r,t,n):o.data[i];_t(s,!0);let a=_D(o,r,s,e);return r[i]=a,Do()&&xo(o,r,a,s),Qe(a,r),po(s)&&(Ia(o,r,s),Da(o,s,r)),n!=null&&wa(r,s),_f}function Mf(){let e=$(),t=P();return na()?ra():(e=e.parent,_t(e,!1)),t.firstCreatePass&&(wo(t,e),Xs(e)&&t.queries.elementEnd(e)),Mf}function bD(e,t,n){return _f(e,t,n),Mf(),bD}var _D=(e,t,n,r)=>(Io(!0),Um(t[k],""));function lT(){return D()}function MD(e,t,n){let r=D(),o=xt();if(re(r,o,t)){let i=P(),s=xn();No(i,s,r,e,t,r[k],n,!0)}return MD}function xD(e,t,n){let r=D(),o=xt();if(re(r,o,t)){let i=P(),s=xn(),a=ia(i.data),u=Bd(a,s,r);No(i,s,r,e,t,u,n,!0)}return xD}var ft=void 0;function SD(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var TD=["en",[["a","p"],["AM","PM"],ft],[["AM","PM"],ft,ft],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ft,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],ft,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",ft,"{1} 'at' {0}",ft],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",SD],Ti={};function Ra(e){let t=ND(e),n=jc(t);if(n)return n;let r=t.split("-")[0];if(n=jc(r),n)return n;if(r==="en")return TD;throw new x(701,!1)}function jc(e){return e in Ti||(Ti[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),Ti[e]}var rn=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(rn||{});function ND(e){return e.toLowerCase().replace(/_/g,"-")}var ro="en-US";var AD=ro;function OD(e){typeof e=="string"&&(AD=e.toLowerCase().replace(/_/g,"-"))}var RD=(e,t,n)=>{};function FD(e,t,n,r){let o=D(),i=P(),s=$();return xf(i,o,o[k],s,e,t,r),FD}function PD(e,t){let n=$(),r=D(),o=P(),i=ia(o.data),s=Bd(i,n,r);return xf(o,r,s,n,e,t),PD}function kD(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function xf(e,t,n,r,o,i,s){let a=po(r),c=e.firstCreatePass&&Vd(e),l=t[U],d=jd(t),p=!0;if(r.type&3||s){let m=ue(r,t),A=s?s(m):m,b=d.length,O=s?q=>s(be(q[r.index])):r.index,oe=null;if(!s&&a&&(oe=kD(e,t,o,r.index)),oe!==null){let q=oe.__ngLastListenerFn__||oe;q.__ngNextListenerFn__=i,oe.__ngLastListenerFn__=i,p=!1}else{i=Bc(r,t,l,i),RD(m,o,i);let q=n.listen(A,o,i);d.push(i,q),c&&c.push(o,O,b,b+1)}}else i=Bc(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let m=h.length;if(m)for(let A=0;A-1?Je(e.index,t):t;Ma(s,5);let a=Vc(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=Vc(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function dT(e=1){return Tg(e)}function LD(e,t){let n=null,r=Lh(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function IT(e){let t=Eg();return go(t,V+e)}function wT(e,t=""){let n=D(),r=P(),o=e+V,i=r.firstCreatePass?nn(r,o,1,t,null):r.data[o],s=HD(r,n,i,t,e);n[o]=s,Do()&&xo(r,n,s,i),_t(i,!1)}var HD=(e,t,n,r,o)=>(Io(!0),Hm(t[k],r));function $D(e){return Tf("",e,""),$D}function Tf(e,t,n){let r=D(),o=Aa(r,e,t,n);return o!==ee&&$d(r,Pe(),o),Tf}function UD(e,t,n,r,o){let i=D(),s=Qv(i,e,t,n,r,o);return s!==ee&&$d(i,Pe(),s),UD}function zD(e,t,n){let r=P();if(r.firstCreatePass){let o=Oe(e);Ps(n,r.data,r.blueprint,o,!0),Ps(t,r.data,r.blueprint,o,!1)}}function Ps(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i>20;if(zt(e)||!e.multi){let f=new It(c,o,xe),h=Ai(u,t,o?l:l+p,d);h===-1?(Wi(Hr(a,s),i,u),Ni(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ai(u,t,l+p,d),h=Ai(u,t,l,l+p),m=f>=0&&n[f],A=h>=0&&n[h];if(o&&!A||!o&&!m){Wi(Hr(a,s),i,u);let b=qD(o?WD:GD,n.length,o,r,c);!o&&A&&(n[h].providerFactory=b),Ni(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(b),s.push(b)}else{let b=Nf(n[o?h:f],c,!o&&r);Ni(i,e,f>-1?f:h,b)}!o&&r&&A&&n[h].componentProviders++}}}function Ni(e,t,n,r){let o=zt(t),i=Xh(t);if(o||i){let u=(i?H(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function Nf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ai(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>zD(r,o?o(e):e,t)}}var ZD=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=pl(!1,n.type),o=r.length>0?kv([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(G(Ze))})}}return e})();function CT(e){ge("NgStandalone"),e.getStandaloneInjector=t=>t.get(ZD).getOrCreateStandaloneInjector(e)}function bT(e,t,n){let r=Mt()+e,o=D();return o[r]===ee?Fo(o,r,n?t.call(n):t()):Vv(o,r)}function _T(e,t,n,r){return Af(D(),Mt(),e,t,n,r)}function MT(e,t,n,r,o){return Of(D(),Mt(),e,t,n,r,o)}function xT(e,t,n,r,o,i){return Rf(D(),Mt(),e,t,n,r,o,i)}function Fa(e,t){let n=e[t];return n===ee?void 0:n}function Af(e,t,n,r,o,i){let s=t+n;return re(e,s,o)?Fo(e,s+1,i?r.call(i,o):r(o)):Fa(e,s+1)}function Of(e,t,n,r,o,i,s){let a=t+n;return Na(e,a,o,i)?Fo(e,a+2,s?r.call(s,o,i):r(o,i)):Fa(e,a+2)}function Rf(e,t,n,r,o,i,s,a){let u=t+n;return Bv(e,u,o,i,s)?Fo(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):Fa(e,u+3)}function ST(e,t){let n=P(),r,o=e+V;n.firstCreatePass?(r=YD(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=gt(r.type,!0)),s,a=K(xe);try{let u=Br(!1),c=i();return Br(u),BD(n,D(),o,c),c}finally{K(a)}}function YD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function TT(e,t,n){let r=e+V,o=D(),i=go(o,r);return Pa(o,r)?Af(o,Mt(),t,i.transform,n,i):i.transform(n)}function NT(e,t,n,r){let o=e+V,i=D(),s=go(i,o);return Pa(i,o)?Of(i,Mt(),t,s.transform,n,r,s):s.transform(n,r)}function AT(e,t,n,r,o){let i=e+V,s=D(),a=go(s,i);return Pa(s,i)?Rf(s,Mt(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Pa(e,t){return e[E].data[t].pure}function OT(e,t){return Oo(e,t)}var RT=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var QD=new N("");function Po(e){return!!e&&typeof e.then=="function"}function ka(e){return!!e&&typeof e.subscribe=="function"}var KD=new N(""),Ff=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=I(KD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=o();if(Po(i))n.push(i);else if(ka(i)){let s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),JD=new N("");function XD(){Zu(()=>{throw new x(600,!1)})}function eI(e){return e.isBoundToModule}var tI=10;function nI(e,t,n){try{let r=n();return Po(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var ko=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(nm),this.afterRenderManager=I(df),this.zonelessEnabled=I(xa),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ie,this.afterTick=new ie,this.componentTypes=[],this.components=[],this.isStable=I(Sn).hasPendingTasks.pipe(ve(n=>!n)),this._injector=I(Ze)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof qr;if(!this._injector.get(Ff).done){let p=!o&&Wh(n),f=!1;throw new x(405,f)}let s;o?s=n:s=this._injector.get(Kt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=eI(s)?void 0:this._injector.get(Ke),u=r||s.selector,c=s.create(_e.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(QD,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Sr(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new x(101,!1);let n=_(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,_(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Zr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++mo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Sr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(JD,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Sr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new x(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Sr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function rI(e,t,n,r){if(!n&&!mo(e))return;qd(e,t,n&&!r?0:1)}var Ls=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},FT=(()=>{class e{compileModuleSync(n){return new Cs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ll(n),i=md(o.declarations).reduce((s,a)=>{let u=qe(a);return u&&s.push(new Jt(u)),s},[]);return new Ls(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var oI=(()=>{class e{constructor(){this.zone=I(Y),this.changeDetectionScheduler=I(Qt),this.applicationRef=I(ko)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),iI=new N("",{factory:()=>!1});function Pf({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Y(ye(me({},kf()),{scheduleInRootZone:n})),[{provide:Y,useFactory:e},{provide:Rr,multi:!0,useFactory:()=>{let r=I(oI,{optional:!0});return()=>r.initialize()}},{provide:Rr,multi:!0,useFactory:()=>{let r=I(sI);return()=>{r.initialize()}}},t===!0?{provide:Kd,useValue:!0}:[],{provide:Jd,useValue:n??Kl}]}function PT(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Pf({ngZoneFactory:()=>{let o=kf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&ge("NgZone_CoalesceEvent"),new Y(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Zh([{provide:iI,useValue:!0},{provide:xa,useValue:!1},r])}function kf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var sI=(()=>{class e{constructor(){this.subscription=new L,this.initialized=!1,this.zone=I(Y),this.pendingTasks=I(Sn)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var aI=(()=>{class e{constructor(){this.appRef=I(ko),this.taskService=I(Sn),this.ngZone=I(Y),this.zonelessEnabled=I(xa),this.disableScheduling=I(Kd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new L,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ur):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(Jd,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Ki||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?gc:Jl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ur+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,gc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function uI(){return typeof $localize<"u"&&$localize.locale||ro}var Lo=new N("",{providedIn:"root",factory:()=>I(Lo,M.Optional|M.SkipSelf)||uI()});var js=new N("");function Er(e){return!e.moduleRef}function cI(e){let t=Er(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Y);return n.run(()=>{Er(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Et,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Er(e)){let i=()=>t.destroy(),s=e.platformInjector.get(js);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(js);s.add(i),e.moduleRef.onDestroy(()=>{Sr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return nI(r,n,()=>{let i=t.get(Ff);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Lo,ro);if(OD(s||ro),Er(e)){let a=t.get(ko);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return lI(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function lI(e,t){let n=e.injector.get(ko);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new x(-403,!1);t.push(e)}var Tr=null;function dI(e=[],t){return _e.create({name:t,providers:[{provide:ml,useValue:"platform"},{provide:js,useValue:new Set([()=>Tr=null])},...e]})}function fI(e=[]){if(Tr)return Tr;let t=dI(e);return Tr=t,XD(),pI(t),t}function pI(e){e.get(cm,null)?.forEach(n=>n())}var Rn=(()=>{class e{static{this.__NG_ELEMENT_ID__=hI}}return e})();function hI(e){return gI($(),D(),(e&16)===16)}function gI(e,t,n){if(fo(e)&&!n){let r=Je(e.index,t);return new Ct(r,r)}else if(e.type&175){let r=t[ne];return new Ct(r,t)}return null}var Vs=class{constructor(){}supports(t){return lf(t)}create(t){return new Bs(t)}},mI=(e,t)=>t,Bs=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||mI}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Hs(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new oo),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new oo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Hs=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},$s=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},oo=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new $s,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Hc(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{class e{static{this.\u0275prov=F({token:e,providedIn:"root",factory:$c})}constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||$c()),deps:[[e,new _h,new bh]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new x(901,!1)}}return e})();function kT(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=fI(r),i=[Pf({}),{provide:Qt,useExisting:aI},...n||[]],s=new Jr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return cI({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function Fn(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function La(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function LT(e,t){ge("NgSignals");let n=mi(e);return t?.equal&&(n[se].equal=t.equal),n}function ja(e){let t=_(null);try{return e()}finally{_(t)}}var yI=new N("",{providedIn:"root",factory:()=>I(vI)}),vI=(()=>{class e{static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>new Us})}}return e})(),Us=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=I(Sn),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},zs=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Ju(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Et,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function DI(e,t){ge("NgSignals"),!t?.injector&&Ks(DI);let n=t?.injector??I(_e),r=t?.manualCleanup!==!0?n.get(Eo):null,o=new zs(n.get(yI),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Rn,null,{optional:!0});return!i||!(i._lView[w]&8)?o.watcher.notify():(i._lView[br]??=[]).push(o.watcher.notify),o}function jT(e){let t=qe(e);if(!t)return null;let n=new Jt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var zf=null;function Va(){return zf}function iN(e){zf??=e}var jf=class{};var Vo=new N(""),qa=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>I(wI),providedIn:"platform"})}}return e})(),sN=new N(""),wI=(()=>{class e extends qa{constructor(){super(),this._doc=I(Vo),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Va().getBaseHref(this._doc)}onPopState(n){let r=Va().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Va().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function Za(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Vf(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Le(e){return e&&e[0]!=="?"?"?"+e:e}var Bo=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>I(EI),providedIn:"root"})}}return e})(),Gf=new N(""),EI=(()=>{class e extends Bo{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(Vo).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Za(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Le(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Le(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Le(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(G(qa),G(Gf,8))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),aN=(()=>{class e extends Bo{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Za(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Le(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Le(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(G(qa),G(Gf,8))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})(),CI=(()=>{class e{constructor(n){this._subject=new pe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=MI(Vf(Bf(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Le(r))}normalize(n){return e.stripTrailingSlash(_I(this._basePath,Bf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Le(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Le(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static{this.normalizeQueryParams=Le}static{this.joinWithSlash=Za}static{this.stripTrailingSlash=Vf}static{this.\u0275fac=function(r){return new(r||e)(G(Bo))}}static{this.\u0275prov=F({token:e,factory:()=>bI(),providedIn:"root"})}}return e})();function bI(){return new CI(G(Bo))}function _I(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Bf(e){return e.replace(/\/index.html$/,"")}function MI(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Wf=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Wf||{});var je={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Pn(e,t){let n=Ra(e),r=n[rn.NumberSymbols][t];if(typeof r>"u"){if(t===je.CurrencyDecimal)return n[rn.NumberSymbols][je.Decimal];if(t===je.CurrencyGroup)return n[rn.NumberSymbols][je.Group]}return r}function xI(e,t){return Ra(e)[rn.NumberFormats][t]}var SI=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Hf=22,jo=".",kn="0",TI=";",NI=",",Ba="#";function AI(e,t,n,r,o,i,s=!1){let a="",u=!1;if(!isFinite(e))a=Pn(n,je.Infinity);else{let c=PI(e);s&&(c=FI(c));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let O=i.match(SI);if(O===null)throw new Error(`${i} is not a valid digit info`);let oe=O[1],q=O[3],Se=O[5];oe!=null&&(l=Ha(oe)),q!=null&&(d=Ha(q)),Se!=null?p=Ha(Se):q!=null&&d>p&&(p=d)}kI(c,d,p);let f=c.digits,h=c.integerLen,m=c.exponent,A=[];for(u=f.every(O=>!O);h0?A=f.splice(h,f.length):(A=f,f=[0]);let b=[];for(f.length>=t.lgSize&&b.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)b.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&b.unshift(f.join("")),a=b.join(Pn(n,r)),A.length&&(a+=Pn(n,o)+A.join("")),m&&(a+=Pn(n,je.Exponential)+"+"+m)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function OI(e,t,n){let r=xI(t,Wf.Decimal),o=RI(r,Pn(t,je.MinusSign));return AI(e,o,t,je.Group,je.Decimal,n)}function RI(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(TI),o=r[0],i=r[1],s=o.indexOf(jo)!==-1?o.split(jo):[o.substring(0,o.lastIndexOf(kn)+1),o.substring(o.lastIndexOf(kn)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(Ba));for(let l=0;l-1&&(t=t.replace(jo,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===kn;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===kn;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Hf&&(r=r.splice(0,Hf-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function kI(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o=c?h.pop():u=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function Ha(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function uN(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var $a=/\s+/,$f=[],cN=(()=>{class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=$f,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split($a):$f}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split($a):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split($a).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(r){return new(r||e)(xe(Xe),xe(Ro))}}static{this.\u0275dir=uo({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})();var lN=(()=>{class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static{this.\u0275fac=function(r){return new(r||e)(xe(On))}}static{this.\u0275dir=uo({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[ho]})}}return e})();function Ya(e,t){return new x(2100,!1)}var Ua=class{createSubscription(t,n){return ja(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){ja(()=>t.unsubscribe())}},za=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},LI=new za,jI=new Ua,dN=(()=>{class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Po(n))return LI;if(ka(n))return jI;throw Ya(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(r){return new(r||e)(xe(Rn,16))}}static{this.\u0275pipe=co({name:"async",type:e,pure:!1,standalone:!0})}}return e})();var fN=(()=>{class e{constructor(n){this._locale=n}transform(n,r,o){if(!VI(n))return null;o||=this._locale;try{let i=BI(n);return OI(i,o,r)}catch(i){throw Ya(e,i.message)}}static{this.\u0275fac=function(r){return new(r||e)(xe(Lo,16))}}static{this.\u0275pipe=co({name:"number",type:e,pure:!0,standalone:!0})}}return e})();function VI(e){return!(e==null||e===""||e!==e)}function BI(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var pN=(()=>{class e{transform(n,r,o){if(n==null)return null;if(!this.supports(n))throw Ya(e,n);return n.slice(r,o)}supports(n){return typeof n=="string"||Array.isArray(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=co({name:"slice",type:e,pure:!1,standalone:!0})}}return e})();var hN=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=ul({type:e})}static{this.\u0275inj=Zc({})}}return e})(),HI="browser",$I="server";function UI(e){return e===HI}function zI(e){return e===$I}var gN=(()=>{class e{static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>UI(I(Co))?new Ga(I(Vo),window):new Wa})}}return e})(),Ga=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=GI(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function GI(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Wa=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},Uf=class{};var qf=e=>e.src,WI=new N("",{providedIn:"root",factory:()=>qf});var qI=new N("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),ZI=(()=>{class e{constructor(){this.preloadedImages=I(qI),this.document=I(Vo)}createPreloadLinkTag(n,r,o,i){if(this.preloadedImages.has(r))return;this.preloadedImages.add(r);let s=n.createElement("link");n.setAttribute(s,"as","image"),n.setAttribute(s,"href",r),n.setAttribute(s,"rel","preload"),n.setAttribute(s,"fetchpriority","high"),i&&n.setAttribute(s,"imageSizes",i),o&&n.setAttribute(s,"imageSrcset",o),n.appendChild(this.document.head,s)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var YI=/^((\s*\d+w\s*(,|$)){1,})$/;var QI=[1,2],KI=640;var JI=1920,XI=1080;var mN=(()=>{class e{constructor(){this.imageLoader=I(WI),this.config=ew(I(ad)),this.renderer=I(Ro),this.imgElement=I(Xe).nativeElement,this.injector=I(_e),this.isServer=zI(I(Co)),this.preloadLinkCreator=I(ZI),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){ge("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0);let o=this._renderedSrc;this.lcpObserver!==null&&r&&o&&r!==o&&this.injector.get(Y).runOutsideAngular(()=>{this.lcpObserver?.updateImage(r,o)})}}callImageLoader(n){let r=n;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=YI.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=n?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(i=>i>=KI)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return QI.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>JI||this.height>XI),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==qf&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let s=this.injector.get(Rn);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(n,"load",r),i=this.renderer.listen(n,"error",r);tw(n,r)}ngOnDestroy(){}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=uo({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&Oa("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",nw],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",La],height:[2,"height","height",La],loading:"loading",priority:[2,"priority","priority",Fn],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Fn],fill:[2,"fill","fill",Fn],placeholder:[2,"placeholder","placeholder",rw],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[cf,ho]})}}return e})();function ew(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((n,r)=>n-r)),Object.assign({},fa,e,t)}function tw(e,t){e.complete&&e.naturalWidth&&t()}function nw(e){return typeof e=="string"?e:St(e)}function rw(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:Fn(e)}export{me as a,ye as b,ow as c,Jf as d,L as e,ot as f,qo as g,S as h,ti as i,ni as j,ie as k,on as l,bp as m,_p as n,it as o,dE as p,su as q,fE as r,uu as s,pE as t,hE as u,sn as v,De as w,Mp as x,xp as y,Sp as z,ut as A,ve as B,vp as C,le as D,ln as E,kt as F,Tp as G,Np as H,ii as I,ct as J,Lp as K,lt as L,jp as M,si as N,Ip as O,Vp as P,Nu as Q,dn as R,dt as S,ai as T,Bp as U,Hp as V,zp as W,Ou as X,ci as Y,Gp as Z,Wp as _,Ru as $,di as aa,Fu as ba,qp as ca,Zp as da,Pu as ea,Yp as fa,Qp as ga,ku as ha,x as ia,Wc as ja,F as ka,Zc as la,AS as ma,N as na,M as oa,G as pa,I as qa,bh as ra,_h as sa,vn as ta,OS as ua,ul as va,uo as wa,co as xa,Zh as ya,ml as za,Ze as Aa,RS as Ba,Ks as Ca,ho as Da,FS as Ea,PS as Fa,kS as Ga,LS as Ha,jS as Ia,Wg as Ja,_e as Ka,Eo as La,Sn as Ma,pe as Na,Y as Oa,Et as Pa,Xe as Qa,Ji as Ra,VS as Sa,BS as Ta,cm as Ua,Co as Va,HS as Wa,$S as Xa,St as Ya,ha as Za,US as _a,zS as $a,GS as ab,WS as bb,qS as cb,ld as db,Am as eb,_o as fb,ZS as gb,Rm as hb,YS as ib,zr as jb,QS as kb,xe as lb,KS as mb,Cn as nb,Qt as ob,Kt as pb,Zr as qb,Ro as rb,On as sb,ge as tb,tT as ub,wv as vb,nT as wb,Tv as xb,rT as yb,cf as zb,ws as Ab,kv as Bb,Uv as Cb,Ht as Db,Wv as Eb,qv as Fb,Yv as Gb,aD as Hb,Oa as Ib,uD as Jb,oT as Kb,iT as Lb,sT as Mb,aT as Nb,uT as Ob,cT as Pb,Cf as Qb,bf as Rb,wD as Sb,_f as Tb,Mf as Ub,bD as Vb,lT as Wb,MD as Xb,xD as Yb,FD as Zb,PD as _b,dT as $b,fT as ac,pT as bc,VD as cc,hT as dc,gT as ec,mT as fc,yT as gc,vT as hc,DT as ic,IT as jc,wT as kc,$D as lc,Tf as mc,UD as nc,ET as oc,CT as pc,bT as qc,_T as rc,MT as sc,xT as tc,ST as uc,TT as vc,NT as wc,AT as xc,OT as yc,RT as zc,Po as Ac,KD as Bc,JD as Cc,ko as Dc,FT as Ec,PT as Fc,Rn as Gc,Lf as Hc,kT as Ic,Fn as Jc,La as Kc,LT as Lc,ja as Mc,DI as Nc,jT as Oc,Va as Pc,iN as Qc,jf as Rc,Vo as Sc,sN as Tc,Bo as Uc,EI as Vc,aN as Wc,CI as Xc,uN as Yc,cN as Zc,lN as _c,dN as $c,fN as ad,pN as bd,hN as cd,HI as dd,UI as ed,zI as fd,gN as gd,Uf as hd,mN as id}; diff --git a/webui/dist/bitmagnet/browser/chunk-FNMD7JET.js b/webui/dist/bitmagnet/browser/chunk-FNMD7JET.js new file mode 100644 index 00000000..3418a9b8 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-FNMD7JET.js @@ -0,0 +1,2 @@ +import{A as ot,B as P,C as ct,D as lt,o as et,p as nt,q as it,r as at,t as st,y as O,z as rt}from"./chunk-HZYDZMJ4.js";import{c as tt,d as I,g,h as T,i as j}from"./chunk-6XXA7HXI.js";import{$b as B,Cb as S,Ea as z,Fa as N,Gb as U,Hc as G,Ka as u,Mb as Z,Oa as V,Qa as q,Qb as y,Rb as _,Sb as $,Tc as J,Wb as W,Yb as K,Zb as X,_b as Y,a as h,ec as w,fa as F,fc as C,gc as M,k as d,ka as b,kb as f,kc as D,lb as c,mc as R,na as A,nb as H,pa as o,pc as E,qa as L,ua as x,wa as k,xb as Q}from"./chunk-Z3WUIYN5.js";function ft(i,m){if(i&1){let t=W();y(0,"div",1)(1,"button",2),X("click",function(){z(t);let n=B();return N(n.action())}),D(2),_()()}if(i&2){let t=B();f(2),R(" ",t.data.action," ")}}var _t=["label"];function vt(i,m){}var bt=Math.pow(2,31)-1,v=class{constructor(m,t){this._overlayRef=t,this._afterDismissed=new d,this._afterOpened=new d,this._onAction=new d,this._dismissedByAction=!1,this.containerInstance=m,m._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(m){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(m,bt))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},dt=new A("MatSnackBarData"),p=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},kt=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=k({type:i,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return i})(),yt=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=k({type:i,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return i})(),gt=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=k({type:i,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return i})(),At=(()=>{class i{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(e){return new(e||i)(c(v),c(dt))}}static{this.\u0275cmp=x({type:i,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[E],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,n){e&1&&(y(0,"div",0),D(1),_(),S(2,ft,3,1,"div",1)),e&2&&(f(),R(" ",n.data.message,` +`),f(),Z(n.hasAction?2:-1))},dependencies:[st,kt,yt,gt],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return i})(),xt={snackBarState:tt("state",[T("void, hidden",g({transform:"scale(0.8)",opacity:0})),T("visible",g({transform:"scale(1)",opacity:1})),j("* => visible",I("150ms cubic-bezier(0, 0, 0.2, 1)")),j("* => void, * => hidden",I("75ms cubic-bezier(0.4, 0.0, 1, 1)",g({opacity:0})))])},St=0,Bt=(()=>{class i extends ot{constructor(t,e,n,a,s){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=a,this.snackBarConfig=s,this._document=L(J),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new d,this._onExit=new d,this._onEnter=new d,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${St++}`,this.attachDomPortal=r=>{this._assertNotAttached();let l=this._portalOutlet.attachDomPortal(r);return this._afterPortalAttached(),l},s.politeness==="assertive"&&!s.announcementMessage?this._live="assertive":s.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),e}attachTemplatePortal(t){this._assertNotAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),e}onAnimationEnd(t){let{fromState:e,toState:n}=t;if((n==="void"&&e!=="void"||n==="hidden")&&this._completeExit(),n==="visible"){let a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(s=>t.classList.add(s)):t.classList.add(e)),this._exposeToModals();let n=this._label.nativeElement,a="mdc-snackbar__label";n.classList.toggle(a,!n.querySelector(`.${a}`))}_exposeToModals(){let t=this._liveElementId,e=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let n=0;n{let e=t.getAttribute("aria-owns");if(e){let n=e.replace(this._liveElementId,"").trim();n.length>0?t.setAttribute("aria-owns",n):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),n?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(e){return new(e||i)(c(V),c(q),c(G),c(et),c(p))}}static{this.\u0275cmp=x({type:i,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,n){if(e&1&&(w(P,7),w(_t,7)),e&2){let a;C(a=M())&&(n._portalOutlet=a.first),C(a=M())&&(n._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(e,n){e&1&&Y("@state.done",function(s){return n.onAnimationEnd(s)}),e&2&&K("@state",n._animationState)},standalone:!0,features:[Q,E],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,n){e&1&&(y(0,"div",1)(1,"div",2,0)(3,"div",3),S(4,vt,0,0,"ng-template",4),_(),$(5,"div"),_()()),e&2&&(f(5),U("aria-live",n._live)("role",n._role)("id",n._liveElementId))},dependencies:[P],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-app-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-app-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-app-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-app-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color, var(--mat-app-inverse-primary));--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[xt.snackBarState]}})}}return i})();function wt(){return new p}var Ct=new A("mat-snack-bar-default-options",{providedIn:"root",factory:wt}),mt=(()=>{class i{get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}constructor(t,e,n,a,s,r){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=a,this._parentSnackBar=s,this._defaultConfig=r,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=At,this.snackBarContainerComponent=Bt,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){let a=h(h({},this._defaultConfig),n);return a.data={message:t,action:e},a.announcementMessage===t&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){let n=e&&e.viewContainerRef&&e.viewContainerRef.injector,a=u.create({parent:n||this._injector,providers:[{provide:p,useValue:e}]}),s=new O(this.snackBarContainerComponent,e.viewContainerRef,a),r=t.attach(s);return r.instance.snackBarConfig=e,r.instance}_attach(t,e){let n=h(h(h({},new p),this._defaultConfig),e),a=this._createOverlay(n),s=this._attachSnackBarContainer(a,n),r=new v(s,a);if(t instanceof H){let l=new rt(t,null,{$implicit:n.data,snackBarRef:r});r.instance=s.attachTemplatePortal(l)}else{let l=this._createInjector(n,r),ht=new O(t,void 0,l),pt=s.attachComponentPortal(ht);r.instance=pt.instance}return this._breakpointObserver.observe(it.HandsetPortrait).pipe(F(a.detachments())).subscribe(l=>{a.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),n.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(r,n),this._openedSnackBarRef=r,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){let e=new ct;e.direction=t.direction;let n=this._overlay.position().global(),a=t.direction==="rtl",s=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!a||t.horizontalPosition==="end"&&a,r=!s&&t.horizontalPosition!=="center";return s?n.left("0"):r?n.right("0"):n.centerHorizontally(),t.verticalPosition==="top"?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){let n=t&&t.viewContainerRef&&t.viewContainerRef.injector;return u.create({parent:n||this._injector,providers:[{provide:v,useValue:e},{provide:dt,useValue:t.data}]})}static{this.\u0275fac=function(e){return new(e||i)(o(lt),o(at),o(u),o(nt),o(i,12),o(Ct))}}static{this.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var ae=(()=>{class i{constructor(t){this.snackBar=t,this.expiry=1e3*10}addError(t,e=this.expiry){this.snackBar.open(t,"Dismiss",{duration:e,panelClass:["snack-bar-error"]})}static{this.\u0275fac=function(e){return new(e||i)(o(mt))}}static{this.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();export{ae as a}; diff --git a/webui/dist/bitmagnet/browser/chunk-GLXU5TTY.js b/webui/dist/bitmagnet/browser/chunk-GLXU5TTY.js new file mode 100644 index 00000000..6c9b6d76 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-GLXU5TTY.js @@ -0,0 +1 @@ +import{a as U}from"./chunk-RQ2LQKI2.js";import{Ea as K,Fa as Q,R as q,S as G,_a as R,a as b,b as D,s as j,w as H,wa as J}from"./chunk-HZYDZMJ4.js";import{$b as o,Cb as C,Ea as g,Fa as u,Hb as m,Lc as v,Mb as S,Na as L,Nb as M,Ob as z,Pb as E,Qb as a,Rb as s,Tb as V,Ub as k,Wb as y,Zb as _,bd as $,kb as l,kc as c,mc as P,pc as F,qa as f,rc as N,sc as O,tc as A,ua as T,vc as h,wc as d,xa as x,xc as B,zb as w}from"./chunk-Z3WUIYN5.js";var X=(()=>{class t{constructor(){this.transloco=f(b)}transform(e,i=!0,n=2){if(i&&e>0&&n>0){let Y=Math.floor(Math.log10(Math.abs(e))),I=Math.pow(10,Y-(n-1));e=Math.round(e/I)*I}let p=Intl.NumberFormat(this.transloco.getActiveLang()).format(e);return i?`~${p}`:p}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=x({name:"intEstimate",type:t,pure:!1,standalone:!0})}}return t})();var Z=(t,r,e)=>({x:t,y:r,z:e}),tt=(t,r)=>({x:t,y:r}),et=t=>[null,t];function it(t,r){if(t&1&&(a(0,"mat-option",4),c(1),s()),t&2){let e=r.$implicit;m("value",e),l(),P(" ",e," ")}}function nt(t,r){if(t&1&&(c(0),h(1,"number"),h(2,"number"),h(3,"intEstimate")),t&2){let e,i=o().$implicit,n=o();P(" ",i("paginator.x_to_y_of_z",A(8,Z,d(1,1,n.firstItemIndex),d(2,3,n.lastItemIndex),B(3,5,(e=n.totalLength)!==null&&e!==void 0?e:0,n.totalIsEstimate)))," ")}}function at(t,r){if(t&1&&(c(0),h(1,"number"),h(2,"number")),t&2){let e=o().$implicit,i=o();P(" ",e("paginator.x_to_y",O(5,tt,d(1,1,i.firstItemIndex),d(2,3,i.lastItemIndex)))," ")}}function ot(t,r){if(t&1){let e=y();a(0,"button",7),_("click",function(){let n;g(e);let p=o(2);return p.page=(n=p.pageCount)!==null&&n!==void 0?n:1,u(p.emitChange())}),a(1,"mat-icon"),c(2,"last_page"),s()()}if(t&2){let e=o().$implicit,i=o();m("disabled",N(2,et,i.page).includes(i.pageCount))("matTooltip",e("paginator.last_page"))}}function rt(t,r){if(t&1){let e=y();V(0),a(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),c(4,"Items per page"),s(),a(5,"mat-select",3),_("valueChange",function(n){g(e);let p=o();return p.pageSize=n,p.page=1,u(p.emitChange())}),z(6,it,2,2,"mat-option",4,M),s()(),a(8,"p",5),C(9,nt,4,12)(10,at,3,8),s(),a(11,"div",6)(12,"button",7),_("click",function(){g(e);let n=o();return n.page=1,u(n.emitChange())}),a(13,"mat-icon"),c(14,"first_page"),s()(),a(15,"button",7),_("click",function(){g(e);let n=o();return n.page=n.page-1,u(n.emitChange())}),a(16,"mat-icon"),c(17,"navigate_before"),s()(),a(18,"button",7),_("click",function(){g(e);let n=o();return n.page=n.page+1,u(n.emitChange())}),a(19,"mat-icon"),c(20,"navigate_next"),s()(),C(21,ot,3,4,"button",8),s()(),k()}if(t&2){let e=r.$implicit,i=o();l(5),m("value",i.pageSize),l(),E(i.pageSizes),l(3),S(i.hasTotalLength?9:10),l(3),m("disabled",!i.hasPreviousPage)("matTooltip",e("paginator.first_page")),l(3),m("disabled",!i.hasPreviousPage)("matTooltip",e("paginator.previous_page")),l(3),m("disabled",!i.actuallyHasNextPage)("matTooltip",e("paginator.next_page")),l(3),S(i.showLastPage?21:-1)}}var It=(()=>{class t{constructor(){this.page=1,this.pageSize=10,this.pageSizes=[10,20,50,100],this.pageLength=0,this.totalLength=null,this.totalIsEstimate=!1,this.hasNextPage=null,this.showLastPage=!1,this.paging=new L}get firstItemIndex(){return(this.page-1)*this.pageSize+1}get lastItemIndex(){return(this.page-1)*this.pageSize+this.pageLength}get hasTotalLength(){return typeof this.totalLength=="number"}get hasPreviousPage(){return this.page>1}get pageCount(){return typeof this.totalLength!="number"?null:Math.ceil(this.totalLength/this.pageSize)}get actuallyHasNextPage(){return typeof this.hasNextPage=="boolean"?this.hasNextPage:typeof this.totalLength!="number"?!1:this.page*this.pageSize *[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.paginator[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 20px}.paginator[_ngcontent-%COMP%] .field-items-per-page[_ngcontent-%COMP%]{width:140px}"]})}}return t})();var Et=(()=>{class t{constructor(){this.transloco=f(b)}transform(e){return U(e,this.transloco.getActiveLang())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=x({name:"timeAgo",type:t,pure:!1,standalone:!0})}}return t})();export{X as a,It as b,Et as c}; diff --git a/webui/dist/bitmagnet/browser/chunk-HZYDZMJ4.js b/webui/dist/bitmagnet/browser/chunk-HZYDZMJ4.js new file mode 100644 index 00000000..aa2396c8 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-HZYDZMJ4.js @@ -0,0 +1,435 @@ +import{c as gt,d as Xe,e as Qu,g as Oe,h as it,i as Ze,j as qu,k as Wu}from"./chunk-6XXA7HXI.js";import{b as zu,h as Hu,p as Uu}from"./chunk-CMNWCZJM.js";import{$b as fe,$c as oa,Aa as Cu,B as xe,Bc as Vu,C as Yo,Ca as ku,Cb as te,Da as Pe,Db as Au,Ea as ce,Eb as ea,Ec as ac,F as bu,Fa as le,Fb as et,G as zi,Ga as Wt,Gb as W,H as mn,Ha as Xo,Hb as ue,Hc as pe,I as Nt,Ia as Ke,Ib as ft,Ic as bn,J as vu,Ja as It,Jb as P,K as Fe,Ka as Ee,Kb as qe,Kc as O,L as ye,La as Zo,Lb as Ou,Lc as $e,M as Js,Mb as ge,Mc as gi,N as Ko,Na as z,Nb as nc,Nc as Yt,Oa as V,Ob as rc,Oc as sc,Pa as Jo,Pb as oc,Q as pi,Qa as E,Qb as w,Qc as cc,Ra as Gt,Rb as I,S as Ye,Sb as ie,T as ec,Ta as Du,Tc as oe,U as Ur,V as Di,Va as Eu,Vb as pt,W as _u,Wa as we,Wb as Ge,Xa as Iu,Xb as St,Yb as Ru,Yc as na,Zb as J,_ as yu,_b as Fu,_c as ra,a as B,aa as xu,ac as se,b as Ue,ba as Qr,bc as A,c as uu,ca as Yn,da as Me,dc as he,dd as yt,e as Te,ea as at,ec as re,f as hu,fa as $,fb as Kn,fc as S,fd as Bu,ga as wu,gb as Su,gc as T,h as lt,ha as fi,hc as Pu,ia as qr,ic as Nu,j as mu,ja as Lt,jc as $t,k as R,ka as ee,kb as j,kc as Tt,l as Vi,la as N,lb as u,lc as ri,m as $o,mb as tc,mc as ta,n as pu,na as C,nb as Ae,o as Bi,oc as de,p as mt,pa as x,pb as fn,pc as U,q as g,qa as F,r as Pt,rb as Wr,rc as Lu,s as ii,sb as Qe,sc as ju,t as ni,u as ot,ua as H,ub as ic,v as fu,va as L,vb as gn,w as ki,wa as D,wb as Tu,x as He,xb as ne,y as gu,ya as pn,yb as Mu,z as Hr,zb as ae,zc as ia}from"./chunk-Z3WUIYN5.js";function aa(i){i||(ku(aa),i=F(Zo));let n=new lt(e=>i.onDestroy(e.next.bind(e)));return e=>e.pipe($(n))}function Gu(i){return i&&i.constructor&&typeof i.constructor.isBuffer=="function"&&i.constructor.isBuffer(i)}function $u(i){return i}function lc(i,n){n=n||{};let e=n.delimiter||".",t=n.maxDepth,r=n.transformKey||$u,o={};function a(s,c,l){l=l||1,Object.keys(s).forEach(function(d){let h=s[d],m=n.safe&&Array.isArray(h),p=Object.prototype.toString.call(h),f=Gu(h),b=p==="[object Object]"||p==="[object Array]",_=c?c+e+r(d):r(d);if(!m&&!f&&b&&Object.keys(h).length&&(!n.maxDepth||l0&&(m=s(h.shift()),p=s(h[0]))}f[m]=dc(i[d],n)}),o}var mc=class{translations;constructor(n){this.translations=n}getTranslation(n){return He(this.translations.get(n)||{})}},Xu=new C("TRANSLOCO_LOADER");function uc(i,n){return i&&(Object.prototype.hasOwnProperty.call(i,n)?i[n]:n.split(".").reduce((e,t)=>e?.[t],i))}function qb(i,n,e){i=B({},i);let t=n.split("."),r=t.length-1;return t.reduce((o,a,s)=>(s===r?o[a]=e:o[a]=Array.isArray(o[a])?o[a].slice():B({},o[a]),o&&o[a]),i),i}function Zu(i){return i?Array.isArray(i)?i.length:_c(i)?Object.keys(i).length:i?i.length:0:0}function Wb(i){return Zu(i)===0}function Gb(i){return typeof i=="function"}function Zn(i){return typeof i=="string"}function _c(i){return!!i&&typeof i=="object"&&!Array.isArray(i)}function Ju(i){return i.replace(/(?:^\w|[A-Z]|\b\w)/g,(n,e)=>e==0?n.toLowerCase():n.toUpperCase()).replace(/\s+|_|-|\//g,"")}function pc(i){return i==null}function Yu(i){return pc(i)===!1}function eh(i){return i&&typeof i.scope=="string"}function $b(i){return i&&_c(i.loader)}function Yb(i){return dc(i)}function Ku(i){return lc(i,{safe:!0})}var Jn=new C("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Xn}),Xn={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"],scopes:{keepCasing:!1}};function Kb(i={}){return Ue(B(B({},Xn),i),{missingHandler:B(B({},Xn.missingHandler),i.missingHandler),flatten:B(B({},Xn.flatten),i.flatten),scopes:B(B({},Xn.scopes),i.scopes)})}var th=new C("TRANSLOCO_TRANSPILER"),Xb=(()=>{class i{config=F(Jn,{optional:!0})??Xn;get interpolationMatcher(){return Zb(this.config)}transpile({value:e,params:t={},translation:r,key:o}){if(Zn(e)){let a,s=e;for(;(a=this.interpolationMatcher.exec(s))!==null;){let[c,l]=a;s=s.replace(c,()=>{let d=l.trim(),h=uc(t,d);return Yu(h)?h:Yu(r[d])?this.transpile({params:t,translation:r,key:o,value:r[d]}):""})}return s}else t&&(_c(e)?e=this.handleObject({value:e,params:t,translation:r,key:o}):Array.isArray(e)&&(e=this.handleArray({value:e,params:t,translation:r,key:o})));return e}handleObject({value:e,params:t={},translation:r,key:o}){let a=e;return Object.keys(t).forEach(s=>{let c=this.transpile({value:uc(a,s),params:uc(t,s),translation:r,key:o});a=qb(a,s,c)}),a}handleArray(r){var o=r,{value:e}=o,t=uu(o,["value"]);return e.map(a=>this.transpile(B({value:a},t)))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=ee({token:i,factory:i.\u0275fac})}return i})();function Zb(i){let[n,e]=i.interpolation;return new RegExp(`${n}([^${n}${e}]*?)${e}`,"g")}var ih=new C("TRANSLOCO_MISSING_HANDLER"),Jb=(()=>{class i{handle(e,t){if(t.missingHandler.logMissingKey&&!t.prodMode){let r=`Missing translation for '${e}'`;console.warn(`%c ${r}`,"font-size: 12px; color: red")}return e}static \u0275fac=function(t){return new(t||i)};static \u0275prov=ee({token:i,factory:i.\u0275fac})}return i})(),nh=new C("TRANSLOCO_INTERCEPTOR"),ev=(()=>{class i{preSaveTranslation(e){return e}preSaveTranslationKey(e,t){return t}static \u0275fac=function(t){return new(t||i)};static \u0275prov=ee({token:i,factory:i.\u0275fac})}return i})(),rh=new C("TRANSLOCO_FALLBACK_STRATEGY"),tv=(()=>{class i{userConfig;constructor(e){this.userConfig=e}getNextLangs(){let e=this.userConfig.fallbackLang;if(!e)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(e)?e:[e]}static \u0275fac=function(t){return new(t||i)(x(Jn))};static \u0275prov=ee({token:i,factory:i.\u0275fac})}return i})();function Gr(i){if(!i)return"";let n=i.split("/");return n.pop(),n.join("/")}function Hi(i){return i?i.split("/").pop():""}function fc(i,n,e="|"){if(Zn(i)){let t=i.split(e),r=t.pop();return r===n?[!0,t.toString()]:[!1,r]}return[!1,""]}function iv(i,n){let[e]=fc(n,"static");return e?!1:!!i.config.reRenderOnLangChange}function nv(i){return i?n=>n:Ye(1)}function rv(i,n){return Object.keys(i).reduce((e,t)=>(e[`${n}/${t}`]=i[t],e),{})}function oh(i,n){return $b(i)?rv(i.loader,n):void 0}function hc(i){return{scope:Gr(i)||null,langName:Hi(i)}}function ah(i){let{path:n,inlineLoader:e,mainLoader:t,data:r}=i;if(e){let o=e[n];if(Gb(o)===!1)throw`You're using an inline loader but didn't provide a loader for ${n}`;return e[n]().then(a=>a.default?a.default:a)}return t.getTranslation(n,r)}function ov({mainLoader:i,path:n,data:e,fallbackPath:t,inlineLoader:r}){return(t?[n,t]:[n]).map(a=>{let s=ah({path:a,mainLoader:i,inlineLoader:r,data:e});return ki(s).pipe(xe(c=>({translation:c,lang:a})))})}var av;var sv=(()=>{class i{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new R;events$=this.events.asObservable();config;constructor(e,t,r,o,a,s){this.loader=e,this.parser=t,this.missingHandler=r,this.interceptor=o,this.fallbackStrategy=s,this.loader||(this.loader=new mc(this.translations)),av=this,this.config=JSON.parse(JSON.stringify(a)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new Vi(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.events$.pipe(aa()).subscribe(c=>{c.type==="translationLoadSuccess"&&c.wasFailure&&this.setActiveLang(c.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(e){this.defaultLang=e}getActiveLang(){return this.lang.getValue()}setActiveLang(e){return this.parser.onLangChanged?.(e),this.lang.next(e),this.events.next({type:"langChanged",payload:hc(e)}),this}setAvailableLangs(e){this.availableLangs=e}getAvailableLangs(){return this.availableLangs}load(e,t={}){let r=this.cache.get(e);if(r)return r;let o,a=this._isLangScoped(e),s;a&&(s=Gr(e));let c={path:e,mainLoader:this.loader,inlineLoader:t.inlineLoader,data:a?{scope:s}:void 0};if(this.useFallbackTranslation(e)){let d=a?`${s}/${this.firstFallbackLang}`:this.firstFallbackLang,h=ov(Ue(B({},c),{fallbackPath:d}));o=mn(h)}else{let d=ah(c);o=ki(d)}let l=o.pipe(yu(this.config.failedRetries),fi(d=>{if(Array.isArray(d)){d.forEach(h=>{this.handleSuccess(h.lang,h.translation),h.lang!==e&&this.cache.set(h.lang,He({}))});return}this.handleSuccess(e,d)}),Ko(d=>(this.config.prodMode||console.error(`Error while trying to load "${e}"`,d),this.handleFailure(e,t))),Qr(1));return this.cache.set(e,l),l}translate(e,t={},r=this.getActiveLang()){if(!e)return e;let{scope:o,resolveLang:a}=this.resolveLangAndScope(r);if(Array.isArray(e))return e.map(l=>this.translate(o?`${o}.${l}`:l,t,a));e=o?`${o}.${e}`:e;let s=this.getTranslation(a),c=s[e];return c?this.parser.transpile({value:c,params:t,translation:s,key:e}):this._handleMissingKey(e,c,t)}selectTranslate(e,t,r,o=!1){let a,s=(l,d)=>this.load(l,d).pipe(xe(()=>o?this.translateObject(e,t,l):this.translate(e,t,l)));if(pc(r))return this.langChanges$.pipe(at(l=>s(l)));if(r=Array.isArray(r)?r[0]:r,eh(r)){let l=r;r=l.scope,a=oh(l,l.scope)}if(r=r,this.isLang(r)||this.isScopeWithLang(r))return s(r);let c=r;return this.langChanges$.pipe(at(l=>s(`${c}/${l}`,{inlineLoader:a})))}isScopeWithLang(e){return this.isLang(Hi(e))}translateObject(e,t={},r=this.getActiveLang()){if(Zn(e)||Array.isArray(e)){let{resolveLang:a,scope:s}=this.resolveLangAndScope(r);if(Array.isArray(e))return e.map(d=>this.translateObject(s?`${s}.${d}`:d,t,a));let c=this.getTranslation(a);e=s?`${s}.${e}`:e;let l=Yb(this.getObjectByKey(c,e));return Wb(l)?this.translate(e,t,r):this.parser.transpile({value:l,params:t,translation:c,key:e})}let o=[];for(let[a,s]of this.getEntries(e))o.push(this.translateObject(a,s,r));return o}selectTranslateObject(e,t,r){if(Zn(e)||Array.isArray(e))return this.selectTranslate(e,t,r,!0);let[[o,a],...s]=this.getEntries(e);return this.selectTranslateObject(o,a,r).pipe(xe(c=>{let l=[c];for(let[d,h]of s)l.push(this.translateObject(d,h,r));return l}))}getTranslation(e){if(e){if(this.isLang(e))return this.translations.get(e)||{};{let{scope:t,resolveLang:r}=this.resolveLangAndScope(e),o=this.translations.get(r)||{};return this.getObjectByKey(o,t)}}return this.translations}selectTranslation(e){let t=this.langChanges$;if(e){let r=Hi(e)!==e;this.isLang(e)||r?t=He(e):t=this.langChanges$.pipe(xe(o=>`${e}/${o}`))}return t.pipe(at(r=>this.load(r).pipe(xe(()=>this.getTranslation(r)))))}setTranslation(e,t=this.getActiveLang(),r={}){let a=B(B({},{merge:!0,emitChange:!0}),r),s=Gr(t),c=e;if(s){let p=this.getMappedScope(s);c=Ku({[p]:e})}let l=s?Hi(t):t,d=B(B({},a.merge&&this.getTranslation(l)),c),h=this.config.flatten.aot?d:Ku(d),m=this.interceptor.preSaveTranslation(h,l);this.translations.set(l,m),a.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(e,t,r={}){let o=r.lang||this.getActiveLang(),a=this.interceptor.preSaveTranslationKey(e,t,o),s={[e]:a};this.setTranslation(s,o,Ue(B({},r),{merge:!0}))}setFallbackLangForMissingTranslation({fallbackLang:e}){let t=Array.isArray(e)?e[0]:e;e&&this.useFallbackTranslation(t)&&(this.firstFallbackLang=t)}_handleMissingKey(e,t,r){if(this.config.missingHandler.allowEmpty&&t==="")return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;let o=this.translate(e,r,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,o}return this.missingHandler.handle(e,this.getMissingHandlerData(),r)}_isLangScoped(e){return this.getAvailableLangsIds().indexOf(e)===-1}isLang(e){return this.getAvailableLangsIds().indexOf(e)!==-1}_loadDependencies(e,t){let r=Hi(e);return this._isLangScoped(e)&&!this.isLoadedTranslation(r)?Yo([this.load(r),this.load(e,{inlineLoader:t})]):this.load(e,{inlineLoader:t})}_completeScopeWithLang(e){return this._isLangScoped(e)&&!this.isLang(Hi(e))?`${e}/${this.getActiveLang()}`:e}_setScopeAlias(e,t){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[e]=t}ngOnDestroy(){this.cache.clear()}isLoadedTranslation(e){return Zu(this.getTranslation(e))}getAvailableLangsIds(){let e=this.getAvailableLangs()[0];return Zn(e)?this.getAvailableLangs():this.getAvailableLangs().map(t=>t.id)}getMissingHandlerData(){return Ue(B({},this.config),{activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang})}useFallbackTranslation(e){return this.config.missingHandler.useFallbackTranslation&&e!==this.firstFallbackLang}handleSuccess(e,t){this.setTranslation(t,e,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:hc(e)}),this.failedLangs.forEach(r=>this.cache.delete(r)),this.failedLangs.clear()}handleFailure(e,t){pc(t.failedCounter)&&(t.failedCounter=0,t.fallbackLangs||(t.fallbackLangs=this.fallbackStrategy.getNextLangs(e)));let r=e.split("/"),a=t.fallbackLangs[t.failedCounter];if(this.failedLangs.add(e),this.cache.has(a))return this.handleSuccess(a,this.getTranslation(a)),Bi;let s=a===r[r.length-1];if(!a||s){let l="Unable to load translation and all the fallback languages";throw r.length>1&&(l+=", did you misspelled the scope name?"),new Error(l)}let c=a;return r.length>1&&(r[r.length-1]=a,c=r.join("/")),t.failedCounter++,this.events.next({type:"translationLoadFailure",payload:hc(e)}),this.load(c,t)}getMappedScope(e){let{scopeMapping:t={},scopes:r={keepCasing:!1}}=this.config;return t[e]||(r.keepCasing?e:Ju(e))}resolveLangAndScope(e){let t=e,r;if(this._isLangScoped(e)){let o=Hi(e),a=this.isLang(o);t=a?o:this.getActiveLang(),r=this.getMappedScope(a?Gr(e):e)}return{scope:r,resolveLang:t}}getObjectByKey(e,t){let r={},o=`${t}.`;for(let a in e)a.startsWith(o)&&(r[a.replace(o,"")]=e[a]);return r}getEntries(e){return e instanceof Map?e.entries():Object.entries(e)}static \u0275fac=function(t){return new(t||i)(x(Xu,8),x(th),x(ih),x(nh),x(Jn),x(rh))};static \u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),cv=(()=>{class i{html;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=H({type:i,selectors:[["ng-component"]],inputs:{html:"html"},standalone:!0,features:[U],decls:1,vars:1,consts:[[1,"transloco-loader-template",3,"innerHTML"]],template:function(t,r){t&1&&ie(0,"div",0),t&2&&ue("innerHTML",r.html,Su)},encapsulation:2})}return i})(),gc=class{view;vcr;constructor(n,e){this.view=n,this.vcr=e}attachView(){if(this.view instanceof Ae)this.vcr.createEmbeddedView(this.view);else if(Zn(this.view)){let n=this.vcr.createComponent(cv);n.instance.html=this.view,n.hostView.detectChanges()}else this.vcr.createComponent(this.view)}detachView(){this.vcr.clear()}},lv=new C("TRANSLOCO_LANG"),dv=new C("TRANSLOCO_LOADING_TEMPLATE"),uv=new C("TRANSLOCO_SCOPE"),bc=class{initialized=!1;resolve({inline:n,provider:e,active:t}){let r=t;if(this.initialized)return r=t,r;if(e){let[,o]=fc(e,"static");r=o}if(n){let[,o]=fc(n,"static");r=o}return this.initialized=!0,r}resolveLangBasedOnScope(n){return Gr(n)?Hi(n):n}resolveLangPath(n,e){return e?`${e}/${n}`:n}},vc=class{service;constructor(n){this.service=n}resolve(n){let{inline:e,provider:t}=n;if(e)return e;if(t){if(eh(t)){let{scope:r,alias:o=this.service.config.scopes.keepCasing?r:Ju(r)}=t;return this.service._setScopeAlias(r,o),r}return t}}},RE=(()=>{class i{destroyRef=F(Zo);service=F(sv);tpl=F(Ae,{optional:!0});providerLang=F(lv,{optional:!0});providerScope=F(uv,{optional:!0});providedLoadingTpl=F(dv,{optional:!0});cdr=F(pe);host=F(E);vcr=F(Qe);renderer=F(Wr);view;memo=new Map;key;params={};inlineScope;inlineRead;prefix;inlineLang;inlineTpl;currentLang;loaderTplHandler;initialized=!1;path;langResolver=new bc;scopeResolver=new vc(this.service);strategy=this.tpl===null?"attribute":"structural";static ngTemplateContextGuard(e,t){return!0}ngOnInit(){let e=iv(this.service,this.providerLang||this.inlineLang);if(this.service.langChanges$.pipe(at(t=>{let r=this.langResolver.resolve({inline:this.inlineLang,provider:this.providerLang,active:t});return Array.isArray(this.providerScope)?mn(this.providerScope.map(o=>this.resolveScope(r,o))):this.resolveScope(r,this.providerScope)}),nv(e),aa(this.destroyRef)).subscribe(()=>{this.currentLang=this.langResolver.resolveLangBasedOnScope(this.path),this.strategy==="attribute"?this.attributeStrategy():this.structuralStrategy(this.currentLang,this.prefix||this.inlineRead),this.cdr.markForCheck(),this.initialized=!0}),!this.initialized){let t=this.resolveLoadingContent();t&&(this.loaderTplHandler=new gc(t,this.vcr),this.loaderTplHandler.attachView())}}ngOnChanges(e){this.strategy==="attribute"&&Object.keys(e).some(r=>!e[r].firstChange)&&this.attributeStrategy()}attributeStrategy(){this.detachLoader(),this.renderer.setProperty(this.host.nativeElement,"innerText",this.service.translate(this.key,this.params,this.currentLang))}structuralStrategy(e,t){this.memo.clear();let r=this.getTranslateFn(e,t);this.view?(this.view.context.$implicit=r,this.view.context.currentLang=this.currentLang):(this.detachLoader(),this.view=this.vcr.createEmbeddedView(this.tpl,{$implicit:r,currentLang:this.currentLang}))}getTranslateFn(e,t){return(r,o)=>{let a=t?`${t}.${r}`:r,s=o?`${a}${JSON.stringify(o)}`:a;return this.memo.has(s)||this.memo.set(s,this.service.translate(a,o,e)),this.memo.get(s)}}resolveLoadingContent(){return this.inlineTpl||this.providedLoadingTpl}ngOnDestroy(){this.memo.clear()}detachLoader(){this.loaderTplHandler?.detachView()}resolveScope(e,t){let r=this.scopeResolver.resolve({inline:this.inlineScope,provider:t});this.path=this.langResolver.resolveLangPath(e,r);let o=oh(t,r);return this.service._loadDependencies(this.path,o)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=D({type:i,selectors:[["","transloco",""]],inputs:{key:[0,"transloco","key"],params:[0,"translocoParams","params"],inlineScope:[0,"translocoScope","inlineScope"],inlineRead:[0,"translocoRead","inlineRead"],prefix:[0,"translocoPrefix","prefix"],inlineLang:[0,"translocoLang","inlineLang"],inlineTpl:[0,"translocoLoadingTpl","inlineTpl"]},standalone:!0,features:[Pe]})}return i})();var sh=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=L({type:i});static \u0275inj=N({})}return i})();function FE(i){let n=[pv(Xb),gv(Jb),bv(ev),fv(tv)];return i.config&&n.push(hv(i.config)),i.loader&&n.push(mv(i.loader)),n}function hv(i){return pn([{provide:Jn,useValue:Kb(i)}])}function mv(i){return pn([{provide:Xu,useClass:i}])}function pv(i){return pn([{provide:th,useClass:i,deps:[Jn]}])}function fv(i){return pn([{provide:rh,useClass:i,deps:[Jn]}])}function gv(i){return pn([{provide:ih,useClass:i}])}function bv(i){return pn([{provide:nh,useClass:i}])}var PE=new C("TRANSLOCO_TEST_LANGS - Available testing languages"),NE=new C("TRANSLOCO_TEST_OPTIONS - Testing options");var yc="Invariant Violation",ch=Object.setPrototypeOf,vv=ch===void 0?function(i,n){return i.__proto__=n,i}:ch,la=function(i){mt(n,i);function n(e){e===void 0&&(e=yc);var t=i.call(this,typeof e=="number"?yc+": "+e+" (see https://github.com/apollographql/invariant-packages)":e)||this;return t.framesToPop=1,t.name=yc,vv(t,n.prototype),t}return n}(Error);function Ui(i,n){if(!i)throw new la(n)}var ca=["debug","log","warn","error","silent"],xc=ca.indexOf("log");function sa(i){return function(){if(ca.indexOf(i)>=xc){var n=console[i]||console.log;return n.apply(console,arguments)}}}(function(i){i.debug=sa("debug"),i.log=sa("log"),i.warn=sa("warn"),i.error=sa("error")})(Ui||(Ui={}));function lh(i){var n=ca[xc];return xc=Math.max(0,ca.indexOf(i)),n}var $r="3.11.8";function xt(i){try{return i()}catch{}}var er=xt(function(){return globalThis})||xt(function(){return window})||xt(function(){return self})||xt(function(){return global})||xt(function(){return xt.constructor("return this")()});var dh=new Map;function Yr(i){var n=dh.get(i)||1;return dh.set(i,n+1),"".concat(i,":").concat(n,":").concat(Math.random().toString(36).slice(2))}function da(i,n){n===void 0&&(n=0);var e=Yr("stringifyForDisplay");return JSON.stringify(i,function(t,r){return r===void 0?e:r},n).split(JSON.stringify(e)).join("")}function ua(i){return function(n){for(var e=[],t=1;t"}}function wc(i,n){if(n===void 0&&(n=[]),!!i)return er[uh]&&er[uh](i,n.map(hh))}function Cc(i,n){if(n===void 0&&(n=[]),!!i)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:$r,message:i,args:n.map(hh)})))}var _v=globalThis.__DEV__!==!1;function tr(i,n){if(!!!i)throw new Error(n)}function mh(i){return typeof i=="object"&&i!==null}function ph(i,n){if(!!!i)throw new Error(n??"Unexpected invariant triggered.")}var yv=/\r\n|[\n\r]/g;function ir(i,n){let e=0,t=1;for(let r of i.body.matchAll(yv)){if(typeof r.index=="number"||ph(!1),r.index>=n)break;e=r.index+r[0].length,t+=1}return{line:t,column:n+1-e}}function kc(i){return ha(i.source,ir(i.source,i.start))}function ha(i,n){let e=i.locationOffset.column-1,t="".padStart(e)+i.body,r=n.line-1,o=i.locationOffset.line-1,a=n.line+o,s=n.line===1?e:0,c=n.column+s,l=`${i.name}:${a}:${c} +`,d=t.split(/\r\n|[\n\r]/g),h=d[r];if(h.length>120){let m=Math.floor(c/80),p=c%80,f=[];for(let b=0;b["|",b]),["|","^".padStart(p)],["|",f[m+1]]])}return l+fh([[`${a-1} |`,d[r-1]],[`${a} |`,h],["|","^".padStart(c)],[`${a+1} |`,d[r+1]]])}function fh(i){let n=i.filter(([t,r])=>r!==void 0),e=Math.max(...n.map(([t])=>t.length));return n.map(([t,r])=>t.padStart(e)+(r?" "+r:"")).join(` +`)}function xv(i){let n=i[0];return n==null||"kind"in n||"length"in n?{nodes:n,source:i[1],positions:i[2],path:i[3],originalError:i[4],extensions:i[5]}:n}var ma=class i extends Error{constructor(n,...e){var t,r,o;let{nodes:a,source:s,positions:c,path:l,originalError:d,extensions:h}=xv(e);super(n),this.name="GraphQLError",this.path=l??void 0,this.originalError=d??void 0,this.nodes=gh(Array.isArray(a)?a:a?[a]:void 0);let m=gh((t=this.nodes)===null||t===void 0?void 0:t.map(f=>f.loc).filter(f=>f!=null));this.source=s??(m==null||(r=m[0])===null||r===void 0?void 0:r.source),this.positions=c??m?.map(f=>f.start),this.locations=c&&s?c.map(f=>ir(s,f)):m?.map(f=>ir(f.source,f.start));let p=mh(d?.extensions)?d?.extensions:void 0;this.extensions=(o=h??p)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),d!=null&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,i):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let n=this.message;if(this.nodes)for(let e of this.nodes)e.loc&&(n+=` + +`+kc(e.loc));else if(this.source&&this.locations)for(let e of this.locations)n+=` + +`+ha(this.source,e);return n}toJSON(){let n={message:this.message};return this.locations!=null&&(n.locations=this.locations),this.path!=null&&(n.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(n.extensions=this.extensions),n}};function gh(i){return i===void 0||i.length===0?void 0:i}function st(i,n,e){return new ma(`Syntax Error: ${e}`,{source:i,positions:[n]})}var Kr=class{constructor(n,e,t){this.start=n.start,this.end=e.end,this.startToken=n,this.endToken=e,this.source=t}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},nr=class{constructor(n,e,t,r,o,a){this.kind=n,this.start=e,this.end=t,this.line=r,this.column=o,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},Dc={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},wv=new Set(Object.keys(Dc));function Ec(i){let n=i?.kind;return typeof n=="string"&&wv.has(n)}var vn=function(i){return i.QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription",i}(vn||{});var pa=function(i){return i.QUERY="QUERY",i.MUTATION="MUTATION",i.SUBSCRIPTION="SUBSCRIPTION",i.FIELD="FIELD",i.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",i.FRAGMENT_SPREAD="FRAGMENT_SPREAD",i.INLINE_FRAGMENT="INLINE_FRAGMENT",i.VARIABLE_DEFINITION="VARIABLE_DEFINITION",i.SCHEMA="SCHEMA",i.SCALAR="SCALAR",i.OBJECT="OBJECT",i.FIELD_DEFINITION="FIELD_DEFINITION",i.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.ENUM_VALUE="ENUM_VALUE",i.INPUT_OBJECT="INPUT_OBJECT",i.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",i}(pa||{});var G=function(i){return i.NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",i}(G||{});function fa(i){return i===9||i===32}function rr(i){return i>=48&&i<=57}function bh(i){return i>=97&&i<=122||i>=65&&i<=90}function Ic(i){return bh(i)||i===95}function vh(i){return bh(i)||rr(i)||i===95}function _h(i){var n;let e=Number.MAX_SAFE_INTEGER,t=null,r=-1;for(let a=0;as===0?a:a.slice(e)).slice((n=t)!==null&&n!==void 0?n:0,r+1)}function Cv(i){let n=0;for(;n1&&t.slice(1).every(p=>p.length===0||fa(p.charCodeAt(0))),a=e.endsWith('\\"""'),s=i.endsWith('"')&&!a,c=i.endsWith("\\"),l=s||c,d=!(n!=null&&n.minimize)&&(!r||i.length>70||l||o||a),h="",m=r&&fa(i.charCodeAt(0));return(d&&!m||o)&&(h+=` +`),h+=e,(d||l)&&(h+=` +`),'"""'+h+'"""'}var k=function(i){return i.SOF="",i.EOF="",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment",i}(k||{});var Zr=class{constructor(n){let e=new nr(k.SOF,0,0,0,0);this.source=n,this.lastToken=e,this.token=e,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let n=this.token;if(n.kind!==k.EOF)do if(n.next)n=n.next;else{let e=kv(this,n.end);n.next=e,e.prev=n,n=e}while(n.kind===k.COMMENT);return n}};function wh(i){return i===k.BANG||i===k.DOLLAR||i===k.AMP||i===k.PAREN_L||i===k.PAREN_R||i===k.SPREAD||i===k.COLON||i===k.EQUALS||i===k.AT||i===k.BRACKET_L||i===k.BRACKET_R||i===k.BRACE_L||i===k.PIPE||i===k.BRACE_R}function or(i){return i>=0&&i<=55295||i>=57344&&i<=1114111}function ga(i,n){return Ch(i.charCodeAt(n))&&kh(i.charCodeAt(n+1))}function Ch(i){return i>=55296&&i<=56319}function kh(i){return i>=56320&&i<=57343}function _n(i,n){let e=i.source.body.codePointAt(n);if(e===void 0)return k.EOF;if(e>=32&&e<=126){let t=String.fromCodePoint(e);return t==='"'?`'"'`:`"${t}"`}return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function ct(i,n,e,t,r){let o=i.line,a=1+e-i.lineStart;return new nr(n,e,t,o,a,r)}function kv(i,n){let e=i.source.body,t=e.length,r=n;for(;r=48&&i<=57?i-48:i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:-1}function Mv(i,n){let e=i.source.body;switch(e.charCodeAt(n+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw st(i.source,n,`Invalid character escape sequence: "${e.slice(n,n+2)}".`)}function Av(i,n){let e=i.source.body,t=e.length,r=i.lineStart,o=n+3,a=o,s="",c=[];for(;o2?"["+Lv(i)+"]":"{ "+e.map(([r,o])=>r+": "+ba(o,n)).join(", ")+" }"}function Nv(i,n){if(i.length===0)return"[]";if(n.length>2)return"[Array]";let e=Math.min(10,i.length),t=i.length-e,r=[];for(let o=0;o1&&r.push(`... ${t} more items`),"["+r.join(", ")+"]"}function Lv(i){let n=Object.prototype.toString.call(i).replace(/^\[object /,"").replace(/]$/,"");if(n==="Object"&&typeof i.constructor=="function"){let e=i.constructor.name;if(typeof e=="string"&&e!=="")return e}return n}var jv=globalThis.process&&!0,Dh=jv?function(n,e){return n instanceof e}:function(n,e){if(n instanceof e)return!0;if(typeof n=="object"&&n!==null){var t;let r=e.prototype[Symbol.toStringTag],o=Symbol.toStringTag in n?n[Symbol.toStringTag]:(t=n.constructor)===null||t===void 0?void 0:t.name;if(r===o){let a=ar(n);throw new Error(`Cannot use ${r} "${a}" from another module or realm. + +Ensure that there is only one instance of "graphql" in the node_modules +directory. If different versions of "graphql" are the dependencies of other +relied on modules, use "resolutions" to ensure only one version is installed. + +https://yarnpkg.com/en/docs/selective-version-resolutions + +Duplicate "graphql" modules cannot be used at the same time since different +versions may have different capabilities and behavior. The data from one +version used in the function from another could produce confusing and +spurious results.`)}}return!1};var sr=class{constructor(n,e="GraphQL request",t={line:1,column:1}){typeof n=="string"||tr(!1,`Body must be a string. Received: ${ar(n)}.`),this.body=n,this.name=e,this.locationOffset=t,this.locationOffset.line>0||tr(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||tr(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function Eh(i){return Dh(i,sr)}function _a(i,n){return new Tc(i,n).parseDocument()}var Tc=class{constructor(n,e={}){let t=Eh(n)?n:new sr(n);this._lexer=new Zr(t),this._options=e,this._tokenCounter=0}parseName(){let n=this.expectToken(k.NAME);return this.node(n,{kind:G.NAME,value:n.value})}parseDocument(){return this.node(this._lexer.token,{kind:G.DOCUMENT,definitions:this.many(k.SOF,this.parseDefinition,k.EOF)})}parseDefinition(){if(this.peek(k.BRACE_L))return this.parseOperationDefinition();let n=this.peekDescription(),e=n?this._lexer.lookahead():this._lexer.token;if(e.kind===k.NAME){switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(n)throw st(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(e.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(e)}parseOperationDefinition(){let n=this._lexer.token;if(this.peek(k.BRACE_L))return this.node(n,{kind:G.OPERATION_DEFINITION,operation:vn.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let e=this.parseOperationType(),t;return this.peek(k.NAME)&&(t=this.parseName()),this.node(n,{kind:G.OPERATION_DEFINITION,operation:e,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let n=this.expectToken(k.NAME);switch(n.value){case"query":return vn.QUERY;case"mutation":return vn.MUTATION;case"subscription":return vn.SUBSCRIPTION}throw this.unexpected(n)}parseVariableDefinitions(){return this.optionalMany(k.PAREN_L,this.parseVariableDefinition,k.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:G.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(k.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(k.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let n=this._lexer.token;return this.expectToken(k.DOLLAR),this.node(n,{kind:G.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:G.SELECTION_SET,selections:this.many(k.BRACE_L,this.parseSelection,k.BRACE_R)})}parseSelection(){return this.peek(k.SPREAD)?this.parseFragment():this.parseField()}parseField(){let n=this._lexer.token,e=this.parseName(),t,r;return this.expectOptionalToken(k.COLON)?(t=e,r=this.parseName()):r=e,this.node(n,{kind:G.FIELD,alias:t,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(k.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(n){let e=n?this.parseConstArgument:this.parseArgument;return this.optionalMany(k.PAREN_L,e,k.PAREN_R)}parseArgument(n=!1){let e=this._lexer.token,t=this.parseName();return this.expectToken(k.COLON),this.node(e,{kind:G.ARGUMENT,name:t,value:this.parseValueLiteral(n)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let n=this._lexer.token;this.expectToken(k.SPREAD);let e=this.expectOptionalKeyword("on");return!e&&this.peek(k.NAME)?this.node(n,{kind:G.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(n,{kind:G.INLINE_FRAGMENT,typeCondition:e?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let n=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(n,{kind:G.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(n,{kind:G.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(n){let e=this._lexer.token;switch(e.kind){case k.BRACKET_L:return this.parseList(n);case k.BRACE_L:return this.parseObject(n);case k.INT:return this.advanceLexer(),this.node(e,{kind:G.INT,value:e.value});case k.FLOAT:return this.advanceLexer(),this.node(e,{kind:G.FLOAT,value:e.value});case k.STRING:case k.BLOCK_STRING:return this.parseStringLiteral();case k.NAME:switch(this.advanceLexer(),e.value){case"true":return this.node(e,{kind:G.BOOLEAN,value:!0});case"false":return this.node(e,{kind:G.BOOLEAN,value:!1});case"null":return this.node(e,{kind:G.NULL});default:return this.node(e,{kind:G.ENUM,value:e.value})}case k.DOLLAR:if(n)if(this.expectToken(k.DOLLAR),this._lexer.token.kind===k.NAME){let t=this._lexer.token.value;throw st(this._lexer.source,e.start,`Unexpected variable "$${t}" in constant value.`)}else throw this.unexpected(e);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let n=this._lexer.token;return this.advanceLexer(),this.node(n,{kind:G.STRING,value:n.value,block:n.kind===k.BLOCK_STRING})}parseList(n){let e=()=>this.parseValueLiteral(n);return this.node(this._lexer.token,{kind:G.LIST,values:this.any(k.BRACKET_L,e,k.BRACKET_R)})}parseObject(n){let e=()=>this.parseObjectField(n);return this.node(this._lexer.token,{kind:G.OBJECT,fields:this.any(k.BRACE_L,e,k.BRACE_R)})}parseObjectField(n){let e=this._lexer.token,t=this.parseName();return this.expectToken(k.COLON),this.node(e,{kind:G.OBJECT_FIELD,name:t,value:this.parseValueLiteral(n)})}parseDirectives(n){let e=[];for(;this.peek(k.AT);)e.push(this.parseDirective(n));return e}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(n){let e=this._lexer.token;return this.expectToken(k.AT),this.node(e,{kind:G.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(n)})}parseTypeReference(){let n=this._lexer.token,e;if(this.expectOptionalToken(k.BRACKET_L)){let t=this.parseTypeReference();this.expectToken(k.BRACKET_R),e=this.node(n,{kind:G.LIST_TYPE,type:t})}else e=this.parseNamedType();return this.expectOptionalToken(k.BANG)?this.node(n,{kind:G.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:G.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(k.STRING)||this.peek(k.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.many(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);return this.node(n,{kind:G.SCHEMA_DEFINITION,description:e,directives:t,operationTypes:r})}parseOperationTypeDefinition(){let n=this._lexer.token,e=this.parseOperationType();this.expectToken(k.COLON);let t=this.parseNamedType();return this.node(n,{kind:G.OPERATION_TYPE_DEFINITION,operation:e,type:t})}parseScalarTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();return this.node(n,{kind:G.SCALAR_TYPE_DEFINITION,description:e,name:t,directives:r})}parseObjectTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(n,{kind:G.OBJECT_TYPE_DEFINITION,description:e,name:t,interfaces:r,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(k.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseFieldDefinition,k.BRACE_R)}parseFieldDefinition(){let n=this._lexer.token,e=this.parseDescription(),t=this.parseName(),r=this.parseArgumentDefs();this.expectToken(k.COLON);let o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(n,{kind:G.FIELD_DEFINITION,description:e,name:t,arguments:r,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(k.PAREN_L,this.parseInputValueDef,k.PAREN_R)}parseInputValueDef(){let n=this._lexer.token,e=this.parseDescription(),t=this.parseName();this.expectToken(k.COLON);let r=this.parseTypeReference(),o;this.expectOptionalToken(k.EQUALS)&&(o=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(n,{kind:G.INPUT_VALUE_DEFINITION,description:e,name:t,type:r,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(n,{kind:G.INTERFACE_TYPE_DEFINITION,description:e,name:t,interfaces:r,directives:o,fields:a})}parseUnionTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(n,{kind:G.UNION_TYPE_DEFINITION,description:e,name:t,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(k.EQUALS)?this.delimitedMany(k.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(n,{kind:G.ENUM_TYPE_DEFINITION,description:e,name:t,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(k.BRACE_L,this.parseEnumValueDefinition,k.BRACE_R)}parseEnumValueDefinition(){let n=this._lexer.token,e=this.parseDescription(),t=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(n,{kind:G.ENUM_VALUE_DEFINITION,description:e,name:t,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw st(this._lexer.source,this._lexer.token.start,`${va(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(n,{kind:G.INPUT_OBJECT_TYPE_DEFINITION,description:e,name:t,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseInputValueDef,k.BRACE_R)}parseTypeSystemExtension(){let n=this._lexer.lookahead();if(n.kind===k.NAME)switch(n.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(n)}parseSchemaExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let e=this.parseConstDirectives(),t=this.optionalMany(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);if(e.length===0&&t.length===0)throw this.unexpected();return this.node(n,{kind:G.SCHEMA_EXTENSION,directives:e,operationTypes:t})}parseScalarTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let e=this.parseName(),t=this.parseConstDirectives();if(t.length===0)throw this.unexpected();return this.node(n,{kind:G.SCALAR_TYPE_EXTENSION,name:e,directives:t})}parseObjectTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let e=this.parseName(),t=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(t.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:G.OBJECT_TYPE_EXTENSION,name:e,interfaces:t,directives:r,fields:o})}parseInterfaceTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let e=this.parseName(),t=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(t.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:G.INTERFACE_TYPE_EXTENSION,name:e,interfaces:t,directives:r,fields:o})}parseUnionTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let e=this.parseName(),t=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(t.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:G.UNION_TYPE_EXTENSION,name:e,directives:t,types:r})}parseEnumTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let e=this.parseName(),t=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(t.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:G.ENUM_TYPE_EXTENSION,name:e,directives:t,values:r})}parseInputObjectTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let e=this.parseName(),t=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(t.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:G.INPUT_OBJECT_TYPE_EXTENSION,name:e,directives:t,fields:r})}parseDirectiveDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("directive"),this.expectToken(k.AT);let t=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(n,{kind:G.DIRECTIVE_DEFINITION,description:e,name:t,arguments:r,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(k.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let n=this._lexer.token,e=this.parseName();if(Object.prototype.hasOwnProperty.call(pa,e.value))return e;throw this.unexpected(n)}node(n,e){return this._options.noLocation!==!0&&(e.loc=new Kr(n,this._lexer.lastToken,this._lexer.source)),e}peek(n){return this._lexer.token.kind===n}expectToken(n){let e=this._lexer.token;if(e.kind===n)return this.advanceLexer(),e;throw st(this._lexer.source,e.start,`Expected ${Ih(n)}, found ${va(e)}.`)}expectOptionalToken(n){return this._lexer.token.kind===n?(this.advanceLexer(),!0):!1}expectKeyword(n){let e=this._lexer.token;if(e.kind===k.NAME&&e.value===n)this.advanceLexer();else throw st(this._lexer.source,e.start,`Expected "${n}", found ${va(e)}.`)}expectOptionalKeyword(n){let e=this._lexer.token;return e.kind===k.NAME&&e.value===n?(this.advanceLexer(),!0):!1}unexpected(n){let e=n??this._lexer.token;return st(this._lexer.source,e.start,`Unexpected ${va(e)}.`)}any(n,e,t){this.expectToken(n);let r=[];for(;!this.expectOptionalToken(t);)r.push(e.call(this));return r}optionalMany(n,e,t){if(this.expectOptionalToken(n)){let r=[];do r.push(e.call(this));while(!this.expectOptionalToken(t));return r}return[]}many(n,e,t){this.expectToken(n);let r=[];do r.push(e.call(this));while(!this.expectOptionalToken(t));return r}delimitedMany(n,e){this.expectOptionalToken(n);let t=[];do t.push(e.call(this));while(this.expectOptionalToken(n));return t}advanceLexer(){let{maxTokens:n}=this._options,e=this._lexer.advance();if(n!==void 0&&e.kind!==k.EOF&&(++this._tokenCounter,this._tokenCounter>n))throw st(this._lexer.source,e.start,`Document contains more that ${n} tokens. Parsing aborted.`)}};function va(i){let n=i.value;return Ih(i.kind)+(n!=null?` "${n}"`:"")}function Ih(i){return wh(i)?`"${i}"`:i}function Sh(i){return`"${i.replace(Vv,Bv)}"`}var Vv=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Bv(i){return zv[i.charCodeAt(0)]}var zv=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var yn=Object.freeze({});function wt(i,n,e=Dc){let t=new Map;for(let v of Object.values(G))t.set(v,Mc(n,v));let r,o=Array.isArray(i),a=[i],s=-1,c=[],l=i,d,h,m=[],p=[];do{s++;let v=s===a.length,M=v&&c.length!==0;if(v){if(d=p.length===0?void 0:m[m.length-1],l=h,h=p.pop(),M)if(o){l=l.slice();let q=0;for(let[Q,Z]of c){let be=Q-q;Z===null?(l.splice(be,1),q++):l[be]=Z}}else{l=Object.defineProperties({},Object.getOwnPropertyDescriptors(l));for(let[q,Q]of c)l[q]=Q}s=r.index,a=r.keys,c=r.edits,o=r.inArray,r=r.prev}else if(h){if(d=o?s:a[s],l=h[d],l==null)continue;m.push(d)}let y;if(!Array.isArray(l)){var f,b;Ec(l)||tr(!1,`Invalid AST Node: ${ar(l)}.`);let q=v?(f=t.get(l.kind))===null||f===void 0?void 0:f.leave:(b=t.get(l.kind))===null||b===void 0?void 0:b.enter;if(y=q?.call(n,l,d,h,m,p),y===yn)break;if(y===!1){if(!v){m.pop();continue}}else if(y!==void 0&&(c.push([d,y]),!v))if(Ec(y))l=y;else{m.pop();continue}}if(y===void 0&&M&&c.push([d,l]),v)m.pop();else{var _;r={inArray:o,index:s,keys:a,edits:c,prev:r},o=Array.isArray(l),a=o?l:(_=e[l.kind])!==null&&_!==void 0?_:[],s=-1,c=[],h&&p.push(h),h=l}}while(r!==void 0);return c.length!==0?c[c.length-1][1]:i}function Mc(i,n){let e=i[n];return typeof e=="object"?e:typeof e=="function"?{enter:e,leave:void 0}:{enter:i.enter,leave:i.leave}}function xa(i){return wt(i,Uv)}var Hv=80,Uv={Name:{leave:i=>i.value},Variable:{leave:i=>"$"+i.name},Document:{leave:i=>X(i.definitions,` + +`)},OperationDefinition:{leave(i){let n=De("(",X(i.variableDefinitions,", "),")"),e=X([i.operation,X([i.name,n]),X(i.directives," ")]," ");return(e==="query"?"":e+" ")+i.selectionSet}},VariableDefinition:{leave:({variable:i,type:n,defaultValue:e,directives:t})=>i+": "+n+De(" = ",e)+De(" ",X(t," "))},SelectionSet:{leave:({selections:i})=>oi(i)},Field:{leave({alias:i,name:n,arguments:e,directives:t,selectionSet:r}){let o=De("",i,": ")+n,a=o+De("(",X(e,", "),")");return a.length>Hv&&(a=o+De(`( +`,ya(X(e,` +`)),` +)`)),X([a,X(t," "),r]," ")}},Argument:{leave:({name:i,value:n})=>i+": "+n},FragmentSpread:{leave:({name:i,directives:n})=>"..."+i+De(" ",X(n," "))},InlineFragment:{leave:({typeCondition:i,directives:n,selectionSet:e})=>X(["...",De("on ",i),X(n," "),e]," ")},FragmentDefinition:{leave:({name:i,typeCondition:n,variableDefinitions:e,directives:t,selectionSet:r})=>`fragment ${i}${De("(",X(e,", "),")")} on ${n} ${De("",X(t," ")," ")}`+r},IntValue:{leave:({value:i})=>i},FloatValue:{leave:({value:i})=>i},StringValue:{leave:({value:i,block:n})=>n?yh(i):Sh(i)},BooleanValue:{leave:({value:i})=>i?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:i})=>i},ListValue:{leave:({values:i})=>"["+X(i,", ")+"]"},ObjectValue:{leave:({fields:i})=>"{"+X(i,", ")+"}"},ObjectField:{leave:({name:i,value:n})=>i+": "+n},Directive:{leave:({name:i,arguments:n})=>"@"+i+De("(",X(n,", "),")")},NamedType:{leave:({name:i})=>i},ListType:{leave:({type:i})=>"["+i+"]"},NonNullType:{leave:({type:i})=>i+"!"},SchemaDefinition:{leave:({description:i,directives:n,operationTypes:e})=>De("",i,` +`)+X(["schema",X(n," "),oi(e)]," ")},OperationTypeDefinition:{leave:({operation:i,type:n})=>i+": "+n},ScalarTypeDefinition:{leave:({description:i,name:n,directives:e})=>De("",i,` +`)+X(["scalar",n,X(e," ")]," ")},ObjectTypeDefinition:{leave:({description:i,name:n,interfaces:e,directives:t,fields:r})=>De("",i,` +`)+X(["type",n,De("implements ",X(e," & ")),X(t," "),oi(r)]," ")},FieldDefinition:{leave:({description:i,name:n,arguments:e,type:t,directives:r})=>De("",i,` +`)+n+(Th(e)?De(`( +`,ya(X(e,` +`)),` +)`):De("(",X(e,", "),")"))+": "+t+De(" ",X(r," "))},InputValueDefinition:{leave:({description:i,name:n,type:e,defaultValue:t,directives:r})=>De("",i,` +`)+X([n+": "+e,De("= ",t),X(r," ")]," ")},InterfaceTypeDefinition:{leave:({description:i,name:n,interfaces:e,directives:t,fields:r})=>De("",i,` +`)+X(["interface",n,De("implements ",X(e," & ")),X(t," "),oi(r)]," ")},UnionTypeDefinition:{leave:({description:i,name:n,directives:e,types:t})=>De("",i,` +`)+X(["union",n,X(e," "),De("= ",X(t," | "))]," ")},EnumTypeDefinition:{leave:({description:i,name:n,directives:e,values:t})=>De("",i,` +`)+X(["enum",n,X(e," "),oi(t)]," ")},EnumValueDefinition:{leave:({description:i,name:n,directives:e})=>De("",i,` +`)+X([n,X(e," ")]," ")},InputObjectTypeDefinition:{leave:({description:i,name:n,directives:e,fields:t})=>De("",i,` +`)+X(["input",n,X(e," "),oi(t)]," ")},DirectiveDefinition:{leave:({description:i,name:n,arguments:e,repeatable:t,locations:r})=>De("",i,` +`)+"directive @"+n+(Th(e)?De(`( +`,ya(X(e,` +`)),` +)`):De("(",X(e,", "),")"))+(t?" repeatable":"")+" on "+X(r," | ")},SchemaExtension:{leave:({directives:i,operationTypes:n})=>X(["extend schema",X(i," "),oi(n)]," ")},ScalarTypeExtension:{leave:({name:i,directives:n})=>X(["extend scalar",i,X(n," ")]," ")},ObjectTypeExtension:{leave:({name:i,interfaces:n,directives:e,fields:t})=>X(["extend type",i,De("implements ",X(n," & ")),X(e," "),oi(t)]," ")},InterfaceTypeExtension:{leave:({name:i,interfaces:n,directives:e,fields:t})=>X(["extend interface",i,De("implements ",X(n," & ")),X(e," "),oi(t)]," ")},UnionTypeExtension:{leave:({name:i,directives:n,types:e})=>X(["extend union",i,X(n," "),De("= ",X(e," | "))]," ")},EnumTypeExtension:{leave:({name:i,directives:n,values:e})=>X(["extend enum",i,X(n," "),oi(e)]," ")},InputObjectTypeExtension:{leave:({name:i,directives:n,fields:e})=>X(["extend input",i,X(n," "),oi(e)]," ")}};function X(i,n=""){var e;return(e=i?.filter(t=>t).join(n))!==null&&e!==void 0?e:""}function oi(i){return De(`{ +`,ya(X(i,` +`)),` +}`)}function De(i,n,e=""){return n!=null&&n!==""?i+n+e:""}function ya(i){return De(" ",i.replace(/\n/g,` + `))}function Th(i){var n;return(n=i?.some(e=>e.includes(` +`)))!==null&&n!==void 0?n:!1}function Jr(i){return i.kind===G.FIELD||i.kind===G.FRAGMENT_SPREAD||i.kind===G.INLINE_FRAGMENT}function ai(i,n){var e=i.directives;return!e||!e.length?!0:Mh(e).every(function(t){var r=t.directive,o=t.ifArgument,a=!1;return o.value.kind==="Variable"?(a=n&&n[o.value.name.value],Y(a!==void 0,70,r.name.value)):a=o.value.value,r.name.value==="skip"?!a:a})}function Ei(i,n,e){var t=new Set(i),r=t.size;return wt(n,{Directive:function(o){if(t.delete(o.name.value)&&(!e||!t.size))return yn}}),e?!t.size:t.sizeObject.create(null),{forEach:a_,slice:Ah}=Array.prototype,{hasOwnProperty:s_}=Object.prototype,Ut=class i{constructor(n=!0,e=o_){this.weakness=n,this.makeData=e}lookup(){return this.lookupArray(arguments)}lookupArray(n){let e=this;return a_.call(n,t=>e=e.getChildTrie(t)),s_.call(e,"data")?e.data:e.data=this.makeData(Ah.call(n))}peek(){return this.peekArray(arguments)}peekArray(n){let e=this;for(let t=0,r=n.length;e&&t=0})||!1;function Ie(i){return i!==null&&typeof i=="object"}function Rc(i,n){var e=n,t=[];i.definitions.forEach(function(o){if(o.kind==="OperationDefinition")throw Be(74,o.operation,o.name?" named '".concat(o.name.value,"'"):"");o.kind==="FragmentDefinition"&&t.push(o)}),typeof e>"u"&&(Y(t.length===1,75,t.length),e=t[0].name.value);var r=g(g({},i),{definitions:ot([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:e}}]}}],i.definitions,!0)});return r}function Ii(i){i===void 0&&(i=[]);var n={};return i.forEach(function(e){n[e.name.value]=e}),n}function Si(i,n){switch(i.kind){case"InlineFragment":return i;case"FragmentSpread":{var e=i.name.value;if(typeof n=="function")return n(e);var t=n&&n[e];return Y(t,76,e),t||null}default:return null}}function d_(){}var qi=class{constructor(n=1/0,e=d_){this.max=n,this.dispose=e,this.map=new Map,this.newest=null,this.oldest=null}has(n){return this.map.has(n)}get(n){let e=this.getNode(n);return e&&e.value}get size(){return this.map.size}getNode(n){let e=this.map.get(n);if(e&&e!==this.newest){let{older:t,newer:r}=e;r&&(r.older=t),t&&(t.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e}set(n,e){let t=this.getNode(n);return t?t.value=e:(t={key:n,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=t),this.newest=t,this.oldest=this.oldest||t,this.map.set(n,t),t.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(n){let e=this.map.get(n);return e?(e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.map.delete(n),this.dispose(e.value,n),!0):!1}};function Fc(){}var u_=Fc,h_=typeof WeakRef<"u"?WeakRef:function(i){return{deref:()=>i}},m_=typeof WeakMap<"u"?WeakMap:Map,p_=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:Fc,unregister:Fc}},f_=10024,bi=class{constructor(n=1/0,e=u_){this.max=n,this.dispose=e,this.map=new m_,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let t=this.unfinalizedNodes.values();for(let r=0;r0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new p_(this.deleteNode.bind(this))}has(n){return this.map.has(n)}get(n){let e=this.getNode(n);return e&&e.value}getNode(n){let e=this.map.get(n);if(e&&e!==this.newest){let{older:t,newer:r}=e;r&&(r.older=t),t&&(t.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e}set(n,e){let t=this.getNode(n);return t?t.value=e:(t={key:n,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=t),this.newest=t,this.oldest=this.oldest||t,this.scheduleFinalization(t),this.map.set(n,t),this.size++,t.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(n){n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.size--;let e=n.key||n.keyRef&&n.keyRef.deref();this.dispose(n.value,e),n.keyRef?this.registry.unregister(n):this.unfinalizedNodes.delete(n),e&&this.map.delete(e)}delete(n){let e=this.map.get(n);return e?(this.deleteNode(e),!0):!1}scheduleFinalization(n){this.unfinalizedNodes.add(n),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}};var Pc=new WeakSet;function Oh(i){i.size<=(i.max||-1)||Pc.has(i)||(Pc.add(i),setTimeout(function(){i.clean(),Pc.delete(i)},100))}var cr=function(i,n){var e=new bi(i,n);return e.set=function(t,r){var o=bi.prototype.set.call(this,t,r);return Oh(this),o},e},Ca=function(i,n){var e=new qi(i,n);return e.set=function(t,r){var o=qi.prototype.set.call(this,t,r);return Oh(this),o},e};var g_=Symbol.for("apollo.cacheSize"),dt=g({},er[g_]);var xn={};function ka(i,n){xn[i]=n}var Rh=globalThis.__DEV__!==!1?v_:void 0,Fh=globalThis.__DEV__!==!1?__:void 0,Ph=globalThis.__DEV__!==!1?Nh:void 0;function b_(){var i={parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4};return Object.fromEntries(Object.entries(i).map(function(n){var e=n[0],t=n[1];return[e,dt[e]||t]}))}function v_(){var i,n,e,t,r;if(globalThis.__DEV__===!1)throw new Error("only supported in development mode");return{limits:b_(),sizes:g({print:(i=xn.print)===null||i===void 0?void 0:i.call(xn),parser:(n=xn.parser)===null||n===void 0?void 0:n.call(xn),canonicalStringify:(e=xn.canonicalStringify)===null||e===void 0?void 0:e.call(xn),links:Lc(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:jh(this.queryManager.documentTransform)}},(r=(t=this.cache).getMemoryInternals)===null||r===void 0?void 0:r.call(t))}}function Nh(){return{cache:{fragmentQueryDocuments:Wi(this.getFragmentDoc)}}}function __(){var i=this.config.fragments;return g(g({},Nh.apply(this)),{addTypenameDocumentTransform:jh(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:Wi(this.storeReader.executeSelectionSet),executeSubSelectedArray:Wi(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:Wi(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:Wi(i?.findFragmentSpreads),lookup:Wi(i?.lookup),transform:Wi(i?.transform)}})}function y_(i){return!!i&&"dirtyKey"in i}function Wi(i){return y_(i)?i.size:void 0}function Lh(i){return i!=null}function jh(i){return Nc(i).map(function(n){return{cache:n}})}function Nc(i){return i?ot(ot([Wi(i?.performWork)],Nc(i?.left),!0),Nc(i?.right),!0).filter(Lh):[]}function Lc(i){var n;return i?ot(ot([(n=i?.getMemoryInternals)===null||n===void 0?void 0:n.call(i)],Lc(i?.left),!0),Lc(i?.right),!0).filter(Lh):[]}var Mt=Object.assign(function(n){return JSON.stringify(n,x_)},{reset:function(){lr=new Ca(dt.canonicalStringify||1e3)}});globalThis.__DEV__!==!1&&ka("canonicalStringify",function(){return lr.size});var lr;Mt.reset();function x_(i,n){if(n&&typeof n=="object"){var e=Object.getPrototypeOf(n);if(e===Object.prototype||e===null){var t=Object.keys(n);if(t.every(w_))return n;var r=JSON.stringify(t),o=lr.get(r);if(!o){t.sort();var a=JSON.stringify(t);o=lr.get(a)||t,lr.set(r,o),lr.set(a,o)}var s=Object.create(e);return o.forEach(function(c){s[c]=n[c]}),s}}return n}function w_(i,n,e){return n===0||e[n-1]<=i}function Kt(i){return{__ref:String(i)}}function Ce(i){return!!(i&&typeof i=="object"&&typeof i.__ref=="string")}function jc(i){return Ie(i)&&i.kind==="Document"&&Array.isArray(i.definitions)}function C_(i){return i.kind==="StringValue"}function k_(i){return i.kind==="BooleanValue"}function D_(i){return i.kind==="IntValue"}function E_(i){return i.kind==="FloatValue"}function I_(i){return i.kind==="Variable"}function S_(i){return i.kind==="ObjectValue"}function T_(i){return i.kind==="ListValue"}function M_(i){return i.kind==="EnumValue"}function A_(i){return i.kind==="NullValue"}function Gi(i,n,e,t){if(D_(e)||E_(e))i[n.value]=Number(e.value);else if(k_(e)||C_(e))i[n.value]=e.value;else if(S_(e)){var r={};e.fields.map(function(a){return Gi(r,a.name,a.value,t)}),i[n.value]=r}else if(I_(e)){var o=(t||{})[e.name.value];i[n.value]=o}else if(T_(e))i[n.value]=e.values.map(function(a){var s={};return Gi(s,n,a,t),s[n.value]});else if(M_(e))i[n.value]=e.value;else if(A_(e))i[n.value]=null;else throw Be(85,n.value,e.kind)}function Vc(i,n){var e=null;i.directives&&(e={},i.directives.forEach(function(r){e[r.name.value]={},r.arguments&&r.arguments.forEach(function(o){var a=o.name,s=o.value;return Gi(e[r.name.value],a,s,n)})}));var t=null;return i.arguments&&i.arguments.length&&(t={},i.arguments.forEach(function(r){var o=r.name,a=r.value;return Gi(t,o,a,n)})),Da(i.name.value,t,e)}var O_=["connection","include","skip","client","rest","export","nonreactive"],eo=Mt,Da=Object.assign(function(i,n,e){if(n&&e&&e.connection&&e.connection.key)if(e.connection.filter&&e.connection.filter.length>0){var t=e.connection.filter?e.connection.filter:[];t.sort();var r={};return t.forEach(function(s){r[s]=n[s]}),"".concat(e.connection.key,"(").concat(eo(r),")")}else return e.connection.key;var o=i;if(n){var a=eo(n);o+="(".concat(a,")")}return e&&Object.keys(e).forEach(function(s){O_.indexOf(s)===-1&&(e[s]&&Object.keys(e[s]).length?o+="@".concat(s,"(").concat(eo(e[s]),")"):o+="@".concat(s))}),o},{setStringify:function(i){var n=eo;return eo=i,n}});function Ti(i,n){if(i.arguments&&i.arguments.length){var e={};return i.arguments.forEach(function(t){var r=t.name,o=t.value;return Gi(e,r,o,n)}),e}return null}function jt(i){return i.alias?i.alias.value:i.name.value}function to(i,n,e){for(var t,r=0,o=n.selections;rObject.create(null),{forEach:F_,slice:P_}=Array.prototype,{hasOwnProperty:N_}=Object.prototype,Ea=class i{constructor(n=!0,e=R_){this.weakness=n,this.makeData=e}lookup(...n){return this.lookupArray(n)}lookupArray(n){let e=this;return F_.call(n,t=>e=e.getChildTrie(t)),N_.call(e,"data")?e.data:e.data=this.makeData(P_.call(n))}peek(...n){return this.peekArray(n)}peekArray(n){let e=this;for(let t=0,r=n.length;e&&tclass{constructor(){this.id=["slot",L_++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let n=bt;n;n=n.parent)if(this.id in n.slots){let e=n.slots[this.id];if(e===Bh)break;return n!==bt&&(bt.slots[this.id]=e),!0}return bt&&(bt.slots[this.id]=Bh),!1}getValue(){if(this.hasValue())return bt.slots[this.id]}withValue(n,e,t,r){let o={__proto__:null,[this.id]:n},a=bt;bt={parent:a,slots:o};try{return e.apply(r,t)}finally{bt=a}}static bind(n){let e=bt;return function(){let t=bt;try{return bt=e,n.apply(this,arguments)}finally{bt=t}}}static noContext(n,e,t){if(bt){let r=bt;try{return bt=null,n.apply(t,e)}finally{bt=r}}else return n.apply(t,e)}};function zh(i){try{return i()}catch{}}var Hc="@wry/context:Slot",V_=zh(()=>globalThis)||zh(()=>global)||Object.create(null),Hh=V_,Cn=Hh[Hc]||Array[Hc]||function(i){try{Object.defineProperty(Hh,Hc,{value:i,enumerable:!1,writable:!1,configurable:!0})}finally{return i}}(j_());var{bind:Uh,noContext:Qh}=Cn;var kn=new Cn;var{hasOwnProperty:qh}=Object.prototype,no=Array.from||function(i){let n=[];return i.forEach(e=>n.push(e)),n};function ur(i){let{unsubscribe:n}=i;typeof n=="function"&&(i.unsubscribe=void 0,n())}var ro=[],H_=100;function hr(i,n){if(!i)throw new Error(n||"assertion failure")}function Gh(i,n){let e=i.length;return e>0&&e===n.length&&i[e-1]===n[e-1]}function $h(i){switch(i.length){case 0:throw new Error("unknown value");case 1:return i[0];case 2:throw i[1]}}function Yh(i){return i.slice(0)}var Kh=(()=>{class i{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++i.count}peek(){if(this.value.length===1&&!Yi(this))return Wh(this),this.value[0]}recompute(e){return hr(!this.recomputing,"already recomputing"),Wh(this),Yi(this)?U_(this,e):$h(this.value)}setDirty(){this.dirty||(this.dirty=!0,Xh(this),ur(this))}dispose(){this.setDirty(),im(this),Uc(this,(e,t)=>{e.setDirty(),nm(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=ro.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(no(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),ro.push(this.deps),this.deps=null)}}return i.count=0,i})();function Wh(i){let n=kn.getValue();if(n)return i.parents.add(n),n.childValues.has(i)||n.childValues.set(i,[]),Yi(i)?Jh(n,i):em(n,i),n}function U_(i,n){return im(i),kn.withValue(i,Q_,[i,n]),W_(i,n)&&q_(i),$h(i.value)}function Q_(i,n){i.recomputing=!0;let{normalizeResult:e}=i,t;e&&i.value.length===1&&(t=Yh(i.value)),i.value.length=0;try{if(i.value[0]=i.fn.apply(null,n),e&&t&&!Gh(t,i.value))try{i.value[0]=e(i.value[0],t[0])}catch{}}catch(r){i.value[1]=r}i.recomputing=!1}function Yi(i){return i.dirty||!!(i.dirtyChildren&&i.dirtyChildren.size)}function q_(i){i.dirty=!1,!Yi(i)&&Zh(i)}function Xh(i){Uc(i,Jh)}function Zh(i){Uc(i,em)}function Uc(i,n){let e=i.parents.size;if(e){let t=no(i.parents);for(let r=0;r0&&i.childValues.forEach((n,e)=>{nm(i,e)}),i.forgetDeps(),hr(i.dirtyChildren===null)}function nm(i,n){n.parents.delete(i),i.childValues.delete(n),tm(i,n)}function W_(i,n){if(typeof i.subscribe=="function")try{ur(i),i.unsubscribe=i.subscribe.apply(null,n)}catch{return i.setDirty(),!1}return!0}var G_={setDirty:!0,dispose:!0,forget:!0};function oo(i){let n=new Map,e=i&&i.subscribe;function t(r){let o=kn.getValue();if(o){let a=n.get(r);a||n.set(r,a=new Set),o.dependOn(a),typeof e=="function"&&(ur(a),a.unsubscribe=e(r))}}return t.dirty=function(o,a){let s=n.get(o);if(s){let c=a&&qh.call(G_,a)?a:"setDirty";no(s).forEach(l=>l[c]()),n.delete(o),ur(s)}},t}var rm;function $_(...i){return(rm||(rm=new Ea(typeof WeakMap=="function"))).lookupArray(i)}var Qc=new Set;function Ai(i,{max:n=Math.pow(2,16),keyArgs:e,makeCacheKey:t=$_,normalizeResult:r,subscribe:o,cache:a=qi}=Object.create(null)){let s=typeof a=="function"?new a(n,m=>m.dispose()):a,c=function(){let m=t.apply(null,e?e.apply(null,arguments):arguments);if(m===void 0)return i.apply(null,arguments);let p=s.get(m);p||(s.set(m,p=new Kh(i)),p.normalizeResult=r,p.subscribe=o,p.forget=()=>s.delete(m));let f=p.recompute(Array.prototype.slice.call(arguments));return s.set(m,p),Qc.add(s),kn.hasValue()||(Qc.forEach(b=>b.clean()),Qc.clear()),f};Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:n,keyArgs:e,makeCacheKey:t,normalizeResult:r,subscribe:o,cache:s});function l(m){let p=m&&s.get(m);p&&p.setDirty()}c.dirtyKey=l,c.dirty=function(){l(t.apply(null,arguments))};function d(m){let p=m&&s.get(m);if(p)return p.peek()}c.peekKey=d,c.peek=function(){return d(t.apply(null,arguments))};function h(m){return m?s.delete(m):!1}return c.forgetKey=h,c.forget=function(){return h(t.apply(null,arguments))},c.makeCacheKey=t,c.getKey=e?function(){return t.apply(null,e.apply(null,arguments))}:t,Object.freeze(c)}function Y_(i){return i}var mr=function(){function i(n,e){e===void 0&&(e=Object.create(null)),this.resultCache=wa?new WeakSet:new Set,this.transform=n,e.getCacheKey&&(this.getCacheKey=e.getCacheKey),this.cached=e.cache!==!1,this.resetCache()}return i.prototype.getCacheKey=function(n){return[n]},i.identity=function(){return new i(Y_,{cache:!1})},i.split=function(n,e,t){return t===void 0&&(t=i.identity()),Object.assign(new i(function(r){var o=n(r)?e:t;return o.transformDocument(r)},{cache:!1}),{left:e,right:t})},i.prototype.resetCache=function(){var n=this;if(this.cached){var e=new Ut(si);this.performWork=Ai(i.prototype.performWork.bind(this),{makeCacheKey:function(t){var r=n.getCacheKey(t);if(r)return Y(Array.isArray(r),69),e.lookupArray(r)},max:dt["documentTransform.cache"],cache:bi})}},i.prototype.performWork=function(n){return $i(n),this.transform(n)},i.prototype.transformDocument=function(n){if(this.resultCache.has(n))return n;var e=this.performWork(n);return this.resultCache.add(e),e},i.prototype.concat=function(n){var e=this;return Object.assign(new i(function(t){return n.transformDocument(e.transformDocument(t))},{cache:!1}),{left:this,right:n})},i}();var ao,Ki=Object.assign(function(i){var n=ao.get(i);return n||(n=xa(i),ao.set(i,n)),n},{reset:function(){ao=new cr(dt.print||2e3)}});Ki.reset();globalThis.__DEV__!==!1&&ka("print",function(){return ao?ao.size:0});var Ve=Array.isArray;function vt(i){return Array.isArray(i)&&i.length>0}var om={kind:G.FIELD,name:{kind:G.NAME,value:"__typename"}};function sm(i,n){return!i||i.selectionSet.selections.every(function(e){return e.kind===G.FRAGMENT_SPREAD&&sm(n[e.name.value],n)})}function K_(i){return sm(vi(i)||zc(i),Ii(Mi(i)))?null:i}function X_(i){var n=new Map,e=new Map;return i.forEach(function(t){t&&(t.name?n.set(t.name,t):t.test&&e.set(t.test,t))}),function(t){var r=n.get(t.name.value);return!r&&e.size&&e.forEach(function(o,a){a(t)&&(r=o)}),r}}function am(i){var n=new Map;return function(t){t===void 0&&(t=i);var r=n.get(t);return r||n.set(t,r={variables:new Set,fragmentSpreads:new Set}),r}}function Ia(i,n){$i(n);for(var e=am(""),t=am(""),r=function(v){for(var M=0,y=void 0;M=0;--a)n.definitions[a].kind===G.OPERATION_DEFINITION&&++o;var s=X_(i),c=function(v){return vt(v)&&v.map(s).some(function(M){return M&&M.remove})},l=new Map,d=!1,h={enter:function(v){if(c(v.directives))return d=!0,null}},m=wt(n,{Field:h,InlineFragment:h,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(v,M,y,q,Q){var Z=r(Q);Z&&Z.variables.add(v.name.value)}},FragmentSpread:{enter:function(v,M,y,q,Q){if(c(v.directives))return d=!0,null;var Z=r(Q);Z&&Z.fragmentSpreads.add(v.name.value)}},FragmentDefinition:{enter:function(v,M,y,q){l.set(JSON.stringify(q),v)},leave:function(v,M,y,q){var Q=l.get(JSON.stringify(q));if(v===Q)return v;if(o>0&&v.selectionSet.selections.every(function(Z){return Z.kind===G.FIELD&&Z.name.value==="__typename"}))return t(v.name.value).removed=!0,d=!0,null}},Directive:{leave:function(v){if(s(v))return d=!0,null}}});if(!d)return n;var p=function(v){return v.transitiveVars||(v.transitiveVars=new Set(v.variables),v.removed||v.fragmentSpreads.forEach(function(M){p(t(M)).transitiveVars.forEach(function(y){v.transitiveVars.add(y)})})),v},f=new Set;m.definitions.forEach(function(v){v.kind===G.OPERATION_DEFINITION?p(e(v.name&&v.name.value)).fragmentSpreads.forEach(function(M){f.add(M)}):v.kind===G.FRAGMENT_DEFINITION&&o===0&&!t(v.name.value).removed&&f.add(v.name.value)}),f.forEach(function(v){p(t(v)).fragmentSpreads.forEach(function(M){f.add(M)})});var b=function(v){return!!(!f.has(v)||t(v).removed)},_={enter:function(v){if(b(v.name.value))return null}};return K_(wt(m,{FragmentSpread:_,FragmentDefinition:_,OperationDefinition:{leave:function(v){if(v.variableDefinitions){var M=p(e(v.name&&v.name.value)).transitiveVars;if(M.size1)for(var t=new Vt,r=1;r=i.length?{done:!0}:{done:!1,value:i[t++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ty(i,n){if(i){if(typeof i=="string")return cm(i,n);var e=Object.prototype.toString.call(i).slice(8,-1);if(e==="Object"&&i.constructor&&(e=i.constructor.name),e==="Map"||e==="Set")return Array.from(i);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return cm(i,n)}}function cm(i,n){(n==null||n>i.length)&&(n=i.length);for(var e=0,t=new Array(n);e1,s=!1,c=arguments[1],l=c;return new o(function(d){return r.subscribe({next:function(h){var m=!s;if(s=!0,!m||a)try{l=t(l,h)}catch(p){return d.error(p)}else l=h},error:function(h){d.error(h)},complete:function(){if(!s&&!a)return d.error(new TypeError("Cannot reduce an empty sequence"));d.next(l),d.complete()}})})},n.concat=function(){for(var t=this,r=arguments.length,o=new Array(r),a=0;a=0&&s.splice(m,1),l()}});s.push(h)},error:function(d){a.error(d)},complete:function(){l()}});function l(){c.closed&&s.length===0&&a.complete()}return function(){s.forEach(function(d){return d.unsubscribe()}),c.unsubscribe()}})},n[$c]=function(){return this},i.from=function(t){var r=typeof this=="function"?this:i;if(t==null)throw new TypeError(t+" is not an object");var o=Ta(t,$c);if(o){var a=o.call(t);if(Object(a)!==a)throw new TypeError(a+" is not an object");return ny(a)&&a.constructor===r?a:new r(function(s){return a.subscribe(s)})}if(Zc("iterator")&&(o=Ta(t,iy),o))return new r(function(s){Sa(function(){if(!s.closed){for(var c=ey(o.call(t)),l;!(l=c()).done;){var d=l.value;if(s.next(d),s.closed)return}s.complete()}})});if(Array.isArray(t))return new r(function(s){Sa(function(){if(!s.closed){for(var c=0;c=0;--s){var c=a[s],l=!isNaN(+c),d=l?[]:{};d[c]=o,o=d}e=t.merge(e,o)}),e}function gr(i){var n=Fa(i);return vt(n)}function Fa(i){var n=vt(i.errors)?i.errors.slice(0):[];return Xi(i)&&vt(i.incremental)&&i.incremental.forEach(function(e){e.errors&&n.push.apply(n,e.errors)}),n}function _i(){for(var i=[],n=0;n-1;){if(_=void 0,be=[s.slice(0,b),s.slice(b+a.length)],_=be[0],s=be[1],v=_.indexOf(`\r +\r +`),M=vy(_.slice(0,v)),y=M["content-type"],y&&y.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(q=_.slice(v),q){if(Q=Cm(i,q),Object.keys(Q).length>1||"data"in Q||"incremental"in Q||"errors"in Q||"payload"in Q)if(bm(Q)){if(Z={},"payload"in Q){if(Object.keys(Q).length===1&&Q.payload===null)return[2];Z=g({},Q.payload)}"errors"in Q&&(Z=g(g({},Z),{extensions:g(g({},"extensions"in Z?Z.extensions:null),(_e={},_e[po]=Q.errors,_e))})),n(Z)}else n(Q);else if(Object.keys(Q).length===1&&"hasNext"in Q&&!Q.hasNext)return[2]}b=s.indexOf(a)}return[3,1];case 3:return[2]}})})}function vy(i){var n={};return i.split(` +`).forEach(function(e){var t=e.indexOf(":");if(t>-1){var r=e.slice(0,t).trim().toLowerCase(),o=e.slice(t+1).trim();n[r]=o}}),n}function Cm(i,n){if(i.status>=300){var e=function(){try{return JSON.parse(n)}catch{return n}};Pa(i,e(),"Response not successful: Received status code ".concat(i.status))}try{return JSON.parse(n)}catch(r){var t=r;throw t.name="ServerParseError",t.response=i,t.statusCode=i.status,t.bodyText=n,t}}function km(i,n){i.result&&i.result.errors&&i.result.data&&n.next(i.result),n.error(i)}function Dm(i){return function(n){return n.text().then(function(e){return Cm(n,e)}).then(function(e){return!Array.isArray(e)&&!xm.call(e,"data")&&!xm.call(e,"errors")&&Pa(n,e,"Server response was missing for query '".concat(Array.isArray(i)?i.map(function(t){return t.operationName}):i.operationName,"'.")),e})}}var fo=function(i,n){var e;try{e=JSON.stringify(i)}catch(r){var t=Be(40,n,r.message);throw t.parseError=r,t}return e};var _y={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},yy={accept:"*/*","content-type":"application/json"},xy={method:"POST"},Em={http:_y,headers:yy,options:xy},Im=function(i,n){return n(i)};function Sm(i,n){for(var e=[],t=2;t"u")throw Be(38)};var Mm=function(i,n){var e=i.getContext(),t=e.uri;return t||(typeof n=="function"?n(i):n||"/graphql")};function Am(i,n){var e=[],t=function(h,m){e.push("".concat(h,"=").concat(encodeURIComponent(m)))};if("query"in n&&t("query",n.query),n.operationName&&t("operationName",n.operationName),n.variables){var r=void 0;try{r=fo(n.variables,"Variables map")}catch(h){return{parseError:h}}t("variables",r)}if(n.extensions){var o=void 0;try{o=fo(n.extensions,"Extensions map")}catch(h){return{parseError:h}}t("extensions",o)}var a="",s=i,c=i.indexOf("#");c!==-1&&(a=i.substr(c),s=i.substr(0,c));var l=s.indexOf("?")===-1?"?":"&",d=s+l+e.join("&")+a;return{newURI:d}}var Om=xt(function(){return fetch}),Rm=function(i){i===void 0&&(i={});var n=i.uri,e=n===void 0?"/graphql":n,t=i.fetch,r=i.print,o=r===void 0?Im:r,a=i.includeExtensions,s=i.preserveHeaderCase,c=i.useGETForQueries,l=i.includeUnusedVariables,d=l===void 0?!1:l,h=Pt(i,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&Tm(t||Om);var m={http:{includeExtensions:a,preserveHeaderCase:s},options:h.fetchOptions,credentials:h.credentials,headers:h.headers};return new yi(function(p){var f=Mm(p,e),b=p.getContext(),_={};if(b.clientAwareness){var v=b.clientAwareness,M=v.name,y=v.version;M&&(_["apollographql-client-name"]=M),y&&(_["apollographql-client-version"]=y)}var q=g(g({},_),b.headers),Q={http:b.http,options:b.fetchOptions,credentials:b.credentials,headers:q};if(Ei(["client"],p.query)){var Z=so(p.query);if(!Z)return ho(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));p.query=Z}var be=Sm(p,o,Em,m,Q),_e=be.options,ze=be.body;ze.variables&&!d&&(ze.variables=ol(ze.variables,p.query));var Je;!_e.signal&&typeof AbortController<"u"&&(Je=new AbortController,_e.signal=Je.signal);var Wn=function(qt){return qt.kind==="OperationDefinition"&&qt.operation==="mutation"},Gn=function(qt){return qt.kind==="OperationDefinition"&&qt.operation==="subscription"},_t=Gn(ci(p.query)),ji=Ei(["defer"],p.query);if(c&&!p.query.definitions.some(Wn)&&(_e.method="GET"),ji||_t){_e.headers=_e.headers||{};var Xs="multipart/mixed;";_t&&ji&&globalThis.__DEV__!==!1&&Y.warn(39),_t?Xs+="boundary=graphql;subscriptionSpec=1.0,application/json":ji&&(Xs+="deferSpec=20220824,application/json"),_e.headers.accept=Xs}if(_e.method==="GET"){var su=Am(f,ze),Ub=su.newURI,cu=su.parseError;if(cu)return ho(cu);f=Ub}else try{_e.body=fo(ze,"Payload")}catch(qt){return ho(qt)}return new ke(function(qt){var Qb=t||xt(function(){return fetch})||Om,lu=qt.next.bind(qt);return Qb(f,_e).then(function($n){var Zs;p.setContext({response:$n});var du=(Zs=$n.headers)===null||Zs===void 0?void 0:Zs.get("content-type");return du!==null&&/^multipart\/mixed/i.test(du)?wm($n,lu):Dm(p)($n).then(lu)}).then(function(){Je=void 0,qt.complete()}).catch(function($n){Je=void 0,km($n,qt)}),function(){Je&&Je.abort()}})})};var ll=function(i){mt(n,i);function n(e){e===void 0&&(e={});var t=i.call(this,Rm(e).request)||this;return t.options=e,t}return n}(yi);var{toString:Fm,hasOwnProperty:Cy}=Object.prototype,Pm=Function.prototype.toString,dl=new Map;function Ne(i,n){try{return ul(i,n)}finally{dl.clear()}}var hl=Ne;function ul(i,n){if(i===n)return!0;let e=Fm.call(i),t=Fm.call(n);if(e!==t)return!1;switch(e){case"[object Array]":if(i.length!==n.length)return!1;case"[object Object]":{if(Lm(i,n))return!0;let r=Nm(i),o=Nm(n),a=r.length;if(a!==o.length)return!1;for(let s=0;s=0&&i.indexOf(n,e)===e}function Lm(i,n){let e=dl.get(i);if(e){if(e.has(n))return!0}else dl.set(i,e=new Set);return e.add(n),!1}function Ba(i,n,e,t){var r=n.data,o=Pt(n,["data"]),a=e.data,s=Pt(e,["data"]);return hl(o,s)&&Va(ci(i).selectionSet,r,a,{fragmentMap:Ii(Mi(i)),variables:t})}function Va(i,n,e,t){if(n===e)return!0;var r=new Set;return i.selections.every(function(o){if(r.has(o)||(r.add(o),!ai(o,t.variables))||jm(o))return!0;if(At(o)){var a=jt(o),s=n&&n[a],c=e&&e[a],l=o.selectionSet;if(!l)return hl(s,c);var d=Array.isArray(s),h=Array.isArray(c);if(d!==h)return!1;if(d&&h){var m=s.length;if(c.length!==m)return!1;for(var p=0;p"u"||typeof o=="string"?o:this.identify(o),query:l,optimistic:s}),h;return new ke(function(m){return e.watch(g(g({},d),{immediate:!0,callback:function(p){if(!(h&&Ba(l,{data:h?.result},{data:p.result}))){var f={data:p.result,complete:!!p.complete};p.missing&&(f.missing=En(p.missing.map(function(b){return b.missing}))),h=p,m.next(f)}}}))})},i.prototype.readFragment=function(n,e){return e===void 0&&(e=!!n.optimistic),this.read(g(g({},n),{query:this.getFragmentDoc(n.fragment,n.fragmentName),rootId:n.id,optimistic:e}))},i.prototype.writeQuery=function(n){var e=n.id,t=n.data,r=Pt(n,["id","data"]);return this.write(Object.assign(r,{dataId:e||"ROOT_QUERY",result:t}))},i.prototype.writeFragment=function(n){var e=n.id,t=n.data,r=n.fragment,o=n.fragmentName,a=Pt(n,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(r,o),dataId:e,result:t}))},i.prototype.updateQuery=function(n,e){return this.batch({update:function(t){var r=t.readQuery(n),o=e(r);return o==null?r:(t.writeQuery(g(g({},n),{data:o})),o)}})},i.prototype.updateFragment=function(n,e){return this.batch({update:function(t){var r=t.readFragment(n),o=e(r);return o==null?r:(t.writeFragment(g(g({},n),{data:o})),o)}})},i}();globalThis.__DEV__!==!1&&(za.prototype.getMemoryInternals=Ph);var go=function(i){mt(n,i);function n(e,t,r,o){var a,s=i.call(this,e)||this;if(s.message=e,s.path=t,s.query=r,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=(a={},a[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=n.prototype,s}return n}(Error);var tt=Object.prototype.hasOwnProperty;function bo(i){return i==null}function Ua(i,n){var e=i.__typename,t=i.id,r=i._id;if(typeof e=="string"&&(n&&(n.keyObject=bo(t)?bo(r)?void 0:{_id:r}:{id:t}),bo(t)&&!bo(r)&&(t=r),!bo(t)))return"".concat(e,":").concat(typeof t=="number"||typeof t=="string"?t:JSON.stringify(t))}var Vm={dataIdFromObject:Ua,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Bm(i){return _i(Vm,i)}function Qa(i){var n=i.canonizeResults;return n===void 0?Vm.canonizeResults:n}function zm(i,n){return Ce(n)?i.get(n.__ref,"__typename"):n&&n.__typename}var ml=/^[_a-z][_0-9a-z]*/i;function li(i){var n=i.match(ml);return n?n[0]:i}function Ha(i,n,e){return Ie(n)?Ve(n)?n.every(function(t){return Ha(i,t,e)}):i.selections.every(function(t){if(At(t)&&ai(t,e)){var r=jt(t);return tt.call(n,r)&&(!t.selectionSet||Ha(t.selectionSet,n[r],e))}return!0}):!1}function Zi(i){return Ie(i)&&!Ce(i)&&!Ve(i)}function Hm(){return new Vt}function qa(i,n){var e=Ii(Mi(i));return{fragmentMap:e,lookupFragment:function(t){var r=e[t];return!r&&n&&(r=n.lookup(t)),r||null}}}var Wa=Object.create(null),pl=function(){return Wa},Um=Object.create(null),vr=function(){function i(n,e){var t=this;this.policies=n,this.group=e,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(r,o){return lo(Ce(r)?t.get(r.__ref,o):r&&r[o])},this.canRead=function(r){return Ce(r)?t.has(r.__ref):typeof r=="object"},this.toReference=function(r,o){if(typeof r=="string")return Kt(r);if(Ce(r))return r;var a=t.policies.identify(r)[0];if(a){var s=Kt(a);return o&&t.merge(a,r),s}}}return i.prototype.toObject=function(){return g({},this.data)},i.prototype.has=function(n){return this.lookup(n,!0)!==void 0},i.prototype.get=function(n,e){if(this.group.depend(n,e),tt.call(this.data,n)){var t=this.data[n];if(t&&tt.call(t,e))return t[e]}if(e==="__typename"&&tt.call(this.policies.rootTypenamesById,n))return this.policies.rootTypenamesById[n];if(this instanceof Ji)return this.parent.get(n,e)},i.prototype.lookup=function(n,e){if(e&&this.group.depend(n,"__exists"),tt.call(this.data,n))return this.data[n];if(this instanceof Ji)return this.parent.lookup(n,e);if(this.policies.rootTypenamesById[n])return Object.create(null)},i.prototype.merge=function(n,e){var t=this,r;Ce(n)&&(n=n.__ref),Ce(e)&&(e=e.__ref);var o=typeof n=="string"?this.lookup(r=n):n,a=typeof e=="string"?this.lookup(r=e):e;if(a){Y(typeof r=="string",1);var s=new Vt(Ty).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(a).forEach(function(l){if(!o||o[l]!==s[l]){c[l]=1;var d=li(l);d!==l&&!t.policies.hasKeyArgs(s.__typename,d)&&(c[d]=1),s[l]===void 0&&!(t instanceof Ji)&&delete s[l]}}),c.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete c.__typename,Object.keys(c).forEach(function(l){return t.group.dirty(r,l)})}}},i.prototype.modify=function(n,e){var t=this,r=this.lookup(n);if(r){var o=Object.create(null),a=!1,s=!0,c={DELETE:Wa,INVALIDATE:Um,isReference:Ce,toReference:this.toReference,canRead:this.canRead,readField:function(l,d){return t.policies.readField(typeof l=="string"?{fieldName:l,from:d||Kt(n)}:l,{store:t})}};if(Object.keys(r).forEach(function(l){var d=li(l),h=r[l];if(h!==void 0){var m=typeof e=="function"?e:e[l]||e[d];if(m){var p=m===pl?Wa:m(lo(h),g(g({},c),{fieldName:d,storeFieldName:l,storage:t.getStorage(n,l)}));if(p===Um)t.group.dirty(n,l);else if(p===Wa&&(p=void 0),p!==h&&(o[l]=p,a=!0,h=p,globalThis.__DEV__!==!1)){var f=function(Q){if(t.lookup(Q.__ref)===void 0)return globalThis.__DEV__!==!1&&Y.warn(2,Q),!0};if(Ce(p))f(p);else if(Array.isArray(p))for(var b=!1,_=void 0,v=0,M=p;v0){var e=--this.rootIds[n];return e||delete this.rootIds[n],e}return 0},i.prototype.getRootIdSet=function(n){return n===void 0&&(n=new Set),Object.keys(this.rootIds).forEach(n.add,n),this instanceof Ji?this.parent.getRootIdSet(n):Object.keys(this.policies.rootTypenamesById).forEach(n.add,n),n},i.prototype.gc=function(){var n=this,e=this.getRootIdSet(),t=this.toObject();e.forEach(function(a){tt.call(t,a)&&(Object.keys(n.findChildRefIds(a)).forEach(e.add,e),delete t[a])});var r=Object.keys(t);if(r.length){for(var o=this;o instanceof Ji;)o=o.parent;r.forEach(function(a){return o.delete(a)})}return r},i.prototype.findChildRefIds=function(n){if(!tt.call(this.refs,n)){var e=this.refs[n]=Object.create(null),t=this.data[n];if(!t)return e;var r=new Set([t]);r.forEach(function(o){Ce(o)&&(e[o.__ref]=!0),Ie(o)&&Object.keys(o).forEach(function(a){var s=o[a];Ie(s)&&r.add(s)})})}return this.refs[n]},i.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},i}();var Qm=function(){function i(n,e){e===void 0&&(e=null),this.caching=n,this.parent=e,this.d=null,this.resetCaching()}return i.prototype.resetCaching=function(){this.d=this.caching?oo():null,this.keyMaker=new Ut(si)},i.prototype.depend=function(n,e){if(this.d){this.d(fl(n,e));var t=li(e);t!==e&&this.d(fl(n,t)),this.parent&&this.parent.depend(n,e)}},i.prototype.dirty=function(n,e){this.d&&this.d.dirty(fl(n,e),e==="__exists"?"forget":"setDirty")},i}();function fl(i,n){return n+"#"+i}function gl(i,n){Tn(i)&&i.group.depend(n,"__exists")}(function(i){var n=function(e){mt(t,e);function t(r){var o=r.policies,a=r.resultCaching,s=a===void 0?!0:a,c=r.seed,l=e.call(this,o,new Qm(s))||this;return l.stump=new Sy(l),l.storageTrie=new Ut(si),c&&l.replace(c),l}return t.prototype.addLayer=function(r,o){return this.stump.addLayer(r,o)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(i);i.Root=n})(vr||(vr={}));var Ji=function(i){mt(n,i);function n(e,t,r,o){var a=i.call(this,t.policies,o)||this;return a.id=e,a.parent=t,a.replay=r,a.group=o,r(a),a}return n.prototype.addLayer=function(e,t){return new n(e,this,t,this.group)},n.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(o){var a=t.data[o],s=r.lookup(o);s?a?a!==s&&Object.keys(a).forEach(function(c){Ne(a[c],s[c])||t.group.dirty(o,c)}):(t.group.dirty(o,"__exists"),Object.keys(s).forEach(function(c){t.group.dirty(o,c)})):t.delete(o)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},n.prototype.toObject=function(){return g(g({},this.parent.toObject()),this.data)},n.prototype.findChildRefIds=function(e){var t=this.parent.findChildRefIds(e);return tt.call(this.data,e)?g(g({},t),i.prototype.findChildRefIds.call(this,e)):t},n.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},n}(vr),Sy=function(i){mt(n,i);function n(e){return i.call(this,"EntityStore.Stump",e,function(){},new Qm(e.group.caching,e.group))||this}return n.prototype.removeLayer=function(){return this},n.prototype.merge=function(e,t){return this.parent.merge(e,t)},n}(Ji);function Ty(i,n,e){var t=i[e],r=n[e];return Ne(t,r)?t:r}function Tn(i){return!!(i instanceof vr&&i.group.caching)}function My(i){return Ie(i)?Ve(i)?i.slice(0):g({__proto__:Object.getPrototypeOf(i)},i):i}var bl=function(){function i(){this.known=new(wa?WeakSet:Set),this.pool=new Ut(si),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return i.prototype.isKnown=function(n){return Ie(n)&&this.known.has(n)},i.prototype.pass=function(n){if(Ie(n)){var e=My(n);return this.passes.set(e,n),e}return n},i.prototype.admit=function(n){var e=this;if(Ie(n)){var t=this.passes.get(n);if(t)return t;var r=Object.getPrototypeOf(n);switch(r){case Array.prototype:{if(this.known.has(n))return n;var o=n.map(this.admit,this),a=this.pool.lookupArray(o);return a.array||(this.known.add(a.array=o),globalThis.__DEV__!==!1&&Object.freeze(o)),a.array}case null:case Object.prototype:{if(this.known.has(n))return n;var s=Object.getPrototypeOf(n),c=[s],l=this.sortedKeys(n);c.push(l.json);var d=c.length;l.sorted.forEach(function(p){c.push(e.admit(n[p]))});var a=this.pool.lookupArray(c);if(!a.object){var h=a.object=Object.create(s);this.known.add(h),l.sorted.forEach(function(p,f){h[p]=c[d+f]}),globalThis.__DEV__!==!1&&Object.freeze(h)}return a.object}}}return n},i.prototype.sortedKeys=function(n){var e=Object.keys(n),t=this.pool.lookupArray(e);if(!t.keys){e.sort();var r=JSON.stringify(e);(t.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,t.keys={sorted:e,json:r})}return t.keys},i}();function qm(i){return[i.selectionSet,i.objectOrReference,i.context,i.context.canonizeResults]}var Wm=function(){function i(n){var e=this;this.knownResults=new(si?WeakMap:Map),this.config=_i(n,{addTypename:n.addTypename!==!1,canonizeResults:Qa(n)}),this.canon=n.canon||new bl,this.executeSelectionSet=Ai(function(t){var r,o=t.context.canonizeResults,a=qm(t);a[3]=!o;var s=(r=e.executeSelectionSet).peek.apply(r,a);return s?o?g(g({},s),{result:e.canon.admit(s.result)}):s:(gl(t.context.store,t.enclosingRef.__ref),e.execSelectionSetImpl(t))},{max:this.config.resultCacheMaxSize||dt["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:qm,makeCacheKey:function(t,r,o,a){if(Tn(o.store))return o.store.makeCacheKey(t,Ce(r)?r.__ref:r,o.varString,a)}}),this.executeSubSelectedArray=Ai(function(t){return gl(t.context.store,t.enclosingRef.__ref),e.execSubSelectedArrayImpl(t)},{max:this.config.resultCacheMaxSize||dt["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(t){var r=t.field,o=t.array,a=t.context;if(Tn(a.store))return a.store.makeCacheKey(r,o,a.varString)}})}return i.prototype.resetCanon=function(){this.canon=new bl},i.prototype.diffQueryAgainstStore=function(n){var e=n.store,t=n.query,r=n.rootId,o=r===void 0?"ROOT_QUERY":r,a=n.variables,s=n.returnPartialData,c=s===void 0?!0:s,l=n.canonizeResults,d=l===void 0?this.config.canonizeResults:l,h=this.config.cache.policies;a=g(g({},wn(io(t))),a);var m=Kt(o),p=this.executeSelectionSet({selectionSet:ci(t).selectionSet,objectOrReference:m,enclosingRef:m,context:g({store:e,query:t,policies:h,variables:a,varString:Mt(a),canonizeResults:d},qa(t,this.config.fragments))}),f;if(p.missing&&(f=[new go(Ay(p.missing),p.missing,t,a)],!c))throw f[0];return{result:p.result,complete:!f,missing:f}},i.prototype.isFresh=function(n,e,t,r){if(Tn(r.store)&&this.knownResults.get(n)===t){var o=this.executeSelectionSet.peek(t,e,r,this.canon.isKnown(n));if(o&&n===o.result)return!0}return!1},i.prototype.execSelectionSetImpl=function(n){var e=this,t=n.selectionSet,r=n.objectOrReference,o=n.enclosingRef,a=n.context;if(Ce(r)&&!a.policies.rootTypenamesById[r.__ref]&&!a.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var s=a.variables,c=a.policies,l=a.store,d=l.getFieldValue(r,"__typename"),h=[],m,p=new Vt;this.config.addTypename&&typeof d=="string"&&!c.rootIdsByTypename[d]&&h.push({__typename:d});function f(y,q){var Q;return y.missing&&(m=p.merge(m,(Q={},Q[q]=y.missing,Q))),y.result}var b=new Set(t.selections);b.forEach(function(y){var q,Q;if(ai(y,s))if(At(y)){var Z=c.readField({fieldName:y.name.value,field:y,variables:a.variables,from:r},a),be=jt(y);Z===void 0?Dn.added(y)||(m=p.merge(m,(q={},q[be]="Can't find field '".concat(y.name.value,"' on ").concat(Ce(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),q))):Ve(Z)?Z.length>0&&(Z=f(e.executeSubSelectedArray({field:y,array:Z,enclosingRef:o,context:a}),be)):y.selectionSet?Z!=null&&(Z=f(e.executeSelectionSet({selectionSet:y.selectionSet,objectOrReference:Z,enclosingRef:Ce(Z)?Z:o,context:a}),be)):a.canonizeResults&&(Z=e.canon.pass(Z)),Z!==void 0&&h.push((Q={},Q[be]=Z,Q))}else{var _e=Si(y,a.lookupFragment);if(!_e&&y.kind===G.FRAGMENT_SPREAD)throw Be(9,y.name.value);_e&&c.fragmentMatches(_e,d)&&_e.selectionSet.selections.forEach(b.add,b)}});var _=En(h),v={result:_,missing:m},M=a.canonizeResults?this.canon.admit(v):lo(v);return M.result&&this.knownResults.set(M.result,t),M},i.prototype.execSubSelectedArrayImpl=function(n){var e=this,t=n.field,r=n.array,o=n.enclosingRef,a=n.context,s,c=new Vt;function l(d,h){var m;return d.missing&&(s=c.merge(s,(m={},m[h]=d.missing,m))),d.result}return t.selectionSet&&(r=r.filter(a.store.canRead)),r=r.map(function(d,h){return d===null?null:Ve(d)?l(e.executeSubSelectedArray({field:t,array:d,enclosingRef:o,context:a}),h):t.selectionSet?l(e.executeSelectionSet({selectionSet:t.selectionSet,objectOrReference:d,enclosingRef:Ce(d)?d:o,context:a}),h):(globalThis.__DEV__!==!1&&Oy(a.store,t,d),d)}),{result:a.canonizeResults?this.canon.admit(r):r,missing:s}},i}();function Ay(i){try{JSON.stringify(i,function(n,e){if(typeof e=="string")throw e;return e})}catch(n){return n}}function Oy(i,n,e){if(!n.selectionSet){var t=new Set([e]);t.forEach(function(r){Ie(r)&&(Y(!Ce(r),10,zm(i,r),n.name.value),Object.values(r).forEach(t.add,t))})}}var _r=new Cn,Gm=new WeakMap;function vo(i){var n=Gm.get(i);return n||Gm.set(i,n={vars:new Set,dep:oo()}),n}function vl(i){vo(i).vars.forEach(function(n){return n.forgetCache(i)})}function $m(i){vo(i).vars.forEach(function(n){return n.attachCache(i)})}function Ga(i){var n=new Set,e=new Set,t=function(o){if(arguments.length>0){if(i!==o){i=o,n.forEach(function(c){vo(c).dep.dirty(t),Ry(c)});var a=Array.from(e);e.clear(),a.forEach(function(c){return c(i)})}}else{var s=_r.getValue();s&&(r(s),vo(s).dep(t))}return i};t.onNextChange=function(o){return e.add(o),function(){e.delete(o)}};var r=t.attachCache=function(o){return n.add(o),vo(o).vars.add(t),t};return t.forgetCache=function(o){return n.delete(o)},t}function Ry(i){i.broadcastWatches&&i.broadcastWatches()}var Ym=Object.create(null);function _l(i){var n=JSON.stringify(i);return Ym[n]||(Ym[n]=Object.create(null))}function yl(i){var n=_l(i);return n.keyFieldsFn||(n.keyFieldsFn=function(e,t){var r=function(a,s){return t.readField(s,a)},o=t.keyObject=wl(i,function(a){var s=yr(t.storeObject,a,r);return s===void 0&&e!==t.storeObject&&tt.call(e,a[0])&&(s=yr(e,a,Xm)),Y(s!==void 0,4,a.join("."),e),s});return"".concat(t.typename,":").concat(JSON.stringify(o))})}function xl(i){var n=_l(i);return n.keyArgsFn||(n.keyArgsFn=function(e,t){var r=t.field,o=t.variables,a=t.fieldName,s=wl(i,function(l){var d=l[0],h=d.charAt(0);if(h==="@"){if(r&&vt(r.directives)){var m=d.slice(1),p=r.directives.find(function(v){return v.name.value===m}),f=p&&Ti(p,o);return f&&yr(f,l.slice(1))}return}if(h==="$"){var b=d.slice(1);if(o&&tt.call(o,b)){var _=l.slice(0);return _[0]=b,yr(o,_)}return}if(e)return yr(e,l)}),c=JSON.stringify(s);return(e||c!=="{}")&&(a+=":"+c),a})}function wl(i,n){var e=new Vt;return Km(i).reduce(function(t,r){var o,a=n(r);if(a!==void 0){for(var s=r.length-1;s>=0;--s)a=(o={},o[r[s]]=a,o);t=e.merge(t,a)}return t},Object.create(null))}function Km(i){var n=_l(i);if(!n.paths){var e=n.paths=[],t=[];i.forEach(function(r,o){Ve(r)?(Km(r).forEach(function(a){return e.push(t.concat(a))}),t.length=0):(t.push(r),Ve(i[o+1])||(e.push(t.slice(0)),t.length=0))})}return n.paths}function Xm(i,n){return i[n]}function yr(i,n,e){return e=e||Xm,Zm(n.reduce(function t(r,o){return Ve(r)?r.map(function(a){return t(a,o)}):r&&e(r,o)},i))}function Zm(i){return Ie(i)?Ve(i)?i.map(Zm):wl(Object.keys(i).sort(),function(n){return yr(i,n)}):i}function Cl(i){return i.args!==void 0?i.args:i.field?Ti(i.field,i.variables):null}var Fy=function(){},Jm=function(i,n){return n.fieldName},ep=function(i,n,e){var t=e.mergeObjects;return t(i,n)},tp=function(i,n){return n},np=function(){function i(n){this.config=n,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=g({dataIdFromObject:Ua},n),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),n.possibleTypes&&this.addPossibleTypes(n.possibleTypes),n.typePolicies&&this.addTypePolicies(n.typePolicies)}return i.prototype.identify=function(n,e){var t,r=this,o=e&&(e.typename||((t=e.storeObject)===null||t===void 0?void 0:t.__typename))||n.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=e&&e.storeObject||n,s=g(g({},e),{typename:o,storeObject:a,readField:e&&e.readField||function(){var m=$a(arguments,a);return r.readField(m,{store:r.cache.data,variables:m.variables})}}),c,l=o&&this.getTypePolicy(o),d=l&&l.keyFn||this.config.dataIdFromObject;d;){var h=d(g(g({},n),a),s);if(Ve(h))d=yl(h);else{c=h;break}}return c=c?String(c):void 0,s.keyObject?[c,s.keyObject]:[c]},i.prototype.addTypePolicies=function(n){var e=this;Object.keys(n).forEach(function(t){var r=n[t],o=r.queryType,a=r.mutationType,s=r.subscriptionType,c=Pt(r,["queryType","mutationType","subscriptionType"]);o&&e.setRootTypename("Query",t),a&&e.setRootTypename("Mutation",t),s&&e.setRootTypename("Subscription",t),tt.call(e.toBeAdded,t)?e.toBeAdded[t].push(c):e.toBeAdded[t]=[c]})},i.prototype.updateTypePolicy=function(n,e){var t=this,r=this.getTypePolicy(n),o=e.keyFields,a=e.fields;function s(c,l){c.merge=typeof l=="function"?l:l===!0?ep:l===!1?tp:c.merge}s(r,e.merge),r.keyFn=o===!1?Fy:Ve(o)?yl(o):typeof o=="function"?o:r.keyFn,a&&Object.keys(a).forEach(function(c){var l=t.getFieldPolicy(n,c,!0),d=a[c];if(typeof d=="function")l.read=d;else{var h=d.keyArgs,m=d.read,p=d.merge;l.keyFn=h===!1?Jm:Ve(h)?xl(h):typeof h=="function"?h:l.keyFn,typeof m=="function"&&(l.read=m),s(l,p)}l.read&&l.merge&&(l.keyFn=l.keyFn||Jm)})},i.prototype.setRootTypename=function(n,e){e===void 0&&(e=n);var t="ROOT_"+n.toUpperCase(),r=this.rootTypenamesById[t];e!==r&&(Y(!r||r===n,5,n),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[e]=t,this.rootTypenamesById[t]=e)},i.prototype.addPossibleTypes=function(n){var e=this;this.usingPossibleTypes=!0,Object.keys(n).forEach(function(t){e.getSupertypeSet(t,!0),n[t].forEach(function(r){e.getSupertypeSet(r,!0).add(t);var o=r.match(ml);(!o||o[0]!==r)&&e.fuzzySubtypes.set(r,new RegExp(r))})})},i.prototype.getTypePolicy=function(n){var e=this;if(!tt.call(this.typePolicies,n)){var t=this.typePolicies[n]=Object.create(null);t.fields=Object.create(null);var r=this.supertypeMap.get(n);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(n,!0),this.fuzzySubtypes.forEach(function(a,s){if(a.test(n)){var c=e.supertypeMap.get(s);c&&c.forEach(function(l){return r.add(l)})}})),r&&r.size&&r.forEach(function(a){var s=e.getTypePolicy(a),c=s.fields,l=Pt(s,["fields"]);Object.assign(t,l),Object.assign(t.fields,c)})}var o=this.toBeAdded[n];return o&&o.length&&o.splice(0).forEach(function(a){e.updateTypePolicy(n,a)}),this.typePolicies[n]},i.prototype.getFieldPolicy=function(n,e,t){if(n){var r=this.getTypePolicy(n).fields;return r[e]||t&&(r[e]=Object.create(null))}},i.prototype.getSupertypeSet=function(n,e){var t=this.supertypeMap.get(n);return!t&&e&&this.supertypeMap.set(n,t=new Set),t},i.prototype.fragmentMatches=function(n,e,t,r){var o=this;if(!n.typeCondition)return!0;if(!e)return!1;var a=n.typeCondition.name.value;if(e===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(e,!0),c=[s],l=function(f){var b=o.getSupertypeSet(f,!1);b&&b.size&&c.indexOf(b)<0&&c.push(b)},d=!!(t&&this.fuzzySubtypes.size),h=!1,m=0;m1?r:n}:(a=g({},t),tt.call(a,"from")||(a.from=n)),globalThis.__DEV__!==!1&&a.from===void 0&&globalThis.__DEV__!==!1&&Y.warn(7,da(Array.from(i))),a.variables===void 0&&(a.variables=e),a}function rp(i){return function(e,t){if(Ve(e)||Ve(t))throw Be(8);if(Ie(e)&&Ie(t)){var r=i.getFieldValue(e,"__typename"),o=i.getFieldValue(t,"__typename"),a=r&&o&&r!==o;if(a)return t;if(Ce(e)&&Zi(t))return i.merge(e.__ref,t),e;if(Zi(e)&&Ce(t))return i.merge(e,t.__ref),t;if(Zi(e)&&Zi(t))return g(g({},e),t)}return t}}function kl(i,n,e){var t="".concat(n).concat(e),r=i.flavors.get(t);return r||i.flavors.set(t,r=i.clientOnly===n&&i.deferred===e?i:g(g({},i),{clientOnly:n,deferred:e})),r}var cp=function(){function i(n,e,t){this.cache=n,this.reader=e,this.fragments=t}return i.prototype.writeToStore=function(n,e){var t=this,r=e.query,o=e.result,a=e.dataId,s=e.variables,c=e.overwrite,l=vi(r),d=Hm();s=g(g({},wn(l)),s);var h=g(g({store:n,written:Object.create(null),merge:function(p,f){return d.merge(p,f)},variables:s,varString:Mt(s)},qa(r,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),m=this.processSelectionSet({result:o||Object.create(null),dataId:a,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:h});if(!Ce(m))throw Be(11,o);return h.incomingById.forEach(function(p,f){var b=p.storeObject,_=p.mergeTree,v=p.fieldNodeSet,M=Kt(f);if(_&&_.map.size){var y=t.applyMerges(_,M,b,h);if(Ce(y))return;b=y}if(globalThis.__DEV__!==!1&&!h.overwrite){var q=Object.create(null);v.forEach(function(be){be.selectionSet&&(q[be.name.value]=!0)});var Q=function(be){return q[li(be)]===!0},Z=function(be){var _e=_&&_.map.get(be);return!!(_e&&_e.info&&_e.info.merge)};Object.keys(b).forEach(function(be){Q(be)&&!Z(be)&&Py(M,b,be,h.store)})}n.merge(f,b)}),n.retain(m.__ref),m},i.prototype.processSelectionSet=function(n){var e=this,t=n.dataId,r=n.result,o=n.selectionSet,a=n.context,s=n.mergeTree,c=this.cache.policies,l=Object.create(null),d=t&&c.rootTypenamesById[t]||to(r,o,a.fragmentMap)||t&&a.store.get(t,"__typename");typeof d=="string"&&(l.__typename=d);var h=function(){var y=$a(arguments,l,a.variables);if(Ce(y.from)){var q=a.incomingById.get(y.from.__ref);if(q){var Q=c.readField(g(g({},y),{from:q.storeObject}),a);if(Q!==void 0)return Q}}return c.readField(y,a)},m=new Set;this.flattenFields(o,r,a,d).forEach(function(y,q){var Q,Z=jt(q),be=r[Z];if(m.add(q),be!==void 0){var _e=c.getStoreFieldName({typename:d,fieldName:q.name.value,field:q,variables:y.variables}),ze=op(s,_e),Je=e.processFieldValue(be,q,q.selectionSet?kl(y,!1,!1):y,ze),Wn=void 0;q.selectionSet&&(Ce(Je)||Zi(Je))&&(Wn=h("__typename",Je));var Gn=c.getMergeFunction(d,q.name.value,Wn);Gn?ze.info={field:q,typename:d,merge:Gn}:ap(s,_e),l=y.merge(l,(Q={},Q[_e]=Je,Q))}else globalThis.__DEV__!==!1&&!y.clientOnly&&!y.deferred&&!Dn.added(q)&&!c.getReadFunction(d,q.name.value)&&globalThis.__DEV__!==!1&&Y.error(12,jt(q),r)});try{var p=c.identify(r,{typename:d,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:l,readField:h}),f=p[0],b=p[1];t=t||f,b&&(l=a.merge(l,b))}catch(y){if(!t)throw y}if(typeof t=="string"){var _=Kt(t),v=a.written[t]||(a.written[t]=[]);if(v.indexOf(o)>=0||(v.push(o),this.reader&&this.reader.isFresh(r,_,o,a)))return _;var M=a.incomingById.get(t);return M?(M.storeObject=a.merge(M.storeObject,l),M.mergeTree=Dl(M.mergeTree,s),m.forEach(function(y){return M.fieldNodeSet.add(y)})):a.incomingById.set(t,{storeObject:l,mergeTree:Ya(s)?void 0:s,fieldNodeSet:m}),_}return l},i.prototype.processFieldValue=function(n,e,t,r){var o=this;return!e.selectionSet||n===null?globalThis.__DEV__!==!1?Ma(n):n:Ve(n)?n.map(function(a,s){var c=o.processFieldValue(a,e,t,op(r,s));return ap(r,s),c}):this.processSelectionSet({result:n,selectionSet:e.selectionSet,context:t,mergeTree:r})},i.prototype.flattenFields=function(n,e,t,r){r===void 0&&(r=to(e,n,t.fragmentMap));var o=new Map,a=this.cache.policies,s=new Ut(!1);return function c(l,d){var h=s.lookup(l,d.clientOnly,d.deferred);h.visited||(h.visited=!0,l.selections.forEach(function(m){if(ai(m,t.variables)){var p=d.clientOnly,f=d.deferred;if(!(p&&f)&&vt(m.directives)&&m.directives.forEach(function(v){var M=v.name.value;if(M==="client"&&(p=!0),M==="defer"){var y=Ti(v,t.variables);(!y||y.if!==!1)&&(f=!0)}}),At(m)){var b=o.get(m);b&&(p=p&&b.clientOnly,f=f&&b.deferred),o.set(m,kl(t,p,f))}else{var _=Si(m,t.lookupFragment);if(!_&&m.kind===G.FRAGMENT_SPREAD)throw Be(13,m.name.value);_&&a.fragmentMatches(_,r,e,t.variables)&&c(_.selectionSet,kl(t,p,f))}}}))}(n,t),o},i.prototype.applyMerges=function(n,e,t,r,o){var a,s=this;if(n.map.size&&!Ce(t)){var c=!Ve(t)&&(Ce(e)||Zi(e))?e:void 0,l=t;c&&!o&&(o=[Ce(c)?c.__ref:c]);var d,h=function(m,p){return Ve(m)?typeof p=="number"?m[p]:void 0:r.store.getFieldValue(m,String(p))};n.map.forEach(function(m,p){var f=h(c,p),b=h(l,p);if(b!==void 0){o&&o.push(p);var _=s.applyMerges(m,f,b,r,o);_!==b&&(d=d||new Map,d.set(p,_)),o&&Y(o.pop()===p)}}),d&&(t=Ve(l)?l.slice(0):g({},l),d.forEach(function(m,p){t[p]=m}))}return n.info?this.cache.policies.runMergeFunction(e,t,n.info,r,o&&(a=r.store).getStorage.apply(a,o)):t},i}();var lp=[];function op(i,n){var e=i.map;return e.has(n)||e.set(n,lp.pop()||{map:new Map}),e.get(n)}function Dl(i,n){if(i===n||!n||Ya(n))return i;if(!i||Ya(i))return n;var e=i.info&&n.info?g(g({},i.info),n.info):i.info||n.info,t=i.map.size&&n.map.size,r=t?new Map:i.map.size?i.map:n.map,o={info:e,map:r};if(t){var a=new Set(n.map.keys());i.map.forEach(function(s,c){o.map.set(c,Dl(s,n.map.get(c))),a.delete(c)}),a.forEach(function(s){o.map.set(s,Dl(n.map.get(s),i.map.get(s)))})}return o}function Ya(i){return!i||!(i.info||i.map.size)}function ap(i,n){var e=i.map,t=e.get(n);t&&Ya(t)&&(lp.push(t),e.delete(n))}var sp=new Set;function Py(i,n,e,t){var r=function(h){var m=t.getFieldValue(h,e);return typeof m=="object"&&m},o=r(i);if(o){var a=r(n);if(a&&!Ce(o)&&!Ne(o,a)&&!Object.keys(o).every(function(h){return t.getFieldValue(a,h)!==void 0})){var s=t.getFieldValue(i,"__typename")||t.getFieldValue(n,"__typename"),c=li(e),l="".concat(s,".").concat(c);if(!sp.has(l)){sp.add(l);var d=[];!Ve(o)&&!Ve(a)&&[o,a].forEach(function(h){var m=t.getFieldValue(h,"__typename");typeof m=="string"&&!d.includes(m)&&d.push(m)}),globalThis.__DEV__!==!1&&Y.warn(14,c,s,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",l,g({},o),g({},a))}}}}var El=function(i){mt(n,i);function n(e){e===void 0&&(e={});var t=i.call(this)||this;return t.watches=new Set,t.addTypenameTransform=new mr(Dn),t.assumeImmutableResults=!0,t.makeVar=Ga,t.txCount=0,t.config=Bm(e),t.addTypename=!!t.config.addTypename,t.policies=new np({cache:t,dataIdFromObject:t.config.dataIdFromObject,possibleTypes:t.config.possibleTypes,typePolicies:t.config.typePolicies}),t.init(),t}return n.prototype.init=function(){var e=this.data=new vr.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},n.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,o=this.config.fragments;this.storeWriter=new cp(this,this.storeReader=new Wm({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Qa(this.config),canon:e?void 0:r&&r.canon,fragments:o}),o),this.maybeBroadcastWatch=Ai(function(a,s){return t.broadcastWatch(a,s)},{max:this.config.resultCacheMaxSize||dt["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(a){var s=a.optimistic?t.optimisticData:t.data;if(Tn(s)){var c=a.optimistic,l=a.id,d=a.variables;return s.makeCacheKey(a.query,a.callback,Mt({optimistic:c,id:l,variables:d}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(a){return a.resetCaching()})},n.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},n.prototype.extract=function(e){return e===void 0&&(e=!1),(e?this.optimisticData:this.data).extract()},n.prototype.read=function(e){var t=e.returnPartialData,r=t===void 0?!1:t;try{return this.storeReader.diffQueryAgainstStore(g(g({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(o){if(o instanceof go)return null;throw o}},n.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}},n.prototype.modify=function(e){if(tt.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}},n.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore(g(g({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},n.prototype.watch=function(e){var t=this;return this.watches.size||$m(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&vl(t),t.maybeBroadcastWatch.forget(e)}},n.prototype.gc=function(e){var t;Mt.reset(),Ki.reset(),this.addTypenameTransform.resetCache(),(t=this.config.fragments)===null||t===void 0||t.resetCaches();var r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},n.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},n.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},n.prototype.identify=function(e){if(Ce(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){globalThis.__DEV__!==!1&&Y.warn(t)}},n.prototype.evict=function(e){if(!e.id){if(tt.call(e,"id"))return!1;e=g(g({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}},n.prototype.reset=function(e){var t=this;return this.init(),Mt.reset(),e&&e.discardWatches?(this.watches.forEach(function(r){return t.maybeBroadcastWatch.forget(r)}),this.watches.clear(),vl(this)):this.broadcastWatches(),Promise.resolve()},n.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},n.prototype.batch=function(e){var t=this,r=e.update,o=e.optimistic,a=o===void 0?!0:o,s=e.removeOptimistic,c=e.onWatchUpdated,l,d=function(m){var p=t,f=p.data,b=p.optimisticData;++t.txCount,m&&(t.data=t.optimisticData=m);try{return l=r(t)}finally{--t.txCount,t.data=f,t.optimisticData=b}},h=new Set;return c&&!this.txCount&&this.broadcastWatches(g(g({},e),{onWatchUpdated:function(m){return h.add(m),!1}})),typeof a=="string"?this.optimisticData=this.optimisticData.addLayer(a,d):a===!1?d(this.data):d(),typeof s=="string"&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&h.size?(this.broadcastWatches(g(g({},e),{onWatchUpdated:function(m,p){var f=c.call(this,m,p);return f!==!1&&h.delete(m),f}})),h.size&&h.forEach(function(m){return t.maybeBroadcastWatch.dirty(m)})):this.broadcastWatches(e),l},n.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||t!==null})},n.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},n.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},n.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},n.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},n.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,o=this.diff(e);t&&(e.optimistic&&typeof t.optimistic=="string"&&(o.fromOptimisticTransaction=!0),t.onWatchUpdated&&t.onWatchUpdated.call(this,e,o,r)===!1)||(!r||!Ne(r.result,o.result))&&e.callback(e.lastDiff=o,r)},n}(za);globalThis.__DEV__!==!1&&(El.prototype.getMemoryInternals=Fh);var Se=function(i){return i[i.loading=1]="loading",i[i.setVariables=2]="setVariables",i[i.fetchMore=3]="fetchMore",i[i.refetch=4]="refetch",i[i.poll=6]="poll",i[i.ready=7]="ready",i[i.error=8]="error",i}(Se||{});function en(i){return i?i<7:!1}var dp=Object.assign,Ny=Object.hasOwnProperty,Ka=function(i){mt(n,i);function n(e){var t=e.queryManager,r=e.queryInfo,o=e.options,a=i.call(this,function(_){try{var v=_._subscription._observer;v&&!v.error&&(v.error=Ly)}catch{}var M=!a.observers.size;a.observers.add(_);var y=a.last;return y&&y.error?_.error&&_.error(y.error):y&&y.result&&_.next&&_.next(y.result),M&&a.reobserve().catch(function(){}),function(){a.observers.delete(_)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=r,a.queryManager=t,a.waitForOwnResult=Il(o.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a);var s=t.defaultOptions.watchQuery,c=s===void 0?{}:s,l=c.fetchPolicy,d=l===void 0?"cache-first":l,h=o.fetchPolicy,m=h===void 0?d:h,p=o.initialFetchPolicy,f=p===void 0?m==="standby"?d:m:p;a.options=g(g({},o),{initialFetchPolicy:f,fetchPolicy:m}),a.queryId=r.queryId||t.generateQueryId();var b=vi(a.query);return a.queryName=b&&b.name&&b.name.value,a}return Object.defineProperty(n.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),n.prototype.result=function(){var e=this;return new Promise(function(t,r){var o={next:function(s){t(s),e.observers.delete(o),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){a.unsubscribe()},0)},error:r},a=e.subscribe(o)})},n.prototype.resetDiff=function(){this.queryInfo.resetDiff()},n.prototype.getCurrentResult=function(e){e===void 0&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||Se.ready,o=g(g({},t),{loading:en(r),networkStatus:r}),a=this.options.fetchPolicy,s=a===void 0?"cache-first":a;if(!(Il(s)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(o.data=c.result),Ne(o.data,{})&&(o.data=void 0),c.complete?(delete o.partial,c.complete&&o.networkStatus===Se.loading&&(s==="cache-first"||s==="cache-only")&&(o.networkStatus=Se.ready,o.loading=!1)):o.partial=!0,globalThis.__DEV__!==!1&&!c.complete&&!this.options.partialRefetch&&!o.loading&&!o.data&&!o.error&&Tl(c.missing)}return e&&this.updateLastResult(o),o},n.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!Ba(this.query,this.last.result,e,this.variables):!Ne(this.last.result,e);return r||t&&!Ne(this.last.variables,t)},n.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||Ne(r.variables,this.variables)))return r[e]},n.prototype.getLastResult=function(e){return this.getLast("result",e)},n.prototype.getLastError=function(e){return this.getLast("error",e)},n.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},n.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},n.prototype.refetch=function(e){var t,r={pollInterval:0},o=this.options.fetchPolicy;if(o==="cache-and-network"?r.fetchPolicy=o:o==="no-cache"?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",globalThis.__DEV__!==!1&&e&&Ny.call(e,"variables")){var a=io(this.query),s=a.variableDefinitions;(!s||!s.some(function(c){return c.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&Y.warn(20,e,((t=a.name)===null||t===void 0?void 0:t.value)||a)}return e&&!Ne(this.options.variables,e)&&(r.variables=this.options.variables=g(g({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,Se.refetch)},n.prototype.fetchMore=function(e){var t=this,r=g(g({},e.query?e:g(g(g(g({},this.options),{query:this.options.query}),e),{variables:g(g({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var a=this.queryInfo,s=a.networkStatus;a.networkStatus=Se.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var c=new Set,l=e?.updateQuery,d=this.options.fetchPolicy!=="no-cache";return d||Y(l,21),this.queryManager.fetchQuery(o,r,Se.fetchMore).then(function(h){if(t.queryManager.removeQuery(o),a.networkStatus===Se.fetchMore&&(a.networkStatus=s),d)t.queryManager.cache.batch({update:function(f){var b=e.updateQuery;b?f.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(_){return b(_,{fetchMoreResult:h.data,variables:r.variables})}):f.writeQuery({query:r.query,variables:r.variables,data:h.data})},onWatchUpdated:function(f){c.add(f.query)}});else{var m=t.getLast("result"),p=l(m.data,{fetchMoreResult:h.data,variables:r.variables});t.reportResult(g(g({},m),{data:p}),t.variables)}return h}).finally(function(){d&&!c.has(t.query)&&Sl(t)})},n.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(o){var a=e.updateQuery;a&&t.updateQuery(function(s,c){var l=c.variables;return a(s,{subscriptionData:o,variables:l})})},error:function(o){if(e.onError){e.onError(o);return}globalThis.__DEV__!==!1&&Y.error(22,o)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},n.prototype.setOptions=function(e){return this.reobserve(e)},n.prototype.silentSetOptions=function(e){var t=_i(this.options,e||{});dp(this.options,t)},n.prototype.setVariables=function(e){return Ne(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},Se.setVariables):Promise.resolve())},n.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,o=e(r,{variables:this.variables});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},n.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},n.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},n.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,o=r===void 0?"cache-first":r,a=t.initialFetchPolicy,s=a===void 0?o:a;o==="standby"||(typeof t.nextFetchPolicy=="function"?t.fetchPolicy=t.nextFetchPolicy(o,{reason:e,options:t,observable:this,initialFetchPolicy:s}):e==="variables-changed"?t.fetchPolicy=s:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},n.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},n.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this,r=t.pollingInfo,o=t.options.pollInterval;if(!o||!this.hasObservers()){r&&(clearTimeout(r.timeout),delete this.pollingInfo);return}if(!(r&&r.interval===o)){Y(o,23);var a=r||(this.pollingInfo={});a.interval=o;var s=function(){var l,d;e.pollingInfo&&(!en(e.queryInfo.networkStatus)&&!(!((d=(l=e.options).skipPollAttempt)===null||d===void 0)&&d.call(l))?e.reobserve({fetchPolicy:e.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},Se.poll).then(c,c):c())},c=function(){var l=e.pollingInfo;l&&(clearTimeout(l.timeout),l.timeout=setTimeout(s,l.interval))};c()}}},n.prototype.updateLastResult=function(e,t){t===void 0&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!Ne(t,this.last.variables)&&(r=void 0),this.last=g({result:this.queryManager.assumeImmutableResults?e:Ma(e),variables:t},r?{error:r}:null)},n.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var o=t===Se.refetch||t===Se.fetchMore||t===Se.poll,a=this.options.variables,s=this.options.fetchPolicy,c=_i(this.options,e||{}),l=o?c:dp(this.options,c),d=this.transformDocument(l.query);this.lastQuery=d,o||(this.updatePolling(),e&&e.variables&&!Ne(e.variables,a)&&l.fetchPolicy!=="standby"&&(l.fetchPolicy===s||typeof l.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",l),t===void 0&&(t=Se.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Il(l.fetchPolicy));var h=function(){r.concast===f&&(r.waitForOwnResult=!1)},m=l.variables&&g({},l.variables),p=this.fetch(l,t,d),f=p.concast,b=p.fromLink,_={next:function(v){Ne(r.variables,m)&&(h(),r.reportResult(v,m))},error:function(v){Ne(r.variables,m)&&(ja(v)||(v=new Oi({networkError:v})),h(),r.reportError(v,m))}};return!o&&(b||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=f,this.observer=_),f.addObserver(_),f},n.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},n.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t0},n.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},n.prototype.transformDocument=function(e){return this.queryManager.transform(e)},n}(ke);Oa(Ka);function Sl(i){var n=i.options,e=n.fetchPolicy,t=n.nextFetchPolicy;return e==="cache-and-network"||e==="network-only"?i.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(r,o){return this.nextFetchPolicy=t,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(r,o):e}}):i.reobserve()}function Ly(i){globalThis.__DEV__!==!1&&Y.error(24,i.message,i.stack)}function Tl(i){globalThis.__DEV__!==!1&&i&&globalThis.__DEV__!==!1&&Y.debug(25,i)}function Il(i){return i==="network-only"||i==="no-cache"||i==="standby"}var xr=new(si?WeakMap:Map);function Ml(i,n){var e=i[n];typeof e=="function"&&(i[n]=function(){return xr.set(i,(xr.get(i)+1)%1e15),e.apply(this,arguments)})}function up(i){i.notifyTimeout&&(clearTimeout(i.notifyTimeout),i.notifyTimeout=void 0)}var Xa=function(){function i(n,e){e===void 0&&(e=n.generateQueryId()),this.queryId=e,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var t=this.cache=n.cache;xr.has(t)||(xr.set(t,0),Ml(t,"evict"),Ml(t,"modify"),Ml(t,"reset"))}return i.prototype.init=function(n){var e=n.networkStatus||Se.loading;return this.variables&&this.networkStatus!==Se.loading&&!Ne(this.variables,n.variables)&&(e=Se.setVariables),Ne(n.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:n.document,variables:n.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:e}),n.observableQuery&&this.setObservableQuery(n.observableQuery),n.lastRequestId&&(this.lastRequestId=n.lastRequestId),this},i.prototype.reset=function(){up(this),this.dirty=!1},i.prototype.resetDiff=function(){this.lastDiff=void 0},i.prototype.getDiff=function(){var n=this.getDiffOptions();if(this.lastDiff&&Ne(n,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var e=this.observableQuery;if(e&&e.options.fetchPolicy==="no-cache")return{complete:!1};var t=this.cache.diff(n);return this.updateLastDiff(t,n),t},i.prototype.updateLastDiff=function(n,e){this.lastDiff=n?{diff:n,options:e||this.getDiffOptions()}:void 0},i.prototype.getDiffOptions=function(n){var e;return n===void 0&&(n=this.variables),{query:this.document,variables:n,returnPartialData:!0,optimistic:!0,canonizeResults:(e=this.observableQuery)===null||e===void 0?void 0:e.options.canonizeResults}},i.prototype.setDiff=function(n){var e=this,t,r=this.lastDiff&&this.lastDiff.diff;n&&!n.complete&&(!((t=this.observableQuery)===null||t===void 0)&&t.getLastError())||(this.updateLastDiff(n),!this.dirty&&!Ne(r&&r.result,n&&n.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0))))},i.prototype.setObservableQuery=function(n){var e=this;n!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=n,n?(n.queryInfo=this,this.listeners.add(this.oqListener=function(){var t=e.getDiff();t.fromOptimisticTransaction?n.observe():Sl(n)})):delete this.oqListener)},i.prototype.notify=function(){var n=this;up(this),this.shouldNotify()&&this.listeners.forEach(function(e){return e(n)}),this.dirty=!1},i.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(en(this.networkStatus)&&this.observableQuery){var n=this.observableQuery.options.fetchPolicy;if(n!=="cache-only"&&n!=="cache-and-network")return!1}return!0},i.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=i.prototype.cancel;var n=this.observableQuery;n&&n.stopPolling()}},i.prototype.cancel=function(){},i.prototype.updateWatch=function(n){var e=this;n===void 0&&(n=this.variables);var t=this.observableQuery;if(!(t&&t.options.fetchPolicy==="no-cache")){var r=g(g({},this.getDiffOptions(n)),{watcher:this,callback:function(o){return e.setDiff(o)}});(!this.lastWatch||!Ne(r,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},i.prototype.resetLastWrite=function(){this.lastWrite=void 0},i.prototype.shouldWrite=function(n,e){var t=this.lastWrite;return!(t&&t.dmCount===xr.get(this.cache)&&Ne(e,t.variables)&&Ne(n.data,t.result.data))},i.prototype.markResult=function(n,e,t,r){var o=this,a=new Vt,s=vt(n.errors)?n.errors.slice(0):[];if(this.reset(),"incremental"in n&&vt(n.incremental)){var c=Ra(this.getDiff().result,n);n.data=c}else if("hasNext"in n&&n.hasNext){var l=this.getDiff();n.data=a.merge(l.result,n.data)}this.graphQLErrors=s,t.fetchPolicy==="no-cache"?this.updateLastDiff({result:n.data,complete:!0},this.getDiffOptions(t.variables)):r!==0&&(Za(n,t.errorPolicy)?this.cache.performTransaction(function(d){if(o.shouldWrite(n,t.variables))d.writeQuery({query:e,data:n.data,variables:t.variables,overwrite:r===1}),o.lastWrite={result:n,variables:t.variables,dmCount:xr.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){n.data=o.lastDiff.diff.result;return}var h=o.getDiffOptions(t.variables),m=d.diff(h);!o.stopped&&Ne(o.variables,t.variables)&&o.updateWatch(t.variables),o.updateLastDiff(m,h),m.complete&&(n.data=m.result)}):this.lastWrite=void 0)},i.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Se.ready},i.prototype.markError=function(n){return this.networkStatus=Se.error,this.lastWrite=void 0,this.reset(),n.graphQLErrors&&(this.graphQLErrors=n.graphQLErrors),n.networkError&&(this.networkError=n.networkError),n},i}();function Za(i,n){n===void 0&&(n="none");var e=n==="ignore"||n==="all",t=!gr(i);return!t&&e&&i.data&&(t=!0),t}var jy=Object.prototype.hasOwnProperty,hp=Object.create(null),mp=function(){function i(n){var e=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new cr(dt["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Ut(!1);var t=new mr(function(o){return e.cache.transformDocument(o)},{cache:!1});this.cache=n.cache,this.link=n.link,this.defaultOptions=n.defaultOptions,this.queryDeduplication=n.queryDeduplication,this.clientAwareness=n.clientAwareness,this.localState=n.localState,this.ssrMode=n.ssrMode,this.assumeImmutableResults=n.assumeImmutableResults;var r=n.documentTransform;this.documentTransform=r?t.concat(r).concat(t):t,this.defaultContext=n.defaultContext||Object.create(null),(this.onBroadcast=n.onBroadcast)&&(this.mutationStore=Object.create(null))}return i.prototype.stop=function(){var n=this;this.queries.forEach(function(e,t){n.stopQueryNoBroadcast(t)}),this.cancelPendingFetches(Be(26))},i.prototype.cancelPendingFetches=function(n){this.fetchCancelFns.forEach(function(e){return e(n)}),this.fetchCancelFns.clear()},i.prototype.mutate=function(n){return ii(this,arguments,void 0,function(e){var t,r,o,a,s,c,l,d=e.mutation,h=e.variables,m=e.optimisticResponse,p=e.updateQueries,f=e.refetchQueries,b=f===void 0?[]:f,_=e.awaitRefetchQueries,v=_===void 0?!1:_,M=e.update,y=e.onQueryUpdated,q=e.fetchPolicy,Q=q===void 0?((c=this.defaultOptions.mutate)===null||c===void 0?void 0:c.fetchPolicy)||"network-only":q,Z=e.errorPolicy,be=Z===void 0?((l=this.defaultOptions.mutate)===null||l===void 0?void 0:l.errorPolicy)||"none":Z,_e=e.keepRootFields,ze=e.context;return ni(this,function(Je){switch(Je.label){case 0:return Y(d,27),Y(Q==="network-only"||Q==="no-cache",28),t=this.generateMutationId(),d=this.cache.transformForLink(this.transform(d)),r=this.getDocumentInfo(d).hasClientExports,h=this.getVariables(d,h),r?[4,this.localState.addExportedVariables(d,h,ze)]:[3,2];case 1:h=Je.sent(),Je.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:d,variables:h,loading:!0,error:null}),a=m&&this.markMutationOptimistic(m,{mutationId:t,document:d,variables:h,fetchPolicy:Q,errorPolicy:be,context:ze,updateQueries:p,update:M,keepRootFields:_e}),this.broadcastQueries(),s=this,[2,new Promise(function(Wn,Gn){return Aa(s.getObservableFromLink(d,g(g({},ze),{optimisticResponse:a?m:void 0}),h,{},!1),function(_t){if(gr(_t)&&be==="none")throw new Oi({graphQLErrors:Fa(_t)});o&&(o.loading=!1,o.error=null);var ji=g({},_t);return typeof b=="function"&&(b=b(ji)),be==="ignore"&&gr(ji)&&delete ji.errors,s.markMutationResult({mutationId:t,result:ji,document:d,variables:h,fetchPolicy:Q,errorPolicy:be,context:ze,update:M,updateQueries:p,awaitRefetchQueries:v,refetchQueries:b,removeOptimistic:a?t:void 0,onQueryUpdated:y,keepRootFields:_e})}).subscribe({next:function(_t){s.broadcastQueries(),(!("hasNext"in _t)||_t.hasNext===!1)&&Wn(_t)},error:function(_t){o&&(o.loading=!1,o.error=_t),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),Gn(_t instanceof Oi?_t:new Oi({networkError:_t}))}})})]}})})},i.prototype.markMutationResult=function(n,e){var t=this;e===void 0&&(e=this.cache);var r=n.result,o=[],a=n.fetchPolicy==="no-cache";if(!a&&Za(r,n.errorPolicy)){if(Xi(r)||o.push({result:r.data,dataId:"ROOT_MUTATION",query:n.document,variables:n.variables}),Xi(r)&&vt(r.incremental)){var s=e.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(n.document).asQuery,variables:n.variables,optimistic:!1,returnPartialData:!0}),c=void 0;s.result&&(c=Ra(s.result,r)),typeof c<"u"&&(r.data=c,o.push({result:c,dataId:"ROOT_MUTATION",query:n.document,variables:n.variables}))}var l=n.updateQueries;l&&this.queries.forEach(function(h,m){var p=h.observableQuery,f=p&&p.queryName;if(!(!f||!jy.call(l,f))){var b=l[f],_=t.queries.get(m),v=_.document,M=_.variables,y=e.diff({query:v,variables:M,returnPartialData:!0,optimistic:!1}),q=y.result,Q=y.complete;if(Q&&q){var Z=b(q,{mutationResult:r,queryName:v&&dr(v)||void 0,queryVariables:M});Z&&o.push({result:Z,dataId:"ROOT_QUERY",query:v,variables:M})}}})}if(o.length>0||(n.refetchQueries||"").length>0||n.update||n.onQueryUpdated||n.removeOptimistic){var d=[];if(this.refetchQueries({updateCache:function(h){a||o.forEach(function(b){return h.write(b)});var m=n.update,p=!gm(r)||Xi(r)&&!r.hasNext;if(m){if(!a){var f=h.diff({id:"ROOT_MUTATION",query:t.getDocumentInfo(n.document).asQuery,variables:n.variables,optimistic:!1,returnPartialData:!0});f.complete&&(r=g(g({},r),{data:f.result}),"incremental"in r&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}p&&m(h,r,{context:n.context,variables:n.variables})}!a&&!n.keepRootFields&&p&&h.modify({id:"ROOT_MUTATION",fields:function(b,_){var v=_.fieldName,M=_.DELETE;return v==="__typename"?b:M}})},include:n.refetchQueries,optimistic:!1,removeOptimistic:n.removeOptimistic,onQueryUpdated:n.onQueryUpdated||null}).forEach(function(h){return d.push(h)}),n.awaitRefetchQueries||n.onQueryUpdated)return Promise.all(d).then(function(){return r})}return Promise.resolve(r)},i.prototype.markMutationOptimistic=function(n,e){var t=this,r=typeof n=="function"?n(e.variables,{IGNORE:hp}):n;return r===hp?!1:(this.cache.recordOptimisticTransaction(function(o){try{t.markMutationResult(g(g({},e),{result:{data:r}}),o)}catch(a){globalThis.__DEV__!==!1&&Y.error(a)}},e.mutationId),!0)},i.prototype.fetchQuery=function(n,e,t){return this.fetchConcastWithInfo(n,e,t).concast.promise},i.prototype.getQueryStore=function(){var n=Object.create(null);return this.queries.forEach(function(e,t){n[t]={variables:e.variables,networkStatus:e.networkStatus,networkError:e.networkError,graphQLErrors:e.graphQLErrors}}),n},i.prototype.resetErrors=function(n){var e=this.queries.get(n);e&&(e.networkError=void 0,e.graphQLErrors=[])},i.prototype.transform=function(n){return this.documentTransform.transformDocument(n)},i.prototype.getDocumentInfo=function(n){var e=this.transformCache;if(!e.has(n)){var t={hasClientExports:Ac(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),hasNonreactiveDirective:Ei(["nonreactive"],n),clientQuery:this.localState.clientQuery(n),serverQuery:Ia([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],n),defaultVars:wn(vi(n)),asQuery:g(g({},n),{definitions:n.definitions.map(function(r){return r.kind==="OperationDefinition"&&r.operation!=="query"?g(g({},r),{operation:"query"}):r})})};e.set(n,t)}return e.get(n)},i.prototype.getVariables=function(n,e){return g(g({},this.getDocumentInfo(n).defaultVars),e)},i.prototype.watchQuery=function(n){var e=this.transform(n.query);n=g(g({},n),{variables:this.getVariables(e,n.variables)}),typeof n.notifyOnNetworkStatusChange>"u"&&(n.notifyOnNetworkStatusChange=!1);var t=new Xa(this),r=new Ka({queryManager:this,queryInfo:t,options:n});return r.lastQuery=e,this.queries.set(r.queryId,t),t.init({document:e,observableQuery:r,variables:r.variables}),r},i.prototype.query=function(n,e){var t=this;return e===void 0&&(e=this.generateQueryId()),Y(n.query,29),Y(n.query.kind==="Document",30),Y(!n.returnPartialData,31),Y(!n.pollInterval,32),this.fetchQuery(e,g(g({},n),{query:this.transform(n.query)})).finally(function(){return t.stopQuery(e)})},i.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},i.prototype.generateRequestId=function(){return this.requestIdCounter++},i.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},i.prototype.stopQueryInStore=function(n){this.stopQueryInStoreNoBroadcast(n),this.broadcastQueries()},i.prototype.stopQueryInStoreNoBroadcast=function(n){var e=this.queries.get(n);e&&e.stop()},i.prototype.clearStore=function(n){return n===void 0&&(n={discardWatches:!0}),this.cancelPendingFetches(Be(33)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=Se.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(n)},i.prototype.getObservableQueries=function(n){var e=this;n===void 0&&(n="active");var t=new Map,r=new Map,o=new Set;return Array.isArray(n)&&n.forEach(function(a){typeof a=="string"?r.set(a,!1):jc(a)?r.set(e.transform(a),!1):Ie(a)&&a.query&&o.add(a)}),this.queries.forEach(function(a,s){var c=a.observableQuery,l=a.document;if(c){if(n==="all"){t.set(s,c);return}var d=c.queryName,h=c.options.fetchPolicy;if(h==="standby"||n==="active"&&!c.hasObservers())return;(n==="active"||d&&r.has(d)||l&&r.has(l))&&(t.set(s,c),d&&r.set(d,!0),l&&r.set(l,!0))}}),o.size&&o.forEach(function(a){var s=Yr("legacyOneTimeQuery"),c=e.getQuery(s).init({document:a.query,variables:a.variables}),l=new Ka({queryManager:e,queryInfo:c,options:g(g({},a),{fetchPolicy:"network-only"})});Y(l.queryId===s),c.setObservableQuery(l),t.set(s,l)}),globalThis.__DEV__!==!1&&r.size&&r.forEach(function(a,s){a||globalThis.__DEV__!==!1&&Y.warn(typeof s=="string"?34:35,s)}),t},i.prototype.reFetchObservableQueries=function(n){var e=this;n===void 0&&(n=!1);var t=[];return this.getObservableQueries(n?"all":"active").forEach(function(r,o){var a=r.options.fetchPolicy;r.resetLastResults(),(n||a!=="standby"&&a!=="cache-only")&&t.push(r.refetch()),e.getQuery(o).setDiff(null)}),this.broadcastQueries(),Promise.all(t)},i.prototype.setObservableQuery=function(n){this.getQuery(n.queryId).setObservableQuery(n)},i.prototype.startGraphQLSubscription=function(n){var e=this,t=n.query,r=n.fetchPolicy,o=n.errorPolicy,a=o===void 0?"none":o,s=n.variables,c=n.context,l=c===void 0?{}:c,d=n.extensions,h=d===void 0?{}:d;t=this.transform(t),s=this.getVariables(t,s);var m=function(f){return e.getObservableFromLink(t,l,f,h).map(function(b){r!=="no-cache"&&(Za(b,a)&&e.cache.write({query:t,result:b.data,dataId:"ROOT_SUBSCRIPTION",variables:f}),e.broadcastQueries());var _=gr(b),v=ym(b);if(_||v){var M={};if(_&&(M.graphQLErrors=b.errors),v&&(M.protocolErrors=b.extensions[po]),a==="none"||v)throw new Oi(M)}return a==="ignore"&&delete b.errors,b})};if(this.getDocumentInfo(t).hasClientExports){var p=this.localState.addExportedVariables(t,s,l).then(m);return new ke(function(f){var b=null;return p.then(function(_){return b=_.subscribe(f)},f.error),function(){return b&&b.unsubscribe()}})}return m(s)},i.prototype.stopQuery=function(n){this.stopQueryNoBroadcast(n),this.broadcastQueries()},i.prototype.stopQueryNoBroadcast=function(n){this.stopQueryInStoreNoBroadcast(n),this.removeQuery(n)},i.prototype.removeQuery=function(n){this.fetchCancelFns.delete(n),this.queries.has(n)&&(this.getQuery(n).stop(),this.queries.delete(n))},i.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(n){return n.notify()})},i.prototype.getLocalState=function(){return this.localState},i.prototype.getObservableFromLink=function(n,e,t,r,o){var a=this,s;o===void 0&&(o=(s=e?.queryDeduplication)!==null&&s!==void 0?s:this.queryDeduplication);var c,l=this.getDocumentInfo(n),d=l.serverQuery,h=l.clientQuery;if(d){var m=this,p=m.inFlightLinkObservables,f=m.link,b={query:d,variables:t,operationName:dr(d)||void 0,context:this.prepareContext(g(g({},e),{forceFetch:!o})),extensions:r};if(e=b.context,o){var _=Ki(d),v=Mt(t),M=p.lookup(_,v);if(c=M.observable,!c){var y=new Sn([br(f,b)]);c=M.observable=y,y.beforeNext(function(){p.remove(_,v)})}}else c=new Sn([br(f,b)])}else c=new Sn([ke.of({data:{}})]),e=this.prepareContext(e);return h&&(c=Aa(c,function(q){return a.localState.runResolvers({document:h,remoteResult:q,context:e,variables:t})})),c},i.prototype.getResultsFromLink=function(n,e,t){var r=n.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(t.query);return Aa(this.getObservableFromLink(o,t.context,t.variables),function(a){var s=Fa(a),c=s.length>0,l=t.errorPolicy;if(r>=n.lastRequestId){if(c&&l==="none")throw n.markError(new Oi({graphQLErrors:s}));n.markResult(a,o,t,e),n.markReady()}var d={data:a.data,loading:!1,networkStatus:Se.ready};return c&&l==="none"&&(d.data=void 0),c&&l!=="ignore"&&(d.errors=s,d.networkStatus=Se.error),d},function(a){var s=ja(a)?a:new Oi({networkError:a});throw r>=n.lastRequestId&&n.markError(s),s})},i.prototype.fetchConcastWithInfo=function(n,e,t,r){var o=this;t===void 0&&(t=Se.loading),r===void 0&&(r=e.query);var a=this.getVariables(r,e.variables),s=this.getQuery(n),c=this.defaultOptions.watchQuery,l=e.fetchPolicy,d=l===void 0?c&&c.fetchPolicy||"cache-first":l,h=e.errorPolicy,m=h===void 0?c&&c.errorPolicy||"none":h,p=e.returnPartialData,f=p===void 0?!1:p,b=e.notifyOnNetworkStatusChange,_=b===void 0?!1:b,v=e.context,M=v===void 0?{}:v,y=Object.assign({},e,{query:r,variables:a,fetchPolicy:d,errorPolicy:m,returnPartialData:f,notifyOnNetworkStatusChange:_,context:M}),q=function(ze){y.variables=ze;var Je=o.fetchQueryByPolicy(s,y,t);return y.fetchPolicy!=="standby"&&Je.sources.length>0&&s.observableQuery&&s.observableQuery.applyNextFetchPolicy("after-fetch",e),Je},Q=function(){return o.fetchCancelFns.delete(n)};this.fetchCancelFns.set(n,function(ze){Q(),setTimeout(function(){return Z.cancel(ze)})});var Z,be;if(this.getDocumentInfo(y.query).hasClientExports)Z=new Sn(this.localState.addExportedVariables(y.query,y.variables,y.context).then(q).then(function(ze){return ze.sources})),be=!0;else{var _e=q(y.variables);be=_e.fromLink,Z=new Sn(_e.sources)}return Z.promise.then(Q,Q),{concast:Z,fromLink:be}},i.prototype.refetchQueries=function(n){var e=this,t=n.updateCache,r=n.include,o=n.optimistic,a=o===void 0?!1:o,s=n.removeOptimistic,c=s===void 0?a?Yr("refetchQueries"):void 0:s,l=n.onQueryUpdated,d=new Map;r&&this.getObservableQueries(r).forEach(function(m,p){d.set(p,{oq:m,lastDiff:e.getQuery(p).getDiff()})});var h=new Map;return t&&this.cache.batch({update:t,optimistic:a&&c||!1,removeOptimistic:c,onWatchUpdated:function(m,p,f){var b=m.watcher instanceof Xa&&m.watcher.observableQuery;if(b){if(l){d.delete(b.queryId);var _=l(b,p,f);return _===!0&&(_=b.refetch()),_!==!1&&h.set(b,_),_}l!==null&&d.set(b.queryId,{oq:b,lastDiff:f,diff:p})}}}),d.size&&d.forEach(function(m,p){var f=m.oq,b=m.lastDiff,_=m.diff,v;if(l){if(!_){var M=f.queryInfo;M.reset(),_=M.getDiff()}v=l(f,_,b)}(!l||v===!0)&&(v=f.refetch()),v!==!1&&h.set(f,v),p.indexOf("legacyOneTimeQuery")>=0&&e.stopQueryNoBroadcast(p)}),c&&this.cache.removeOptimistic(c),h},i.prototype.fetchQueryByPolicy=function(n,e,t){var r=this,o=e.query,a=e.variables,s=e.fetchPolicy,c=e.refetchWritePolicy,l=e.errorPolicy,d=e.returnPartialData,h=e.context,m=e.notifyOnNetworkStatusChange,p=n.networkStatus;n.init({document:o,variables:a,networkStatus:t});var f=function(){return n.getDiff()},b=function(q,Q){Q===void 0&&(Q=n.networkStatus||Se.loading);var Z=q.result;globalThis.__DEV__!==!1&&!d&&!Ne(Z,{})&&Tl(q.missing);var be=function(_e){return ke.of(g({data:_e,loading:en(Q),networkStatus:Q},q.complete?null:{partial:!0}))};return Z&&r.getDocumentInfo(o).hasForcedResolvers?r.localState.runResolvers({document:o,remoteResult:{data:Z},context:h,variables:a,onlyRunForcedResolvers:!0}).then(function(_e){return be(_e.data||void 0)}):l==="none"&&Q===Se.refetch&&Array.isArray(q.missing)?be(void 0):be(Z)},_=s==="no-cache"?0:t===Se.refetch&&c!=="merge"?1:2,v=function(){return r.getResultsFromLink(n,_,{query:o,variables:a,context:h,fetchPolicy:s,errorPolicy:l})},M=m&&typeof p=="number"&&p!==t&&en(t);switch(s){default:case"cache-first":{var y=f();return y.complete?{fromLink:!1,sources:[b(y,n.markReady())]}:d||M?{fromLink:!0,sources:[b(y),v()]}:{fromLink:!0,sources:[v()]}}case"cache-and-network":{var y=f();return y.complete||d||M?{fromLink:!0,sources:[b(y),v()]}:{fromLink:!0,sources:[v()]}}case"cache-only":return{fromLink:!1,sources:[b(f(),n.markReady())]};case"network-only":return M?{fromLink:!0,sources:[b(f()),v()]}:{fromLink:!0,sources:[v()]};case"no-cache":return M?{fromLink:!0,sources:[b(n.getDiff()),v()]}:{fromLink:!0,sources:[v()]};case"standby":return{fromLink:!1,sources:[]}}},i.prototype.getQuery=function(n){return n&&!this.queries.has(n)&&this.queries.set(n,new Xa(this,n)),this.queries.get(n)},i.prototype.prepareContext=function(n){n===void 0&&(n={});var e=this.localState.prepareContext(n);return g(g(g({},this.defaultContext),e),{clientAwareness:this.clientAwareness})},i}();var pp=function(){function i(n){var e=n.cache,t=n.client,r=n.resolvers,o=n.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=e,t&&(this.client=t),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return i.prototype.addResolvers=function(n){var e=this;this.resolvers=this.resolvers||{},Array.isArray(n)?n.forEach(function(t){e.resolvers=Wc(e.resolvers,t)}):this.resolvers=Wc(this.resolvers,n)},i.prototype.setResolvers=function(n){this.resolvers={},this.addResolvers(n)},i.prototype.getResolvers=function(){return this.resolvers||{}},i.prototype.runResolvers=function(n){return ii(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,o=e.context,a=e.variables,s=e.onlyRunForcedResolvers,c=s===void 0?!1:s;return ni(this,function(l){return t?[2,this.resolveDocument(t,r.data,o,a,this.fragmentMatcher,c).then(function(d){return g(g({},r),{data:d.result})})]:[2,r]})})},i.prototype.setFragmentMatcher=function(n){this.fragmentMatcher=n},i.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},i.prototype.clientQuery=function(n){return Ei(["client"],n)&&this.resolvers?n:null},i.prototype.serverQuery=function(n){return so(n)},i.prototype.prepareContext=function(n){var e=this.cache;return g(g({},n),{cache:e,getCacheKey:function(t){return e.identify(t)}})},i.prototype.addExportedVariables=function(n){return ii(this,arguments,void 0,function(e,t,r){return t===void 0&&(t={}),r===void 0&&(r={}),ni(this,function(o){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(a){return g(g({},t),a.exportedVariables)})]:[2,g({},t)]})})},i.prototype.shouldForceResolvers=function(n){var e=!1;return wt(n,{Directive:{enter:function(t){if(t.name.value==="client"&&t.arguments&&(e=t.arguments.some(function(r){return r.name.value==="always"&&r.value.kind==="BooleanValue"&&r.value.value===!0}),e))return yn}}}),e},i.prototype.buildRootValueFromCache=function(n,e){return this.cache.diff({query:qc(n),variables:e,returnPartialData:!0,optimistic:!1}).result},i.prototype.resolveDocument=function(n,e){return ii(this,arguments,void 0,function(t,r,o,a,s,c){var l,d,h,m,p,f,b,_,v,M,y;return o===void 0&&(o={}),a===void 0&&(a={}),s===void 0&&(s=function(){return!0}),c===void 0&&(c=!1),ni(this,function(q){return l=ci(t),d=Mi(t),h=Ii(d),m=this.collectSelectionsToResolve(l,h),p=l.operation,f=p?p.charAt(0).toUpperCase()+p.slice(1):"Query",b=this,_=b.cache,v=b.client,M={fragmentMap:h,context:g(g({},o),{cache:_,client:v}),variables:a,fragmentMatcher:s,defaultOperationType:f,exportedVariables:{},selectionsToResolve:m,onlyRunForcedResolvers:c},y=!1,[2,this.resolveSelectionSet(l.selectionSet,y,r,M).then(function(Q){return{result:Q,exportedVariables:M.exportedVariables}})]})})},i.prototype.resolveSelectionSet=function(n,e,t,r){return ii(this,void 0,void 0,function(){var o,a,s,c,l,d=this;return ni(this,function(h){return o=r.fragmentMap,a=r.context,s=r.variables,c=[t],l=function(m){return ii(d,void 0,void 0,function(){var p,f;return ni(this,function(b){return!e&&!r.selectionsToResolve.has(m)?[2]:ai(m,s)?At(m)?[2,this.resolveField(m,e,t,r).then(function(_){var v;typeof _<"u"&&c.push((v={},v[jt(m)]=_,v))})]:(Bc(m)?p=m:(p=o[m.name.value],Y(p,18,m.name.value)),p&&p.typeCondition&&(f=p.typeCondition.name.value,r.fragmentMatcher(t,f,a))?[2,this.resolveSelectionSet(p.selectionSet,e,t,r).then(function(_){c.push(_)})]:[2]):[2]})})},[2,Promise.all(n.selections.map(l)).then(function(){return En(c)})]})})},i.prototype.resolveField=function(n,e,t,r){return ii(this,void 0,void 0,function(){var o,a,s,c,l,d,h,m,p,f=this;return ni(this,function(b){return t?(o=r.variables,a=n.name.value,s=jt(n),c=a!==s,l=t[s]||t[a],d=Promise.resolve(l),(!r.onlyRunForcedResolvers||this.shouldForceResolvers(n))&&(h=t.__typename||r.defaultOperationType,m=this.resolvers&&this.resolvers[h],m&&(p=m[c?a:s],p&&(d=Promise.resolve(_r.withValue(this.cache,p,[t,Ti(n,o),r.context,{field:n,fragmentMap:r.fragmentMap}]))))),[2,d.then(function(_){var v,M;if(_===void 0&&(_=l),n.directives&&n.directives.forEach(function(q){q.name.value==="export"&&q.arguments&&q.arguments.forEach(function(Q){Q.name.value==="as"&&Q.value.kind==="StringValue"&&(r.exportedVariables[Q.value.value]=_)})}),!n.selectionSet||_==null)return _;var y=(M=(v=n.directives)===null||v===void 0?void 0:v.some(function(q){return q.name.value==="client"}))!==null&&M!==void 0?M:!1;if(Array.isArray(_))return f.resolveSubSelectedArray(n,e||y,_,r);if(n.selectionSet)return f.resolveSelectionSet(n.selectionSet,e||y,_,r)})]):[2,null]})})},i.prototype.resolveSubSelectedArray=function(n,e,t,r){var o=this;return Promise.all(t.map(function(a){if(a===null)return null;if(Array.isArray(a))return o.resolveSubSelectedArray(n,e,a,r);if(n.selectionSet)return o.resolveSelectionSet(n.selectionSet,e,a,r)}))},i.prototype.collectSelectionsToResolve=function(n,e){var t=function(a){return!Array.isArray(a)},r=this.selectionsToResolveCache;function o(a){if(!r.has(a)){var s=new Set;r.set(a,s),wt(a,{Directive:function(c,l,d,h,m){c.name.value==="client"&&m.forEach(function(p){t(p)&&Jr(p)&&s.add(p)})},FragmentSpread:function(c,l,d,h,m){var p=e[c.name.value];Y(p,19,c.name.value);var f=o(p);f.size>0&&(m.forEach(function(b){t(b)&&Jr(b)&&s.add(b)}),s.add(c),f.forEach(function(b){s.add(b)}))}})}return r.get(a)}return o(n)},i}();var fp=!1;var _o=function(){function i(n){var e=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!n.cache)throw Be(15);var t=n.uri,r=n.credentials,o=n.headers,a=n.cache,s=n.documentTransform,c=n.ssrMode,l=c===void 0?!1:c,d=n.ssrForceFetchDelay,h=d===void 0?0:d,m=n.connectToDevTools,p=n.queryDeduplication,f=p===void 0?!0:p,b=n.defaultOptions,_=n.defaultContext,v=n.assumeImmutableResults,M=v===void 0?a.assumeImmutableResults:v,y=n.resolvers,q=n.typeDefs,Q=n.fragmentMatcher,Z=n.name,be=n.version,_e=n.devtools,ze=n.link;ze||(ze=t?new ll({uri:t,credentials:r,headers:o}):yi.empty()),this.link=ze,this.cache=a,this.disableNetworkFetches=l||h>0,this.queryDeduplication=f,this.defaultOptions=b||Object.create(null),this.typeDefs=q,this.devtoolsConfig=g(g({},_e),{enabled:_e?.enabled||m}),this.devtoolsConfig.enabled===void 0&&(this.devtoolsConfig.enabled=globalThis.__DEV__!==!1),h&&setTimeout(function(){return e.disableNetworkFetches=!1},h),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=$r,this.localState=new pp({cache:a,client:this,resolvers:y,fragmentMatcher:Q}),this.queryManager=new mp({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:_,documentTransform:s,queryDeduplication:f,ssrMode:l,clientAwareness:{name:Z,version:be},localState:this.localState,assumeImmutableResults:M,onBroadcast:this.devtoolsConfig.enabled?function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager.getQueryStore(),mutations:e.queryManager.mutationStore||{}},dataWithOptimisticResults:e.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return i.prototype.connectToDevTools=function(){if(!(typeof window>"u")){var n=window,e=Symbol.for("apollo.devtools");(n[e]=n[e]||[]).push(this),n.__APOLLO_CLIENT__=this,!fp&&globalThis.__DEV__!==!1&&(fp=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var t=window.navigator,r=t&&t.userAgent,o=void 0;typeof r=="string"&&(r.indexOf("Chrome/")>-1?o="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":r.indexOf("Firefox/")>-1&&(o="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),o&&globalThis.__DEV__!==!1&&Y.log("Download the Apollo DevTools for a better development experience: %s",o)}},1e4))}},Object.defineProperty(i.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),i.prototype.stop=function(){this.queryManager.stop()},i.prototype.watchQuery=function(n){return this.defaultOptions.watchQuery&&(n=uo(this.defaultOptions.watchQuery,n)),this.disableNetworkFetches&&(n.fetchPolicy==="network-only"||n.fetchPolicy==="cache-and-network")&&(n=g(g({},n),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(n)},i.prototype.query=function(n){return this.defaultOptions.query&&(n=uo(this.defaultOptions.query,n)),Y(n.fetchPolicy!=="cache-and-network",16),this.disableNetworkFetches&&n.fetchPolicy==="network-only"&&(n=g(g({},n),{fetchPolicy:"cache-first"})),this.queryManager.query(n)},i.prototype.mutate=function(n){return this.defaultOptions.mutate&&(n=uo(this.defaultOptions.mutate,n)),this.queryManager.mutate(n)},i.prototype.subscribe=function(n){return this.queryManager.startGraphQLSubscription(n)},i.prototype.readQuery=function(n,e){return e===void 0&&(e=!1),this.cache.readQuery(n,e)},i.prototype.watchFragment=function(n){return this.cache.watchFragment(n)},i.prototype.readFragment=function(n,e){return e===void 0&&(e=!1),this.cache.readFragment(n,e)},i.prototype.writeQuery=function(n){var e=this.cache.writeQuery(n);return n.broadcast!==!1&&this.queryManager.broadcastQueries(),e},i.prototype.writeFragment=function(n){var e=this.cache.writeFragment(n);return n.broadcast!==!1&&this.queryManager.broadcastQueries(),e},i.prototype.__actionHookForDevTools=function(n){this.devToolsHookCb=n},i.prototype.__requestRaw=function(n){return br(this.link,n)},i.prototype.resetStore=function(){var n=this;return Promise.resolve().then(function(){return n.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(n.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return n.reFetchObservableQueries()})},i.prototype.clearStore=function(){var n=this;return Promise.resolve().then(function(){return n.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(n.clearStoreCallbacks.map(function(e){return e()}))})},i.prototype.onResetStore=function(n){var e=this;return this.resetStoreCallbacks.push(n),function(){e.resetStoreCallbacks=e.resetStoreCallbacks.filter(function(t){return t!==n})}},i.prototype.onClearStore=function(n){var e=this;return this.clearStoreCallbacks.push(n),function(){e.clearStoreCallbacks=e.clearStoreCallbacks.filter(function(t){return t!==n})}},i.prototype.reFetchObservableQueries=function(n){return this.queryManager.reFetchObservableQueries(n)},i.prototype.refetchQueries=function(n){var e=this.queryManager.refetchQueries(n),t=[],r=[];e.forEach(function(a,s){t.push(s),r.push(a)});var o=Promise.all(r);return o.queries=t,o.results=r,o.catch(function(a){globalThis.__DEV__!==!1&&Y.debug(17,a)}),o},i.prototype.getObservableQueries=function(n){return n===void 0&&(n="active"),this.queryManager.getObservableQueries(n)},i.prototype.extract=function(n){return this.cache.extract(n)},i.prototype.restore=function(n){return this.cache.restore(n)},i.prototype.addResolvers=function(n){this.localState.addResolvers(n)},i.prototype.setResolvers=function(n){this.localState.setResolvers(n)},i.prototype.getResolvers=function(){return this.localState.getResolvers()},i.prototype.setLocalStateFragmentMatcher=function(n){this.localState.setFragmentMatcher(n)},i.prototype.setLink=function(n){this.link=this.queryManager.link=n},Object.defineProperty(i.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),i}();globalThis.__DEV__!==!1&&(_o.prototype.getMemoryInternals=Rh);var Ja=new Map,Al=new Map,gp=!0,es=!1;function bp(i){return i.replace(/[\s,]+/g," ").trim()}function Vy(i){return bp(i.source.body.substring(i.start,i.end))}function By(i){var n=new Set,e=[];return i.definitions.forEach(function(t){if(t.kind==="FragmentDefinition"){var r=t.name.value,o=Vy(t.loc),a=Al.get(r);a&&!a.has(o)?gp&&console.warn("Warning: fragment with name "+r+` already exists. +graphql-tag enforces all fragment names across your application to be unique; read more about +this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a||Al.set(r,a=new Set),a.add(o),n.has(o)||(n.add(o),e.push(t))}else e.push(t)}),g(g({},i),{definitions:e})}function zy(i){var n=new Set(i.definitions);n.forEach(function(t){t.loc&&delete t.loc,Object.keys(t).forEach(function(r){var o=t[r];o&&typeof o=="object"&&n.add(o)})});var e=i.loc;return e&&(delete e.startToken,delete e.endToken),i}function Hy(i){var n=bp(i);if(!Ja.has(n)){var e=_a(i,{experimentalFragmentVariables:es,allowLegacyFragmentVariables:es});if(!e||e.kind!=="Document")throw new Error("Not a valid GraphQL document.");Ja.set(n,zy(By(e)))}return Ja.get(n)}function tn(i){for(var n=[],e=1;e(i().then(e=>{n.closed||(n.next(e),n.complete())},e=>{n.closed||n.error(e)}),()=>n.unsubscribe()))}function Uy(i,n){return n?i.pipe(Me({loading:!0}),xe(e=>Ue(B({},e),{loading:!!e.loading}))):i.pipe(xe(e=>Ue(B({},e),{loading:!1})))}var Rl=class{zone;constructor(n){this.zone=n}now=Date.now?Date.now:()=>+new Date;schedule(n,e=0,t){return this.zone.run(()=>pu.schedule(n,e,t))}};function Fl(i){return i[hu]=()=>i,i}function Pl(i,n){return i.pipe(fu(new Rl(n)))}function Qy(i){return function(e){return new lt(function(r){let o=i.getCurrentResult(),{loading:a,errors:s,error:c,partial:l,data:d}=o,{partialRefetch:h,fetchPolicy:m}=i.options,p=s||c;return h&&l&&(!d||Object.keys(d).length===0)&&m!=="cache-only"&&!a&&!p&&r.next(Ue(B({},o),{loading:!0,networkStatus:Se.loading})),e.subscribe(r)})}}var Nl=class{obsQuery;valueChanges;queryId;constructor(n,e,t){this.obsQuery=n;let r=Pl(ki(Fl(this.obsQuery)),e);this.valueChanges=t.useInitialLoading?r.pipe(Qy(this.obsQuery)):r,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(n){return this.obsQuery.refetch(n)}fetchMore(n){return this.obsQuery.fetchMore(n)}subscribeToMore(n){return this.obsQuery.subscribeToMore(n)}updateQuery(n){return this.obsQuery.updateQuery(n)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(n){return this.obsQuery.startPolling(n)}setOptions(n){return this.obsQuery.setOptions(n)}setVariables(n){return this.obsQuery.setVariables(n)}},Cp=new C("APOLLO_FLAGS"),kp=new C("APOLLO_OPTIONS"),qy=new C("APOLLO_NAMED_OPTIONS"),ts=class{ngZone;flags;_client;useInitialLoading;useMutationLoading;constructor(n,e,t){this.ngZone=n,this.flags=e,this._client=t,this.useInitialLoading=e?.useInitialLoading??!1,this.useMutationLoading=e?.useMutationLoading??!1}watchQuery(n){return new Nl(this.ensureClient().watchQuery(B({},n)),this.ngZone,B({useInitialLoading:this.useInitialLoading},n))}query(n){return wp(()=>this.ensureClient().query(B({},n)))}mutate(n){return Uy(wp(()=>this.ensureClient().mutate(B({},n))),n.useMutationLoading??this.useMutationLoading)}watchFragment(n,e){let t=ki(Fl(this.ensureClient().watchFragment(B({},n))));return e&&e.useZone!==!0?t:Pl(t,this.ngZone)}subscribe(n,e){let t=ki(Fl(this.ensureClient().subscribe(B({},n))));return e&&e.useZone!==!0?t:Pl(t,this.ngZone)}get client(){return this.ensureClient()}set client(n){if(this._client)throw new Error("Client has been already defined");this._client=n}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(this._client)return!0;throw new Error("Client has not been defined yet")}},Ll=(()=>{class i extends ts{map=new Map;constructor(e,t,r,o){if(super(e,o),t&&this.createDefault(t),r&&typeof r=="object"){for(let a in r)if(r.hasOwnProperty(a)){let s=r[a];this.create(s,a)}}}create(e,t){Ol(t)?this.createNamed(t,e):this.createDefault(e)}default(){return this}use(e){return Ol(e)?this.map.get(e):this.default()}createDefault(e){if(this._client)throw new Error("Apollo has been already created.");this.client=this.ngZone.runOutsideAngular(()=>new _o(e))}createNamed(e,t){if(this.map.has(e))throw new Error(`Client ${e} has been already created`);this.map.set(e,new ts(this.ngZone,this.flags,this.ngZone.runOutsideAngular(()=>new _o(t))))}removeClient(e){Ol(e)?this.map.delete(e):this._client=void 0}static \u0275fac=function(t){return new(t||i)(x(V),x(kp,8),x(qy,8),x(Cp,8))};static \u0275prov=ee({token:i,factory:i.\u0275fac})}return i})();function Ol(i){return!!i&&i!=="default"}function E1(i,n={}){return[Ll,{provide:kp,useFactory:i},{provide:Cp,useValue:n}]}function Wy(i,...n){return tn(i,...n)}var We=Wy;var Mp=(()=>{class i{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(t){return new(t||i)(u(Wr),u(E))}}static{this.\u0275dir=D({type:i})}}return i})(),Yy=(()=>{class i extends Mp{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,features:[ne]})}}return i})(),Mn=new C("");var Ky={provide:Mn,useExisting:Lt(()=>Ap),multi:!0};function Xy(){let i=cc()?cc().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Zy=new C(""),Ap=(()=>{class i extends Mp{constructor(e,t,r){super(e,t),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Xy())}writeValue(e){let t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(t){return new(t||i)(u(Wr),u(E),u(Zy,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,r){t&1&&J("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},features:[de([Ky]),ne]})}}return i})();function nn(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function Op(i){return i!=null&&typeof i.length=="number"}var Eo=new C(""),Hl=new C(""),Jy=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,rn=class{static min(n){return e0(n)}static max(n){return t0(n)}static required(n){return i0(n)}static requiredTrue(n){return n0(n)}static email(n){return r0(n)}static minLength(n){return o0(n)}static maxLength(n){return a0(n)}static pattern(n){return s0(n)}static nullValidator(n){return Rp(n)}static compose(n){return Vp(n)}static composeAsync(n){return Bp(n)}};function e0(i){return n=>{if(nn(n.value)||nn(i))return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(nn(n.value)||nn(i))return null;let e=parseFloat(n.value);return!isNaN(e)&&e>i?{max:{max:i,actual:n.value}}:null}}function i0(i){return nn(i.value)?{required:!0}:null}function n0(i){return i.value===!0?null:{required:!0}}function r0(i){return nn(i.value)||Jy.test(i.value)?null:{email:!0}}function o0(i){return n=>nn(n.value)||!Op(n.value)?null:n.value.lengthOp(n.value)&&n.value.length>i?{maxlength:{requiredLength:i,actualLength:n.value.length}}:null}function s0(i){if(!i)return Rp;let n,e;return typeof i=="string"?(e="",i.charAt(0)!=="^"&&(e+="^"),e+=i,i.charAt(i.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=i.toString(),n=i),t=>{if(nn(t.value))return null;let r=t.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function Rp(i){return null}function Fp(i){return i!=null}function Pp(i){return Vu(i)?ki(i):i}function Np(i){let n={};return i.forEach(e=>{n=e!=null?B(B({},n),e):n}),Object.keys(n).length===0?null:n}function Lp(i,n){return n.map(e=>e(i))}function c0(i){return!i.validate}function jp(i){return i.map(n=>c0(n)?n:e=>n.validate(e))}function Vp(i){if(!i)return null;let n=i.filter(Fp);return n.length==0?null:function(e){return Np(Lp(e,n))}}function Ul(i){return i!=null?Vp(jp(i)):null}function Bp(i){if(!i)return null;let n=i.filter(Fp);return n.length==0?null:function(e){let t=Lp(e,n).map(Pp);return mn(t).pipe(xe(Np))}}function Ql(i){return i!=null?Bp(jp(i)):null}function Dp(i,n){return i===null?[n]:Array.isArray(i)?[...i,n]:[i,n]}function zp(i){return i._rawValidators}function Hp(i){return i._rawAsyncValidators}function jl(i){return i?Array.isArray(i)?i:[i]:[]}function ns(i,n){return Array.isArray(i)?i.includes(n):i===n}function Ep(i,n){let e=jl(n);return jl(i).forEach(r=>{ns(e,r)||e.push(r)}),e}function Ip(i,n){return jl(n).filter(e=>!ns(i,e))}var rs=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Ul(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Ql(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},kr=class extends rs{get formDirective(){return null}get path(){return null}},di=class extends rs{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Vl=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},l0={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},U1=Ue(B({},l0),{"[class.ng-submitted]":"isSubmitted"}),Q1=(()=>{class i extends Vl{constructor(e){super(e)}static{this.\u0275fac=function(t){return new(t||i)(u(di,2))}}static{this.\u0275dir=D({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,r){t&2&&P("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ne]})}}return i})();var xo="VALID",is="INVALID",wr="PENDING",wo="DISABLED",on=class{},os=class extends on{constructor(n,e){super(),this.value=n,this.source=e}},ko=class extends on{constructor(n,e){super(),this.pristine=n,this.source=e}},Do=class extends on{constructor(n,e){super(),this.touched=n,this.source=e}},Cr=class extends on{constructor(n,e){super(),this.status=n,this.source=e}},Bl=class extends on{constructor(n){super(),this.source=n}},zl=class extends on{constructor(n){super(),this.source=n}};function Up(i){return(hs(i)?i.validators:i)||null}function d0(i){return Array.isArray(i)?Ul(i):i||null}function Qp(i,n){return(hs(n)?n.asyncValidators:i)||null}function u0(i){return Array.isArray(i)?Ql(i):i||null}function hs(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function h0(i,n,e){let t=i.controls;if(!(n?Object.keys(t):t).length)throw new qr(1e3,"");if(!t[e])throw new qr(1001,"")}function m0(i,n,e){i._forEachChild((t,r)=>{if(e[r]===void 0)throw new qr(1002,"")})}var as=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=gi(()=>this.statusReactive()),this.statusReactive=gn(void 0),this._pristine=gi(()=>this.pristineReactive()),this.pristineReactive=gn(!0),this._touched=gi(()=>this.touchedReactive()),this.touchedReactive=gn(!1),this._events=new R,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Yt(this.statusReactive)}set status(n){Yt(()=>this.statusReactive.set(n))}get valid(){return this.status===xo}get invalid(){return this.status===is}get pending(){return this.status==wr}get disabled(){return this.status===wo}get enabled(){return this.status!==wo}get pristine(){return Yt(this.pristineReactive)}set pristine(n){Yt(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Yt(this.touchedReactive)}set touched(n){Yt(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Ep(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Ep(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Ip(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Ip(n,this._rawAsyncValidators))}hasValidator(n){return ns(this._rawValidators,n)}hasAsyncValidator(n){return ns(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(Ue(B({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new Do(!0,t))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:t})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t),e&&n.emitEvent!==!1&&this._events.next(new Do(!1,t))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(Ue(B({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new ko(!1,t))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),e&&n.emitEvent!==!1&&this._events.next(new ko(!0,t))}markAsPending(n={}){this.status=wr;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Cr(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(Ue(B({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=wo,this.errors=null,this._forEachChild(r=>{r.disable(Ue(B({},n),{onlySelf:!0}))}),this._updateValue();let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new os(this.value,t)),this._events.next(new Cr(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Ue(B({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=xo,this._forEachChild(t=>{t.enable(Ue(B({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Ue(B({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xo||this.status===wr)&&this._runAsyncValidator(t,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new os(this.value,e)),this._events.next(new Cr(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(Ue(B({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?wo:xo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=wr,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let t=Pp(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((t,r)=>t&&t._find(r),this)}getError(n,e){let t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,t){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||t)&&this._events.next(new Cr(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,t)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?wo:this.errors?is:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(wr)?wr:this._anyControlsHaveStatus(is)?is:xo}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let t=!this._anyControlsDirty(),r=this.pristine!==t;this.pristine=t,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new ko(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new Do(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){hs(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=d0(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=u0(this._rawAsyncValidators)}},ss=class extends as{constructor(n,e,t){super(Up(e),Qp(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,t={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){m0(this,!0,n),Object.keys(n).forEach(t=>{h0(this,!0,t),this.controls[t].setValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(t=>{let r=this.controls[t];r&&r.patchValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((t,r)=>{t.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,t)=>(n[t]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,t)=>t._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let t=this.controls[e];t&&n(t,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,t]of Object.entries(this.controls))if(this.contains(e)&&n(t))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,t,r)=>((t.enabled||this.disabled)&&(e[r]=t.value),e))}_reduceChildren(n,e){let t=n;return this._forEachChild((r,o)=>{t=e(t,r,o)}),t}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var ms=new C("CallSetDisabledState",{providedIn:"root",factory:()=>ql}),ql="always";function cs(i,n,e=ql){Wl(i,n),n.valueAccessor.writeValue(i.value),(i.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(i.disabled),f0(i,n),b0(i,n),g0(i,n),p0(i,n)}function ls(i,n,e=!0){let t=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(t),n.valueAccessor.registerOnTouched(t)),us(i,n),i&&(n._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function ds(i,n){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function p0(i,n){if(n.valueAccessor.setDisabledState){let e=t=>{n.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(e),n._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}function Wl(i,n){let e=zp(i);n.validator!==null?i.setValidators(Dp(e,n.validator)):typeof e=="function"&&i.setValidators([e]);let t=Hp(i);n.asyncValidator!==null?i.setAsyncValidators(Dp(t,n.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let r=()=>i.updateValueAndValidity();ds(n._rawValidators,r),ds(n._rawAsyncValidators,r)}function us(i,n){let e=!1;if(i!==null){if(n.validator!==null){let r=zp(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.validator);o.length!==r.length&&(e=!0,i.setValidators(o))}}if(n.asyncValidator!==null){let r=Hp(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.asyncValidator);o.length!==r.length&&(e=!0,i.setAsyncValidators(o))}}}let t=()=>{};return ds(n._rawValidators,t),ds(n._rawAsyncValidators,t),e}function f0(i,n){n.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&qp(i,n)})}function g0(i,n){n.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&qp(i,n),i.updateOn!=="submit"&&i.markAsTouched()})}function qp(i,n){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function b0(i,n){let e=(t,r)=>{n.valueAccessor.writeValue(t),r&&n.viewToModelUpdate(t)};i.registerOnChange(e),n._registerOnDestroy(()=>{i._unregisterOnChange(e)})}function Wp(i,n){i==null,Wl(i,n)}function v0(i,n){return us(i,n)}function _0(i,n){if(!i.hasOwnProperty("model"))return!1;let e=i.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function y0(i){return Object.getPrototypeOf(i.constructor)===Yy}function Gp(i,n){i._syncPendingControls(),n.forEach(e=>{let t=e.control;t.updateOn==="submit"&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function x0(i,n){if(!n)return null;Array.isArray(n);let e,t,r;return n.forEach(o=>{o.constructor===Ap?e=o:y0(o)?t=o:r=o}),r||t||e||null}function w0(i,n){let e=i.indexOf(n);e>-1&&i.splice(e,1)}var C0={provide:kr,useExisting:Lt(()=>An)},Co=Promise.resolve(),An=(()=>{class i extends kr{get submitted(){return Yt(this.submittedReactive)}constructor(e,t,r){super(),this.callSetDisabledState=r,this._submitted=gi(()=>this.submittedReactive()),this.submittedReactive=gn(!1),this._directives=new Set,this.ngSubmit=new z,this.form=new ss({},Ul(e),Ql(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Co.then(()=>{let t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),cs(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Co.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Co.then(()=>{let t=this._findContainer(e.path),r=new ss({});Wp(r,e),t.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Co.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Co.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Gp(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static{this.\u0275fac=function(t){return new(t||i)(u(Eo,10),u(Hl,10),u(ms,8))}}static{this.\u0275dir=D({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,r){t&1&&J("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[de([C0]),ne]})}}return i})();function Sp(i,n){let e=i.indexOf(n);e>-1&&i.splice(e,1)}function Tp(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var k0=class extends as{constructor(n=null,e,t){super(Up(e),Qp(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),hs(e)&&(e.nonNullable||e.initialValueIsDefault)&&(Tp(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Sp(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Sp(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){Tp(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var D0=i=>i instanceof k0;var $p=new C(""),E0={provide:di,useExisting:Lt(()=>I0)},I0=(()=>{class i extends di{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,t,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this.update=new z,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=x0(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let t=e.form.previousValue;t&&ls(t,this,!1),cs(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}_0(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&ls(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static{this.\u0275fac=function(t){return new(t||i)(u(Eo,10),u(Hl,10),u(Mn,10),u($p,8),u(ms,8))}}static{this.\u0275dir=D({type:i,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[de([E0]),ne,Pe]})}}return i})(),S0={provide:kr,useExisting:Lt(()=>On)},On=(()=>{class i extends kr{get submitted(){return Yt(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,t,r){super(),this.callSetDisabledState=r,this._submitted=gi(()=>this._submittedReactive()),this._submittedReactive=gn(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new z,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(us(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let t=this.form.get(e.path);return cs(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){ls(e.control||null,e,!1),w0(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this._submittedReactive.set(!0),Gp(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Bl(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new zl(this.form))}_updateDomValue(){this.directives.forEach(e=>{let t=e.control,r=this.form.get(e.path);t!==r&&(ls(t||null,e),D0(r)&&(cs(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let t=this.form.get(e.path);Wp(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let t=this.form.get(e.path);t&&v0(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Wl(this.form,this),this._oldForm&&us(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(t){return new(t||i)(u(Eo,10),u(Hl,10),u(ms,8))}}static{this.\u0275dir=D({type:i,selectors:[["","formGroup",""]],hostBindings:function(t,r){t&1&&J("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[de([S0]),ne,Pe]})}}return i})();var T0=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({})}}return i})();var Yp=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:$p,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:ms,useValue:e.callSetDisabledState??ql}]}}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[T0]})}}return i})();function fs(i){return i&&typeof i.connect=="function"&&!(i instanceof mu)}var Dr=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(Dr||{}),Io=new C("_ViewRepeater"),Er=class{applyChanges(n,e,t,r,o){n.forEachOperation((a,s,c)=>{let l,d;if(a.previousIndex==null){let h=t(a,s,c);l=e.createEmbeddedView(h.templateRef,h.context,h.index),d=Dr.INSERTED}else c==null?(e.remove(s),d=Dr.REMOVED):(l=e.get(s),e.move(l,c),d=Dr.MOVED);o&&o({context:l?.context,operation:d,record:a})})}detach(){}};var ps=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,t=!0,r){this._multiple=n,this._emitChanges=t,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new R,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(t=>this._markSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(t=>this._unmarkSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,t=new Set(n);n.forEach(o=>this._markSelected(o)),e.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let t of e)if(this.compareWith(n,t))return t;return n}else return n}};var gs=(()=>{class i{constructor(){this._listeners=[]}notify(e,t){for(let r of this._listeners)r(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Yl;try{Yl=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Yl=!1}var me=(()=>{class i{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Bu(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Yl)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(t){return new(t||i)(x(Eu))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Ir,Xp=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Kl(){if(Ir)return Ir;if(typeof document!="object"||!document)return Ir=new Set(Xp),Ir;let i=document.createElement("input");return Ir=new Set(Xp.filter(n=>(i.setAttribute("type",n),i.type===n))),Ir}var So;function M0(){if(So==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>So=!0}))}finally{So=So||!1}return So}function Bt(i){return M0()?i:!!i.capture}var ui=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(ui||{}),bs,Rn;function vs(){if(Rn==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Rn=!1,Rn;if("scrollBehavior"in document.documentElement.style)Rn=!0;else{let i=Element.prototype.scrollTo;i?Rn=!/\{\s*\[native code\]\s*\}/.test(i.toString()):Rn=!1}}return Rn}function Sr(){if(typeof document!="object"||!document)return ui.NORMAL;if(bs==null){let i=document.createElement("div"),n=i.style;i.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",i.appendChild(e),document.body.appendChild(i),bs=ui.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,bs=i.scrollLeft===0?ui.NEGATED:ui.INVERTED),i.remove()}return bs}var $l;function A0(){if($l==null){let i=typeof document<"u"?document.head:null;$l=!!(i&&(i.createShadowRoot||i.attachShadow))}return $l}function Zp(i){if(A0()){let n=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function To(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let n=i.shadowRoot.activeElement;if(n===i)break;i=n}return i}function Ot(i){return i.composedPath?i.composedPath()[0]:i.target}function Mo(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Le(i,...n){return n.length?n.some(e=>i[e]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}function ut(i){return i!=null&&`${i}`!="false"}function Ct(i,n=0){return O0(i)?Number(i):arguments.length===2?n:0}function O0(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function Tr(i){return Array.isArray(i)?i:[i]}function nt(i){return i==null?"":typeof i=="string"?i:`${i}px`}function zt(i){return i instanceof E?i.nativeElement:i}function R0(i){if(i.type==="characterData"&&i.target instanceof Comment)return!0;if(i.type==="childList"){for(let n=0;n{class i{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),F0=(()=>{class i{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map,this._ngZone=F(V)}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){let t=zt(e);return new lt(r=>{let a=this._observeElement(t).pipe(xe(s=>s.filter(c=>!R0(c))),ye(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let t=new R,r=this._mutationObserverFactory.create(o=>t.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:t,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:t,stream:r}=this._observedElements.get(e);t&&t.disconnect(),r.complete(),this._observedElements.delete(e)}}static{this.\u0275fac=function(t){return new(t||i)(x(Jp))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Xl=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Ct(e),this._subscribe()}constructor(e,t){this._contentObserver=e,this._elementRef=t,this.event=new z,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(pi(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(F0),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",O],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[ae]})}}return i})(),_s=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({providers:[Jp]})}}return i})();var ef=new Set,Fn,P0=(()=>{class i{constructor(e,t){this._platform=e,this._nonce=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):L0}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&N0(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(Iu,8))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function N0(i,n){if(!ef.has(i))try{Fn||(Fn=document.createElement("style"),n&&Fn.setAttribute("nonce",n),Fn.setAttribute("type","text/css"),document.head.appendChild(Fn)),Fn.sheet&&(Fn.sheet.insertRule(`@media ${i} {body{ }}`,0),ef.add(i))}catch(e){console.error(e)}}function L0(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var ys=(()=>{class i{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new R}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return tf(Tr(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=tf(Tr(e)).map(a=>this._registerQuery(a).observable),o=Yo(r);return o=bu(o.pipe(Ye(1)),o.pipe(Yn(1),pi(0))),o.pipe(xe(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:l})=>{s.matches=s.matches||c,s.breakpoints[l]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),o={observable:new lt(a=>{let s=c=>this._zone.run(()=>a.next(c));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(Me(t),xe(({matches:a})=>({query:e,matches:a})),$(this._destroySubject)),mql:t};return this._queries.set(e,o),o}static{this.\u0275fac=function(t){return new(t||i)(x(P0),x(V))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function tf(i){return i.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var nf={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var cf=" ";function Fr(i,n,e){let t=ks(i,n);e=e.trim(),!t.some(r=>r.trim()===e)&&(t.push(e),i.setAttribute(n,t.join(cf)))}function sn(i,n,e){let t=ks(i,n);e=e.trim();let r=t.filter(o=>o!==e);r.length?i.setAttribute(n,r.join(cf)):i.removeAttribute(n)}function ks(i,n){return i.getAttribute(n)?.match(/\S+/g)??[]}var lf="cdk-describedby-message",xs="cdk-describedby-host",ed=0,df=(()=>{class i{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${ed++}`,this._document=e,this._id=F(Du)+"-"+ed++}describe(e,t,r){if(!this._canBeDescribed(e,t))return;let o=Zl(t,r);typeof t!="string"?(rf(t,this._id),this._messageRegistry.set(o,{messageElement:t,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(t,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,t,r){if(!t||!this._isElementNode(e))return;let o=Zl(t,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof t=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${xs}="${this._id}"]`);for(let t=0;tr.indexOf(lf)!=0);e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){let r=this._messageRegistry.get(t);Fr(e,"aria-describedby",r.messageElement.id),e.setAttribute(xs,this._id),r.referenceCount++}_removeMessageReference(e,t){let r=this._messageRegistry.get(t);r.referenceCount--,sn(e,"aria-describedby",r.messageElement.id),e.removeAttribute(xs)}_isElementDescribedByMessage(e,t){let r=ks(e,"aria-describedby"),o=this._messageRegistry.get(t),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&typeof t=="object")return!0;let r=t==null?"":`${t}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(t){return new(t||i)(x(oe),x(me))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Zl(i,n){return typeof i=="string"?`${n||""}/${i}`:i}function rf(i,n){i.id||(i.id=`${lf}-${n}-${ed++}`)}var K0=200,td=class{constructor(n,e){this._letterKeyStream=new R,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new R,this.selectedItem=this._selectedItem;let t=typeof e?.debounceInterval=="number"?e.debounceInterval:K0;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(fi(e=>this._pressedLetters.push(e)),pi(n),ye(()=>this._pressedLetters.length>0),xe(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let t=1;tt.disabled,this.tabOut=new R,this.change=new R,n instanceof Gt?this._itemChangesSubscription=n.changes.subscribe(t=>this._itemsChanged(t.toArray())):ic(n)&&(this._effectRef=sc(()=>this._itemsChanged(n()),{injector:e}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new td(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem;this.updateActiveItem(n),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e))}}},Ar=class extends Ds{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}},an=class extends Ds{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var Nn=(()=>{class i{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return Z0(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let t=X0(ax(e));if(t&&(of(t)===-1||!this.isVisible(t)))return!1;let r=e.nodeName.toLowerCase(),o=of(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!rx(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,t){return ox(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static{this.\u0275fac=function(t){return new(t||i)(x(me))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function X0(i){try{return i.frameElement}catch{return null}}function Z0(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function J0(i){let n=i.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function ex(i){return ix(i)&&i.type=="hidden"}function tx(i){return nx(i)&&i.hasAttribute("href")}function ix(i){return i.nodeName.toLowerCase()=="input"}function nx(i){return i.nodeName.toLowerCase()=="a"}function uf(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let n=i.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function of(i){if(!uf(i))return null;let n=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function rx(i){let n=i.nodeName.toLowerCase(),e=n==="input"&&i.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function ox(i){return ex(i)?!1:J0(i)||tx(i)||i.hasAttribute("contenteditable")||uf(i)}function ax(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var id=class{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,t,r,o=!1,a){this._element=n,this._checker=e,this._ngZone=t,this._document=r,this._injector=a,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let t=this._getFirstTabbableElement(e);return t?.focus(n),!!t}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let t=0;t=0;t--){let r=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?et(n,{injector:this._injector}):setTimeout(n)}},Pr=(()=>{class i{constructor(e,t,r){this._checker=e,this._ngZone=t,this._injector=F(Ee),this._document=r}create(e,t=!1){return new id(e,this._checker,this._ngZone,this._document,t,this._injector)}static{this.\u0275fac=function(t){return new(t||i)(x(Nn),x(V),x(oe))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Oo(i){return i.buttons===0||i.detail===0}function Ro(i){let n=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var sx=new C("cdk-input-modality-detector-options"),cx={ignoreKeys:[18,17,224,91,16]},hf=650,Mr=Bt({passive:!0,capture:!0}),lx=(()=>{class i{get mostRecentModality(){return this._modality.value}constructor(e,t,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Vi(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ot(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(Ro(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ot(a)},this._options=B(B({},cx),o),this.modalityDetected=this._modality.pipe(Yn(1)),this.modalityChanged=this.modalityDetected.pipe(Di()),e.isBrowser&&t.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Mr),r.addEventListener("mousedown",this._onMousedown,Mr),r.addEventListener("touchstart",this._onTouchstart,Mr)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Mr),document.removeEventListener("mousedown",this._onMousedown,Mr),document.removeEventListener("touchstart",this._onTouchstart,Mr))}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(V),x(oe),x(sx,8))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),dx=new C("liveAnnouncerElement",{providedIn:"root",factory:ux});function ux(){return null}var hx=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),mx=0,mf=(()=>{class i{constructor(e,t,r,o){this._ngZone=t,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...t){let r=this._defaultOptions,o,a;return t.length===1&&typeof t[0]=="number"?a=t[0]:[o,a]=t,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class i{constructor(e,t,r,o,a){this._ngZone=e,this._platform=t,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new R,this._rootNodeFocusAndBlurListener=s=>{let c=Ot(s);for(let l=c;l;l=l.parentElement)s.type==="focus"?this._onFocus(s,l):this._onBlur(s,l)},this._document=o,this._detectionMode=a?.detectionMode||Cs.IMMEDIATE}monitor(e,t=!1){let r=zt(e);if(!this._platform.isBrowser||r.nodeType!==1)return He();let o=Zp(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return t&&(a.checkChildren=!0),a.subject;let s={checkChildren:t,subject:new R,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let t=zt(e),r=this._elementInfo.get(t);r&&(r.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(r))}focusVia(e,t,r){let o=zt(e),a=this._getDocument().activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,c])=>this._originChanged(s,t,c)):(this._setOrigin(t),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Cs.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===Cs.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?hf:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,t){let r=this._elementInfo.get(t),o=Ot(e);!r||!r.checkChildren&&t!==o||this._originChanged(t,this._getFocusOrigin(o),r)}_onBlur(e,t){let r=this._elementInfo.get(t);!r||r.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(r,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,r=this._rootNodeFocusListenerCount.get(t)||0;r||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,ws),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,ws)}),this._rootNodeFocusListenerCount.set(t,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe($(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let r=this._rootNodeFocusListenerCount.get(t);r>1?this._rootNodeFocusListenerCount.set(t,r-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ws),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ws),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,r){this._setClasses(e,t),this._emitOrigin(r,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&t.push([o,r])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a{class i{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this._focusOrigin=null,this.cdkFocusChange=new z}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(rt))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}}return i})(),Pn=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(Pn||{}),af="cdk-high-contrast-black-on-white",sf="cdk-high-contrast-white-on-black",Jl="cdk-high-contrast-active",rd=(()=>{class i{constructor(e,t){this._platform=e,this._document=t,this._breakpointSubscription=F(ys).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Pn.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let t=this._document.defaultView||window,r=t&&t.getComputedStyle?t.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Pn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Pn.BLACK_ON_WHITE}return Pn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(Jl,af,sf),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===Pn.BLACK_ON_WHITE?e.add(Jl,af):t===Pn.WHITE_ON_BLACK&&e.add(Jl,sf)}}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(oe))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Es=(()=>{class i{constructor(e){e._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(t){return new(t||i)(x(rd))}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[_s]})}}return i})();var fx=new C("cdk-dir-doc",{providedIn:"root",factory:gx});function gx(){return F(oe)}var bx=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function vx(i){let n=i?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?bx.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Re=(()=>{class i{constructor(e){if(this.value="ltr",this.change=new z,e){let t=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=vx(t||r||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(t){return new(t||i)(x(fx,8))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var cn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({})}}return i})();var _x=["text"],yx=[[["mat-icon"]],"*"],xx=["mat-icon","*"];function wx(i,n){if(i&1&&ie(0,"mat-pseudo-checkbox",1),i&2){let e=fe();ue("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function Cx(i,n){if(i&1&&ie(0,"mat-pseudo-checkbox",3),i&2){let e=fe();ue("disabled",e.disabled)}}function kx(i,n){if(i&1&&(w(0,"span",4),Tt(1),I()),i&2){let e=fe();j(),ta("(",e.group.label,")")}}var Dx=["mat-internal-form-field",""],Ex=["*"];function Ix(){return!0}var Sx=new C("mat-sanity-checks",{providedIn:"root",factory:Ix}),K=(()=>{class i{constructor(e,t,r){this._sanityChecks=t,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Mo()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(t){return new(t||i)(x(rd),x(Sx,8),x(oe))}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[cn,cn]})}}return i})();var ln=class{constructor(n,e,t,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=t,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var dn=(()=>{class i{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var dd=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,K]})}}return i})(),Jt=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(Jt||{}),sd=class{constructor(n,e,t,r=!1){this._renderer=n,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=r,this.state=Jt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},ff=Bt({passive:!0,capture:!0}),cd=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=Ot(n);e&&this._events.get(n.type)?.forEach((t,r)=>{(r===e||r.contains(e))&&t.forEach(o=>o.handleEvent(n))})}}addHandler(n,e,t,r){let o=this._events.get(e);if(o){let a=o.get(t);a?a.add(r):o.set(t,new Set([r]))}else this._events.set(e,new Map([[t,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,ff)})}removeHandler(n,e,t){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(t),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,ff)))}},gf={enterDuration:225,exitDuration:150},Tx=800,bf=Bt({passive:!0,capture:!0}),vf=["mousedown","touchstart"],_f=["mouseup","mouseleave","touchend","touchcancel"],ld=class i{static{this._eventManager=new cd}constructor(n,e,t,r){this._target=n,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=zt(t))}fadeInRipple(n,e,t={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=B(B({},gf),t.animation);t.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=t.radius||Mx(n,e,r),s=n-r.left,c=e-r.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${c-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let h=window.getComputedStyle(d),m=h.transitionProperty,p=h.transitionDuration,f=m==="none"||p==="0s"||p==="0s, 0s"||r.width===0&&r.height===0,b=new sd(this,d,t,f);d.style.transform="scale3d(1, 1, 1)",b.state=Jt.FADING_IN,t.persistent||(this._mostRecentTransientRipple=b);let _=null;return!f&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let v=()=>{_&&(_.fallbackTimer=null),clearTimeout(y),this._finishRippleTransition(b)},M=()=>this._destroyRipple(b),y=setTimeout(M,l+100);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",M),_={onTransitionEnd:v,onTransitionCancel:M,fallbackTimer:y}}),this._activeRipples.set(b,_),(f||!l)&&this._finishRippleTransition(b),b}fadeOutRipple(n){if(n.state===Jt.FADING_OUT||n.state===Jt.HIDDEN)return;let e=n.element,t=B(B({},gf),n.config.animation);e.style.transitionDuration=`${t.exitDuration}ms`,e.style.opacity="0",n.state=Jt.FADING_OUT,(n._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=zt(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,vf.forEach(t=>{i._eventManager.addHandler(this._ngZone,t,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{_f.forEach(e=>{this._triggerElement.addEventListener(e,this,bf)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Jt.FADING_IN?this._startFadeOutTransition(n):n.state===Jt.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:t}=n.config;n.state=Jt.VISIBLE,!t&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Jt.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Oo(n),t=this._lastTouchStartEvent&&Date.now(){let e=n.state===Jt.VISIBLE||n.config.terminateOnPointerUp&&n.state===Jt.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(vf.forEach(e=>i._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(_f.forEach(e=>n.removeEventListener(e,this,bf)),this._pointerUpEventsRegistered=!1))}};function Mx(i,n,e){let t=Math.max(Math.abs(i-e.left),Math.abs(i-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(t*t+r*r)}var Ln=new C("mat-ripple-global-options"),ei=(()=>{class i{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,t,r,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new ld(this,t,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:B(B(B({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,B(B({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,B(B({},this.rippleConfig),e))}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(V),u(me),u(Ln,8),u(we,8))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return i})(),jn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,K]})}}return i})(),Ax=(()=>{class i{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(t){return new(t||i)(u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,r){t&2&&P("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[U],decls:0,vars:0,template:function(t,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return i})(),Ox=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K]})}}return i})(),Po=new C("MAT_OPTION_PARENT_COMPONENT");var No=new C("MatOptgroup");var Rx=0,Fo=class{constructor(n,e=!1){this.source=n,this.isUserInput=e}},Ss=(()=>{class i{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,t,r,o){this._element=e,this._changeDetectorRef=t,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Rx++}`,this.onSelectionChange=new z,this._stateChanges=new R}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Le(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Fo(this,e))}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Po,8),u(No,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-option"]],viewQuery:function(t,r){if(t&1&&re(_x,7),t&2){let o;S(o=T())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,r){t&1&&J("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),t&2&&(St("id",r.id),W("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),P("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",O]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ae,U],ngContentSelectors:xx,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,r){t&1&&(se(yx),te(0,wx,1,2,"mat-pseudo-checkbox",1),A(1),w(2,"span",2,0),A(4,1),I(),te(5,Cx,1,1,"mat-pseudo-checkbox",3)(6,kx,2,1,"span",4),ie(7,"div",5)),t&2&&(ge(r.multiple?0:-1),j(5),ge(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),j(),ge(r.group&&r.group._inert?6:-1),j(),ue("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[Ax,ei],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();function Ts(i,n,e){if(e.length){let t=n.toArray(),r=e.toArray(),o=0;for(let a=0;ae+t?Math.max(0,i-t+n):e}var Nr=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[jn,K,Ox]})}}return i})(),yf={capture:!0},xf=["focus","mousedown","mouseenter","touchstart"],od="mat-ripple-loader-uninitialized",ad="mat-ripple-loader-class-name",wf="mat-ripple-loader-centered",Is="mat-ripple-loader-disabled",As=(()=>{class i{constructor(){this._document=F(oe,{optional:!0}),this._animationMode=F(we,{optional:!0}),this._globalRippleOptions=F(Ln,{optional:!0}),this._platform=F(me),this._ngZone=F(V),this._hosts=new Map,this._onInteraction=e=>{let t=Ot(e);if(t instanceof HTMLElement){let r=t.closest(`[${od}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}},this._ngZone.runOutsideAngular(()=>{for(let e of xf)this._document?.addEventListener(e,this._onInteraction,yf)})}ngOnDestroy(){let e=this._hosts.keys();for(let t of e)this.destroyRipple(t);for(let t of xf)this._document?.removeEventListener(t,this._onInteraction,yf)}configureRipple(e,t){e.setAttribute(od,this._globalRippleOptions?.namespace??""),(t.className||!e.hasAttribute(ad))&&e.setAttribute(ad,t.className||""),t.centered&&e.setAttribute(wf,""),t.disabled&&e.setAttribute(Is,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,t){let r=this._hosts.get(e);if(r){r.disabled=t;return}t?e.setAttribute(Is,""):e.removeAttribute(Is)}_createRipple(e){if(!this._document)return;let t=this._hosts.get(e);if(t)return t;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(ad)),e.append(r);let o=new ei(new E(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,o.centered=e.hasAttribute(wf),o.disabled=e.hasAttribute(Is),this.attachRipple(e,o),o}attachRipple(e,t){e.removeAttribute(od),this._hosts.set(e,t)}destroyRipple(e){let t=this._hosts.get(e);t&&(t.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Cf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[U],attrs:Dx,ngContentSelectors:Ex,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}}return i})();var Df=["mat-button",""],hd=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],md=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Fx='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',pd=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var Px=["mat-mini-fab",""],Nx='.mat-mdc-fab-base{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-app-corner-large));color:var(--mat-fab-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-app-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-app-level3));height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-app-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',Ef=["mat-icon-button",""],If=["*"],Lx='.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',jx=new C("MAT_BUTTON_CONFIG");var Vx=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Os=(()=>{class i{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,t,r,o){this._elementRef=e,this._platform=t,this._ngZone=r,this._animationMode=o,this._focusMonitor=F(rt),this._rippleLoader=F(As),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=F(jx,{optional:!0}),s=e.nativeElement,c=s.classList;this.disabledInteractive=a?.disabledInteractive??!1,this.color=a?.color??null,this._rippleLoader?.configureRipple(s,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:d}of Vx)s.hasAttribute(l)&&c.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",t){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,t):this._elementRef.nativeElement.focus(t)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(t){tc()}}static{this.\u0275dir=D({type:i,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",O],disabled:[2,"disabled","disabled",O],ariaDisabled:[2,"aria-disabled","ariaDisabled",O],disabledInteractive:[2,"disabledInteractive","disabledInteractive",O]},features:[ae]})}}return i})();var Sf=(()=>{class i extends Os{constructor(e,t,r,o){super(e,t,r,o),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}static{this.\u0275fac=function(t){tc()}}static{this.\u0275dir=D({type:i,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:$e(e)]},features:[ae,ne]})}}return i})(),IN=(()=>{class i extends Os{constructor(e,t,r,o){super(e,t,r,o)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(V),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,U],attrs:Df,ngContentSelectors:md,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(hd),ie(0,"span",0),A(1),w(2,"span",1),A(3,1),I(),A(4,2),ie(5,"span",2)(6,"span",3)),t&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return i})(),SN=(()=>{class i extends Sf{constructor(e,t,r,o){super(e,t,r,o)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(V),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getDisabledAttribute()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[ne,U],attrs:Df,ngContentSelectors:md,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(hd),ie(0,"span",0),A(1),w(2,"span",1),A(3,1),I(),A(4,2),ie(5,"span",2)(6,"span",3)),t&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[Fx,pd],encapsulation:2,changeDetection:0})}}return i})(),Bx=new C("mat-mdc-fab-default-options",{providedIn:"root",factory:Tf});function Tf(){return{color:"accent"}}var kf=Tf();var TN=(()=>{class i extends Os{constructor(e,t,r,o,a){super(e,t,r,o),this._options=a,this._isFab=!0,this._options=this._options||kf,this.color=this._options.color||kf.color}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(V),u(we,8),u(Bx,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,U],attrs:Px,ngContentSelectors:md,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(hd),ie(0,"span",0),A(1),w(2,"span",1),A(3,1),I(),A(4,2),ie(5,"span",2)(6,"span",3)),t&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[Nx],encapsulation:2,changeDetection:0})}}return i})();var MN=(()=>{class i extends Os{constructor(e,t,r,o){super(e,t,r,o),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(V),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,U],attrs:Ef,ngContentSelectors:If,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(),ie(0,"span",0),A(1),ie(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',pd],encapsulation:2,changeDetection:0})}}return i})(),AN=(()=>{class i extends Sf{constructor(e,t,r,o){super(e,t,r,o)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(V),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getDisabledAttribute()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[ne,U],attrs:Ef,ngContentSelectors:If,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(),ie(0,"span",0),A(1),ie(2,"span",1)(3,"span",2))},styles:[Lx,pd],encapsulation:2,changeDetection:0})}}return i})(),Mf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,jn,K]})}}return i})();var zx=We` + fragment QueueJob on QueueJob { + id + queue + status + payload + priority + retries + maxRetries + runAfter + ranAt + error + createdAt +} + `,Hx=We` + fragment QueueJobsQueryResult on QueueJobsQueryResult { + items { + ...QueueJob + } + totalCount + hasNextPage + aggregations { + queue { + value + label + count + } + status { + value + label + count + } + } +} + ${zx}`,Ux=We` + fragment Torrent on Torrent { + infoHash + name + size + filesStatus + filesCount + hasFilesInfo + singleFile + fileType + sources { + key + name + } + seeders + leechers + tagNames + magnetUri + createdAt + updatedAt +} + `,Qx=We` + fragment Content on Content { + type + source + id + metadataSource { + key + name + } + title + releaseDate + releaseYear + overview + runtime + voteAverage + voteCount + originalLanguage { + id + name + } + attributes { + metadataSource { + key + name + } + source + key + value + createdAt + updatedAt + } + collections { + metadataSource { + key + name + } + type + source + id + name + createdAt + updatedAt + } + externalLinks { + metadataSource { + key + name + } + url + } + createdAt + updatedAt +} + `,qx=We` + fragment TorrentContent on TorrentContent { + id + infoHash + contentType + title + torrent { + ...Torrent + } + content { + ...Content + } + languages { + id + name + } + episodes { + label + seasons { + season + episodes + } + } + video3d + videoCodec + videoModifier + videoResolution + videoSource + seeders + leechers + publishedAt + createdAt + updatedAt +} + ${Ux} +${Qx}`,Wx=We` + fragment TorrentContentSearchResult on TorrentContentSearchResult { + items { + ...TorrentContent + } + totalCount + totalCountIsEstimate + hasNextPage + aggregations { + contentType { + value + label + count + isEstimate + } + torrentSource { + value + label + count + isEstimate + } + torrentTag { + value + label + count + isEstimate + } + torrentFileType { + value + label + count + isEstimate + } + language { + value + label + count + isEstimate + } + genre { + value + label + count + isEstimate + } + releaseYear { + value + label + count + isEstimate + } + videoResolution { + value + label + count + isEstimate + } + videoSource { + value + label + count + isEstimate + } + } +} + ${qx}`,Gx=We` + fragment TorrentFile on TorrentFile { + infoHash + index + path + size + fileType + createdAt + updatedAt +} + `,$x=We` + fragment TorrentFilesQueryResult on TorrentFilesQueryResult { + items { + ...TorrentFile + } + totalCount + hasNextPage +} + ${Gx}`,Af=We` + mutation Download($infoHashes: [Hash20!]!) { + downloadclient { + download(infoHashes: $infoHashes) + } +} + `;var FN=We` + mutation QueueEnqueueReprocessTorrentsBatch($input: QueueEnqueueReprocessTorrentsBatchInput!) { + queue { + enqueueReprocessTorrentsBatch(input: $input) + } +} + `;var PN=We` + mutation QueuePurgeJobs($input: QueuePurgeJobsInput!) { + queue { + purgeJobs(input: $input) + } +} + `;var Of=We` + mutation TorrentDelete($infoHashes: [Hash20!]!) { + torrent { + delete(infoHashes: $infoHashes) + } +} + `;var Rf=We` + mutation TorrentDeleteTags($infoHashes: [Hash20!], $tagNames: [String!]) { + torrent { + deleteTags(infoHashes: $infoHashes, tagNames: $tagNames) + } +} + `;var Ff=We` + mutation TorrentPutTags($infoHashes: [Hash20!]!, $tagNames: [String!]!) { + torrent { + putTags(infoHashes: $infoHashes, tagNames: $tagNames) + } +} + `;var NN=We` + mutation TorrentReprocess($input: TorrentReprocessInput!) { + torrent { + reprocess(input: $input) + } +} + `;var Pf=We` + mutation TorrentSetTags($infoHashes: [Hash20!]!, $tagNames: [String!]!) { + torrent { + setTags(infoHashes: $infoHashes, tagNames: $tagNames) + } +} + `;var Nf=We` + query DownloadClientEnabled { + downloadClient { + enabled + } +} + `;var LN=We` + query HealthCheck { + health { + status + checks { + key + status + timestamp + error + } + } + workers { + listAll { + workers { + key + started + } + } + } +} + `;var jN=We` + query QueueJobs($input: QueueJobsQueryInput!) { + queue { + jobs(input: $input) { + ...QueueJobsQueryResult + } + } +} + ${Hx}`;var VN=We` + query QueueMetrics($input: QueueMetricsQueryInput!) { + queue { + metrics(input: $input) { + buckets { + queue + status + createdAtBucket + ranAtBucket + count + latency + } + } + } +} + `;var BN=We` + query TorrentContentSearch($input: TorrentContentSearchQueryInput!) { + torrentContent { + search(input: $input) { + ...TorrentContentSearchResult + } + } +} + ${Wx}`;var zN=We` + query TorrentFiles($input: TorrentFilesQueryInput!) { + torrent { + files(input: $input) { + ...TorrentFilesQueryResult + } + } +} + ${$x}`;var HN=We` + query TorrentMetrics($input: TorrentMetricsQueryInput!) { + torrent { + metrics(input: $input) { + buckets { + source + updated + bucket + count + } + } + listSources { + sources { + key + name + } + } + } +} + `;var Lf=We` + query TorrentSuggestTags($input: SuggestTagsQueryInput!) { + torrent { + suggestTags(input: $input) { + suggestions { + name + count + } + } + } +} + `;var UN=We` + query Version { + version +} + `;var jf=(()=>{class i{constructor(e){this.apollo=e}torrentDelete(e){return this.apollo.mutate({mutation:Of,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}torrentPutTags(e){return this.apollo.mutate({mutation:Ff,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}torrentSetTags(e){return this.apollo.mutate({mutation:Pf,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}torrentDeleteTags(e){return this.apollo.mutate({mutation:Rf,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}torrentSuggestTags(e){return this.apollo.query({query:Lf,variables:e,fetchPolicy:Lr}).pipe(xe(t=>t.data.torrent.suggestTags))}clientDownload(e){return this.apollo.mutate({mutation:Af,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}downloadClientEnabledQuery(){return this.apollo.query({query:Nf}).pipe(xe(e=>e.data.downloadClient.enabled))}static{this.\u0275fac=function(t){return new(t||i)(x(Ll))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac})}}return i})(),Lr="no-cache";var Vf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({providers:[jf]})}}return i})();var fd=class{constructor(n){this._box=n,this._destroyed=new R,this._resizeSubject=new R,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new lt(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),t.unsubscribe(),this._elementObservables.delete(n)}}).pipe(ye(e=>e.some(t=>t.target===n)),Qr({bufferSize:1,refCount:!0}),$(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Rs=(()=>{class i{constructor(){this._observers=new Map,this._ngZone=F(V),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,t){let r=t?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new fd(r)),this._observers.get(r).observe(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Kx=["notch"],Xx=["matFormFieldNotchedOutline",""],Zx=["*"],Jx=["textField"],ew=["iconPrefixContainer"],tw=["textPrefixContainer"],iw=["iconSuffixContainer"],nw=["textSuffixContainer"],rw=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ow=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function aw(i,n){i&1&&ie(0,"span",21)}function sw(i,n){if(i&1&&(w(0,"label",20),A(1,1),te(2,aw,1,0,"span",21),I()),i&2){let e=fe(2);ue("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),W("for",e._control.disableAutomaticLabeling?null:e._control.id),j(2),ge(!e.hideRequiredMarker&&e._control.required?2:-1)}}function cw(i,n){if(i&1&&te(0,sw,3,5,"label",20),i&2){let e=fe();ge(e._hasFloatingLabel()?0:-1)}}function lw(i,n){i&1&&ie(0,"div",7)}function dw(i,n){}function uw(i,n){if(i&1&&te(0,dw,0,0,"ng-template",13),i&2){fe(2);let e=$t(1);ue("ngTemplateOutlet",e)}}function hw(i,n){if(i&1&&(w(0,"div",9),te(1,uw,1,1,null,13),I()),i&2){let e=fe();ue("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),j(),ge(e._forceDisplayInfixLabel()?-1:1)}}function mw(i,n){i&1&&(w(0,"div",10,2),A(2,2),I())}function pw(i,n){i&1&&(w(0,"div",11,3),A(2,3),I())}function fw(i,n){}function gw(i,n){if(i&1&&te(0,fw,0,0,"ng-template",13),i&2){fe();let e=$t(1);ue("ngTemplateOutlet",e)}}function bw(i,n){i&1&&(w(0,"div",14,4),A(2,4),I())}function vw(i,n){i&1&&(w(0,"div",15,5),A(2,5),I())}function _w(i,n){i&1&&ie(0,"div",16)}function yw(i,n){if(i&1&&(w(0,"div",18),A(1,6),I()),i&2){let e=fe();ue("@transitionMessages",e._subscriptAnimationState)}}function xw(i,n){if(i&1&&(w(0,"mat-hint",22),Tt(1),I()),i&2){let e=fe(2);ue("id",e._hintLabelId),j(),ri(e.hintLabel)}}function ww(i,n){if(i&1&&(w(0,"div",19),te(1,xw,2,2,"mat-hint",22),A(2,7),ie(3,"div",23),A(4,8),I()),i&2){let e=fe();ue("@transitionMessages",e._subscriptAnimationState),j(),ge(e.hintLabel?1:-1)}}var Bf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-label"]],standalone:!0})}}return i})();var Cw=new C("MatError");var kw=0,zf=(()=>{class i{constructor(){this.align="start",this.id=`mat-mdc-hint-${kw++}`}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,r){t&2&&(St("id",r.id),W("align",null),P("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0})}}return i})(),Dw=new C("MatPrefix");var Ew=new C("MatSuffix");var Yf=new C("FloatingLabelParent"),Hf=(()=>{class i{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=F(Rs),this._ngZone=F(V),this._parent=F(Yf),this._resizeSubscription=new Te}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Iw(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return i})();function Iw(i){let n=i;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var Uf="mdc-line-ripple--active",Fs="mdc-line-ripple--deactivating",Qf=(()=>{class i{constructor(e,t){this._elementRef=e,this._handleTransitionEnd=r=>{let o=this._elementRef.nativeElement.classList,a=o.contains(Fs);r.propertyName==="opacity"&&a&&o.remove(Uf,Fs)},t.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Fs),e.add(Uf)}deactivate(){this._elementRef.nativeElement.classList.add(Fs)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(V))}}static{this.\u0275dir=D({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return i})(),qf=(()=>{class i{constructor(e,t){this._elementRef=e,this._ngZone=t,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(V))}}static{this.\u0275cmp=H({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,r){if(t&1&&re(Kx,5),t&2){let o;S(o=T())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[U],attrs:Xx,ngContentSelectors:Zx,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,r){t&1&&(se(),ie(0,"div",1),w(1,"div",2,0),A(3),I(),ie(4,"div",3))},encapsulation:2,changeDetection:0})}}return i})(),Sw={transitionMessages:gt("transitionMessages",[it("enter",Oe({opacity:1,transform:"translateY(0%)"})),Ze("void => enter",[Oe({opacity:0,transform:"translateY(-5px)"}),Xe("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Vn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i})}}return i})();var Ri=new C("MatFormField"),Tw=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Wf=0,Gf="fill",Mw="auto",$f="fixed",Aw="translateY(-50%)",yL=(()=>{class i{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ut(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Mw}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let t=this._appearance,r=e||this._defaults?.appearance||Gf;this._appearance=r,this._appearance==="outline"&&this._appearance!==t&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||$f}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||$f}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,t,r,o,a,s,c,l){this._elementRef=e,this._changeDetectorRef=t,this._dir=o,this._platform=a,this._defaults=s,this._animationMode=c,this._labelChild=Tu(Bf),this._hideRequiredMarker=!1,this.color="primary",this._appearance=Gf,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Wf++}`,this._hintLabelId=`mat-mdc-hint-${Wf++}`,this._subscriptAnimationState="",this._destroyed=new R,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=F(Ee),this.getLabelId=gi(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=gi(()=>!!this._labelChild()),s&&(s.appearance&&(this.appearance=s.appearance),this._hideRequiredMarker=!!s?.hideRequiredMarker,s.color&&(this.color=s.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(r+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe($(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Fe(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),ea(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe($(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let t=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let t=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=t?.getBoundingClientRect().width??0,c=r?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,d=a?.getBoundingClientRect().width??0,h=this._dir.value==="rtl"?"-1":"1",m=`${s+c}px`,f=`calc(${h} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( + --mat-mdc-form-field-label-transform, + ${Aw} translateX(${f}) + )`;let b=s+c+l+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${b}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(V),u(Re),u(me),u(Tw,8),u(we,8),u(oe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-form-field"]],contentQueries:function(t,r,o){if(t&1&&(Pu(o,r._labelChild,Bf,5),he(o,Vn,5),he(o,Dw,5),he(o,Ew,5),he(o,Cw,5),he(o,zf,5)),t&2){Nu();let a;S(a=T())&&(r._formFieldControl=a.first),S(a=T())&&(r._prefixChildren=a),S(a=T())&&(r._suffixChildren=a),S(a=T())&&(r._errorChildren=a),S(a=T())&&(r._hintChildren=a)}},viewQuery:function(t,r){if(t&1&&(re(Jx,5),re(ew,5),re(tw,5),re(iw,5),re(nw,5),re(Hf,5),re(qf,5),re(Qf,5)),t&2){let o;S(o=T())&&(r._textField=o.first),S(o=T())&&(r._iconPrefixContainer=o.first),S(o=T())&&(r._textPrefixContainer=o.first),S(o=T())&&(r._iconSuffixContainer=o.first),S(o=T())&&(r._textSuffixContainer=o.first),S(o=T())&&(r._floatingLabel=o.first),S(o=T())&&(r._notchedOutline=o.first),S(o=T())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(t,r){t&2&&P("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[de([{provide:Ri,useExisting:i},{provide:Yf,useExisting:i}]),U],ngContentSelectors:ow,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,r){if(t&1){let o=Ge();se(rw),te(0,cw,1,1,"ng-template",null,0,ia),w(2,"div",6,1),J("click",function(s){return ce(o),le(r._control.onContainerClick(s))}),te(4,lw,1,0,"div",7),w(5,"div",8),te(6,hw,2,2,"div",9)(7,mw,3,0,"div",10)(8,pw,3,0,"div",11),w(9,"div",12),te(10,gw,1,1,null,13),A(11),I(),te(12,bw,3,0,"div",14)(13,vw,3,0,"div",15),I(),te(14,_w,1,0,"div",16),I(),w(15,"div",17),te(16,yw,2,1,"div",18)(17,ww,5,2,"div",19),I()}if(t&2){let o;j(2),P("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),j(2),ge(!r._hasOutline()&&!r._control.disabled?4:-1),j(2),ge(r._hasOutline()?6:-1),j(),ge(r._hasIconPrefix?7:-1),j(),ge(r._hasTextPrefix?8:-1),j(2),ge(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),j(2),ge(r._hasTextSuffix?12:-1),j(),ge(r._hasIconSuffix?13:-1),j(),ge(r._hasOutline()?-1:14),j(),P("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),j(),ge((o=r._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[Hf,qf,oa,Qf,zf],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Sw.transitionMessages]},changeDetection:0})}}return i})(),Bn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,yt,_s,K]})}}return i})();var Ow=["*"];var Rw=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Fw=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, + [mat-card-title], [mat-card-subtitle], + [matCardTitle], [matCardSubtitle]`,"*"],Pw=new C("MAT_CARD_CONFIG"),RL=(()=>{class i{constructor(e){this.appearance=e?.appearance||"raised"}static{this.\u0275fac=function(t){return new(t||i)(u(Pw,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(t,r){t&2&&P("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[U],ngContentSelectors:Ow,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-app-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));border-width:var(--mdc-outlined-card-outline-width);border-color:var(--mdc-outlined-card-outline-color, var(--mat-app-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-app-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-app-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-app-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-app-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-app-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-app-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-app-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-app-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-app-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-app-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-app-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-app-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}}return i})(),FL=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0})}}return i})();var PL=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}}return i})(),NL=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"],standalone:!0})}}return i})(),LL=(()=>{class i{constructor(){this.align="start"}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"],standalone:!0})}}return i})(),jL=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[U],ngContentSelectors:Fw,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(t,r){t&1&&(se(Rw),A(0),w(1,"div",0),A(2,1),I(),A(3,2))},encapsulation:2,changeDetection:0})}}return i})();var VL=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"],standalone:!0})}}return i})();var Kf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,yt,K]})}}return i})();var Nw=["input"],Lw=["label"],jw=["*"],Vw=new C("mat-checkbox-default-options",{providedIn:"root",factory:Zf});function Zf(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var kt=function(i){return i[i.Init=0]="Init",i[i.Checked=1]="Checked",i[i.Unchecked=2]="Unchecked",i[i.Indeterminate=3]="Indeterminate",i}(kt||{}),Bw={provide:Mn,useExisting:Lt(()=>Jf),multi:!0},gd=class{},zw=0,Xf=Zf(),Jf=(()=>{class i{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new gd;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,t,r,o,a,s){this._elementRef=e,this._changeDetectorRef=t,this._ngZone=r,this._animationMode=a,this._options=s,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new z,this.indeterminateChange=new z,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=kt.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Xf,this.color=this._options.color||Xf.color,this.tabIndex=parseInt(o)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++zw}`,this.disabledInteractive=s?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){let t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(kt.Indeterminate):this._transitionCheckState(this.checked?kt.Checked:kt.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,r=this._getAnimationTargetElement();if(!(t===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?kt.Checked:kt.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationMode==="NoopAnimations")return"";switch(e){case kt.Init:if(t===kt.Checked)return this._animationClasses.uncheckedToChecked;if(t==kt.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case kt.Unchecked:return t===kt.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case kt.Checked:return t===kt.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case kt.Indeterminate:return t===kt.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(V),It("tabindex"),u(we,8),u(Vw,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-checkbox"]],viewQuery:function(t,r){if(t&1&&(re(Nw,5),re(Lw,5),re(ei,5)),t&2){let o;S(o=T())&&(r._inputElement=o.first),S(o=T())&&(r._labelElement=o.first),S(o=T())&&(r.ripple=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,r){t&2&&(St("id",r.id),W("tabindex",null)("aria-label",null)("aria-labelledby",null),qe(r.color?"mat-"+r.color:"mat-accent"),P("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",O],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:$e(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",O],checked:[2,"checked","checked",O],disabled:[2,"disabled","disabled",O],indeterminate:[2,"indeterminate","indeterminate",O]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[de([Bw,{provide:Eo,useExisting:i,multi:!0}]),ae,Pe,U],ngContentSelectors:jw,decls:15,vars:20,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,r){if(t&1){let o=Ge();se(),w(0,"div",3),J("click",function(s){return ce(o),le(r._preventBubblingFromLabel(s))}),w(1,"div",4,0)(3,"div",5),J("click",function(){return ce(o),le(r._onTouchTargetClick())}),I(),w(4,"input",6,1),J("blur",function(){return ce(o),le(r._onBlur())})("click",function(){return ce(o),le(r._onInputClick())})("change",function(s){return ce(o),le(r._onInteractionEvent(s))}),I(),ie(6,"div",7),w(7,"div",8),Wt(),w(8,"svg",9),ie(9,"path",10),I(),Xo(),ie(10,"div",11),I(),ie(11,"div",12),I(),w(12,"label",13,2),A(14),I()()}if(t&2){let o=$t(2);ue("labelPosition",r.labelPosition),j(4),P("mdc-checkbox--selected",r.checked),ue("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),W("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("name",r.name)("value",r.value),j(7),ue("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),j(),ue("for",r.inputId)}},dependencies:[ei,Cf],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.cdk-high-contrast-active .mdc-checkbox--disabled{opacity:.5}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-app-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-app-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.cdk-high-contrast-active .mdc-checkbox--disabled .mdc-checkbox__checkmark,.cdk-high-contrast-active .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();var eg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[Jf,K,K]})}}return i})();var Hw=20,un=(()=>{class i{constructor(e,t,r){this._ngZone=e,this._platform=t,this._scrolled=new R,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=Hw){return this._platform.isBrowser?new lt(t=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(Js(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):He()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let r=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(ye(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&t.push(o)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let r=zt(t),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Nt(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(t){return new(t||i)(x(V),x(me),x(oe,8))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Fi=(()=>{class i{constructor(e,t,r,o){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=r,this.dir=o,this._destroyed=new R,this._elementScrolled=new lt(a=>this.ngZone.runOutsideAngular(()=>Nt(this.elementRef.nativeElement,"scroll").pipe($(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let t=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),r&&Sr()!=ui.NORMAL?(e.left!=null&&(e.right=t.scrollWidth-t.clientWidth-e.left),Sr()==ui.INVERTED?e.left=e.right:Sr()==ui.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let t=this.elementRef.nativeElement;vs()?t.scrollTo(e):(e.top!=null&&(t.scrollTop=e.top),e.left!=null&&(t.scrollLeft=e.left))}measureScrollOffset(e){let t="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?r:t:e=="end"&&(e=a?t:r),a&&Sr()==ui.INVERTED?e==t?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Sr()==ui.NEGATED?e==t?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==t?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(un),u(V),u(Re,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return i})(),Uw=20,Dt=(()=>{class i{constructor(e,t,r){this._platform=e,this._change=new R,this._changeListener=o=>{this._change.next(o)},this._document=r,t.runOutsideAngular(()=>{if(e.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+t,height:r,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body.scrollTop||t.scrollY||r.scrollTop||0,s=-o.left||e.body.scrollLeft||t.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=Uw){return e>0?this._change.pipe(Js(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(V),x(oe,8))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Qt=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({})}}return i})(),Lo=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[cn,Qt,cn,Qt]})}}return i})();var jo=class{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},hn=class extends jo{constructor(n,e,t,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=r,this.projectableNodes=o}},Et=class extends jo{constructor(n,e,t,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=t,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},bd=class extends jo{constructor(n){super(),this.element=n instanceof E?n.nativeElement:n}},jr=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof hn)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Et)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof bd)return this._attachedPortal=n,this.attachDomPortal(n)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Vo=class extends jr{constructor(n,e,t,r,o){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=r,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}attachComponentPortal(n){let t=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(t,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=t.create(n.injector||this._defaultInjector||Ee.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let e=n.viewContainerRef,t=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return t.rootNodes.forEach(r=>this.outletElement.appendChild(r)),t.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(t);r!==-1&&e.remove(r)}),this._attachedPortal=n,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var tg=(()=>{class i extends Et{constructor(e,t){super(e,t)}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(Qe))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[ne]})}}return i})();var hi=(()=>{class i extends jr{constructor(e,t,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new z,this.attachDomPortal=o=>{this._document;let a=o.element;a.parentNode;let s=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(s,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(a,s)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let t=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=t.createComponent(o,t.length,e.injector||t.injector,e.projectableNodes||void 0);return t!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);let t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static{this.\u0275fac=function(t){return new(t||i)(u(fn),u(Qe),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[ne]})}}return i})();var Pi=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({})}}return i})();var ig=vs(),vd=class{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=nt(-this._previousScrollPosition.left),n.style.top=nt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,t=n.style,r=e.style,o=t.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),ig&&(t.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),ig&&(t.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};var _d=class{constructor(n,e,t,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(ye(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Ps=class{enable(){}disable(){}attach(){}};function yd(i,n){return n.some(e=>{let t=i.bottome.bottom,o=i.righte.right;return t||r||o||a})}function ng(i,n){return n.some(e=>{let t=i.tope.bottom,o=i.lefte.right;return t||r||o||a})}var xd=class{constructor(n,e,t,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:r}=this._viewportRuler.getViewportSize();yd(e,[{width:t,height:r,bottom:r,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},qw=(()=>{class i{constructor(e,t,r,o){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this.noop=()=>new Ps,this.close=a=>new _d(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new vd(this._viewportRuler,this._document),this.reposition=a=>new xd(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}static{this.\u0275fac=function(t){return new(t||i)(x(un),x(Dt),x(V),x(oe))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ci=class{constructor(n){if(this.scrollStrategy=new Ps,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){let e=Object.keys(n);for(let t of e)n[t]!==void 0&&(this[t]=n[t])}}};var wd=class{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var lg=(()=>{class i{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}static{this.\u0275fac=function(t){return new(t||i)(x(oe))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ww=(()=>{class i extends lg{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=r=>{let o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){let s=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(r)):s.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(t){return new(t||i)(x(oe),x(V,8))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Gw=(()=>{class i extends lg{constructor(e,t,r){super(e),this._platform=t,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Ot(o)},this._clickListener=o=>{let a=Ot(o),s=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){let d=c[l];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(rg(d.overlayElement,a)||rg(d.overlayElement,s))break;let h=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(o)):h.next(o)}}}add(e){if(super.add(e),!this._isAttached){let t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(t){return new(t||i)(x(oe),x(me),x(V,8))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function rg(i,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=n;for(;t;){if(t===i)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var Vr=(()=>{class i{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Mo()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new R,this._outsidePointerEvents=new R,this._renders=new R,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=Yt(()=>ea(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=et(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=B(B({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Ue(B({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=nt(this._config.width),n.height=nt(this._config.height),n.minWidth=nt(this._config.minWidth),n.minHeight=nt(this._config.minHeight),n.maxWidth=nt(this._config.maxWidth),n.maxHeight=nt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let n=this._backdropElement;if(n){if(this._animationsDisabled){this._disposeBackdrop(n);return}n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,t){let r=Tr(e||[]).filter(o=>!!o);r.length&&(t?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe($(Fe(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},og="cdk-overlay-connected-position-bounding-box",$w=/([A-Za-z%]+)$/,Cd=class{get positions(){return this._preferredPositions}constructor(n,e,t,r,o){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new R,this._resizeSubscription=Te.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(og),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,t=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,r,s),l=this._getOverlayPoint(c,e,s),d=this._getOverlayFit(l,e,t,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(d,l,t)){o.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleAreac&&(c=d,s=l)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Hn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(og),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,t){let r;if(t.originX=="center")r=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=t.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return t.originY=="center"?o=n.top+n.height/2:o=t.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,t){let r;t.overlayX=="center"?r=-e.width/2:t.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return t.overlayY=="center"?o=-e.height/2:o=t.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,t,r){let o=sg(e),{x:a,y:s}=n,c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=c),l&&(s+=l);let d=0-a,h=a+o.width-t.width,m=0-s,p=s+o.height-t.height,f=this._subtractOverflows(o.width,d,h),b=this._subtractOverflows(o.height,m,p),_=f*b;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:b===o.height,fitsInViewportHorizontally:f==o.width}}_canFitWithFlexibleDimensions(n,e,t){if(this._hasFlexibleDimensions){let r=t.bottom-e.y,o=t.right-e.x,a=ag(this._overlayRef.getConfig().minHeight),s=ag(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||a!=null&&a<=r,l=n.fitsInViewportHorizontally||s!=null&&s<=o;return c&&l}return!1}_pushOverlayOnScreen(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=sg(e),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),c=Math.max(o.top-t.top-n.y,0),l=Math.max(o.left-t.left-n.x,0),d=0,h=0;return r.width<=o.width?d=l||-a:d=n.xf&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-f/2)}let c=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,l=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,h,m;if(l)m=t.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(c)h=n.x,d=t.right-n.x;else{let p=Math.min(t.right-n.x+t.left,n.x),f=this._lastBoundingBoxSize.width;d=p*2,h=n.x-p,d>f&&!this._isInitialRender&&!this._growAfterOpen&&(h=n.x-f/2)}return{top:a,left:h,bottom:s,right:m,width:d,height:o}}_setBoundingBoxStyles(n,e){let t=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=nt(t.height),r.top=nt(t.top),r.bottom=nt(t.bottom),r.width=nt(t.width),r.left=nt(t.left),r.right=nt(t.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=nt(o)),a&&(r.maxWidth=nt(a))}this._lastBoundingBoxSize=t,Hn(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Hn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Hn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let t={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Hn(t,this._getExactOverlayY(e,n,d)),Hn(t,this._getExactOverlayX(e,n,d))}else t.position="static";let s="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),l&&(s+=`translateY(${l}px)`),t.transform=s.trim(),a.maxHeight&&(r?t.maxHeight=nt(a.maxHeight):o&&(t.maxHeight="")),a.maxWidth&&(r?t.maxWidth=nt(a.maxWidth):o&&(t.maxWidth="")),Hn(this._pane.style,t)}_getExactOverlayY(n,e,t){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=nt(o.y);return r}_getExactOverlayX(n,e,t){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=nt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ng(n,t),isOriginOutsideView:yd(n,t),isOverlayClipped:ng(e,t),isOverlayOutsideView:yd(e,t)}}_subtractOverflows(n,...e){return e.reduce((t,r)=>t-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Tr(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof E)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,t=n.height||0;return{top:n.y,bottom:n.y+t,left:n.x,right:n.x+e,height:t,width:e}}};function Hn(i,n){for(let e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);return i}function ag(i){if(typeof i!="number"&&i!=null){let[n,e]=i.split($w);return!e||e==="px"?parseFloat(n):null}return i||null}function sg(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function Yw(i,n){return i===n?!0:i.isOriginClipped===n.isOriginClipped&&i.isOriginOutsideView===n.isOriginOutsideView&&i.isOverlayClipped===n.isOverlayClipped&&i.isOverlayOutsideView===n.isOverlayOutsideView}var cg="cdk-global-overlay-wrapper",kd=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(cg),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=t,c=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),l=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,h=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",p="",f="",b="";c?b="flex-start":d==="center"?(b="center",m?f=h:p=h):m?d==="left"||d==="end"?(b="flex-end",p=h):(d==="right"||d==="start")&&(b="flex-start",f=h):d==="left"||d==="start"?(b="flex-start",p=h):(d==="right"||d==="end")&&(b="flex-end",f=h),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":f,e.justifyContent=b,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(cg),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},Kw=(()=>{class i{constructor(e,t,r,o){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=o}global(){return new kd}flexibleConnectedTo(e){return new Cd(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(t){return new(t||i)(x(Dt),x(oe),x(me),x(Vr))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Xw=0,je=(()=>{class i{constructor(e,t,r,o,a,s,c,l,d,h,m,p){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=s,this._ngZone=c,this._document=l,this._directionality=d,this._location=h,this._outsideClickDispatcher=m,this._animationsModuleType=p}create(e){let t=this._createHostElement(),r=this._createPaneElement(t),o=this._createPortalOutlet(r),a=new Ci(e);return a.direction=a.direction||this._directionality.value,new Ni(o,t,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Cu))}position(){return this._positionBuilder}_createPaneElement(e){let t=this._document.createElement("div");return t.id=`cdk-overlay-${Xw++}`,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(ac)),new Vo(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(t){return new(t||i)(x(qw),x(Vr),x(fn),x(Kw),x(Ww),x(Ee),x(V),x(oe),x(Re),x(na),x(Gw),x(we,8))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Zw=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],dg=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}}),Bo=(()=>{class i{constructor(e){this.elementRef=e}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return i})(),Dd=(()=>{class i{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,t,r,o,a){this._overlay=e,this._dir=a,this._backdropSubscription=Te.EMPTY,this._attachSubscription=Te.EMPTY,this._detachSubscription=Te.EMPTY,this._positionSubscription=Te.EMPTY,this._disposeOnNavigation=!1,this._ngZone=F(V),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new z,this.positionChange=new z,this.attach=new z,this.detach=new z,this.overlayKeydown=new z,this.overlayOutsideClick=new z,this._templatePortal=new Et(t,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Zw);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode===27&&!this.disableClose&&!Le(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{let r=this._getOriginElement(),o=Ot(t);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(t)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Ci({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(t.width=this.width),(this.height||this.height===0)&&(t.height=this.height),(this.minWidth||this.minWidth===0)&&(t.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){let t=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Bo?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Bo?this.origin.elementRef.nativeElement:this.origin instanceof E?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(wu(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(je),u(Ae),u(Qe),u(dg),u(Re,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",O],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",O],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",O],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",O],push:[2,"cdkConnectedOverlayPush","push",O],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",O]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ae,Pe]})}}return i})();function Jw(i){return()=>i.scrollStrategies.reposition()}var eC={provide:dg,deps:[je],useFactory:Jw},ti=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({providers:[je,eC],imports:[cn,Pi,Lo,Lo]})}}return i})();function tC(i,n){}var Un=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var Id=(()=>{class i extends jr{constructor(e,t,r,o,a,s,c,l){super(),this._elementRef=e,this._focusTrapFactory=t,this._config=o,this._interactivityChecker=a,this._ngZone=s,this._overlayRef=c,this._focusMonitor=l,this._platform=F(me),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=F(pe),this._injector=F(Ee),this._isDestroyed=!1,this.attachDomPortal=d=>{this._portalOutlet.hasAttached();let h=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),h},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,t)}_trapFocus(){this._isDestroyed||et(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let r=To(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,t=To();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=To()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Pr),u(oe,8),u(Un),u(Nn),u(V),u(Ni),u(rt))}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(t,r){if(t&1&&re(hi,7),t&2){let o;S(o=T())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,r){t&2&&W("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},standalone:!0,features:[ne,U],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,r){t&1&&te(0,tC,0,0,"ng-template",0)},dependencies:[hi],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return i})(),Ho=class{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new R,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!Le(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(n),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},iC=new C("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.block()}}),nC=new C("DialogData"),rC=new C("DefaultDialogConfig");var oC=0,Sd=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,t,r,o,a,s){this._overlay=e,this._injector=t,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this._ariaHiddenElements=new Map,this.afterAllClosed=zi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Me(void 0))),this._scrollStrategy=s}open(e,t){let r=this._defaultOptions||new Un;t=B(B({},r),t),t.id=t.id||`cdk-dialog-${oC++}`,t.id&&this.getDialogById(t.id);let o=this._getOverlayConfig(t),a=this._overlay.create(o),s=new Ho(a,t),c=this._attachContainer(a,s,t);return s.containerInstance=c,this._attachDialogContent(e,s,c,t),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){Ed(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){Ed(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Ed(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new Ci({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,r){let o=r.injector||r.viewContainerRef?.injector,a=[{provide:Un,useValue:r},{provide:Ho,useValue:t},{provide:Ni,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=Id;let c=new hn(s,r.viewContainerRef,Ee.create({parent:o||this._injector,providers:a}),r.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,t,r,o){if(e instanceof Ae){let a=this._createInjector(o,t,r,void 0),s={$implicit:o.data,dialogRef:t};o.templateContext&&(s=B(B({},s),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Et(e,null,s,a))}else{let a=this._createInjector(o,t,r,this._injector),s=r.attachComponentPortal(new hn(e,o.viewContainerRef,a,o.componentFactoryResolver));t.componentRef=s,t.componentInstance=s.instance}}_createInjector(e,t,r,o){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:nC,useValue:e.data},{provide:Ho,useValue:t}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(t,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(Re,null,{optional:!0}))&&s.push({provide:Re,useValue:{value:e.direction,change:He()}}),Ee.create({parent:a||o,providers:s})}_removeOpenDialog(e,t){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let t=e.parentElement.children;for(let r=t.length-1;r>-1;r--){let o=t[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(t){return new(t||i)(x(je),x(Ee),x(rC,8),x(i,12),x(Vr),x(iC))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Ed(i,n){let e=i.length;for(;e--;)n(i[e])}var ug=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({providers:[Sd],imports:[ti,Pi,Es,Pi]})}}return i})();function aC(i,n){}var Uo=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Td="mdc-dialog--open",hg="mdc-dialog--opening",mg="mdc-dialog--closing",sC=150,cC=75,lC=(()=>{class i extends Id{constructor(e,t,r,o,a,s,c,l,d){super(e,t,r,o,a,s,c,d),this._animationMode=l,this._animationStateChanged=new z,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?fg(this._config.enterAnimationDuration)??sC:0,this._exitAnimationDuration=this._animationsEnabled?fg(this._config.exitAnimationDuration)??cC:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(pg,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(hg,Td)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Td),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Td),this._animationsEnabled?(this._hostElement.style.setProperty(pg,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(mg)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(hg,mg)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Pr),u(oe,8),u(Uo),u(Nn),u(V),u(Ni),u(we,8),u(rt))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,r){t&2&&(St("id",r._config.id),W("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),P("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},standalone:!0,features:[ne,U],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(t,r){t&1&&(w(0,"div",0)(1,"div",1),te(2,aC,0,0,"ng-template",2),I()())},dependencies:[hi],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return i})(),pg="--mat-dialog-transition-duration";function fg(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?Ct(i.substring(0,i.length-2)):i.endsWith("s")?Ct(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var Ns=function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i}(Ns||{}),Qo=class{constructor(n,e,t){this._ref=n,this._containerInstance=t,this._afterOpened=new R,this._beforeClosed=new R,this._state=Ns.OPEN,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(ye(r=>r.state==="opened"),Ye(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(ye(r=>r.state==="closed"),Ye(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Fe(this.backdropClick(),this.keydownEvents().pipe(ye(r=>r.keyCode===27&&!this.disableClose&&!Le(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),gg(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(ye(e=>e.state==="closing"),Ye(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Ns.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Ns.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function gg(i,n,e){return i._closeInteractionType=n,i.close(e)}var dC=new C("MatMdcDialogData"),uC=new C("mat-mdc-dialog-default-options"),hC=new C("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.block()}});var mC=0,Md=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,t,r,o,a,s,c,l){this._overlay=e,this._defaultOptions=o,this._scrollStrategy=a,this._parentDialog=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this.dialogConfigClass=Uo,this.afterAllClosed=zi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Me(void 0))),this._dialog=t.get(Sd),this._dialogRefConstructor=Qo,this._dialogContainerType=lC,this._dialogDataToken=dC}open(e,t){let r;t=B(B({},this._defaultOptions||new Uo),t),t.id=t.id||`mat-mdc-dialog-${mC++}`,t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,Ue(B({},t),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:Un,useValue:t}]},templateContext:()=>({dialogRef:r}),providers:(a,s,c)=>(r=new this._dialogRefConstructor(a,t,c),r.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static{this.\u0275fac=function(t){return new(t||i)(x(je),x(Ee),x(na,8),x(uC,8),x(hC),x(i,12),x(Vr),x(we,8))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),pC=0,DV=(()=>{class i{constructor(e,t,r){this.dialogRef=e,this._elementRef=t,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=vg(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){gg(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(t){return new(t||i)(u(Qo,8),u(E),u(Md))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,r){t&1&&J("click",function(a){return r._onButtonClick(a)}),t&2&&W("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Pe]})}}return i})(),bg=(()=>{class i{constructor(e,t,r){this._dialogRef=e,this._elementRef=t,this._dialog=r}ngOnInit(){this._dialogRef||(this._dialogRef=vg(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(t){return new(t||i)(u(Qo,8),u(E),u(Md))}}static{this.\u0275dir=D({type:i,standalone:!0})}}return i})(),EV=(()=>{class i extends bg{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${pC++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,r){t&2&&St("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[ne]})}}return i})(),IV=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[Mu([Fi])]})}}return i})(),SV=(()=>{class i extends bg{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,r){t&2&&P("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},standalone:!0,features:[ne]})}}return i})();function vg(i,n){let e=i.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(t=>t.id===e.id):null}var _g=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({providers:[Md],imports:[ug,ti,Pi,K,K]})}}return i})();var RV=(()=>{class i{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=ut(e)}get inset(){return this._inset}set inset(e){this._inset=ut(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,r){t&2&&(W("aria-orientation",r.vertical?"vertical":"horizontal"),P("mat-divider-vertical",r.vertical)("mat-divider-horizontal",!r.vertical)("mat-divider-inset",r.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[U],decls:0,vars:0,template:function(t,r){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}}return i})(),yg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,K]})}}return i})();var xg=new C("CdkAccordion");var fC=0,wg=(()=>{class i{get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let t=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,t)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}constructor(e,t,r){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=r,this._openCloseAllSubscription=Te.EMPTY,this.closed=new z,this.opened=new z,this.destroyed=new z,this.expandedChange=new z,this.id=`cdk-accordion-child-${fC++}`,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((o,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==o&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static{this.\u0275fac=function(t){return new(t||i)(u(xg,12),u(pe),u(gs))}}static{this.\u0275dir=D({type:i,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",O],disabled:[2,"disabled","disabled",O]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[de([{provide:xg,useValue:void 0}]),ae]})}}return i})(),Cg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({})}}return i})();var gC=["body"],bC=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],vC=["mat-expansion-panel-header","*","mat-action-row"];function _C(i,n){}var yC=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],xC=["mat-panel-title","mat-panel-description","*"];function wC(i,n){if(i&1&&(w(0,"span",1),Wt(),w(1,"svg",2),ie(2,"path",3),I()()),i&2){let e=fe();ue("@indicatorRotate",e._getExpandedState())}}var kg=new C("MAT_ACCORDION"),Dg="225ms cubic-bezier(0.4,0.0,0.2,1)",Ig={indicatorRotate:gt("indicatorRotate",[it("collapsed, void",Oe({transform:"rotate(0deg)"})),it("expanded",Oe({transform:"rotate(180deg)"})),Ze("expanded <=> collapsed, void => collapsed",Xe(Dg))]),bodyExpansion:gt("bodyExpansion",[it("collapsed, void",Oe({height:"0px",visibility:"hidden"})),it("expanded",Oe({height:"*",visibility:""})),Ze("expanded <=> collapsed, void => collapsed",Xe(Dg))])},Sg=new C("MAT_EXPANSION_PANEL"),CC=(()=>{class i{constructor(e,t){this._template=e,this._expansionPanel=t}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(Sg,8))}}static{this.\u0275dir=D({type:i,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0})}}return i})(),kC=0,Tg=new C("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),DC=(()=>{class i extends wg{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,t,r,o,a,s,c){super(e,t,r),this._viewContainerRef=o,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new z,this.afterCollapse=new z,this._inputChanges=new R,this._headerId=`mat-expansion-panel-header-${kC++}`,this.accordion=e,this._document=a,this._animationsDisabled=s==="NoopAnimations",c&&(this.hideToggle=c.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Me(null),ye(()=>this.expanded&&!this._portal),Ye(1)).subscribe(()=>{this._portal=new Et(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}_animationStarted(e){!Eg(e)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(e){Eg(e)||(e.toState==="expanded"?this.afterExpand.emit():e.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static{this.\u0275fac=function(t){return new(t||i)(u(kg,12),u(pe),u(gs),u(Qe),u(oe),u(we,8),u(Tg,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-expansion-panel"]],contentQueries:function(t,r,o){if(t&1&&he(o,CC,5),t&2){let a;S(a=T())&&(r._lazyContent=a.first)}},viewQuery:function(t,r){if(t&1&&re(gC,5),t&2){let o;S(o=T())&&(r._body=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,r){t&2&&P("mat-expanded",r.expanded)("_mat-animation-noopable",r._animationsDisabled)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",O],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[de([{provide:kg,useValue:void 0},{provide:Sg,useExisting:i}]),ae,ne,Pe,U],ngContentSelectors:vC,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,r){if(t&1){let o=Ge();se(bC),A(0),w(1,"div",1,0),J("@bodyExpansion.start",function(s){return ce(o),le(r._animationStarted(s))})("@bodyExpansion.done",function(s){return ce(o),le(r._animationDone(s))}),w(3,"div",2),A(4,1),te(5,_C,0,0,"ng-template",3),I(),A(6,2),I()}t&2&&(j(),ue("@bodyExpansion",r._getExpandedState())("id",r.id),W("aria-labelledby",r._headerId),j(4),ue("cdkPortalOutlet",r._portal))},dependencies:[hi],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color, var(--mat-app-surface));color:var(--mat-expansion-container-text-color, var(--mat-app-on-surface));border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font, var(--mat-app-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-app-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-app-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-app-body-large-tracking))}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-app-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Ig.bodyExpansion]},changeDetection:0})}}return i})();function Eg(i){return i.fromState==="void"}var g2=(()=>{class i{constructor(e,t,r,o,a,s,c){this.panel=e,this._element=t,this._focusMonitor=r,this._changeDetectorRef=o,this._animationMode=s,this._parentChangeSubscription=Te.EMPTY,this.tabIndex=0;let l=e.accordion?e.accordion._stateChanges.pipe(ye(d=>!!(d.hideToggle||d.togglePosition))):Bi;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=Fe(e.opened,e.closed,l,e._inputChanges.pipe(ye(d=>!!(d.hideToggle||d.disabled||d.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(ye(()=>e._containsFocus())).subscribe(()=>r.focusVia(t,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Le(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static{this.\u0275fac=function(t){return new(t||i)(u(DC,1),u(E),u(rt),u(pe),u(Tg,8),u(we,8),It("tabindex"))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,r){t&1&&J("click",function(){return r._toggle()})("keydown",function(a){return r._keydown(a)}),t&2&&(W("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),ft("height",r._getHeaderHeight()),P("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before")("_mat-animation-noopable",r._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:$e(e)]},standalone:!0,features:[ae,U],ngContentSelectors:xC,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(t,r){t&1&&(se(yC),w(0,"span",0),A(1),A(2,1),A(3,2),I(),te(4,wC,3,1,"span",1)),t&2&&(P("mat-content-hide-toggle",!r._showToggle()),j(4),ge(r._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font, var(--mat-app-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-app-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-app-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-app-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-app-title-medium-tracking))}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-app-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-app-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-app-on-surface-variant))}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Ig.indicatorRotate]},changeDetection:0})}}return i})();var b2=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0})}}return i})();var Mg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,Cg,Pi]})}}return i})();var Ag=["*"];var EC=".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}",Ad=class{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){let n=Math.max(...this.tracker);return n>1?this.rowCount+n-1:this.rowCount}update(n,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(n),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(t=>this._trackTile(t))}_trackTile(n){let e=this._findMatchingGap(n.colspan);return this._markTilePosition(e,n),this.columnIndex=e+n.colspan,new Od(this.rowIndex,e)}_findMatchingGap(n){n>this.tracker.length;let e=-1,t=-1;do{if(this.columnIndex+n>this.tracker.length){this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),t=this._findGapEndIndex(e);continue}if(e=this.tracker.indexOf(0,this.columnIndex),e==-1){this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),t=this._findGapEndIndex(e);continue}t=this._findGapEndIndex(e),this.columnIndex=e+1}while(t-e{class i{constructor(e,t){this._element=e,this._gridList=t,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(e){this._rowspan=Math.round(Ct(e))}get colspan(){return this._colspan}set colspan(e){this._colspan=Math.round(Ct(e))}_setStyle(e,t){this._element.nativeElement.style[e]=t}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Og,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(t,r){t&2&&W("rowspan",r.rowspan)("colspan",r.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],standalone:!0,features:[U],ngContentSelectors:Ag,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(t,r){t&1&&(se(),w(0,"div",0),A(1),I())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}}return i})();var SC=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/,qo=class{constructor(){this._rows=0,this._rowspan=0}init(n,e,t,r){this._gutterSize=Rg(n),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=t,this._direction=r}getBaseTileSize(n,e){return`(${n}% - (${this._gutterSize} * ${e}))`}getTilePosition(n,e){return e===0?"0":Qn(`(${n} + ${this._gutterSize}) * ${e}`)}getTileSize(n,e){return`(${n} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(n,e,t){let r=100/this._cols,o=(this._cols-1)/this._cols;this.setColStyles(n,t,r,o),this.setRowStyles(n,e,r,o)}setColStyles(n,e,t,r){let o=this.getBaseTileSize(t,r),a=this._direction==="rtl"?"right":"left";n._setStyle(a,this.getTilePosition(o,e)),n._setStyle("width",Qn(this.getTileSize(o,n.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(n){return`${this._rowspan} * ${this.getTileSize(n,1)}`}getComputedHeight(){return null}},Rd=class extends qo{constructor(n){super(),this.fixedRowHeight=n}init(n,e,t,r){super.init(n,e,t,r),this.fixedRowHeight=Rg(this.fixedRowHeight),SC.test(this.fixedRowHeight)}setRowStyles(n,e){n._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),n._setStyle("height",Qn(this.getTileSize(this.fixedRowHeight,n.rowspan)))}getComputedHeight(){return["height",Qn(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["height",null]),n._tiles&&n._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}},Fd=class extends qo{constructor(n){super(),this._parseRatio(n)}setRowStyles(n,e,t,r){let o=t/this.rowHeightRatio;this.baseTileHeight=this.getBaseTileSize(o,r),n._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),n._setStyle("paddingTop",Qn(this.getTileSize(this.baseTileHeight,n.rowspan)))}getComputedHeight(){return["paddingBottom",Qn(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["paddingBottom",null]),n._tiles.forEach(e=>{e._setStyle("marginTop",null),e._setStyle("paddingTop",null)})}_parseRatio(n){let e=n.split(":");e.length,this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}},Pd=class extends qo{setRowStyles(n,e){let t=100/this._rowspan,r=(this._rows-1)/this._rows,o=this.getBaseTileSize(t,r);n._setStyle("top",this.getTilePosition(o,e)),n._setStyle("height",Qn(this.getTileSize(o,n.rowspan)))}reset(n){n._tiles&&n._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}};function Qn(i){return`calc(${i})`}function Rg(i){return i.match(/([A-Za-z%]+)$/)?i:`${i}px`}var TC="fit",R2=(()=>{class i{constructor(e,t){this._element=e,this._dir=t,this._gutter="1px"}get cols(){return this._cols}set cols(e){this._cols=Math.max(1,Math.round(Ct(e)))}get gutterSize(){return this._gutter}set gutterSize(e){this._gutter=`${e??""}`}get rowHeight(){return this._rowHeight}set rowHeight(e){let t=`${e??""}`;t!==this._rowHeight&&(this._rowHeight=t,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){this.cols}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(e){this._tileStyler&&this._tileStyler.reset(this),e===TC?this._tileStyler=new Pd:e&&e.indexOf(":")>-1?this._tileStyler=new Fd(e):this._tileStyler=new Rd(e)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new Ad);let e=this._tileCoordinator,t=this._tiles.filter(o=>!o._gridList||o._gridList===this),r=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,t),this._tileStyler.init(this.gutterSize,e,this.cols,r),t.forEach((o,a)=>{let s=e.positions[a];this._tileStyler.setStyle(o,s.row,s.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(e){e&&(this._element.nativeElement.style[e[0]]=e[1])}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Re,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-grid-list"]],contentQueries:function(t,r,o){if(t&1&&he(o,IC,5),t&2){let a;S(a=T())&&(r._tiles=a)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(t,r){t&2&&W("cols",r.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],standalone:!0,features:[de([{provide:Og,useExisting:i}]),U],ngContentSelectors:Ag,decls:2,vars:0,template:function(t,r){t&1&&(se(),w(0,"div"),A(1),I())},styles:[EC],encapsulation:2,changeDetection:0})}}return i})(),Fg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[dd,K,dd,K]})}}return i})();var MC=["*"],Ls;function AC(){if(Ls===void 0&&(Ls=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(Ls=i.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Ls}function Wo(i){return AC()?.createHTML(i)||i}function Pg(i){return Error(`Unable to find icon with the name "${i}"`)}function OC(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Ng(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function Lg(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var Li=class{constructor(n,e,t){this.url=n,this.svgText=e,this.options=t}},RC=(()=>{class i{constructor(e,t,r,o){this._httpClient=e,this._sanitizer=t,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,t,r){return this.addSvgIconInNamespace("",e,t,r)}addSvgIconLiteral(e,t,r){return this.addSvgIconLiteralInNamespace("",e,t,r)}addSvgIconInNamespace(e,t,r,o){return this._addSvgIconConfig(e,t,new Li(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,r,o){let a=this._sanitizer.sanitize(Kn.HTML,r);if(!a)throw Lg(r);let s=Wo(a);return this._addSvgIconConfig(e,t,new Li("",s,o))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,r){return this._addSvgIconSetConfig(e,new Li(t,null,r))}addSvgIconSetLiteralInNamespace(e,t,r){let o=this._sanitizer.sanitize(Kn.HTML,t);if(!o)throw Lg(t);let a=Wo(o);return this._addSvgIconSetConfig(e,new Li("",a,r))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(Kn.RESOURCE_URL,e);if(!t)throw Ng(e);let r=this._cachedIconsByUrl.get(t);return r?He(js(r)):this._loadSvgIconFromConfig(new Li(e,null)).pipe(fi(o=>this._cachedIconsByUrl.set(t,o)),xe(o=>js(o)))}getNamedSvgIcon(e,t=""){let r=jg(t,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(t,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let a=this._iconSetConfigs.get(t);return a?this._getSvgFromIconSetConfigs(e,a):gu(Pg(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?He(js(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(xe(t=>js(t)))}_getSvgFromIconSetConfigs(e,t){let r=this._extractIconWithNameFromAnySet(e,t);if(r)return He(r);let o=t.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Ko(s=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(Kn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(l)),He(null)})));return mn(o).pipe(xe(()=>{let a=this._extractIconWithNameFromAnySet(e,t);if(!a)throw Pg(e);return a}))}_extractIconWithNameFromAnySet(e,t){for(let r=t.length-1;r>=0;r--){let o=t[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(fi(t=>e.svgText=t),xe(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?He(null):this._fetchIcon(e).pipe(fi(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,r){let o=e.querySelector(`[id="${t}"]`);if(!o)return null;let a=o.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,r);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),r);let s=this._svgElementFromString(Wo(""));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let r=t.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){let t=this._svgElementFromString(Wo("")),r=e.attributes;for(let o=0;oWo(l)),_u(()=>this._inProgressUrlFetches.delete(a)),xu());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,t,r){return this._svgIconConfigs.set(jg(e,t),r),this}_addSvgIconSetConfig(e,t){let r=this._iconSetConfigs.get(e);return r?r.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let r=0;rn?n.pathname+n.search:""}}var Vg=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],jC=Vg.map(i=>`[${i}]`).join(", "),VC=/^url\(['"]?#(.*?)['"]?\)$/,Z2=(()=>{class i{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}constructor(e,t,r,o,a,s){this._elementRef=e,this._iconRegistry=t,this._location=o,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Te.EMPTY,s&&(s.color&&(this.color=this._defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let r=e.childNodes[t];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),t.forEach(r=>e.classList.add(r)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences;t&&t.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(jC),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{let s=t[o],c=s.getAttribute(a),l=c?c.match(VC):null;if(l){let d=r.get(s);d||(d=[],r.set(s,d)),d.push({name:a,value:l[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,r]=this._splitIconName(e);t&&(this._svgNamespace=t),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,t).pipe(Ye(1)).subscribe(o=>this._setSvgElement(o),o=>{let a=`Error retrieving icon ${t}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(a))})}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(RC),It("aria-hidden"),u(NC),u(Jo),u(PC,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,r){t&2&&(W("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),qe(r.color?"mat-"+r.color:""),P("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",O],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ae,U],ngContentSelectors:MC,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return i})(),Bg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,K]})}}return i})();var zg=Bt({passive:!0}),Hg=(()=>{class i{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Bi;let t=zt(e),r=this._monitoredElements.get(t);if(r)return r.subject;let o=new R,a="cdk-text-field-autofilled",s=c=>{c.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,zg),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:o,unlisten:()=>{t.removeEventListener("animationstart",s,zg)}}),o}stopMonitoring(e){let t=zt(e),r=this._monitoredElements.get(t);r&&(r.unlisten(),r.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(V))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Ug=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({})}}return i})();var zC=new C("MAT_INPUT_VALUE_ACCESSOR"),HC=["button","checkbox","file","hidden","image","radio","range","reset","submit"],UC=0,bB=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=ut(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(rn.required)??!1}set required(e){this._required=ut(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Kl().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ut(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,r,o,a,s,c,l,d,h){this._elementRef=e,this._platform=t,this.ngControl=r,this._autofillMonitor=l,this._ngZone=d,this._formField=h,this._uid=`mat-input-${UC++}`,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new R,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(f=>Kl().has(f)),this._iOSKeyupListener=f=>{let b=f.target;!b.value&&b.selectionStart===0&&b.selectionEnd===0&&(b.setSelectionRange(1,1),b.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};let m=this._elementRef.nativeElement,p=m.nodeName.toLowerCase();this._inputValueAccessor=c||m,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new ln(s,r,a,o,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=p==="select",this._isTextarea=p==="textarea",this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=m.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){HC.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(di,10),u(An,8),u(On,8),u(dn),u(zC,10),u(Hg),u(V),u(Ri,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(t,r){t&1&&J("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),t&2&&(St("id",r.id)("disabled",r.disabled)("required",r.required),W("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),P("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[de([{provide:Vn,useExisting:i}]),Pe]})}}return i})(),Qg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,Bn,Bn,Ug,K]})}}return i})();function QC(i,n){i&1&&ie(0,"div",2)}var qC=new C("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var TB=(()=>{class i{constructor(e,t,r,o,a){this._elementRef=e,this._ngZone=t,this._changeDetectorRef=r,this._animationMode=o,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new z,this._mode="determinate",this._transitionendHandler=s=>{this.animationEnd.observers.length===0||!s.target||!s.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=o==="NoopAnimations",a&&(a.color&&(this.color=this._defaultColor=a.color),this.mode=a.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(e){this._color=e}get value(){return this._value}set value(e){this._value=qg(e||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=qg(e||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(V),u(pe),u(we,8),u(qC,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(t,r){t&2&&(W("aria-valuenow",r._isIndeterminate()?null:r.value)("mode",r.mode),qe("mat-"+r.color),P("_mat-animation-noopable",r._isNoopAnimation)("mdc-linear-progress--animation-ready",!r._isNoopAnimation)("mdc-linear-progress--indeterminate",r._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",$e],bufferValue:[2,"bufferValue","bufferValue",$e],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[ae,U],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(t,r){t&1&&(w(0,"div",0),ie(1,"div",1),te(2,QC,1,0,"div",2),I(),w(3,"div",3),ie(4,"span",4),I(),w(5,"div",5),ie(6,"span",4),I()),t&2&&(j(),ft("flex-basis",r._getBufferBarFlexBasis()),j(),ge(r.mode==="buffer"?2:-1),j(),ft("transform",r._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height),var(--mdc-linear-progress-active-indicator-height))}.cdk-high-contrast-active .mdc-linear-progress{outline-color:CanvasText}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-app-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.cdk-high-contrast-active .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}`],encapsulation:2,changeDetection:0})}}return i})();function qg(i,n=0,e=100){return Math.max(n,Math.min(e,i))}var Wg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K]})}}return i})();var WC=["*",[["mat-toolbar-row"]]],GC=["*","mat-toolbar-row"],$C=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0})}}return i})(),RB=(()=>{class i{constructor(e,t,r){this._elementRef=e,this._platform=t,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(oe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-toolbar"]],contentQueries:function(t,r,o){if(t&1&&he(o,$C,5),t&2){let a;S(a=T())&&(r._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(t,r){t&2&&(qe(r.color?"mat-"+r.color:""),P("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[U],ngContentSelectors:GC,decls:2,vars:0,template:function(t,r){t&1&&(se(WC),A(0),A(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-app-surface));color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-app-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-app-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-app-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-app-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-app-title-large-tracking));margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}}return i})();var Gg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,K]})}}return i})();var YC=["tooltip"],Kg=20;var Xg=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition({scrollThrottle:Kg})}});function KC(i){return()=>i.scrollStrategies.reposition({scrollThrottle:Kg})}var XC={provide:Xg,deps:[je],useFactory:KC};function ZC(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var JC=new C("mat-tooltip-default-options",{providedIn:"root",factory:ZC});var $g="tooltip-panel",Yg=Bt({passive:!0}),ek=8,tk=8,ik=24,nk=200,iz=(()=>{class i{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ut(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let t=ut(e);this._disabled!==t&&(this._disabled=t,t?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Ct(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Ct(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){let t=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(t)}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,t,r,o,a,s,c,l,d,h,m,p){this._overlay=e,this._elementRef=t,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=a,this._platform=s,this._ariaDescriber=c,this._focusMonitor=l,this._dir=h,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=rk,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new R,this._injector=F(Ee),this._scrollStrategy=d,this._document=p,m&&(this._showDelay=m.showDelay,this._hideDelay=m.hideDelay,m.position&&(this.position=m.position),m.positionAtOrigin&&(this.positionAtOrigin=m.positionAtOrigin),m.touchGestures&&(this.touchGestures=m.touchGestures),m.tooltipClass&&(this.tooltipClass=m.tooltipClass)),h.change.pipe($(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=ek}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe($(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,r])=>{e.removeEventListener(t,r,Yg)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,t){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(t);this._detach(),this._portal=this._portal||new hn(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe($(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let t=this._tooltipInstance;t&&(t.isVisible()?t.hide(e):(t._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof E)return this._overlayRef;this._detach()}let t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return r.positionChanges.pipe($(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${$g}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe($(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe($(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe($(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!Le(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let t=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();t.withPositions([this._addOffset(B(B({},r.main),o.main)),this._addOffset(B(B({},r.fallback),o.fallback))])}_addOffset(e){let t=tk,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-t:e.originY==="bottom"?e.offsetY=t:e.originX==="start"?e.offsetX=r?-t:t:e.originX==="end"&&(e.offsetX=r?t:-t),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",t=this.position,r;t=="above"||t=="below"?r={originX:"center",originY:t=="above"?"top":"bottom"}:t=="before"||t=="left"&&e||t=="right"&&!e?r={originX:"start",originY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",t=this.position,r;t=="above"?r={overlayX:"center",overlayY:"bottom"}:t=="below"?r={overlayX:"center",overlayY:"top"}:t=="before"||t=="left"&&e||t=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),et(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return this.position==="above"||this.position==="below"?t==="top"?t="bottom":t==="bottom"&&(t="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){let{overlayY:t,originX:r,originY:o}=e,a;if(t==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=t==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let c=`${this._cssClassPrefix}-${$g}-`;s.removePanelClass(c+this._currentPosition),s.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let t;e.x!==void 0&&e.y!==void 0&&(t=e),this.show(void 0,t)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let t=e.targetTouches?.[0],r=t?{x:t.clientX,y:t.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",t=>{let r=t.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",t=>this._wheelListener(t)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,r])=>{this._elementRef.nativeElement.addEventListener(t,r,Yg)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let t=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;t!==r&&!r.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let t=this._elementRef.nativeElement,r=t.style;(e==="on"||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!t.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(t){return new(t||i)(u(je),u(E),u(un),u(Qe),u(V),u(me),u(df),u(rt),u(Xg),u(Re),u(JC,8),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return i})(),rk=(()=>{class i{constructor(e,t,r){this._changeDetectorRef=e,this._elementRef=t,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=r==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>ik&&e.width>=nk}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let t=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(t.classList.remove(e?o:r),t.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(t);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tooltip-component"]],viewQuery:function(t,r){if(t&1&&re(YC,7),t&2){let o;S(o=T())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(t,r){t&1&&J("mouseleave",function(a){return r._handleMouseLeave(a)})},standalone:!0,features:[U],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(t,r){if(t&1){let o=Ge();w(0,"div",1,0),J("animationend",function(s){return ce(o),le(r._handleAnimationEnd(s))}),w(2,"div",2),Tt(3),I()()}t&2&&(P("mdc-tooltip--multiline",r._isMultiline),ue("ngClass",r.tooltipClass),j(3),ri(r.message))},dependencies:[ra],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return i})();var Zg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({providers:[XC],imports:[Es,yt,ti,K,K,Qt]})}}return i})();var ok=["trigger"],ak=["panel"],sk=[[["mat-select-trigger"]],"*"],ck=["mat-select-trigger","*"];function lk(i,n){if(i&1&&(w(0,"span",4),Tt(1),I()),i&2){let e=fe();j(),ri(e.placeholder)}}function dk(i,n){i&1&&A(0)}function uk(i,n){if(i&1&&(w(0,"span",11),Tt(1),I()),i&2){let e=fe(2);j(),ri(e.triggerValue)}}function hk(i,n){if(i&1&&(w(0,"span",5),te(1,dk,1,0)(2,uk,2,1,"span",11),I()),i&2){let e=fe();j(),ge(e.customTrigger?1:2)}}function mk(i,n){if(i&1){let e=Ge();w(0,"div",12,1),J("@transformPanel.done",function(r){ce(e);let o=fe();return le(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){ce(e);let o=fe();return le(o._handleKeydown(r))}),A(2,1),I()}if(i&2){let e=fe();Ou("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),ue("ngClass",e.panelClass)("@transformPanel","showing"),W("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var pk={transformPanelWrap:gt("transformPanelWrap",[Ze("* => void",Wu("@transformPanel",[qu()],{optional:!0}))]),transformPanel:gt("transformPanel",[it("void",Oe({opacity:0,transform:"scale(1, 0.8)"})),Ze("void => showing",Xe("120ms cubic-bezier(0, 0, 0.2, 1)",Oe({opacity:1,transform:"scale(1, 1)"}))),Ze("* => void",Xe("100ms linear",Oe({opacity:0})))])};var Jg=0,eb=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}});function fk(i){return()=>i.scrollStrategies.reposition()}var gk=new C("MAT_SELECT_CONFIG"),bk={provide:eb,deps:[je],useFactory:fk},vk=new C("MatSelectTrigger"),Nd=class{constructor(n,e){this.source=n,this.value=e}},Oz=(()=>{class i{_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let r=this.panel.nativeElement,o=Ts(e,this.options,this.optionGroups),a=t._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=Ms(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new Nd(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(rn.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,r,o,a,s,c,l,d,h,m,p,f,b){this._viewportRuler=e,this._changeDetectorRef=t,this._elementRef=a,this._dir=s,this._parentFormField=d,this.ngControl=h,this._liveAnnouncer=f,this._defaultOptions=b,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(_,v)=>_===v,this._uid=`mat-select-${Jg++}`,this._triggerAriaLabelledBy=null,this._destroy=new R,this.stateChanges=new R,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${Jg++}`,this._panelDoneAnimatingStream=new R,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new R,this.optionSelectionChanges=zi(()=>{let _=this.options;return _?_.changes.pipe(Me(_),at(()=>Fe(..._.map(v=>v.onSelectionChange)))):this._initialized.pipe(at(()=>this.optionSelectionChanges))}),this.openedChange=new z,this._openedStream=this.openedChange.pipe(ye(_=>_),xe(()=>{})),this._closedStream=this.openedChange.pipe(ye(_=>!_),xe(()=>{})),this.selectionChange=new z,this.valueChange=new z,this._trackedModal=null,this._skipPredicate=_=>this.panelOpen?!1:_.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),b?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=b.typeaheadDebounceInterval),this._errorStateTracker=new ln(o,h,l,c,this.stateChanges),this._scrollStrategyFactory=p,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new ps(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Di(),$(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe($(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe($(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Me(null),$(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&sn(this._trackedModal,"aria-owns",t),Fr(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;sn(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,r=t===40||t===38||t===37||t===39,o=t===13||t===32,a=this._keyManager;if(!a.isTyping()&&o&&!Le(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let c=this.selected;c&&s!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,r=e.keyCode,o=r===40||r===38,a=t.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&t.activeItem&&!Le(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(s?c.select():c.deselect())})}else{let s=t.activeItemIndex;t.onKeydown(e),this._multiple&&o&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==s&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ye(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return r.value!=null&&this._compareWith(r.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Bo?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Ar(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Fe(this.options.changes,this._destroy);this.optionSelectionChanges.pipe($(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Fe(...this.options.map(t=>t._stateChanges)).pipe($(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let r=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,r)=>this.sortComparator?this.sortComparator(t,r,e):e.indexOf(t)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(r=>r.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(t){return new(t||i)(u(Dt),u(pe),u(V),u(dn),u(E),u(Re,8),u(An,8),u(On,8),u(Ri,8),u(di,10),It("tabindex"),u(eb),u(mf),u(gk,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-select"]],contentQueries:function(t,r,o){if(t&1&&(he(o,vk,5),he(o,Ss,5),he(o,No,5)),t&2){let a;S(a=T())&&(r.customTrigger=a.first),S(a=T())&&(r.options=a),S(a=T())&&(r.optionGroups=a)}},viewQuery:function(t,r){if(t&1&&(re(ok,5),re(ak,5),re(Dd,5)),t&2){let o;S(o=T())&&(r.trigger=o.first),S(o=T())&&(r.panel=o.first),S(o=T())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,r){t&1&&J("keydown",function(a){return r._handleKeydown(a)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),t&2&&(W("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),P("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",O],disableRipple:[2,"disableRipple","disableRipple",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:$e(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",O],placeholder:"placeholder",required:[2,"required","required",O],multiple:[2,"multiple","multiple",O],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",O],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",$e],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[de([{provide:Vn,useExisting:i},{provide:Po,useExisting:i}]),ae,Pe,U],ngContentSelectors:ck,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,r){if(t&1){let o=Ge();se(sk),w(0,"div",2,0),J("click",function(){return ce(o),le(r.open())}),w(3,"div",3),te(4,lk,2,1,"span",4)(5,hk,3,1,"span",5),I(),w(6,"div",6)(7,"div",7),Wt(),w(8,"svg",8),ie(9,"path",9),I()()()(),te(10,mk,3,9,"ng-template",10),J("backdropClick",function(){return ce(o),le(r.close())})("attach",function(){return ce(o),le(r._onAttached())})("detach",function(){return ce(o),le(r.close())})}if(t&2){let o=$t(1);j(3),W("id",r._valueId),j(),ge(r.empty?4:5),j(6),ue("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)}},dependencies:[Bo,Dd,ra],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[pk.transformPanel]},changeDetection:0})}}return i})();var tb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({providers:[bk],imports:[yt,ti,Nr,K,Qt,Bn,Nr,K]})}}return i})();var ib=["*"],_k=["content"],yk=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],xk=["mat-drawer","mat-drawer-content","*"];function wk(i,n){if(i&1){let e=Ge();w(0,"div",1),J("click",function(){ce(e);let r=fe();return le(r._onBackdropClicked())}),I()}if(i&2){let e=fe();P("mat-drawer-shown",e._isShowingBackdrop())}}function Ck(i,n){i&1&&(w(0,"mat-drawer-content"),A(1,2),I())}var kk={transformDrawer:gt("transform",[it("open, open-instant",Oe({transform:"none",visibility:"visible"})),it("void",Oe({"box-shadow":"none",visibility:"hidden"})),Ze("void => open-instant",Xe("0ms")),Ze("void <=> open, open-instant => void",Xe("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};var Dk=new C("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:Ek}),nb=new C("MAT_DRAWER_CONTAINER");function Ek(){return!1}var Ld=(()=>{class i extends Fi{constructor(e,t,r,o,a){super(r,o,a),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(Lt(()=>Sk)),u(E),u(un),u(V))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,r){t&2&&ft("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px")},standalone:!0,features:[de([{provide:Fi,useExisting:i}]),ne,U],ngContentSelectors:ib,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},encapsulation:2,changeDetection:0})}}return i})(),Ik=(()=>{class i{get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=ut(e)}get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=ut(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(ut(e))}constructor(e,t,r,o,a,s,c,l){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=r,this._platform=o,this._ngZone=a,this._interactivityChecker=s,this._doc=c,this._container=l,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new R,this._animationEnd=new R,this._animationState="void",this.openedChange=new z(!0),this._openedStream=this.openedChange.pipe(ye(d=>d),xe(()=>{})),this.openedStart=this._animationStarted.pipe(ye(d=>d.fromState!==d.toState&&d.toState.indexOf("open")===0),ec(void 0)),this._closedStream=this.openedChange.pipe(ye(d=>!d),xe(()=>{})),this.closedStart=this._animationStarted.pipe(ye(d=>d.fromState!==d.toState&&d.toState==="void"),ec(void 0)),this._destroyed=new R,this.onPositionChanged=new z,this._modeChanged=new R,this._injector=F(Ee),this._changeDetectorRef=F(pe),this.openedChange.pipe($(this._destroyed)).subscribe(d=>{d?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Nt(this._elementRef.nativeElement,"keydown").pipe(ye(d=>d.keyCode===27&&!this.disableClose&&!Le(d)),$(this._destroyed)).subscribe(d=>this._ngZone.run(()=>{this.close(),d.stopPropagation(),d.preventDefault()}))}),this._animationEnd.pipe(Di((d,h)=>d.fromState===h.fromState&&d.toState===h.toState)).subscribe(d=>{let{fromState:h,toState:m}=d;(m.indexOf("open")===0&&h==="void"||m==="void"&&h.indexOf("open")===0)&&this.openedChange.emit(this._opened)})}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,t)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":et(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);let r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,t,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(r)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(Ye(1)).subscribe(a=>o(a?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let t=this._elementRef.nativeElement,r=t.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,t)),r.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Pr),u(rt),u(me),u(V),u(Nn),u(oe,8),u(nb,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-drawer"]],viewQuery:function(t,r){if(t&1&&re(_k,5),t&2){let o;S(o=T())&&(r._content=o.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,r){t&1&&Fu("@transform.start",function(a){return r._animationStarted.next(a)})("@transform.done",function(a){return r._animationEnd.next(a)}),t&2&&(Ru("@transform",r._animationState),W("align",null),P("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-drawer-opened",r.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[U],ngContentSelectors:ib,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,r){t&1&&(se(),w(0,"div",1,0),A(2),I())},dependencies:[Fi],encapsulation:2,data:{animation:[kk.transformDrawer]},changeDetection:0})}}return i})(),Sk=(()=>{class i{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=ut(e)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:ut(e)}get scrollable(){return this._userContent||this._content}constructor(e,t,r,o,a,s=!1,c){this._dir=e,this._element=t,this._ngZone=r,this._changeDetectorRef=o,this._animationMode=c,this._drawers=new Gt,this.backdropClick=new z,this._destroyed=new R,this._doCheckSubject=new R,this._contentMargins={left:null,right:null},this._contentMarginChanges=new R,this._injector=F(Ee),e&&e.change.pipe($(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),a.change().pipe($(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}ngAfterContentInit(){this._allDrawers.changes.pipe(Me(this._allDrawers),$(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Me(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(pi(10),$(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,t-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")t+=this._right._getWidth();else if(this._right.mode=="push"){let r=this._right._getWidth();t+=r,e-=r}}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(ye(t=>t.fromState!==t.toState),$(this._drawers.changes)).subscribe(t=>{t.toState!=="open-instant"&&this._animationMode!=="NoopAnimations"&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe($(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe($(this._drawers.changes)).subscribe(()=>{et(()=>{this._validateDrawers()},{injector:this._injector,phase:Au.Read})})}_watchDrawerMode(e){e&&e._modeChanged.pipe($(Fe(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let t=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?t.add(r):t.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static{this.\u0275fac=function(t){return new(t||i)(u(Re,8),u(E),u(V),u(pe),u(Dt),u(Dk),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-drawer-container"]],contentQueries:function(t,r,o){if(t&1&&(he(o,Ld,5),he(o,Ik,5)),t&2){let a;S(a=T())&&(r._content=a.first),S(a=T())&&(r._allDrawers=a)}},viewQuery:function(t,r){if(t&1&&re(Ld,5),t&2){let o;S(o=T())&&(r._userContent=o.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[de([{provide:nb,useExisting:i}]),U],ngContentSelectors:xk,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,r){t&1&&(se(yk),te(0,wk,1,2,"div",0),A(1),A(2,1),te(3,Ck,2,0,"mat-drawer-content")),t&2&&(ge(r.hasBackdrop?0:-1),j(3),ge(r._content?-1:3))},dependencies:[Ld],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return i})();var rb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,Qt,Qt,K]})}}return i})();var Br=["*"];function Tk(i,n){i&1&&A(0)}var sb=["tabListContainer"],cb=["tabList"],lb=["tabListInner"],db=["nextPaginator"],ub=["previousPaginator"],Mk=i=>({animationDuration:i}),Ak=(i,n)=>({value:i,params:n});function Ok(i,n){}var Rk=["tabBodyWrapper"],Fk=["tabHeader"];function Pk(i,n){}function Nk(i,n){if(i&1&&te(0,Pk,0,0,"ng-template",12),i&2){let e=fe().$implicit;ue("cdkPortalOutlet",e.templateLabel)}}function Lk(i,n){if(i&1&&Tt(0),i&2){let e=fe().$implicit;ri(e.textLabel)}}function jk(i,n){if(i&1){let e=Ge();w(0,"div",7,2),J("click",function(){let r=ce(e),o=r.$implicit,a=r.$index,s=fe(),c=$t(1);return le(s._handleClick(o,c,a))})("cdkFocusChange",function(r){let o=ce(e).$index,a=fe();return le(a._tabFocusChanged(r,o))}),ie(2,"span",8)(3,"div",9),w(4,"span",10)(5,"span",11),te(6,Nk,1,1,null,12)(7,Lk,1,1),I()()()}if(i&2){let e=n.$implicit,t=n.$index,r=$t(1),o=fe();qe(e.labelClass),P("mdc-tab--active",o.selectedIndex===t),ue("id",o._getTabLabelId(t))("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),W("tabIndex",o._getTabIndex(t))("aria-posinset",t+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(t))("aria-selected",o.selectedIndex===t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),j(3),ue("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),j(3),ge(e.templateLabel?6:7)}}function Vk(i,n){i&1&&A(0)}function Bk(i,n){if(i&1){let e=Ge();w(0,"mat-tab-body",13),J("_onCentered",function(){ce(e);let r=fe();return le(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){ce(e);let o=fe();return le(o._setTabBodyWrapperHeight(r))}),I()}if(i&2){let e=n.$implicit,t=n.$index,r=fe();qe(e.bodyClass),P("mat-mdc-tab-body-active",r.selectedIndex===t),ue("id",r._getTabContentId(t))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),W("tabindex",r.contentTabIndex!=null&&r.selectedIndex===t?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(t))("aria-hidden",r.selectedIndex!==t)}}var zk=["mat-tab-nav-bar",""],Hk=["mat-tab-link",""],Uk=new C("MatTabContent"),Qk=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","matTabContent",""]],standalone:!0,features:[de([{provide:Uk,useExisting:i}])]})}}return i})(),qk=new C("MatTabLabel"),hb=new C("MAT_TAB"),Wk=(()=>{class i extends tg{constructor(e,t,r){super(e,t),this._closestTab=r}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(Qe),u(hb,8))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[de([{provide:qk,useExisting:i}]),ne]})}}return i})(),mb=new C("MAT_TAB_GROUP"),Gk=(()=>{class i{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}constructor(e,t){this._viewContainerRef=e,this._closestTabGroup=t,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new R,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Et(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static{this.\u0275fac=function(t){return new(t||i)(u(Qe),u(mb,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab"]],contentQueries:function(t,r,o){if(t&1&&(he(o,Wk,5),he(o,Qk,7,Ae)),t&2){let a;S(a=T())&&(r.templateLabel=a.first),S(a=T())&&(r._explicitContent=a.first)}},viewQuery:function(t,r){if(t&1&&re(Ae,7),t&2){let o;S(o=T())&&(r._implicitContent=o.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",O],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[de([{provide:hb,useExisting:i}]),ae,Pe,U],ngContentSelectors:Br,decls:1,vars:0,template:function(t,r){t&1&&(se(),te(0,Tk,1,0,"ng-template"))},encapsulation:2})}}return i})(),jd="mdc-tab-indicator--active",ob="mdc-tab-indicator--no-transition",Vs=class{constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar())}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),t=this._currentItem;if(e!==t&&(t?.deactivateInkBar(),e)){let r=t?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},pb=(()=>{class i{constructor(){this._elementRef=F(E),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let t=this._elementRef.nativeElement;if(!e||!t.getBoundingClientRect||!this._inkBarContentElement){t.classList.add(jd);return}let r=t.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;t.classList.add(ob),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),t.getBoundingClientRect(),t.classList.remove(ob),t.classList.add(jd),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(jd)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,t=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");t.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",t.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",O]},features:[ae]})}}return i})();var fb=(()=>{class i extends pb{constructor(e){super(),this.elementRef=e,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,r){t&2&&(W("aria-disabled",!!r.disabled),P("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",O]},standalone:!0,features:[ae,ne]})}}return i})(),ab=Bt({passive:!0}),$k=650,Yk=100,gb=(()=>{class i{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let t=isNaN(e)?0:e;this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}constructor(e,t,r,o,a,s,c){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=r,this._dir=o,this._ngZone=a,this._platform=s,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new R,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new R,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new z,this.indexFocused=new z,this._sharedResizeObserver=F(Rs),this._injector=F(Ee),a.runOutsideAngular(()=>{Nt(e.nativeElement,"mouseleave").pipe($(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Nt(this._previousPaginator.nativeElement,"touchstart",ab).pipe($(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Nt(this._nextPaginator.nativeElement,"touchstart",ab).pipe($(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:He("ltr"),t=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(pi(32),$(this._destroyed)),r=this._viewportRuler.change(150).pipe($(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new an(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),et(o,{injector:this._injector}),Fe(e,r,t,this._items.changes,this._itemsResized()).pipe($(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?Bi:this._items.changes.pipe(Me(this._items),at(e=>new lt(t=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>t.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),Yn(1),ye(e=>e.some(t=>t.contentRect.width>0&&t.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Le(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let t=this._items.get(this.focusIndex);t&&!t.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let t=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?t.scrollLeft=0:t.scrollLeft=t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,t=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let t=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*t/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let t=this._items?this._items.toArray()[e]:null;if(!t)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=t.elementRef.nativeElement,s,c;this._getLayoutDirection()=="ltr"?(s=o,c=s+a):(c=this._tabListInner.nativeElement.offsetWidth-o,s=c-a);let l=this.scrollDistance,d=this.scrollDistance+r;sd&&(this.scrollDistance+=Math.min(c-d,s-l))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,t=this._elementRef.nativeElement.offsetWidth,r=e-t>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,t=this._tabListContainer.nativeElement.offsetWidth;return e-t||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&t.button!=null&&t.button!==0||(this._stopInterval(),vu($k,Yk).pipe($(Fe(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Dt),u(Re,8),u(V),u(me),u(we,8))}}static{this.\u0275dir=D({type:i,inputs:{disablePagination:[2,"disablePagination","disablePagination",O],selectedIndex:[2,"selectedIndex","selectedIndex",$e]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ae]})}}return i})(),Kk=(()=>{class i extends gb{constructor(e,t,r,o,a,s,c){super(e,t,r,o,a,s,c),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new Vs(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Dt),u(Re,8),u(V),u(me),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-header"]],contentQueries:function(t,r,o){if(t&1&&he(o,fb,4),t&2){let a;S(a=T())&&(r._items=a)}},viewQuery:function(t,r){if(t&1&&(re(sb,7),re(cb,7),re(lb,7),re(db,5),re(ub,5)),t&2){let o;S(o=T())&&(r._tabListContainer=o.first),S(o=T())&&(r._tabList=o.first),S(o=T())&&(r._tabListInner=o.first),S(o=T())&&(r._nextPaginator=o.first),S(o=T())&&(r._previousPaginator=o.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(t,r){t&2&&P("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",O]},standalone:!0,features:[ae,ne,U],ngContentSelectors:Br,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(t,r){if(t&1){let o=Ge();se(),w(0,"div",5,0),J("click",function(){return ce(o),le(r._handlePaginatorClick("before"))})("mousedown",function(s){return ce(o),le(r._handlePaginatorPress("before",s))})("touchend",function(){return ce(o),le(r._stopInterval())}),ie(2,"div",6),I(),w(3,"div",7,1),J("keydown",function(s){return ce(o),le(r._handleKeydown(s))}),w(5,"div",8,2),J("cdkObserveContent",function(){return ce(o),le(r._onContentChanges())}),w(7,"div",9,3),A(9),I()()(),w(10,"div",10,4),J("mousedown",function(s){return ce(o),le(r._handlePaginatorPress("after",s))})("click",function(){return ce(o),le(r._handlePaginatorClick("after"))})("touchend",function(){return ce(o),le(r._stopInterval())}),ie(12,"div",6),I()}t&2&&(P("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),ue("matRippleDisabled",r._disableScrollBefore||r.disableRipple),j(3),P("_mat-animation-noopable",r._animationMode==="NoopAnimations"),j(2),W("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),j(5),P("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),ue("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[ei,Xl],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}}return i})(),bb=new C("MAT_TABS_CONFIG"),Xk={translateTab:gt("translateTab",[it("center, void, left-origin-center, right-origin-center",Oe({transform:"none",visibility:"visible"})),it("left",Oe({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),it("right",Oe({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Ze("* => left, * => right, left => center, right => center",Xe("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Ze("void => left-origin-center",[Oe({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Xe("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Ze("void => right-origin-center",[Oe({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Xe("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},Zk=(()=>{class i extends hi{constructor(e,t,r,o){super(e,t,o),this._host=r,this._centeringSub=Te.EMPTY,this._leavingSub=Te.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Me(this._host._isCenterPosition(this._host._position))).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(fn),u(Qe),u(Lt(()=>vb)),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[ne]})}}return i})(),vb=(()=>{class i{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,t,r){this._elementRef=e,this._dir=t,this._dirChangeSubscription=Te.EMPTY,this._translateTabComplete=new R,this._onCentering=new z,this._beforeCentering=new z,this._afterLeavingCenter=new z,this._onCentered=new z(!0),this.animationDuration="500ms",this.preserveContent=!1,t&&(this._dirChangeSubscription=t.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(Di((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let t=this._getLayoutDirection();return t=="ltr"&&e<=0||t=="rtl"&&e>0?"left-origin-center":"right-origin-center"}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Re,8),u(pe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-body"]],viewQuery:function(t,r){if(t&1&&re(hi,5),t&2){let o;S(o=T())&&(r._portalHost=o.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[U],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(t,r){if(t&1){let o=Ge();w(0,"div",1,0),J("@translateTab.start",function(s){return ce(o),le(r._onTranslateTabStarted(s))})("@translateTab.done",function(s){return ce(o),le(r._translateTabComplete.next(s))}),te(2,Ok,0,0,"ng-template",2),I()}t&2&&ue("@translateTab",ju(3,Ak,r._position,Lu(1,Mk,r.animationDuration)))},dependencies:[Zk,Fi],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Xk.translateTab]}})}}return i})(),Jk=0,eD=!0,IH=(()=>{class i{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}get animationDuration(){return this._animationDuration}set animationDuration(e){let t=e+"";this._animationDuration=/^\d+$/.test(t)?e+"ms":t}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!eD)throw new Error("mat-tab-group background color must be set through the Sass theming API");let t=this._elementRef.nativeElement.classList;t.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&t.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,t,r,o){this._elementRef=e,this._changeDetectorRef=t,this._animationMode=o,this._tabs=new Gt,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Te.EMPTY,this._tabLabelSubscription=Te.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new z,this.focusChange=new z,this.animationDone=new z,this.selectedTabChange=new z(!0),this._isServer=!F(me).isBrowser,this._groupId=Jk++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=r&&r.disablePagination!=null?r.disablePagination:!1,this.dynamicHeight=r&&r.dynamicHeight!=null?r.dynamicHeight:!1,r?.contentTabIndex!=null&&(this.contentTabIndex=r.contentTabIndex),this.preserveContent=!!r?.preserveContent,this.fitInkBarToContent=r&&r.fitInkBarToContent!=null?r.fitInkBarToContent:!1,this.stretchTabs=r&&r.stretchTabs!=null?r.stretchTabs:!0}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let t=this._selectedIndex==null;if(!t){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,r)=>{t.position=r-e,this._selectedIndex!=null&&t.position==0&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let t=this._tabs.toArray(),r;for(let o=0;o{t[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Me(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(t=>t._closestTabGroup===this||!t._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let t=this._tabHeader;t&&(t.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let t=new Vd;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Fe(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,r){t.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let t=this._lastFocusedTabIndex??this.selectedIndex;return e===t?0:-1}_tabFocusChanged(e,t){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=t)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(bb,8),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-group"]],contentQueries:function(t,r,o){if(t&1&&he(o,Gk,5),t&2){let a;S(a=T())&&(r._allTabs=a)}},viewQuery:function(t,r){if(t&1&&(re(Rk,5),re(Fk,5)),t&2){let o;S(o=T())&&(r._tabBodyWrapper=o.first),S(o=T())&&(r._tabHeader=o.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(t,r){t&2&&(qe("mat-"+(r.color||"primary")),ft("--mat-tab-animation-duration",r.animationDuration),P("mat-mdc-tab-group-dynamic-height",r.dynamicHeight)("mat-mdc-tab-group-inverted-header",r.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",r.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",O],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",O],dynamicHeight:[2,"dynamicHeight","dynamicHeight",O],selectedIndex:[2,"selectedIndex","selectedIndex",$e],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",$e],disablePagination:[2,"disablePagination","disablePagination",O],disableRipple:[2,"disableRipple","disableRipple",O],preserveContent:[2,"preserveContent","preserveContent",O],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[de([{provide:mb,useExisting:i}]),ae,U],ngContentSelectors:Br,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(t,r){if(t&1){let o=Ge();se(),w(0,"mat-tab-header",3,0),J("indexFocused",function(s){return ce(o),le(r._focusChanged(s))})("selectFocusedIndex",function(s){return ce(o),le(r.selectedIndex=s)}),rc(2,jk,8,17,"div",4,nc),I(),te(4,Vk,1,0),w(5,"div",5,1),rc(7,Bk,1,13,"mat-tab-body",6,nc),I()}t&2&&(ue("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),j(2),oc(r._tabs),j(2),ge(r._isServer?4:-1),j(),P("_mat-animation-noopable",r._animationMode==="NoopAnimations"),j(2),oc(r._tabs))},dependencies:[Kk,fb,pf,ei,hi,vb],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}}return i})(),Vd=class{},_b=0,tD=(()=>{class i extends gb{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(e),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(e){let t=e+"";this._animationDuration=/^\d+$/.test(t)?e+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let t=this._elementRef.nativeElement.classList;t.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&t.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,t,r,o,a,s,c,l){super(e,o,a,t,r,s,c),this._fitInkBarToContent=new Vi(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=l&&l.disablePagination!=null?l.disablePagination:!1,this.fitInkBarToContent=l&&l.fitInkBarToContent!=null?l.fitInkBarToContent:!1,this.stretchTabs=l&&l.stretchTabs!=null?l.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new Vs(this._items),this._items.changes.pipe(Me(null),$(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let e=this._items.toArray();for(let t=0;t.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}}return i})(),iD=(()=>{class i extends pb{get active(){return this._isActive}set active(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(e,t,r,o,a,s){super(),this._tabNavBar=e,this.elementRef=t,this._focusMonitor=a,this._destroyed=new R,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id=`mat-tab-link-${_b++}`,this.rippleConfig=r||{},this.tabIndex=parseInt(o)||0,s==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),e._fitInkBarToContent.pipe($(this._destroyed)).subscribe(c=>{this.fitInkBarToContent=c})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(this.disabled?e.preventDefault():this._tabNavBar.tabPanel&&(e.keyCode===32&&e.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex}static{this.\u0275fac=function(t){return new(t||i)(u(tD),u(E),u(Ln,8),It("tabindex"),u(rt),u(we,8))}}static{this.\u0275cmp=H({type:i,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(t,r){t&1&&J("focus",function(){return r._handleFocus()})("keydown",function(a){return r._handleKeydown(a)}),t&2&&(W("aria-controls",r._getAriaControls())("aria-current",r._getAriaCurrent())("aria-disabled",r.disabled)("aria-selected",r._getAriaSelected())("id",r.id)("tabIndex",r._getTabIndex())("role",r._getRole()),P("mat-mdc-tab-disabled",r.disabled)("mdc-tab--active",r.active))},inputs:{active:[2,"active","active",O],disabled:[2,"disabled","disabled",O],disableRipple:[2,"disableRipple","disableRipple",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:$e(e)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[ae,ne,U],attrs:Hk,ngContentSelectors:Br,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(t,r){t&1&&(se(),ie(0,"span",0)(1,"div",1),w(2,"span",2)(3,"span",3),A(4),I()()),t&2&&(j(),ue("matRippleTrigger",r.elementRef.nativeElement)("matRippleDisabled",r.rippleDisabled))},dependencies:[ei],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}}return i})(),SH=(()=>{class i{constructor(){this.id=`mat-tab-nav-panel-${_b++}`}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(t,r){t&2&&W("aria-labelledby",r._activeTabId)("id",r.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[U],ngContentSelectors:Br,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},encapsulation:2,changeDetection:0})}}return i})(),yb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,K]})}}return i})();var Bd=class{constructor(n,e){this._document=e;let t=this._textarea=this._document.createElement("textarea"),r=t.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",t.setAttribute("aria-hidden","true"),t.value=n,t.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(t)}copy(){let n=this._textarea,e=!1;try{if(n){let t=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),t&&t.focus()}}catch{}return e}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},nD=(()=>{class i{constructor(e){this._document=e}copy(e){let t=this.beginCopy(e),r=t.copy();return t.destroy(),r}beginCopy(e){return new Bd(e,this._document)}static{this.\u0275fac=function(t){return new(t||i)(x(oe))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),rD=new C("CDK_COPY_TO_CLIPBOARD_CONFIG"),VH=(()=>{class i{constructor(e,t,r){this._clipboard=e,this._ngZone=t,this.text="",this.attempts=1,this.copied=new z,this._pending=new Set,r&&r.attempts!=null&&(this.attempts=r.attempts)}copy(e=this.attempts){if(e>1){let t=e,r=this._clipboard.beginCopy(this.text);this._pending.add(r);let o=()=>{let a=r.copy();!a&&--t&&!this._destroyed?this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(o,1)):(this._currentTimeout=null,this._pending.delete(r),r.destroy(),this.copied.emit(a))};o()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}static{this.\u0275fac=function(t){return new(t||i)(u(nD),u(V),u(rD,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,r){t&1&&J("click",function(){return r.copy()})},inputs:{text:[0,"cdkCopyToClipboard","text"],attempts:[0,"cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"},standalone:!0})}}return i})(),xb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({})}}return i})();var oD=["panel"],aD=["*"];function sD(i,n){if(i&1){let e=Ge();w(0,"div",1,0),J("@panelAnimation.done",function(r){ce(e);let o=fe();return le(o._animationDone.next(r))}),A(2),I()}if(i&2){let e=n.id,t=fe();qe(t._classList),P("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),ue("id",t.id)("@panelAnimation",t.isOpen?"visible":"hidden"),W("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}var cD=gt("panelAnimation",[it("void, hidden",Oe({opacity:0,transform:"scaleY(0.8)"})),Ze(":enter, hidden => visible",[Qu([Xe("0.03s linear",Oe({opacity:1})),Xe("0.12s cubic-bezier(0, 0, 0.2, 1)",Oe({transform:"scaleY(1)"}))])]),Ze(":leave, visible => hidden",[Xe("0.075s linear",Oe({opacity:0}))])]),lD=0,zd=class{constructor(n,e){this.source=n,this.option=e}},wb=new C("mat-autocomplete-default-options",{providedIn:"root",factory:dD});function dD(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var pU=(()=>{class i{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}constructor(e,t,r,o){this._changeDetectorRef=e,this._elementRef=t,this._defaults=r,this._activeOptionChanges=Te.EMPTY,this._animationDone=new z,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new z,this.opened=new z,this.closed=new z,this.optionActivated=new z,this.id=`mat-autocomplete-${lD++}`,this.inertGroups=o?.SAFARI||!1,this.autoActiveFirstOption=!!r.autoActiveFirstOption,this.autoSelectActiveOption=!!r.autoSelectActiveOption,this.requireSelection=!!r.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Ar(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let t=new zd(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_skipPredicate(){return!1}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(wb),u(me))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-autocomplete"]],contentQueries:function(t,r,o){if(t&1&&(he(o,Ss,5),he(o,No,5)),t&2){let a;S(a=T())&&(r.options=a),S(a=T())&&(r.optionGroups=a)}},viewQuery:function(t,r){if(t&1&&(re(Ae,7),re(oD,5)),t&2){let o;S(o=T())&&(r.template=o.first),S(o=T())&&(r.panel=o.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",O],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",O],requireSelection:[2,"requireSelection","requireSelection",O],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",O],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",O]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[de([{provide:Po,useExisting:i}]),ae,U],ngContentSelectors:aD,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(t,r){t&1&&(se(),te(0,sD,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[cD]},changeDetection:0})}}return i})();var uD={provide:Mn,useExisting:Lt(()=>pD),multi:!0};var Cb=new C("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}});function hD(i){return()=>i.scrollStrategies.reposition()}var mD={provide:Cb,deps:[je],useFactory:hD},pD=(()=>{class i{constructor(e,t,r,o,a,s,c,l,d,h,m){this._element=e,this._overlay=t,this._viewContainerRef=r,this._zone=o,this._changeDetectorRef=a,this._dir=c,this._formField=l,this._document=d,this._viewportRuler=h,this._defaults=m,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Te.EMPTY,this._breakpointObserver=F(ys),this._handsetLandscapeSubscription=Te.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new R,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new R,this._injector=F(Ee),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=zi(()=>{let p=this.autocomplete?this.autocomplete.options:null;return p?p.changes.pipe(Me(p),at(()=>Fe(...p.map(f=>f.onSelectionChange)))):this._initialized.pipe(at(()=>this.optionSelections))}),this._handlePanelKeydown=p=>{(p.keyCode===27&&!Le(p)||p.keyCode===38&&Le(p,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),p.stopPropagation(),p.preventDefault())},this._trackedModal=null,this._scrollStrategy=s}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&sn(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Fe(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(ye(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(ye(()=>this._overlayAttached)):He()).pipe(xe(e=>e instanceof Fo?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Fe(Nt(this._document,"click"),Nt(this._document,"auxclick"),Nt(this._document,"touchend")).pipe(ye(e=>{let t=Ot(e),r=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(t))&&(!o||!o.contains(t))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(t)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let t=e.keyCode,r=Le(e);if(t===27&&!r&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&t===13&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let o=this.autocomplete._keyManager.activeItem,a=t===38||t===40;t===9||a&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(a||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let t=e.target,r=t.value;if(t.type==="number"&&(r=r==""?null:parseFloat(r)),this._previousValue!==r){if(this._previousValue=r,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(r),!r)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let o=this.autocomplete.options?.find(a=>a.selected);if(o){let a=this._getDisplayValue(o.value);r!==a&&o.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let o=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(o)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new lt(r=>{et(()=>{r.next()},{injector:this._injector})}),t=this.autocomplete.options.changes.pipe(fi(()=>this._positionStrategy.reapplyLastPosition()),Ur(0));return Fe(e,t).pipe(at(()=>this._zone.run(()=>{let r=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Ye(1)).subscribe(r=>this._setValueAndClose(r))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let t=this.autocomplete;return t&&t.displayWith?t.displayWith(e):e}_assignOptionValue(e){let t=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(t??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let t=this.autocomplete,r=e?e.source:this._pendingAutoselectedOption;r?(this._clearPreviousSelectedOption(r),this._assignOptionValue(r.value),this._onChange(r.value),t._emitSelectEvent(r),this._element.nativeElement.focus()):t.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),t._animationDone?t._animationDone.pipe(Ye(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,t){this.autocomplete?.options?.forEach(r=>{r!==e&&r.selected&&r.deselect(t)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let t=this.autocomplete.id;Fr(this._trackedModal,"aria-owns",t)}}_attachOverlay(e){this.autocomplete;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new Et(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(nf.HandsetLandscape).subscribe(o=>{o.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),t&&!t.hasAttached()&&(t.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let r=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&r!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Ci({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}],a;this.position==="above"?a=o:this.position==="below"?a=t:a=[...t,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let t=-1;for(let r=0;r .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=this.autocomplete.id;this._trackedModal&&sn(this._trackedModal,"aria-owns",t),Fr(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;sn(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(je),u(Qe),u(V),u(pe),u(Cb),u(Re,8),u(Ri,9),u(oe,8),u(Dt),u(wb,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(t,r){t&1&&J("focusin",function(){return r._handleFocus()})("blur",function(){return r._onTouched()})("input",function(a){return r._handleInput(a)})("keydown",function(a){return r._handleKeydown(a)})("click",function(){return r._handleClick()}),t&2&&W("autocomplete",r.autocompleteAttribute)("role",r.autocompleteDisabled?null:"combobox")("aria-autocomplete",r.autocompleteDisabled?null:"list")("aria-activedescendant",r.panelOpen&&r.activeOption?r.activeOption.id:null)("aria-expanded",r.autocompleteDisabled?null:r.panelOpen.toString())("aria-controls",r.autocompleteDisabled||!r.panelOpen||r.autocomplete==null?null:r.autocomplete.id)("aria-haspopup",r.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",O]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[de([uD]),ae,Pe]})}}return i})(),kb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({providers:[mD],imports:[ti,Nr,K,yt,Qt,Nr,K]})}}return i})();var gD=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],bD=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function vD(i,n){i&1&&(w(0,"span",3),A(1,1),I())}function _D(i,n){i&1&&(w(0,"span",6),A(1,2),I())}var yD='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width);border-radius:var(--mdc-chip-container-shape-radius);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-app-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-app-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.cdk-high-contrast-active .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}',xD=[[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],wD=["mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function CD(i,n){i&1&&ie(0,"span",0)}function kD(i,n){i&1&&(w(0,"span",2),A(1),I())}function DD(i,n){i&1&&A(0,1)}function ED(i,n){i&1&&ie(0,"span",7)}function ID(i,n){if(i&1&&te(0,DD,1,0)(1,ED,1,0,"span",7),i&2){let e=fe();ge(e.contentEditInput?0:1)}}function SD(i,n){i&1&&A(0,2)}function TD(i,n){i&1&&(w(0,"span",5),A(1,3),I())}var Ib=["*"],MD=".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",Sb=new C("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Ud=new C("MatChipAvatar"),Db=new C("MatChipTrailingIcon"),Qd=new C("MatChipRemove"),Gd=new C("MatChip"),Bs=(()=>{class i{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=e}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,t){this._elementRef=e,this._parentChip=t,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,e.nativeElement.nodeName==="BUTTON"&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Gd))}}static{this.\u0275dir=D({type:i,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(t,r){t&1&&J("click",function(a){return r._handleClick(a)})("keydown",function(a){return r._handleKeydown(a)}),t&2&&(W("tabindex",r._getTabindex())("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),P("mdc-evolution-chip__action--primary",r._isPrimary)("mdc-evolution-chip__action--presentational",!r.isInteractive)("mdc-evolution-chip__action--trailing",!r._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:$e(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[ae]})}}return i})(),VU=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],standalone:!0,features:[de([{provide:Ud,useExisting:i}])]})}}return i})();var BU=(()=>{class i extends Bs{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(t,r){t&2&&W("aria-hidden",null)},standalone:!0,features:[de([{provide:Qd,useExisting:i}]),ne]})}}return i})(),AD=0,qd=(()=>{class i{_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}constructor(e,t,r,o,a,s,c){this._changeDetectorRef=e,this._elementRef=t,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=c,this._onFocus=new R,this._onBlur=new R,this.role=null,this._hasFocusInternal=!1,this.id=`mat-mdc-chip-${AD++}`,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._chipListDisabled=!1,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this._disabled=!1,this.removed=new z,this.destroyed=new z,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=F(As),this._injector=F(Ee),this._document=a,this._animationsDisabled=s==="NoopAnimations",this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Fe(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(t=>{let r=t._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){let e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let t=e!==null;t!==this._hasFocusInternal&&(this._hasFocusInternal=t,t?this._onFocus.next({chip:this}):et(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(V),u(rt),u(oe),u(we,8),u(Ln,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,r,o){if(t&1&&(he(o,Ud,5),he(o,Db,5),he(o,Qd,5),he(o,Ud,5),he(o,Db,5),he(o,Qd,5)),t&2){let a;S(a=T())&&(r.leadingIcon=a.first),S(a=T())&&(r.trailingIcon=a.first),S(a=T())&&(r.removeIcon=a.first),S(a=T())&&(r._allLeadingIcons=a),S(a=T())&&(r._allTrailingIcons=a),S(a=T())&&(r._allRemoveIcons=a)}},viewQuery:function(t,r){if(t&1&&re(Bs,5),t&2){let o;S(o=T())&&(r.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(t,r){t&1&&J("keydown",function(a){return r._handleKeydown(a)}),t&2&&(St("id",r.id),W("role",r.role)("aria-label",r.ariaLabel),qe("mat-"+(r.color||"primary")),P("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-basic-chip",r._isBasicChip)("mat-mdc-standard-chip",!r._isBasicChip)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon())("_mat-animation-noopable",r._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",O],highlighted:[2,"highlighted","highlighted",O],disableRipple:[2,"disableRipple","disableRipple",O],disabled:[2,"disabled","disabled",O]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[de([{provide:Gd,useExisting:i}]),ae,U],ngContentSelectors:bD,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,r){t&1&&(se(gD),ie(0,"span",0),w(1,"span",1)(2,"span",2),te(3,vD,2,0,"span",3),w(4,"span",4),A(5),ie(6,"span",5),I()()(),te(7,_D,2,0,"span",6)),t&2&&(j(2),ue("isInteractive",!1),j(),ge(r.leadingIcon?3:-1),j(4),ge(r._hasTrailingIcon()?7:-1))},dependencies:[Bs],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width);border-radius:var(--mdc-chip-container-shape-radius);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-app-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-app-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.cdk-high-contrast-active .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();var Hd=(()=>{class i{constructor(e,t){this._elementRef=e,this._document=t}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);let t=window.getSelection();t.removeAllRanges(),t.addRange(e)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"],standalone:!0})}}return i})(),OD=(()=>{class i extends qd{constructor(e,t,r,o,a,s,c,l){super(e,t,r,o,a,s,c),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new z,this._isEditing=!1,this.role="row",this._onBlur.pipe($(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){e.keyCode===13&&!this.disabled?this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e):this._isEditing?e.stopPropagation():super._handleKeydown(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;let t=this.value;this._isEditing=this._editStartPending=!0,et(()=>{this._getEditInput().initialize(t),this._editStartPending=!1},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(V),u(rt),u(oe),u(we,8),u(Ln,8),It("tabindex"))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(t,r,o){if(t&1&&he(o,Hd,5),t&2){let a;S(a=T())&&(r.contentEditInput=a.first)}},viewQuery:function(t,r){if(t&1&&re(Hd,5),t&2){let o;S(o=T())&&(r.defaultEditInput=o.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(t,r){t&1&&J("focus",function(a){return r._handleFocus(a)})("dblclick",function(a){return r._handleDoubleclick(a)}),t&2&&(St("id",r.id),W("tabindex",r.disabled?null:-1)("aria-label",null)("aria-description",null)("role",r.role),P("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-chip-editing",r._isEditing)("mat-mdc-chip-editable",r.editable)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},standalone:!0,features:[de([{provide:qd,useExisting:i},{provide:Gd,useExisting:i}]),ne,U],ngContentSelectors:wD,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],["matChipEditInput",""]],template:function(t,r){t&1&&(se(xD),te(0,CD,1,0,"span",0),w(1,"span",1),te(2,kD,2,0,"span",2),w(3,"span",3),te(4,ID,2,1)(5,SD,1,0),ie(6,"span",4),I()(),te(7,TD,2,0,"span",5),w(8,"span",6),Tt(9),I()),t&2&&(ge(r._isEditing?-1:0),j(),ue("disabled",r.disabled),W("aria-label",r.ariaLabel)("aria-describedby",r._ariaDescriptionId),j(),ge(r.leadingIcon?2:-1),j(2),ge(r._isEditing?4:5),j(3),ge(r._hasTrailingIcon()?7:-1),j(),ue("id",r._ariaDescriptionId),j(),ri(r.ariaDescription))},dependencies:[Bs,Hd],styles:[yD],encapsulation:2,changeDetection:0})}}return i})(),RD=(()=>{class i{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,t,r){this._elementRef=e,this._changeDetectorRef=t,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new R,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new Gt}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(Me(null),at(()=>Fe(...this._chips.map(e))))}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-mdc-chip"))return!0;t=t.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Me(this._chips)).subscribe(e=>{let t=[];e.forEach(r=>r._getActions().forEach(o=>t.push(o))),this._chipActions.reset(t),this._chipActions.notifyOnChanges()}),this._keyManager=new an(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe($(this._destroyed)).subscribe(({chip:e})=>{let t=e._getSourceAction(document.activeElement);t&&this._keyManager.updateActiveItem(t)}),this._dir?.change.pipe($(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Me(null),$(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe($(this._destroyed)).subscribe(e=>{let r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),t=this._chips.toArray()[e];t.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():t.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Re,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-chip-set"]],contentQueries:function(t,r,o){if(t&1&&he(o,qd,5),t&2){let a;S(a=T())&&(r._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(t,r){t&1&&J("keydown",function(a){return r._handleKeydown(a)}),t&2&&W("role",r.role)},inputs:{disabled:[2,"disabled","disabled",O],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:$e(e)]},standalone:!0,features:[ae,U],ngContentSelectors:Ib,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,r){t&1&&(se(),w(0,"div",0),A(1),I())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}}return i})();var Wd=class{constructor(n,e){this.source=n,this.value=e}},zU=(()=>{class i extends RD{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(rn.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,r,o,a,s,c){super(e,t,r),this.ngControl=c,this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new z,this.valueChange=new z,this._chips=void 0,this.stateChanges=new R,this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new ln(s,c,a,o,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe($(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Fe(this.chipFocusChanges,this._chips.changes).pipe($(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){if(!(this.disabled||this._chipInput.focused)){if(!this._chips.length||this._chips.first.disabled)Promise.resolve().then(()=>this._chipInput.focus());else{let e=this._keyManager.activeItem;e?e.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){let t=e.keyCode,r=this._keyManager.activeItem;if(t===9)this._chipInput.focused&&Le(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),r?this._keyManager.setActiveItem(r):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput.focused)if((t===38||t===40)&&r){let o=this._chipActions.filter(c=>c._isPrimary===r._isPrimary&&!this._skipPredicate(c)),a=o.indexOf(r),s=e.keyCode===38?-1:1;e.preventDefault(),a>-1&&this._isValidIndex(a+s)&&this._keyManager.setActiveItem(o[a+s])}else super._handleKeydown(e);this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let e=this._chips.length?this._chips.toArray().map(t=>t.value):[];this._value=e,this.change.emit(new Wd(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Re,8),u(An,8),u(On,8),u(dn),u(di,10))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-chip-grid"]],contentQueries:function(t,r,o){if(t&1&&he(o,OD,5),t&2){let a;S(a=T())&&(r._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(t,r){t&1&&J("focus",function(){return r.focus()})("blur",function(){return r._blur()}),t&2&&(W("role",r.role)("tabindex",r.disabled||r._chips&&r._chips.length===0?-1:r.tabIndex)("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState),P("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-invalid",r.errorState)("mat-mdc-chip-list-required",r.required))},inputs:{disabled:[2,"disabled","disabled",O],placeholder:"placeholder",required:[2,"required","required",O],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},standalone:!0,features:[de([{provide:Vn,useExisting:i}]),ae,ne,U],ngContentSelectors:Ib,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,r){t&1&&(se(),w(0,"div",0),A(1),I())},styles:[MD],encapsulation:2,changeDetection:0})}}return i})(),FD=0,HU=(()=>{class i{get chipGrid(){return this._chipGrid}set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=e}get empty(){return!this.inputElement.value}constructor(e,t,r){this._elementRef=e,this.focused=!1,this.addOnBlur=!1,this.chipEnd=new z,this.placeholder="",this.id=`mat-mdc-chip-list-input-${FD++}`,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=t.separatorKeyCodes,r&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(e){this.empty&&e.keyCode===8?(e.repeat||this._chipGrid._focusLastChip(),e.preventDefault()):this._emitChipEnd(e)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!Le(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Sb),u(Ri,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(t,r){t&1&&J("keydown",function(a){return r._keydown(a)})("blur",function(){return r._blur()})("focus",function(){return r._focus()})("input",function(){return r._onInput()}),t&2&&(St("id",r.id),W("disabled",r.disabled||null)("placeholder",r.placeholder||null)("aria-invalid",r._chipGrid&&r._chipGrid.ngControl?r._chipGrid.ngControl.invalid:null)("aria-required",r._chipGrid&&r._chipGrid.required||null)("required",r._chipGrid&&r._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",O],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",O]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],standalone:!0,features:[ae,Pe]})}}return i})();var Tb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({providers:[dn,{provide:Sb,useValue:{separatorKeyCodes:[13]}}],imports:[K,jn,K]})}}return i})();var PD=["mat-menu-item",""],ND=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],LD=["mat-icon, [matMenuItemIcon]","*"];function jD(i,n){i&1&&(Wt(),w(0,"svg",2),ie(1,"polygon",3),I())}var VD=["*"];function BD(i,n){if(i&1){let e=Ge();w(0,"div",0),J("keydown",function(r){ce(e);let o=fe();return le(o._handleKeydown(r))})("click",function(){ce(e);let r=fe();return le(r.closed.emit("click"))})("@transformMenu.start",function(r){ce(e);let o=fe();return le(o._onAnimationStart(r))})("@transformMenu.done",function(r){ce(e);let o=fe();return le(o._onAnimationDone(r))}),w(1,"div",1),A(2),I()()}if(i&2){let e=fe();qe(e._classList),ue("id",e.panelId)("@transformMenu",e._panelAnimationState),W("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var Yd=new C("MAT_MENU_PANEL"),$d=(()=>{class i{constructor(e,t,r,o,a){this._elementRef=e,this._document=t,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new R,this._focused=new R,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),t=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r enter",Xe("120ms cubic-bezier(0, 0, 0.2, 1)",Oe({opacity:1,transform:"scale(1)"}))),Ze("* => void",Xe("100ms 25ms linear",Oe({opacity:0})))]),fadeInItems:gt("fadeInItems",[it("showing",Oe({opacity:1})),Ze("void => *",[Oe({opacity:0}),Xe("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},fQ=Hs.fadeInItems,gQ=Hs.transformMenu,HD=0,UD=new C("mat-menu-default-options",{providedIn:"root",factory:QD});function QD(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var zs=(()=>{class i{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}set panelClass(e){let t=this._previousPanelClass,r=B({},this._classList);t&&t.length&&t.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,t,r,o){this._elementRef=e,this._changeDetectorRef=o,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new Gt,this._classList={},this._panelAnimationState="void",this._animationDone=new R,this.closed=new z,this.close=this.closed,this.panelId=`mat-menu-panel-${HD++}`,this._injector=F(Ee),this.overlayPanelClass=r.overlayPanelClass||"",this._xPosition=r.xPosition,this._yPosition=r.yPosition,this.backdropClass=r.backdropClass,this.overlapTrigger=r.overlapTrigger,this.hasBackdrop=r.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new an(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Me(this._directDescendantItems),at(e=>Fe(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let t=this._keyManager;if(this._panelAnimationState==="enter"&&t.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,t.activeItemIndex||0));r[o]&&!r[o].disabled?t.setActiveItem(o):t.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(Me(this._directDescendantItems),at(t=>Fe(...t.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let t=e.keyCode,r=this._keyManager;switch(t){case 27:Le(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(t===38||t===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=et(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&t&&t.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){if(this._baseElevation===null){let s=(typeof getComputedStyle=="function"?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(s)}let t=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${t}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));if(!o||o===this._previousElevation){let a=B({},this._classList);this._previousElevation&&(a[this._previousElevation]=!1),a[r]=!0,this._previousElevation=r,this._classList=a}}setPositionClasses(e=this.xPosition,t=this.yPosition){this._classList=Ue(B({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":t==="above","mat-menu-below":t==="below"}),this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,e.toState==="enter"&&this._keyManager.activeItemIndex===0&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Me(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(V),u(UD),u(pe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-menu"]],contentQueries:function(t,r,o){if(t&1&&(he(o,zD,5),he(o,$d,5),he(o,$d,4)),t&2){let a;S(a=T())&&(r.lazyContent=a.first),S(a=T())&&(r._allItems=a),S(a=T())&&(r.items=a)}},viewQuery:function(t,r){if(t&1&&re(Ae,5),t&2){let o;S(o=T())&&(r.templateRef=o.first)}},hostVars:3,hostBindings:function(t,r){t&2&&W("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",O],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:O(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[de([{provide:Yd,useExisting:i}]),ae,U],ngContentSelectors:VD,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(t,r){t&1&&(se(),te(0,BD,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-app-surface-container));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-app-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-app-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Hs.transformMenu,Hs.fadeInItems]},changeDetection:0})}}return i})(),Ab=new C("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}});function qD(i){return()=>i.scrollStrategies.reposition()}var WD={provide:Ab,deps:[je],useFactory:qD},Mb=Bt({passive:!0});var bQ=(()=>{class i{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),(t==="click"||t==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,t,r,o,a,s,c,l,d){this._overlay=e,this._element=t,this._viewContainerRef=r,this._menuItemInstance=s,this._dir=c,this._focusMonitor=l,this._ngZone=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Te.EMPTY,this._hoverSubscription=Te.EMPTY,this._menuCloseSubscription=Te.EMPTY,this._changeDetectorRef=F(pe),this._handleTouchStart=h=>{Ro(h)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new z,this.onMenuOpen=this.menuOpened,this.menuClosed=new z,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof zs?a:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,Mb)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Mb),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let e=this.menu;if(this._menuOpen||!e)return;let t=this._createOverlay(e),r=t.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,t.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof zs&&(e._startAnimation(),e._directDescendantItems.changes.pipe($(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;let t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof zs?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(ye(r=>r.toState==="void"),Ye(1),$(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let t=0,r=e.parentMenu;for(;r;)t++,r=r.parentMenu;e.setElevation(t)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let t=this._getOverlayConfig(e);this._subscribeToPositions(e,t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Ci({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,t){e.setPositionClasses&&t.positionChanges.subscribe(r=>{let o=r.connectionPair.overlayX==="start"?"after":"before",a=r.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,t){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[c,l]=[a,s],[d,h]=[r,o],m=0;if(this.triggersSubmenu()){if(h=r=e.xPosition==="before"?"start":"end",o=d=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let p=this._parentMaterialMenu.items.first;this._parentInnerPadding=p?p._getHostElement().offsetTop:0}m=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(c=a==="top"?"bottom":"top",l=s==="top"?"bottom":"top");t.withPositions([{originX:r,originY:c,overlayX:d,overlayY:a,offsetY:m},{originX:o,originY:c,overlayX:h,overlayY:a,offsetY:m},{originX:r,originY:l,overlayX:d,overlayY:s,offsetY:-m},{originX:o,originY:l,overlayX:h,overlayY:s,offsetY:-m}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:He(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ye(a=>a!==this._menuItemInstance),ye(()=>this._menuOpen)):He();return Fe(e,r,o,t)}_handleMousedown(e){Oo(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let t=e.keyCode;(t===13||t===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===39&&this.dir==="ltr"||t===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(ye(e=>e===this._menuItemInstance&&!e.disabled),Ur(0,$o)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof zs&&this.menu._isAnimating?this.menu._animationDone.pipe(Ye(1),Ur(0,$o),$(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Et(e.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(t){return new(t||i)(u(je),u(E),u(Qe),u(Ab),u(Yd,8),u($d,10),u(Re,8),u(rt),u(V))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(t,r){t&1&&J("click",function(a){return r._handleClick(a)})("mousedown",function(a){return r._handleMousedown(a)})("keydown",function(a){return r._handleKeydown(a)}),t&2&&W("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}}return i})(),Ob=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({providers:[WD],imports:[yt,jn,K,ti,Qt,K]})}}return i})();var GD=["determinateSpinner"];function $D(i,n){if(i&1&&(Wt(),w(0,"svg",11),ie(1,"circle",12),I()),i&2){let e=fe();W("viewBox",e._viewBox()),j(),ft("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),W("r",e._circleRadius())}}var YD=new C("mat-progress-spinner-default-options",{providedIn:"root",factory:KD});function KD(){return{diameter:Rb}}var Rb=100,XD=10,AQ=(()=>{class i{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,t,r){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=Rb,this._noopAnimations=t==="NoopAnimations"&&!!r&&!r._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",r&&(r.color&&(this.color=this._defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-XD)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(we,8),u(YD))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(t,r){if(t&1&&re(GD,5),t&2){let o;S(o=T())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(t,r){t&2&&(W("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),qe("mat-"+r.color),ft("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),P("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",$e],diameter:[2,"diameter","diameter",$e],strokeWidth:[2,"strokeWidth","strokeWidth",$e]},exportAs:["matProgressSpinner"],standalone:!0,features:[ae,U],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(t,r){if(t&1&&(te(0,$D,2,8,"ng-template",null,0,ia),w(2,"div",2,1),Wt(),w(4,"svg",3),ie(5,"circle",4),I()(),Xo(),w(6,"div",5)(7,"div",6)(8,"div",7),pt(9,8),I(),w(10,"div",9),pt(11,8),I(),w(12,"div",10),pt(13,8),I()()()),t&2){let o=$t(1);j(4),W("viewBox",r._viewBox()),j(),ft("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),W("r",r._circleRadius()),j(4),ue("ngTemplateOutlet",o),j(2),ue("ngTemplateOutlet",o),j(2),ue("ngTemplateOutlet",o)}},dependencies:[oa],styles:[".mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-app-primary))}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}"],encapsulation:2,changeDetection:0})}}return i})();var Fb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[yt,K]})}}return i})();var tE=[[["caption"]],[["colgroup"],["col"]],"*"],iE=["caption","colgroup, col","*"];function nE(i,n){i&1&&A(0,2)}function rE(i,n){i&1&&(w(0,"thead",0),pt(1,1),I(),w(2,"tbody",0),pt(3,2)(4,3),I(),w(5,"tfoot",0),pt(6,4),I())}function oE(i,n){i&1&&pt(0,1)(1,2)(2,3)(3,4)}var mi=new C("CDK_TABLE");var $s=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkCellDef",""]],standalone:!0})}}return i})(),Ys=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}}return i})(),Lb=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}}return i})(),zr=(()=>{class i{get name(){return this._name}set name(e){this._setNameInput(e)}get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}constructor(e){this._table=e,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static{this.\u0275fac=function(t){return new(t||i)(u(mi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,r,o){if(t&1&&(he(o,$s,5),he(o,Ys,5),he(o,Lb,5)),t&2){let a;S(a=T())&&(r.cell=a.first),S(a=T())&&(r.headerCell=a.first),S(a=T())&&(r.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",O],stickyEnd:[2,"stickyEnd","stickyEnd",O]},standalone:!0,features:[de([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),ae]})}}return i})(),Qs=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}},jb=(()=>{class i extends Qs{constructor(e,t){super(e,t)}static{this.\u0275fac=function(t){return new(t||i)(u(zr),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[ne]})}}return i})();var Vb=(()=>{class i extends Qs{constructor(e,t){super(e,t);let r=e._table?._getCellRole();r&&t.nativeElement.setAttribute("role",r)}static{this.\u0275fac=function(t){return new(t||i)(u(zr),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[ne]})}}return i})(),qs=class{constructor(){this.tasks=[],this.endTasks=[]}},Ws=new C("_COALESCED_STYLE_SCHEDULER"),Xd=(()=>{class i{constructor(e){this._currentSchedule=null,this._ngZone=F(V)}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new qs,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new qs;for(let t of e.tasks)t();for(let t of e.endTasks)t()}this._currentSchedule=null})))}static{this.\u0275fac=function(t){return new(t||i)(x(V))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac})}}return i})();var Zd=(()=>{class i{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof Go?e.headerCell.template:this instanceof Jd?e.footerCell.template:e.cell.template}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn))}}static{this.\u0275dir=D({type:i,features:[Pe]})}}return i})(),Go=(()=>{class i extends Zd{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,t,r){super(e,t),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn),u(mi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",O]},standalone:!0,features:[ae,ne,Pe]})}}return i})(),Jd=(()=>{class i extends Zd{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,t,r){super(e,t),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn),u(mi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",O]},standalone:!0,features:[ae,ne,Pe]})}}return i})(),Ks=(()=>{class i extends Zd{constructor(e,t,r){super(e,t),this._table=r}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn),u(mi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[ne]})}}return i})(),qn=(()=>{class i{static{this.mostRecentCellOutlet=null}constructor(e){this._viewContainer=e,i.mostRecentCellOutlet=this}ngOnDestroy(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null)}static{this.\u0275fac=function(t){return new(t||i)(u(Qe))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkCellOutlet",""]],standalone:!0})}}return i})(),eu=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[U],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})();var tu=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[U],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})(),Bb=(()=>{class i{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}}return i})(),Pb=["top","bottom","left","right"],Kd=class{constructor(n,e,t,r,o=!0,a=!0,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){let t=[];for(let r of n)if(r.nodeType===r.ELEMENT_NODE){t.push(r);for(let o=0;o{for(let r of t)this._removeStickyStyle(r,e)})}updateStickyColumns(n,e,t,r=!0){if(!n.length||!this._isBrowser||!(e.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=n[0],a=o.children.length,s=this._getCellWidths(o,r),c=this._getStickyStartColumnPositions(s,e),l=this._getStickyEndColumnPositions(s,t),d=e.lastIndexOf(!0),h=t.indexOf(!0),m=this.direction==="rtl",p=m?"right":"left",f=m?"left":"right";for(let b of n)for(let _=0;_e[_]?b:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:h===-1?[]:s.slice(h).map((b,_)=>t[_+h]?b:null).reverse()}))})}stickRows(n,e,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let r=t==="bottom"?n.slice().reverse():n,o=t==="bottom"?e.slice().reverse():e,a=[],s=[],c=[];for(let d=0,h=0;d{let t=n.querySelector("tfoot");t&&(e.some(r=>!r)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(n,e){for(let r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);Pb.some(r=>e.indexOf(r)===-1&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,t,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${t}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},t=0;for(let r of Pb)n.style[r]&&(t+=e[r]);return t?`${t}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],r=n.children;for(let o=0;o0;o--)e[o]&&(t[o]=r,r+=n[o]);return t}};var Gs=new C("CDK_SPL");var iu=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(mi);r._rowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Qe),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","rowOutlet",""]],standalone:!0})}}return i})(),nu=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(mi);r._headerRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Qe),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","headerRowOutlet",""]],standalone:!0})}}return i})(),ru=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(mi);r._footerRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Qe),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","footerRowOutlet",""]],standalone:!0})}}return i})(),ou=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(mi);r._noDataRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Qe),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","noDataRowOutlet",""]],standalone:!0})}}return i})();var au=(()=>{class i{_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role"),t=e==="grid"||e==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&t==="cell"?null:t}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,t,r,o,a,s,c,l,d,h,m,p){this._differs=e,this._changeDetectorRef=t,this._elementRef=r,this._dir=a,this._platform=c,this._viewRepeater=l,this._coalescedStyleScheduler=d,this._viewportRuler=h,this._stickyPositioningListener=m,this._onDestroy=new R,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new z,this.viewChange=new Vi({start:0,end:Number.MAX_VALUE}),this._injector=F(Ee),o||r.nativeElement.setAttribute("role","table"),this._document=s,this._isServer=!c.isBrowser,this._isNativeHtmlTable=r.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe($(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),fs(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(r,o,a)=>this._getEmbeddedViewArgs(r.item,a),r=>r.item.data,r=>{r.operation===Dr.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let o=t.get(r.currentIndex);o.context.$implicit=r.item.data}),this._updateNoDataRow(),et(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=Nb(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=Nb(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,a)=>{this._addStickyColumnStyles([o],this._headerRowDefs[a])}),this._rowDefs.forEach(o=>{let a=[];for(let s=0;s{this._addStickyColumnStyles([o],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{let s=r&&r.has(a)?r.get(a):[];if(s.length){let c=s.shift();return c.dataIndex=t,c}else return{data:e,rowDef:a,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Us(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Us(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Us(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Us(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>a||!!s.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),t||r||o}_switchDataSource(e){this._data=[],fs(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;fs(this.dataSource)?e=this.dataSource.connect(this):Hr(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=He(this.dataSource)),this._renderChangeSubscription=e.pipe($(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let r=Array.from(t.columns||[]).map(s=>{let c=this._columnDefsByName.get(s);return c}),o=r.map(s=>s.sticky),a=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let r=0;r!o.when||o.when(t,e));else{let o=this._rowDefs.find(a=>a.when&&a.when(t,e))||this._defaultRowDef;o&&r.push(o)}return r.length,r}_getEmbeddedViewArgs(e,t){let r=e.rowDef,o={$implicit:e.data};return{templateRef:r.template,context:o,index:t}}_renderRow(e,t,r,o={}){let a=e.viewContainer.createEmbeddedView(t.template,o,r);return this._renderCellTemplateForItem(t,o),a}_renderCellTemplateForItem(e,t){for(let r of this._getCellTemplates(e))qn.mostRecentCellOutlet&&qn.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,r=e.length;t{let r=this._columnDefsByName.get(t);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,r)=>t||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new Kd(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:He()).pipe($(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(t){let o=r.createEmbeddedView(e.templateRef),a=o.rootNodes[0];o.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(t){return new(t||i)(u(bn),u(pe),u(E),It("role"),u(Re,8),u(oe),u(me),u(Io),u(Ws),u(Dt),u(Gs,12),u(V,8))}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,r,o){if(t&1&&(he(o,Bb,5),he(o,zr,5),he(o,Ks,5),he(o,Go,5),he(o,Jd,5)),t&2){let a;S(a=T())&&(r._noDataRow=a.first),S(a=T())&&(r._contentColumnDefs=a),S(a=T())&&(r._contentRowDefs=a),S(a=T())&&(r._contentHeaderRowDefs=a),S(a=T())&&(r._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,r){t&2&&P("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",O],fixedLayout:[2,"fixedLayout","fixedLayout",O]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[de([{provide:mi,useExisting:i},{provide:Io,useClass:Er},{provide:Ws,useClass:Xd},{provide:Gs,useValue:null}]),ae,U],ngContentSelectors:iE,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,r){t&1&&(se(tE),A(0),A(1,1),te(2,nE,1,0)(3,rE,7,0)(4,oE,4,0)),t&2&&(j(2),ge(r._isServer?2:-1),j(),ge(r._isNativeHtmlTable?3:4))},dependencies:[nu,iu,ou,ru],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}}return i})();function Us(i,n){return i.concat(Array.from(n))}function Nb(i,n){let e=n.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let r=t.nodeType===1?t.nodeName:null;if(r===e)return t;if(r==="TABLE")break;t=t.parentNode}return null}var zb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[Lo]})}}return i})();var aE=[[["caption"]],[["colgroup"],["col"]],"*"],sE=["caption","colgroup, col","*"];function cE(i,n){i&1&&A(0,2)}function lE(i,n){i&1&&(w(0,"thead",0),pt(1,1),I(),w(2,"tbody",2),pt(3,3)(4,4),I(),w(5,"tfoot",0),pt(6,5),I())}function dE(i,n){i&1&&pt(0,1)(1,3)(2,4)(3,5)}var g5=(()=>{class i extends au{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275cmp=H({type:i,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[de([{provide:au,useExisting:i},{provide:mi,useExisting:i},{provide:Ws,useClass:Xd},{provide:Io,useClass:Er},{provide:Gs,useValue:null}]),ne,U],ngContentSelectors:sE,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,r){t&1&&(se(aE),A(0),A(1,1),te(2,cE,1,0)(3,lE,7,0)(4,dE,4,0)),t&2&&(j(2),ge(r._isServer?2:-1),j(),ge(r._isNativeHtmlTable?3:4))},dependencies:[nu,iu,ou,ru],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-app-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-app-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-app-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-app-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-app-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-app-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}}return i})(),b5=(()=>{class i extends $s{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matCellDef",""]],standalone:!0,features:[de([{provide:$s,useExisting:i}]),ne]})}}return i})(),v5=(()=>{class i extends Ys{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[de([{provide:Ys,useExisting:i}]),ne]})}}return i})();var _5=(()=>{class i extends zr{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[de([{provide:zr,useExisting:i},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),ne]})}}return i})(),y5=(()=>{class i extends jb{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[ne]})}}return i})();var x5=(()=>{class i extends Vb{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[ne]})}}return i})();var w5=(()=>{class i extends Go{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",O]},standalone:!0,features:[de([{provide:Go,useExisting:i}]),ae,ne]})}}return i})();var C5=(()=>{class i extends Ks{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[de([{provide:Ks,useExisting:i}]),ne]})}}return i})(),k5=(()=>{class i extends eu{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275cmp=H({type:i,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[de([{provide:eu,useExisting:i}]),ne,U],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})();var D5=(()=>{class i extends tu{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(i)))(r||i)}})()}static{this.\u0275cmp=H({type:i,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[de([{provide:tu,useExisting:i}]),ne,U],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})();var Hb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,zb,K]})}}return i})();var e3=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[xb,yt,Vf,kb,Mf,Kf,eg,Tb,_g,yg,Mg,Bn,Fg,Bg,Qg,Ob,Wg,Fb,tb,rb,Hb,yb,Gg,Zg,Yp,Uu,sh]})}}return i})();export{sv as a,RE as b,FE as c,xa as d,ke as e,yi as f,El as g,Ll as h,E1 as i,Ap as j,Q1 as k,k0 as l,I0 as m,ps as n,me as o,ys as p,nf as q,mf as r,Ss as s,IN as t,SN as u,TN as v,MN as w,AN as x,hn as y,Et as z,jr as A,hi as B,Ci as C,je as D,FN as E,PN as F,NN as G,LN as H,jN as I,VN as J,BN as K,zN as L,HN as M,UN as N,jf as O,Vf as P,VH as Q,Bf as R,yL as S,pU as T,pD as U,RL as V,FL as W,PL as X,NL as Y,LL as Z,jL as _,VL as $,VU as aa,BU as ba,qd as ca,OD as da,RD as ea,zU as fa,HU as ga,Jf as ha,Qo as ia,Md as ja,DV as ka,EV as la,IV as ma,SV as na,_g as oa,RV as pa,DC as qa,g2 as ra,b2 as sa,IC as ta,R2 as ua,RC as va,Z2 as wa,bB as xa,$d as ya,zs as za,bQ as Aa,TB as Ba,AQ as Ca,RB as Da,iz as Ea,Oz as Fa,Ld as Ga,Ik as Ha,Sk as Ia,g5 as Ja,b5 as Ka,v5 as La,_5 as Ma,y5 as Na,x5 as Oa,w5 as Pa,C5 as Qa,k5 as Ra,D5 as Sa,Qk as Ta,Wk as Ua,Gk as Va,IH as Wa,tD as Xa,iD as Ya,SH as Za,e3 as _a}; diff --git a/webui/dist/bitmagnet/browser/chunk-ISB6LSNT.js b/webui/dist/bitmagnet/browser/chunk-ISB6LSNT.js new file mode 100644 index 00000000..81051443 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-ISB6LSNT.js @@ -0,0 +1 @@ +import"./chunk-WC5EMJNC.js";import"./chunk-ISQ7AX2Q.js";import"./chunk-GLXU5TTY.js";import"./chunk-RQ2LQKI2.js";import"./chunk-PX3TOMGC.js";import"./chunk-42PJPEMD.js";import"./chunk-FNMD7JET.js";import{a as R}from"./chunk-P4IGP6ZM.js";import{Ea as E,Ga as z,Ha as q,Ia as B,_a as F,b as y,u as D,w as S,wa as I}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import{j as L,l as h,m as T}from"./chunk-CMNWCZJM.js";import{$b as O,Cb as M,Ea as _,Fa as f,Gb as C,Hb as l,Kb as p,Qb as r,Rb as i,Sb as d,Tb as w,Ub as b,Wb as k,Zb as x,jc as a,kb as t,kc as c,lc as s,pc as A,qa as g,qc as P,ua as v}from"./chunk-Z3WUIYN5.js";var Q=()=>({exact:!0});function $(n,V){if(n&1){let e=k();w(0),r(1,"mat-drawer-container",6)(2,"mat-drawer",7,0)(4,"nav")(5,"ul")(6,"li")(7,"a",8,1)(9,"mat-icon"),c(10,"dashboard"),i(),c(11),i()(),r(12,"li")(13,"a",9,2),d(15,"mat-icon",10),c(16),i()(),r(17,"li")(18,"a",11,3),d(20,"mat-icon",12),c(21),i()()()()(),r(22,"mat-drawer-content")(23,"div",13)(24,"button",14),x("click",function(){_(e);let m=a(3);return f(m.toggle())}),r(25,"mat-icon",15),c(26),i()()(),d(27,"router-outlet",null,4),i()(),b()}if(n&2){let e=V.$implicit,o=a(3),m=a(8),j=a(14),H=a(19),u=O();t(2),l("mode",u.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",u.breakpoints.sizeAtLeast("Medium")),C("role",u.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),t(5),p(m.isActive?"active":""),l("routerLinkActiveOptions",P(15,Q)),t(4),s(e("routes.home")),t(2),p(j.isActive?"active":""),t(3),s(e("routes.queues")),t(2),p(H.isActive?"active":""),t(3),s(e("routes.torrents")),t(3),l("matTooltip",e("torrents.toggle_drawer")),t(2),s(o.opened?"arrow_circle_left":"arrow_circle_right")}}var st=(()=>{class n{constructor(){this.breakpoints=g(R)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=v({type:n,selectors:[["app-dashboard"]],standalone:!0,features:[A],decls:1,vars:0,consts:[["drawer",""],["linkHome","routerLinkActive"],["linkQueues","routerLinkActive"],["linkTorrents","routerLinkActive"],["outlet",""],[4,"transloco"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],["mat-button","","routerLink","/dashboard","routerLinkActive","",3,"routerLinkActiveOptions"],["mat-button","","routerLink","queues","routerLinkActive",""],["svgIcon","queue"],["mat-button","","routerLink","torrents","routerLinkActive",""],["svgIcon","magnet"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["aria-label","Side nav toggle icon","fontSet","material-icons"]],template:function(o,m){o&1&&M(0,$,29,16,"ng-container",5)},dependencies:[F,D,S,I,q,B,z,E,L,h,T,y],styles:["mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{padding-top:12px;--mat-text-button-icon-spacing: 14px}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;font-size:var(--mat-expansion-container-text-size);justify-content:flex-start;padding-left:20px}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}mat-drawer-content[_ngcontent-%COMP%] .button-container-toggle-drawer[_ngcontent-%COMP%]{position:absolute;left:20px;top:28px;z-index:100}.drawer[_ngcontent-%COMP%]{width:220px}"]})}}return n})();export{st as DashboardComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-ISQ7AX2Q.js b/webui/dist/bitmagnet/browser/chunk-ISQ7AX2Q.js new file mode 100644 index 00000000..91523ad2 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-ISQ7AX2Q.js @@ -0,0 +1 @@ +import{b as ye,c as we}from"./chunk-GLXU5TTY.js";import{a as j}from"./chunk-FNMD7JET.js";import{a as Ee}from"./chunk-P4IGP6ZM.js";import{Ba as ce,Ea as dt,G as Kt,Ja as pe,Ka as me,L as Qt,La as de,Ma as _e,Na as ue,O as ct,Oa as fe,Pa as ge,Q as Ut,Qa as xe,Ra as Ce,S as Zt,Sa as he,T as Xt,Ta as Te,U as Wt,Ua as be,V as Q,Va as ve,Wa as Se,X as pt,Z as mt,_a as z,a as V,aa as te,b as R,ba as ee,ca as ne,da as ie,ea as oe,fa as re,ga as ae,h as lt,ha as le,j as Ht,k as qt,l as Yt,m as Gt,pa as se,s as Jt,t as st,wa as L}from"./chunk-HZYDZMJ4.js";import{l as Lt}from"./chunk-CMNWCZJM.js";import{$b as c,B as X,Cb as _,Ea as v,Fa as S,Hb as h,Mb as u,N as K,Na as q,Nb as tt,Ob as O,Pb as B,Q as ot,Qb as s,Rb as a,Sb as M,Tb as y,Ub as E,Wb as k,Zb as w,a as g,ad as Vt,b as x,bd as at,ha as W,hb as Rt,jc as Tt,jd as jt,kb as o,kc as l,l as I,lc as f,mc as m,nc as zt,o as J,pc as P,qa as b,rc as bt,sc as Nt,ua as D,vc as $,wc as A,xa as At,xc as rt}from"./chunk-Z3WUIYN5.js";var Ue=(t,n)=>n.id;function Ze(t,n){if(t&1&&(s(0,"mat-chip",1)(1,"mat-icon",2),l(2,"sell"),a(),l(3),a()),t&2){let e=n.$implicit;o(3),m(" ",e," ")}}function Xe(t,n){if(t&1&&l(0),t&2){let e=n.$implicit,i=n.$index,r=c(),p=c().$implicit;m(" ",p("languages."+e.id)+(i{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-chips"]],inputs:{torrentContent:"torrentContent"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[1,"chip-primary"],["matChipAvatar",""],["matChipAvatar","","svgIcon","binary"]],template:function(i,r){i&1&&_(0,an,10,6,"ng-container",0)},dependencies:[z,ne,te,oe,L,R],styles:["mat-chip-set[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;left:4px}"]})}}return t})();var Et=["files","tags","reprocess","delete"],ln=(t,n)=>t&&n?t.infoHash===n.infoHash&&t.tab===n.tab:t===n,Ie=t=>({input:{queryString:t.queryString,limit:t.limit,page:t.page,totalCount:!0,hasNextPage:!0,orderBy:[t.orderBy],facets:{contentType:{aggregate:!0,filter:t.contentType?[t.contentType==="null"?null:t.contentType]:void 0},genre:t.facets.genre.active?{aggregate:!0,filter:t.facets.genre.filter}:void 0,language:t.facets.language.active?{aggregate:t.facets.language.active,filter:t.facets.language.filter}:void 0,torrentFileType:t.facets.fileType.active?{aggregate:!0,filter:t.facets.fileType.filter}:void 0,torrentSource:t.facets.torrentSource.active?{aggregate:!0,filter:t.facets.torrentSource.filter}:void 0,torrentTag:t.facets.torrentTag.active?{aggregate:!0,filter:t.facets.torrentTag.filter}:void 0,videoResolution:t.facets.videoResolution.active?{aggregate:!0,filter:t.facets.videoResolution.filter}:void 0,videoSource:t.facets.videoSource.active?{aggregate:!0,filter:t.facets.videoSource.filter}:void 0}}}),St={active:!1},Me=class{constructor(n){this.controlsSubject=new I(n),this.controls$=this.controlsSubject.asObservable(),this.paramsSubject=new I(Ie(n)),this.params$=this.paramsSubject.asObservable(),this.selectionSubject=new I(n.selectedTorrent),this.selection$=this.selectionSubject.asObservable(),this.controls$.pipe(ot(100)).subscribe(e=>{let i=Ie(e);JSON.stringify(this.paramsSubject.getValue())!==JSON.stringify(i)&&this.paramsSubject.next(i),ln(this.selectionSubject.getValue(),e.selectedTorrent)||this.selectionSubject.next(e.selectedTorrent)})}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}selectTorrent(n,e){this.update(i=>(e===void 0?e=i.selectedTorrent?.tab:e===null&&(e=void 0),x(g({},i),{selectedTorrent:{infoHash:n,tab:e}})))}selectContentType(n){this.update(e=>x(g({},e),{contentType:n,page:1,facets:x(g({},e.facets),{genre:yt(n,$e.contentTypes)?e.facets.genre:St,videoResolution:yt(n,Fe.contentTypes)?e.facets.videoResolution:St,videoSource:yt(n,De.contentTypes)?e.facets.videoSource:St})}))}activateFacet(n){this.update(e=>x(g({},e),{facets:n.patchInput(e.facets,x(g({},n.extractInput(e.facets)),{active:!0}))}))}deactivateFacet(n){this.update(e=>{let i=n.extractInput(e.facets);return x(g({},e),{page:i.filter?1:e.page,facets:n.patchInput(e.facets,x(g({},i),{active:!1,filter:void 0}))})})}activateFilter(n,e){this.update(i=>{let r=n.extractInput(i.facets);return x(g({},i),{page:1,facets:n.patchInput(i.facets,x(g({},r),{filter:Array.from(new Set([...r.filter??[],e])).sort()}))})})}deactivateFilter(n,e){this.update(i=>{let r=n.extractInput(i.facets),p=r.filter?.filter(d=>d!==e);return x(g({},i),{page:1,facets:n.patchInput(i.facets,x(g({},r),{filter:p?.length?p:void 0}))})})}setQueryString(n){n=n||void 0,this.update(e=>{let i=e.orderBy;return n?n!==e.queryString&&(i=_n):i.field==="relevance"&&(i=ke),x(g({},e),{queryString:n,orderBy:i,page:n===e.queryString?e.page:1})})}selectOrderBy(n){let e={field:n,descending:dn.find(i=>i.field===n)?.descending??!1};this.update(i=>x(g({},i),{orderBy:e.field!=="relevance"||i.queryString?e:ke,page:1}))}toggleOrderByDirection(){this.update(n=>x(g({},n),{orderBy:x(g({},n.orderBy),{descending:!n.orderBy.descending}),page:1}))}handlePageEvent(n){this.update(e=>x(g({},e),{limit:n.pageSize,page:n.page}))}},sn={key:"torrent_source",icon:"mediation",allowNull:!1,extractInput:t=>t.torrentSource,patchInput:(t,n)=>x(g({},t),{torrentSource:n}),extractAggregations:t=>t.torrentSource??[],resolveLabel:t=>t.label},cn={key:"torrent_tag",icon:"sell",allowNull:!1,extractInput:t=>t.torrentTag,patchInput:(t,n)=>x(g({},t),{torrentTag:n}),extractAggregations:t=>t.torrentTag??[],resolveLabel:t=>t.value},pn={key:"file_type",icon:"file_present",allowNull:!1,extractInput:t=>t.fileType,patchInput:(t,n)=>x(g({},t),{fileType:n}),extractAggregations:t=>t.torrentFileType??[],resolveLabel:(t,n)=>n.translate(`file_types.${t.value}`)},mn={key:"language",icon:"translate",allowNull:!1,extractInput:t=>t.language,patchInput:(t,n)=>x(g({},t),{language:n}),extractAggregations:t=>t.language??[],resolveLabel:(t,n)=>n.translate(`languages.${t.value}`)},$e={key:"genre",icon:"theater_comedy",allowNull:!1,contentTypes:["movie","tv_show"],extractInput:t=>t.genre,patchInput:(t,n)=>x(g({},t),{genre:n}),extractAggregations:t=>t.genre??[],resolveLabel:t=>t.label},Fe={key:"video_resolution",icon:"aspect_ratio",allowNull:!0,contentTypes:["movie","tv_show","xxx"],extractInput:t=>t.videoResolution,patchInput:(t,n)=>x(g({},t),{videoResolution:n}),extractAggregations:t=>(t.videoResolution??[]).map(n=>x(g({},n),{value:n.value??null})),resolveLabel:t=>t.value?.slice(1)??"?"},De={key:"video_source",icon:"album",allowNull:!0,contentTypes:["movie","tv_show","xxx"],extractInput:t=>t.videoSource,patchInput:(t,n)=>x(g({},t),{videoSource:n}),extractAggregations:t=>(t.videoSource??[]).map(n=>x(g({},n),{value:n.value??null})),resolveLabel:t=>t.value??"?"},Hi=[sn,cn,pn,mn,$e,Fe,De],dn=[{field:"relevance",descending:!0},{field:"published_at",descending:!0},{field:"updated_at",descending:!0},{field:"size",descending:!0},{field:"files_count",descending:!0},{field:"seeders",descending:!0},{field:"leechers",descending:!0},{field:"name",descending:!1}],ke={field:"published_at",descending:!0},_n={field:"relevance",descending:!0},yt=(t,n)=>!n||t&&n.includes(t),qi=t=>t.orderBy.descending?t.orderBy.field===(t.queryString?"relevance":"published_at"):!1;var un="array",fn="bit",Oe="bits",gn="byte",Be="bytes",U="",xn="exponent",Cn="function",Pe="iec",hn="Invalid number",Tn="Invalid rounding method",wt="jedec",bn="object",Ae=".",vn="round",Sn="s",yn="si",En="kbit",wn="kB",In=" ",Mn="string",kn="0",It={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function Re(t,{bits:n=!1,pad:e=!1,base:i=-1,round:r=2,locale:p=U,localeOptions:d={},separator:Y=U,spacer:F=In,symbols:qe={},standard:N=U,output:Ct=Mn,fullform:Ye=!1,fullforms:Mt=[],exponent:kt=-1,roundingMethod:Ge=vn,precision:nt=0}={}){let T=kt,G=Number(t),C=[],H=0,ht=U;N===yn?(i=10,N=wt):N===Pe||N===wt?i=2:i===2?N=Pe:(i=10,N=wt);let it=i===10?1e3:1024,Je=Ye===!0,$t=G<0,Ft=Math[Ge];if(typeof t!="bigint"&&isNaN(t))throw new TypeError(hn);if(typeof Ft!==Cn)throw new TypeError(Tn);if($t&&(G=-G),(T===-1||isNaN(T))&&(T=Math.floor(Math.log(G)/Math.log(it)),T<0&&(T=0)),T>8&&(nt>0&&(nt+=8-T),T=8),Ct===xn)return T;if(G===0)C[0]=0,ht=C[1]=It.symbol[N][n?Oe:Be][T];else{H=G/(i===2?Math.pow(2,T*10):Math.pow(1e3,T)),n&&(H=H*8,H>=it&&T<8&&(H=H/it,T++));let Z=Math.pow(10,T>0?r:0);C[0]=Ft(H*Z)/Z,C[0]===it&&T<8&&kt===-1&&(C[0]=1,T++),ht=C[1]=i===10&&T===1?n?En:wn:It.symbol[N][n?Oe:Be][T]}if($t&&(C[0]=-C[0]),nt>0&&(C[0]=C[0].toPrecision(nt)),C[1]=qe[C[1]]||C[1],p===!0?C[0]=C[0].toLocaleString():p.length>0?C[0]=C[0].toLocaleString(p,d):Y.length>0&&(C[0]=C[0].toString().replace(Ae,Y)),e&&r>0){let Z=C[0].toString(),Dt=Y||(Z.match(/(\D)/g)||[]).pop()||Ae,Ot=Z.toString().split(Dt),Bt=Ot[1]||U,Pt=Bt.length,Ke=r-Pt;C[0]=`${Ot[0]}${Dt}${Bt.padEnd(Pt+Ke,kn)}`}return Je&&(C[1]=Mt[T]?Mt[T]:It.fullform[N][T]+(n?fn:gn)+(C[0]===1?U:Sn)),Ct===un?C:Ct===bn?{value:C[0],symbol:C[1],exponent:T,unit:ht}:C.join(F)}var ut=(()=>{class t{constructor(){this.transloco=b(V)}transform(e,i=2){return Re(e,{locale:this.transloco.getActiveLang(),base:i})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=At({name:"filesize",type:t,pure:!1,standalone:!0})}}return t})();var Fn={items:[],hasNextPage:!1,totalCount:0,aggregations:{queue:[],status:[]}},ft=class{constructor(n,e,i){this.apollo=n,this.errorsService=e,this.currentRequest=new I(0),this.loadingSubject=new I(!1),this.loading$=this.loadingSubject.asObservable(),this.result=Fn,this.resultSubject=new I(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(X(r=>r.items)),i.subscribe(r=>{this.loadResult(r)}),this.resultSubject.subscribe(r=>{this.result=r})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:Qt,variables:n,fetchPolicy:"no-cache"}).pipe(X(r=>r.data.torrent.files)).pipe(K(r=>(this.errorsService.addError(`Error loading item results: ${r.message}`),J)));this.currentSubscription=i.subscribe(r=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(r))})}},gt=class{constructor(n){this.torrent=n,this.loading$=new I(!1).asObservable(),this.file={infoHash:n.infoHash,index:0,path:n.name,size:n.size,fileType:n.fileType,extension:n.extension,createdAt:n.createdAt,updatedAt:n.updatedAt},this.result={hasNextPage:!1,items:[this.file],totalCount:1},this.result$=new I(this.result).asObservable(),this.items$=new I([this.file]).asObservable()}connect({}){return this.items$}disconnect(){}};var xt=class{constructor(n){let e={infoHash:n,limit:10,page:1};this.controlsSubject=new I(e),this.controls$=this.controlsSubject.asObservable(),this.controls$.pipe(ot(100)).subscribe(i=>{let r=this.variablesSubject.getValue(),p=ze(i);JSON.stringify(r)!==JSON.stringify(p)&&this.variablesSubject.next(p)}),this.variablesSubject=new I(ze(e)),this.variables$=this.variablesSubject.asObservable()}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}handlePageEvent(n){this.update(e=>x(g({},e),{limit:n.pageSize,page:n.page}))}},ze=t=>({input:{infoHashes:[t.infoHash],limit:t.limit,page:t.page,totalCount:!0,hasNextPage:!1}});var Bn=(t,n)=>({x:t,y:n});function Pn(t,n){if(t&1&&(s(0,"p"),l(1),$(2,"number"),$(3,"number"),a()),t&2){let e=c().$implicit,i=c();o(),m(" ",e("torrents.showing_x_of_y_files",Nt(5,Bn,A(2,1,i.dataSource.result.totalCount),i.torrent.filesCount==null?"?":A(3,3,i.torrent.filesCount)))," ")}}function An(t,n){if(t&1&&(s(0,"th",13),l(1),a()),t&2){let e=c().$implicit;o(),f(e("torrents.file_index"))}}function Rn(t,n){if(t&1&&(s(0,"td",14),l(1),a()),t&2){let e=n.$implicit,i=c(2);o(),m(" ",i.item(e).index," ")}}function zn(t,n){if(t&1&&(s(0,"th",13),l(1),a()),t&2){let e=c().$implicit;o(),f(e("torrents.file_path"))}}function Nn(t,n){if(t&1&&(s(0,"td",14),l(1),a()),t&2){let e=n.$implicit,i=c(2);o(),m(" ",i.item(e).path," ")}}function Vn(t,n){if(t&1&&(s(0,"th",13),l(1),a()),t&2){let e=c().$implicit;o(),f(e("torrents.file_type"))}}function jn(t,n){if(t&1&&(s(0,"td",14),l(1),a()),t&2){let e,i=n.$implicit,r=c().$implicit,p=c();o(),m(" ",r("file_types."+((e=p.item(i).fileType)!==null&&e!==void 0?e:"unknown"))," ")}}function Ln(t,n){if(t&1&&(s(0,"th",13),l(1),a()),t&2){let e=c().$implicit;o(),f(e("torrents.file_size"))}}function Hn(t,n){if(t&1&&(s(0,"td",14)(1,"span",15),$(2,"filesize"),l(3),$(4,"filesize"),a()()),t&2){let e=n.$implicit,i=c(2);o(),h("matTooltip",rt(2,2,i.item(e).size,10)),o(2),f(A(4,5,i.item(e).size))}}function qn(t,n){t&1&&M(0,"tr",16)}function Yn(t,n){t&1&&M(0,"tr",17)}function Gn(t,n){if(t&1){let e=k();s(0,"app-paginator",18),w("paging",function(r){v(e);let p=c(2);return S(p.controller.handlePageEvent(r))}),a()}if(t&2){let e=c(2);h("page",e.controls.page)("pageSize",e.controls.limit)("pageLength",e.dataSource.result.items.length)("totalLength",e.dataSource.result.totalCount)("totalIsEstimate",!1)("showLastPage",!0)}}function Jn(t,n){if(t&1&&(y(0),s(1,"div",1),M(2,"mat-progress-bar",2),$(3,"async"),a(),_(4,Pn,4,8,"p"),s(5,"table",3),y(6,4),_(7,An,2,1,"th",5)(8,Rn,2,1,"td",6),E(),y(9,7),_(10,zn,2,1,"th",5)(11,Nn,2,1,"td",6),E(),y(12,8),_(13,Vn,2,1,"th",5)(14,jn,2,1,"td",6),E(),y(15,9),_(16,Ln,2,1,"th",5)(17,Hn,5,7,"td",6),E(),_(18,qn,1,0,"tr",10)(19,Yn,1,0,"tr",11),a(),_(20,Gn,1,6,"app-paginator",12),E()),t&2){let e=c();o(2),h("mode",A(3,8,e.dataSource.loading$)?"indeterminate":"determinate")("value",0),o(2),u(e.torrent.filesStatus==="over_threshold"?4:-1),o(),h("dataSource",e.dataSource)("multiTemplateDataRows",!0),o(13),h("matHeaderRowDef",e.displayedColumns),o(),h("matRowDefColumns",e.displayedColumns),o(),u(e.dataSource.result.totalCount>10?20:-1)}}var Ne=(()=>{class t{constructor(){this.apollo=b(lt),this.errorsService=b(j),this.transloco=b(V),this.displayedColumns=["index","path","type","size"]}ngOnInit(){this.controller=new xt(this.torrent.infoHash),this.dataSource=this.torrent.filesStatus==="single"?new gt(this.torrent):new ft(this.apollo,this.errorsService,this.controller.variables$),this.controller.controls$.subscribe(e=>{this.controls=e})}item(e){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-files-table"]],inputs:{torrent:"torrent"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-results",3,"dataSource","multiTemplateDataRows"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","path"],["matColumnDef","type"],["matColumnDef","size"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"],["mat-header-cell",""],["mat-cell",""],[1,"filesize",3,"matTooltip"],["mat-header-row",""],["mat-row",""],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"]],template:function(i,r){i&1&&_(0,Jn,21,10,"ng-container",0)},dependencies:[z,ce,pe,de,ge,_e,me,xe,ue,fe,Ce,he,dt,R,Vt,at,ut,ye],styles:["span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted}"]})}}return t})();var Kn=t=>t.toLowerCase().replaceAll(/[^a-z0-9\-]/g,"-").replace(/^-+/,"").replaceAll(/-+/g,"-"),Ve=Kn;function Qn(t,n){if(t&1){let e=k();s(0,"mat-chip-row",8),w("edited",function(r){let p=v(e).$implicit,d=c(2);return S(d.renameTag(p,r.value))})("removed",function(){let r=v(e).$implicit,p=c(2);return S(p.deleteTag(r))}),l(1),s(2,"mat-icon",9),l(3,"cancel"),a()()}if(t&2){let e=n.$implicit;h("editable",!0),o(),m(" ",e," ")}}function Un(t,n){if(t&1&&(s(0,"mat-option",7),l(1),a()),t&2){let e=n.$implicit;h("value",e),o(),f(e)}}function Zn(t,n){if(t&1){let e=k();y(0),s(1,"mat-card")(2,"mat-form-field",3)(3,"mat-chip-grid",null,0),O(5,Qn,4,2,"mat-chip-row",4,tt),a(),s(7,"input",5),w("matChipInputTokenEnd",function(r){v(e);let p=c();return S(r.value&&p.addTag(r.value))}),a(),s(8,"mat-autocomplete",6,1),w("optionSelected",function(r){v(e);let p=c();return S(p.addTag(r.option.viewValue))}),O(10,Un,2,2,"mat-option",7,tt),a()()(),E()}if(t&2){let e=n.$implicit,i=Tt(4),r=Tt(9),p=c();o(5),B(p.editedTags),o(2),h("placeholder",e("torrents.new_tag"))("formControl",p.newTagCtrl)("matAutocomplete",r)("matChipInputFor",i)("matChipInputSeparatorKeyCodes",p.separatorKeysCodes)("value",p.newTagCtrl.value),o(3),B(p.suggestedTags)}}var Le=(()=>{class t{constructor(){this.newTagCtrl=new Yt(""),this.editedTags=Array(),this.suggestedTags=Array(),this.transloco=b(V),this.grapql=b(ct),this.errors=b(j),this.separatorKeysCodes=[13,188],this.updated=new q}ngOnInit(){this.newTagCtrl.valueChanges.subscribe(e=>(e&&(e=Ve(e),this.newTagCtrl.setValue(e,{emitEvent:!1})),this.grapql.torrentSuggestTags({input:{prefix:e,exclusions:this.torrentContent.torrent.tagNames}}).pipe(W(i=>{this.suggestedTags.splice(0,this.suggestedTags.length,...i.suggestions.map(r=>r.name))})).subscribe())),this.editedTags=this.torrentContent.torrent.tagNames,this.newTagCtrl.reset()}addTag(e){this.editTags(i=>[...i,e]),this.saveTags()}renameTag(e,i){this.editTags(r=>r.map(p=>p===e?i:p)),this.saveTags()}deleteTag(e){this.editTags(i=>i.filter(r=>r!==e)),this.saveTags()}editTags(e){this.editedTags=e(this.editedTags),this.newTagCtrl.reset()}saveTags(){this.grapql.torrentSetTags({infoHashes:[this.torrentContent.infoHash],tagNames:this.editedTags}).pipe(K(e=>(this.errors.addError(`Error saving tags: ${e.message}`),J))).pipe(W(()=>{this.updated.emit(null)})).subscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-edit-tags"]],inputs:{torrentContent:"torrentContent"},outputs:{updated:"updated"},standalone:!0,features:[P],decls:1,vars:0,consts:[["chipGrid",""],["auto","matAutocomplete"],[4,"transloco"],["subscriptSizing","dynamic",1,"form-edit-tags"],[3,"editable"],["autocapitalize","none",3,"matChipInputTokenEnd","placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","value"],[3,"optionSelected"],[3,"value"],[3,"edited","removed","editable"],["matChipRemove",""]],template:function(i,r){i&1&&_(0,Zn,12,6,"ng-container",2)},dependencies:[z,Xt,Jt,Wt,Q,re,ae,ee,ie,Zt,L,Ht,qt,Gt,R],styles:[".form-edit-tags[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper{display:none}"]})}}return t})();function Wn(t,n){if(t&1){let e=k();y(0),s(1,"mat-card")(2,"mat-card-content")(3,"mat-checkbox",1),w("change",function(r){v(e);let p=c();return p.localSearchDisabled=!r.checked,S(p.apisDisabled=r.checked?p.apisDisabled:!0)}),l(4),a(),s(5,"mat-checkbox",1),w("change",function(r){v(e);let p=c();return p.apisDisabled=!r.checked,S(p.localSearchDisabled=r.checked?!1:p.localSearchDisabled)}),l(6),a(),s(7,"mat-checkbox",1),w("change",function(r){v(e);let p=c();return S(p.classifierRematch=r.checked)}),l(8),a()(),s(9,"mat-card-actions",2)(10,"button",3),w("click",function(){v(e);let r=c();return S(r.reprocess())}),s(11,"mat-icon"),l(12,"cycle"),a(),l(13),a()()(),E()}if(t&2){let e=n.$implicit,i=c();o(3),h("checked",!i.localSearchDisabled),o(),f(e("torrents.reprocess.match_content_by_local_search")),o(),h("checked",!i.apisDisabled),o(),f(e("torrents.reprocess.match_content_by_external_api_search")),o(),h("checked",i.classifierRematch),o(),f(e("torrents.reprocess.force_rematch")),o(2),h("disabled",!i.infoHashes.length),o(3),m("",e("torrents.reprocess.reprocess")," ")}}var He=(()=>{class t{constructor(){this.apollo=b(lt),this.errors=b(j),this.classifierRematch=!1,this.apisDisabled=!0,this.localSearchDisabled=!0,this.updated=new q}reprocess(){this.apollo.mutate({mutation:Kt,variables:{input:{infoHashes:this.infoHashes,classifierRematch:this.classifierRematch,apisDisabled:this.apisDisabled,localSearchDisabled:this.localSearchDisabled}}}).pipe(X(()=>{this.updated.emit(null)})).subscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-reprocess"]],inputs:{infoHashes:"infoHashes"},outputs:{updated:"updated"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[3,"change","checked"],[1,"button-row"],["mat-stroked-button","",3,"click","disabled"]],template:function(i,r){i&1&&_(0,Wn,14,8,"ng-container",0)},dependencies:[z,st,Q,mt,pt,le,L,R],styles:[".mat-mdc-card[_ngcontent-%COMP%]{margin-bottom:10px}mat-checkbox[_ngcontent-%COMP%]{margin-right:20px}"]})}}return t})();var ti=(t,n)=>n.key,ei=(t,n)=>n.id,ni=(t,n)=>n.metadataSource.key,ii=t=>({count:t}),oi=t=>[t];function ri(t,n){if(t&1&&M(0,"img",1),t&2){let e=c().$implicit,i=c();h("ngSrc","https://image.tmdb.org/t/p/w300/"+n)("alt",e("torrents.poster"))("width",i.breakpoints.sizeAtLeast("Medium")?300:150)("height",i.breakpoints.sizeAtLeast("Medium")?450:225)}}function ai(t,n){if(t&1&&(s(0,"h2")(1,"a",12),l(2),a()()),t&2){let e=c().$implicit,i=c();o(),h("routerLink","permalink/"+i.torrentContent.infoHash)("matTooltip",e("torrents.permalink")),o(),f(i.torrentContent.torrent.name)}}function li(t,n){if(t&1&&(s(0,"p",2)(1,"strong"),l(2),a(),l(3,"\xA0 "),s(4,"span",13),$(5,"filesize"),l(6),$(7,"filesize"),a()()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.size"),":"),o(2),h("matTooltip",rt(5,3,i.torrentContent.torrent.size,10)),o(2),f(A(7,6,i.torrentContent.torrent.size))}}function si(t,n){if(t&1&&(s(0,"p",3)(1,"strong"),l(2),a(),l(3),$(4,"timeAgo"),a()),t&2){let e=c().$implicit,i=c();o(2),f(e("torrents.published")),o(),m(" ",A(4,2,i.torrentContent.publishedAt)," ")}}function ci(t,n){if(t&1&&(s(0,"p",4)(1,"strong"),l(2),a(),l(3),a()),t&2){let e,i=c().$implicit,r=c();o(2),m("",i("torrents.s_l"),":"),o(),zt(" ",(e=r.torrentContent.seeders)!==null&&e!==void 0?e:"?"," / ",(e=r.torrentContent.leechers)!==null&&e!==void 0?e:"?"," ")}}function pi(t,n){if(t&1&&(s(0,"span"),l(1),a()),t&2){let e=n.$implicit,i=n.$index;o(),f((i>0?", ":"")+e.name)}}function mi(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3),a()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.title"),":"),o(),m(" ",i.torrentContent.content.title," ")}}function di(t,n){if(t&1&&l(0),t&2){let e=n.$implicit,i=n.$index,r=c(3);m(" ",(i>0?", ":"")+e.name+(e.id===(r.torrentContent.content==null||r.torrentContent.content.originalLanguage==null?null:r.torrentContent.content.originalLanguage.id)?" (original)":"")," ")}}function _i(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3,"\xA0 "),O(4,di,1,1,null,null,ei),a()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.languages"),":"),o(2),B(i.torrentContent.languages)}}function ui(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3),a()),t&2){let e,i=c().$implicit,r=c();o(2),m("",i("torrents.original_release_date"),":"),o(),m(" ",(e=r.torrentContent.content==null?null:r.torrentContent.content.releaseDate)!==null&&e!==void 0?e:r.torrentContent.content==null?null:r.torrentContent.content.releaseYear," ")}}function fi(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3),a()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.episodes"),":"),o(),m(" ",i.torrentContent.episodes.label," ")}}function gi(t,n){if(t&1&&(s(0,"p"),l(1),a()),t&2){let e=c(2);o(),m(" ",e.torrentContent.content.overview," ")}}function xi(t,n){if(t&1&&(y(0),s(1,"p")(2,"strong"),l(3),a(),l(4),a(),E()),t&2){let e=c().$implicit;o(3),m("",e("torrents.genres"),":"),o(),m(" ",n.join(", ")," ")}}function Ci(t,n){if(t&1&&(y(0),l(1),$(2,"number"),E()),t&2){let e=c(2).$implicit,i=c();o(),m("(",e("torrents.votes_count_n",bt(3,ii,A(2,1,i.torrentContent.content==null?null:i.torrentContent.content.voteCount))),")")}}function hi(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3),_(4,Ci,3,5,"ng-container"),a()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.rating"),":"),o(),m(" ",i.torrentContent.content==null?null:i.torrentContent.content.voteAverage," / 10 "),o(),u((i.torrentContent.content==null?null:i.torrentContent.content.voteCount)!=null?4:-1)}}function Ti(t,n){if(t&1&&(l(0),s(1,"a",14),l(2),a()),t&2){let e=n.$implicit,i=n.$index;m(" ",i>0?", ":"",""),o(),h("href",e.url,Rt),o(),f(e.metadataSource.name)}}function bi(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3,"\xA0 "),O(4,Ti,3,3,"a",14,ni),a()),t&2){let e=c().$implicit;o(2),m("",e("torrents.external_links"),":"),o(2),B(n)}}function vi(t,n){if(t&1&&(s(0,"span",15),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.files"))}}function Si(t,n){t&1&&(s(0,"span",16),l(1),$(2,"number"),a()),t&2&&(o(),m("(",A(2,1,n),")"))}function yi(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"file_present"),a(),_(2,vi,2,1,"span",15)(3,Si,3,3,"span",16)),t&2){let e,i=c(2);o(2),u(i.breakpoints.sizeAtLeast("Medium")?2:-1),o(),u((e=i.filesCount())?3:-1,e)}}function Ei(t,n){if(t&1&&(s(0,"p"),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.files_no_info"))}}function wi(t,n){if(t&1&&(s(0,"mat-card",17),_(1,Ei,2,1,"p"),M(2,"app-torrent-files-table",18),a()),t&2){let e=c(2);o(),u(e.torrentContent.torrent.filesStatus==="no_info"?1:-1),o(),h("torrent",e.torrentContent.torrent)}}function Ii(t,n){if(t&1&&(s(0,"span",15),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.edit_tags"))}}function Mi(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"sell"),a(),_(2,Ii,2,1,"span",15)),t&2){let e=c(2);o(2),u(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ki(t,n){if(t&1){let e=k();s(0,"app-torrent-edit-tags",19),w("updated",function(){v(e);let r=c(2);return S(r.updated.emit(null))}),a()}if(t&2){let e=c(2);h("torrentContent",e.torrentContent)}}function $i(t,n){if(t&1&&(s(0,"span",15),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.classification"))}}function Fi(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"category"),a(),_(2,$i,2,1,"span",15)),t&2){let e=c(2);o(2),u(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function Di(t,n){if(t&1){let e=k();s(0,"app-torrent-reprocess",20),w("updated",function(){v(e);let r=c(2);return S(r.updated.emit(null))}),a()}if(t&2){let e=c(2);h("infoHashes",bt(1,oi,e.torrentContent.infoHash))}}function Oi(t,n){if(t&1&&(s(0,"span",15),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.delete"))}}function Bi(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"delete_forever"),a(),_(2,Oi,2,1,"span",15)),t&2){let e=c(2);o(2),u(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function Pi(t,n){if(t&1){let e=k();s(0,"mat-card")(1,"mat-card-content",21)(2,"p")(3,"strong"),l(4),a(),M(5,"br"),l(6),a()(),s(7,"mat-card-actions",22)(8,"button",23),w("click",function(){v(e);let r=c(2);return S(r.delete())}),s(9,"mat-icon"),l(10,"delete_forever"),a(),l(11),a()()()}if(t&2){let e=c().$implicit;o(4),f(e("torrents.delete_are_you_sure")),o(2),m("",e("torrents.delete_action_cannot_be_undone")," "),o(5),m("",e("torrents.delete")," ")}}function Ai(t,n){t&1&&(s(0,"mat-icon",24),l(1,"close"),a())}function Ri(t,n){t&1&&(s(0,"mat-tab"),_(1,Ai,2,0,"ng-template",10),a())}function zi(t,n){if(t&1){let e=k();y(0),_(1,ri,1,4,"img",1)(2,ai,3,3,"h2")(3,li,8,8,"p",2)(4,si,5,4,"p",3)(5,ci,4,3,"p",4),s(6,"p",5)(7,"strong"),l(8),a(),s(9,"span",6),l(10),a()(),s(11,"p")(12,"strong"),l(13),a(),l(14,"\xA0 "),O(15,pi,2,1,"span",null,ti),a(),_(17,mi,4,2,"p")(18,_i,6,1,"p")(19,ui,4,2,"p")(20,fi,4,2,"p")(21,gi,2,1,"p")(22,xi,5,2,"ng-container")(23,hi,5,3,"p")(24,bi,6,1,"p"),M(25,"mat-divider",7),s(26,"mat-tab-group",8),w("focusChange",function(r){v(e);let p=c();return S(p.selectTabIndex(r.index))}),M(27,"mat-tab",9),s(28,"mat-tab"),_(29,yi,4,2,"ng-template",10)(30,wi,3,2,"ng-template",11),a(),s(31,"mat-tab"),_(32,Mi,3,1,"ng-template",10)(33,ki,1,1,"ng-template",11),a(),s(34,"mat-tab"),_(35,Fi,3,1,"ng-template",10)(36,Di,1,3,"ng-template",11),a(),s(37,"mat-tab"),_(38,Bi,3,1,"ng-template",10)(39,Pi,12,3,"ng-template",11),a(),_(40,Ri,2,0,"mat-tab"),a(),E()}if(t&2){let e,i,r,p=n.$implicit,d=c();o(),u((e=d.getAttribute("poster_path","tmdb"))?1:-1,e),o(),u(d.heading?2:-1),o(),u(d.size?3:-1),o(),u(d.published?4:-1),o(),u(d.peers?5:-1),o(3),m("",p("torrents.info_hash"),":"),o(),h("matTooltip",p("torrents.copy_to_clipboard"))("cdkCopyToClipboard",d.torrentContent.infoHash),o(),f(d.torrentContent.infoHash),o(3),m("",p("torrents.source"),":"),o(2),B(d.torrentContent.torrent.sources),o(2),u(d.torrentContent.content?17:-1),o(),u(d.torrentContent.languages!=null&&d.torrentContent.languages.length?18:-1),o(),u(d.torrentContent.content!=null&&d.torrentContent.content.releaseYear?19:-1),o(),u(d.torrentContent.episodes?20:-1),o(),u(d.torrentContent.content!=null&&d.torrentContent.content.overview?21:-1),o(),u((i=d.getCollections("genre"))?22:-1,i),o(),u((d.torrentContent.content==null?null:d.torrentContent.content.voteAverage)!=null?23:-1),o(),u((r=d.torrentContent.content==null?null:d.torrentContent.content.externalLinks)?24:-1,r),o(2),h("selectedIndex",d.selectedTabIndex)("mat-stretch-tabs",!1),o(14),u(d.selectedTabIndex>0?40:-1)}}var Cr=(()=>{class t{constructor(){this.breakpoints=b(Ee),this.heading=!0,this.size=!0,this.peers=!0,this.published=!0,this.updated=new q,this.tabSelected=new q,this.selectedTab=void 0,this.transloco=b(V),this.grapql=b(ct),this.errors=b(j)}get selectedTabIndex(){return Et.indexOf(this.selectedTab)+1}selectTabIndex(e){this.selectedTab=Et[e-1],this.tabSelected.emit(this.selectedTab)}delete(){this.grapql.torrentDelete({infoHashes:[this.torrentContent.infoHash]}).pipe(K(e=>(this.errors.addError(`Error deleting torrent: ${e.message}`),J))).pipe(W(()=>{this.updated.emit(null)})).subscribe()}getAttribute(e,i){return this.torrentContent.content?.attributes?.find(r=>r.key===e&&(i===void 0||r.source===i))?.value}getCollections(e){let i=this.torrentContent.content?.collections?.filter(r=>r.type===e).map(r=>r.name);return i?.length?i.sort():void 0}filesCount(){return this.torrentContent.torrent.filesStatus==="single"?1:this.torrentContent.torrent.filesCount??void 0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-content"]],inputs:{torrentContent:"torrentContent",heading:"heading",size:"size",peers:"peers",published:"published",selectedTab:"selectedTab"},outputs:{updated:"updated",tabSelected:"tabSelected"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[1,"poster",3,"ngSrc","alt","width","height"],[1,"size"],[1,"published"],[1,"peers"],[1,"info-hash"],[3,"matTooltip","cdkCopyToClipboard"],[2,"clear","both"],["animationDuration","0",3,"focusChange","selectedIndex","mat-stretch-tabs"],["aria-labelledby","hidden"],["mat-tab-label",""],["matTabContent",""],[3,"routerLink","matTooltip"],[1,"filesize",3,"matTooltip"],["target","_blank",3,"href"],[1,"label"],[1,"files-count"],[1,"torrent-files"],[3,"torrent"],[3,"updated","torrentContent"],[3,"updated","infoHashes"],[2,"margin-top","10px"],[1,"button-row"],["mat-stroked-button","","color","warning",3,"click"],[2,"margin-right","0"]],template:function(i,r){i&1&&_(0,zi,41,21,"ng-container",0)},dependencies:[z,Ut,st,Q,mt,pt,se,L,Te,be,ve,Se,dt,Lt,R,at,ut,jt,we,Le,Ne,He],styles:["h2[_ngcontent-%COMP%]{margin-top:10px;max-width:900px;white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word}.poster[_ngcontent-%COMP%]{float:right;margin:10px;border:1px solid currentColor}.info-hash[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word}.info-hash[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:5px;cursor:crosshair;text-decoration:underline;text-decoration-style:dotted}.torrent-files[_ngcontent-%COMP%]{padding-top:10px;max-height:800px;overflow:scroll;scrollbar-width:none}.torrent-files[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{margin-bottom:10px;width:800px}.torrent-files[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:20px;border-bottom:1px solid rgba(0,0,0,.12)}.torrent-files[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%]{background-color:#f5f5f5}.torrent-files[_ngcontent-%COMP%] [_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.files-count[_ngcontent-%COMP%]{margin-left:4px}.mat-mdc-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:0}span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted;cursor:default} .mdc-tab[aria-labelledby=hidden]{display:none} .mdc-tab[role=tab]{padding-left:15px;padding-right:15px} .mdc-tab .label, .mdc-tab .files-count{margin-left:8px}"]})}}return t})();export{He as a,ut as b,Vi as c,Et as d,St as e,Me as f,Hi as g,dn as h,ke as i,qi as j,Cr as k}; diff --git a/webui/dist/bitmagnet/browser/chunk-JS3YJKHP.js b/webui/dist/bitmagnet/browser/chunk-JS3YJKHP.js deleted file mode 100644 index 45c24316..00000000 --- a/webui/dist/bitmagnet/browser/chunk-JS3YJKHP.js +++ /dev/null @@ -1 +0,0 @@ -import{a as ge,b as Te}from"./chunk-RD4V5RUF.js";import{a as W}from"./chunk-ZF4WX6G7.js";import{a as he}from"./chunk-3AJEMLV6.js";import{$ as te,Da as oe,Ea as re,F as jt,Fa as ae,Ga as le,Ha as se,I as Lt,Ia as ce,Ja as pe,K as Vt,Ka as me,La as _e,M as Ht,Ma as de,N as Gt,Na as ue,O as Yt,Oa as Ce,P as Kt,Pa as xe,Qa as fe,R as qt,T as Ut,Ua as L,W as Xt,X as Jt,Y as Zt,Z as Qt,_ as Wt,a as R,aa as ee,b as j,d as zt,e as Bt,f as Ft,g as Ot,i as Dt,ja as ne,n as Nt,o as Rt,qa as tt,va as ie,ya as et}from"./chunk-Z6GE3BUT.js";import{m as At}from"./chunk-ZBBMS7J5.js";import{$b as c,$c as kt,B as st,Cb as C,Ea as M,Fa as $,Hb as g,Mb as d,N as Y,Na as wt,Nb as K,Ob as k,Pb as P,Q as St,Qb as s,Rb as r,Sb as h,Tb as T,Ub as b,Wb as B,Zb as A,a as X,ad as Q,b as vt,ha as J,hb as It,id as Pt,jc as pt,kb as o,kc as l,l as E,lb as ct,lc as x,mc as m,nc as yt,o as G,pc as N,qa as y,rc as Mt,sc as $t,ua as D,uc as v,vc as w,wc as Z,xa as Et}from"./chunk-FJILXII2.js";var be={movie:{singular:"Movie",plural:"Movies",icon:"movie"},tv_show:{singular:"TV Show",plural:"TV Shows",icon:"live_tv"},music:{singular:"Music",plural:"Music",icon:"music_note"},ebook:{singular:"E-Book",plural:"E-Books",icon:"auto_stories"},comic:{singular:"Comic",plural:"Comics",icon:"comic_bubble"},audiobook:{singular:"Audiobook",plural:"Audiobooks",icon:"mic"},software:{singular:"Software",plural:"Software",icon:"desktop_windows"},game:{singular:"Game",plural:"Games",icon:"sports_esports"},xxx:{singular:"XXX",plural:"XXX",icon:"18_up_rating"},null:{singular:"Unknown",plural:"Unknown",icon:"question_mark"}},_i=Object.entries(be).map(([t,n])=>X({key:t},n)),di=t=>t?be[t]:void 0;var Ne=(t,n)=>n.id;function Re(t,n){if(t&1&&(s(0,"mat-chip",1)(1,"mat-icon",2),l(2,"sell"),r(),l(3),r()),t&2){let e=n.$implicit;o(3),m(" ",e," ")}}function je(t,n){if(t&1&&l(0),t&2){let e=n.$implicit,i=n.$index,a=c(),p=c().$implicit;m(" ",p("languages."+e.id)+(i{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-chips"]],inputs:{torrentContent:"torrentContent"},standalone:!0,features:[N],decls:1,vars:0,consts:[[4,"transloco"],[1,"chip-primary"],["matChipAvatar",""],["matChipAvatar","","svgIcon","binary"]],template:function(i,a){i&1&&C(0,qe,10,6,"ng-container",0)},dependencies:[L,Zt,Xt,Wt,tt,j],styles:["mat-chip-set[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;left:4px}"]})}}return t})();var Ue="array",Xe="bit",Se="bits",Je="byte",Ee="bytes",V="",Ze="exponent",Qe="function",we="iec",We="Invalid number",tn="Invalid rounding method",_t="jedec",en="object",Ie=".",nn="round",on="s",rn="si",an="kbit",ln="kB",sn=" ",cn="string",pn="0",dt={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function ye(t,{bits:n=!1,pad:e=!1,base:i=-1,round:a=2,locale:p=V,localeOptions:_={},separator:F=V,spacer:S=sn,symbols:Pe={},standard:I=V,output:at=cn,fullform:Ae=!1,fullforms:ut=[],exponent:Ct=-1,roundingMethod:ze=nn,precision:q=0}={}){let f=Ct,O=Number(t),u=[],z=0,lt=V;I===rn?(i=10,I=_t):I===we||I===_t?i=2:i===2?I=we:(i=10,I=_t);let U=i===10?1e3:1024,Be=Ae===!0,xt=O<0,ft=Math[ze];if(typeof t!="bigint"&&isNaN(t))throw new TypeError(We);if(typeof ft!==Qe)throw new TypeError(tn);if(xt&&(O=-O),(f===-1||isNaN(f))&&(f=Math.floor(Math.log(O)/Math.log(U)),f<0&&(f=0)),f>8&&(q>0&&(q+=8-f),f=8),at===Ze)return f;if(O===0)u[0]=0,lt=u[1]=dt.symbol[I][n?Se:Ee][f];else{z=O/(i===2?Math.pow(2,f*10):Math.pow(1e3,f)),n&&(z=z*8,z>=U&&f<8&&(z=z/U,f++));let H=Math.pow(10,f>0?a:0);u[0]=ft(z*H)/H,u[0]===U&&f<8&&Ct===-1&&(u[0]=1,f++),lt=u[1]=i===10&&f===1?n?an:ln:dt.symbol[I][n?Se:Ee][f]}if(xt&&(u[0]=-u[0]),q>0&&(u[0]=u[0].toPrecision(q)),u[1]=Pe[u[1]]||u[1],p===!0?u[0]=u[0].toLocaleString():p.length>0?u[0]=u[0].toLocaleString(p,_):F.length>0&&(u[0]=u[0].toString().replace(Ie,F)),e&&a>0){let H=u[0].toString(),gt=F||(H.match(/(\D)/g)||[]).pop()||Ie,ht=H.toString().split(gt),Tt=ht[1]||V,bt=Tt.length,Fe=a-bt;u[0]=`${ht[0]}${gt}${Tt.padEnd(bt+Fe,pn)}`}return Be&&(u[1]=ut[f]?ut[f]:dt.fullform[I][f]+(n?Xe:Je)+(u[0]===1?V:on)),at===Ue?u:at===en?{value:u[0],symbol:u[1],exponent:f,unit:lt}:u.join(S)}var nt=(()=>{class t{constructor(){this.transloco=y(R)}transform(e,i=2){return ye(e,{locale:this.transloco.getActiveLang(),base:i})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=Et({name:"filesize",type:t,pure:!1,standalone:!0})}}return t})();var mn=t=>t.toLowerCase().replaceAll(/[^a-z0-9\-]/g,"-").replace(/^-+/,"").replaceAll(/-+/g,"-"),Me=mn;var _n={items:[],hasNextPage:!1,totalCount:0,aggregations:{queue:[],status:[]}},it=class{constructor(n,e,i){this.apollo=n,this.errorsService=e,this.currentRequest=new E(0),this.loadingSubject=new E(!1),this.loading$=this.loadingSubject.asObservable(),this.result=_n,this.resultSubject=new E(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(st(a=>a.items)),i.subscribe(a=>{this.loadResult(a)}),this.resultSubject.subscribe(a=>{this.result=a})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:jt,variables:n,fetchPolicy:"no-cache"}).pipe(st(a=>a.data.torrent.files)).pipe(Y(a=>(this.errorsService.addError(`Error loading item results: ${a.message}`),G)));this.currentSubscription=i.subscribe(a=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(a))})}},ot=class{constructor(n){this.torrent=n,this.loading$=new E(!1).asObservable(),this.file={infoHash:n.infoHash,index:0,path:n.name,size:n.size,fileType:n.fileType,extension:n.extension,createdAt:n.createdAt,updatedAt:n.updatedAt},this.result={hasNextPage:!1,items:[this.file],totalCount:1},this.result$=new E(this.result).asObservable(),this.items$=new E([this.file]).asObservable()}connect({}){return this.items$}disconnect(){}};var rt=class{constructor(n){let e={infoHash:n,limit:10,page:1};this.controlsSubject=new E(e),this.controls$=this.controlsSubject.asObservable(),this.controls$.pipe(St(100)).subscribe(i=>{let a=this.variablesSubject.getValue(),p=$e(i);JSON.stringify(a)!==JSON.stringify(p)&&this.variablesSubject.next(p)}),this.variablesSubject=new E($e(e)),this.variables$=this.variablesSubject.asObservable()}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}handlePageEvent(n){this.update(e=>vt(X({},e),{limit:n.pageSize,page:n.page}))}},$e=t=>({input:{infoHashes:[t.infoHash],limit:t.limit,page:t.page,totalCount:!0,hasNextPage:!1}});var Cn=(t,n)=>({x:t,y:n});function xn(t,n){if(t&1&&(s(0,"p"),l(1),v(2,"number"),v(3,"number"),r()),t&2){let e=c().$implicit,i=c();o(),m(" ",e("torrents.showing_x_of_y_files",$t(5,Cn,w(2,1,i.dataSource.result.totalCount),i.torrent.filesCount==null?"?":w(3,3,i.torrent.filesCount)))," ")}}function fn(t,n){if(t&1&&(s(0,"th",13),l(1),r()),t&2){let e=c().$implicit;o(),x(e("torrents.file_index"))}}function gn(t,n){if(t&1&&(s(0,"td",14),l(1),r()),t&2){let e=n.$implicit,i=c(2);o(),m(" ",i.item(e).index," ")}}function hn(t,n){if(t&1&&(s(0,"th",13),l(1),r()),t&2){let e=c().$implicit;o(),x(e("torrents.file_path"))}}function Tn(t,n){if(t&1&&(s(0,"td",14),l(1),r()),t&2){let e=n.$implicit,i=c(2);o(),m(" ",i.item(e).path," ")}}function bn(t,n){if(t&1&&(s(0,"th",13),l(1),r()),t&2){let e=c().$implicit;o(),x(e("torrents.file_type"))}}function vn(t,n){if(t&1&&(s(0,"td",14),l(1),r()),t&2){let e,i=n.$implicit,a=c().$implicit,p=c();o(),m(" ",a("file_types."+((e=p.item(i).fileType)!==null&&e!==void 0?e:"unknown"))," ")}}function Sn(t,n){if(t&1&&(s(0,"th",13),l(1),r()),t&2){let e=c().$implicit;o(),x(e("torrents.file_size"))}}function En(t,n){if(t&1&&(s(0,"td",14)(1,"span",15),v(2,"filesize"),l(3),v(4,"filesize"),r()()),t&2){let e=n.$implicit,i=c(2);o(),g("matTooltip",Z(2,2,i.item(e).size,10)),o(2),x(w(4,5,i.item(e).size))}}function wn(t,n){t&1&&h(0,"tr",16)}function In(t,n){t&1&&h(0,"tr",17)}function yn(t,n){if(t&1){let e=B();s(0,"app-paginator",18),A("paging",function(a){M(e);let p=c(2);return $(p.controller.handlePageEvent(a))}),r()}if(t&2){let e=c(2);g("page",e.controls.page)("pageSize",e.controls.limit)("pageLength",e.dataSource.result.items.length)("totalLength",e.dataSource.result.totalCount)("totalIsEstimate",!1)("showLastPage",!0)}}function Mn(t,n){if(t&1&&(T(0),s(1,"div",1),h(2,"mat-progress-bar",2),v(3,"async"),r(),C(4,xn,4,8,"p"),s(5,"table",3),T(6,4),C(7,fn,2,1,"th",5)(8,gn,2,1,"td",6),b(),T(9,7),C(10,hn,2,1,"th",5)(11,Tn,2,1,"td",6),b(),T(12,8),C(13,bn,2,1,"th",5)(14,vn,2,1,"td",6),b(),T(15,9),C(16,Sn,2,1,"th",5)(17,En,5,7,"td",6),b(),C(18,wn,1,0,"tr",10)(19,In,1,0,"tr",11),r(),C(20,yn,1,6,"app-paginator",12),b()),t&2){let e=c();o(2),g("mode",w(3,8,e.dataSource.loading$)?"indeterminate":"determinate")("value",0),o(2),d(e.torrent.filesStatus==="over_threshold"?4:-1),o(),g("dataSource",e.dataSource)("multiTemplateDataRows",!0),o(13),g("matHeaderRowDef",e.displayedColumns),o(),g("matRowDefColumns",e.displayedColumns),o(),d(e.dataSource.result.totalCount>10?20:-1)}}var ke=(()=>{class t{constructor(){this.apollo=y(Dt),this.errorsService=y(W),this.transloco=y(R),this.displayedColumns=["index","path","type","size"]}ngOnInit(){this.controller=new rt(this.torrent.infoHash),this.dataSource=this.torrent.filesStatus==="single"?new ot(this.torrent):new it(this.apollo,this.errorsService,this.controller.variables$),this.controller.controls$.subscribe(e=>{this.controls=e})}item(e){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-files-table"]],inputs:{torrent:"torrent"},standalone:!0,features:[N],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-results",3,"dataSource","multiTemplateDataRows"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","path"],["matColumnDef","type"],["matColumnDef","size"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"],["mat-header-cell",""],["mat-cell",""],[1,"filesize",3,"matTooltip"],["mat-header-row",""],["mat-row",""],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"]],template:function(i,a){i&1&&C(0,Mn,21,10,"ng-container",0)},dependencies:[L,ie,oe,ae,pe,le,re,me,se,ce,_e,de,et,j,kt,Q,nt,ge],styles:["span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted}"]})}}return t})();var $n=(t,n)=>n.key,kn=(t,n)=>n.id,Pn=(t,n)=>n.metadataSource.key,An=t=>({count:t});function zn(t,n){if(t&1&&h(0,"img",3),t&2){let e=c().$implicit,i=c();g("ngSrc","https://image.tmdb.org/t/p/w300/"+n)("alt",e("torrents.poster"))("width",i.breakpoints.sizeAtLeast("Medium")?300:150)("height",i.breakpoints.sizeAtLeast("Medium")?450:225)}}function Bn(t,n){if(t&1&&(s(0,"h2")(1,"a",14),l(2),r()()),t&2){let e=c().$implicit,i=c();o(),g("routerLink","permalink/"+i.torrentContent.infoHash)("matTooltip",e("torrents.permalink")),o(),x(i.torrentContent.torrent.name)}}function Fn(t,n){if(t&1&&(s(0,"p",4)(1,"strong"),l(2),r(),l(3,"\xA0 "),s(4,"span",15),v(5,"filesize"),l(6),v(7,"filesize"),r()()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.size"),":"),o(2),g("matTooltip",Z(5,3,i.torrentContent.torrent.size,10)),o(2),x(w(7,6,i.torrentContent.torrent.size))}}function On(t,n){if(t&1&&(s(0,"p",5)(1,"strong"),l(2),r(),l(3),v(4,"timeAgo"),r()),t&2){let e=c().$implicit,i=c();o(2),x(e("torrents.published")),o(),m(" ",w(4,2,i.torrentContent.publishedAt)," ")}}function Dn(t,n){if(t&1&&(s(0,"p",6)(1,"strong"),l(2),r(),l(3),r()),t&2){let e,i=c().$implicit,a=c();o(2),m("",i("torrents.s_l"),":"),o(),yt(" ",(e=a.torrentContent.seeders)!==null&&e!==void 0?e:"?"," / ",(e=a.torrentContent.leechers)!==null&&e!==void 0?e:"?"," ")}}function Nn(t,n){if(t&1&&(s(0,"span"),l(1),r()),t&2){let e=n.$implicit,i=n.$index;o(),x((i>0?", ":"")+e.name)}}function Rn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3),r()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.title"),":"),o(),m(" ",i.torrentContent.content.title," ")}}function jn(t,n){if(t&1&&l(0),t&2){let e=n.$implicit,i=n.$index,a=c(3);m(" ",(i>0?", ":"")+e.name+(e.id===(a.torrentContent.content==null||a.torrentContent.content.originalLanguage==null?null:a.torrentContent.content.originalLanguage.id)?" (original)":"")," ")}}function Ln(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3,"\xA0 "),k(4,jn,1,1,null,null,kn),r()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.languages"),":"),o(2),P(i.torrentContent.languages)}}function Vn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3),r()),t&2){let e,i=c().$implicit,a=c();o(2),m("",i("torrents.original_release_date"),":"),o(),m(" ",(e=a.torrentContent.content==null?null:a.torrentContent.content.releaseDate)!==null&&e!==void 0?e:a.torrentContent.content==null?null:a.torrentContent.content.releaseYear," ")}}function Hn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3),r()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.episodes"),":"),o(),m(" ",i.torrentContent.episodes.label," ")}}function Gn(t,n){if(t&1&&(s(0,"p"),l(1),r()),t&2){let e=c(2);o(),m(" ",e.torrentContent.content.overview," ")}}function Yn(t,n){if(t&1&&(T(0),s(1,"p")(2,"strong"),l(3),r(),l(4),r(),b()),t&2){let e=c().$implicit;o(3),m("",e("torrents.genres"),":"),o(),m(" ",n.join(", ")," ")}}function Kn(t,n){if(t&1&&(T(0),l(1),v(2,"number"),b()),t&2){let e=c(2).$implicit,i=c();o(),m("(",e("torrents.votes_count_n",Mt(3,An,w(2,1,i.torrentContent.content==null?null:i.torrentContent.content.voteCount))),")")}}function qn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3),C(4,Kn,3,5,"ng-container"),r()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.rating"),":"),o(),m(" ",i.torrentContent.content==null?null:i.torrentContent.content.voteAverage," / 10 "),o(),d((i.torrentContent.content==null?null:i.torrentContent.content.voteCount)!=null?4:-1)}}function Un(t,n){if(t&1&&(l(0),s(1,"a",16),l(2),r()),t&2){let e=n.$implicit,i=n.$index;m(" ",i>0?", ":"",""),o(),g("href",e.url,It),o(),x(e.metadataSource.name)}}function Xn(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),r(),l(3,"\xA0 "),k(4,Un,3,3,"a",16,Pn),r()),t&2){let e=c().$implicit;o(2),m("",e("torrents.external_links"),":"),o(2),P(n)}}function Jn(t,n){if(t&1&&(s(0,"span",17),l(1),r()),t&2){let e=c(2).$implicit;o(),x(e("torrents.files"))}}function Zn(t,n){t&1&&(s(0,"span",18),l(1),v(2,"number"),r()),t&2&&(o(),m("(",w(2,1,n),")"))}function Qn(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"file_present"),r(),C(2,Jn,2,1,"span",17)(3,Zn,3,3,"span",18)),t&2){let e,i=c(2);o(2),d(i.breakpoints.sizeAtLeast("Medium")?2:-1),o(),d((e=i.filesCount())?3:-1,e)}}function Wn(t,n){if(t&1&&(s(0,"p"),l(1),r()),t&2){let e=c(2).$implicit;o(),x(e("torrents.files_no_info"))}}function ti(t,n){if(t&1&&(s(0,"mat-card",19),C(1,Wn,2,1,"p"),h(2,"app-torrent-files-table",20),r()),t&2){let e=c(2);o(),d(e.torrentContent.torrent.filesStatus==="no_info"?1:-1),o(),g("torrent",e.torrentContent.torrent)}}function ei(t,n){if(t&1&&(s(0,"span",17),l(1),r()),t&2){let e=c(2).$implicit;o(),x(e("torrents.edit_tags"))}}function ni(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"sell"),r(),C(2,ei,2,1,"span",17)),t&2){let e=c(2);o(2),d(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ii(t,n){if(t&1){let e=B();s(0,"mat-chip-row",26),A("edited",function(a){let p=M(e).$implicit,_=c(3);return $(_.renameTag(p,a.value))})("removed",function(){let a=M(e).$implicit,p=c(3);return $(p.deleteTag(a))}),l(1),s(2,"mat-icon",27),l(3,"cancel"),r()()}if(t&2){let e=n.$implicit;g("editable",!0),o(),m(" ",e," ")}}function oi(t,n){if(t&1&&(s(0,"mat-option",25),l(1),r()),t&2){let e=n.$implicit;g("value",e),o(),x(e)}}function ri(t,n){if(t&1){let e=B();s(0,"mat-card")(1,"mat-form-field",21)(2,"mat-chip-grid",null,0),k(4,ii,4,2,"mat-chip-row",22,K),r(),s(6,"input",23),A("matChipInputTokenEnd",function(a){M(e);let p=c(2);return $(a.value&&p.addTag(a.value))}),r(),s(7,"mat-autocomplete",24,1),A("optionSelected",function(a){M(e);let p=c(2);return $(p.addTag(a.option.viewValue))}),k(9,oi,2,2,"mat-option",25,K),r()()()}if(t&2){let e=pt(3),i=pt(8),a=c().$implicit,p=c();o(4),P(p.torrentContent.torrent.tagNames),o(2),g("placeholder",a("torrents.new_tag"))("formControl",p.newTagCtrl)("matAutocomplete",i)("matChipInputFor",e)("matChipInputSeparatorKeyCodes",p.separatorKeysCodes)("value",p.newTagCtrl.value),o(3),P(p.suggestedTags)}}function ai(t,n){if(t&1&&(s(0,"span",17),l(1),r()),t&2){let e=c(2).$implicit;o(),x(e("torrents.delete"))}}function li(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"delete_forever"),r(),C(2,ai,2,1,"span",17)),t&2){let e=c(2);o(2),d(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function si(t,n){if(t&1){let e=B();s(0,"mat-card")(1,"mat-card-content",28)(2,"p")(3,"strong"),l(4),r(),h(5,"br"),l(6),r()(),s(7,"mat-card-actions",29)(8,"button",30),A("click",function(){M(e);let a=c(2);return $(a.delete())}),s(9,"mat-icon"),l(10,"delete_forever"),r(),l(11),r()()()}if(t&2){let e=c().$implicit;o(4),x(e("torrents.delete_are_you_sure")),o(2),m("",e("torrents.delete_action_cannot_be_undone")," "),o(5),m("",e("torrents.delete")," ")}}function ci(t,n){t&1&&(s(0,"mat-icon",31),l(1,"close"),r())}function pi(t,n){t&1&&(s(0,"mat-tab"),C(1,ci,2,0,"ng-template",12),r())}function mi(t,n){if(t&1){let e=B();T(0),C(1,zn,1,4,"img",3)(2,Bn,3,3,"h2")(3,Fn,8,8,"p",4)(4,On,5,4,"p",5)(5,Dn,4,3,"p",6),s(6,"p",7)(7,"strong"),l(8),r(),s(9,"span",8),l(10),r()(),s(11,"p")(12,"strong"),l(13),r(),l(14,"\xA0 "),k(15,Nn,2,1,"span",null,$n),r(),C(17,Rn,4,2,"p")(18,Ln,6,1,"p")(19,Vn,4,2,"p")(20,Hn,4,2,"p")(21,Gn,2,1,"p")(22,Yn,5,2,"ng-container")(23,qn,5,3,"p")(24,Xn,6,1,"p"),h(25,"mat-divider",9),s(26,"mat-tab-group",10),A("focusChange",function(a){M(e);let p=c();return $(p.selectTab(a.index==4?0:a.index))}),h(27,"mat-tab",11),s(28,"mat-tab"),C(29,Qn,4,2,"ng-template",12)(30,ti,3,2,"ng-template",13),r(),s(31,"mat-tab"),C(32,ni,3,1,"ng-template",12)(33,ri,11,6,"ng-template",13),r(),s(34,"mat-tab"),C(35,li,3,1,"ng-template",12)(36,si,12,3,"ng-template",13),r(),C(37,pi,2,0,"mat-tab"),r(),b()}if(t&2){let e,i,a,p=n.$implicit,_=c();o(),d((e=_.getAttribute("poster_path","tmdb"))?1:-1,e),o(),d(_.heading?2:-1),o(),d(_.size?3:-1),o(),d(_.published?4:-1),o(),d(_.peers?5:-1),o(3),m("",p("torrents.info_hash"),":"),o(),g("matTooltip",p("torrents.copy_to_clipboard"))("cdkCopyToClipboard",_.torrentContent.infoHash),o(),x(_.torrentContent.infoHash),o(3),m("",p("torrents.source"),":"),o(2),P(_.torrentContent.torrent.sources),o(2),d(_.torrentContent.content?17:-1),o(),d(_.torrentContent.languages!=null&&_.torrentContent.languages.length?18:-1),o(),d(_.torrentContent.content!=null&&_.torrentContent.content.releaseYear?19:-1),o(),d(_.torrentContent.episodes?20:-1),o(),d(_.torrentContent.content!=null&&_.torrentContent.content.overview?21:-1),o(),d((i=_.getCollections("genre"))?22:-1,i),o(),d((_.torrentContent.content==null?null:_.torrentContent.content.voteAverage)!=null?23:-1),o(),d((a=_.torrentContent.content==null?null:_.torrentContent.content.externalLinks)?24:-1,a),o(2),g("selectedIndex",_.selectedTabIndex)("mat-stretch-tabs",!1),o(11),d(_.selectedTabIndex>0?37:-1)}}var Eo=(()=>{class t{constructor(e,i){this.graphQLService=e,this.errorsService=i,this.breakpoints=y(he),this.heading=!0,this.size=!0,this.peers=!0,this.published=!0,this.updated=new wt,this.newTagCtrl=new Ft(""),this.editedTags=Array(),this.suggestedTags=Array(),this.selectedTabIndex=0,this.separatorKeysCodes=[13,188],this.transloco=y(R),this.newTagCtrl.valueChanges.subscribe(a=>(a&&(a=Me(a),this.newTagCtrl.setValue(a,{emitEvent:!1})),e.torrentSuggestTags({input:{prefix:a,exclusions:this.torrentContent.torrent.tagNames}}).pipe(J(p=>{this.suggestedTags.splice(0,this.suggestedTags.length,...p.suggestions.map(_=>_.name))})).subscribe()))}selectTab(e){this.selectedTabIndex=e}addTag(e){this.editTags(i=>[...i,e]),this.saveTags()}renameTag(e,i){this.editTags(a=>a.map(p=>p===e?i:p)),this.saveTags()}deleteTag(e){this.editTags(i=>i.filter(a=>a!==e)),this.saveTags()}editTags(e){this.editedTags=e(this.editedTags),this.newTagCtrl.reset()}saveTags(){this.graphQLService.torrentSetTags({infoHashes:[this.torrentContent.infoHash],tagNames:this.editedTags}).pipe(Y(e=>(this.errorsService.addError(`Error saving tags: ${e.message}`),G))).pipe(J(()=>{this.editedTags=[],this.updated.emit(null)})).subscribe()}delete(){this.graphQLService.torrentDelete({infoHashes:[this.torrentContent.infoHash]}).pipe(Y(e=>(this.errorsService.addError(`Error deleting torrent: ${e.message}`),G))).pipe(J(()=>{this.updated.emit(null)})).subscribe()}getAttribute(e,i){return this.torrentContent.content?.attributes?.find(a=>a.key===e&&(i===void 0||a.source===i))?.value}getCollections(e){let i=this.torrentContent.content?.collections?.filter(a=>a.type===e).map(a=>a.name);return i?.length?i.sort():void 0}filesCount(){return this.torrentContent.torrent.filesStatus==="single"?1:this.torrentContent.torrent.filesCount??void 0}static{this.\u0275fac=function(i){return new(i||t)(ct(Lt),ct(W))}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-content"]],inputs:{torrentContent:"torrentContent",heading:"heading",size:"size",peers:"peers",published:"published"},outputs:{updated:"updated"},standalone:!0,features:[N],decls:1,vars:0,consts:[["chipGrid",""],["auto","matAutocomplete"],[4,"transloco"],[1,"poster",3,"ngSrc","alt","width","height"],[1,"size"],[1,"published"],[1,"peers"],[1,"info-hash"],[3,"matTooltip","cdkCopyToClipboard"],[2,"clear","both"],["animationDuration","0",3,"focusChange","selectedIndex","mat-stretch-tabs"],["aria-labelledby","hidden"],["mat-tab-label",""],["matTabContent",""],[3,"routerLink","matTooltip"],[1,"filesize",3,"matTooltip"],["target","_blank",3,"href"],[1,"label"],[1,"files-count"],[1,"torrent-files"],[3,"torrent"],["subscriptSizing","dynamic",1,"form-edit-tags"],[3,"editable"],["autocapitalize","none",3,"matChipInputTokenEnd","placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","value"],[3,"optionSelected"],[3,"value"],[3,"edited","removed","editable"],["matChipRemove",""],[2,"margin-top","10px"],[1,"button-row"],["mat-stroked-button","","color","warn",3,"click"],[2,"margin-right","0"]],template:function(i,a){i&1&&C(0,mi,38,21,"ng-container",2)},dependencies:[L,Vt,Gt,Nt,Yt,Rt,Kt,Ut,qt,te,ee,Jt,Qt,ne,Ht,tt,ue,Ce,xe,fe,et,zt,Bt,Ot,At,j,Q,nt,Pt,Te,ke],styles:["h2[_ngcontent-%COMP%]{margin-top:10px;max-width:900px;white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word}.poster[_ngcontent-%COMP%]{float:right;margin:10px;border:1px solid currentColor}.info-hash[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word}.info-hash[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:5px;cursor:crosshair;text-decoration:underline;text-decoration-style:dotted}.torrent-files[_ngcontent-%COMP%]{padding-top:10px;max-height:800px;overflow:scroll}.torrent-files[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{margin-bottom:10px;width:800px}.torrent-files[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:20px;border-bottom:1px solid rgba(0,0,0,.12)}.torrent-files[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%]{background-color:#f5f5f5}.form-edit-tags[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper{display:none}.files-count[_ngcontent-%COMP%]{margin-left:4px}.mat-mdc-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:0}span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted} .mdc-tab[aria-labelledby=hidden]{display:none} .mdc-tab[role=tab]{padding-left:15px;padding-right:15px} .mdc-tab .label, .mdc-tab .files-count{margin-left:8px}"]})}}return t})();export{be as a,_i as b,di as c,nt as d,fi as e,Eo as f}; diff --git a/webui/dist/bitmagnet/browser/chunk-R6LGJCCV.js b/webui/dist/bitmagnet/browser/chunk-KZMLKX77.js similarity index 99% rename from webui/dist/bitmagnet/browser/chunk-R6LGJCCV.js rename to webui/dist/bitmagnet/browser/chunk-KZMLKX77.js index cd92ec77..6108015c 100644 --- a/webui/dist/bitmagnet/browser/chunk-R6LGJCCV.js +++ b/webui/dist/bitmagnet/browser/chunk-KZMLKX77.js @@ -1 +1 @@ -import{a as E,b as B,f as pt,g as Ne,l as x,m as Me,n as he}from"./chunk-6XXA7HXI.js";import{a as le,c as dt,ia as S,ka as mt}from"./chunk-FJILXII2.js";function gt(n){return new S(3e3,!1)}function Wt(){return new S(3100,!1)}function Gt(){return new S(3101,!1)}function Ht(n){return new S(3001,!1)}function Yt(n){return new S(3003,!1)}function Xt(n){return new S(3004,!1)}function Zt(n,e){return new S(3005,!1)}function Jt(){return new S(3006,!1)}function xt(){return new S(3007,!1)}function es(n,e){return new S(3008,!1)}function ts(n){return new S(3002,!1)}function ss(n,e,t,s,i){return new S(3010,!1)}function is(){return new S(3011,!1)}function ns(){return new S(3012,!1)}function rs(){return new S(3200,!1)}function as(){return new S(3202,!1)}function os(){return new S(3013,!1)}function ls(n){return new S(3014,!1)}function hs(n){return new S(3015,!1)}function us(n){return new S(3016,!1)}function cs(n){return new S(3500,!1)}function fs(n){return new S(3501,!1)}function ds(n,e){return new S(3404,!1)}function ms(n){return new S(3502,!1)}function ps(n){return new S(3503,!1)}function gs(){return new S(3300,!1)}function ys(n){return new S(3504,!1)}function _s(n){return new S(3301,!1)}function Ss(n,e){return new S(3302,!1)}function Es(n){return new S(3303,!1)}function Ts(n,e){return new S(3400,!1)}function vs(n){return new S(3401,!1)}function ws(n){return new S(3402,!1)}function bs(n,e){return new S(3505,!1)}var As=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(n){switch(n.length){case 0:return new x;case 1:return n[0];default:return new Me(n)}}function Lt(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==a,u=c&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case he:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),o=u,a=h}),i.length)throw ms(i);return r}function et(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&Ce(t,"start",n)));break;case"done":n.onDone(()=>s(t&&Ce(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&Ce(t,"destroy",n)));break}}function Ce(n,e,t){let s=t.totalTime,i=!!t.disabled,r=tt(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function tt(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function L(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function yt(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ps=typeof document>"u"?null:document.documentElement;function st(n){let e=n.parentNode||n.host||null;return e===Ps?null:e}function Ns(n){return n.substring(1,6)=="ebkit"}var H=null,_t=!1;function Ms(n){H||(H=Cs()||{},_t=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Ns(n)&&(e=n in H.style,!e&&_t&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in H.style)),e}function wi(n){return As.has(n)}function Cs(){return typeof document<"u"?document.body:null}function Ft(n,e){for(;e;){if(e===n)return!0;e=st(e)}return!1}function It(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var zt=(()=>{class n{validateStyleProperty(t){return Ms(t)}containsElement(t,s){return Ft(t,s)}getParentElement(t){return st(t)}query(t,s,i){return It(t,s,i)}computeStyle(t,s,i){return i||""}animate(t,s,i,r,a,o=[],l){return new x(i,r)}static{this.\u0275fac=function(s){return new(s||n)}}static{this.\u0275prov=mt({token:n,factory:n.\u0275fac})}}return n})(),St=class{static{this.NOOP=new zt}},Fe=class{},Ie=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},ks=1e3,Kt="{{",Ds="}}",it="ng-enter",pe="ng-leave",ue="ng-trigger",ge=".ng-trigger",Et="ng-animating",ze=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ke(parseFloat(e[1]),e[2])}function Ke(n,e){switch(e){case"s":return n*ks;default:return n}}function ye(n,e,t){return n.hasOwnProperty("duration")?n:Rs(n,e,t)}function Rs(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(gt(n)),{duration:0,delay:0,easing:""};i=Ke(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=Ke(parseFloat(l),o[4]));let h=o[5];h&&(a=h)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(Wt()),o=!0),r<0&&(e.push(Gt()),o=!0),o&&e.splice(l,0,gt(n))}return{duration:i,delay:r,easing:a}}function Os(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function Tt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=nt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function X(n,e){e.forEach((t,s)=>{let i=nt(s);n.style[i]=""})}function se(n){return Array.isArray(n)?n.length==1?n[0]:pt(n):n}function Ls(n,e,t){let s=e.params||{},i=qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Ht(r))})}var qe=new RegExp(`${Kt}\\s*(.+?)\\s*${Ds}`,"g");function qt(n){let e=[];if(typeof n=="string"){let t;for(;t=qe.exec(n);)e.push(t[1]);qe.lastIndex=0}return e}function ne(n,e,t){let s=`${n}`,i=s.replace(qe,(r,a)=>{let o=e[a];return o==null&&(t.push(Yt(a)),o=""),o.toString()});return i==s?n:i}var Fs=/-+([a-z0-9])/g;function nt(n){return n.replace(Fs,(...e)=>e[1].toUpperCase())}function bi(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Is(n,e){return n===0||e===0}function zs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,rt(n,o)))}}return e}function O(n,e,t){switch(e.type){case E.Trigger:return n.visitTrigger(e,t);case E.State:return n.visitState(e,t);case E.Transition:return n.visitTransition(e,t);case E.Sequence:return n.visitSequence(e,t);case E.Group:return n.visitGroup(e,t);case E.Animate:return n.visitAnimate(e,t);case E.Keyframes:return n.visitKeyframes(e,t);case E.Style:return n.visitStyle(e,t);case E.Reference:return n.visitReference(e,t);case E.AnimateChild:return n.visitAnimateChild(e,t);case E.AnimateRef:return n.visitAnimateRef(e,t);case E.Query:return n.visitQuery(e,t);case E.Stagger:return n.visitStagger(e,t);default:throw Xt(e.type)}}function rt(n,e){return window.getComputedStyle(n)[e]}var Ks=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Be=class extends Fe{normalizePropertyName(e,t){return nt(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Ks.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(Zt(e,s))}return a+r}};var _e="*";function qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>Bs(s,t,e)):t.push(n),t}function Bs(n,e,t){if(n[0]==":"){let l=Qs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(hs(n)),e;let i=s[1],r=s[2],a=s[3];e.push(vt(i,a));let o=i==_e&&a==_e;r[0]=="<"&&!o&&e.push(vt(a,i))}function Qs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var ce=new Set(["true","1"]),fe=new Set(["false","0"]);function vt(n,e){let t=ce.has(n)||fe.has(n),s=ce.has(e)||fe.has(e);return(i,r)=>{let a=n==_e||n==i,o=e==_e||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?ce.has(n):fe.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?ce.has(e):fe.has(e)),a&&o}}var Bt=":self",$s=new RegExp(`s*${Bt}s*,?`,"g");function at(n,e,t,s){return new Qe(n).build(e,t,s)}var wt="",Qe=class{constructor(e){this._driver=e}build(e,t,s){let i=new $e(t);return this._resetContextStyleTimingState(i),O(this,se(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=wt,e.collectedStyles=new Map,e.collectedStyles.set(wt,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(Jt()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==E.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(o.type==E.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(xt())}),{type:E.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{qt(l).forEach(h=>{a.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(es(e.name,[...r.values()]))}return{type:E.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,se(e.animation),t),i=qs(e.expr,t.errors);return{type:E.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:E.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:E.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=Ws(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Ne({});if(r.type==E.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let h={};s.easing&&(h.easing=s.easing),a=Ne(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:E.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===B?s.push(o):t.errors.push(ts(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(Kt)>=0){r=!0;break}}}),{type:E.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ss(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Ls(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:E.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(is()),s;let i=1,r=0,a=[],o=!1,l=!1,h=0,c=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:js(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:E.Reference,animation:O(this,se(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:E.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:E.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=Vs(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,se(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:E.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(os());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ye(e.timings,t.errors,!0);return{type:E.Stagger,animation:O(this,se(e.animation),t),timings:s,options:null}}};function Vs(n){let e=!!n.split(/\s*,\s*/).find(t=>t==Bt);return e&&(n=n.replace($s,"")),n=n.replace(/@\*/g,ge).replace(/@\w+/g,t=>ge+"-"+t.slice(1)).replace(/:animating/g,ze),[n,e]}function Us(n){return n?le({},n):null}var $e=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function js(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Ws(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=ye(n,e).duration;return ke(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=ke(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=ye(t,e);return ke(i.duration,i.delay,i.easing)}function Y(n){return n?(n=le({},n),n.params&&(n.params=Us(n.params))):n={},n}function ke(n,e,t){return{duration:n,delay:e,easing:t}}function ot(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var te=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Gs=1,Hs=":enter",Ys=new RegExp(Hs,"g"),Xs=":leave",Zs=new RegExp(Xs,"g");function lt(n,e,t,s,i,r=new Map,a=new Map,o,l,h=[]){return new Ve().buildKeyframes(n,e,t,s,i,r,a,o,l,h)}var Ve=class{buildKeyframes(e,t,s,i,r,a,o,l,h,c=[]){h=h||new te;let u=new Ue(e,t,h,i,r,c,[]);u.options=l;let _=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([a],null,u.errors,l),O(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[ot(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:$(ne(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==E.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Se);let a=$(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?ne(s,t.params,t.errors):s;return ye(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==E.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;o.forwardTime(h*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===E.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},Se={},Ue=class n{constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Se,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Ee(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=ne(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new je(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Ys,"."+this._enterClassName),e=e.replace(Zs,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),o.push(...h)}return!r&&o.length==0&&a.push(ls(t)),o}},Ee=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Gs,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=Js(e,this._globalTimelineStyles);for(let[o,l]of a){let h=ne(l,r,s);this._pendingStyles.set(o,h),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let h=new Map([...this._backFill,...o]);h.forEach((c,u)=>{c===he?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return ot(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},je=class extends Ee{constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",bt(o)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let _=new Map(e[u]),y=_.get("offset"),d=t+y*s;_.set("offset",bt(d/a)),r.push(_)}s=a,t=0,i="",e=r}return ot(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function bt(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function Js(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of i)t.set(r,a)}),t}function At(n,e,t,s,i,r,a,o,l,h,c,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:_}}var De={},Te=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return xs(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,h,c){let u=[],_=this.ast.options&&this.ast.options.params||De,y=o&&o.params||De,d=this.buildStyles(s,y,u),g=l&&l.params||De,v=this.buildStyles(i,g,u),b=new Set,A=new Map,C=new Map,N=i==="void",Z={params:Qt(g,_),delay:this.ast.options?.delay},K=c?[]:lt(e,t,this.ast.animation,r,a,d,v,Z,h,u),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),u.length?At(t,this._triggerName,s,i,N,d,v,[],[],A,C,k,u):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let ht=L(C,j,new Set);D.postStyleProps.forEach(W=>ht.add(W)),j!==t&&b.add(j)}),At(t,this._triggerName,s,i,N,d,v,K,[...b.values()],A,C,k))}};function xs(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Qt(n,e){let t=le({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var We=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Qt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=ne(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function ei(n,e,t){return new Ge(n,e,t)}var Ge=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new We(i.style,r,s))}),Pt(this.states,"true","1"),Pt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new Te(e,i,this.states))}),this.fallbackTransition=ti(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ti(n,e,t){let s=[(a,o)=>!0],i={type:E.Sequence,steps:[],options:null},r={type:E.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new Te(n,r,e)}function Pt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var si=new te,He=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=at(this._driver,t,s,i);if(s.length)throw ps(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=Lt(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=lt(this._driver,t,r,it,pe,new Map,new Map,s,si,i),a.forEach(c=>{let u=L(o,c.element,new Map);c.postStyleProps.forEach(_=>u.set(_,null))})):(i.push(gs()),a=[]),i.length)throw ys(i);o.forEach((c,u)=>{c.forEach((_,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=a.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),h=U(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw _s(e);return t}listen(e,t,s,i){let r=tt(t,"","","");return et(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Nt="ng-animate-queued",ii=".ng-animate-queued",Re="ng-animate-disabled",ni=".ng-animate-disabled",ri="ng-star-inserted",ai=".ng-star-inserted",oi=[],$t={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},li={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",re=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=ui(i),s){let r=e,{value:a}=r,o=dt(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},ie="void",Oe=new re(ie),Ye=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Ss(s,t);if(s==null||s.length==0)throw Es(t);if(!ci(s))throw Ts(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ue),I(e,ue+"-"+t),o.set(t,Oe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw vs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new ae(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ue),I(e,ue+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new re(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Oe),!(h.value===ie)&&l.value===h.value){if(!mi(l.params,h.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:a,isFallbackTransition:d}),d||(I(e,Nt),a.onStart(()=>{ee(e,Nt)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ge,!0);s.forEach(i=>{if(i[z])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,h)=>{if(a.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,ie,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,h=s.get(a)||Oe,c=new re(ie),u=new ae(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===$t)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=tt(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,et(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Xe=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,r)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Ye(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(de(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!de(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Re)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Re))}removeNode(e,t,s){if(de(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return de(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ge,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,ze,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=$t,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Re)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ni,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw ws(e)}_flushAnimations(e,t){let s=new te,i=[],r=new Map,a=[],o=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ii,!0);for(let p=0;p{let p=it+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=kt(_,Array.from(b));N.forEach((f,m)=>{let p=pe+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let oe=F.get(p.triggerName);oe.value=G,F.set(p.triggerName,oe)}}T.destroy();return}}let q=!u||!this.driver.containsElement(u,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}let ft=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||ft.push(M)}),w.timelines=ft,s.append(P,w.timelines);let jt={instruction:w,player:T,element:P};a.push(jt),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))}}),w.postStyleProps.forEach((M,G)=>{let F=h.get(G);F||h.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))})});if(K.length){let f=[];K.forEach(m=>{f.push(bs(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>Dt(f,l,h)),J=new Map;Ct(J,this.driver,A,h,B).forEach(f=>{Dt(f,l,h)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Ct(W,this.driver,new Set(f),l,he)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Ae=[],ut=[],ct={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=ct;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===ct)Ae.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ut.push(p),c.has(m)&&i.push(p)}),ut.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?fi(this,m,P):this.processLeaveNode(m)}return v.length=0,Ae.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Ae}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ie;o.forEach(h=>{h.queued||!l&&h.triggerName!=i||a.push(h)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=L(s,h,[]);this._getPreviousPlayers(h,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,_=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=di((s.get(g)||oi).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=Lt(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&i&&u.add(g),b){let k=new ae(e,o,g);k.setRealPlayer(K),h.push(k)}return K});h.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>hi(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,Et));let y=U(_);return y.onDestroy(()=>{c.forEach(d=>ee(d,Et)),Q(l,t.toStyles)}),u.forEach(d=>{L(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},ae=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new x,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>et(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function hi(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function ui(n){return n??null}function de(n){return n&&n.nodeType===1}function ci(n){return n=="start"||n=="done"}function Mt(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Ct(n,e,t,s,i){let r=[];t.forEach(l=>r.push(Mt(l)));let a=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let _=e.computeStyle(h,u,i);c.set(u,_),(!_||_.length==0)&&(h[z]=li,a.push(h))}),n.set(h,c)});let o=0;return t.forEach(l=>Mt(l,r[o++])),a}function kt(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let h=o.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=a(h),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function fi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function di(n){let e=[];return Vt(n,e),e}function Vt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var ve=class{constructor(e,t,s){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(i,r)=>{},this._transitionEngine=new Xe(e.body,t,s),this._timelineEngine=new He(e.body,t,s),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],h=[],c=at(this._driver,r,l,h);if(l.length)throw ds(i,l);h.length&&void 0,o=ei(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=yt(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=yt(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function pi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Le(e[0]),e.length>1&&(s=Le(e[e.length-1]))):e instanceof Map&&(t=Le(e)),t||s?new Ze(n,t,s):null}var Ze=class n{static{this.initialStylesByElement=new WeakMap}constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=n.initialStylesByElement.get(e);i||n.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};function Le(n){let e=null;return n.forEach((t,s)=>{gi(s)&&(e=e||new Map,e.set(s,t))}),e}function gi(n){return n==="display"||n==="position"}var we=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:rt(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},Je=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Ft(e,t)}getParentElement(e){return st(e)}query(e,t,s){return It(e,t,s)}computeStyle(e,t,s){return rt(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let h=new Map,c=a.filter(y=>y instanceof we);Is(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Os(t).map(y=>new Map(y));u=zs(e,u,h);let _=pi(e,u);return new we(e,u,l,_)}};function Ai(n,e){return n==="noop"?new ve(e,new zt,new Ie):new ve(e,new Je,new Be)}var Rt=class{constructor(e,t){this._driver=e;let s=[],i=[],r=at(e,t,s,i);if(s.length)throw cs(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?Tt(t):t,o=Array.isArray(s)?Tt(s):s,l=[];r=r||new te;let h=lt(this._driver,e,this._animationAst,it,pe,a,o,i,r,l);if(l.length)throw fs(l);return h}},me="@",Ut="@.disabled",be=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==me&&t==Ut?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},xe=class extends be{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==me?t.charAt(1)=="."&&t==Ut?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==me){let i=yi(e),r=t.slice(1),a="";return r.charAt(0)!=me&&([r,a]=_i(r)),this.engine.listen(this.namespaceId,i,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function yi(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function _i(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Ot=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{r?.removeChild(null,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new be(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(r,a,e,h.name,h)};return t.data.animation.forEach(o),new xe(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{St as AnimationDriver,zt as NoopAnimationDriver,Rt as \u0275Animation,ve as \u0275AnimationEngine,xe as \u0275AnimationRenderer,Ot as \u0275AnimationRendererFactory,Fe as \u0275AnimationStyleNormalizer,be as \u0275BaseAnimationRenderer,Ie as \u0275NoopAnimationStyleNormalizer,Je as \u0275WebAnimationsDriver,we as \u0275WebAnimationsPlayer,Be as \u0275WebAnimationsStyleNormalizer,Is as \u0275allowPreviousPlayerStylesMerge,bi as \u0275camelCaseToDashCase,Ft as \u0275containsElement,Ai as \u0275createEngine,st as \u0275getParentElement,It as \u0275invokeQuery,Os as \u0275normalizeKeyframes,Ms as \u0275validateStyleProperty,wi as \u0275validateWebAnimatableStyleProperty}; +import{a as E,b as B,f as pt,g as Ne,l as x,m as Me,n as he}from"./chunk-6XXA7HXI.js";import{a as le,c as dt,ia as S,ka as mt}from"./chunk-Z3WUIYN5.js";function gt(n){return new S(3e3,!1)}function Wt(){return new S(3100,!1)}function Gt(){return new S(3101,!1)}function Ht(n){return new S(3001,!1)}function Yt(n){return new S(3003,!1)}function Xt(n){return new S(3004,!1)}function Zt(n,e){return new S(3005,!1)}function Jt(){return new S(3006,!1)}function xt(){return new S(3007,!1)}function es(n,e){return new S(3008,!1)}function ts(n){return new S(3002,!1)}function ss(n,e,t,s,i){return new S(3010,!1)}function is(){return new S(3011,!1)}function ns(){return new S(3012,!1)}function rs(){return new S(3200,!1)}function as(){return new S(3202,!1)}function os(){return new S(3013,!1)}function ls(n){return new S(3014,!1)}function hs(n){return new S(3015,!1)}function us(n){return new S(3016,!1)}function cs(n){return new S(3500,!1)}function fs(n){return new S(3501,!1)}function ds(n,e){return new S(3404,!1)}function ms(n){return new S(3502,!1)}function ps(n){return new S(3503,!1)}function gs(){return new S(3300,!1)}function ys(n){return new S(3504,!1)}function _s(n){return new S(3301,!1)}function Ss(n,e){return new S(3302,!1)}function Es(n){return new S(3303,!1)}function Ts(n,e){return new S(3400,!1)}function vs(n){return new S(3401,!1)}function ws(n){return new S(3402,!1)}function bs(n,e){return new S(3505,!1)}var As=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(n){switch(n.length){case 0:return new x;case 1:return n[0];default:return new Me(n)}}function Lt(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==a,u=c&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case he:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),o=u,a=h}),i.length)throw ms(i);return r}function et(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&Ce(t,"start",n)));break;case"done":n.onDone(()=>s(t&&Ce(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&Ce(t,"destroy",n)));break}}function Ce(n,e,t){let s=t.totalTime,i=!!t.disabled,r=tt(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function tt(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function L(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function yt(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ps=typeof document>"u"?null:document.documentElement;function st(n){let e=n.parentNode||n.host||null;return e===Ps?null:e}function Ns(n){return n.substring(1,6)=="ebkit"}var H=null,_t=!1;function Ms(n){H||(H=Cs()||{},_t=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Ns(n)&&(e=n in H.style,!e&&_t&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in H.style)),e}function wi(n){return As.has(n)}function Cs(){return typeof document<"u"?document.body:null}function Ft(n,e){for(;e;){if(e===n)return!0;e=st(e)}return!1}function It(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var zt=(()=>{class n{validateStyleProperty(t){return Ms(t)}containsElement(t,s){return Ft(t,s)}getParentElement(t){return st(t)}query(t,s,i){return It(t,s,i)}computeStyle(t,s,i){return i||""}animate(t,s,i,r,a,o=[],l){return new x(i,r)}static{this.\u0275fac=function(s){return new(s||n)}}static{this.\u0275prov=mt({token:n,factory:n.\u0275fac})}}return n})(),St=class{static{this.NOOP=new zt}},Fe=class{},Ie=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},ks=1e3,Kt="{{",Ds="}}",it="ng-enter",pe="ng-leave",ue="ng-trigger",ge=".ng-trigger",Et="ng-animating",ze=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ke(parseFloat(e[1]),e[2])}function Ke(n,e){switch(e){case"s":return n*ks;default:return n}}function ye(n,e,t){return n.hasOwnProperty("duration")?n:Rs(n,e,t)}function Rs(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(gt(n)),{duration:0,delay:0,easing:""};i=Ke(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=Ke(parseFloat(l),o[4]));let h=o[5];h&&(a=h)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(Wt()),o=!0),r<0&&(e.push(Gt()),o=!0),o&&e.splice(l,0,gt(n))}return{duration:i,delay:r,easing:a}}function Os(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function Tt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=nt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function X(n,e){e.forEach((t,s)=>{let i=nt(s);n.style[i]=""})}function se(n){return Array.isArray(n)?n.length==1?n[0]:pt(n):n}function Ls(n,e,t){let s=e.params||{},i=qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Ht(r))})}var qe=new RegExp(`${Kt}\\s*(.+?)\\s*${Ds}`,"g");function qt(n){let e=[];if(typeof n=="string"){let t;for(;t=qe.exec(n);)e.push(t[1]);qe.lastIndex=0}return e}function ne(n,e,t){let s=`${n}`,i=s.replace(qe,(r,a)=>{let o=e[a];return o==null&&(t.push(Yt(a)),o=""),o.toString()});return i==s?n:i}var Fs=/-+([a-z0-9])/g;function nt(n){return n.replace(Fs,(...e)=>e[1].toUpperCase())}function bi(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Is(n,e){return n===0||e===0}function zs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,rt(n,o)))}}return e}function O(n,e,t){switch(e.type){case E.Trigger:return n.visitTrigger(e,t);case E.State:return n.visitState(e,t);case E.Transition:return n.visitTransition(e,t);case E.Sequence:return n.visitSequence(e,t);case E.Group:return n.visitGroup(e,t);case E.Animate:return n.visitAnimate(e,t);case E.Keyframes:return n.visitKeyframes(e,t);case E.Style:return n.visitStyle(e,t);case E.Reference:return n.visitReference(e,t);case E.AnimateChild:return n.visitAnimateChild(e,t);case E.AnimateRef:return n.visitAnimateRef(e,t);case E.Query:return n.visitQuery(e,t);case E.Stagger:return n.visitStagger(e,t);default:throw Xt(e.type)}}function rt(n,e){return window.getComputedStyle(n)[e]}var Ks=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Be=class extends Fe{normalizePropertyName(e,t){return nt(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Ks.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(Zt(e,s))}return a+r}};var _e="*";function qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>Bs(s,t,e)):t.push(n),t}function Bs(n,e,t){if(n[0]==":"){let l=Qs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(hs(n)),e;let i=s[1],r=s[2],a=s[3];e.push(vt(i,a));let o=i==_e&&a==_e;r[0]=="<"&&!o&&e.push(vt(a,i))}function Qs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var ce=new Set(["true","1"]),fe=new Set(["false","0"]);function vt(n,e){let t=ce.has(n)||fe.has(n),s=ce.has(e)||fe.has(e);return(i,r)=>{let a=n==_e||n==i,o=e==_e||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?ce.has(n):fe.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?ce.has(e):fe.has(e)),a&&o}}var Bt=":self",$s=new RegExp(`s*${Bt}s*,?`,"g");function at(n,e,t,s){return new Qe(n).build(e,t,s)}var wt="",Qe=class{constructor(e){this._driver=e}build(e,t,s){let i=new $e(t);return this._resetContextStyleTimingState(i),O(this,se(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=wt,e.collectedStyles=new Map,e.collectedStyles.set(wt,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(Jt()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==E.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(o.type==E.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(xt())}),{type:E.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{qt(l).forEach(h=>{a.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(es(e.name,[...r.values()]))}return{type:E.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,se(e.animation),t),i=qs(e.expr,t.errors);return{type:E.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:E.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:E.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=Ws(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Ne({});if(r.type==E.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let h={};s.easing&&(h.easing=s.easing),a=Ne(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:E.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===B?s.push(o):t.errors.push(ts(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(Kt)>=0){r=!0;break}}}),{type:E.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ss(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Ls(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:E.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(is()),s;let i=1,r=0,a=[],o=!1,l=!1,h=0,c=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:js(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:E.Reference,animation:O(this,se(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:E.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:E.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=Vs(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,se(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:E.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(os());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:ye(e.timings,t.errors,!0);return{type:E.Stagger,animation:O(this,se(e.animation),t),timings:s,options:null}}};function Vs(n){let e=!!n.split(/\s*,\s*/).find(t=>t==Bt);return e&&(n=n.replace($s,"")),n=n.replace(/@\*/g,ge).replace(/@\w+/g,t=>ge+"-"+t.slice(1)).replace(/:animating/g,ze),[n,e]}function Us(n){return n?le({},n):null}var $e=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function js(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Ws(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=ye(n,e).duration;return ke(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=ke(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=ye(t,e);return ke(i.duration,i.delay,i.easing)}function Y(n){return n?(n=le({},n),n.params&&(n.params=Us(n.params))):n={},n}function ke(n,e,t){return{duration:n,delay:e,easing:t}}function ot(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var te=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Gs=1,Hs=":enter",Ys=new RegExp(Hs,"g"),Xs=":leave",Zs=new RegExp(Xs,"g");function lt(n,e,t,s,i,r=new Map,a=new Map,o,l,h=[]){return new Ve().buildKeyframes(n,e,t,s,i,r,a,o,l,h)}var Ve=class{buildKeyframes(e,t,s,i,r,a,o,l,h,c=[]){h=h||new te;let u=new Ue(e,t,h,i,r,c,[]);u.options=l;let _=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([a],null,u.errors,l),O(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[ot(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:$(ne(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==E.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Se);let a=$(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?ne(s,t.params,t.errors):s;return ye(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==E.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;o.forwardTime(h*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===E.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},Se={},Ue=class n{constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Se,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Ee(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=ne(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new je(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Ys,"."+this._enterClassName),e=e.replace(Zs,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),o.push(...h)}return!r&&o.length==0&&a.push(ls(t)),o}},Ee=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Gs,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=Js(e,this._globalTimelineStyles);for(let[o,l]of a){let h=ne(l,r,s);this._pendingStyles.set(o,h),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let h=new Map([...this._backFill,...o]);h.forEach((c,u)=>{c===he?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return ot(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},je=class extends Ee{constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",bt(o)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let _=new Map(e[u]),y=_.get("offset"),d=t+y*s;_.set("offset",bt(d/a)),r.push(_)}s=a,t=0,i="",e=r}return ot(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function bt(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function Js(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of i)t.set(r,a)}),t}function At(n,e,t,s,i,r,a,o,l,h,c,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:_}}var De={},Te=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return xs(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,h,c){let u=[],_=this.ast.options&&this.ast.options.params||De,y=o&&o.params||De,d=this.buildStyles(s,y,u),g=l&&l.params||De,v=this.buildStyles(i,g,u),b=new Set,A=new Map,C=new Map,N=i==="void",Z={params:Qt(g,_),delay:this.ast.options?.delay},K=c?[]:lt(e,t,this.ast.animation,r,a,d,v,Z,h,u),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),u.length?At(t,this._triggerName,s,i,N,d,v,[],[],A,C,k,u):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let ht=L(C,j,new Set);D.postStyleProps.forEach(W=>ht.add(W)),j!==t&&b.add(j)}),At(t,this._triggerName,s,i,N,d,v,K,[...b.values()],A,C,k))}};function xs(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Qt(n,e){let t=le({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var We=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Qt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=ne(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function ei(n,e,t){return new Ge(n,e,t)}var Ge=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new We(i.style,r,s))}),Pt(this.states,"true","1"),Pt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new Te(e,i,this.states))}),this.fallbackTransition=ti(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ti(n,e,t){let s=[(a,o)=>!0],i={type:E.Sequence,steps:[],options:null},r={type:E.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new Te(n,r,e)}function Pt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var si=new te,He=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=at(this._driver,t,s,i);if(s.length)throw ps(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=Lt(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=lt(this._driver,t,r,it,pe,new Map,new Map,s,si,i),a.forEach(c=>{let u=L(o,c.element,new Map);c.postStyleProps.forEach(_=>u.set(_,null))})):(i.push(gs()),a=[]),i.length)throw ys(i);o.forEach((c,u)=>{c.forEach((_,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=a.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),h=U(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw _s(e);return t}listen(e,t,s,i){let r=tt(t,"","","");return et(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Nt="ng-animate-queued",ii=".ng-animate-queued",Re="ng-animate-disabled",ni=".ng-animate-disabled",ri="ng-star-inserted",ai=".ng-star-inserted",oi=[],$t={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},li={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",re=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=ui(i),s){let r=e,{value:a}=r,o=dt(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},ie="void",Oe=new re(ie),Ye=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Ss(s,t);if(s==null||s.length==0)throw Es(t);if(!ci(s))throw Ts(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ue),I(e,ue+"-"+t),o.set(t,Oe)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw vs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new ae(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ue),I(e,ue+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new re(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Oe),!(h.value===ie)&&l.value===h.value){if(!mi(l.params,h.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:a,isFallbackTransition:d}),d||(I(e,Nt),a.onStart(()=>{ee(e,Nt)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ge,!0);s.forEach(i=>{if(i[z])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,h)=>{if(a.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,ie,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,h=s.get(a)||Oe,c=new re(ie),u=new ae(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===$t)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=tt(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,et(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Xe=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s){this.bodyNode=e,this.driver=t,this._normalizer=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,r)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Ye(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(de(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!de(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Re)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Re))}removeNode(e,t,s){if(de(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return de(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ge,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,ze,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=$t,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Re)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ni,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw ws(e)}_flushAnimations(e,t){let s=new te,i=[],r=new Map,a=[],o=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ii,!0);for(let p=0;p{let p=it+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=kt(_,Array.from(b));N.forEach((f,m)=>{let p=pe+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let oe=F.get(p.triggerName);oe.value=G,F.set(p.triggerName,oe)}}T.destroy();return}}let q=!u||!this.driver.containsElement(u,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}let ft=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||ft.push(M)}),w.timelines=ft,s.append(P,w.timelines);let jt={instruction:w,player:T,element:P};a.push(jt),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))}}),w.postStyleProps.forEach((M,G)=>{let F=h.get(G);F||h.set(G,F=new Set),M.forEach((oe,Pe)=>F.add(Pe))})});if(K.length){let f=[];K.forEach(m=>{f.push(bs(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>Dt(f,l,h)),J=new Map;Ct(J,this.driver,A,h,B).forEach(f=>{Dt(f,l,h)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Ct(W,this.driver,new Set(f),l,he)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Ae=[],ut=[],ct={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=ct;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===ct)Ae.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ut.push(p),c.has(m)&&i.push(p)}),ut.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?fi(this,m,P):this.processLeaveNode(m)}return v.length=0,Ae.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Ae}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ie;o.forEach(h=>{h.queued||!l&&h.triggerName!=i||a.push(h)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=L(s,h,[]);this._getPreviousPlayers(h,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,_=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=di((s.get(g)||oi).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=Lt(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&i&&u.add(g),b){let k=new ae(e,o,g);k.setRealPlayer(K),h.push(k)}return K});h.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>hi(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,Et));let y=U(_);return y.onDestroy(()=>{c.forEach(d=>ee(d,Et)),Q(l,t.toStyles)}),u.forEach(d=>{L(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},ae=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new x,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>et(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function hi(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function ui(n){return n??null}function de(n){return n&&n.nodeType===1}function ci(n){return n=="start"||n=="done"}function Mt(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Ct(n,e,t,s,i){let r=[];t.forEach(l=>r.push(Mt(l)));let a=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let _=e.computeStyle(h,u,i);c.set(u,_),(!_||_.length==0)&&(h[z]=li,a.push(h))}),n.set(h,c)});let o=0;return t.forEach(l=>Mt(l,r[o++])),a}function kt(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let h=o.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=a(h),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function fi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function di(n){let e=[];return Vt(n,e),e}function Vt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var ve=class{constructor(e,t,s){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(i,r)=>{},this._transitionEngine=new Xe(e.body,t,s),this._timelineEngine=new He(e.body,t,s),this._transitionEngine.onRemovalComplete=(i,r)=>this.onRemovalComplete(i,r)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],h=[],c=at(this._driver,r,l,h);if(l.length)throw ds(i,l);h.length&&void 0,o=ei(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=yt(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=yt(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function pi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Le(e[0]),e.length>1&&(s=Le(e[e.length-1]))):e instanceof Map&&(t=Le(e)),t||s?new Ze(n,t,s):null}var Ze=class n{static{this.initialStylesByElement=new WeakMap}constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=n.initialStylesByElement.get(e);i||n.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};function Le(n){let e=null;return n.forEach((t,s)=>{gi(s)&&(e=e||new Map,e.set(s,t))}),e}function gi(n){return n==="display"||n==="position"}var we=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:rt(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},Je=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return Ft(e,t)}getParentElement(e){return st(e)}query(e,t,s){return It(e,t,s)}computeStyle(e,t,s){return rt(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let h=new Map,c=a.filter(y=>y instanceof we);Is(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Os(t).map(y=>new Map(y));u=zs(e,u,h);let _=pi(e,u);return new we(e,u,l,_)}};function Ai(n,e){return n==="noop"?new ve(e,new zt,new Ie):new ve(e,new Je,new Be)}var Rt=class{constructor(e,t){this._driver=e;let s=[],i=[],r=at(e,t,s,i);if(s.length)throw cs(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?Tt(t):t,o=Array.isArray(s)?Tt(s):s,l=[];r=r||new te;let h=lt(this._driver,e,this._animationAst,it,pe,a,o,i,r,l);if(l.length)throw fs(l);return h}},me="@",Ut="@.disabled",be=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==me&&t==Ut?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},xe=class extends be{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==me?t.charAt(1)=="."&&t==Ut?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==me){let i=yi(e),r=t.slice(1),a="";return r.charAt(0)!=me&&([r,a]=_i(r)),this.engine.listen(this.namespaceId,i,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function yi(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function _i(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Ot=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{r?.removeChild(null,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new be(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(r,a,e,h.name,h)};return t.data.animation.forEach(o),new xe(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{St as AnimationDriver,zt as NoopAnimationDriver,Rt as \u0275Animation,ve as \u0275AnimationEngine,xe as \u0275AnimationRenderer,Ot as \u0275AnimationRendererFactory,Fe as \u0275AnimationStyleNormalizer,be as \u0275BaseAnimationRenderer,Ie as \u0275NoopAnimationStyleNormalizer,Je as \u0275WebAnimationsDriver,we as \u0275WebAnimationsPlayer,Be as \u0275WebAnimationsStyleNormalizer,Is as \u0275allowPreviousPlayerStylesMerge,bi as \u0275camelCaseToDashCase,Ft as \u0275containsElement,Ai as \u0275createEngine,st as \u0275getParentElement,It as \u0275invokeQuery,Os as \u0275normalizeKeyframes,Ms as \u0275validateStyleProperty,wi as \u0275validateWebAnimatableStyleProperty}; diff --git a/webui/dist/bitmagnet/browser/chunk-N3JJ3NXQ.js b/webui/dist/bitmagnet/browser/chunk-N3JJ3NXQ.js deleted file mode 100644 index c49ab60b..00000000 --- a/webui/dist/bitmagnet/browser/chunk-N3JJ3NXQ.js +++ /dev/null @@ -1 +0,0 @@ -import{c as R,e as U,f as $}from"./chunk-JS3YJKHP.js";import"./chunk-RD4V5RUF.js";import"./chunk-2DNC66PX.js";import"./chunk-ZF4WX6G7.js";import"./chunk-3AJEMLV6.js";import{E as O,J as I,P as S,Q as w,R as E,S as A,U as F,Ua as L,V as z,b as P,i as b,qa as D,va as H,ya as q}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import{j as k,l as y}from"./chunk-ZBBMS7J5.js";import{$b as s,Cb as d,Hb as c,Mb as _,Qb as i,Rb as a,Sb as m,Tb as x,Ub as M,cc as v,hb as h,kb as r,kc as f,lc as C,pc as T,qa as l,ua as g}from"./chunk-FJILXII2.js";function j(e,u){e&1&&m(0,"mat-progress-bar",1)}function B(e,u){if(e&1&&(i(0,"mat-card",2)(1,"mat-card-header")(2,"mat-icon",3),f(3),a(),i(4,"mat-card-title")(5,"h2"),f(6),a(),i(7,"a",4),m(8,"mat-icon",5),a()(),i(9,"mat-card-subtitle"),m(10,"app-torrent-chips",6),a()(),i(11,"mat-card-content"),m(12,"app-torrent-content",7),a()()),e&2){let o,t,p=s().$implicit,n=s();r(2),c("matTooltip",p("content_types.singular."+((o=n.torrentContent.contentType)!==null&&o!==void 0?o:"null"))),r(),C((t=(t=n.contentTypeInfo(n.torrentContent.contentType))==null?null:t.icon)!==null&&t!==void 0?t:"question_mark"),r(3),C(n.torrentContent.torrent.name),r(),v("href",n.torrentContent.torrent.magnetUri,h),r(3),c("torrentContent",n.torrentContent),r(2),c("torrentContent",n.torrentContent)("heading",!1)}}function G(e,u){if(e&1&&(x(0),d(1,j,1,0,"mat-progress-bar",1)(2,B,13,7,"mat-card",2),M()),e&2){let o=s();r(),_(o.loading?1:2)}}var mt=(()=>{class e{constructor(){this.route=l(k),this.router=l(y),this.apollo=l(b),this.loading=!0,this.contentTypeInfo=R}ngOnInit(){this.loading=!0,this.route.paramMap.subscribe(o=>{let t=o.get("infoHash");if(typeof t!="string"||!/^[0-9a-f]{40}$/.test(t))return this.notFound();this.apollo.query({query:O,variables:{input:{infoHashes:[t]}},fetchPolicy:"no-cache"}).subscribe(p=>{let n=p.data.torrentContent.search.items;if(n.length===0)return this.notFound();this.torrentContent=n[0],this.loading=!1})})}notFound(){this.router.navigate(["/not-found"],{skipLocationChange:!0})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=g({type:e,selectors:[["app-torrent-permalink"]],standalone:!0,features:[T],decls:1,vars:0,consts:[[4,"transloco"],["mode","indeterminate"],[1,"torrent-permalink"],["matCardAvatar","",3,"matTooltip"],[1,"magnet-link",3,"href"],["svgIcon","magnet"],[3,"torrentContent"],[3,"torrentContent","heading"]],template:function(t,p){t&1&&d(0,G,3,1,"ng-container",0)},dependencies:[L,S,z,E,F,A,w,D,H,q,P,I,$,U],styles:[".torrent-permalink[_ngcontent-%COMP%]{max-width:900px;margin:20px auto}.torrent-permalink[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:24px;word-break:break-word;overflow-wrap:break-word;padding-right:80px}.torrent-permalink[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] .magnet-link[_ngcontent-%COMP%]{position:absolute;right:20px;top:20px}.torrent-permalink[_ngcontent-%COMP%] .mat-mdc-card-avatar[_ngcontent-%COMP%]{font-size:44px;margin-top:-10px;border-radius:0;overflow:visible}.torrent-permalink[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{margin:16px 0 14px -56px;font-size:6px}"]})}}return e})();export{mt as TorrentPermalinkComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-NEBTMJTJ.js b/webui/dist/bitmagnet/browser/chunk-NEBTMJTJ.js deleted file mode 100644 index 39f2c81d..00000000 --- a/webui/dist/bitmagnet/browser/chunk-NEBTMJTJ.js +++ /dev/null @@ -1 +0,0 @@ -import{a as Be,b as je}from"./chunk-RD4V5RUF.js";import"./chunk-2DNC66PX.js";import{a as me}from"./chunk-ZF4WX6G7.js";import{a as Fe}from"./chunk-3AJEMLV6.js";import{Aa as we,Ba as Me,C as ue,Ca as Je,Da as Ie,Ea as Ee,Fa as Pe,Ga as $e,Ha as Qe,Ia as ke,Ja as Oe,K as _e,Ka as Ve,L as ge,La as De,M as xe,Ma as qe,P as fe,Q as be,R as Ce,U as he,Ua as A,a as B,b as F,ba as ve,h as le,i as ce,n as se,q as pe,qa as ye,r as de,va as Se,ya as j,za as Te}from"./chunk-Z6GE3BUT.js";import{c as oe,d as re,g as N,h as W,i as ae}from"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{$b as l,$c as D,B as P,Cb as u,Ea as _,Fa as g,Gb as O,Hb as d,Kb as H,Mb as E,N as U,Na as ee,O as X,Ob as $,Pb as Q,Q as Z,Qb as a,Rb as c,Sb as I,Tb as h,Ub as v,Wb as y,Zb as x,a as f,ad as q,b,bd as ne,jc as z,kb as r,kc as p,l as w,lc as S,mc as m,o as K,pc as V,qa as J,qc as te,ua as k,uc as T,vc as M,xc as ie}from"./chunk-FJILXII2.js";var Ge=()=>["expandedDetail"];function Ke(t,n){t&1&&(a(0,"th",18),p(1,"ID"),c())}function Ue(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).id," ")}}function Xe(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.queue")," ")}}function Ze(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).queue," ")}}function et(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.priority")," ")}}function tt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),T(2,"number"),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",M(2,1,i.item(e).priority)," ")}}function it(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("general.status")," ")}}function nt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).status," ")}}function ot(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),S(e("general.error"))}}function rt(t,n){if(t&1&&(p(0),T(1,"slice")),t&2){let e=l().$implicit,i=l(2);m(" ",ie(1,1,i.item(e).error,0,20)+"..."," ")}}function at(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),u(1,rt,2,5),c()}if(t&2){let e=n.$implicit;r(),E(e.error?1:-1)}}function lt(t,n){if(t&1&&(a(0,"th",20),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.created_at")," ")}}function ct(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),T(2,"timeAgo"),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",M(2,1,i.item(e).createdAt)," ")}}function st(t,n){if(t&1&&(a(0,"th",20),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.ran_at")," ")}}function pt(t,n){t&1&&(p(0),T(1,"timeAgo")),t&2&&m(" ",M(1,1,n)," ")}function dt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),u(1,pt,2,3),c()}if(t&2){let e,i=n.$implicit;r(),E((e=i.ranAt)?1:-1,e)}}function mt(t,n){if(t&1&&(a(0,"h5")(1,"span",23),p(2),c()(),a(3,"pre",24),p(4),c()),t&2){let e=n,i=l(2).$implicit;r(),d("matTooltip",i("torrents.copy_to_clipboard"))("cdkCopyToClipboard",e),r(),m("",i("general.error"),":"),r(2),S(e)}}function ut(t,n){if(t&1&&(a(0,"td",21)(1,"div",22)(2,"p")(3,"strong"),p(4,"ID:"),c(),p(5,"\xA0"),a(6,"span",23),p(7),c()(),a(8,"h5")(9,"span",23),p(10),c()(),a(11,"pre",24),p(12),c(),u(13,mt,5,4),c()()),t&2){let e,i=n.$implicit,o=l().$implicit,s=l();O("colspan",s.displayedColumns.length),r(),d("@detailExpand",s.expandedId.getValue()===i.id?"expanded":"collapsed"),r(5),d("matTooltip",o("torrents.copy_to_clipboard"))("cdkCopyToClipboard",s.item(i).id),r(),S(s.item(i).id),r(2),d("matTooltip",o("torrents.copy_to_clipboard"))("cdkCopyToClipboard",s.item(i).payload),r(),m("",o("dashboard.queues.payload"),":"),r(2),S(s.beautifyPayload(s.item(i).payload)),r(),E((e=s.item(i).error)?13:-1,e)}}function _t(t,n){t&1&&I(0,"tr",25)}function gt(t,n){if(t&1&&I(0,"tr",26),t&2){let e=n.$implicit,i=l(2);H("summary-row "+(e.id===i.expandedId.getValue()?"expanded":"collapsed"))}}function xt(t,n){if(t&1&&I(0,"tr",26),t&2){let e=n.$implicit,i=l(2);H("expanded-detail-row "+(e.id===i.expandedId.getValue()?"expanded":"collapsed"))}}function ft(t,n){if(t&1&&(h(0),a(1,"div",1),I(2,"mat-progress-bar",2),T(3,"async"),c(),a(4,"table",3),h(5,4),u(6,Ke,2,0,"th",5)(7,Ue,2,1,"td",6),v(),h(8,7),u(9,Xe,2,1,"th",5)(10,Ze,2,1,"td",6),v(),h(11,8),u(12,et,2,1,"th",5)(13,tt,3,3,"td",6),v(),h(14,9),u(15,it,2,1,"th",5)(16,nt,2,1,"td",6),v(),h(17,10),u(18,ot,2,1,"th",5)(19,at,2,1,"td",6),v(),h(20,11),u(21,lt,2,1,"th",12)(22,ct,3,3,"td",6),v(),h(23,13),u(24,st,2,1,"th",12)(25,dt,2,1,"td",6),v(),h(26,14),u(27,ut,14,10,"td",15),v(),u(28,_t,1,0,"tr",16)(29,gt,1,2,"tr",17)(30,xt,1,2,"tr",17),c(),v()),t&2){let e=l();r(2),d("mode",M(3,7,e.dataSource.loading$)?"indeterminate":"determinate")("value",0),r(2),d("dataSource",e.dataSource)("multiTemplateDataRows",!0),r(24),d("matHeaderRowDef",e.displayedColumns),r(),d("matRowDefColumns",e.displayedColumns),r(),d("matRowDefColumns",te(9,Ge))}}var Ae=(()=>{class t{constructor(){this.transloco=J(B),this.displayedColumns=bt,this.updated=new ee,this.expandedId=new w(null),this.items=Array()}ngOnInit(){this.dataSource.items$.subscribe(e=>{if(this.items=e,e.length){let i=this.expandedId.getValue();i&&!e.some(({id:o})=>o===i)&&this.expandedId.next(null)}})}isAllSelected(){return this.items.every(e=>this.selection.isSelected(e.id))}toggleAllRows(){if(this.isAllSelected()){this.selection.clear();return}this.selection.select(...this.items.map(e=>e.id))}toggleQueueJobId(e){this.expandedId.getValue()===e?this.expandedId.next(null):this.expandedId.next(e)}item(e){return e}beautifyPayload(e){try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-queue-jobs-table"]],inputs:{dataSource:"dataSource",selection:"selection",displayedColumns:"displayedColumns"},outputs:{updated:"updated"},standalone:!0,features:[V],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-results",3,"dataSource","multiTemplateDataRows"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","queue"],["matColumnDef","priority"],["matColumnDef","status"],["matColumnDef","error"],["matColumnDef","createdAt"],["mat-header-cell","","style","text-align: center",4,"matHeaderCellDef"],["matColumnDef","ranAt"],["matColumnDef","expandedDetail"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"class",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",3,"click"],["mat-header-cell","",2,"text-align","center"],["mat-cell",""],[1,"item-detail"],[1,"copy",3,"matTooltip","cdkCopyToClipboard"],[1,"payload"],["mat-header-row",""],["mat-row",""]],template:function(i,o){i&1&&u(0,ft,31,10,"ng-container",0)},dependencies:[A,_e,Se,Ie,Pe,Oe,$e,Ee,Ve,Qe,ke,De,qe,j,F,D,ne,q,je],styles:[".item-detail[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-top:20px}.item-detail[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{margin-bottom:20px}tr[_ngcontent-%COMP%]:not(.expanded-detail-row) td[_ngcontent-%COMP%]{cursor:pointer}tr.expanded-detail-row[_ngcontent-%COMP%]{height:0}tr.expanded-detail-row[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0;padding-top:8px}tr.expanded-detail-row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding-top:8px;padding-bottom:4px}tr.expanded-detail-row[_ngcontent-%COMP%] span.copy[_ngcontent-%COMP%]{cursor:crosshair;text-decoration:underline;text-decoration-style:dotted}pre[_ngcontent-%COMP%]{opacity:0;max-height:200px;max-width:100px;overflow:scroll;background:#7773;padding:10px}.expanded-detail-row.expanded[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{opacity:1;max-width:1200px}"],data:{animation:[oe("detailExpand",[W("collapsed,void",N({height:"0px",minHeight:"0"})),W("expanded",N({height:"*"})),ae("expanded <=> collapsed",re("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return t})(),bt=["id","queue","priority","status","error","createdAt","ranAt"];var Ct={items:[],hasNextPage:!1,totalCount:0,aggregations:{queue:[],status:[]}},R=class{constructor(n,e,i){this.apollo=n,this.errorsService=e,this.currentRequest=new w(0),this.loadingSubject=new w(!1),this.loading$=this.loadingSubject.asObservable(),this.result=Ct,this.resultSubject=new w(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(P(o=>o.items)),i.subscribe(o=>{this.variables=o,this.loadResult(o)}),this.resultSubject.subscribe(o=>{this.result=o})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}refresh(){this.variables&&this.loadResult(this.variables)}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:ue,variables:n,fetchPolicy:"no-cache"}).pipe(P(o=>o.data.queue.jobs)).pipe(U(o=>(this.errorsService.addError(`Error loading item results: ${o.message}`),K)));this.currentSubscription=i.subscribe(o=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(o))})}};var L=class{constructor(n=ht){this.controlsSubject=new w(n),this.controls$=this.controlsSubject.asObservable(),this.variablesSubject=new w(Re(n)),this.variables$=this.variablesSubject.asObservable(),this.controls$.pipe(Z(100)).subscribe(e=>{let i=this.variablesSubject.getValue(),o=Re(e);JSON.stringify(i)!==JSON.stringify(o)&&this.variablesSubject.next(o)})}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}activateFilter(n,e){this.update(i=>{let o=n.extractInput(i.facets);return b(f({},i),{page:1,facets:n.patchInput(i.facets,b(f({},o),{filter:Array.from(new Set([...o.filter??[],e])).sort()}))})})}deactivateFilter(n,e){this.update(i=>{let o=n.extractInput(i.facets),s=o.filter?.filter(C=>C!==e);return b(f({},i),{page:1,facets:n.patchInput(i.facets,b(f({},o),{filter:s?.length?s:void 0}))})})}selectOrderBy(n){let e={field:n,descending:Y.find(i=>i.field===n)?.descending??!1};this.update(i=>b(f({},i),{orderBy:e,page:1}))}toggleOrderByDirection(){this.update(n=>b(f({},n),{orderBy:b(f({},n.orderBy),{descending:!n.orderBy.descending}),page:1}))}handlePageEvent(n){this.update(e=>b(f({},e),{limit:n.pageSize,page:n.page}))}},Re=t=>({input:{limit:t.limit,page:t.page,totalCount:!0,orderBy:[t.orderBy,...t.orderBy.field!=="created_at"?[{field:"created_at",descending:t.orderBy.descending}]:[]],queues:t.queues,statuses:t.statuses,facets:{queue:{aggregate:!0,filter:t.facets.queue.filter},status:{aggregate:!0,filter:t.facets.status.filter}}}}),Y=[{field:"created_at",descending:!0},{field:"ran_at",descending:!0},{field:"priority",descending:!1}],ht={limit:20,page:1,orderBy:{field:"ran_at",descending:!0},facets:{queue:{},status:{}}},vt={key:"queue",extractInput:t=>t.queue,patchInput:(t,n)=>b(f({},t),{queue:n}),extractAggregations:t=>t.queue??[],resolveLabel:t=>t.label},yt={key:"status",extractInput:t=>t.status,patchInput:(t,n)=>b(f({},t),{status:n}),extractAggregations:t=>t.status??[],resolveLabel:(t,n)=>n.translate("dashboard.queues."+t.label)},Le=[vt,yt];var St=(t,n)=>n.key,Tt=(t,n)=>n.field,He=(t,n)=>n.value;function wt(t,n){if(t&1){let e=y();a(0,"mat-checkbox",20),x("change",function(o){let s=_(e).$implicit,C=l(2).$implicit,G=l(2);return g(o.checked?G.controller.activateFilter(C,s.value):G.controller.deactivateFilter(C,s.value))}),p(1),a(2,"small"),p(3),T(4,"number"),c()()}if(t&2){let e=n.$implicit,i=l(2).$implicit;d("checked",i.filter==null?null:i.filter.includes(e.value)),r(),m(" ",e.label," "),r(2),S(M(4,3,e.count))}}function Mt(t,n){if(t&1&&(a(0,"mat-card-content",17),$(1,wt,5,5,"mat-checkbox",19,He),c()),t&2){let e=l().$implicit;r(),Q(e.aggregations)}}function Jt(t,n){if(t&1){let e=y();a(0,"mat-checkbox",22),x("change",function(){let o=_(e).$implicit,s=l(2).$implicit,C=l(2);return g(C.controller.activateFilter(s,o.value))}),p(1),a(2,"small"),p(3),T(4,"number"),c()()}if(t&2){let e=n.$implicit;r(),m(" ",e.label," "),r(2),S(M(4,2,e.count))}}function It(t,n){if(t&1&&(a(0,"mat-card-content",18),$(1,Jt,5,4,"mat-checkbox",21,He),c()),t&2){let e=l().$implicit;r(),Q(e.aggregations)}}function Et(t,n){if(t&1&&(a(0,"mat-card")(1,"mat-card-header")(2,"mat-card-title"),p(3),c()(),u(4,Mt,3,0,"mat-card-content",17)(5,It,3,0,"mat-card-content",18),c()),t&2){let e=n.$implicit,i=l().$implicit;r(3),m(" ",i("facets."+e.key)," "),r(),E(e.filter!=null&&e.filter.length?4:5)}}function Pt(t,n){if(t&1&&(a(0,"mat-option",11),p(1),c()),t&2){let e=n.$implicit,i=l().$implicit;d("value",e.field),r(),m(" ",i("dashboard.queues."+e.field)," ")}}function $t(t,n){if(t&1){let e=y();h(0),a(1,"mat-drawer-container",2)(2,"mat-drawer",3,0),$(4,Et,6,2,"mat-card",null,St),T(6,"async"),c(),a(7,"mat-drawer-content")(8,"div",4)(9,"div",5)(10,"button",6),x("click",function(){_(e);let o=z(3);return g(o.toggle())}),a(11,"mat-icon",7),p(12),c()()(),a(13,"div",8)(14,"mat-form-field",9)(15,"mat-label"),p(16),c(),a(17,"mat-select",10),x("valueChange",function(o){_(e);let s=l();return g(s.controller.selectOrderBy(o))}),$(18,Pt,2,2,"mat-option",11,Tt),c()(),a(20,"button",12),x("click",function(){_(e);let o=l();return g(o.controller.toggleOrderByDirection())}),a(21,"mat-icon"),p(22),c()()(),a(23,"div",13)(24,"button",14),x("click",function(){_(e);let o=l();return g(o.dataSource.refresh())}),a(25,"mat-icon"),p(26,"sync"),c()()()(),I(27,"app-queue-jobs-table",15),a(28,"app-paginator",16),x("paging",function(o){_(e);let s=l();return g(s.controller.handlePageEvent(o))}),c()()(),v()}if(t&2){let e=n.$implicit,i=z(3),o=l();r(2),d("mode",o.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",o.breakpoints.sizeAtLeast("Medium")),O("role",o.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),r(2),Q(M(6,18,o.facets$)),r(6),d("matTooltip",e("torrents.toggle_drawer")),r(2),S(i.opened?"arrow_circle_left":"arrow_circle_right"),r(4),S(e("torrents.order_by")),r(),d("value",o.controls.orderBy.field),r(),Q(o.orderByOptions),r(2),d("matTooltip",e("torrents.order_direction_toggle")),r(2),S(o.controls.orderBy.descending?"arrow_downward":"arrow_upward"),r(2),d("matTooltip",e("torrents.refresh")),r(3),d("dataSource",o.dataSource)("selection",o.selection),r(),d("page",o.controls.page)("pageSize",o.controls.limit)("pageLength",o.dataSource.result.items.length)("totalLength",o.dataSource.result.totalCount)("totalIsEstimate",!1)("showLastPage",!0)}}var hi=(()=>{class t{constructor(){this.apollo=J(ce),this.errorsService=J(me),this.breakpoints=J(Fe),this.transloco=J(B),this.controller=new L,this.dataSource=new R(this.apollo,this.errorsService,this.controller.variables$),this.selection=new le,this.orderByOptions=Y,this.facets$=this.controller.controls$.pipe(X(this.dataSource.result$),P(([e,i])=>Le.map(o=>b(f(f({},o),o.extractInput(e.facets)),{aggregations:o.extractAggregations(i.aggregations).map(s=>b(f({},s),{label:o.resolveLabel(s,this.transloco)}))})))),this.controller.controls$.subscribe(e=>{this.controls=e})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-queue-jobs"]],standalone:!0,features:[V],decls:1,vars:0,consts:[["drawer",""],[4,"transloco"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],[1,"query-form"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["fontSet","material-icons"],[1,"form-field-container","form-field-container-order-by"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],["mat-icon-button","",3,"click","matTooltip"],[1,"form-field-container","button-container","button-container-refresh"],["mat-mini-fab","","color","primary",3,"click","matTooltip"],[3,"dataSource","selection"],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"],[1,"filtered"],[1,"unfiltered"],[3,"checked"],[3,"change","checked"],["checked","true"],["checked","true",3,"change"]],template:function(i,o){i&1&&u(0,$t,29,20,"ng-container",1)},dependencies:[A,se,de,pe,fe,Ce,he,be,ve,xe,ge,ye,Te,Me,Je,we,j,F,D,q,Be,Ae],styles:[".drawer[_ngcontent-%COMP%]{width:220px}.query-form[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;position:relative;clear:both;display:flex;flex-wrap:wrap}.query-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;position:relative;margin-left:20px;padding-bottom:20px}.query-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:8px}.query-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%]{padding-right:40px}.query-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.query-form[_ngcontent-%COMP%] .form-field-container.button-container-toggle-drawer[_ngcontent-%COMP%]{margin-left:5px}.query-form[_ngcontent-%COMP%] .button-container-toggle-direction[_ngcontent-%COMP%]{margin-left:4px}app-paginator[_ngcontent-%COMP%]{float:right;padding-top:14px;padding-bottom:20px}"]})}}return t})();export{hi as QueueJobsComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-NJLU6UWE.js b/webui/dist/bitmagnet/browser/chunk-NJLU6UWE.js new file mode 100644 index 00000000..c28a88eb --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-NJLU6UWE.js @@ -0,0 +1 @@ +import{a as h}from"./chunk-DSEDLZDW.js";import{V as _,W as M,_ as x,_a as v,b as g}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{Cb as i,Hb as r,Qb as p,Rb as d,Sb as c,Tb as m,Ub as l,kb as o,kc as s,lc as u,pc as f,rc as C,ua as a}from"./chunk-Z3WUIYN5.js";var y=t=>[t];function T(t,F){if(t&1&&(m(0),c(1,"app-document-title",1),p(2,"mat-card",2)(3,"mat-card-header")(4,"mat-card-title")(5,"h2"),s(6),d()()()(),l()),t&2){let e=F.$implicit;o(),r("parts",C(2,y,e("general.page_not_found"))),o(5),u(e("general.page_not_found"))}}var E=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=a({type:t,selectors:[["app-not-found"]],standalone:!0,features:[f],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],[1,"card-not-found"]],template:function(n,D){n&1&&i(0,T,7,4,"ng-container",0)},dependencies:[v,_,x,M,g,h],styles:[".card-not-found[_ngcontent-%COMP%]{max-width:960px;margin:20px auto}.card-not-found[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-top:10px}"]})}}return t})();export{E as NotFoundComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-OQYWMLJI.js b/webui/dist/bitmagnet/browser/chunk-OQYWMLJI.js deleted file mode 100644 index 8ebcde08..00000000 --- a/webui/dist/bitmagnet/browser/chunk-OQYWMLJI.js +++ /dev/null @@ -1 +0,0 @@ -import"./chunk-RTNXCXB5.js";import"./chunk-JS3YJKHP.js";import"./chunk-RD4V5RUF.js";import"./chunk-2DNC66PX.js";import"./chunk-ZF4WX6G7.js";import{a as R}from"./chunk-3AJEMLV6.js";import{Aa as z,Ba as q,Ca as B,Ua as F,b as y,p as D,qa as I,r as S,ya as E}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import{k as L,m as h,n as T}from"./chunk-ZBBMS7J5.js";import{$b as O,Cb as M,Ea as _,Fa as f,Gb as C,Hb as l,Kb as p,Qb as r,Rb as i,Sb as d,Tb as w,Ub as b,Wb as k,Zb as x,jc as a,kb as t,kc as c,lc as s,pc as A,qa as g,qc as P,ua as v}from"./chunk-FJILXII2.js";var Q=()=>({exact:!0});function $(n,V){if(n&1){let e=k();w(0),r(1,"mat-drawer-container",6)(2,"mat-drawer",7,0)(4,"nav")(5,"ul")(6,"li")(7,"a",8,1)(9,"mat-icon"),c(10,"dashboard"),i(),c(11),i()(),r(12,"li")(13,"a",9,2),d(15,"mat-icon",10),c(16),i()(),r(17,"li")(18,"a",11,3),d(20,"mat-icon",12),c(21),i()()()()(),r(22,"mat-drawer-content")(23,"div",13)(24,"button",14),x("click",function(){_(e);let m=a(3);return f(m.toggle())}),r(25,"mat-icon",15),c(26),i()()(),d(27,"router-outlet",null,4),i()(),b()}if(n&2){let e=V.$implicit,o=a(3),m=a(8),j=a(14),H=a(19),u=O();t(2),l("mode",u.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",u.breakpoints.sizeAtLeast("Medium")),C("role",u.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),t(5),p(m.isActive?"active":""),l("routerLinkActiveOptions",P(15,Q)),t(4),s(e("routes.home")),t(2),p(j.isActive?"active":""),t(3),s(e("routes.queues")),t(2),p(H.isActive?"active":""),t(3),s(e("routes.torrents")),t(3),l("matTooltip",e("torrents.toggle_drawer")),t(2),s(o.opened?"arrow_circle_left":"arrow_circle_right")}}var st=(()=>{class n{constructor(){this.breakpoints=g(R)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=v({type:n,selectors:[["app-dashboard"]],standalone:!0,features:[A],decls:1,vars:0,consts:[["drawer",""],["linkHome","routerLinkActive"],["linkQueues","routerLinkActive"],["linkTorrents","routerLinkActive"],["outlet",""],[4,"transloco"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],["mat-button","","routerLink","/dashboard","routerLinkActive","",3,"routerLinkActiveOptions"],["mat-button","","routerLink","queues","routerLinkActive",""],["svgIcon","queue"],["mat-button","","routerLink","torrents","routerLinkActive",""],["svgIcon","magnet"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["aria-label","Side nav toggle icon","fontSet","material-icons"]],template:function(o,m){o&1&&M(0,$,29,16,"ng-container",5)},dependencies:[F,D,S,I,q,B,z,E,L,h,T,y],styles:["mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{padding-top:12px;--mat-text-button-icon-spacing: 14px}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;font-size:var(--mat-expansion-container-text-size);justify-content:flex-start;padding-left:20px}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}mat-drawer-content[_ngcontent-%COMP%] .button-container-toggle-drawer[_ngcontent-%COMP%]{position:absolute;left:20px;top:28px;z-index:100}.drawer[_ngcontent-%COMP%]{width:220px}"]})}}return n})();export{st as DashboardComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-OUPXCRLE.js b/webui/dist/bitmagnet/browser/chunk-OUPXCRLE.js new file mode 100644 index 00000000..2389e210 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-OUPXCRLE.js @@ -0,0 +1 @@ +import{a as Ue,b as Ge,c as te,d as Ke,e as Ye,f as ie,g as Je,h as We,i as j,j as Xe,k as Ze,l as et}from"./chunk-6OKZFKY7.js";import{a as Fe,b as ee,c as I}from"./chunk-BYSPLPNN.js";import{e as Z}from"./chunk-Y7K23DTG.js";import{b as He}from"./chunk-RQ2LQKI2.js";import{l as Re}from"./chunk-42PJPEMD.js";import{a as Te}from"./chunk-FNMD7JET.js";import{a as Le}from"./chunk-P4IGP6ZM.js";import{a as $e}from"./chunk-DSEDLZDW.js";import{Ba as De,Ea as Pe,Fa as Qe,J as qe,P as K,S as Ve,V as Y,W as Be,X as Oe,_ as J,_a as je,a as U,b as xe,h as ye,oa as Ee,s as Se,t as we,ta as W,ua as Ie,w as G,wa as X,xa as ze,ya as Ne,za as Ae}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{$b as d,B as le,Cb as fe,Ea as b,Fa as g,Hb as l,Kb as N,N as ue,Nb as A,Ob as D,Pb as P,Q as re,Qb as s,Rb as u,Sb as $,Tb as _e,Ub as he,Wb as ae,Zb as C,a as y,ad as Me,b as S,ka as H,kb as c,kc as f,l as Q,la as me,lc as V,mc as be,o as ce,pc as ge,qa as q,tc as Ce,ua as pe,va as de,vc as ke,wc as ve}from"./chunk-Z3WUIYN5.js";var tt=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=de({type:n})}static{this.\u0275inj=me({imports:[K,X,Ee,we,G,Y,J,W,Ae,Ne,ee]})}}return n})();var mt={pending:"primary",processed:"success",failed:"error",retry:"caution"},it=(()=>{class n{constructor(){this.themeInfo=q(Z),this.transloco=q(U)}create(e,i){let{colors:t}=this.themeInfo.info,a=Array(),r=[];if(e&&Array.from(new Set(e.queues.flatMap(v=>v.events?[v.events.earliestBucket,v.events.latestBucket]:[]))).sort().length){let v=e.queues.filter(m=>!m.isEmpty);a.push(...v.map(m=>m.queue));let h=Array();switch(e.params.event){case"created":h.push("pending");break;case"processed":h.push("processed");break;case"failed":h.push("retry","failed");break;default:h.push(...Je);break}r.push(...h.map(m=>({label:this.transloco.translate("dashboard.queues."+m),data:v.map(_=>_.statusCounts[m]),backgroundColor:t[I(mt[m],50)]})))}return{type:"bar",options:{animation:!1,responsive:!0,scales:{x:{ticks:{callback:k=>parseInt(k).toLocaleString(this.transloco.getActiveLang())}},y:{}},indexAxis:"y",plugins:{legend:{display:i.legend}}},data:{labels:a,datasets:r}}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var L="\\d+",se="".concat(L,"(?:[\\.,]").concat(L,")?"),pt="(".concat(L,"Y)?(").concat(L,"M)?(").concat(L,"W)?(").concat(L,"D)?"),dt="T(".concat(se,"H)?(").concat(se,"M)?(").concat(se,"S)?"),ft="P(?:".concat(pt,"(?:").concat(dt,")?)"),_t=["years","months","weeks","days","hours","minutes","seconds"],nt={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0},ht=new RegExp(ft),rt=function(n){let o=n.replace(/,/g,".").match(ht);if(!o)throw new RangeError("invalid duration: ".concat(n));let e=o.slice(1);if(e.filter(function(i){return i!=null}).length===0)throw new RangeError("invalid duration: ".concat(n));if(e.filter(function(i){return/\./.test(i||"")}).length>1)throw new RangeError("only the smallest unit can be fractional");return e.reduce(function(i,t,a){return Object.assign(i,{[_t[a]]:parseFloat(t||"0")||0}),i},{})},bt=function(n,o){o||(o=new Date);let e=Object.assign({},nt,n),i=o.getTime(),t=new Date(i);t.setFullYear(t.getFullYear()+e.years),t.setMonth(t.getMonth()+e.months),t.setDate(t.getDate()+e.days);let a=e.hours*3600*1e3,r=e.minutes*60*1e3;return t.setMilliseconds(t.getMilliseconds()+e.seconds*1e3+a+r),t.setDate(t.getDate()+e.weeks*7),t},at=function(n,o){o||(o=new Date);let e=Object.assign({},nt,n),i=o.getTime(),t=new Date(i),a=bt(e,t),r=o.getTimezoneOffset(),k=a.getTimezoneOffset(),v=(r-k)*60;return(a.getTime()-t.getTime())/1e3+v};var ne=class{constructor(o,e=Ke,i){this.apollo=o,this.errorsService=i,this.rawResultSubject=new Q({queue:{metrics:{buckets:[]}}}),this.resultSubject=new Q(Ye),this.result$=this.resultSubject.asObservable(),this.loadingSubject=new Q(!1),this.paramsSubject=new Q(e),this.params$=this.paramsSubject.asObservable(),this.variablesSubject=new Q(ot(e)),this.paramsSubject.pipe(re(50)).subscribe(t=>{let a=this.variablesSubject.getValue(),r=ot(t);JSON.stringify(a)!==JSON.stringify(r)?this.variablesSubject.next(r):this.resultSubject.next(ct(t,this.rawResultSubject.getValue()))}),this.variablesSubject.pipe(re(50)).subscribe(t=>this.request(t)),this.rawResultSubject.subscribe(t=>{let a=this.paramsSubject.getValue();this.resultSubject.next(ct(a,t)),this.setInterval(a.autoRefresh)})}setInterval(o){clearTimeout(this.refreshTimeout);let e=et[o??this.params.autoRefresh];e&&(this.refreshTimeout=setTimeout(()=>{this.refresh()},e*1e3))}get params(){return this.paramsSubject.getValue()}get bucketDuration(){let o=this.params.buckets.duration;return o==="AUTO"?"hour":o}get bucketMultiplier(){return this.resultSubject.getValue().params.buckets.multiplier??this.params.buckets.multiplier}get loading(){return this.loadingSubject.getValue()}setTimeframe(o){this.updateParams(e=>S(y({},e),{buckets:S(y({},e.buckets),{timeframe:o})}))}setQueue(o){this.updateParams(e=>S(y({},e),{queue:o??void 0}))}setBucketDuration(o,e){this.updateParams(i=>S(y({},i),{buckets:S(y({},i.buckets),{duration:o,multiplier:e??"AUTO"})}))}setBucketMultiplier(o){this.updateParams(e=>S(y({},e),{buckets:S(y({},e.buckets),{multiplier:o})}))}setEvent(o){this.updateParams(e=>S(y({},e),{event:o??void 0}))}setAutoRefreshInterval(o){this.updateParams(e=>S(y({},e),{autoRefresh:o}))}updateParams(o){this.paramsSubject.next(o(this.params))}refresh(){this.variablesSubject.next(this.variablesSubject.getValue())}request(o){return clearTimeout(this.refreshTimeout),this.loadingSubject.next(!0),this.apollo.query({query:qe,variables:o,fetchPolicy:"no-cache"}).pipe(le(e=>{e&&(this.loadingSubject.next(!1),this.rawResultSubject.next(e.data))})).pipe(ue(e=>(this.errorsService.addError(`Failed to load queue metrics: ${e.message}`),this.loadingSubject.next(!1),this.setInterval(),ce))).subscribe()}},ot=n=>({input:{bucketDuration:n.buckets.duration==="AUTO"?"hour":n.buckets.duration,queues:n.queue?[n.queue]:void 0,startTime:n.buckets.timeframe==="all"?void 0:new Date(new Date().getTime()-1e3*j[n.buckets.timeframe]).toISOString()}}),st=n=>Object.fromEntries(n),ct=(n,o)=>{let{bucketParams:e,earliestBucket:i,latestBucket:t}=gt(n,o),a=Object.entries(o.queue.metrics.buckets.reduce((h,m)=>{if(m.queue!==(n.queue??m.queue))return h;let _,p;if((n.event??!0)&&(_=B(m.createdAtBucket,e),i&&i.index>_.index&&(_=void 0)),m.ranAtBucket&&n.event!=="created"&&(p=B(m.ranAtBucket,e),p&&(t.indexp.index)&&(p=void 0)),m.queue!==n.queue&&!_&&(!p||m.status==="pending"))return h;let[M,w]=h[m.queue]??[Ue,[]],x=m.latency?at(rt(m.latency)):void 0;return S(y({},h),{[m.queue]:[(m.status==="pending"?_:p)?S(y({},M),{[m.status]:m.count+M[m.status]}):M,{created:_?S(y({},w.created),{[_.key]:{count:m.count+(w.created?.[_.key]?.count??0),latency:0,startTime:_.start}}):w.created,processed:p&&m.status==="processed"&&(n.event??!0)?S(y({},w.processed),{[p.key]:{count:m.count+(w.processed?.[p.key]?.count??0),latency:(w.processed?.[p.key]?.latency??0)+(x??0),startTime:p.start}}):w.processed,failed:p&&m.status==="failed"&&(n.event??!0)?S(y({},w.failed),{[p.key]:{count:m.count+(w.failed?.[p.key]?.count??0),latency:(w.failed?.[p.key]?.latency??0)+(x??0),startTime:p.start}}):w.failed}]})},{})).map(([h,[m,_]])=>{let p;if(Object.keys(_).length){let M=Array(),w=st(Array("created","processed","failed").flatMap(x=>{let O=st(Object.entries(_[x]??{}).filter(([,z])=>z?.count).sort(([z],[ut])=>parseInt(z)h.events?[h.events.earliestBucket]:[]).sort()[0],v=a.flatMap(h=>h.events?[h.events.latestBucket]:[]).sort().reverse()[0];return k&&v&&(r={earliestBucket:k,latestBucket:v}),{params:S(y({},n),{buckets:e}),queues:a,bucketSpan:r}},gt=(n,o)=>{let e=n.buckets.duration==="AUTO"?"hour":n.buckets.duration,i=n.buckets.multiplier==="AUTO"?1:n.buckets.multiplier,t=n.buckets.timeframe,a=new Date,r=B(a,{duration:e,multiplier:i}),k=t==="all"?void 0:B(a.getTime()-1e3*j[t],{duration:e,multiplier:i}),v=[...k?[k]:[],...o.queue.metrics.buckets.flatMap(_=>[B(_.createdAtBucket,{duration:e,multiplier:i}),..._.ranAtBucket?[B(_.ranAtBucket,{duration:e,multiplier:i})]:[]]),r].filter(_=>!k||_.index>=k.index).sort((_,p)=>_.index-p.index),h=v[0],m=v[v.length-1];if(n.buckets.multiplier==="AUTO"){let p=m.index-h.index;i=Math.min(60,Math.max(Math.floor(p/(20*5))*5,1))}return{bucketParams:{duration:e,multiplier:i,timeframe:t},earliestBucket:t==="all"?void 0:B(a.getTime()-1e3*j[t],{duration:e,multiplier:i}),latestBucket:B(Math.max(a.getTime(),m.start.getTime()),{duration:e,multiplier:i})}},B=(n,o)=>{let e=new Date(n),i=1e3*te[o.duration]*o.multiplier,t=Math.floor(e.getTime()/i);return{key:`${t}`,index:t,start:new Date(t*i)}};var F={created:"primary",processed:"success",failed:"error"},lt=(()=>{class n{constructor(){this.themeInfo=q(Z),this.transloco=q(U)}create(e,i){let{colors:t}=this.themeInfo.info,a=Array(),r=[];if(e){let k=e.queues.filter(p=>!p.isEmpty),v=Array.from(new Set(k.flatMap(p=>p.events?[p.events.earliestBucket,p.events.latestBucket]:[]))).sort(),h=new Date,m=e.params.buckets.timeframe==="all"?v[0]:Math.min(v[0],B(h.getTime()-1e3*j[e.params.buckets.timeframe],e.params.buckets).index),_=Math.max(v[v.length-1],B(h,e.params.buckets).index);if(v.length){for(let M=m;M<=_;M++)a.push(this.formatBucketKey(e.params.buckets,M));let p=ie.filter(M=>(e.params.event??M)===M);for(let M of k){for(let x of p){let O=Array();for(let T=m;T<=_;T++)O.push(M.events?.eventBuckets?.[x]?.entries?.[`${T}`]?.count??0);r.push({yAxisID:"yCount",label:M.queue+": "+this.transloco.translate("dashboard.queues."+x),data:O,borderColor:t[I(F[x],50)],pointBackgroundColor:t[I(F[x],20)],pointBorderColor:t[I(F[x],80)],pointHoverBackgroundColor:t[I(F[x],40)],pointHoverBorderColor:t[I(F[x],60)]})}if(["processed","failed"].filter(x=>p.includes(x)).length){let x=Array();for(let O=m;O<=_;O++){let T=["processed","failed"].filter(E=>p.includes(E)).reduce((E,R)=>{let z=M.events?.eventBuckets?.[R]?.entries?.[`${O}`];return z?.count?[(E?.[0]??0)+z.latency,(E?.[1]??0)+z.count]:E},null);x.push(T?T[0]/T[1]:null)}r.push({yAxisID:"yLatency",label:M.queue+": "+this.transloco.translate("dashboard.queues.latency"),data:x,borderColor:t["tertiary-50"],pointHoverBackgroundColor:t["tertiary-80"],pointHoverBorderColor:t["tertiary-20"]})}}}}return{type:"line",options:{animation:!1,responsive:!0,elements:{line:{tension:.5}},scales:{yCount:{position:"left",ticks:{callback:k=>parseInt(k).toLocaleString(this.transloco.getActiveLang())}},yLatency:{position:"right",ticks:{callback:this.formatDuration.bind(this)}}},plugins:{legend:{display:i.legend},decimation:{enabled:!0},tooltip:{callbacks:{label:k=>k.dataset.yAxisID==="yCount"?k.formattedValue:this.formatDuration(k.parsed.y)}}}},data:{labels:a,datasets:r}}}formatBucketKey(e,i){let t;switch(e.duration){case"day":t="d LLL";break;case"hour":t="d LLL H:00";break;case"minute":t="H:mm";break}return Fe(1e3*te[e.duration]*e.multiplier*i,t,{locale:Re(this.transloco.getActiveLang())})}formatDuration(e){if(typeof e=="string"&&(e=parseInt(e)),e===0)return"0";let i=e,t=0,a=0,r=0;return i>=60&&(t=Math.floor(i/60),i=i%60,t>=5&&(i=0,t>=60&&(a=Math.floor(t/60),t=t%60,a>=5&&(t=0,a>=24&&(r=Math.floor(a/24),a=a%24))))),He({days:r,hours:a,minutes:t,seconds:i},this.transloco.getActiveLang())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Ct=(n,o,e)=>[n,o,e];function kt(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit,i=d().$implicit;l("value",e),c(),V(i("dashboard.interval."+e))}}function vt(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit,i=d().$implicit;l("value",e),c(),V(i("dashboard.interval."+e+"s"))}}function Mt(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit;l("value",e),c(),V(e)}}function xt(n,o){if(n&1){let e=ae();s(0,"button",17),C("click",function(){let t=b(e).$implicit,a=d(2);return g(a.queueMetricsController.params.queue===t||a.queueMetricsController.setQueue(t))}),s(1,"mat-icon"),f(2),u()()}if(n&2){let e=o.$implicit,i=d(2);N(i.queueMetricsController.params.queue===e?"selected":"deselected"),l("matTooltip",e),c(2),V(i.queueMetricsController.params.queue===e?"radio_button_checked":"radio_button_unchecked")}}function yt(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit,i=d().$implicit;l("value",e),c(),V(i("dashboard.event."+e))}}function St(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit,i=d().$implicit;l("value",e),c(),V(i("dashboard.interval."+e))}}function wt(n,o){if(n&1){let e=ae();_e(0),$(1,"app-document-title",1),s(2,"mat-card")(3,"mat-card-content")(4,"mat-grid-list",2)(5,"mat-grid-tile",3)(6,"mat-card",4)(7,"mat-card-header")(8,"mat-card-title")(9,"h4"),f(10),u()()(),s(11,"mat-card-content")(12,"mat-form-field",5)(13,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setTimeframe(t))}),D(14,kt,2,2,"mat-option",7,A),u()(),s(16,"div",8)(17,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setTimeframe(t.timeframeNames[0]))}),s(18,"mat-icon"),f(19,"first_page"),u()(),s(20,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.queueMetricsController.params.buckets.timeframe)-1]))}),s(21,"mat-icon"),f(22,"navigate_before"),u()(),s(23,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.queueMetricsController.params.buckets.timeframe)+1]))}),s(24,"mat-icon"),f(25,"navigate_next"),u()(),s(26,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.length-1]))}),s(27,"mat-icon"),f(28,"last_page"),u()()()()()(),s(29,"mat-grid-tile",3)(30,"mat-card",10)(31,"mat-card-header")(32,"mat-card-title")(33,"h4"),f(34),u()()(),s(35,"mat-card-content")(36,"mat-form-field",11)(37,"input",12),ke(38,"async"),C("change",function(t){b(e);let a=d();return g(a.handleMultiplierEvent(t))}),u()(),s(39,"mat-form-field",13)(40,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setBucketDuration(t))}),D(41,vt,2,2,"mat-option",7,A),u()(),s(43,"div",8)(44,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketMultiplier(t.queueMetricsController.bucketMultiplier-1))}),s(45,"mat-icon"),f(46,"remove"),u()(),s(47,"button",14),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketMultiplier(t.queueMetricsController.bucketMultiplier+1))}),s(48,"mat-icon"),f(49,"add"),u()(),s(50,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketDuration(t.resolutionNames[0]))}),s(51,"mat-icon"),f(52,"first_page"),u()(),s(53,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.queueMetricsController.bucketDuration)-1]))}),s(54,"mat-icon"),f(55,"navigate_before"),u()(),s(56,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.queueMetricsController.bucketDuration)+1]))}),s(57,"mat-icon"),f(58,"navigate_next"),u()(),s(59,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.length-1]))}),s(60,"mat-icon"),f(61,"last_page"),u()()()()()(),s(62,"mat-grid-tile",3)(63,"mat-card")(64,"mat-card-header")(65,"mat-card-title")(66,"h4"),f(67),u()()(),s(68,"mat-card-content")(69,"mat-form-field",5)(70,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setQueue(t==="_all"?null:t))}),s(71,"mat-option",15),f(72),u(),D(73,Mt,2,2,"mat-option",7,A),u()(),s(75,"div",16)(76,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setQueue(null))}),s(77,"mat-icon",18),f(78,"workspaces"),u()(),D(79,xt,3,4,"button",19,A),u()()()(),s(81,"mat-grid-tile",3)(82,"mat-card")(83,"mat-card-header")(84,"mat-card-title")(85,"h4"),f(86),u()()(),s(87,"mat-card-content")(88,"mat-form-field",5)(89,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setEvent(t==="_all"?null:t))}),s(90,"mat-option",15),f(91,"All"),u(),D(92,yt,2,2,"mat-option",7,A),u()(),s(94,"div",16)(95,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setEvent(null))}),s(96,"mat-icon",18),f(97,"radio_button_checked"),u()(),s(98,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.params.event==="created"||t.queueMetricsController.setEvent("created"))}),s(99,"mat-icon"),f(100,"add_circle"),u()(),s(101,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.params.event==="processed"||t.queueMetricsController.setEvent("processed"))}),s(102,"mat-icon"),f(103,"check_circle"),u()(),s(104,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.params.event==="failed"||t.queueMetricsController.setEvent("failed"))}),s(105,"mat-icon"),f(106,"error"),u()()()()()(),s(107,"mat-grid-tile",3)(108,"mat-card",20)(109,"mat-card-header")(110,"mat-card-title")(111,"h4"),f(112),u()()(),s(113,"mat-card-content")(114,"mat-form-field",5)(115,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setAutoRefreshInterval(t))}),D(116,St,2,2,"mat-option",7,A),u()(),s(118,"div",16)(119,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.refresh())}),s(120,"mat-icon"),f(121,"sync"),u()()()()()()(),s(122,"div",21),$(123,"mat-progress-bar",22),u(),s(124,"mat-grid-list",2)(125,"mat-grid-tile",3),$(126,"app-chart",23),u(),s(127,"mat-grid-tile",3),$(128,"app-chart",23),u()()()(),he()}if(n&2){let e,i,t,a=o.$implicit,r=d();c(),l("parts",Ce(69,Ct,a("routes.visualize"),a("routes.queues"),a("routes.dashboard"))),c(3),l("cols",r.breakpoints.sizeAtLeast("Large")?5:r.breakpoints.sizeAtLeast("Medium")?3:r.breakpoints.sizeAtLeast("Small")?2:1),c(),l("colspan",1)("rowspan",2),c(5),V(a("dashboard.metrics.timeframe")),c(3),l("value",r.queueMetricsController.params.buckets.timeframe),c(),P(r.timeframeNames),c(3),l("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)<=0),c(3),l("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)<=0),c(3),l("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)>=r.timeframeNames.length-1),c(3),l("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)>=r.timeframeNames.length-1),c(3),l("colspan",1)("rowspan",2),c(5),be(" ",a("dashboard.metrics.resolution")," "),c(3),l("placeholder",(e=(e=ve(38,67,r.queueMetricsController.result$))==null||e.params==null||e.params.buckets==null||e.params.buckets.multiplier==null?null:e.params.buckets.multiplier.toString())!==null&&e!==void 0?e:"")("value",r.queueMetricsController.params.buckets.multiplier),c(3),l("value",r.queueMetricsController.bucketDuration),c(),P(r.resolutionNames),c(3),l("disabled",r.queueMetricsController.bucketMultiplier===1),c(6),l("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)<=0),c(3),l("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)<=0),c(3),l("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)>=r.resolutionNames.length-1),c(3),l("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)>=r.resolutionNames.length-1),c(3),l("colspan",1)("rowspan",2),c(5),V(a("dashboard.queues.queue")),c(3),l("value",(i=r.queueMetricsController.params.queue)!==null&&i!==void 0?i:"_all"),c(2),V(a("general.all")),c(),P(r.availableQueueNames),c(3),N(r.queueMetricsController.params.queue?"deselected":"selected"),l("matTooltip",a("general.all")),c(3),P(r.availableQueueNames),c(2),l("colspan",1)("rowspan",2),c(5),V(a("dashboard.metrics.event")),c(3),l("value",(t=r.queueMetricsController.params.event)!==null&&t!==void 0?t:"_all"),c(3),P(r.eventNames),c(3),N(r.queueMetricsController.params.event?"deselected":"selected"),l("matTooltip",a("general.all")),c(3),N(r.queueMetricsController.params.event==="created"?"selected":"deselected"),l("matTooltip",a("dashboard.queues.created")),c(3),N(r.queueMetricsController.params.event==="processed"?"selected":"deselected"),l("matTooltip",a("dashboard.queues.processed")),c(3),N(r.queueMetricsController.params.event==="failed"?"selected":"deselected"),l("matTooltip",a("dashboard.queues.failed")),c(3),l("colspan",1)("rowspan",2),c(5),V(a("general.refresh")),c(3),l("value",r.queueMetricsController.params.autoRefresh),c(),P(r.autoRefreshIntervalNames),c(3),l("matTooltip",a("general.refresh")),c(4),l("mode",r.queueMetricsController.loading?"indeterminate":"determinate")("value",0),c(),l("cols",r.breakpoints.sizeAtLeast("Large")?2:1),c(),l("colspan",1)("rowspan",5),c(),l("title",a("dashboard.queues.total_counts_by_status"))("adapter",r.totals)("$data",r.queueMetricsController.result$)("height",400)("width",550),c(),l("colspan",1)("rowspan",5),c(),l("title",a("dashboard.metrics.throughput"))("adapter",r.timeline)("$data",r.queueMetricsController.result$)("height",400)("width",550)}}var Di=(()=>{class n{constructor(){this.breakpoints=q(Le),this.apollo=q(ye),this.queueMetricsController=new ne(this.apollo,{buckets:{duration:"AUTO",multiplier:"AUTO",timeframe:"all"},autoRefresh:"seconds_30"},q(Te)),this.timeline=q(lt),this.totals=q(it),this.resolutionNames=Ge,this.timeframeNames=We,this.availableQueueNames=Xe,this.autoRefreshIntervalNames=Ze,this.eventNames=ie}ngOnInit(){this.queueMetricsController.result$.subscribe(e=>{if(this.queueMetricsController.params.buckets.timeframe==="all"&&this.queueMetricsController.params.buckets.duration==="AUTO"&&e.params.buckets.duration==="hour"){let i=e.bucketSpan;i&&i.latestBucket-i.earliestBucket<12&&this.queueMetricsController.setBucketDuration("minute")}})}ngOnDestroy(){this.queueMetricsController.setAutoRefreshInterval("off")}handleMultiplierEvent(e){let i=e.currentTarget.value;this.queueMetricsController.setBucketMultiplier(/^\d+$/.test(i)?parseInt(i):"AUTO")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=pe({type:n,selectors:[["app-queue-visualize"]],standalone:!0,features:[ge],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],["rowHeight","100px",3,"cols"],[3,"colspan","rowspan"],[1,"form-timeframe"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],[1,"paginator","actions"],["mat-icon-button","",3,"click","disabled"],[1,"form-resolution"],["subscriptSizing","dynamic",1,"form-input-multiplier"],["type","number","matInput","","min","1","step","1",3,"change","placeholder","value"],["subscriptSizing","dynamic",1,"form-select-duration"],["mat-icon-button","",3,"click"],["value","_all"],[1,"actions"],["mat-icon-button","",3,"click","matTooltip"],["fontSet","material-icons"],["mat-icon-button","",3,"class","matTooltip"],[1,"form-refresh"],[1,"progress-bar-container"],[3,"mode","value"],[3,"title","adapter","$data","height","width"]],template:function(i,t){i&1&&fe(0,wt,129,73,"ng-container",0)},dependencies:[je,Se,G,Y,Oe,J,Be,Ve,Ie,W,X,ze,De,Qe,Pe,xe,Me,ee,K,tt,$e],styles:[".actions[_ngcontent-%COMP%]{width:210px;padding-top:12px;--mdc-icon-button-state-layer-size: 32px}.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:22px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:0}.progress-bar-container[_ngcontent-%COMP%]{width:100%;height:10px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{min-width:190px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:16px;font-size:18px}mat-form-field[_ngcontent-%COMP%]{width:186px}.form-resolution[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:-2px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%]{width:60px;margin-right:10px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-resolution[_ngcontent-%COMP%] .form-select-duration[_ngcontent-%COMP%]{width:116px}"]})}}return n})();export{Di as QueueVisualizeComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-3AJEMLV6.js b/webui/dist/bitmagnet/browser/chunk-P4IGP6ZM.js similarity index 81% rename from webui/dist/bitmagnet/browser/chunk-3AJEMLV6.js rename to webui/dist/bitmagnet/browser/chunk-P4IGP6ZM.js index 49f730cd..414fa63c 100644 --- a/webui/dist/bitmagnet/browser/chunk-3AJEMLV6.js +++ b/webui/dist/bitmagnet/browser/chunk-P4IGP6ZM.js @@ -1 +1 @@ -import{k as m,l as t}from"./chunk-Z6GE3BUT.js";import{B as s,ba as o,ka as n,qa as p}from"./chunk-FJILXII2.js";var a=["XSmall","Small","Medium","Large","XLarge"],d=(()=>{class i{constructor(){this.breakpointObserver=p(m),this.state=this.breakpointObserver.observe([t.XSmall,t.Small,t.Medium,t.Large,t.XLarge]).pipe(s(e=>e.breakpoints),o()),this.size$=this.state.pipe(s(e=>a.find(r=>e[t[r]])??"Medium")),this.size="Medium",this.size$.subscribe(e=>{this.size=e})}sizeAtLeast(e){return a.indexOf(e)<=a.indexOf(this.size)}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=n({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();export{d as a}; +import{p as m,q as t}from"./chunk-HZYDZMJ4.js";import{B as s,ba as o,ka as n,qa as p}from"./chunk-Z3WUIYN5.js";var a=["XSmall","Small","Medium","Large","XLarge"],d=(()=>{class i{constructor(){this.breakpointObserver=p(m),this.state=this.breakpointObserver.observe([t.XSmall,t.Small,t.Medium,t.Large,t.XLarge]).pipe(s(e=>e.breakpoints),o()),this.size$=this.state.pipe(s(e=>a.find(r=>e[t[r]])??"Medium")),this.size="Medium",this.size$.subscribe(e=>{this.size=e})}sizeAtLeast(e){return a.indexOf(e)<=a.indexOf(this.size)}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=n({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();export{d as a}; diff --git a/webui/dist/bitmagnet/browser/chunk-PX3TOMGC.js b/webui/dist/bitmagnet/browser/chunk-PX3TOMGC.js new file mode 100644 index 00000000..ee2c7f89 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-PX3TOMGC.js @@ -0,0 +1 @@ +import{a as i}from"./chunk-Z3WUIYN5.js";var n={movie:{singular:"Movie",plural:"Movies",icon:"movie"},tv_show:{singular:"TV Show",plural:"TV Shows",icon:"live_tv"},music:{singular:"Music",plural:"Music",icon:"music_note"},ebook:{singular:"E-Book",plural:"E-Books",icon:"auto_stories"},comic:{singular:"Comic",plural:"Comics",icon:"comic_bubble"},audiobook:{singular:"Audiobook",plural:"Audiobooks",icon:"mic"},software:{singular:"Software",plural:"Software",icon:"desktop_windows"},game:{singular:"Game",plural:"Games",icon:"sports_esports"},xxx:{singular:"XXX",plural:"XXX",icon:"18_up_rating"},null:{singular:"Unknown",plural:"Unknown",icon:"question_mark"}},l=Object.entries(n).map(([o,s])=>i({key:o},s)),u=o=>o?n[o]:void 0;export{n as a,l as b,u as c}; diff --git a/webui/dist/bitmagnet/browser/chunk-QR34FW2E.js b/webui/dist/bitmagnet/browser/chunk-QR34FW2E.js deleted file mode 100644 index 9cf3e8c1..00000000 --- a/webui/dist/bitmagnet/browser/chunk-QR34FW2E.js +++ /dev/null @@ -1 +0,0 @@ -import{a as D,b as N,c as z,d as Ae,e as Ne,f as ze,g as Qe}from"./chunk-RTNXCXB5.js";import{a as Re,b as De}from"./chunk-JS3YJKHP.js";import{a as qe}from"./chunk-RD4V5RUF.js";import"./chunk-2DNC66PX.js";import{a as Ce}from"./chunk-ZF4WX6G7.js";import{a as Le}from"./chunk-3AJEMLV6.js";import{Aa as Fe,Ba as Ve,Ca as Be,E as ye,J as ve,L as Se,M as be,Ua as je,a as se,b as le,ba as Te,d as pe,e as ue,f as me,g as de,h as _e,i as ge,ja as we,ka as Me,la as Oe,ma as Pe,n as fe,q as he,qa as ke,r as xe,ra as Ie,ya as Ee,za as $e}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import{j as ae,l as ce}from"./chunk-ZBBMS7J5.js";import{$ as X,$b as s,$c as oe,B as M,Cb as x,Ea as _,Fa as g,Gb as ee,Hb as f,Kb as L,Mb as v,N as W,O as Y,Ob as k,Pb as I,Q as K,Qb as p,Rb as u,Sb as A,Tb as te,Ub as ne,Wb as P,Zb as h,a,ad as re,b as l,jc as R,kb as c,kc as m,l as y,lc as E,mc as S,nc as $,o as G,pc as ie,qa as O,ua as Z,uc as b,vc as T}from"./chunk-FJILXII2.js";var Q={items:[],totalCount:0,totalCountIsEstimate:!1,aggregations:{}},V=class{constructor(n,e,o){this.apollo=n,this.errorsService=e,this.currentRequest=new y(0),this.loadingSubject=new y(!1),this.loading$=this.loadingSubject.asObservable(),this.result=Q,this.resultSubject=new y(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(M(i=>i.items)),this.overallTotalCount$=this.resultSubject.pipe(M(i=>{let r=0,d=!1;for(let w of i.aggregations.contentType??[])r+=w.count,d=d||w.isEstimate;return{count:r,isEstimate:d}})),this.availableContentTypes$=this.resultSubject.pipe(X((i,r)=>Array.from(new Set([...i,...(r.aggregations.contentType??[]).flatMap(d=>d.value?[d.value]:[])])),[])),this.contentTypeCounts$=this.resultSubject.pipe(M(i=>Object.fromEntries((i.aggregations.contentType??[]).map(r=>[r.value,{count:r.count,isEstimate:r.isEstimate}])))),o.subscribe(i=>{this.input=i.input,this.loadResult({input:l(a({},i.input),{cached:!0})})}),this.resultSubject.subscribe(i=>{this.result=i})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}refresh(){this.loadResult({input:l(a({},this.input),{cached:!1})})}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let o=this.apollo.query({query:ye,variables:n,fetchPolicy:"no-cache"}).pipe(M(i=>i.data.torrentContent.search)).pipe(W(i=>(this.errorsService.addError(`Error loading item results: ${i.message}`),G)));this.currentSubscription=o.subscribe(i=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(i))})}};var He=t=>({input:{queryString:t.queryString,limit:t.limit,page:t.page,totalCount:!0,hasNextPage:!0,orderBy:[t.orderBy],facets:{contentType:{aggregate:!0,filter:t.contentType?[t.contentType==="null"?null:t.contentType]:void 0},genre:t.facets.genre.active?{aggregate:!0,filter:t.facets.genre.filter}:void 0,language:t.facets.language.active?{aggregate:t.facets.language.active,filter:t.facets.language.filter}:void 0,torrentFileType:t.facets.fileType.active?{aggregate:!0,filter:t.facets.fileType.filter}:void 0,torrentSource:t.facets.torrentSource.active?{aggregate:!0,filter:t.facets.torrentSource.filter}:void 0,torrentTag:t.facets.torrentTag.active?{aggregate:!0,filter:t.facets.torrentTag.filter}:void 0,videoResolution:t.facets.videoResolution.active?{aggregate:!0,filter:t.facets.videoResolution.filter}:void 0,videoSource:t.facets.videoSource.active?{aggregate:!0,filter:t.facets.videoSource.filter}:void 0}}}),C={active:!1},B=class{constructor(n){this.controlsSubject=new y(n),this.controls$=this.controlsSubject.asObservable(),this.paramsSubject=new y(He(n)),this.params$=this.paramsSubject.asObservable(),this.controls$.pipe(K(100)).subscribe(e=>{let o=this.paramsSubject.getValue(),i=He(e);JSON.stringify(o)!==JSON.stringify(i)&&this.paramsSubject.next(i)})}update(n){let e=this.controlsSubject.getValue(),o=n(e);JSON.stringify(e)!==JSON.stringify(o)&&this.controlsSubject.next(o)}selectLanguage(n){this.update(e=>l(a({},e),{language:n}))}selectContentType(n){this.update(e=>l(a({},e),{contentType:n,page:1,facets:l(a({},e.facets),{genre:H(n,Je.contentTypes)?e.facets.genre:C,videoResolution:H(n,Ue.contentTypes)?e.facets.videoResolution:C,videoSource:H(n,Ge.contentTypes)?e.facets.videoSource:C})}))}activateFacet(n){this.update(e=>l(a({},e),{facets:n.patchInput(e.facets,l(a({},n.extractInput(e.facets)),{active:!0}))}))}deactivateFacet(n){this.update(e=>{let o=n.extractInput(e.facets);return l(a({},e),{page:o.filter?1:e.page,facets:n.patchInput(e.facets,l(a({},o),{active:!1,filter:void 0}))})})}activateFilter(n,e){this.update(o=>{let i=n.extractInput(o.facets);return l(a({},o),{page:1,facets:n.patchInput(o.facets,l(a({},i),{filter:Array.from(new Set([...i.filter??[],e])).sort()}))})})}deactivateFilter(n,e){this.update(o=>{let i=n.extractInput(o.facets),r=i.filter?.filter(d=>d!==e);return l(a({},o),{page:1,facets:n.patchInput(o.facets,l(a({},i),{filter:r?.length?r:void 0}))})})}setQueryString(n){n=n||void 0,this.update(e=>{let o=e.orderBy;return n?n!==e.queryString&&(o=U):o.field==="relevance"&&(o=F),l(a({},e),{queryString:n,orderBy:o,page:n===e.queryString?e.page:1})})}selectOrderBy(n){let e={field:n,descending:J.find(o=>o.field===n)?.descending??!1};this.update(o=>l(a({},o),{orderBy:e.field!=="relevance"||o.queryString?e:F,page:1}))}toggleOrderByDirection(){this.update(n=>l(a({},n),{orderBy:l(a({},n.orderBy),{descending:!n.orderBy.descending}),page:1}))}handlePageEvent(n){this.update(e=>l(a({},e),{limit:n.pageSize,page:n.page}))}},et={key:"torrent_source",icon:"mediation",allowNull:!1,extractInput:t=>t.torrentSource,patchInput:(t,n)=>l(a({},t),{torrentSource:n}),extractAggregations:t=>t.torrentSource??[],resolveLabel:t=>t.label},tt={key:"torrent_tag",icon:"sell",allowNull:!1,extractInput:t=>t.torrentTag,patchInput:(t,n)=>l(a({},t),{torrentTag:n}),extractAggregations:t=>t.torrentTag??[],resolveLabel:t=>t.value},nt={key:"file_type",icon:"file_present",allowNull:!1,extractInput:t=>t.fileType,patchInput:(t,n)=>l(a({},t),{fileType:n}),extractAggregations:t=>t.torrentFileType??[],resolveLabel:(t,n)=>n.translate(`file_types.${t.value}`)},it={key:"language",icon:"translate",allowNull:!1,extractInput:t=>t.language,patchInput:(t,n)=>l(a({},t),{language:n}),extractAggregations:t=>t.language??[],resolveLabel:(t,n)=>n.translate(`languages.${t.value}`)},Je={key:"genre",icon:"theater_comedy",allowNull:!1,contentTypes:["movie","tv_show"],extractInput:t=>t.genre,patchInput:(t,n)=>l(a({},t),{genre:n}),extractAggregations:t=>t.genre??[],resolveLabel:t=>t.label},Ue={key:"video_resolution",icon:"aspect_ratio",allowNull:!0,contentTypes:["movie","tv_show","xxx"],extractInput:t=>t.videoResolution,patchInput:(t,n)=>l(a({},t),{videoResolution:n}),extractAggregations:t=>(t.videoResolution??[]).map(n=>l(a({},n),{value:n.value??null})),resolveLabel:t=>t.value?.slice(1)??"?"},Ge={key:"video_source",icon:"album",allowNull:!0,contentTypes:["movie","tv_show","xxx"],extractInput:t=>t.videoSource,patchInput:(t,n)=>l(a({},t),{videoSource:n}),extractAggregations:t=>(t.videoSource??[]).map(n=>l(a({},n),{value:n.value??null})),resolveLabel:t=>t.value??"?"},j=[et,tt,nt,it,Je,Ue,Ge],J=[{field:"relevance",descending:!0},{field:"published_at",descending:!0},{field:"updated_at",descending:!0},{field:"size",descending:!0},{field:"files_count",descending:!0},{field:"seeders",descending:!0},{field:"leechers",descending:!0},{field:"name",descending:!1}],F={field:"published_at",descending:!0},U={field:"relevance",descending:!0},H=(t,n)=>!n||t&&n.includes(t);var We=(t,n)=>n.key,ot=(t,n)=>n.field,Ye=(t,n)=>n.value;function rt(t,n){if(t&1&&(p(0,"small"),m(1),b(2,"number"),u()),t&2){let e=n;c(),$("",e.isEstimate?"~":"","",T(2,2,e.count),"")}}function at(t,n){if(t&1&&(p(0,"small"),m(1),b(2,"number"),u()),t&2){let e=n;c(),$("",e.isEstimate?"~":"","",T(2,2,e.count),"")}}function ct(t,n){t&1&&(p(0,"small"),m(1,"0"),u())}function st(t,n){if(t&1){let e=P();p(0,"li",5),h("click",function(){_(e);let i=s().$implicit,r=s(2);return g(r.controller.selectContentType(i.key))}),p(1,"mat-icon"),m(2),u(),m(3),x(4,at,3,4,"small"),b(5,"async"),x(6,ct,2,0,"small"),u()}if(t&2){let e,o=s().$implicit,i=s().$implicit,r=s();L(r.controls.contentType===o.key?"active":""),c(2),E(o.icon),c(),S(" ",i("content_types.plural."+o.key)," "),c(),v((e=(e=T(5,5,r.dataSource.contentTypeCounts$))==null?null:e[o.key])?4:6,e)}}function lt(t,n){if(t&1&&(x(0,st,7,7,"li",23),b(1,"async")),t&2){let e,o=n.$implicit,i=s(2);v(o.key==="null"||(e=T(1,1,i.dataSource.availableContentTypes$))!=null&&e.includes(o.key)?0:-1)}}function pt(t,n){if(t&1){let e=P();p(0,"mat-checkbox",29),h("change",function(i){let r=_(e).$implicit,d=s(3).$implicit,w=s(2);return g(i.checked?w.controller.activateFilter(d,r.value):w.controller.deactivateFilter(d,r.value))}),m(1),p(2,"small"),m(3),b(4,"number"),u()()}if(t&2){let e=n.$implicit,o=s(3).$implicit;f("checked",o.filter==null?null:o.filter.includes(e.value)),c(),S(" ",e.label," "),c(2),$("",e.isEstimate?"~":"","",T(4,4,e.count),"")}}function ut(t,n){if(t&1&&(p(0,"section",26),k(1,pt,5,6,"mat-checkbox",28,Ye),u()),t&2){let e=s(2).$implicit;c(),I(e.aggregations)}}function mt(t,n){if(t&1){let e=P();p(0,"mat-checkbox",31),h("change",function(){let i=_(e).$implicit,r=s(4).$implicit,d=s(2);return g(d.controller.activateFilter(r,i.value))}),m(1),p(2,"small"),m(3),b(4,"number"),u()()}if(t&2){let e=n.$implicit;c(),S(" ",e.label," "),c(2),$("",e.isEstimate?"~":"","",T(4,3,e.count),"")}}function dt(t,n){if(t&1&&k(0,mt,5,5,"mat-checkbox",30,Ye),t&2){let e=s(3).$implicit;I(e.aggregations)}}function _t(t,n){if(t&1&&m(0),t&2){let e=s(4).$implicit;S(" ",e("general.none")," ")}}function gt(t,n){if(t&1&&(p(0,"section",27),x(1,dt,2,0)(2,_t,1,1),u()),t&2){let e=s(2).$implicit;c(),v(e.aggregations.length?1:2)}}function ft(t,n){if(t&1){let e=P();p(0,"mat-expansion-panel",25),h("opened",function(){_(e);let i=s().$implicit,r=s(2);return g(r.controller.activateFacet(i))})("closed",function(){_(e);let i=s().$implicit,r=s(2);return g(r.controller.deactivateFacet(i))}),p(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon"),m(4),u(),m(5),u()(),x(6,ut,3,0,"section",26)(7,gt,3,1,"section",27),u()}if(t&2){let e=s().$implicit,o=s().$implicit;f("expanded",e.active),c(4),E(e.icon),c(),S(" ",o("facets."+e.key)," "),c(),v(e.filter!=null&&e.filter.length?6:7)}}function ht(t,n){if(t&1&&x(0,ft,8,4,"mat-expansion-panel",24),t&2){let e=n.$implicit;v(e.relevant?0:-1)}}function xt(t,n){if(t&1){let e=P();p(0,"button",17),h("click",function(){_(e);let i=s(2);return i.queryString.reset(),g(i.controller.setQueryString(null))}),p(1,"mat-icon"),m(2,"close"),u()()}if(t&2){let e=s().$implicit;f("matTooltip",e("torrents.clear_search"))}}function Ct(t,n){if(t&1&&(p(0,"mat-option",32),m(1),u()),t&2){let e=s().$implicit,o=s().$implicit;f("value",e.field),c(),S(" ",o("torrents.ordering."+e.field)," ")}}function yt(t,n){if(t&1&&x(0,Ct,2,2,"mat-option",32),t&2){let e=n.$implicit,o=s(2);v(e.field!="relevance"||o.queryString.value?0:-1)}}function vt(t,n){if(t&1){let e=P();te(0),p(1,"mat-drawer-container",2)(2,"mat-drawer",3,0)(4,"mat-expansion-panel",4)(5,"mat-expansion-panel-header")(6,"mat-panel-title")(7,"mat-icon"),m(8,"interests"),u(),m(9),u()(),p(10,"section")(11,"nav")(12,"ul")(13,"li",5),h("click",function(){_(e);let i=s();return g(i.controller.selectContentType(null))}),p(14,"mat-icon",6),m(15,"emergency"),u(),m(16),x(17,rt,3,4,"small"),b(18,"async"),u(),k(19,lt,2,3,null,null,We),u()()()(),k(21,ht,1,1,null,null,We),b(23,"async"),u(),p(24,"mat-drawer-content")(25,"div",7)(26,"div",8)(27,"button",9),h("click",function(){_(e);let i=R(3);return g(i.toggle())}),p(28,"mat-icon",10),m(29),u()()(),p(30,"div",11)(31,"mat-form-field",12)(32,"input",13),h("keyup.enter",function(){_(e);let i=s();return g(i.controller.setQueryString(i.queryString.value))}),u(),x(33,xt,3,1,"button",14),u()(),p(34,"div",15)(35,"mat-form-field",12)(36,"mat-label"),m(37),u(),p(38,"mat-select",16),h("valueChange",function(i){_(e);let r=s();return g(r.controller.selectOrderBy(i))}),k(39,yt,1,1,null,null,ot),u()(),p(41,"button",17),h("click",function(){_(e);let i=s();return g(i.controller.toggleOrderByDirection())}),p(42,"mat-icon"),m(43),u()()(),p(44,"div",18)(45,"button",19),h("click",function(){_(e);let i=s();return g(i.dataSource.refresh())}),p(46,"mat-icon"),m(47,"sync"),u()()()(),A(48,"mat-divider"),p(49,"app-torrents-bulk-actions",20),h("updated",function(){_(e);let i=s();return g(i.dataSource.refresh())}),u(),A(50,"mat-divider"),p(51,"app-torrents-table",21),h("updated",function(){_(e);let i=s();return g(i.dataSource.refresh())}),u(),p(52,"app-paginator",22),h("paging",function(i){_(e);let r=s();return g(r.controller.handlePageEvent(i))}),u()()(),ne()}if(t&2){let e,o=n.$implicit,i=R(3),r=s();c(2),f("mode",r.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",r.breakpoints.sizeAtLeast("Medium")),ee("role",r.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),c(2),f("expanded",r.breakpoints.sizeAtLeast("Medium")),c(5),S(" ",o("facets.content_type")," "),c(4),L(r.controls.contentType===null?"active":""),c(3),S("",o("content_types.plural.all")," "),c(),v((e=T(18,29,r.dataSource.overallTotalCount$))?17:-1,e),c(2),I(r.contentTypes),c(2),I(T(23,31,r.facets$)),c(6),f("matTooltip",o("torrents.toggle_drawer")),c(2),E(i.opened?"arrow_circle_left":"arrow_circle_right"),c(3),f("placeholder",o("torrents.search"))("formControl",r.queryString),c(),v(r.queryString.value?33:-1),c(4),E(o("torrents.order_by")),c(),f("value",r.controls.orderBy.field),c(),I(r.orderByOptions),c(2),f("matTooltip",o("torrents.order_direction_toggle")),c(2),E(r.controls.orderBy.descending?"arrow_downward":"arrow_upward"),c(2),f("matTooltip",o("torrents.refresh")),c(4),f("selectedItems$",r.selectedItems$),c(2),f("dataSource",r.dataSource)("displayedColumns",r.breakpoints.sizeAtLeast("Medium")?r.allColumns:r.compactColumns)("selection",r.selection),c(),f("page",r.controls.page)("pageSize",r.controls.limit)("pageLength",r.dataSource.result.items.length)("totalLength",r.dataSource.result.totalCount)("totalIsEstimate",r.dataSource.result.totalCountIsEstimate)("hasNextPage",r.dataSource.result.hasNextPage)}}var fn=(()=>{class t{constructor(){this.route=O(ae),this.router=O(ce),this.apollo=O(ge),this.errorsService=O(Ce),this.transloco=O(se),this.breakpoints=O(Le),this.contentTypes=De,this.orderByOptions=J,this.allColumns=ze,this.compactColumns=Qe,this.queryString=new me(""),this.result=Q,this.selection=new _e(!0,[]),this.selectedItemsSubject=new y([]),this.selectedItems$=this.selectedItemsSubject.asObservable(),this.subscriptions=Array(),this.controls=l(a({},St),{language:this.transloco.getActiveLang()}),this.controller=new B(this.controls),this.dataSource=new V(this.apollo,this.errorsService,this.controller.params$),this.subscriptions.push(this.controller.controls$.subscribe(e=>{this.controls=e})),this.facets$=this.controller.controls$.pipe(Y(this.dataSource.result$),M(([e,o])=>j.map(i=>l(a(a({},i),i.extractInput(e.facets)),{relevant:!i.contentTypes||!!(e.contentType&&e.contentType!=="null"&&i.contentTypes.includes(e.contentType)),aggregations:i.extractAggregations(o.aggregations).map(r=>l(a({},r),{label:i.resolveLabel(r,this.transloco)}))})))),this.subscriptions.push(this.dataSource.result$.subscribe(e=>{this.result=e;let o=new Set(e.items.map(({infoHash:i})=>i));this.selection.deselect(...this.selection.selected.filter(i=>!o.has(i)))}))}ngOnInit(){this.subscriptions.push(this.route.queryParams.subscribe(e=>{let o=N(e,"query");this.queryString.setValue(o??null),this.controller.update(i=>{let r=D(e,"facets"),d=i.orderBy;return o?o!==i.queryString&&(d=U):d.field==="relevance"&&(d=F),l(a({},i),{queryString:o,orderBy:d,contentType:bt(e,"content_type"),limit:z(e,"limit")??i.limit,page:z(e,"page")??i.page,facets:j.reduce((w,q)=>{let Xe=r?.includes(q.key)??!1,Ze=D(e,q.key);return q.patchInput(w,{active:Xe,filter:Ze})},i.facets)})})}),this.controller.controls$.subscribe(e=>{let o=e.page,i=e.limit;o===1&&(o=void 0),i===Ke&&(i=void 0),this.router.navigate([],{relativeTo:this.route,queryParams:a({query:e.queryString?encodeURIComponent(e.queryString):void 0,page:o,limit:i,content_type:e.contentType},Tt(e.facets)),queryParamsHandling:"merge"})}),this.selection.changed.subscribe(e=>{let o=new Set(e.source.selected);this.selectedItemsSubject.next(this.result.items.filter(i=>o.has(i.infoHash)))}))}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe()),this.subscriptions=new Array}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=Z({type:t,selectors:[["app-torrents-search"]],standalone:!0,features:[ie],decls:1,vars:0,consts:[["drawer",""],[4,"transloco"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],[1,"panel-content-type",3,"expanded"],[3,"click"],["fontSet","material-icons"],[1,"search-form"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["aria-label","Side nav toggle icon","fontSet","material-icons"],[1,"form-field-container","form-field-container-search-query"],["subscriptSizing","dynamic"],["matInput","","autocapitalize","none",3,"keyup.enter","placeholder","formControl"],["mat-icon-button","",3,"matTooltip"],[1,"form-field-container","form-field-container-order-by"],[3,"valueChange","value"],["mat-icon-button","",3,"click","matTooltip"],[1,"form-field-container","button-container","button-container-refresh"],["mat-mini-fab","","color","primary",3,"click","matTooltip"],[3,"updated","selectedItems$"],[3,"updated","dataSource","displayedColumns","selection"],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","hasNextPage"],[3,"class"],[3,"expanded"],[3,"opened","closed","expanded"],[1,"filtered"],[1,"unfiltered"],[3,"checked"],[3,"change","checked"],["checked","true"],["checked","true",3,"change"],[3,"value"]],template:function(o,i){o&1&&x(0,vt,53,33,"ng-container",1)},dependencies:[je,fe,xe,he,Te,we,Me,Oe,Pe,be,Se,ke,Ie,$e,Ve,Be,Fe,Ee,pe,ue,de,le,oe,re,ve,qe,Ae,Ne],styles:[".mat-expansion-panel[_ngcontent-%COMP%]{margin-top:14px;margin-right:14px}.mat-expansion-panel[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:-10px}.mat-expansion-panel.panel-content-type[_ngcontent-%COMP%]{margin-top:20px}.mat-expansion-panel.panel-content-type[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:0}.mat-expansion-panel[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0;margin:0}.mat-expansion-panel[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative;line-height:40px;padding-left:40px}.mat-expansion-panel[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:absolute;left:0;top:8px}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{cursor:pointer}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{top:6px}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{float:right;font-size:.8rem}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{display:block}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] label{min-width:220px}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{margin-left:10px;position:absolute;right:0}.search-form[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;position:relative;clear:both;display:flex;flex-wrap:wrap}.search-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;position:relative;margin-left:20px;padding-bottom:20px}.search-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:8px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%]{padding-right:40px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%]{width:300px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%] .mat-mdc-form-field-infix{padding-right:50px}.search-form[_ngcontent-%COMP%] .button-container-toggle-direction[_ngcontent-%COMP%]{margin-left:4px}app-paginator[_ngcontent-%COMP%]{float:right;padding-top:14px;padding-bottom:20px}"],changeDetection:0})}}return t})(),Ke=20,St={language:"en",page:1,limit:Ke,contentType:null,orderBy:F,facets:{genre:C,language:C,fileType:C,torrentSource:C,torrentTag:C,videoResolution:C,videoSource:C}},bt=(t,n)=>{let e=N(t,n);return e&&e in Re?e:null},Tt=t=>{let[n,e]=j.reduce((o,i)=>{let r=i.extractInput(t);return r.active?[[...o[0],i.key],r.filter?l(a({},o[1]),{[i.key]:r.filter}):o[1]]:o},[[],{}]);return a({facets:n.length?n.join(","):void 0},Object.fromEntries(Object.entries(e).map(([o,i])=>[o,encodeURIComponent(i.join(","))])))};export{fn as TorrentsSearchComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-RD4V5RUF.js b/webui/dist/bitmagnet/browser/chunk-RD4V5RUF.js deleted file mode 100644 index 15e7ebbe..00000000 --- a/webui/dist/bitmagnet/browser/chunk-RD4V5RUF.js +++ /dev/null @@ -1 +0,0 @@ -import{a as Q}from"./chunk-2DNC66PX.js";import{L as H,M as j,Ua as K,a as N,b as A,n as $,qa as q,r as D,ya as G,za as J}from"./chunk-Z6GE3BUT.js";import{$b as o,Cb as x,Ea as m,Fa as _,Hb as c,Kc as C,Mb as P,Na as T,Nb as L,Ob as w,Pb as z,Qb as a,Rb as p,Tb as M,Ub as E,Wb as b,Zb as u,ad as B,kb as s,kc as l,mc as f,pc as V,qa as v,rc as k,sc as F,tc as O,ua as S,uc as d,vc as h,xa as y,zb as I}from"./chunk-FJILXII2.js";var U=(t,r,i)=>({x:t,y:r,z:i}),W=(t,r)=>({x:t,y:r}),X=t=>[null,t];function Y(t,r){if(t&1&&(a(0,"mat-option",4),l(1),p()),t&2){let i=r.$implicit;c("value",i),s(),f(" ",i," ")}}function Z(t,r){if(t&1&&(l(0),d(1,"number"),d(2,"number"),d(3,"number")),t&2){let i=o().$implicit,e=o();f(" ",i("paginator.x_to_y_of_z",O(7,U,h(1,1,e.firstItemIndex),h(2,3,e.lastItemIndex),(e.totalIsEstimate?"~":"")+h(3,5,e.totalLength)))," ")}}function tt(t,r){if(t&1&&(l(0),d(1,"number"),d(2,"number")),t&2){let i=o().$implicit,e=o();f(" ",i("paginator.x_to_y",F(5,W,h(1,1,e.firstItemIndex),h(2,3,e.lastItemIndex)))," ")}}function et(t,r){if(t&1){let i=b();a(0,"button",7),u("click",function(){let n;m(i);let g=o(2);return g.page=(n=g.pageCount)!==null&&n!==void 0?n:1,_(g.emitChange())}),a(1,"mat-icon"),l(2,"last_page"),p()()}if(t&2){let i=o().$implicit,e=o();c("disabled",k(2,X,e.page).includes(e.pageCount))("matTooltip",i("paginator.last_page"))}}function it(t,r){if(t&1){let i=b();M(0),a(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),l(4,"Items per page"),p(),a(5,"mat-select",3),u("valueChange",function(n){m(i);let g=o();return g.pageSize=n,g.page=1,_(g.emitChange())}),w(6,Y,2,2,"mat-option",4,L),p()(),a(8,"p",5),x(9,Z,4,11)(10,tt,3,8),p(),a(11,"div",6)(12,"button",7),u("click",function(){m(i);let n=o();return n.page=1,_(n.emitChange())}),a(13,"mat-icon"),l(14,"first_page"),p()(),a(15,"button",7),u("click",function(){m(i);let n=o();return n.page=n.page-1,_(n.emitChange())}),a(16,"mat-icon"),l(17,"navigate_before"),p()(),a(18,"button",7),u("click",function(){m(i);let n=o();return n.page=n.page+1,_(n.emitChange())}),a(19,"mat-icon"),l(20,"navigate_next"),p()(),x(21,et,3,4,"button",8),p()(),E()}if(t&2){let i=r.$implicit,e=o();s(5),c("value",e.pageSize),s(),z(e.pageSizes),s(3),P(e.hasTotalLength?9:10),s(3),c("disabled",!e.hasPreviousPage)("matTooltip",i("paginator.first_page")),s(3),c("disabled",!e.hasPreviousPage)("matTooltip",i("paginator.previous_page")),s(3),c("disabled",!e.actuallyHasNextPage)("matTooltip",i("paginator.next_page")),s(3),P(e.showLastPage?21:-1)}}var ht=(()=>{class t{constructor(){this.page=1,this.pageSize=10,this.pageSizes=[10,20,50,100],this.pageLength=0,this.totalLength=null,this.totalIsEstimate=!1,this.hasNextPage=null,this.showLastPage=!1,this.paging=new T}get firstItemIndex(){return(this.page-1)*this.pageSize+1}get lastItemIndex(){return(this.page-1)*this.pageSize+this.pageLength}get hasTotalLength(){return typeof this.totalLength=="number"}get hasPreviousPage(){return this.page>1}get pageCount(){return typeof this.totalLength!="number"?null:Math.ceil(this.totalLength/this.pageSize)}get actuallyHasNextPage(){return typeof this.hasNextPage=="boolean"?this.hasNextPage:typeof this.totalLength!="number"?!1:this.page*this.pageSize *[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.paginator[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 20px}.paginator[_ngcontent-%COMP%] .field-items-per-page[_ngcontent-%COMP%]{width:140px}"]})}}return t})();var vt=(()=>{class t{constructor(){this.transloco=v(N)}transform(i){return Q(i,this.transloco.getActiveLang())}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275pipe=y({name:"timeAgo",type:t,pure:!1,standalone:!0})}}return t})();export{ht as a,vt as b}; diff --git a/webui/dist/bitmagnet/browser/chunk-RQ2LQKI2.js b/webui/dist/bitmagnet/browser/chunk-RQ2LQKI2.js new file mode 100644 index 00000000..4420ccfd --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-RQ2LQKI2.js @@ -0,0 +1 @@ +import{c as M,d as y,e as w,f,g,i as S,j as D,k as I,l as X}from"./chunk-42PJPEMD.js";function h(t,e){let r=+f(t)-+f(e);return r<0?-1:r>0?1:r}function T(t){return w(t,Date.now())}function _(t,e,r){let[s,o]=D(r?.in,t,e),c=s.getFullYear()-o.getFullYear(),i=s.getMonth()-o.getMonth();return c*12+i}function F(t){return e=>{let s=(t?Math[t]:Math.trunc)(e);return s===0?0:s}}function Y(t,e){return+f(t)-+f(e)}function z(t,e){let r=f(t,e?.in);return r.setHours(23,59,59,999),r}function L(t,e){let r=f(t,e?.in),s=r.getMonth();return r.setFullYear(r.getFullYear(),s+1,0),r.setHours(23,59,59,999),r}function N(t,e){let r=f(t,e?.in);return+z(r,e)==+L(r,e)}function b(t,e,r){let[s,o,c]=D(r?.in,t,t,e),i=h(o,c),n=Math.abs(_(o,c));if(n<1)return 0;o.getMonth()===1&&o.getDate()>27&&o.setDate(30),o.setMonth(o.getMonth()-i*n);let m=h(o,c)===-i;N(s)&&n===1&&h(s,c)===1&&(m=!1);let u=i*(n-+m);return u===0?0:u}function A(t,e,r){let s=Y(t,e)/1e3;return F(r?.roundingMethod)(s)}function v(t,e,r){let s=g(),o=r?.locale??s.locale??I,c=2520,i=h(t,e);if(isNaN(i))throw new RangeError("Invalid time value");let n=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:i}),[m,u]=D(r?.in,...i>0?[e,t]:[t,e]),l=A(u,m),x=(S(u)-S(m))/1e3,a=Math.round((l-x)/60),p;if(a<2)return r?.includeSeconds?l<5?o.formatDistance("lessThanXSeconds",5,n):l<10?o.formatDistance("lessThanXSeconds",10,n):l<20?o.formatDistance("lessThanXSeconds",20,n):l<40?o.formatDistance("halfAMinute",0,n):l<60?o.formatDistance("lessThanXMinutes",1,n):o.formatDistance("xMinutes",1,n):a===0?o.formatDistance("lessThanXMinutes",1,n):o.formatDistance("xMinutes",a,n);if(a<45)return o.formatDistance("xMinutes",a,n);if(a<90)return o.formatDistance("aboutXHours",1,n);if(a{let l=`x${u.replace(/(^.)/,a=>a.toUpperCase())}`,x=t[u];return x!==void 0&&(c||t[u])?m.concat(s.formatDistance(l,x)):m},[]).join(i):""}var _t=(t,e)=>H(t,{addSuffix:!0,locale:X(e)}),Ft=(t,e)=>k(t,{locale:X(e)});export{_t as a,Ft as b}; diff --git a/webui/dist/bitmagnet/browser/chunk-RTNXCXB5.js b/webui/dist/bitmagnet/browser/chunk-RTNXCXB5.js deleted file mode 100644 index 475cedb7..00000000 --- a/webui/dist/bitmagnet/browser/chunk-RTNXCXB5.js +++ /dev/null @@ -1,3 +0,0 @@ -import{c as Ft,d as Qt,e as jt,f as Gt}from"./chunk-JS3YJKHP.js";import{b as Nt}from"./chunk-RD4V5RUF.js";import{a as dt}from"./chunk-ZF4WX6G7.js";import{a as H}from"./chunk-3AJEMLV6.js";import{$ as wt,Da as kt,Ea as Et,Fa as Mt,Ga as At,Ha as Pt,I as _t,Ia as Ot,Ja as Vt,K as ut,Ka as Bt,La as Dt,M as gt,Ma as $t,N as xt,Na as Rt,O as Ct,Oa as Ht,P as ht,Pa as zt,Qa as Lt,R as ft,T as Tt,Ua as R,X as bt,Z as vt,aa as St,b as B,ba as yt,d as rt,e as lt,f as st,g as ct,n as mt,o as pt,qa as D,va as It,ya as $}from"./chunk-Z6GE3BUT.js";import{c as it,d as ot,g as N,h as j,i as at}from"./chunk-6XXA7HXI.js";import{j as et,l as nt}from"./chunk-ZBBMS7J5.js";import{$b as s,$c as tt,Cb as d,Ea as _,Fa as u,Gb as Y,Hb as p,Kb as J,Mb as w,N as E,Na as P,Nb as z,Ob as L,Pb as F,Qb as l,Rb as r,Sb as f,Tb as T,Ub as b,Wb as v,Zb as x,cc as y,h as U,ha as I,hb as K,jc as Q,kb as i,kc as c,l as q,lc as g,mc as C,nc as W,o as k,pc as O,qa as S,qc as X,ua as A,uc as M,vc as V,wc as Z}from"./chunk-FJILXII2.js";var Be=(e,a)=>{let n=G(e,a)?.split(",").map(o=>o.trim()).filter(Boolean);return n?.length?Array.from(new Set(n)).sort():void 0},G=(e,a)=>typeof e[a]=="string"&&decodeURIComponent(e[a])||void 0,De=(e,a)=>{if(e&&e[a]&&/^\d+$/.test(e[a]))return parseInt(e[a])};function Jt(e,a){if(e&1&&(l(0,"span",7),c(1),r()),e&2){let t=s(2).$implicit;i(),g(t("torrents.copy"))}}function Wt(e,a){if(e&1&&(l(0,"mat-icon"),c(1,"content_copy"),r(),d(2,Jt,2,1,"span",7)),e&2){let t=s(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function Xt(e,a){if(e&1&&(l(0,"mat-card")(1,"mat-card-actions",8)(2,"button",9),f(3,"mat-icon",10),c(4),r(),l(5,"button",9)(6,"mat-icon"),c(7,"tag"),r(),c(8),r()()()),e&2){let t=s().$implicit,n=s();i(2),p("disabled",!n.selectedItems.length)("cdkCopyToClipboard",n.getSelectedMagnetLinks()),i(2),C("",t("torrents.magnet_links")," "),i(),p("disabled",!n.selectedItems.length)("cdkCopyToClipboard",n.getSelectedInfoHashes()),i(3),C("",t("torrents.info_hashes")," ")}}function Zt(e,a){if(e&1&&(l(0,"span",7),c(1),r()),e&2){let t=s(2).$implicit;i(),g(t("torrents.edit_tags"))}}function te(e,a){if(e&1&&(l(0,"mat-icon"),c(1,"sell"),r(),d(2,Zt,2,1,"span",7)),e&2){let t=s(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ee(e,a){if(e&1){let t=v();l(0,"mat-chip-row",18),x("edited",function(o){let m=_(t).$implicit,h=s(3);return u(h.renameTag(m,o.value))})("removed",function(){let o=_(t).$implicit,m=s(3);return u(m.deleteTag(o))}),c(1),l(2,"mat-icon",19),c(3,"cancel"),r()()}if(e&2){let t=a.$implicit;p("editable",!0)("aria-description","press enter to edit"),i(),C(" ",t," ")}}function ne(e,a){if(e&1&&(l(0,"mat-option",16),c(1),r()),e&2){let t=a.$implicit;p("value",t),i(),g(t)}}function ie(e,a){if(e&1){let t=v();l(0,"mat-card")(1,"mat-form-field",11)(2,"mat-chip-grid",12,0),L(4,ee,4,3,"mat-chip-row",13,z),r(),l(6,"input",14),x("matChipInputTokenEnd",function(o){_(t);let m=s(2);return u(o.value&&m.addTag(o.value))}),r(),l(7,"mat-autocomplete",15,1),x("optionSelected",function(o){_(t);let m=s(2);return u(m.addTag(o.option.viewValue))}),L(9,ne,2,2,"mat-option",16,z),r()(),l(11,"mat-card-actions",8)(12,"button",17),x("click",function(){_(t);let o=s(2);return u(o.setTags())}),c(13),r(),l(14,"button",17),x("click",function(){_(t);let o=s(2);return u(o.putTags())}),c(15),r(),l(16,"button",17),x("click",function(){_(t);let o=s(2);return u(o.deleteTags())}),c(17),r()()()}if(e&2){let t=Q(3),n=Q(8),o=s().$implicit,m=s();i(4),F(m.editedTags),i(2),y("placeholder",o("torrents.tags.placeholder")),p("formControl",m.newTagCtrl)("matAutocomplete",n)("matChipInputFor",t)("matChipInputSeparatorKeyCodes",m.separatorKeysCodes)("value",m.newTagCtrl.value),i(3),F(m.suggestedTags),i(3),y("matTooltip",o("torrents.tags.set_tip")),p("disabled",!m.selectedItems.length),i(),C(" ",o("torrents.tags.set")," "),i(),y("matTooltip",o("torrents.tags.put_tip")),p("disabled",!m.selectedItems.length||!m.editedTags.length&&!m.newTagCtrl.value),i(),C(" ",o("torrents.tags.put")," "),i(),y("matTooltip",o("torrents.tags.delete_tip")),p("disabled",!m.selectedItems.length||!m.editedTags.length&&!m.newTagCtrl.value),i(),C(" ",o("torrents.tags.delete")," ")}}function oe(e,a){if(e&1&&(l(0,"span",7),c(1),r()),e&2){let t=s(2).$implicit;i(),g(t("torrents.delete"))}}function ae(e,a){if(e&1&&(l(0,"mat-icon"),c(1,"delete_forever"),r(),d(2,oe,2,1,"span",7)),e&2){let t=s(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function re(e,a){if(e&1){let t=v();l(0,"mat-card")(1,"mat-card-content")(2,"p")(3,"strong"),c(4),r(),f(5,"br"),c(6),r()(),l(7,"mat-card-actions",8)(8,"button",20),x("click",function(){_(t);let o=s(2);return u(o.deleteTorrents())}),l(9,"mat-icon"),c(10,"delete_forever"),r(),c(11),r()()()}if(e&2){let t=s().$implicit,n=s();i(4),g(t("torrents.delete_are_you_sure")),i(2),C("",t("torrents.delete_action_cannot_be_undone"),". "),i(2),p("disabled",!n.selectedItems.length),i(3),C("",t("torrents.delete")," ")}}function le(e,a){if(e&1&&(l(0,"span",7),c(1),r()),e&2){let t=s(3).$implicit;i(),g(t("torrents.download"))}}function se(e,a){if(e&1&&(l(0,"mat-icon"),c(1,"download_for_offline"),r(),d(2,le,2,1,"span",7)),e&2){let t=s(3);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ce(e,a){if(e&1){let t=v();l(0,"mat-card")(1,"mat-card-content")(2,"p")(3,"strong"),c(4),r()()(),l(5,"mat-card-actions",8)(6,"button",20),x("click",function(){_(t);let o=s(3);return u(o.downloadTorrents())}),l(7,"mat-icon"),c(8,"download_for_offline"),r(),c(9),r()()()}if(e&2){let t=s(2).$implicit,n=s();i(4),g(t("torrents.download_confirm")),i(2),p("disabled",!n.selectedItems.length),i(3),C("",t("torrents.download")," ")}}function me(e,a){e&1&&(l(0,"mat-tab"),d(1,se,3,1,"ng-template",5)(2,ce,10,3,"ng-template",6),r())}function pe(e,a){e&1&&(l(0,"mat-icon",21),c(1,"close"),r())}function de(e,a){e&1&&(l(0,"mat-tab"),d(1,pe,2,0,"ng-template",5),r())}function _e(e,a){if(e&1){let t=v();T(0),l(1,"mat-tab-group",3),x("focusChange",function(o){_(t);let m=s();return u(m.selectTab(o.index==(m.downloadEnabled?5:4)?0:o.index))}),f(2,"mat-tab",4),l(3,"mat-tab"),d(4,Wt,3,1,"ng-template",5)(5,Xt,9,6,"ng-template",6),r(),l(6,"mat-tab"),d(7,te,3,1,"ng-template",5)(8,ie,18,15,"ng-template",6),r(),l(9,"mat-tab"),d(10,ae,3,1,"ng-template",5)(11,re,12,4,"ng-template",6),r(),d(12,me,3,0,"mat-tab")(13,de,2,0,"mat-tab"),r(),b()}if(e&2){let t=s();i(),p("selectedIndex",t.selectedTabIndex)("mat-stretch-tabs",!1),i(),p("aria-labelledby","hidden"),i(10),w(t.downloadEnabled?12:-1),i(),w(t.selectedTabIndex>0?13:-1)}}var an=(()=>{class e{constructor(){this.graphQLService=S(_t),this.errorsService=S(dt),this.breakpoints=S(H),this.selectedItems$=new U,this.updated=new P,this.separatorKeysCodes=[13,188],this.selectedTabIndex=0,this.newTagCtrl=new st(""),this.editedTags=Array(),this.suggestedTags=Array(),this.selectedItems=new Array,this.downloadEnabled=!1}ngOnInit(){this.selectedItems$.subscribe(t=>{this.selectedItems=t}),this.graphQLService.downloadClientEnabledQuery().subscribe({next:t=>{this.downloadEnabled=t}})}selectTab(t){this.selectedTabIndex=t}getSelectedMagnetLinks(){return this.selectedItems.map(t=>t.torrent.magnetUri).join(` -`)}getSelectedInfoHashes(){return this.selectedItems.map(t=>t.infoHash).join(` -`)}addTag(t){this.editedTags.includes(t)||this.editedTags.push(t),this.newTagCtrl.reset(),this.updateSuggestedTags()}deleteTag(t){this.editedTags=this.editedTags.filter(n=>n!==t),this.updateSuggestedTags()}renameTag(t,n){this.editedTags=this.editedTags.map(o=>o===t?n:o),this.updateSuggestedTags()}putTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentPutTags({infoHashes:t,tagNames:this.editedTags}).pipe(E(n=>(this.errorsService.addError(`Error putting tags: ${n.message}`),k))).pipe(I(()=>{this.updated.emit()})).subscribe()}setTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentSetTags({infoHashes:t,tagNames:this.editedTags}).pipe(E(n=>(this.errorsService.addError(`Error setting tags: ${n.message}`),k))).pipe(I(()=>{this.updated.emit()})).subscribe()}deleteTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentDeleteTags({infoHashes:t,tagNames:this.editedTags}).pipe(E(n=>(this.errorsService.addError(`Error deleting tags: ${n.message}`),k))).pipe(I(()=>{this.updated.emit()})).subscribe()}updateSuggestedTags(){return this.graphQLService.torrentSuggestTags({input:{prefix:this.newTagCtrl.value,exclusions:this.editedTags}}).pipe(I(t=>{this.suggestedTags.splice(0,this.suggestedTags.length,...t.suggestions.map(n=>n.name))})).subscribe()}deleteTorrents(){let t=this.selectedItems.map(({infoHash:n})=>n);this.graphQLService.torrentDelete({infoHashes:t}).pipe(E(n=>(this.errorsService.addError(`Error deleting torrents: ${n.message}`),k))).pipe(I(()=>{this.updated.emit()})).subscribe()}downloadTorrents(){let t=this.selectedItems.map(({infoHash:n})=>n);this.graphQLService.clientDownload({infoHashes:t}).pipe(E(n=>(this.errorsService.addError(`Error downloading torrents: ${n.message}`),k))).pipe(I(()=>{this.updated.emit()})).subscribe()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=A({type:e,selectors:[["app-torrents-bulk-actions"]],inputs:{selectedItems$:"selectedItems$"},outputs:{updated:"updated"},standalone:!0,features:[O],decls:1,vars:0,consts:[["chipGrid",""],["auto","matAutocomplete"],[4,"transloco"],["animationDuration","0",1,"tab-group-bulk-actions",3,"focusChange","selectedIndex","mat-stretch-tabs"],[1,"bulk-tab-placeholder",3,"aria-labelledby"],["mat-tab-label",""],["matTabContent",""],[1,"label"],[1,"button-row"],["mat-stroked-button","",3,"disabled","cdkCopyToClipboard"],["svgIcon","magnet"],["subscriptSizing","dynamic",1,"form-edit-tags"],["aria-label","Enter tags"],[3,"editable","aria-description"],[3,"matChipInputTokenEnd","placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","value"],[3,"optionSelected"],[3,"value"],["mat-stroked-button","","color","primary",3,"click","disabled","matTooltip"],[3,"edited","removed","editable","aria-description"],["matChipRemove",""],["mat-stroked-button","","color","warn",3,"click","disabled"],[2,"margin-right","0"]],template:function(n,o){n&1&&d(0,_e,14,5,"ng-container",2)},dependencies:[R,ut,xt,mt,Ct,pt,ht,Tt,ft,wt,St,bt,vt,gt,D,Rt,Ht,zt,Lt,$,rt,lt,ct,B],styles:["mat-tab-group[_ngcontent-%COMP%]{padding-left:10px}button[_ngcontent-%COMP%]{margin-right:10px}p[_ngcontent-%COMP%]{margin-top:0} .mdc-tab[aria-labelledby=hidden]{display:none}"]})}}return e})();var ue=()=>["expandedDetail"];function ge(e,a){if(e&1){let t=v();l(0,"th",19)(1,"mat-checkbox",20),x("change",function(){_(t);let o=s(2);return u(o.toggleAllRows())}),r()()}if(e&2){let t=s().$implicit,n=s();i(),p("checked",n.selection.hasValue()&&n.isAllSelected())("indeterminate",n.selection.hasValue()&&!n.isAllSelected())("matTooltip",n.isAllSelected()?t("torrents.deselect_all"):t("torrents.select_all"))}}function xe(e,a){if(e&1){let t=v();l(0,"td",21)(1,"mat-checkbox",22),x("click",function(o){return _(t),u(o.stopPropagation())})("change",function(o){let m=_(t).$implicit,h=s(2);return u(o?h.selection.toggle(h.item(m).infoHash):null)}),r()()}if(e&2){let t=a.$implicit,n=s(2);i(),p("checked",n.selection.isSelected(n.item(t).infoHash))}}function Ce(e,a){if(e&1&&(l(0,"th",19),c(1),r()),e&2){let t=s().$implicit;i(),g(t("torrents.summary"))}}function he(e,a){if(e&1&&(l(0,"p",26),c(1),r()),e&2){let t=s().$implicit,n=s(2);i(),g(n.item(t).torrent.name)}}function fe(e,a){if(e&1){let t=v();l(0,"td",23),x("click",function(o){let m=_(t).$implicit;return s(2).toggleTorrentContentId(m.id),u(o.stopPropagation())}),l(1,"mat-icon",24),c(2),r(),l(3,"span",25),c(4),r(),d(5,he,2,1,"p",26),f(6,"app-torrent-chips",27),r()}if(e&2){let t,n,o=a.$implicit,m=s().$implicit,h=s();i(),p("matTooltip",m("content_types.singular."+((t=h.item(o).contentType)!==null&&t!==void 0?t:"null"))),i(),g((n=(n=h.contentTypeInfo(h.item(o).contentType))==null?null:n.icon)!==null&&n!==void 0?n:"question_mark"),i(2),g(h.item(o).title),i(),w(h.item(o).title!==h.item(o).torrent.name?5:-1),i(),p("torrentContent",o)}}function Te(e,a){if(e&1&&(l(0,"th",19),c(1),r()),e&2){let t=s().$implicit;i(),g(t("torrents.size"))}}function be(e,a){if(e&1&&(l(0,"td",21)(1,"span",28),M(2,"filesize"),c(3),M(4,"filesize"),r()()),e&2){let t=a.$implicit,n=s(2);i(),p("matTooltip",Z(2,2,n.item(t).torrent.size,10)),i(2),g(V(4,5,n.item(t).torrent.size))}}function ve(e,a){if(e&1&&(l(0,"th",19),c(1),r()),e&2){let t=s().$implicit;i(),g(t("torrents.published"))}}function we(e,a){if(e&1&&(l(0,"td",29)(1,"abbr",30),c(2),M(3,"timeAgo"),r()()),e&2){let t=a.$implicit,n=s(2);i(),y("matTooltip",n.item(t).publishedAt),i(),C(" ",V(3,2,n.item(t).publishedAt)," ")}}function Se(e,a){if(e&1&&(l(0,"th",19)(1,"abbr",24),c(2),r()()),e&2){let t=s().$implicit;i(),p("matTooltip",t("torrents.seeders")+" / "+t("torrents.leechers")),i(),g(t("torrents.s_l"))}}function ye(e,a){if(e&1&&(l(0,"td",21),c(1),r()),e&2){let t,n=a.$implicit,o=s(2);i(),W(" ",(t=o.item(n).seeders)!==null&&t!==void 0?t:"?"," / ",(t=o.item(n).leechers)!==null&&t!==void 0?t:"?"," ")}}function Ie(e,a){if(e&1&&(l(0,"th",31),c(1),r()),e&2){let t=s().$implicit;i(),C(" ",t("torrents.magnet")," ")}}function ke(e,a){if(e&1&&(l(0,"td",21)(1,"a",32),f(2,"mat-icon",33),r()()),e&2){let t=a.$implicit,n=s(2);i(),y("href",n.item(t).torrent.magnetUri,K)}}function Ee(e,a){if(e&1){let t=v();l(0,"td",21)(1,"div",34)(2,"app-torrent-content",35),x("updated",function(){let o=_(t).$implicit,m=s(2);return u(m.updated.emit(m.item(o).infoHash))}),r()()()}if(e&2){let t=a.$implicit,n=s(2);Y("colspan",n.displayedColumns.length),i(),p("@detailExpand",n.expandedId.getValue()===t.id?"expanded":"collapsed"),i(),p("torrentContent",t)("size",!1)("published",n.breakpoints.sizeAtLeast("Medium"))("peers",n.breakpoints.sizeAtLeast("Medium"))}}function Me(e,a){e&1&&f(0,"tr",36)}function Ae(e,a){if(e&1&&f(0,"tr",37),e&2){let t=a.$implicit,n=s(2);J("summary-row "+(t.id===n.expandedId.getValue()?"expanded":"collapsed"))}}function Pe(e,a){e&1&&f(0,"tr",38)}function Oe(e,a){if(e&1&&(T(0),l(1,"div",1),f(2,"mat-progress-bar",2),M(3,"async"),r(),l(4,"table",3),T(5,4),d(6,ge,2,3,"th",5)(7,xe,2,1,"td",6),b(),T(8,7),d(9,Ce,2,1,"th",5)(10,fe,7,5,"td",8),b(),T(11,9),d(12,Te,2,1,"th",5)(13,be,5,7,"td",6),b(),T(14,10),d(15,ve,2,1,"th",5)(16,we,4,4,"td",11),b(),T(17,12),d(18,Se,3,2,"th",5)(19,ye,2,2,"td",6),b(),T(20,13),d(21,Ie,2,1,"th",14)(22,ke,3,1,"td",6),b(),T(23,15),d(24,Ee,3,6,"td",6),b(),d(25,Me,1,0,"tr",16)(26,Ae,1,2,"tr",17)(27,Pe,1,0,"tr",18),r(),b()),e&2){let t=s();i(2),p("mode",V(3,7,t.dataSource.loading$)?"indeterminate":"determinate")("value",0),i(2),p("dataSource",t.dataSource)("multiTemplateDataRows",!0),i(21),p("matHeaderRowDef",t.displayedColumns),i(),p("matRowDefColumns",t.displayedColumns),i(),p("matRowDefColumns",X(9,ue))}}var In=(()=>{class e{constructor(){this.route=S(et),this.router=S(nt),this.breakpoints=S(H),this.contentTypeInfo=Ft,this.displayedColumns=Ve,this.updated=new P,this.items=Array(),this.expandedId=new q(null)}ngOnInit(){this.dataSource.items$.subscribe(t=>{this.items=t}),this.route.queryParams.subscribe(t=>{let n=this.expandedId.getValue()??void 0,o=G(t,"expanded");n!==o&&this.expandedId.next(o??null)}),this.expandedId.subscribe(t=>{this.router.navigate([],{relativeTo:this.route,queryParams:{expanded:t?encodeURIComponent(t):void 0},queryParamsHandling:"merge"})})}isAllSelected(){return this.items.every(t=>this.selection.isSelected(t.infoHash))}toggleAllRows(){if(this.isAllSelected()){this.selection.clear();return}this.selection.select(...this.items.map(t=>t.infoHash))}toggleTorrentContentId(t){this.expandedId.getValue()===t?this.expandedId.next(null):this.expandedId.next(t)}item(t){return t}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=A({type:e,selectors:[["app-torrents-table"]],inputs:{dataSource:"dataSource",selection:"selection",displayedColumns:"displayedColumns"},outputs:{updated:"updated"},standalone:!0,features:[O],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-torrents",3,"dataSource","multiTemplateDataRows"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","summary"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","size"],["matColumnDef","publishedAt"],["class","td-published-at","mat-cell","",4,"matCellDef"],["matColumnDef","peers"],["matColumnDef","magnet"],["mat-header-cell","","style","text-align: center",4,"matHeaderCellDef"],["matColumnDef","expandedDetail"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"class",4,"matRowDef","matRowDefColumns"],["mat-row","","class","expanded-detail-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[3,"change","checked","indeterminate","matTooltip"],["mat-cell",""],[3,"click","change","checked"],["mat-cell","",3,"click"],[3,"matTooltip"],[1,"title"],[1,"original-name"],[3,"torrentContent"],[1,"filesize",3,"matTooltip"],["mat-cell","",1,"td-published-at"],["matTooltipClass","tooltip-published-at",3,"matTooltip"],["mat-header-cell","",2,"text-align","center"],[3,"href"],["svgIcon","magnet"],[1,"item-detail"],[3,"updated","torrentContent","size","published","peers"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"expanded-detail-row"]],template:function(n,o){n&1&&d(0,Oe,28,10,"ng-container",0)},dependencies:[R,yt,D,It,kt,Mt,Vt,At,Et,Bt,Pt,Ot,Dt,$t,$,B,tt,Qt,Nt,jt,Gt],styles:[".progress-bar-container[_ngcontent-%COMP%]{height:10px}tr.expanded-detail-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:0}tr.expanded[_ngcontent-%COMP%] + tr.expanded-detail-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:1px}th.cdk-column-select[_ngcontent-%COMP%], td.cdk-column-select[_ngcontent-%COMP%]{padding-right:0}td.mat-column-summary[_ngcontent-%COMP%]{vertical-align:middle;cursor:pointer;white-space:pre-wrap;padding-top:8px;padding-bottom:8px}td.mat-column-summary[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{line-height:30px;overflow:hidden;margin-right:20px;font-weight:700}td.mat-column-summary[_ngcontent-%COMP%] .original-name[_ngcontent-%COMP%]{margin:2px 0 8px 34px}td.mat-column-summary[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], td.mat-column-summary[_ngcontent-%COMP%] .original-name[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-word;overflow-wrap:break-word}td.mat-column-summary[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{display:inline-block;position:relative;top:6px;margin-right:10px}td.mat-column-summary[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}td.mat-column-summary[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{margin:2px 10px 2px 0}tr.expanded-detail-row[_ngcontent-%COMP%]{height:0}tr.mat-mdc-row.expanded[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0}tr.mat-mdc-row.expanded[_ngcontent-%COMP%] + .expanded-detail-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding-bottom:10px}.mat-column-magnet[_ngcontent-%COMP%]{text-align:center}.mat-column-magnet[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}.item-detail[_ngcontent-%COMP%]{width:100%;overflow:hidden}.td-published-at[_ngcontent-%COMP%] abbr[_ngcontent-%COMP%]{cursor:default;text-decoration:underline;text-decoration-style:dotted}.cdk-column-peers[_ngcontent-%COMP%]{white-space:nowrap}span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted}"],data:{animation:[it("detailExpand",[j("collapsed,void",N({height:"0px",minHeight:"0"})),j("expanded",N({height:"*"})),at("expanded <=> collapsed",ot("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return e})(),Ve=["select","summary","size","publishedAt","peers","magnet"],kn=["select","summary","size","magnet"];export{Be as a,G as b,De as c,an as d,In as e,Ve as f,kn as g}; diff --git a/webui/dist/bitmagnet/browser/chunk-SF7T53WL.js b/webui/dist/bitmagnet/browser/chunk-SF7T53WL.js new file mode 100644 index 00000000..b783afda --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-SF7T53WL.js @@ -0,0 +1 @@ +import{a as je,b as $e,c as R}from"./chunk-BYSPLPNN.js";import{e as Re}from"./chunk-Y7K23DTG.js";import{l as Ae}from"./chunk-42PJPEMD.js";import{a as ve}from"./chunk-FNMD7JET.js";import{a as Ne}from"./chunk-P4IGP6ZM.js";import{a as De}from"./chunk-DSEDLZDW.js";import{Ba as Ee,Da as Be,Ea as Ve,Fa as Ie,M as ke,P as Te,S as Se,V as K,W as ye,X as Q,_ as Y,_a as W,a as ge,b as J,h as Ce,s as xe,ta as we,ua as Oe,w as Me,wa as q,xa as Pe}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{$b as p,B as ue,Cb as z,Ea as _,Fa as f,Hb as l,Kb as j,N as pe,Nb as A,Ob as B,Pb as V,Q as re,Qb as i,Rb as c,Sb as P,Tb as H,Ub as U,Wb as ne,Zb as h,a as M,ad as be,b as v,ka as de,kb as a,kc as u,l as D,lc as T,mc as _e,o as me,pc as G,qa as O,qc as fe,sc as he,ua as F,vc as ie,wc as oe}from"./chunk-Z3WUIYN5.js";var $=(n,s)=>{let{bucketParams:e,earliestBucket:r}=We(n,s),t=Object.entries(s.torrent.metrics.buckets.reduce((d,x)=>{if(x.source!==(n.source??x.source))return d;let g=w(x.bucket,e);if(r&&r.index>g.index&&(g=void 0),!g)return d;let b=d[x.source]??[];return v(M({},d),{[x.source]:{created:x.updated?b.created:v(M({},b.created),{[g.key]:{count:x.count+(b.created?.[g.key]?.count??0),startTime:g.start}}),updated:x.updated?v(M({},b.updated),{[g.key]:{count:x.count+(b.updated?.[g.key]?.count??0),startTime:g.start}}):b.updated}})},{})).map(([d,x])=>{let g;if(Object.keys(x).length){let b=Array(),k=Le(Array("created","updated").flatMap(S=>{let y=Le(Object.entries(x[S]??{}).filter(([,te])=>te?.count).sort(([te],[qe])=>parseInt(te)d.events?[d.events.earliestBucket]:[]).sort()[0],o=t.flatMap(d=>d.events?[d.events.latestBucket]:[]).sort().reverse()[0];return C&&o&&(m={earliestBucket:C,latestBucket:o}),{params:v(M({},n),{buckets:e}),sourceSummaries:t,bucketSpan:m,availableSources:s.torrent.listSources.sources.map(d=>({key:d.key,name:d.name}))}},Le=n=>Object.fromEntries(n),We=(n,s)=>{let e=n.buckets.duration==="AUTO"?"hour":n.buckets.duration,r=n.buckets.multiplier==="AUTO"?1:n.buckets.multiplier,t=n.buckets.timeframe,m=new Date,C=w(m,{duration:e,multiplier:r}),o=w(m.getTime()-1e3*I[t],{duration:e,multiplier:r}),d=[o,...s.torrent.metrics.buckets.flatMap(b=>[w(b.bucket,{duration:e,multiplier:r})]),C].filter(b=>b.index>=o.index).sort((b,k)=>b.index-k.index),x=d[0],g=d[d.length-1];if(n.buckets.multiplier==="AUTO"){let k=g.index-x.index;r=Math.min(60,Math.max(Math.floor(k/(20*5))*5,1))}return{bucketParams:{duration:e,multiplier:r,timeframe:t},earliestBucket:w(m.getTime()-1e3*I[t],{duration:e,multiplier:r}),latestBucket:w(Math.max(m.getTime(),g.start.getTime()),{duration:e,multiplier:r})}},w=(n,s)=>{let e=new Date(n),r=1e3*X[s.duration]*s.multiplier,t=Math.floor(e.getTime()/r);return{key:`${t}`,index:t,start:new Date(t*r)}};var ae={duration:"minute",multiplier:1,timeframe:"hours_1"},Fe=["day","hour","minute"],X={minute:60,hour:60*60,day:60*60*24},se={buckets:ae,autoRefresh:"off"},ce={torrent:{metrics:{buckets:[]},listSources:{sources:[{key:"dht",name:"DHT"}]}}},Z=["created","updated"],ze=["minutes_15","minutes_30","hours_1","hours_6","hours_12","days_1","weeks_1"],I={minutes_15:60*15,minutes_30:60*30,hours_1:60*60,hours_6:60*60*6,hours_12:60*60*12,days_1:60*60*24,weeks_1:60*60*24*7},He=["off","seconds_10","seconds_30","minutes_1","minutes_5"],Ue={off:null,seconds_10:10,seconds_30:30,minutes_1:60,minutes_5:60*5},Ge=$(se,ce);var ee=class{constructor(s,e=se,r){this.apollo=s,this.errorsService=r,this.rawResultSubject=new D(ce),this.resultSubject=new D(Ge),this.result$=this.resultSubject.asObservable(),this.loadingSubject=new D(!1),this.paramsSubject=new D(e),this.params$=this.paramsSubject.asObservable(),this.variablesSubject=new D(Je(e)),this.paramsSubject.pipe(re(50)).subscribe(t=>{let m=this.variablesSubject.getValue(),C=Je(t);JSON.stringify(m)!==JSON.stringify(C)?this.variablesSubject.next(C):this.resultSubject.next($(t,this.rawResultSubject.getValue()))}),this.variablesSubject.pipe(re(50)).subscribe(t=>this.request(t)),this.rawResultSubject.subscribe(t=>{let m=this.paramsSubject.getValue();this.resultSubject.next($(m,t)),this.setInterval(m.autoRefresh)})}setInterval(s){clearTimeout(this.refreshTimeout);let e=Ue[s??this.params.autoRefresh];e&&(this.refreshTimeout=setTimeout(()=>{this.refresh()},e*1e3))}get params(){return this.paramsSubject.getValue()}get bucketDuration(){let s=this.params.buckets.duration;return s==="AUTO"?"hour":s}get bucketMultiplier(){return this.resultSubject.getValue().params.buckets.multiplier??this.params.buckets.multiplier}get loading(){return this.loadingSubject.getValue()}setTimeframe(s){this.updateParams(e=>v(M({},e),{buckets:v(M({},e.buckets),{timeframe:s})}))}setSource(s){this.updateParams(e=>v(M({},e),{source:s??void 0}))}setBucketDuration(s,e){this.updateParams(r=>v(M({},r),{buckets:v(M({},r.buckets),{duration:s,multiplier:e??"AUTO"})}))}setBucketMultiplier(s){this.updateParams(e=>v(M({},e),{buckets:v(M({},e.buckets),{multiplier:s})}))}setEvent(s){this.updateParams(e=>v(M({},e),{event:s??void 0}))}setAutoRefreshInterval(s){this.updateParams(e=>v(M({},e),{autoRefresh:s}))}updateParams(s){this.paramsSubject.next(s(this.params))}refresh(){this.variablesSubject.next(this.variablesSubject.getValue())}request(s){return clearTimeout(this.refreshTimeout),this.loadingSubject.next(!0),this.apollo.query({query:ke,variables:s,fetchPolicy:"no-cache"}).pipe(ue(e=>{e&&(this.loadingSubject.next(!1),this.rawResultSubject.next(e.data))})).pipe(pe(e=>(this.errorsService.addError(`Failed to load torrent metrics: ${e.message}`),this.loadingSubject.next(!1),this.setInterval(),me))).subscribe()}},Je=n=>({input:{bucketDuration:n.buckets.duration==="AUTO"?"hour":n.buckets.duration,sources:n.source?[n.source]:void 0,startTime:new Date(new Date().getTime()-1e3*I[n.buckets.timeframe]).toISOString()}});var L={created:"primary",updated:"secondary"},Qe=(()=>{class n{constructor(){this.themeInfo=O(Re),this.transloco=O(ge)}create(e,r){let{colors:t}=this.themeInfo.info,m=Array(),C=[];if(e){let o=e.sourceSummaries.filter(k=>!k.isEmpty),d=Array.from(new Set(o.flatMap(k=>k.events?[k.events.earliestBucket,k.events.latestBucket]:[]))).sort(),x=new Date,g=Math.min(d[0],w(x.getTime()-1e3*I[e.params.buckets.timeframe],e.params.buckets).index),b=Math.max(d[d.length-1],w(x,e.params.buckets).index);if(d.length){for(let S=g;S<=b;S++)m.push(this.formatBucketKey(e.params.buckets,S));let k=Z.filter(S=>(e.params.event??S)===S);for(let S of o)for(let y of k){let E=Array();for(let N=g;N<=b;N++)E.push(S.events?.eventBuckets?.[y]?.entries?.[`${N}`]?.count??0);C.push({yAxisID:"yCount",label:[S.source,y].join("/"),data:E,borderColor:t[R(L[y],50)],pointBackgroundColor:t[R(L[y],20)],pointBorderColor:t[R(L[y],80)],pointHoverBackgroundColor:t[R(L[y],40)],pointHoverBorderColor:t[R(L[y],60)]})}}}return{type:"line",options:{animation:!1,responsive:!0,elements:{line:{tension:.5}},scales:{yCount:{position:"left",ticks:{callback:o=>parseInt(o).toLocaleString(this.transloco.getActiveLang())}}},plugins:{legend:{display:r.legend},decimation:{enabled:!0}}},data:{labels:m,datasets:C}}}formatBucketKey(e,r){let t;switch(e.duration){case"day":t="d LLL";break;case"hour":t="d LLL H:00";break;case"minute":t="H:mm";break}return je(1e3*X[e.duration]*e.multiplier*r,t,{locale:Ae(this.transloco.getActiveLang())})}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=de({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var tt=(n,s)=>s.key,rt=()=>["dht"];function nt(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e))}}function it(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e+"s"))}}function ot(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit;l("value",e.key),a(),T(e.name)}}function at(n,s){if(n&1){let e=ne();i(0,"button",16),h("click",function(){let t=_(e).$implicit,m=p(2);return f(m.torrentMetricsController.params.source===t||m.torrentMetricsController.setSource(t))}),i(1,"mat-icon"),u(2),c()()}if(n&2){let e=s.$implicit,r=p(2);j(r.torrentMetricsController.params.source===e?"selected":"deselected"),l("matTooltip",e),a(2),T(r.torrentMetricsController.params.source===e?"radio_button_checked":"radio_button_unchecked")}}function st(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.event."+e))}}function ct(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e))}}function lt(n,s){if(n&1){let e=ne();H(0),i(1,"mat-card")(2,"mat-card-content")(3,"mat-grid-list",1)(4,"mat-grid-tile",2)(5,"mat-card",3)(6,"mat-card-header")(7,"mat-card-title")(8,"h4"),u(9),c()()(),i(10,"mat-card-content")(11,"mat-form-field",4)(12,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setTimeframe(t))}),B(13,nt,2,2,"mat-option",6,A),c()(),i(15,"div",7)(16,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[0]))}),i(17,"mat-icon"),u(18,"first_page"),c()(),i(19,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.torrentMetricsController.params.buckets.timeframe)-1]))}),i(20,"mat-icon"),u(21,"navigate_before"),c()(),i(22,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.torrentMetricsController.params.buckets.timeframe)+1]))}),i(23,"mat-icon"),u(24,"navigate_next"),c()(),i(25,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.length-1]))}),i(26,"mat-icon"),u(27,"last_page"),c()()()()()(),i(28,"mat-grid-tile",2)(29,"mat-card",9)(30,"mat-card-header")(31,"mat-card-title")(32,"h4"),u(33),c()()(),i(34,"mat-card-content")(35,"mat-form-field",10)(36,"input",11),ie(37,"async"),h("change",function(t){_(e);let m=p();return f(m.handleMultiplierEvent(t))}),c()(),i(38,"mat-form-field",12)(39,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setBucketDuration(t))}),B(40,it,2,2,"mat-option",6,A),c()(),i(42,"div",7)(43,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketMultiplier(t.torrentMetricsController.bucketMultiplier-1))}),i(44,"mat-icon"),u(45,"remove"),c()(),i(46,"button",13),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketMultiplier(t.torrentMetricsController.bucketMultiplier+1))}),i(47,"mat-icon"),u(48,"add"),c()(),i(49,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[0]))}),i(50,"mat-icon"),u(51,"first_page"),c()(),i(52,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.torrentMetricsController.bucketDuration)-1]))}),i(53,"mat-icon"),u(54,"navigate_before"),c()(),i(55,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.torrentMetricsController.bucketDuration)+1]))}),i(56,"mat-icon"),u(57,"navigate_next"),c()(),i(58,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.length-1]))}),i(59,"mat-icon"),u(60,"last_page"),c()()()()()(),i(61,"mat-grid-tile",2)(62,"mat-card")(63,"mat-card-header")(64,"mat-card-title")(65,"h4"),u(66),c()()(),i(67,"mat-card-content")(68,"mat-form-field",4)(69,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setSource(t==="_all"?null:t))}),i(70,"mat-option",14),u(71,"All"),c(),B(72,ot,2,2,"mat-option",6,tt),ie(74,"async"),c()(),i(75,"div",15)(76,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setSource(null))}),i(77,"mat-icon",17),u(78,"workspaces"),c()(),B(79,at,3,4,"button",18,A),c()()()(),i(81,"mat-grid-tile",2)(82,"mat-card")(83,"mat-card-header")(84,"mat-card-title")(85,"h4"),u(86),c()()(),i(87,"mat-card-content")(88,"mat-form-field",4)(89,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setEvent(t==="_all"?null:t))}),i(90,"mat-option",14),u(91,"All"),c(),B(92,st,2,2,"mat-option",6,A),c()(),i(94,"div",15)(95,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setEvent(null))}),i(96,"mat-icon",17),u(97,"radio_button_checked"),c()(),i(98,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.params.event==="created"||t.torrentMetricsController.setEvent("created"))}),i(99,"mat-icon"),u(100,"add_circle"),c()(),i(101,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.params.event==="updated"||t.torrentMetricsController.setEvent("updated"))}),i(102,"mat-icon"),u(103,"check_circle"),c()()()()()(),i(104,"mat-grid-tile",2)(105,"mat-card",19)(106,"mat-card-header")(107,"mat-card-title")(108,"h4"),u(109),c()()(),i(110,"mat-card-content")(111,"mat-form-field",4)(112,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setAutoRefreshInterval(t))}),B(113,ct,2,2,"mat-option",6,A),c()(),i(115,"div",15)(116,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.refresh())}),i(117,"mat-icon"),u(118,"sync"),c()()()()()()(),i(119,"div",20),P(120,"mat-progress-bar",21),c(),i(121,"mat-grid-list",1)(122,"mat-grid-tile",2),P(123,"app-chart",22),c(),P(124,"mat-grid-tile",2),c()()(),U()}if(n&2){let e,r,t,m,C=s.$implicit,o=p();a(3),l("cols",o.breakpoints.sizeAtLeast("Large")?5:o.breakpoints.sizeAtLeast("Medium")?3:o.breakpoints.sizeAtLeast("Small")?2:1),a(),l("colspan",1)("rowspan",2),a(5),T(C("dashboard.metrics.timeframe")),a(3),l("value",o.torrentMetricsController.params.buckets.timeframe),a(),V(o.timeframeNames),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)<=0),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)<=0),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)>=o.timeframeNames.length-1),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)>=o.timeframeNames.length-1),a(3),l("colspan",1)("rowspan",2),a(5),_e(" ",C("dashboard.metrics.resolution")," "),a(3),l("placeholder",(e=(e=oe(37,57,o.torrentMetricsController.result$))==null||e.params==null||e.params.buckets==null||e.params.buckets.multiplier==null?null:e.params.buckets.multiplier.toString())!==null&&e!==void 0?e:"")("value",o.torrentMetricsController.params.buckets.multiplier),a(3),l("value",o.torrentMetricsController.bucketDuration),a(),V(o.resolutionNames),a(3),l("disabled",o.torrentMetricsController.bucketMultiplier===1),a(6),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)<=0),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)<=0),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)>=o.resolutionNames.length-1),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)>=o.resolutionNames.length-1),a(3),l("colspan",1)("rowspan",2),a(5),T(C("torrents.source")),a(3),l("value",(r=o.torrentMetricsController.params.source)!==null&&r!==void 0?r:"_all"),a(3),V((t=oe(74,59,o.torrentMetricsController.result$))==null?null:t.availableSources),a(4),j(o.torrentMetricsController.params.source?"deselected":"selected"),l("matTooltip","all"),a(3),V(fe(61,rt)),a(2),l("colspan",1)("rowspan",2),a(5),T(C("dashboard.metrics.event")),a(3),l("value",(m=o.torrentMetricsController.params.event)!==null&&m!==void 0?m:"_all"),a(3),V(o.eventNames),a(3),j(o.torrentMetricsController.params.event?"deselected":"selected"),l("matTooltip","all"),a(3),j(o.torrentMetricsController.params.event==="created"?"selected":"deselected"),l("matTooltip","created"),a(3),j(o.torrentMetricsController.params.event==="updated"?"selected":"deselected"),l("matTooltip","updated"),a(3),l("colspan",1)("rowspan",2),a(5),T(C("general.refresh")),a(3),l("value",o.torrentMetricsController.params.autoRefresh),a(),V(o.autoRefreshIntervalNames),a(3),l("matTooltip","Refresh"),a(4),l("mode",o.torrentMetricsController.loading?"indeterminate":"determinate")("value",0),a(),l("cols",o.breakpoints.sizeAtLeast("Large")?2:1),a(),l("colspan",1)("rowspan",6),a(),l("title",C("dashboard.metrics.throughput"))("adapter",o.timeline)("$data",o.torrentMetricsController.result$)("height",400)("width",550),a(),l("colspan",1)("rowspan",5)}}var Ye=(()=>{class n{constructor(){this.breakpoints=O(Ne),this.apollo=O(Ce),this.torrentMetricsController=new ee(this.apollo,{buckets:ae,autoRefresh:"seconds_30"},O(ve)),this.timeline=O(Qe),this.resolutionNames=Fe,this.timeframeNames=ze,this.autoRefreshIntervalNames=He,this.eventNames=Z}ngOnDestroy(){this.torrentMetricsController.setAutoRefreshInterval("off")}handleMultiplierEvent(e){let r=e.currentTarget.value;this.torrentMetricsController.setBucketMultiplier(/^\d+$/.test(r)?parseInt(r):"AUTO")}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=F({type:n,selectors:[["app-torrent-metrics"]],standalone:!0,features:[G],decls:1,vars:0,consts:[[4,"transloco"],["rowHeight","100px",3,"cols"],[3,"colspan","rowspan"],[1,"form-timeframe"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],[1,"paginator","actions"],["mat-icon-button","",3,"click","disabled"],[1,"form-resolution"],["subscriptSizing","dynamic",1,"form-input-multiplier"],["type","number","matInput","","min","1","step","1",3,"change","placeholder","value"],["subscriptSizing","dynamic",1,"form-select-duration"],["mat-icon-button","",3,"click"],["value","_all"],[1,"actions"],["mat-icon-button","",3,"click","matTooltip"],["fontSet","material-icons"],["mat-icon-button","",3,"class","matTooltip"],[1,"form-refresh"],[1,"progress-bar-container"],[3,"mode","value"],[3,"title","adapter","$data","height","width"]],template:function(r,t){r&1&&z(0,lt,125,62,"ng-container",0)},dependencies:[W,xe,Me,K,Q,Y,ye,Se,Oe,we,q,Pe,Ee,Ie,Ve,J,be,$e,Te],styles:[".actions[_ngcontent-%COMP%]{width:210px;padding-top:12px;--mdc-icon-button-state-layer-size: 32px}.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:22px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:0}.progress-bar-container[_ngcontent-%COMP%]{width:100%;height:10px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{min-width:190px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:16px;font-size:18px}mat-form-field[_ngcontent-%COMP%]{width:186px}.form-resolution[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:-2px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%]{width:60px;margin-right:10px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-resolution[_ngcontent-%COMP%] .form-select-duration[_ngcontent-%COMP%]{width:116px}"]})}}return n})();var mt=(n,s)=>[n,s];function ut(n,s){if(n&1&&(H(0),P(1,"app-document-title",1),i(2,"mat-card",2)(3,"mat-card-header")(4,"mat-toolbar")(5,"h2"),P(6,"mat-icon",3),u(7),c()()(),i(8,"mat-card-content"),P(9,"app-torrent-metrics"),c()(),U()),n&2){let e=s.$implicit;a(),l("parts",he(2,mt,e("routes.torrents"),e("routes.dashboard"))),a(6),T(e("routes.torrents"))}}var or=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=F({type:n,selectors:[["app-torrents"]],standalone:!0,features:[G],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],[1,"dashboard-card"],["svgIcon","magnet"]],template:function(r,t){r&1&&z(0,ut,10,5,"ng-container",0)},dependencies:[W,K,Q,Y,q,Be,J,Ye,De],styles:["mat-card-header[_ngcontent-%COMP%]{flex-wrap:wrap}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;margin:0 60px 0 48px;height:48px;line-height:48px}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:6px;margin-right:14px;line-height:1.25rem}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{flex:0 0 100%}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:2px}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}"]})}}return n})();export{or as TorrentsDashboardComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-W2FDHTDN.js b/webui/dist/bitmagnet/browser/chunk-W2FDHTDN.js deleted file mode 100644 index a4a389e5..00000000 --- a/webui/dist/bitmagnet/browser/chunk-W2FDHTDN.js +++ /dev/null @@ -1 +0,0 @@ -import{B as J,J as K,P as T,Q as U,R as X,U as k,b as M,da as Y,ea as Z,fa as tt,ga as et,ha as nt,i as z,ia as it,na as at,o as b,qa as u,r as H,sa as ot,ta as rt,ya as lt}from"./chunk-Z6GE3BUT.js";import{$b as l,B as F,Cb as s,Ea as Q,Fa as A,Hb as V,Kb as G,Mb as v,Ob as P,Pb as $,Qb as r,Rb as o,Sb as _,Tb as f,Ub as C,Wb as N,Zb as R,a as I,b as D,jc as q,kb as a,kc as c,l as j,la as W,lc as m,mc as g,nc as y,qa as p,rc as S,ua as x,va as B,yc as L}from"./chunk-FJILXII2.js";var w={error:"error",degraded:"warning",down:"warning",unknown:"pending",inactive:"circle",up:"check_circle",started:"play_circle"},ct={status:"unknown",checks:[],icon:w.unknown,workers:[],error:null},mt=1e4,h=class{constructor(){this.apollo=p(z),this.resultSubject=new j(ct),this.result$=this.resultSubject.asObservable(),this.result=ct,this.watchQuery(),this.result$.subscribe(i=>{this.result=i})}watchQuery(){this.apollo.watchQuery({query:J,fetchPolicy:"no-cache",pollInterval:mt}).valueChanges.pipe(F(i=>({status:i.data.health.status==="down"?"degraded":i.data.health.status,checks:i.data.health.checks.map(e=>D(I({},e),{icon:w[e.status]})),workers:i.data.workers.listAll.workers.map(e=>D(I({},e),{icon:w[e.started?"started":"inactive"]})),icon:w[i.data.health.status],error:null}))).subscribe({next:i=>this.resultSubject.next(i),error:i=>{this.resultSubject.next({status:"error",checks:[],workers:[],error:i,icon:w.error}),setTimeout(this.watchQuery.bind(this),mt)}})}};var st=(t,i)=>i.key;function xt(t,i){if(t&1&&(r(0,"p"),c(1),o()),t&2){let e=l().$implicit,n=l();a(),y("",e("health.check_failed_with_error"),": ",n.health.result.error,"")}}function ft(t,i){if(t&1&&(r(0,"th"),c(1),o()),t&2){let e=l(2).$implicit;a(),m(e("general.error"))}}function Ct(t,i){if(t&1&&(r(0,"td"),c(1),o()),t&2){let e=l().$implicit;a(),m(e.error)}}function gt(t,i){if(t&1&&(r(0,"tr")(1,"td",2)(2,"mat-icon"),c(3),o()(),r(4,"th",3),c(5),o(),r(6,"td"),c(7),o(),s(8,Ct,2,1,"td"),o()),t&2){let e=i.$implicit,n=l(2).$implicit,d=l();a(3),m(e.icon),a(2),m(n("health.components."+e.key)),a(2),m(n("health.statuses."+e.status)),a(),v(d.health.result.status==="down"?8:-1)}}function Mt(t,i){t&1&&_(0,"td")}function vt(t,i){if(t&1&&(r(0,"tr")(1,"td",2)(2,"mat-icon"),c(3),o()(),r(4,"th",3),c(5),o(),r(6,"td"),c(7),o(),s(8,Mt,1,0,"td"),o()),t&2){let e=i.$implicit,n=l(2).$implicit,d=l();a(3),m(e.icon),a(2),y(" ",n("health.worker"),": ",n("health.workers."+e.key)," "),a(2),g(" ",n("health.statuses."+(e.started?"started":"inactive"))," "),a(),v(d.health.result.status==="down"?8:-1)}}function yt(t,i){if(t&1&&(r(0,"table",1)(1,"thead")(2,"tr"),_(3,"th"),r(4,"th"),c(5),o(),r(6,"th"),c(7),o(),s(8,ft,2,1,"th"),o()(),r(9,"tbody"),P(10,gt,9,4,"tr",null,st),P(12,vt,9,5,"tr",null,st),o()()),t&2){let e=l().$implicit,n=l();a(5),m(e("health.component")),a(2),m(e("general.status")),a(),v(n.health.result.status==="down"?8:-1),a(2),$(n.health.result.checks),a(2),$(n.health.result.workers)}}function St(t,i){if(t&1&&(f(0),s(1,xt,2,2,"p")(2,yt,14,3,"table",1),C()),t&2){let e=l();a(),v(e.health.result.error?1:2)}}var E=(()=>{class t{constructor(){this.health=p(h)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-summary"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"table-health"],[1,"td-icon"],["scope","row"]],template:function(n,d){n&1&&s(0,St,3,1,"ng-container",0)},dependencies:[M,u],styles:[".table-health[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table-health[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:20px}.table-health[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}"]})}}return t})();var wt=t=>({status:t});function bt(t,i){if(t&1&&(f(0),r(1,"mat-card",1)(2,"mat-card-header")(3,"mat-card-title")(4,"h3")(5,"mat-icon"),c(6),o(),c(7),o()()(),r(8,"mat-card-content",2),_(9,"app-health-summary"),o()(),C()),t&2){let e=i.$implicit,n=l();a(6),m(n.health.result.icon),a(),g(" ",e("health.bitmagnet_is_status",S(2,wt,e("health.statuses."+(n.health.result.error?"down":n.health.result.status))))," ")}}var Vt=(()=>{class t{constructor(){this.health=p(h)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-card"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"dashboard-card","dashboard-card-health"],[1,"dashboard-card-content"]],template:function(n,d){n&1&&s(0,bt,10,4,"ng-container",0)},dependencies:[M,u,T,X,k,U,E],styles:[".dashboard-card-health[_ngcontent-%COMP%]{position:absolute;inset:15px}.dashboard-card-health[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0}.dashboard-card-health[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;margin-left:4px;margin-right:6px}"]})}}return t})();var ut=t=>({status:t});function Ht(t,i){if(t&1&&(r(0,"h2",3),c(1),o(),r(2,"mat-dialog-content"),_(3,"app-health-summary"),o(),r(4,"mat-dialog-actions")(5,"button",4),c(6),o()()),t&2){let e=l().$implicit,n=l();a(),y(" ",e("health.summary"),": ",e("health.bitmagnet_is_status",S(3,ut,e("health.statuses."+(n.health.result.error?"down":n.health.result.status))))," "),a(5),g(" ",e("general.dismiss")," ")}}function Tt(t,i){if(t&1){let e=N();f(0),r(1,"button",2),R("click",function(){Q(e);let d=q(5),_t=l();return A(_t.dialog.open(d))}),r(2,"mat-icon"),c(3),o()(),s(4,Ht,7,5,"ng-template",null,0,L),C()}if(t&2){let e=i.$implicit,n=l();a(),G("health-icon health-icon-"+n.health.result.status),V("matTooltip",e("health.bitmagnet_is_status",S(4,ut,e("health.statuses."+n.health.result.status)))),a(2),m(n.health.result.icon)}}var Ut=(()=>{class t{constructor(){this.health=p(h),this.dialog=p(Y)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-widget"]],decls:1,vars:0,consts:[["healthDialog",""],[4,"transloco"],["mat-icon-button","",3,"click","matTooltip"],["matDialogTitle",""],["mat-button","","matDialogClose","","color","primary"]],template:function(n,d){n&1&&s(0,Tt,6,6,"ng-container",1)},dependencies:[M,u,lt,Z,tt,nt,et,b,H,E]})}}return t})();var _e=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=W({providers:[h],imports:[K,u,it,b,H,T,k,at,rt,ot]})}}return t})();export{h as a,Vt as b,Ut as c,_e as d}; diff --git a/webui/dist/bitmagnet/browser/chunk-WC5EMJNC.js b/webui/dist/bitmagnet/browser/chunk-WC5EMJNC.js new file mode 100644 index 00000000..60ad111a --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-WC5EMJNC.js @@ -0,0 +1,3 @@ +import{a as Ft,b as Nt,c as jt,k as Kt}from"./chunk-ISQ7AX2Q.js";import{c as Gt}from"./chunk-GLXU5TTY.js";import{c as Qt}from"./chunk-PX3TOMGC.js";import{a as ut}from"./chunk-FNMD7JET.js";import{a as L}from"./chunk-P4IGP6ZM.js";import{Ba as kt,Ea as z,Ja as Et,Ka as Mt,La as It,Ma as At,Na as Vt,O as gt,Oa as Bt,Pa as $t,Q as xt,Qa as Pt,Ra as Ot,S as Ct,Sa as Dt,T as Tt,Ta as Ht,U as ft,Ua as zt,V as O,Va as Rt,Wa as Lt,X as D,Z as ht,_a as R,b as P,ba as bt,da as vt,fa as wt,ga as St,ha as yt,j as st,k as ct,l as mt,m as pt,s as dt,t as _t,wa as H}from"./chunk-HZYDZMJ4.js";import{c as at,d as rt,g as j,h as K,i as lt}from"./chunk-6XXA7HXI.js";import{i as it,k as ot}from"./chunk-CMNWCZJM.js";import{$b as l,Cb as d,Ea as _,Fa as u,Gb as W,Hb as p,Kb as X,Mb as w,N as A,Na as B,Nb as F,Ob as Q,Pb as N,Qb as a,Rb as r,Sb as h,Tb as b,Ub as v,Wb as f,Zb as x,a as U,ad as nt,b as q,cc as y,h as Y,ha as E,hb as J,jc as G,kb as i,kc as m,lc as g,mc as T,nc as Z,o as I,pc as $,qa as S,qc as tt,ua as V,vc as k,wc as M,xc as et}from"./chunk-Z3WUIYN5.js";function Xt(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(2).$implicit;i(),g(t("torrents.copy"))}}function Zt(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"content_copy"),r(),d(2,Xt,2,1,"span",7)),e&2){let t=l(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function te(e,s){if(e&1&&(a(0,"mat-card")(1,"mat-card-actions",8)(2,"button",9),h(3,"mat-icon",10),m(4),r(),a(5,"button",9)(6,"mat-icon"),m(7,"tag"),r(),m(8),r()()()),e&2){let t=l().$implicit,n=l();i(2),p("disabled",!n.selectedItems.length)("matTooltip",t("torrents.copy_to_clipboard"))("cdkCopyToClipboard",n.getSelectedMagnetLinks()),i(2),T("",t("torrents.magnet_links")," "),i(),p("disabled",!n.selectedItems.length)("matTooltip",t("torrents.copy_to_clipboard"))("cdkCopyToClipboard",n.getSelectedInfoHashesLines()),i(3),T("",t("torrents.info_hashes")," ")}}function ee(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(2).$implicit;i(),g(t("torrents.edit_tags"))}}function ne(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"sell"),r(),d(2,ee,2,1,"span",7)),e&2){let t=l(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ie(e,s){if(e&1){let t=f();a(0,"mat-chip-row",18),x("edited",function(o){let c=_(t).$implicit,C=l(3);return u(C.renameTag(c,o.value))})("removed",function(){let o=_(t).$implicit,c=l(3);return u(c.deleteTag(o))}),m(1),a(2,"mat-icon",19),m(3,"cancel"),r()()}if(e&2){let t=s.$implicit;p("editable",!0)("aria-description","press enter to edit"),i(),T(" ",t," ")}}function oe(e,s){if(e&1&&(a(0,"mat-option",16),m(1),r()),e&2){let t=s.$implicit;p("value",t),i(),g(t)}}function ae(e,s){if(e&1){let t=f();a(0,"mat-card")(1,"mat-form-field",11)(2,"mat-chip-grid",12,0),Q(4,ie,4,3,"mat-chip-row",13,F),r(),a(6,"input",14),x("matChipInputTokenEnd",function(o){_(t);let c=l(2);return u(o.value&&c.addTag(o.value))}),r(),a(7,"mat-autocomplete",15,1),x("optionSelected",function(o){_(t);let c=l(2);return u(c.addTag(o.option.viewValue))}),Q(9,oe,2,2,"mat-option",16,F),r()(),a(11,"mat-card-actions",8)(12,"button",17),x("click",function(){_(t);let o=l(2);return u(o.setTags())}),m(13),r(),a(14,"button",17),x("click",function(){_(t);let o=l(2);return u(o.putTags())}),m(15),r(),a(16,"button",17),x("click",function(){_(t);let o=l(2);return u(o.deleteTags())}),m(17),r()()()}if(e&2){let t=G(3),n=G(8),o=l().$implicit,c=l();i(4),N(c.editedTags),i(2),y("placeholder",o("torrents.tags.placeholder")),p("formControl",c.newTagCtrl)("matAutocomplete",n)("matChipInputFor",t)("matChipInputSeparatorKeyCodes",c.separatorKeysCodes)("value",c.newTagCtrl.value),i(3),N(c.suggestedTags),i(3),y("matTooltip",o("torrents.tags.set_tip")),p("disabled",!c.selectedItems.length),i(),T(" ",o("torrents.tags.set")," "),i(),y("matTooltip",o("torrents.tags.put_tip")),p("disabled",!c.selectedItems.length||!c.editedTags.length&&!c.newTagCtrl.value),i(),T(" ",o("torrents.tags.put")," "),i(),y("matTooltip",o("torrents.tags.delete_tip")),p("disabled",!c.selectedItems.length||!c.editedTags.length&&!c.newTagCtrl.value),i(),T(" ",o("torrents.tags.delete")," ")}}function re(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(2).$implicit;i(),g(t("torrents.classification"))}}function le(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"category"),r(),d(2,re,2,1,"span",7)),e&2){let t=l(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function se(e,s){if(e&1){let t=f();a(0,"app-torrent-reprocess",20),x("updated",function(){_(t);let o=l(2);return u(o.updated.emit(null))}),r()}if(e&2){let t=l(2);p("infoHashes",t.selectedInfoHashes)}}function ce(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(2).$implicit;i(),g(t("torrents.delete"))}}function me(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"delete_forever"),r(),d(2,ce,2,1,"span",7)),e&2){let t=l(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function pe(e,s){if(e&1){let t=f();a(0,"mat-card")(1,"mat-card-content")(2,"p")(3,"strong"),m(4),r(),h(5,"br"),m(6),r()(),a(7,"mat-card-actions",8)(8,"button",21),x("click",function(){_(t);let o=l(2);return u(o.deleteTorrents())}),a(9,"mat-icon"),m(10,"delete_forever"),r(),m(11),r()()()}if(e&2){let t=l().$implicit,n=l();i(4),g(t("torrents.delete_are_you_sure")),i(2),T("",t("torrents.delete_action_cannot_be_undone"),". "),i(2),p("disabled",!n.selectedItems.length),i(3),T("",t("torrents.delete")," ")}}function de(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(3).$implicit;i(),g(t("torrents.download"))}}function _e(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"download_for_offline"),r(),d(2,de,2,1,"span",7)),e&2){let t=l(3);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ue(e,s){if(e&1){let t=f();a(0,"mat-card")(1,"mat-card-content")(2,"p")(3,"strong"),m(4),r()()(),a(5,"mat-card-actions",8)(6,"button",22),x("click",function(){_(t);let o=l(3);return u(o.downloadTorrents())}),a(7,"mat-icon"),m(8,"download_for_offline"),r(),m(9),r()()()}if(e&2){let t=l(2).$implicit,n=l();i(4),g(t("torrents.download_confirm")),i(2),p("disabled",!n.selectedItems.length),i(3),T("",t("torrents.download")," ")}}function ge(e,s){e&1&&(a(0,"mat-tab"),d(1,_e,3,1,"ng-template",5)(2,ue,10,3,"ng-template",6),r())}function xe(e,s){e&1&&(a(0,"mat-icon",23),m(1,"close"),r())}function Ce(e,s){e&1&&(a(0,"mat-tab"),d(1,xe,2,0,"ng-template",5),r())}function Te(e,s){if(e&1){let t=f();b(0),a(1,"mat-tab-group",3),x("focusChange",function(o){_(t);let c=l();return u(c.selectTab(o.index==(c.downloadEnabled?6:5)?0:o.index))}),h(2,"mat-tab",4),a(3,"mat-tab"),d(4,Zt,3,1,"ng-template",5)(5,te,9,8,"ng-template",6),r(),a(6,"mat-tab"),d(7,ne,3,1,"ng-template",5)(8,ae,18,15,"ng-template",6),r(),a(9,"mat-tab"),d(10,le,3,1,"ng-template",5)(11,se,1,1,"ng-template",6),r(),a(12,"mat-tab"),d(13,me,3,1,"ng-template",5)(14,pe,12,4,"ng-template",6),r(),d(15,ge,3,0,"mat-tab")(16,Ce,2,0,"mat-tab"),r(),v()}if(e&2){let t=l();i(),p("selectedIndex",t.selectedTabIndex)("mat-stretch-tabs",!1),i(),p("aria-labelledby","hidden"),i(13),w(t.downloadEnabled?15:-1),i(),w(t.selectedTabIndex>0?16:-1)}}var ln=(()=>{class e{constructor(){this.graphQLService=S(gt),this.errorsService=S(ut),this.breakpoints=S(L),this.selectedItems$=new Y,this.updated=new B,this.separatorKeysCodes=[13,188],this.selectedTabIndex=0,this.newTagCtrl=new mt(""),this.editedTags=Array(),this.suggestedTags=Array(),this.selectedItems=new Array,this.selectedInfoHashes=new Array,this.downloadEnabled=!1}ngOnInit(){this.selectedItems$.subscribe(t=>{this.selectedItems=t,this.selectedInfoHashes=t.map(n=>n.infoHash)}),this.newTagCtrl.reset(),this.graphQLService.downloadClientEnabledQuery().subscribe({next:t=>{this.downloadEnabled=t}})}selectTab(t){this.selectedTabIndex=t}getSelectedMagnetLinks(){return this.selectedItems.map(t=>t.torrent.magnetUri).join(` +`)}getSelectedInfoHashesLines(){return this.selectedInfoHashes.join(` +`)}addTag(t){this.editedTags.includes(t)||this.editedTags.push(t),this.newTagCtrl.reset(),this.updateSuggestedTags()}deleteTag(t){this.editedTags=this.editedTags.filter(n=>n!==t),this.updateSuggestedTags()}renameTag(t,n){this.editedTags=this.editedTags.map(o=>o===t?n:o),this.updateSuggestedTags()}putTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentPutTags({infoHashes:t,tagNames:this.editedTags}).pipe(A(n=>(this.errorsService.addError(`Error putting tags: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}setTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentSetTags({infoHashes:t,tagNames:this.editedTags}).pipe(A(n=>(this.errorsService.addError(`Error setting tags: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}deleteTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentDeleteTags({infoHashes:t,tagNames:this.editedTags}).pipe(A(n=>(this.errorsService.addError(`Error deleting tags: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}updateSuggestedTags(){return this.graphQLService.torrentSuggestTags({input:{prefix:this.newTagCtrl.value,exclusions:this.editedTags}}).pipe(E(t=>{this.suggestedTags.splice(0,this.suggestedTags.length,...t.suggestions.map(n=>n.name))})).subscribe()}deleteTorrents(){let t=this.selectedItems.map(({infoHash:n})=>n);this.graphQLService.torrentDelete({infoHashes:t}).pipe(A(n=>(this.errorsService.addError(`Error deleting torrents: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}downloadTorrents(){let t=this.selectedItems.map(({infoHash:n})=>n);this.graphQLService.clientDownload({infoHashes:t}).pipe(A(n=>(this.errorsService.addError(`Error downloading torrents: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=V({type:e,selectors:[["app-torrents-bulk-actions"]],inputs:{selectedItems$:"selectedItems$"},outputs:{updated:"updated"},standalone:!0,features:[$],decls:1,vars:0,consts:[["chipGrid",""],["auto","matAutocomplete"],[4,"transloco"],["animationDuration","0",1,"tab-group-bulk-actions",3,"focusChange","selectedIndex","mat-stretch-tabs"],[1,"bulk-tab-placeholder",3,"aria-labelledby"],["mat-tab-label",""],["matTabContent",""],[1,"label"],[1,"button-row"],["mat-stroked-button","",3,"disabled","matTooltip","cdkCopyToClipboard"],["svgIcon","magnet"],["subscriptSizing","dynamic",1,"form-edit-tags"],["aria-label","Enter tags"],[3,"editable","aria-description"],[3,"matChipInputTokenEnd","placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","value"],[3,"optionSelected"],[3,"value"],["mat-stroked-button","","color","primary",3,"click","disabled","matTooltip"],[3,"edited","removed","editable","aria-description"],["matChipRemove",""],[3,"updated","infoHashes"],["mat-stroked-button","","color","warning",3,"click","disabled"],["mat-stroked-button","","color","warn",3,"click","disabled"],[2,"margin-right","0"]],template:function(n,o){n&1&&d(0,Te,17,5,"ng-container",2)},dependencies:[R,xt,Tt,dt,ft,_t,O,ht,D,wt,St,bt,vt,Ct,H,Ht,zt,Rt,Lt,z,st,ct,pt,P,Ft],styles:["mat-tab-group[_ngcontent-%COMP%]{padding-left:10px}.mat-mdc-card[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:10px}p[_ngcontent-%COMP%]{margin-top:0} .mdc-tab[aria-labelledby=hidden]{display:none}"]})}}return e})();var fe=()=>["expandedDetail"];function he(e,s){if(e&1){let t=f();a(0,"th",19)(1,"mat-checkbox",20),x("change",function(){_(t);let o=l(2);return u(o.toggleAllRows())}),r()()}if(e&2){let t=l().$implicit,n=l();i(),p("checked",n.multiSelection.hasValue()&&n.isAllSelected())("indeterminate",n.multiSelection.hasValue()&&!n.isAllSelected())("matTooltip",n.isAllSelected()?t("torrents.deselect_all"):t("torrents.select_all"))}}function be(e,s){if(e&1){let t=f();a(0,"td",21)(1,"mat-checkbox",22),x("click",function(o){return _(t),u(o.stopPropagation())})("change",function(o){let c=_(t).$implicit,C=l(2);return u(o?C.multiSelection.toggle(C.item(c).infoHash):null)}),r()()}if(e&2){let t=s.$implicit,n=l(2);i(),p("checked",n.multiSelection.isSelected(n.item(t).infoHash))}}function ve(e,s){if(e&1&&(a(0,"th",19),m(1),r()),e&2){let t=l().$implicit;i(),g(t("torrents.summary"))}}function we(e,s){if(e&1&&(a(0,"p",26),m(1),r()),e&2){let t=l().$implicit,n=l(2);i(),g(n.item(t).torrent.name)}}function Se(e,s){if(e&1){let t=f();a(0,"td",23),x("click",function(o){let c=_(t).$implicit;return l(2).toggleSelectedTorrent(c.infoHash),u(o.stopPropagation())}),a(1,"mat-icon",24),m(2),r(),a(3,"span",25),m(4),r(),d(5,we,2,1,"p",26),h(6,"app-torrent-chips",27),r()}if(e&2){let t,n,o=s.$implicit,c=l().$implicit,C=l();i(),p("matTooltip",c("content_types.singular."+((t=C.item(o).contentType)!==null&&t!==void 0?t:"null"))),i(),g((n=(n=C.contentTypeInfo(C.item(o).contentType))==null?null:n.icon)!==null&&n!==void 0?n:"question_mark"),i(2),g(C.item(o).title),i(),w(C.item(o).title!==C.item(o).torrent.name?5:-1),i(),p("torrentContent",o)}}function ye(e,s){if(e&1&&(a(0,"th",19),m(1),r()),e&2){let t=l().$implicit;i(),g(t("torrents.size"))}}function ke(e,s){if(e&1&&(a(0,"td",21)(1,"span",28),k(2,"filesize"),m(3),k(4,"filesize"),r()()),e&2){let t=s.$implicit,n=l(2);i(),p("matTooltip",et(2,2,n.item(t).torrent.size,10)),i(2),g(M(4,5,n.item(t).torrent.size))}}function Ee(e,s){if(e&1&&(a(0,"th",19),m(1),r()),e&2){let t=l().$implicit;i(),g(t("torrents.published"))}}function Me(e,s){if(e&1&&(a(0,"td",29)(1,"abbr",30),m(2),k(3,"timeAgo"),r()()),e&2){let t=s.$implicit,n=l(2);i(),y("matTooltip",n.item(t).publishedAt),i(),T(" ",M(3,2,n.item(t).publishedAt)," ")}}function Ie(e,s){if(e&1&&(a(0,"th",19)(1,"abbr",24),m(2),r()()),e&2){let t=l().$implicit;i(),p("matTooltip",t("torrents.seeders")+" / "+t("torrents.leechers")),i(),g(t("torrents.s_l"))}}function Ae(e,s){if(e&1&&(a(0,"td",21),m(1),r()),e&2){let t,n=s.$implicit,o=l(2);i(),Z(" ",(t=o.item(n).seeders)!==null&&t!==void 0?t:"?"," / ",(t=o.item(n).leechers)!==null&&t!==void 0?t:"?"," ")}}function Ve(e,s){if(e&1&&(a(0,"th",31),m(1),r()),e&2){let t=l().$implicit;i(),T(" ",t("torrents.magnet")," ")}}function Be(e,s){if(e&1&&(a(0,"td",21)(1,"a",32),h(2,"mat-icon",33),r()()),e&2){let t=s.$implicit,n=l(2);i(),y("href",n.item(t).torrent.magnetUri,J)}}function $e(e,s){if(e&1){let t=f();a(0,"td",21)(1,"div",34),k(2,"async"),a(3,"mat-card",35)(4,"mat-card-content")(5,"app-torrent-content",36),k(6,"async"),x("updated",function(){let o=_(t).$implicit,c=l(2);return u(c.updated.emit(c.item(o).infoHash))})("tabSelected",function(o){let c=_(t).$implicit,C=l(2);return u(C.controller.selectTorrent(c.infoHash,o||null))}),r()()()()()}if(e&2){let t,n,o=s.$implicit,c=l(2);W("colspan",c.displayedColumns.length),i(),p("@detailExpand",((t=M(2,7,c.controller.selection$))==null?null:t.infoHash)==o.infoHash?"expanded":"collapsed"),i(4),p("torrentContent",o)("size",!1)("published",c.breakpoints.sizeAtLeast("Medium"))("peers",c.breakpoints.sizeAtLeast("Medium"))("selectedTab",(n=M(6,9,c.controller.selection$))==null?null:n.tab)}}function Pe(e,s){e&1&&h(0,"tr",37)}function Oe(e,s){if(e&1&&(h(0,"tr",38),k(1,"async")),e&2){let t,n=s.$implicit,o=l(2);X("summary-row "+((t=M(1,2,o.controller.selection$))==null?null:t.infoHash)==n.infoHash?"expanded":"collapsed")}}function De(e,s){e&1&&h(0,"tr",39)}function He(e,s){if(e&1&&(b(0),a(1,"div",1),h(2,"mat-progress-bar",2),k(3,"async"),r(),a(4,"table",3),b(5,4),d(6,he,2,3,"th",5)(7,be,2,1,"td",6),v(),b(8,7),d(9,ve,2,1,"th",5)(10,Se,7,5,"td",8),v(),b(11,9),d(12,ye,2,1,"th",5)(13,ke,5,7,"td",6),v(),b(14,10),d(15,Ee,2,1,"th",5)(16,Me,4,4,"td",11),v(),b(17,12),d(18,Ie,3,2,"th",5)(19,Ae,2,2,"td",6),v(),b(20,13),d(21,Ve,2,1,"th",14)(22,Be,3,1,"td",6),v(),b(23,15),d(24,$e,7,11,"td",6),v(),d(25,Pe,1,0,"tr",16)(26,Oe,2,4,"tr",17)(27,De,1,0,"tr",18),r(),v()),e&2){let t=l();i(2),p("mode",M(3,7,t.dataSource.loading$)?"indeterminate":"determinate")("value",0),i(2),p("dataSource",t.dataSource)("multiTemplateDataRows",!0),i(21),p("matHeaderRowDef",t.displayedColumns),i(),p("matRowDefColumns",t.displayedColumns),i(),p("matRowDefColumns",tt(9,fe))}}var kn=(()=>{class e{constructor(){this.route=S(it),this.router=S(ot),this.breakpoints=S(L),this.contentTypeInfo=Qt,this.displayedColumns=ze,this.updated=new B,this.items=Array()}ngOnInit(){this.dataSource.items$.subscribe(t=>{this.items=t})}isAllSelected(){return this.items.every(t=>this.multiSelection.isSelected(t.infoHash))}toggleAllRows(){if(this.isAllSelected()){this.multiSelection.clear();return}this.multiSelection.select(...this.items.map(t=>t.infoHash))}toggleSelectedTorrent(t){this.controller.update(n=>q(U({},n),{selectedTorrent:n.selectedTorrent?.infoHash===t?void 0:{infoHash:t,tab:n.selectedTorrent?.tab}}))}item(t){return t}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=V({type:e,selectors:[["app-torrents-table"]],inputs:{dataSource:"dataSource",controller:"controller",multiSelection:"multiSelection",displayedColumns:"displayedColumns"},outputs:{updated:"updated"},standalone:!0,features:[$],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-torrents",3,"dataSource","multiTemplateDataRows"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","summary"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","size"],["matColumnDef","publishedAt"],["class","td-published-at","mat-cell","",4,"matCellDef"],["matColumnDef","peers"],["matColumnDef","magnet"],["mat-header-cell","","style","text-align: center",4,"matHeaderCellDef"],["matColumnDef","expandedDetail"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"class",4,"matRowDef","matRowDefColumns"],["mat-row","","class","expanded-detail-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[3,"change","checked","indeterminate","matTooltip"],["mat-cell",""],[3,"click","change","checked"],["mat-cell","",3,"click"],[3,"matTooltip"],[1,"title"],[1,"original-name"],[3,"torrentContent"],[1,"filesize",3,"matTooltip"],["mat-cell","",1,"td-published-at"],["matTooltipClass","tooltip-published-at",3,"matTooltip"],["mat-header-cell","",2,"text-align","center"],[3,"href"],["svgIcon","magnet"],[1,"item-detail"],[1,"torrent-permalink"],[3,"updated","tabSelected","torrentContent","size","published","peers","selectedTab"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"expanded-detail-row"]],template:function(n,o){n&1&&d(0,He,28,10,"ng-container",0)},dependencies:[R,O,D,yt,H,kt,Et,It,$t,At,Mt,Pt,Vt,Bt,Ot,Dt,z,P,nt,Nt,Gt,jt,Kt],styles:[".progress-bar-container[_ngcontent-%COMP%]{height:10px}th.cdk-column-select[_ngcontent-%COMP%], td.cdk-column-select[_ngcontent-%COMP%]{padding-right:0}td.mat-column-summary[_ngcontent-%COMP%]{vertical-align:middle;cursor:pointer;white-space:pre-wrap;padding-top:8px;padding-bottom:8px}td.mat-column-summary[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{line-height:30px;overflow:hidden;margin-right:20px;font-weight:700}td.mat-column-summary[_ngcontent-%COMP%] .original-name[_ngcontent-%COMP%]{margin:2px 0 8px 34px}td.mat-column-summary[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], td.mat-column-summary[_ngcontent-%COMP%] .original-name[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-word;overflow-wrap:break-word}td.mat-column-summary[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{display:inline-block;position:relative;top:6px;margin-right:10px}td.mat-column-summary[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}td.mat-column-summary[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{margin:2px 10px 2px 0}tr.expanded-detail-row[_ngcontent-%COMP%]{height:0}tr.mat-mdc-row.expanded[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0}app-torrent-content[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px}.mat-column-magnet[_ngcontent-%COMP%]{text-align:center}.mat-column-magnet[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}.item-detail[_ngcontent-%COMP%]{width:100%;overflow:hidden}.td-published-at[_ngcontent-%COMP%] abbr[_ngcontent-%COMP%]{cursor:default;text-decoration:underline;text-decoration-style:dotted}.cdk-column-peers[_ngcontent-%COMP%]{white-space:nowrap}span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted;cursor:default}"],data:{animation:[at("detailExpand",[K("collapsed,void",j({height:"0px",minHeight:"0"})),K("expanded",j({height:"*"})),lt("expanded <=> collapsed",rt("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return e})(),ze=["select","summary","size","publishedAt","peers","magnet"],En=["select","summary","size","magnet"];export{ln as a,kn as b,ze as c,En as d}; diff --git a/webui/dist/bitmagnet/browser/chunk-WMBLMVKT.js b/webui/dist/bitmagnet/browser/chunk-WMBLMVKT.js new file mode 100644 index 00000000..c40904a0 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-WMBLMVKT.js @@ -0,0 +1 @@ +import{b as w,d as y}from"./chunk-EBLD3IWA.js";import{a as H}from"./chunk-DSEDLZDW.js";import{Da as P,V as M,X as u,_,_a as D,b as f,pa as b,ta as v,ua as x,wa as O}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{Cb as c,Hb as m,Qb as o,Rb as a,Sb as i,Tb as s,Ub as l,kb as n,kc as p,lc as h,pc as g,rc as C,ua as d}from"./chunk-Z3WUIYN5.js";var S=t=>[t];function E(t,T){if(t&1&&(s(0),i(1,"app-document-title",1),o(2,"mat-card",2)(3,"mat-card-header")(4,"mat-toolbar")(5,"h2")(6,"mat-icon"),p(7,"dashboard"),a(),p(8),a()()(),o(9,"mat-card-content"),i(10,"mat-divider"),o(11,"div",3)(12,"mat-grid-list",4)(13,"mat-grid-tile",5),i(14,"app-health-card"),a()()()()(),l()),t&2){let e=T.$implicit;n(),m("parts",C(4,S,e("routes.dashboard"))),n(7),h(e("routes.dashboard")),n(5),m("colspan",1)("rowspan",1)}}var K=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=d({type:t,selectors:[["app-dashboard"]],standalone:!0,features:[g],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],[1,"dashboard-card"],[1,"grid-container"],["cols","1","rowHeight","500px"],[3,"colspan","rowspan"]],template:function(r,F){r&1&&c(0,E,15,6,"ng-container",0)},dependencies:[D,M,u,_,b,x,v,O,P,f,y,w,H],styles:[".grid-container[_ngcontent-%COMP%]{margin:20px}.more-button[_ngcontent-%COMP%]{position:absolute;top:5px;right:10px}app-health-card[_ngcontent-%COMP%]{width:100%;height:100%}app-health-card[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{height:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;margin-right:14px;margin-left:32px}"]})}}return t})();export{K as DashboardHomeComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-XSWMZFX5.js b/webui/dist/bitmagnet/browser/chunk-XSWMZFX5.js deleted file mode 100644 index 7fb6459a..00000000 --- a/webui/dist/bitmagnet/browser/chunk-XSWMZFX5.js +++ /dev/null @@ -1 +0,0 @@ -import{a as Fe,b as He,c as Z,d as Ue,e as Ge,f as ee,g as Ke,h as Ye,i as D,j as Je,k as We,l as Xe}from"./chunk-6OKZFKY7.js";import{a as je,b as Re,c as O}from"./chunk-BF5UYWQS.js";import{e as X}from"./chunk-VHNPENGG.js";import{b as $e}from"./chunk-2DNC66PX.js";import{a as Se,m as Le}from"./chunk-ZF4WX6G7.js";import{a as De}from"./chunk-3AJEMLV6.js";import{D as we,J as G,M as Te,P as K,Q as qe,R as Ve,U as Y,Ua as Ae,a as H,b as ve,i as xe,ia as Be,n as Me,na as J,o as ye,oa as Ee,qa as W,r as U,ra as Oe,sa as Ie,ta as ze,va as Ne,ya as Pe,za as Qe}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import"./chunk-ZBBMS7J5.js";import{$b as _,$c as ke,B as ce,Cb as de,Ea as g,Fa as C,Hb as u,Kb as I,N as le,Nb as z,Ob as N,Pb as P,Q as ne,Qb as o,Rb as l,Sb as F,Tb as fe,Ub as _e,Wb as re,Zb as k,a as M,b as y,ka as R,kb as c,kc as p,l as A,la as ue,lc as S,mc as he,o as se,pc as be,qa as T,ua as me,uc as ge,va as pe,vc as Ce}from"./chunk-FJILXII2.js";var Ze=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=pe({type:n})}static{this.\u0275inj=ue({imports:[G,W,Be,ye,U,K,Y,J,ze,Ie]})}}return n})();var lt={pending:"primary",processed:"success",failed:"error",retry:"caution"},et=(()=>{class n{constructor(){this.themeInfo=T(X),this.transloco=T(H)}create(e){let{colors:i}=this.themeInfo.info,t=Array(),a=[];if(e&&Array.from(new Set(e.queues.flatMap(v=>v.events?[v.events.earliestBucket,v.events.latestBucket]:[]))).sort().length){let v=e.queues.filter(h=>!h.isEmpty);t.push(...v.map(h=>h.queue));let x=Array();switch(e.params.event){case"created":x.push("pending");break;case"processed":x.push("processed");break;case"failed":x.push("retry","failed");break;default:x.push(...Ke);break}a.push(...x.map(h=>({label:this.transloco.translate("dashboard.queues."+h),data:v.map(d=>d.statusCounts[h]),backgroundColor:i[O(lt[h],50)]})))}return{type:"bar",options:{animation:!1,scales:{x:{ticks:{callback:r=>parseInt(r).toLocaleString(this.transloco.getActiveLang())}},y:{}},indexAxis:"y",plugins:{legend:{display:!0}}},data:{labels:t,datasets:a}}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var j="\\d+",oe="".concat(j,"(?:[\\.,]").concat(j,")?"),ut="(".concat(j,"Y)?(").concat(j,"M)?(").concat(j,"W)?(").concat(j,"D)?"),mt="T(".concat(oe,"H)?(").concat(oe,"M)?(").concat(oe,"S)?"),pt="P(?:".concat(ut,"(?:").concat(mt,")?)"),dt=["years","months","weeks","days","hours","minutes","seconds"],tt={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0},ft=new RegExp(pt),it=function(n){let s=n.replace(/,/g,".").match(ft);if(!s)throw new RangeError("invalid duration: ".concat(n));let e=s.slice(1);if(e.filter(function(i){return i!=null}).length===0)throw new RangeError("invalid duration: ".concat(n));if(e.filter(function(i){return/\./.test(i||"")}).length>1)throw new RangeError("only the smallest unit can be fractional");return e.reduce(function(i,t,a){return Object.assign(i,{[dt[a]]:parseFloat(t||"0")||0}),i},{})},_t=function(n,s){s||(s=new Date);let e=Object.assign({},tt,n),i=s.getTime(),t=new Date(i);t.setFullYear(t.getFullYear()+e.years),t.setMonth(t.getMonth()+e.months),t.setDate(t.getDate()+e.days);let a=e.hours*3600*1e3,r=e.minutes*60*1e3;return t.setMilliseconds(t.getMilliseconds()+e.seconds*1e3+a+r),t.setDate(t.getDate()+e.weeks*7),t},nt=function(n,s){s||(s=new Date);let e=Object.assign({},tt,n),i=s.getTime(),t=new Date(i),a=_t(e,t),r=s.getTimezoneOffset(),v=a.getTimezoneOffset(),x=(r-v)*60;return(a.getTime()-t.getTime())/1e3+x};var te=class{constructor(s,e=Ue,i){this.apollo=s,this.errorsService=i,this.rawResultSubject=new A({queue:{metrics:{buckets:[]}}}),this.resultSubject=new A(Ge),this.result$=this.resultSubject.asObservable(),this.loadingSubject=new A(!1),this.paramsSubject=new A(e),this.params$=this.paramsSubject.asObservable(),this.variablesSubject=new A(rt(e)),this.paramsSubject.pipe(ne(50)).subscribe(t=>{let a=this.variablesSubject.getValue(),r=rt(t);JSON.stringify(a)!==JSON.stringify(r)?this.variablesSubject.next(r):this.resultSubject.next(ot(t,this.rawResultSubject.getValue()))}),this.variablesSubject.pipe(ne(50)).subscribe(t=>this.request(t)),this.rawResultSubject.subscribe(t=>{let a=this.paramsSubject.getValue();this.resultSubject.next(ot(a,t)),this.setInterval(a.autoRefresh)})}setInterval(s){clearTimeout(this.refreshTimeout);let e=Xe[s??this.params.autoRefresh];e&&(this.refreshTimeout=setTimeout(()=>{this.refresh()},e*1e3))}get params(){return this.paramsSubject.getValue()}get bucketDuration(){let s=this.params.buckets.duration;return s==="AUTO"?"hour":s}get bucketMultiplier(){return this.resultSubject.getValue().params.buckets.multiplier??this.params.buckets.multiplier}get loading(){return this.loadingSubject.getValue()}setTimeframe(s){this.updateParams(e=>y(M({},e),{buckets:y(M({},e.buckets),{timeframe:s})}))}setQueue(s){this.updateParams(e=>y(M({},e),{queue:s??void 0}))}setBucketDuration(s,e){this.updateParams(i=>y(M({},i),{buckets:y(M({},i.buckets),{duration:s,multiplier:e??"AUTO"})}))}setBucketMultiplier(s){this.updateParams(e=>y(M({},e),{buckets:y(M({},e.buckets),{multiplier:s})}))}setEvent(s){this.updateParams(e=>y(M({},e),{event:s??void 0}))}setAutoRefreshInterval(s){this.updateParams(e=>y(M({},e),{autoRefresh:s}))}updateParams(s){this.paramsSubject.next(s(this.params))}refresh(){this.variablesSubject.next(this.variablesSubject.getValue())}request(s){return clearTimeout(this.refreshTimeout),this.loadingSubject.next(!0),this.apollo.query({query:we,variables:s,fetchPolicy:"no-cache"}).pipe(ce(e=>{e&&(this.loadingSubject.next(!1),this.rawResultSubject.next(e.data))})).pipe(le(e=>(this.errorsService.addError(`Failed to load queue metrics: ${e.message}`),this.loadingSubject.next(!1),this.setInterval(),se))).subscribe()}},rt=n=>({input:{bucketDuration:n.buckets.duration==="AUTO"?"hour":n.buckets.duration,queues:n.queue?[n.queue]:void 0,startTime:n.buckets.timeframe==="all"?void 0:new Date(new Date().getTime()-1e3*D[n.buckets.timeframe]).toISOString()}}),at=n=>Object.fromEntries(n),ot=(n,s)=>{let{bucketParams:e,earliestBucket:i,latestBucket:t}=ht(n,s),a=Object.entries(s.queue.metrics.buckets.reduce((h,d)=>{if(d.queue!==(n.queue??d.queue))return h;let f,m;if((n.event??!0)&&(f=q(d.createdAtBucket,e),i&&i.index>f.index&&(f=void 0)),d.ranAtBucket&&n.event!=="created"&&(m=q(d.ranAtBucket,e),m&&(t.indexm.index)&&(m=void 0)),d.queue!==n.queue&&!f&&(!m||d.status==="pending"))return h;let[V,b]=h[d.queue]??[Fe,[]],w=d.latency?nt(it(d.latency)):void 0;return y(M({},h),{[d.queue]:[(d.status==="pending"?f:m)?y(M({},V),{[d.status]:d.count+V[d.status]}):V,{created:f?y(M({},b.created),{[f.key]:{count:d.count+(b.created?.[f.key]?.count??0),latency:0,startTime:f.start}}):b.created,processed:m&&d.status==="processed"&&(n.event??!0)?y(M({},b.processed),{[m.key]:{count:d.count+(b.processed?.[m.key]?.count??0),latency:(b.processed?.[m.key]?.latency??0)+(w??0),startTime:m.start}}):b.processed,failed:m&&d.status==="failed"&&(n.event??!0)?y(M({},b.failed),{[m.key]:{count:d.count+(b.failed?.[m.key]?.count??0),latency:(b.failed?.[m.key]?.latency??0)+(w??0),startTime:m.start}}):b.failed}]})},{})).map(([h,[d,f]])=>{let m;if(Object.keys(f).length){let V=Array(),b=at(Array("created","processed","failed").flatMap(w=>{let B=at(Object.entries(f[w]??{}).filter(([,ie])=>ie?.count).sort(([ie],[ct])=>parseInt(ie)h.events?[h.events.earliestBucket]:[]).sort()[0],x=a.flatMap(h=>h.events?[h.events.latestBucket]:[]).sort().reverse()[0];return v&&x&&(r={earliestBucket:v,latestBucket:x}),{params:y(M({},n),{buckets:e}),queues:a,bucketSpan:r}},ht=(n,s)=>{let e=n.buckets.duration==="AUTO"?"hour":n.buckets.duration,i=n.buckets.multiplier==="AUTO"?1:n.buckets.multiplier,t=n.buckets.timeframe,a=new Date,r=q(a,{duration:e,multiplier:i}),v=t==="all"?void 0:q(a.getTime()-1e3*D[t],{duration:e,multiplier:i}),x=[...v?[v]:[],...s.queue.metrics.buckets.flatMap(f=>[q(f.createdAtBucket,{duration:e,multiplier:i}),...f.ranAtBucket?[q(f.ranAtBucket,{duration:e,multiplier:i})]:[]]),r].filter(f=>!v||f.index>=v.index).sort((f,m)=>f.index-m.index),h=x[0],d=x[x.length-1];if(n.buckets.multiplier==="AUTO"){let m=d.index-h.index;i=Math.min(60,Math.max(Math.floor(m/(20*5))*5,1))}return{bucketParams:{duration:e,multiplier:i,timeframe:t},earliestBucket:t==="all"?void 0:q(a.getTime()-1e3*D[t],{duration:e,multiplier:i}),latestBucket:q(Math.max(a.getTime(),d.start.getTime()),{duration:e,multiplier:i})}},q=(n,s)=>{let e=new Date(n),i=1e3*Z[s.duration]*s.multiplier,t=Math.floor(e.getTime()/i);return{key:`${t}`,index:t,start:new Date(t*i)}};var L={created:"primary",processed:"success",failed:"error"},st=(()=>{class n{constructor(){this.themeInfo=T(X),this.transloco=T(H)}create(e){let{colors:i}=this.themeInfo.info,t=Array(),a=[];if(e){let r=e.queues.filter(f=>!f.isEmpty),v=Array.from(new Set(r.flatMap(f=>f.events?[f.events.earliestBucket,f.events.latestBucket]:[]))).sort(),x=new Date,h=e.params.buckets.timeframe==="all"?v[0]:Math.min(v[0],q(x.getTime()-1e3*D[e.params.buckets.timeframe],e.params.buckets).index),d=Math.max(v[v.length-1],q(x,e.params.buckets).index);if(v.length){for(let m=h;m<=d;m++)t.push(this.formatBucketKey(e.params.buckets,m));let f=ee.filter(m=>(e.params.event??m)===m);for(let m of r){for(let b of f){let w=Array();for(let B=h;B<=d;B++)w.push(m.events?.eventBuckets?.[b]?.entries?.[`${B}`]?.count??0);a.push({yAxisID:"yCount",label:m.queue+": "+this.transloco.translate("dashboard.queues."+b),data:w,borderColor:i[O(L[b],50)],pointBackgroundColor:i[O(L[b],20)],pointBorderColor:i[O(L[b],80)],pointHoverBackgroundColor:i[O(L[b],40)],pointHoverBorderColor:i[O(L[b],60)]})}if(["processed","failed"].filter(b=>f.includes(b)).length){let b=Array();for(let w=h;w<=d;w++){let B=["processed","failed"].filter(E=>f.includes(E)).reduce((E,$)=>{let Q=m.events?.eventBuckets?.[$]?.entries?.[`${w}`];return Q?.count?[(E?.[0]??0)+Q.latency,(E?.[1]??0)+Q.count]:E},null);b.push(B?B[0]/B[1]:null)}a.push({yAxisID:"yLatency",label:m.queue+": "+this.transloco.translate("dashboard.queues.latency"),data:b,borderColor:i["tertiary-50"],pointHoverBackgroundColor:i["tertiary-80"],pointHoverBorderColor:i["tertiary-20"]})}}}}return{type:"line",options:{animation:!1,elements:{line:{tension:.5}},scales:{yCount:{position:"left",ticks:{callback:r=>parseInt(r).toLocaleString(this.transloco.getActiveLang())}},yLatency:{position:"right",ticks:{callback:this.formatDuration.bind(this)}}},plugins:{legend:{display:!0},decimation:{enabled:!0}}},data:{labels:t,datasets:a}}}formatBucketKey(e,i){let t;switch(e.duration){case"day":t="d LLL";break;case"hour":t="d LLL H:00";break;case"minute":t="H:mm";break}return je(1e3*Z[e.duration]*e.multiplier*i,t,{locale:Le(this.transloco.getActiveLang())})}formatDuration(e){if(typeof e=="string"&&(e=parseInt(e)),e===0)return"0";let i=e,t=0,a=0,r=0;return i>=60&&(t=Math.floor(i/60),i=i%60,t>=5&&(i=0,t>=60&&(a=Math.floor(t/60),t=t%60,a>=5&&(t=0,a>=24&&(r=Math.floor(a/24),a=a%24))))),$e({days:r,hours:a,minutes:t,seconds:i},this.transloco.getActiveLang())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=R({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();function bt(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit,i=_().$implicit;u("value",e),c(),S(i("dashboard.interval."+e))}}function gt(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit,i=_().$implicit;u("value",e),c(),S(i("dashboard.interval."+e+"s"))}}function Ct(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit;u("value",e),c(),S(e)}}function kt(n,s){if(n&1){let e=re();o(0,"button",16),k("click",function(){let t=g(e).$implicit,a=_(2);return C(a.queueMetricsController.params.queue===t||a.queueMetricsController.setQueue(t))}),o(1,"mat-icon"),p(2),l()()}if(n&2){let e=s.$implicit,i=_(2);I(i.queueMetricsController.params.queue===e?"selected":"deselected"),u("matTooltip",e),c(2),S(i.queueMetricsController.params.queue===e?"radio_button_checked":"radio_button_unchecked")}}function vt(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit,i=_().$implicit;u("value",e),c(),S(i("dashboard.event."+e))}}function xt(n,s){if(n&1&&(o(0,"mat-option",6),p(1),l()),n&2){let e=s.$implicit,i=_().$implicit;u("value",e),c(),S(i("dashboard.interval."+e))}}function Mt(n,s){if(n&1){let e=re();fe(0),o(1,"mat-card")(2,"mat-card-content")(3,"mat-grid-list",1)(4,"mat-grid-tile",2)(5,"mat-card",3)(6,"mat-card-header")(7,"mat-card-title")(8,"h4"),p(9),l()()(),o(10,"mat-card-content")(11,"mat-form-field",4)(12,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setTimeframe(t))}),N(13,bt,2,2,"mat-option",6,z),l()(),o(15,"div",7)(16,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setTimeframe(t.timeframeNames[0]))}),o(17,"mat-icon"),p(18,"first_page"),l()(),o(19,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.queueMetricsController.params.buckets.timeframe)-1]))}),o(20,"mat-icon"),p(21,"navigate_before"),l()(),o(22,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.queueMetricsController.params.buckets.timeframe)+1]))}),o(23,"mat-icon"),p(24,"navigate_next"),l()(),o(25,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.length-1]))}),o(26,"mat-icon"),p(27,"last_page"),l()()()()()(),o(28,"mat-grid-tile",2)(29,"mat-card",9)(30,"mat-card-header")(31,"mat-card-title")(32,"h4"),p(33),l()()(),o(34,"mat-card-content")(35,"mat-form-field",10)(36,"input",11),ge(37,"async"),k("change",function(t){g(e);let a=_();return C(a.handleMultiplierEvent(t))}),l()(),o(38,"mat-form-field",12)(39,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setBucketDuration(t))}),N(40,gt,2,2,"mat-option",6,z),l()(),o(42,"div",7)(43,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketMultiplier(t.queueMetricsController.bucketMultiplier-1))}),o(44,"mat-icon"),p(45,"remove"),l()(),o(46,"button",13),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketMultiplier(t.queueMetricsController.bucketMultiplier+1))}),o(47,"mat-icon"),p(48,"add"),l()(),o(49,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketDuration(t.resolutionNames[0]))}),o(50,"mat-icon"),p(51,"first_page"),l()(),o(52,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.queueMetricsController.bucketDuration)-1]))}),o(53,"mat-icon"),p(54,"navigate_before"),l()(),o(55,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.queueMetricsController.bucketDuration)+1]))}),o(56,"mat-icon"),p(57,"navigate_next"),l()(),o(58,"button",8),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.length-1]))}),o(59,"mat-icon"),p(60,"last_page"),l()()()()()(),o(61,"mat-grid-tile",2)(62,"mat-card")(63,"mat-card-header")(64,"mat-card-title")(65,"h4"),p(66),l()()(),o(67,"mat-card-content")(68,"mat-form-field",4)(69,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setQueue(t==="_all"?null:t))}),o(70,"mat-option",14),p(71),l(),N(72,Ct,2,2,"mat-option",6,z),l()(),o(74,"div",15)(75,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setQueue(null))}),o(76,"mat-icon",17),p(77,"workspaces"),l()(),N(78,kt,3,4,"button",18,z),l()()()(),o(80,"mat-grid-tile",2)(81,"mat-card")(82,"mat-card-header")(83,"mat-card-title")(84,"h4"),p(85),l()()(),o(86,"mat-card-content")(87,"mat-form-field",4)(88,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setEvent(t==="_all"?null:t))}),o(89,"mat-option",14),p(90,"All"),l(),N(91,vt,2,2,"mat-option",6,z),l()(),o(93,"div",15)(94,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.setEvent(null))}),o(95,"mat-icon",17),p(96,"radio_button_checked"),l()(),o(97,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.params.event==="created"||t.queueMetricsController.setEvent("created"))}),o(98,"mat-icon"),p(99,"add_circle"),l()(),o(100,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.params.event==="processed"||t.queueMetricsController.setEvent("processed"))}),o(101,"mat-icon"),p(102,"check_circle"),l()(),o(103,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.params.event==="failed"||t.queueMetricsController.setEvent("failed"))}),o(104,"mat-icon"),p(105,"error"),l()()()()()(),o(106,"mat-grid-tile",2)(107,"mat-card",19)(108,"mat-card-header")(109,"mat-card-title")(110,"h4"),p(111),l()()(),o(112,"mat-card-content")(113,"mat-form-field",4)(114,"mat-select",5),k("valueChange",function(t){g(e);let a=_();return C(a.queueMetricsController.setAutoRefreshInterval(t))}),N(115,xt,2,2,"mat-option",6,z),l()(),o(117,"div",15)(118,"button",16),k("click",function(){g(e);let t=_();return C(t.queueMetricsController.refresh())}),o(119,"mat-icon"),p(120,"sync"),l()()()()()()(),o(121,"div",20),F(122,"mat-progress-bar",21),l(),o(123,"mat-grid-list",1)(124,"mat-grid-tile",2)(125,"mat-card")(126,"mat-card-header")(127,"mat-card-title")(128,"h4"),p(129),l()()(),o(130,"mat-card-content"),F(131,"app-chart",22),l()()(),o(132,"mat-grid-tile",2)(133,"mat-card")(134,"mat-card-header")(135,"mat-card-title")(136,"h4"),p(137),l()()(),o(138,"mat-card-content"),F(139,"app-chart",22),l()()()()()(),_e()}if(n&2){let e,i,t,a=s.$implicit,r=_();c(3),u("cols",r.breakpoints.sizeAtLeast("Large")?5:r.breakpoints.sizeAtLeast("Medium")?3:r.breakpoints.sizeAtLeast("Small")?2:1),c(),u("colspan",1)("rowspan",2),c(5),S(a("dashboard.metrics.timeframe")),c(3),u("value",r.queueMetricsController.params.buckets.timeframe),c(),P(r.timeframeNames),c(3),u("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)<=0),c(3),u("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)<=0),c(3),u("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)>=r.timeframeNames.length-1),c(3),u("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)>=r.timeframeNames.length-1),c(3),u("colspan",1)("rowspan",2),c(5),he(" ",a("dashboard.metrics.resolution")," "),c(3),u("placeholder",(e=(e=Ce(37,66,r.queueMetricsController.result$))==null||e.params==null||e.params.buckets==null||e.params.buckets.multiplier==null?null:e.params.buckets.multiplier.toString())!==null&&e!==void 0?e:"")("value",r.queueMetricsController.params.buckets.multiplier),c(3),u("value",r.queueMetricsController.bucketDuration),c(),P(r.resolutionNames),c(3),u("disabled",r.queueMetricsController.bucketMultiplier===1),c(6),u("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)<=0),c(3),u("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)<=0),c(3),u("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)>=r.resolutionNames.length-1),c(3),u("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)>=r.resolutionNames.length-1),c(3),u("colspan",1)("rowspan",2),c(5),S(a("dashboard.queues.queue")),c(3),u("value",(i=r.queueMetricsController.params.queue)!==null&&i!==void 0?i:"_all"),c(2),S(a("general.all")),c(),P(r.availableQueueNames),c(3),I(r.queueMetricsController.params.queue?"deselected":"selected"),u("matTooltip",a("general.all")),c(3),P(r.availableQueueNames),c(2),u("colspan",1)("rowspan",2),c(5),S(a("dashboard.metrics.event")),c(3),u("value",(t=r.queueMetricsController.params.event)!==null&&t!==void 0?t:"_all"),c(3),P(r.eventNames),c(3),I(r.queueMetricsController.params.event?"deselected":"selected"),u("matTooltip",a("general.all")),c(3),I(r.queueMetricsController.params.event==="created"?"selected":"deselected"),u("matTooltip",a("dashboard.queues.created")),c(3),I(r.queueMetricsController.params.event==="processed"?"selected":"deselected"),u("matTooltip",a("dashboard.queues.processed")),c(3),I(r.queueMetricsController.params.event==="failed"?"selected":"deselected"),u("matTooltip",a("dashboard.queues.failed")),c(3),u("colspan",1)("rowspan",2),c(5),S(a("general.refresh")),c(3),u("value",r.queueMetricsController.params.autoRefresh),c(),P(r.autoRefreshIntervalNames),c(3),u("matTooltip",a("general.refresh")),c(4),u("mode",r.queueMetricsController.loading?"indeterminate":"determinate")("value",0),c(),u("cols",r.breakpoints.sizeAtLeast("Large")?2:1),c(),u("colspan",1)("rowspan",5),c(5),S(a("dashboard.queues.total_counts_by_status")),c(2),u("adapter",r.totals)("$data",r.queueMetricsController.result$)("height",400)("width",550),c(),u("colspan",1)("rowspan",5),c(5),S(a("dashboard.metrics.throughput")),c(2),u("adapter",r.timeline)("$data",r.queueMetricsController.result$)("height",400)("width",550)}}var zi=(()=>{class n{constructor(){this.breakpoints=T(De),this.apollo=T(xe),this.queueMetricsController=new te(this.apollo,{buckets:{duration:"AUTO",multiplier:"AUTO",timeframe:"all"},autoRefresh:"seconds_30"},T(Se)),this.timeline=T(st),this.totals=T(et),this.resolutionNames=He,this.timeframeNames=Ye,this.availableQueueNames=Je,this.autoRefreshIntervalNames=We,this.eventNames=ee}ngOnInit(){this.queueMetricsController.result$.subscribe(e=>{if(this.queueMetricsController.params.buckets.timeframe==="all"&&this.queueMetricsController.params.buckets.duration==="AUTO"&&e.params.buckets.duration==="hour"){let i=e.bucketSpan;i&&i.latestBucket-i.earliestBucket<12&&this.queueMetricsController.setBucketDuration("minute")}})}ngOnDestroy(){this.queueMetricsController.setAutoRefreshInterval("off")}handleMultiplierEvent(e){let i=e.currentTarget.value;this.queueMetricsController.setBucketMultiplier(/^\d+$/.test(i)?parseInt(i):"AUTO")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=me({type:n,selectors:[["app-queue-visualize"]],standalone:!0,features:[be],decls:1,vars:0,consts:[[4,"transloco"],["rowHeight","100px",3,"cols"],[3,"colspan","rowspan"],[1,"form-timeframe"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],[1,"paginator","actions"],["mat-icon-button","",3,"click","disabled"],[1,"form-resolution"],["subscriptSizing","dynamic",1,"form-input-multiplier"],["type","number","matInput","","min","1","step","1",3,"change","placeholder","value"],["subscriptSizing","dynamic",1,"form-select-duration"],["mat-icon-button","",3,"click"],["value","_all"],[1,"actions"],["mat-icon-button","",3,"click","matTooltip"],["fontSet","material-icons"],["mat-icon-button","",3,"class","matTooltip"],[1,"form-refresh"],[1,"progress-bar-container"],[3,"mode","value"],[3,"adapter","$data","height","width"]],template:function(i,t){i&1&&de(0,Mt,140,68,"ng-container",0)},dependencies:[Ae,Me,U,K,Ve,Y,qe,Te,Ee,J,W,Oe,Ne,Qe,Pe,ve,ke,Re,G,Ze],styles:[".actions[_ngcontent-%COMP%]{width:210px;padding-top:12px;--mdc-icon-button-state-layer-size: 32px}.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:22px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:0}.progress-bar-container[_ngcontent-%COMP%]{width:100%;height:10px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{min-width:190px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:16px;font-size:18px}mat-form-field[_ngcontent-%COMP%]{width:186px}.form-resolution[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:-2px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%]{width:60px;margin-right:10px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-resolution[_ngcontent-%COMP%] .form-select-duration[_ngcontent-%COMP%]{width:116px}"]})}}return n})();export{zi as QueueVisualizeComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-VHNPENGG.js b/webui/dist/bitmagnet/browser/chunk-Y7K23DTG.js similarity index 99% rename from webui/dist/bitmagnet/browser/chunk-VHNPENGG.js rename to webui/dist/bitmagnet/browser/chunk-Y7K23DTG.js index 4865075c..3986646e 100644 --- a/webui/dist/bitmagnet/browser/chunk-VHNPENGG.js +++ b/webui/dist/bitmagnet/browser/chunk-Y7K23DTG.js @@ -1,3 +1,3 @@ -import{Da as vn,Na as Ji,Oa as Mn,Qa as wn,V as bn,a as Ze,b as Je,ka as ti,l as Qe,lb as we,na as _n,wa as yn}from"./chunk-FJILXII2.js";function Ce(e){return e+.5|0}var St=(e,i,t)=>Math.max(Math.min(e,t),i);function Se(e){return St(Ce(e*2.55),0,255)}function kt(e){return St(Ce(e*255),0,255)}function mt(e){return St(Ce(e/2.55)/100,0,1)}function Sn(e){return St(Ce(e*100),0,100)}var st={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},ts=[..."0123456789ABCDEF"],dl=e=>ts[e&15],ul=e=>ts[(e&240)>>4]+ts[e&15],ei=e=>(e&240)>>4===(e&15),pl=e=>ei(e.r)&&ei(e.g)&&ei(e.b)&&ei(e.a);function gl(e){var i=e.length,t;return e[0]==="#"&&(i===4||i===5?t={r:255&st[e[1]]*17,g:255&st[e[2]]*17,b:255&st[e[3]]*17,a:i===5?st[e[4]]*17:255}:(i===7||i===9)&&(t={r:st[e[1]]<<4|st[e[2]],g:st[e[3]]<<4|st[e[4]],b:st[e[5]]<<4|st[e[6]],a:i===9?st[e[7]]<<4|st[e[8]]:255})),t}var ml=(e,i)=>e<255?i(e):"";function xl(e){var i=pl(e)?dl:ul;return e?"#"+i(e.r)+i(e.g)+i(e.b)+ml(e.a,i):void 0}var bl=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function On(e,i,t){let s=i*Math.min(t,1-t),n=(o,r=(o+e/30)%12)=>t-s*Math.max(Math.min(r-3,9-r,1),-1);return[n(0),n(8),n(4)]}function _l(e,i,t){let s=(n,o=(n+e/60)%6)=>t-t*i*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function yl(e,i,t){let s=On(e,1,.5),n;for(i+t>1&&(n=1/(i+t),i*=n,t*=n),n=0;n<3;n++)s[n]*=1-i-t,s[n]+=i;return s}function vl(e,i,t,s,n){return e===n?(i-t)/s+(i.5?h/(2-o-r):h/(o+r),l=vl(t,s,n,h,o),l=l*60+.5),[l|0,c||0,a]}function is(e,i,t,s){return(Array.isArray(i)?e(i[0],i[1],i[2]):e(i,t,s)).map(kt)}function ss(e,i,t){return is(On,e,i,t)}function Ml(e,i,t){return is(yl,e,i,t)}function wl(e,i,t){return is(_l,e,i,t)}function An(e){return(e%360+360)%360}function Sl(e){let i=bl.exec(e),t=255,s;if(!i)return;i[5]!==s&&(t=i[6]?Se(+i[5]):kt(+i[5]));let n=An(+i[2]),o=+i[3]/100,r=+i[4]/100;return i[1]==="hwb"?s=Ml(n,o,r):i[1]==="hsv"?s=wl(n,o,r):s=ss(n,o,r),{r:s[0],g:s[1],b:s[2],a:t}}function kl(e,i){var t=es(e);t[0]=An(t[0]+i),t=ss(t),e.r=t[0],e.g=t[1],e.b=t[2]}function Cl(e){if(!e)return;let i=es(e),t=i[0],s=Sn(i[1]),n=Sn(i[2]);return e.a<255?`hsla(${t}, ${s}%, ${n}%, ${mt(e.a)})`:`hsl(${t}, ${s}%, ${n}%)`}var kn={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Cn={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Pl(){let e={},i=Object.keys(Cn),t=Object.keys(kn),s,n,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return e}var ii;function Ol(e){ii||(ii=Pl(),ii.transparent=[0,0,0,0]);let i=ii[e.toLowerCase()];return i&&{r:i[0],g:i[1],b:i[2],a:i.length===4?i[3]:255}}var Al=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Dl(e){let i=Al.exec(e),t=255,s,n,o;if(i){if(i[7]!==s){let r=+i[7];t=i[8]?Se(r):St(r*255,0,255)}return s=+i[1],n=+i[3],o=+i[5],s=255&(i[2]?Se(s):St(s,0,255)),n=255&(i[4]?Se(n):St(n,0,255)),o=255&(i[6]?Se(o):St(o,0,255)),{r:s,g:n,b:o,a:t}}}function Tl(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${mt(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var Qi=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Zt=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function Ll(e,i,t){let s=Zt(mt(e.r)),n=Zt(mt(e.g)),o=Zt(mt(e.b));return{r:kt(Qi(s+t*(Zt(mt(i.r))-s))),g:kt(Qi(n+t*(Zt(mt(i.g))-n))),b:kt(Qi(o+t*(Zt(mt(i.b))-o))),a:e.a+t*(i.a-e.a)}}function si(e,i,t){if(e){let s=es(e);s[i]=Math.max(0,Math.min(s[i]+s[i]*t,i===0?360:1)),s=ss(s),e.r=s[0],e.g=s[1],e.b=s[2]}}function Dn(e,i){return e&&Object.assign(i||{},e)}function Pn(e){var i={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(i={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(i.a=kt(e[3]))):(i=Dn(e,{r:0,g:0,b:0,a:1}),i.a=kt(i.a)),i}function Rl(e){return e.charAt(0)==="r"?Dl(e):Sl(e)}var ke=class e{constructor(i){if(i instanceof e)return i;let t=typeof i,s;t==="object"?s=Pn(i):t==="string"&&(s=gl(i)||Ol(i)||Rl(i)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var i=Dn(this._rgb);return i&&(i.a=mt(i.a)),i}set rgb(i){this._rgb=Pn(i)}rgbString(){return this._valid?Tl(this._rgb):void 0}hexString(){return this._valid?xl(this._rgb):void 0}hslString(){return this._valid?Cl(this._rgb):void 0}mix(i,t){if(i){let s=this.rgb,n=i.rgb,o,r=t===o?.5:t,a=2*r-1,l=s.a-n.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*n.r+.5,s.g=255&c*s.g+o*n.g+.5,s.b=255&c*s.b+o*n.b+.5,s.a=r*s.a+(1-r)*n.a,this.rgb=s}return this}interpolate(i,t){return i&&(this._rgb=Ll(this._rgb,i._rgb,t)),this}clone(){return new e(this.rgb)}alpha(i){return this._rgb.a=kt(i),this}clearer(i){let t=this._rgb;return t.a*=1-i,this}greyscale(){let i=this._rgb,t=Ce(i.r*.3+i.g*.59+i.b*.11);return i.r=i.g=i.b=t,this}opaquer(i){let t=this._rgb;return t.a*=1+i,this}negate(){let i=this._rgb;return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,this}lighten(i){return si(this._rgb,2,i),this}darken(i){return si(this._rgb,2,-i),this}saturate(i){return si(this._rgb,1,i),this}desaturate(i){return si(this._rgb,1,-i),this}rotate(i){return kl(this._rgb,i),this}};function ft(){}var Wn=(()=>{let e=0;return()=>e++})();function T(e){return e===null||typeof e>"u"}function E(e){if(Array.isArray&&Array.isArray(e))return!0;let i=Object.prototype.toString.call(e);return i.slice(0,7)==="[object"&&i.slice(-6)==="Array]"}function A(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function W(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function J(e,i){return W(e)?e:i}function C(e,i){return typeof e>"u"?i:e}var Vn=(e,i)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/i,as=(e,i)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*i:+e;function I(e,i,t){if(e&&typeof e.call=="function")return e.apply(t,i)}function L(e,i,t,s){let n,o,r;if(E(e))if(o=e.length,s)for(n=o-1;n>=0;n--)i.call(t,e[n],n);else for(n=0;ne,x:e=>e.x,y:e=>e.y};function Fl(e){let i=e.split("."),t=[],s="";for(let n of i)s+=n,s.endsWith("\\")?s=s.slice(0,-1)+".":(t.push(s),s="");return t}function zl(e){let i=Fl(e);return t=>{for(let s of i){if(s==="")break;t=t&&t[s]}return t}}function _t(e,i){return(Tn[i]||(Tn[i]=zl(i)))(e)}function fi(e){return e.charAt(0).toUpperCase()+e.slice(1)}var ie=e=>typeof e<"u",xt=e=>typeof e=="function",ls=(e,i)=>{if(e.size!==i.size)return!1;for(let t of e)if(!i.has(t))return!1;return!0};function $n(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}var F=Math.PI,z=2*F,Bl=z+F,li=Number.POSITIVE_INFINITY,jl=F/180,V=F/2,Wt=F/4,Ln=F*2/3,bt=Math.log10,at=Math.sign;function se(e,i,t){return Math.abs(e-i)n-o).pop(),i}function $t(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Yn(e,i){let t=Math.round(e);return t-i<=e&&t+i>=e}function hs(e,i,t){let s,n,o;for(s=0,n=e.length;sl&&c=Math.min(i,t)-s&&e<=Math.max(i,t)+s}function ui(e,i,t){t=t||(r=>e[r]1;)o=n+s>>1,t(o)?n=o:s=o;return{lo:n,hi:s}}var ct=(e,i,t,s)=>ui(e,t,s?n=>{let o=e[n][i];return oe[n][i]ui(e,t,s=>e[s][i]>=t);function qn(e,i,t){let s=0,n=e.length;for(;ss&&e[n-1]>t;)n--;return s>0||n{let s="_onData"+fi(t),n=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...o){let r=n.apply(this,o);return e._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function us(e,i){let t=e._chartjs;if(!t)return;let s=t.listeners,n=s.indexOf(i);n!==-1&&s.splice(n,1),!(s.length>0)&&(Gn.forEach(o=>{delete e[o]}),delete e._chartjs)}function ps(e){let i=new Set(e);return i.size===e.length?e:Array.from(i)}var gs=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function ms(e,i){let t=[],s=!1;return function(...n){t=n,s||(s=!0,gs.call(window,()=>{s=!1,e.apply(i,t)}))}}function Jn(e,i){let t;return function(...s){return i?(clearTimeout(t),t=setTimeout(e,i,s)):e.apply(this,s),i}}var pi=e=>e==="start"?"left":e==="end"?"right":"center",X=(e,i,t)=>e==="start"?i:e==="end"?t:(i+t)/2,Qn=(e,i,t,s)=>e===(s?"left":"right")?t:e==="center"?(i+t)/2:i;function xs(e,i,t){let s=i.length,n=0,o=s;if(e._sorted){let{iScale:r,_parsed:a}=e,l=r.axis,{min:c,max:h,minDefined:f,maxDefined:d}=r.getUserBounds();f&&(n=U(Math.min(ct(a,l,c).lo,t?s:ct(i,l,r.getPixelForValue(c)).lo),0,s-1)),d?o=U(Math.max(ct(a,r.axis,h,!0).hi+1,t?0:ct(i,l,r.getPixelForValue(h),!0).hi+1),n,s)-n:o=s-n}return{start:n,count:o}}function bs(e){let{xScale:i,yScale:t,_scaleRanges:s}=e,n={xmin:i.min,xmax:i.max,ymin:t.min,ymax:t.max};if(!s)return e._scaleRanges=n,!0;let o=s.xmin!==i.min||s.xmax!==i.max||s.ymin!==t.min||s.ymax!==t.max;return Object.assign(s,n),o}var ni=e=>e===0||e===1,Rn=(e,i,t)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-i)*z/t)),In=(e,i,t)=>Math.pow(2,-10*e)*Math.sin((e-i)*z/t)+1,Jt={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*V)+1,easeOutSine:e=>Math.sin(e*V),easeInOutSine:e=>-.5*(Math.cos(F*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>ni(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>ni(e)?e:Rn(e,.075,.3),easeOutElastic:e=>ni(e)?e:In(e,.075,.3),easeInOutElastic(e){return ni(e)?e:e<.5?.5*Rn(e*2,.1125,.45):.5+.5*In(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let i=1.70158;return(e/=.5)<1?.5*(e*e*(((i*=1.525)+1)*e-i)):.5*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)},easeInBounce:e=>1-Jt.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?Jt.easeInBounce(e*2)*.5:Jt.easeOutBounce(e*2-1)*.5+.5};function _s(e){if(e&&typeof e=="object"){let i=e.toString();return i==="[object CanvasPattern]"||i==="[object CanvasGradient]"}return!1}function ys(e){return _s(e)?e:new ke(e)}function ns(e){return _s(e)?e:new ke(e).saturate(.5).darken(.1).hexString()}var Wl=["x","y","borderWidth","radius","tension"],Vl=["color","borderColor","backgroundColor"];function Hl(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:i=>i!=="onProgress"&&i!=="onComplete"&&i!=="fn"}),e.set("animations",{colors:{type:"color",properties:Vl},numbers:{type:"number",properties:Wl}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:i=>i|0}}}})}function $l(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var En=new Map;function Ul(e,i){i=i||{};let t=e+JSON.stringify(i),s=En.get(t);return s||(s=new Intl.NumberFormat(e,i),En.set(t,s)),s}function oe(e,i,t){return Ul(i,t).format(e)}var to={values(e){return E(e)?e:""+e},numeric(e,i,t){if(e===0)return"0";let s=this.chart.options.locale,n,o=e;if(t.length>1){let c=Math.max(Math.abs(t[0].value),Math.abs(t[t.length-1].value));(c<1e-4||c>1e15)&&(n="scientific"),o=Yl(e,t)}let r=bt(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:n,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),oe(e,s,l)},logarithmic(e,i,t){if(e===0)return"0";let s=t[i].significand||e/Math.pow(10,Math.floor(bt(e)));return[1,2,3,5,10,15].includes(s)||i>.8*t.length?to.numeric.call(this,e,i,t):""}};function Yl(e,i){let t=i.length>3?i[2].value-i[1].value:i[1].value-i[0].value;return Math.abs(t)>=1&&e!==Math.floor(e)&&(t=e-Math.floor(e)),t}var De={formatters:to};function Xl(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(i,t)=>t.lineWidth,tickColor:(i,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:De.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:i=>!i.startsWith("before")&&!i.startsWith("after")&&i!=="callback"&&i!=="parser",_indexable:i=>i!=="borderDash"&&i!=="tickBorderDash"&&i!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:i=>i!=="backdropPadding"&&i!=="callback",_indexable:i=>i!=="backdropPadding"})}var Pt=Object.create(null),gi=Object.create(null);function Pe(e,i){if(!i)return e;let t=i.split(".");for(let s=0,n=t.length;ss.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(s,n)=>ns(n.backgroundColor),this.hoverBorderColor=(s,n)=>ns(n.borderColor),this.hoverColor=(s,n)=>ns(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(i),this.apply(t)}set(i,t){return os(this,i,t)}get(i){return Pe(this,i)}describe(i,t){return os(gi,i,t)}override(i,t){return os(Pt,i,t)}route(i,t,s,n){let o=Pe(this,i),r=Pe(this,s),a="_"+t;Object.defineProperties(o,{[a]:{value:o[t],writable:!0},[t]:{enumerable:!0,get(){let l=this[a],c=r[n];return A(l)?Object.assign({},c,l):C(l,c)},set(l){this[a]=l}}})}apply(i){i.forEach(t=>t(this))}},B=new rs({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Hl,$l,Xl]);function Kl(e){return!e||T(e.size)||T(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function Oe(e,i,t,s,n){let o=i[n];return o||(o=i[n]=e.measureText(n).width,t.push(n)),o>s&&(s=o),s}function eo(e,i,t,s){s=s||{};let n=s.data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==i&&(n=s.data={},o=s.garbageCollect=[],s.font=i),e.save(),e.font=i;let r=0,a=t.length,l,c,h,f,d;for(l=0;lt.length){for(l=0;l0&&e.stroke()}}function ht(e,i,t){return t=t||.5,!i||e&&e.x>i.left-t&&e.xi.top-t&&e.y0&&o.strokeColor!=="",l,c;for(e.save(),e.font=n.string,ql(e,o),l=0;l+e||0;function xi(e,i){let t={},s=A(i),n=s?Object.keys(i):i,o=A(e)?s?r=>C(e[r],e[i[r]]):r=>e[r]:()=>e;for(let r of n)t[r]=ec(o(r));return t}function ws(e){return xi(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Dt(e){return xi(e,["topLeft","topRight","bottomLeft","bottomRight"])}function K(e){let i=ws(e);return i.width=i.left+i.right,i.height=i.top+i.bottom,i}function $(e,i){e=e||{},i=i||B.font;let t=C(e.size,i.size);typeof t=="string"&&(t=parseInt(t,10));let s=C(e.style,i.style);s&&!(""+s).match(Ql)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);let n={family:C(e.family,i.family),lineHeight:tc(C(e.lineHeight,i.lineHeight),t),size:t,style:s,weight:C(e.weight,i.weight),string:""};return n.string=Kl(n),n}function ae(e,i,t,s){let n=!0,o,r,a;for(o=0,r=e.length;ot&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(n,o)}}function yt(e,i){return Object.assign(Object.create(e),i)}function bi(e,i=[""],t,s,n=()=>e[0]){let o=t||e;typeof s>"u"&&(s=ao("_fallback",e));let r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:s,_getTarget:n,override:a=>bi([a,...e],i,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete e[0][l],!0},get(a,l){return oo(a,l,()=>cc(l,i,e,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,l){return zn(a).includes(l)},ownKeys(a){return zn(a)},set(a,l,c){let h=a._storage||(a._storage=n());return a[l]=h[l]=c,delete a._keys,!0}})}function Ht(e,i,t,s){let n={_cacheable:!1,_proxy:e,_context:i,_subProxy:t,_stack:new Set,_descriptors:Ss(e,s),setContext:o=>Ht(e,o,t,s),override:o=>Ht(e.override(o),i,t,s)};return new Proxy(n,{deleteProperty(o,r){return delete o[r],delete e[r],!0},get(o,r,a){return oo(o,r,()=>sc(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(e,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,r)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,r){return Reflect.has(e,r)},ownKeys(){return Reflect.ownKeys(e)},set(o,r,a){return e[r]=a,delete o[r],!0}})}function Ss(e,i={scriptable:!0,indexable:!0}){let{_scriptable:t=i.scriptable,_indexable:s=i.indexable,_allKeys:n=i.allKeys}=e;return{allKeys:n,scriptable:t,indexable:s,isScriptable:xt(t)?t:()=>t,isIndexable:xt(s)?s:()=>s}}var ic=(e,i)=>e?e+fi(i):i,ks=(e,i)=>A(i)&&e!=="adapters"&&(Object.getPrototypeOf(i)===null||i.constructor===Object);function oo(e,i,t){if(Object.prototype.hasOwnProperty.call(e,i)||i==="constructor")return e[i];let s=t();return e[i]=s,s}function sc(e,i,t){let{_proxy:s,_context:n,_subProxy:o,_descriptors:r}=e,a=s[i];return xt(a)&&r.isScriptable(i)&&(a=nc(i,a,e,t)),E(a)&&a.length&&(a=oc(i,a,e,r.isIndexable)),ks(i,a)&&(a=Ht(a,n,o&&o[i],r)),a}function nc(e,i,t,s){let{_proxy:n,_context:o,_subProxy:r,_stack:a}=t;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let l=i(o,r||s);return a.delete(e),ks(e,l)&&(l=Cs(n._scopes,n,e,l)),l}function oc(e,i,t,s){let{_proxy:n,_context:o,_subProxy:r,_descriptors:a}=t;if(typeof o.index<"u"&&s(e))return i[o.index%i.length];if(A(i[0])){let l=i,c=n._scopes.filter(h=>h!==l);i=[];for(let h of l){let f=Cs(c,n,e,h);i.push(Ht(f,o,r&&r[e],a))}}return i}function ro(e,i,t){return xt(e)?e(i,t):e}var rc=(e,i)=>e===!0?i:typeof e=="string"?_t(i,e):void 0;function ac(e,i,t,s,n){for(let o of i){let r=rc(t,o);if(r){e.add(r);let a=ro(r._fallback,t,n);if(typeof a<"u"&&a!==t&&a!==s)return a}else if(r===!1&&typeof s<"u"&&t!==s)return null}return!1}function Cs(e,i,t,s){let n=i._rootScopes,o=ro(i._fallback,t,s),r=[...e,...n],a=new Set;a.add(s);let l=Fn(a,r,t,o||t,s);return l===null||typeof o<"u"&&o!==t&&(l=Fn(a,r,o,l,s),l===null)?!1:bi(Array.from(a),[""],n,o,()=>lc(i,t,s))}function Fn(e,i,t,s,n){for(;t;)t=ac(e,i,t,s,n);return t}function lc(e,i,t){let s=e._getTarget();i in s||(s[i]={});let n=s[i];return E(n)&&A(t)?t:n||{}}function cc(e,i,t,s){let n;for(let o of i)if(n=ao(ic(o,e),t),typeof n<"u")return ks(e,n)?Cs(t,s,e,n):n}function ao(e,i){for(let t of i){if(!t)continue;let s=t[e];if(typeof s<"u")return s}}function zn(e){let i=e._keys;return i||(i=e._keys=hc(e._scopes)),i}function hc(e){let i=new Set;for(let t of e)for(let s of Object.keys(t).filter(n=>!n.startsWith("_")))i.add(s);return Array.from(i)}function Ps(e,i,t,s){let{iScale:n}=e,{key:o="r"}=this._parsing,r=new Array(s),a,l,c,h;for(a=0,l=s;aie==="x"?"y":"x";function dc(e,i,t,s){let n=e.skip?i:e,o=i,r=t.skip?i:t,a=ci(o,n),l=ci(r,o),c=a/(a+l),h=l/(a+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;let f=s*c,d=s*h;return{previous:{x:o.x-f*(r.x-n.x),y:o.y-f*(r.y-n.y)},next:{x:o.x+d*(r.x-n.x),y:o.y+d*(r.y-n.y)}}}function uc(e,i,t){let s=e.length,n,o,r,a,l,c=te(e,0);for(let h=0;h!c.skip)),i.cubicInterpolationMode==="monotone")gc(e,n);else{let c=s?e[e.length-1]:e[0];for(o=0,r=e.length;oe.ownerDocument.defaultView.getComputedStyle(e,null);function xc(e,i){return vi(e).getPropertyValue(i)}var bc=["top","right","bottom","left"];function Vt(e,i,t){let s={};t=t?"-"+t:"";for(let n=0;n<4;n++){let o=bc[n];s[o]=parseFloat(e[i+"-"+o+t])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}var _c=(e,i,t)=>(e>0||i>0)&&(!t||!t.shadowRoot);function yc(e,i){let t=e.touches,s=t&&t.length?t[0]:e,{offsetX:n,offsetY:o}=s,r=!1,a,l;if(_c(n,o,e.target))a=n,l=o;else{let c=i.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function Tt(e,i){if("native"in e)return e;let{canvas:t,currentDevicePixelRatio:s}=i,n=vi(t),o=n.boxSizing==="border-box",r=Vt(n,"padding"),a=Vt(n,"border","width"),{x:l,y:c,box:h}=yc(e,t),f=r.left+(h&&a.left),d=r.top+(h&&a.top),{width:u,height:p}=i;return o&&(u-=r.width+a.width,p-=r.height+a.height),{x:Math.round((l-f)/u*t.width/s),y:Math.round((c-d)/p*t.height/s)}}function vc(e,i,t){let s,n;if(i===void 0||t===void 0){let o=e&&yi(e);if(!o)i=e.clientWidth,t=e.clientHeight;else{let r=o.getBoundingClientRect(),a=vi(o),l=Vt(a,"border","width"),c=Vt(a,"padding");i=r.width-c.width-l.width,t=r.height-c.height-l.height,s=hi(a.maxWidth,o,"clientWidth"),n=hi(a.maxHeight,o,"clientHeight")}}return{width:i,height:t,maxWidth:s||li,maxHeight:n||li}}var ri=e=>Math.round(e*10)/10;function ho(e,i,t,s){let n=vi(e),o=Vt(n,"margin"),r=hi(n.maxWidth,e,"clientWidth")||li,a=hi(n.maxHeight,e,"clientHeight")||li,l=vc(e,i,t),{width:c,height:h}=l;if(n.boxSizing==="content-box"){let d=Vt(n,"border","width"),u=Vt(n,"padding");c-=u.width+d.width,h-=u.height+d.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?c/s:h-o.height),c=ri(Math.min(c,r,l.maxWidth)),h=ri(Math.min(h,a,l.maxHeight)),c&&!h&&(h=ri(c/2)),(i!==void 0||t!==void 0)&&s&&l.height&&h>l.height&&(h=l.height,c=ri(Math.floor(h*s))),{width:c,height:h}}function Os(e,i,t){let s=i||1,n=Math.floor(e.height*s),o=Math.floor(e.width*s);e.height=Math.floor(e.height),e.width=Math.floor(e.width);let r=e.canvas;return r.style&&(t||!r.style.height&&!r.style.width)&&(r.style.height=`${e.height}px`,r.style.width=`${e.width}px`),e.currentDevicePixelRatio!==s||r.height!==n||r.width!==o?(e.currentDevicePixelRatio=s,r.height=n,r.width=o,e.ctx.setTransform(s,0,0,s,0,0),!0):!1}var fo=function(){let e=!1;try{let i={get passive(){return e=!0,!1}};_i()&&(window.addEventListener("test",null,i),window.removeEventListener("test",null,i))}catch{}return e}();function As(e,i){let t=xc(e,i),s=t&&t.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function Ct(e,i,t,s){return{x:e.x+t*(i.x-e.x),y:e.y+t*(i.y-e.y)}}function uo(e,i,t,s){return{x:e.x+t*(i.x-e.x),y:s==="middle"?t<.5?e.y:i.y:s==="after"?t<1?e.y:i.y:t>0?i.y:e.y}}function po(e,i,t,s){let n={x:e.cp2x,y:e.cp2y},o={x:i.cp1x,y:i.cp1y},r=Ct(e,n,t),a=Ct(n,o,t),l=Ct(o,i,t),c=Ct(r,a,t),h=Ct(a,l,t);return Ct(c,h,t)}var Mc=function(e,i){return{x(t){return e+e+i-t},setWidth(t){i=t},textAlign(t){return t==="center"?t:t==="right"?"left":"right"},xPlus(t,s){return t-s},leftForLtr(t,s){return t-s}}},wc=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,i){return e+i},leftForLtr(e,i){return e}}};function Ut(e,i,t){return e?Mc(i,t):wc()}function Ds(e,i){let t,s;(i==="ltr"||i==="rtl")&&(t=e.canvas.style,s=[t.getPropertyValue("direction"),t.getPropertyPriority("direction")],t.setProperty("direction",i,"important"),e.prevTextDirection=s)}function Ts(e,i){i!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",i[0],i[1]))}function go(e){return e==="angle"?{between:ne,compare:Nl,normalize:Z}:{between:dt,compare:(i,t)=>i-t,normalize:i=>i}}function Bn({start:e,end:i,count:t,loop:s,style:n}){return{start:e%t,end:i%t,loop:s&&(i-e+1)%t===0,style:n}}function Sc(e,i,t){let{property:s,start:n,end:o}=t,{between:r,normalize:a}=go(s),l=i.length,{start:c,end:h,loop:f}=e,d,u;if(f){for(c+=l,h+=l,d=0,u=l;dl(n,y,b)&&a(n,y)!==0,_=()=>a(o,b)===0||l(o,y,b),v=()=>g||M(),S=()=>!g||_();for(let w=h,k=h;w<=f;++w)x=i[w%r],!x.skip&&(b=c(x[s]),b!==y&&(g=l(b,n,o),m===null&&v()&&(m=a(b,n)===0?w:k),m!==null&&S()&&(p.push(Bn({start:m,end:w,loop:d,count:r,style:u})),m=null),k=w,y=b));return m!==null&&p.push(Bn({start:m,end:f,loop:d,count:r,style:u})),p}function Rs(e,i){let t=[],s=e.segments;for(let n=0;nn&&e[o%i].skip;)o--;return o%=i,{start:n,end:o}}function Cc(e,i,t,s){let n=e.length,o=[],r=i,a=e[i],l;for(l=i+1;l<=t;++l){let c=e[l%n];c.skip||c.stop?a.skip||(s=!1,o.push({start:i%n,end:(l-1)%n,loop:s}),i=r=c.stop?l:null):(r=l,a.skip&&(i=l)),a=c}return r!==null&&o.push({start:i%n,end:r%n,loop:s}),o}function mo(e,i){let t=e.points,s=e.options.spanGaps,n=t.length;if(!n)return[];let o=!!e._loop,{start:r,end:a}=kc(t,n,o,s);if(s===!0)return jn(e,[{start:r,end:a,loop:o}],t,i);let l=aa({chart:i,initial:t.initial,numSteps:r,currentStep:Math.min(s-t.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=gs.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(i=Date.now()){let t=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;let o=s.items,r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(i),a=!0):(o[r]=o[o.length-1],o.pop());a&&(n.draw(),this._notify(n,s,i,"progress")),o.length||(s.running=!1,this._notify(n,s,i,"complete"),s.initial=!1),t+=o.length}),this._lastDate=i,t===0&&(this._running=!1)}_getAnims(i){let t=this._charts,s=t.get(i);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(i,s)),s}listen(i,t,s){this._getAnims(i).listeners[t].push(s)}add(i,t){!t||!t.length||this._getAnims(i).items.push(...t)}has(i){return this._getAnims(i).items.length>0}start(i){let t=this._charts.get(i);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((s,n)=>Math.max(s,n._duration),0),this._refresh())}running(i){if(!this._running)return!1;let t=this._charts.get(i);return!(!t||!t.running||!t.items.length)}stop(i){let t=this._charts.get(i);if(!t||!t.items.length)return;let s=t.items,n=s.length-1;for(;n>=0;--n)s[n].cancel();t.items=[],this._notify(i,t,Date.now(),"complete")}remove(i){return this._charts.delete(i)}},vt=new Hs,xo="transparent",Ac={boolean(e,i,t){return t>.5?i:e},color(e,i,t){let s=ys(e||xo),n=s.valid&&ys(i||xo);return n&&n.valid?n.mix(s,t).hexString():i},number(e,i,t){return e+(i-e)*t}},$s=class{constructor(i,t,s,n){let o=t[s];n=ae([i.to,n,o,i.from]);let r=ae([i.from,o,n]);this._active=!0,this._fn=i.fn||Ac[i.type||typeof r],this._easing=Jt[i.easing]||Jt.linear,this._start=Math.floor(Date.now()+(i.delay||0)),this._duration=this._total=Math.floor(i.duration),this._loop=!!i.loop,this._target=t,this._prop=s,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(i,t,s){if(this._active){this._notify(!1);let n=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,i.duration)),this._total+=o,this._loop=!!i.loop,this._to=ae([i.to,t,n,i.from]),this._from=ae([i.from,n,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(i){let t=i-this._start,s=this._duration,n=this._prop,o=this._from,r=this._loop,a=this._to,l;if(this._active=o!==a&&(r||t1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,a,l)}wait(){let i=this._promises||(this._promises=[]);return new Promise((t,s)=>{i.push({res:t,rej:s})})}_notify(i){let t=i?"res":"rej",s=this._promises||[];for(let n=0;n{let o=i[n];if(!A(o))return;let r={};for(let a of t)r[a]=o[a];(E(o.properties)&&o.properties||[n]).forEach(a=>{(a===n||!s.has(a))&&s.set(a,r)})})}_animateOptions(i,t){let s=t.options,n=Tc(i,s);if(!n)return[];let o=this._createAnimations(n,s);return s.$shared&&Dc(i.options.$animations,s).then(()=>{i.options=s},()=>{}),o}_createAnimations(i,t){let s=this._properties,n=[],o=i.$animations||(i.$animations={}),r=Object.keys(t),a=Date.now(),l;for(l=r.length-1;l>=0;--l){let c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(i,t));continue}let h=t[c],f=o[c],d=s.get(c);if(f)if(d&&f.active()){f.update(d,h,a);continue}else f.cancel();if(!d||!d.duration){i[c]=h;continue}o[c]=f=new $s(d,i,c,h),n.push(f)}return n}update(i,t){if(this._properties.size===0){Object.assign(i,t);return}let s=this._createAnimations(i,t);if(s.length)return vt.add(this._chart,s),!0}};function Dc(e,i){let t=[],s=Object.keys(i);for(let n=0;n0||!t&&o<0)return n.index}return null}function Mo(e,i){let{chart:t,_cachedMeta:s}=e,n=t._stacks||(t._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,h=Ec(o,r,s),f=i.length,d;for(let u=0;ut[s].axis===i).shift()}function Bc(e,i){return yt(e,{active:!1,dataset:void 0,datasetIndex:i,index:i,mode:"default",type:"dataset"})}function jc(e,i,t){return yt(e,{active:!1,dataIndex:i,parsed:void 0,raw:void 0,element:t,index:i,mode:"default",type:"data"})}function Re(e,i){let t=e.controller.index,s=e.vScale&&e.vScale.axis;if(s){i=i||e._parsed;for(let n of i){let o=n._stacks;if(!o||o[s]===void 0||o[s][t]===void 0)return;delete o[s][t],o[s]._visualValues!==void 0&&o[s]._visualValues[t]!==void 0&&delete o[s]._visualValues[t]}}}var Es=e=>e==="reset"||e==="none",wo=(e,i)=>i?e:Object.assign({},e),Nc=(e,i,t)=>e&&!i.hidden&&i._stacked&&{keys:br(t,!0),values:null},Rt=(()=>{class e{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,s){this.chart=t,this._ctx=t.ctx,this.index=s,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=yo(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Re(this._cachedMeta),this.index=t}linkScales(){let t=this.chart,s=this._cachedMeta,n=this.getDataset(),o=(d,u,p,g)=>d==="x"?u:d==="r"?g:p,r=s.xAxisID=C(n.xAxisID,Is(t,"x")),a=s.yAxisID=C(n.yAxisID,Is(t,"y")),l=s.rAxisID=C(n.rAxisID,Is(t,"r")),c=s.indexAxis,h=s.iAxisID=o(c,r,a,l),f=s.vAxisID=o(c,a,r,l);s.xScale=this.getScaleForId(r),s.yScale=this.getScaleForId(a),s.rScale=this.getScaleForId(l),s.iScale=this.getScaleForId(h),s.vScale=this.getScaleForId(f)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){let s=this._cachedMeta;return t===s.iScale?s.vScale:s.iScale}reset(){this._update("reset")}_destroy(){let t=this._cachedMeta;this._data&&us(this._data,this),t._stacked&&Re(t)}_dataCheck(){let t=this.getDataset(),s=t.data||(t.data=[]),n=this._data;if(A(s)){let o=this._cachedMeta;this._data=Ic(s,o)}else if(n!==s){if(n){us(n,this);let o=this._cachedMeta;Re(o),o._parsed=[]}s&&Object.isExtensible(s)&&Zn(s,this),this._syncList=[],this._data=s}}addElements(){let t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){let s=this._cachedMeta,n=this.getDataset(),o=!1;this._dataCheck();let r=s._stacked;s._stacked=yo(s.vScale,s),s.stack!==n.stack&&(o=!0,Re(s),s.stack=n.stack),this._resyncElements(t),(o||r!==s._stacked)&&Mo(this,s._parsed)}configure(){let t=this.chart.config,s=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),s,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,s){let{_cachedMeta:n,_data:o}=this,{iScale:r,_stacked:a}=n,l=r.axis,c=t===0&&s===o.length?!0:n._sorted,h=t>0&&n._parsed[t-1],f,d,u;if(this._parsing===!1)n._parsed=o,n._sorted=!0,u=o;else{E(o[t])?u=this.parseArrayData(n,o,t,s):A(o[t])?u=this.parseObjectData(n,o,t,s):u=this.parsePrimitiveData(n,o,t,s);let p=()=>d[l]===null||h&&d[l]m||d=0;--u)if(!g()){this.updateRangeFromParsed(h,t,p,c);break}}return h}getAllParsedValues(t){let s=this._cachedMeta._parsed,n=[],o,r,a;for(o=0,r=s.length;o=0&&tthis.getContext(n,o,s),m=h.resolveNamedOptions(u,p,g,d);return m.$shared&&(m.$shared=c,r[a]=Object.freeze(wo(m,c))),m}_resolveAnimations(t,s,n){let o=this.chart,r=this._cachedDataOpts,a=`animation-${s}`,l=r[a];if(l)return l;let c;if(o.options.animation!==!1){let f=this.chart.config,d=f.datasetAnimationScopeKeys(this._type,s),u=f.getOptionScopes(this.getDataset(),d);c=f.createResolver(u,this.getContext(t,n,s))}let h=new Ti(o,c&&c.animations);return c&&c._cacheable&&(r[a]=Object.freeze(h)),h}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,s){return!s||Es(t)||this.chart._animationsDisabled}_getSharedOptions(t,s){let n=this.resolveDataElementOptions(t,s),o=this._sharedOptions,r=this.getSharedOptions(n),a=this.includeOptions(s,r)||r!==o;return this.updateSharedOptions(r,s,n),{sharedOptions:r,includeOptions:a}}updateElement(t,s,n,o){Es(o)?Object.assign(t,n):this._resolveAnimations(s,o).update(t,n)}updateSharedOptions(t,s,n){t&&!Es(s)&&this._resolveAnimations(void 0,s).update(t,n)}_setStyle(t,s,n,o){t.active=o;let r=this.getStyle(s,o);this._resolveAnimations(s,n,o).update(t,{options:!o&&this.getSharedOptions(r)||r})}removeHoverStyle(t,s,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,s,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){let s=this._data,n=this._cachedMeta.data;for(let[l,c,h]of this._syncList)this[l](c,h);this._syncList=[];let o=n.length,r=s.length,a=Math.min(r,o);a&&this.parse(0,a),r>o?this._insertElements(o,r-o,t):r{for(h.length+=s,l=h.length-1;l>=a;l--)h[l]=h[l-s]};for(c(r),l=t;ln-o))}return e._cache.$bar}function Vc(e){let i=e.iScale,t=Wc(i,e.type),s=i._length,n,o,r,a,l=()=>{r===32767||r===-32768||(ie(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(n=0,o=t.length;n0?n[e-1]:null,a=eMath.abs(a)&&(l=a,c=r),i[t.axis]=c,i._custom={barStart:l,barEnd:c,start:n,end:o,min:r,max:a}}function _r(e,i,t,s){return E(e)?Uc(e,i,t,s):i[t.axis]=t.parse(e,s),i}function So(e,i,t,s){let n=e.iScale,o=e.vScale,r=n.getLabels(),a=n===o,l=[],c,h,f,d;for(c=t,h=t+s;c=t?1:-1)}function Xc(e){let i,t,s,n,o;return e.horizontal?(i=e.base>e.x,t="left",s="right"):(i=e.base{class e extends Rt{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,s,n,o){return So(t,s,n,o)}parseArrayData(t,s,n,o){return So(t,s,n,o)}parseObjectData(t,s,n,o){let{iScale:r,vScale:a}=t,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,h=r.axis==="x"?l:c,f=a.axis==="x"?l:c,d=[],u,p,g,m;for(u=n,p=n+o;uf.controller.options.grouped),r=n.options.stacked,a=[],l=this._cachedMeta.controller.getParsed(s),c=l&&l[n.axis],h=f=>{let d=f._parsed.find(p=>p[n.axis]===c),u=d&&d[f.vScale.axis];if(T(u)||isNaN(u))return!0};for(let f of o)if(!(s!==void 0&&h(f))&&((r===!1||a.indexOf(f.stack)===-1||r===void 0&&f.stack===void 0)&&a.push(f.stack),f.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,s,n){let o=this._getStacks(t,n),r=s!==void 0?o.indexOf(s):-1;return r===-1?o.length-1:r}_getRuler(){let t=this.options,s=this._cachedMeta,n=s.iScale,o=[],r,a;for(r=0,a=s.data.length;r{class e extends Rt{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,s,n,o){let r=super.parsePrimitiveData(t,s,n,o);for(let a=0;a=0;--n)s=Math.max(s,t[n].size(this.resolveDataElementOptions(n))/2);return s>0&&s}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:o,yScale:r}=s,a=this.getParsed(t),l=o.getLabelForValue(a.x),c=r.getLabelForValue(a.y),h=a._custom;return{label:n[t]||"",value:"("+l+", "+c+(h?", "+h:"")+")"}}update(t){let s=this._cachedMeta.data;this.updateElements(s,0,s.length,t)}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l}=this._cachedMeta,{sharedOptions:c,includeOptions:h}=this._getSharedOptions(s,o),f=a.axis,d=l.axis;for(let u=s;une(y,a,l,!0)?1:Math.max(M,M*t,_,_*t),p=(y,M,_)=>ne(y,a,l,!0)?-1:Math.min(M,M*t,_,_*t),g=u(0,c,f),m=u(V,h,d),b=p(F,c,f),x=p(F+V,h,d);s=(g-b)/2,n=(m-x)/2,o=-(g+b)/2,r=-(m+x)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:r}}var fn=(()=>{class e extends Rt{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let s=t.data;if(s.labels.length&&s.datasets.length){let{labels:{pointStyle:n,color:o}}=t.legend.options;return s.labels.map((r,a)=>{let c=t.getDatasetMeta(0).controller.getStyle(a);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,s,n){n.chart.toggleDataVisibility(s.index),n.chart.update()}}}};constructor(t,s){super(t,s),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,s){let n=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=n;else{let r=c=>+n[c];if(A(n[t])){let{key:c="value"}=this._parsing;r=h=>+_t(n[h],c)}let a,l;for(a=t,l=t+s;a0&&!isNaN(t)?z*(Math.abs(t)/s):0}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart,o=n.data.labels||[],r=oe(s._parsed[t],n.options.locale);return{label:o[t]||"",value:r}}getMaxBorderWidth(t){let s=0,n=this.chart,o,r,a,l,c;if(!t){for(o=0,r=n.data.datasets.length;o{class e extends Rt{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){let s=this._cachedMeta,{dataset:n,data:o=[],_dataset:r}=s,a=this.chart._animationsDisabled,{start:l,count:c}=xs(s,o,a);this._drawStart=l,this._drawCount=c,bs(s)&&(l=0,c=o.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!r._decimated,n.points=o;let h=this.resolveDatasetElementOptions(t);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:h},t),this.updateElements(o,l,c,t)}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:h}=this._cachedMeta,{sharedOptions:f,includeOptions:d}=this._getSharedOptions(s,o),u=a.axis,p=l.axis,{spanGaps:g,segment:m}=this.options,b=$t(g)?g:Number.POSITIVE_INFINITY,x=this.chart._animationsDisabled||r||o==="none",y=s+n,M=t.length,_=s>0&&this.getParsed(s-1);for(let v=0;v=y){w.skip=!0;continue}let k=this.getParsed(v),O=T(k[p]),P=w[u]=a.getPixelForValue(k[u],v),D=w[p]=r||O?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,k,c):k[p],v);w.skip=isNaN(P)||isNaN(D)||O,w.stop=v>0&&Math.abs(k[u]-_[u])>b,m&&(w.parsed=k,w.raw=h.data[v]),d&&(w.options=f||this.resolveDataElementOptions(v,S.active?"active":o)),x||this.updateElement(S,v,w,o),_=k}}getMaxOverflow(){let t=this._cachedMeta,s=t.dataset,n=s.options&&s.options.borderWidth||0,o=t.data||[];if(!o.length)return n;let r=o[0].size(this.resolveDataElementOptions(0)),a=o[o.length-1].size(this.resolveDataElementOptions(o.length-1));return Math.max(n,r,a)/2}draw(){let t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}return e})(),yr=(()=>{class e extends Rt{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let s=t.data;if(s.labels.length&&s.datasets.length){let{labels:{pointStyle:n,color:o}}=t.legend.options;return s.labels.map((r,a)=>{let c=t.getDatasetMeta(0).controller.getStyle(a);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,s,n){n.chart.toggleDataVisibility(s.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,s){super(t,s),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart,o=n.data.labels||[],r=oe(s._parsed[t].r,n.options.locale);return{label:o[t]||"",value:r}}parseObjectData(t,s,n,o){return Ps.bind(this)(t,s,n,o)}update(t){let s=this._cachedMeta.data;this._updateRadius(),this.updateElements(s,0,s.length,t)}getMinMax(){let t=this._cachedMeta,s={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((n,o)=>{let r=this.getParsed(o).r;!isNaN(r)&&this.chart.getDataVisibility(o)&&(rs.max&&(s.max=r))}),s}_updateRadius(){let t=this.chart,s=t.chartArea,n=t.options,o=Math.min(s.right-s.left,s.bottom-s.top),r=Math.max(o/2,0),a=Math.max(n.cutoutPercentage?r/100*n.cutoutPercentage:1,0),l=(r-a)/t.getVisibleDatasetCount();this.outerRadius=r-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(t,s,n,o){let r=o==="reset",a=this.chart,c=a.options.animation,h=this._cachedMeta.rScale,f=h.xCenter,d=h.yCenter,u=h.getIndexAngle(0)-.5*F,p=u,g,m=360/this.countVisibleElements();for(g=0;g{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&s++}),s}_computeAngle(t,s,n){return this.chart.getDataVisibility(t)?nt(this.resolveDataElementOptions(t,s).angle||n):0}}return e})(),eh=(()=>{class e extends fn{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}return e})(),ih=(()=>{class e extends Rt{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){let s=this._cachedMeta.vScale,n=this.getParsed(t);return{label:s.getLabels()[t],value:""+s.getLabelForValue(n[s.axis])}}parseObjectData(t,s,n,o){return Ps.bind(this)(t,s,n,o)}update(t){let s=this._cachedMeta,n=s.dataset,o=s.data||[],r=s.iScale.getLabels();if(n.points=o,t!=="resize"){let a=this.resolveDatasetElementOptions(t);this.options.showLine||(a.borderWidth=0);let l={_loop:!0,_fullLoop:r.length===o.length,options:a};this.updateElement(n,void 0,l,t)}this.updateElements(o,0,o.length,t)}updateElements(t,s,n,o){let r=this._cachedMeta.rScale,a=o==="reset";for(let l=s;l{class e extends Rt{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(t){let s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:o,yScale:r}=s,a=this.getParsed(t),l=o.getLabelForValue(a.x),c=r.getLabelForValue(a.y);return{label:n[t]||"",value:"("+l+", "+c+")"}}update(t){let s=this._cachedMeta,{data:n=[]}=s,o=this.chart._animationsDisabled,{start:r,count:a}=xs(s,n,o);if(this._drawStart=r,this._drawCount=a,bs(s)&&(r=0,a=n.length),this.options.showLine){this.datasetElementType||this.addElements();let{dataset:l,_dataset:c}=s;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!c._decimated,l.points=n;let h=this.resolveDatasetElementOptions(t);h.segment=this.options.segment,this.updateElement(l,void 0,{animated:!o,options:h},t)}else this.datasetElementType&&(delete s.dataset,this.datasetElementType=!1);this.updateElements(n,r,a,t)}addElements(){let{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:h}=this._cachedMeta,f=this.resolveDataElementOptions(s,o),d=this.getSharedOptions(f),u=this.includeOptions(o,d),p=a.axis,g=l.axis,{spanGaps:m,segment:b}=this.options,x=$t(m)?m:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||r||o==="none",M=s>0&&this.getParsed(s-1);for(let _=s;_0&&Math.abs(S[p]-M[p])>x,b&&(w.parsed=S,w.raw=h.data[_]),u&&(w.options=d||this.resolveDataElementOptions(_,v.active?"active":o)),y||this.updateElement(v,_,w,o),M=S}this.updateSharedOptions(d,o,f)}getMaxOverflow(){let t=this._cachedMeta,s=t.data||[];if(!this.options.showLine){let l=0;for(let c=s.length-1;c>=0;--c)l=Math.max(l,s[c].size(this.resolveDataElementOptions(c))/2);return l>0&&l}let n=t.dataset,o=n.options&&n.options.borderWidth||0;if(!s.length)return o;let r=s[0].size(this.resolveDataElementOptions(0)),a=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(o,r,a)/2}}return e})(),nh=Object.freeze({__proto__:null,BarController:Zc,BubbleController:Jc,DoughnutController:fn,LineController:th,PieController:eh,PolarAreaController:yr,RadarController:ih,ScatterController:sh});function Yt(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var Us=class e{static override(i){Object.assign(e.prototype,i)}options;constructor(i){this.options=i||{}}init(){}formats(){return Yt()}parse(){return Yt()}format(){return Yt()}add(){return Yt()}diff(){return Yt()}startOf(){return Yt()}endOf(){return Yt()}},oh={_date:Us};function rh(e,i,t,s){let{controller:n,data:o,_sorted:r}=e,a=n._cachedMeta.iScale;if(a&&i===a.axis&&i!=="r"&&r&&o.length){let l=a._reversePixels?Kn:ct;if(s){if(n._sharedOptions){let c=o[0],h=typeof c.getRange=="function"&&c.getRange(i);if(h){let f=l(o,i,t-h),d=l(o,i,t+h);return{lo:f.lo,hi:d.hi}}}}else return l(o,i,t)}return{lo:0,hi:o.length-1}}function He(e,i,t,s,n){let o=e.getSortedVisibleDatasetMetas(),r=t[i];for(let a=0,l=o.length;a{l[r]&&l[r](i[t],n)&&(o.push({element:l,datasetIndex:c,index:h}),a=a||l.inRange(i.x,i.y,n))}),s&&!a?[]:o}var hh={evaluateInteractionItems:He,modes:{index(e,i,t,s){let n=Tt(i,e),o=t.axis||"x",r=t.includeInvisible||!1,a=t.intersect?zs(e,n,o,s,r):Bs(e,n,o,!1,s,r),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{let h=a[0].index,f=c.data[h];f&&!f.skip&&l.push({element:f,datasetIndex:c.index,index:h})}),l):[]},dataset(e,i,t,s){let n=Tt(i,e),o=t.axis||"xy",r=t.includeInvisible||!1,a=t.intersect?zs(e,n,o,s,r):Bs(e,n,o,!1,s,r);if(a.length>0){let l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let h=0;ht.pos===i)}function Oo(e,i){return e.filter(t=>vr.indexOf(t.pos)===-1&&t.box.axis===i)}function Ee(e,i){return e.sort((t,s)=>{let n=i?s:t,o=i?t:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function fh(e){let i=[],t,s,n,o,r,a;for(t=0,s=(e||[]).length;tc.box.fullSize),!0),s=Ee(Ie(i,"left"),!0),n=Ee(Ie(i,"right")),o=Ee(Ie(i,"top"),!0),r=Ee(Ie(i,"bottom")),a=Oo(i,"x"),l=Oo(i,"y");return{fullSize:t,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(r).concat(a),chartArea:Ie(i,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(r).concat(a)}}function Ao(e,i,t,s){return Math.max(e[t],i[t])+Math.max(e[s],i[s])}function Mr(e,i){e.top=Math.max(e.top,i.top),e.left=Math.max(e.left,i.left),e.bottom=Math.max(e.bottom,i.bottom),e.right=Math.max(e.right,i.right)}function gh(e,i,t,s){let{pos:n,box:o}=t,r=e.maxPadding;if(!A(n)){t.size&&(e[n]-=t.size);let f=s[t.stack]||{size:0,count:1};f.size=Math.max(f.size,t.horizontal?o.height:o.width),t.size=f.size/f.count,e[n]+=t.size}o.getPadding&&Mr(r,o.getPadding());let a=Math.max(0,i.outerWidth-Ao(r,e,"left","right")),l=Math.max(0,i.outerHeight-Ao(r,e,"top","bottom")),c=a!==e.w,h=l!==e.h;return e.w=a,e.h=l,t.horizontal?{same:c,other:h}:{same:h,other:c}}function mh(e){let i=e.maxPadding;function t(s){let n=Math.max(i[s]-e[s],0);return e[s]+=n,n}e.y+=t("top"),e.x+=t("left"),t("right"),t("bottom")}function xh(e,i){let t=i.maxPadding;function s(n){let o={left:0,top:0,right:0,bottom:0};return n.forEach(r=>{o[r]=Math.max(i[r],t[r])}),o}return s(e?["left","right"]:["top","bottom"])}function Be(e,i,t,s){let n=[],o,r,a,l,c,h;for(o=0,r=e.length,c=0;o{typeof g.beforeLayout=="function"&&g.beforeLayout()});let h=l.reduce((g,m)=>m.box.options&&m.box.options.display===!1?g:g+1,0)||1,f=Object.freeze({outerWidth:i,outerHeight:t,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),d=Object.assign({},n);Mr(d,K(s));let u=Object.assign({maxPadding:d,w:o,h:r,x:n.left,y:n.top},n),p=uh(l.concat(c),f);Be(a.fullSize,u,f,p),Be(l,u,f,p),Be(c,u,f,p)&&Be(l,u,f,p),mh(u),Do(a.leftAndTop,u,f,p),u.x+=u.w,u.y+=u.h,Do(a.rightAndBottom,u,f,p),e.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h,height:u.h,width:u.w},L(a.chartArea,g=>{let m=g.box;Object.assign(m,e.chartArea),m.update(u.w,u.h,{left:0,top:0,right:0,bottom:0})})}},Li=class{acquireContext(i,t){}releaseContext(i){return!1}addEventListener(i,t,s){}removeEventListener(i,t,s){}getDevicePixelRatio(){return 1}getMaximumSize(i,t,s,n){return t=Math.max(0,t||i.width),s=s||i.height,{width:t,height:Math.max(0,n?Math.floor(t/n):s)}}isAttached(i){return!0}updateConfig(i){}},Ys=class extends Li{acquireContext(i){return i&&i.getContext&&i.getContext("2d")||null}updateConfig(i){i.options.animation=!1}},Ai="$chartjs",bh={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},To=e=>e===null||e==="";function _h(e,i){let t=e.style,s=e.getAttribute("height"),n=e.getAttribute("width");if(e[Ai]={initial:{height:s,width:n,style:{display:t.display,height:t.height,width:t.width}}},t.display=t.display||"block",t.boxSizing=t.boxSizing||"border-box",To(n)){let o=As(e,"width");o!==void 0&&(e.width=o)}if(To(s))if(e.style.height==="")e.height=e.width/(i||2);else{let o=As(e,"height");o!==void 0&&(e.height=o)}return e}var wr=fo?{passive:!0}:!1;function yh(e,i,t){e&&e.addEventListener(i,t,wr)}function vh(e,i,t){e&&e.canvas&&e.canvas.removeEventListener(i,t,wr)}function Mh(e,i){let t=bh[e.type]||e.type,{x:s,y:n}=Tt(e,i);return{type:t,chart:i,native:e,x:s!==void 0?s:null,y:n!==void 0?n:null}}function Ri(e,i){for(let t of e)if(t===i||t.contains(i))return!0}function wh(e,i,t){let s=e.canvas,n=new MutationObserver(o=>{let r=!1;for(let a of o)r=r||Ri(a.addedNodes,s),r=r&&!Ri(a.removedNodes,s);r&&t()});return n.observe(document,{childList:!0,subtree:!0}),n}function Sh(e,i,t){let s=e.canvas,n=new MutationObserver(o=>{let r=!1;for(let a of o)r=r||Ri(a.removedNodes,s),r=r&&!Ri(a.addedNodes,s);r&&t()});return n.observe(document,{childList:!0,subtree:!0}),n}var Ne=new Map,Lo=0;function Sr(){let e=window.devicePixelRatio;e!==Lo&&(Lo=e,Ne.forEach((i,t)=>{t.currentDevicePixelRatio!==e&&i()}))}function kh(e,i){Ne.size||window.addEventListener("resize",Sr),Ne.set(e,i)}function Ch(e){Ne.delete(e),Ne.size||window.removeEventListener("resize",Sr)}function Ph(e,i,t){let s=e.canvas,n=s&&yi(s);if(!n)return;let o=ms((a,l)=>{let c=n.clientWidth;t(a,l),c{let l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(n),kh(e,o),r}function js(e,i,t){t&&t.disconnect(),i==="resize"&&Ch(e)}function Oh(e,i,t){let s=e.canvas,n=ms(o=>{e.ctx!==null&&t(Mh(o,e))},e);return yh(s,i,n),n}var Xs=class extends Li{acquireContext(i,t){let s=i&&i.getContext&&i.getContext("2d");return s&&s.canvas===i?(_h(i,t),s):null}releaseContext(i){let t=i.canvas;if(!t[Ai])return!1;let s=t[Ai].initial;["height","width"].forEach(o=>{let r=s[o];T(r)?t.removeAttribute(o):t.setAttribute(o,r)});let n=s.style||{};return Object.keys(n).forEach(o=>{t.style[o]=n[o]}),t.width=t.width,delete t[Ai],!0}addEventListener(i,t,s){this.removeEventListener(i,t);let n=i.$proxies||(i.$proxies={}),r={attach:wh,detach:Sh,resize:Ph}[t]||Oh;n[t]=r(i,t,s)}removeEventListener(i,t){let s=i.$proxies||(i.$proxies={}),n=s[t];if(!n)return;({attach:js,detach:js,resize:js}[t]||vh)(i,t,n),s[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(i,t,s,n){return ho(i,t,s,n)}isAttached(i){let t=i&&yi(i);return!!(t&&t.isConnected)}};function Ah(e){return!_i()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?Ys:Xs}var lt=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(i){let{x:t,y:s}=this.getProps(["x","y"],i);return{x:t,y:s}}hasValue(){return $t(this.x)&&$t(this.y)}getProps(i,t){let s=this.$animations;if(!t||!s)return this;let n={};return i.forEach(o=>{n[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),n}};function Dh(e,i){let t=e.options.ticks,s=Th(e),n=Math.min(t.maxTicksLimit||s,s),o=t.major.enabled?Rh(i):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>n)return Ih(i,c,o,r/n),c;let h=Lh(o,i,n);if(r>0){let f,d,u=r>1?Math.round((l-a)/(r-1)):null;for(wi(i,c,h,T(u)?0:a-u,a),f=0,d=r-1;fn)return l}return Math.max(n,1)}function Rh(e){let i=[],t,s;for(t=0,s=e.length;te==="left"?"right":e==="right"?"left":e,Ro=(e,i,t)=>i==="top"||i==="left"?e[i]+t:e[i]-t,Io=(e,i)=>Math.min(i||e,e);function Eo(e,i){let t=[],s=e.length/i,n=e.length,o=0;for(;or+a)))return l}function Bh(e,i){L(e,t=>{let s=t.gc,n=s.length/2,o;if(n>i){for(o=0;os?s:t,s=n&&t>s?t:s,{min:J(t,J(s,t)),max:J(s,J(t,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let i=this.chart.data;return this.options.labels||(this.isHorizontal()?i.xLabels:i.yLabels)||i.labels||[]}getLabelItems(i=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(i))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){I(this.options.beforeUpdate,[this])}update(i,t,s){let{beginAtZero:n,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=i,this.maxHeight=t,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=no(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}let h=this._getLabelSizes(),f=h.widest.width,d=h.highest.height,u=U(this.chart.width-f,0,this.maxWidth);a=i.offset?this.maxWidth/s:u/(s-1),f+6>a&&(a=u/(s-(i.offset?.5:1)),l=this.maxHeight-Fe(i.grid)-t.padding-Fo(i.title,this.chart.options.font),c=Math.sqrt(f*f+d*d),r=di(Math.min(Math.asin(U((h.highest.height+6)/a,-1,1)),Math.asin(U(l/c,-1,1))-Math.asin(U(d/c,-1,1)))),r=Math.max(n,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){I(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){I(this.options.beforeFit,[this])}fit(){let i={width:0,height:0},{chart:t,options:{ticks:s,title:n,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){let l=Fo(n,t.options.font);if(a?(i.width=this.maxWidth,i.height=Fe(o)+l):(i.height=this.maxHeight,i.width=Fe(o)+l),s.display&&this.ticks.length){let{first:c,last:h,widest:f,highest:d}=this._getLabelSizes(),u=s.padding*2,p=nt(this.labelRotation),g=Math.cos(p),m=Math.sin(p);if(a){let b=s.mirror?0:m*f.width+g*d.height;i.height=Math.min(this.maxHeight,i.height+b+u)}else{let b=s.mirror?0:g*f.width+m*d.height;i.width=Math.min(this.maxWidth,i.width+b+u)}this._calculatePadding(c,h,m,g)}}this._handleMargins(),a?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=i.height):(this.width=i.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(i,t,s,n){let{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){let h=this.getPixelForTick(0)-this.left,f=this.right-this.getPixelForTick(this.ticks.length-1),d=0,u=0;l?c?(d=n*i.width,u=s*t.height):(d=s*i.height,u=n*t.width):o==="start"?u=t.width:o==="end"?d=i.width:o!=="inner"&&(d=i.width/2,u=t.width/2),this.paddingLeft=Math.max((d-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((u-f+r)*this.width/(this.width-f),0)}else{let h=t.height/2,f=i.height/2;o==="start"?(h=0,f=i.height):o==="end"&&(h=t.height,f=0),this.paddingTop=h+r,this.paddingBottom=f+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){I(this.options.afterFit,[this])}isHorizontal(){let{axis:i,position:t}=this.options;return t==="top"||t==="bottom"||i==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(i){this.beforeTickToLabelConversion(),this.generateTickLabels(i);let t,s;for(t=0,s=i.length;t({width:r[k]||0,height:a[k]||0});return{first:w(0),last:w(t-1),widest:w(v),highest:w(S),widths:r,heights:a}}getLabelForValue(i){return i}getPixelForValue(i,t){return NaN}getValueForPixel(i){}getPixelForTick(i){let t=this.ticks;return i<0||i>t.length-1?null:this.getPixelForValue(t[i].value)}getPixelForDecimal(i){this._reversePixels&&(i=1-i);let t=this._startPixel+i*this._length;return Xn(this._alignToPixels?Ot(this.chart,t,0):t)}getDecimalForPixel(i){let t=(i-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:i,max:t}=this;return i<0&&t<0?t:i>0&&t>0?i:0}getContext(i){let t=this.ticks||[];if(i>=0&&ia*n?a/s:l/n:l*n0}_computeGridLineItems(i){let t=this.axis,s=this.chart,n=this.options,{grid:o,position:r,border:a}=n,l=o.offset,c=this.isHorizontal(),f=this.ticks.length+(l?1:0),d=Fe(o),u=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,m=g/2,b=function(N){return Ot(s,N,g)},x,y,M,_,v,S,w,k,O,P,D,Y;if(r==="top")x=b(this.bottom),S=this.bottom-d,k=x-m,P=b(i.top)+m,Y=i.bottom;else if(r==="bottom")x=b(this.top),P=i.top,Y=b(i.bottom)-m,S=x+m,k=this.top+d;else if(r==="left")x=b(this.right),v=this.right-d,w=x-m,O=b(i.left)+m,D=i.right;else if(r==="right")x=b(this.left),O=i.left,D=b(i.right)-m,v=x+m,w=this.left+d;else if(t==="x"){if(r==="center")x=b((i.top+i.bottom)/2+.5);else if(A(r)){let N=Object.keys(r)[0],H=r[N];x=b(this.chart.scales[N].getPixelForValue(H))}P=i.top,Y=i.bottom,S=x+m,k=S+d}else if(t==="y"){if(r==="center")x=b((i.left+i.right)/2);else if(A(r)){let N=Object.keys(r)[0],H=r[N];x=b(this.chart.scales[N].getPixelForValue(H))}v=x-m,w=v-d,O=i.left,D=i.right}let it=C(n.ticks.maxTicksLimit,f),R=Math.max(1,Math.ceil(f/it));for(y=0;y0&&(Nt-=jt/2);break}Ge={left:Nt,top:Me,width:jt+Gt.width,height:ve+Gt.height,color:R.backdropColor}}m.push({label:M,font:k,textOffset:D,options:{rotation:g,color:H,strokeColor:rt,strokeWidth:q,textAlign:qt,textBaseline:Y,translation:[_,v],backdrop:Ge}})}return m}_getXAxisLabelAlignment(){let{position:i,ticks:t}=this.options;if(-nt(this.labelRotation))return i==="top"?"left":"right";let n="center";return t.align==="start"?n="left":t.align==="end"?n="right":t.align==="inner"&&(n="inner"),n}_getYAxisLabelAlignment(i){let{position:t,ticks:{crossAlign:s,mirror:n,padding:o}}=this.options,r=this._getLabelSizes(),a=i+o,l=r.widest.width,c,h;return t==="left"?n?(h=this.right+o,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h+=l)):(h=this.right-a,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h=this.left)):t==="right"?n?(h=this.left+o,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h-=l)):(h=this.left+a,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h=this.right)):c="right",{textAlign:c,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;let i=this.chart,t=this.options.position;if(t==="left"||t==="right")return{top:0,left:this.left,bottom:i.height,right:this.right};if(t==="top"||t==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:i.width}}drawBackground(){let{ctx:i,options:{backgroundColor:t},left:s,top:n,width:o,height:r}=this;t&&(i.save(),i.fillStyle=t,i.fillRect(s,n,o,r),i.restore())}getLineWidthForValue(i){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(o=>o.value===i);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(i){let t=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(i)),o,r,a=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(t.display)for(o=0,r=n.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:t,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(i){let t=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[],o,r;for(o=0,r=t.length;o{let s=t.split("."),n=s.pop(),o=[e].concat(s).join("."),r=i[t].split("."),a=r.pop(),l=r.join(".");B.route(o,n,l,a)})}function Uh(e){return"id"in e&&"defaults"in e}var Ks=class{constructor(){this.controllers=new ce(Rt,"datasets",!0),this.elements=new ce(lt,"elements"),this.plugins=new ce(Object,"plugins"),this.scales=new ce(Kt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...i){this._each("register",i)}remove(...i){this._each("unregister",i)}addControllers(...i){this._each("register",i,this.controllers)}addElements(...i){this._each("register",i,this.elements)}addPlugins(...i){this._each("register",i,this.plugins)}addScales(...i){this._each("register",i,this.scales)}getController(i){return this._get(i,this.controllers,"controller")}getElement(i){return this._get(i,this.elements,"element")}getPlugin(i){return this._get(i,this.plugins,"plugin")}getScale(i){return this._get(i,this.scales,"scale")}removeControllers(...i){this._each("unregister",i,this.controllers)}removeElements(...i){this._each("unregister",i,this.elements)}removePlugins(...i){this._each("unregister",i,this.plugins)}removeScales(...i){this._each("unregister",i,this.scales)}_each(i,t,s){[...t].forEach(n=>{let o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(i,o,n):L(n,r=>{let a=s||this._getRegistryForType(r);this._exec(i,a,r)})})}_exec(i,t,s){let n=fi(i);I(s["before"+n],[],s),t[i](s),I(s["after"+n],[],s)}_getRegistryForType(i){for(let t=0;to.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(n(t,s),i,"stop"),this._notify(n(s,t),i,"start")}};function Yh(e){let i={},t=[],s=Object.keys(pt.plugins.items);for(let o=0;o1&&zo(e[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Bo(e,i,t){if(t[i+"AxisID"]===e)return{axis:i}}function Qh(e,i){if(i.data&&i.data.datasets){let t=i.data.datasets.filter(s=>s.xAxisID===e||s.yAxisID===e);if(t.length)return Bo(e,"x",t[0])||Bo(e,"y",t[0])}return{}}function tf(e,i){let t=Pt[e.type]||{scales:{}},s=i.scales||{},n=Gs(e.type,i),o=Object.create(null);return Object.keys(s).forEach(r=>{let a=s[r];if(!A(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);let l=Zs(r,a,Qh(r,e),B.scales[a.type]),c=Zh(l,n),h=t.scales||{};o[r]=ee(Object.create(null),[{axis:l},a,h[l],h[c]])}),e.data.datasets.forEach(r=>{let a=r.type||e.type,l=r.indexAxis||Gs(a,i),h=(Pt[a]||{}).scales||{};Object.keys(h).forEach(f=>{let d=Gh(f,l),u=r[d+"AxisID"]||d;o[u]=o[u]||Object.create(null),ee(o[u],[{axis:d},s[u],h[f]])})}),Object.keys(o).forEach(r=>{let a=o[r];ee(a,[B.scales[a.type],B.scale])}),o}function kr(e){let i=e.options||(e.options={});i.plugins=C(i.plugins,{}),i.scales=tf(e,i)}function Cr(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function ef(e){return e=e||{},e.data=Cr(e.data),kr(e),e}var jo=new Map,Pr=new Set;function Si(e,i){let t=jo.get(e);return t||(t=i(),jo.set(e,t),Pr.add(t)),t}var ze=(e,i,t)=>{let s=_t(i,t);s!==void 0&&e.add(s)},Js=class{constructor(i){this._config=ef(i),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(i){this._config.type=i}get data(){return this._config.data}set data(i){this._config.data=Cr(i)}get options(){return this._config.options}set options(i){this._config.options=i}get plugins(){return this._config.plugins}update(){let i=this._config;this.clearCache(),kr(i)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(i){return Si(i,()=>[[`datasets.${i}`,""]])}datasetAnimationScopeKeys(i,t){return Si(`${i}.transition.${t}`,()=>[[`datasets.${i}.transitions.${t}`,`transitions.${t}`],[`datasets.${i}`,""]])}datasetElementScopeKeys(i,t){return Si(`${i}-${t}`,()=>[[`datasets.${i}.elements.${t}`,`datasets.${i}`,`elements.${t}`,""]])}pluginScopeKeys(i){let t=i.id,s=this.type;return Si(`${s}-plugin-${t}`,()=>[[`plugins.${t}`,...i.additionalOptionScopes||[]]])}_cachedScopes(i,t){let s=this._scopeCache,n=s.get(i);return(!n||t)&&(n=new Map,s.set(i,n)),n}getOptionScopes(i,t,s){let{options:n,type:o}=this,r=this._cachedScopes(i,s),a=r.get(t);if(a)return a;let l=new Set;t.forEach(h=>{i&&(l.add(i),h.forEach(f=>ze(l,i,f))),h.forEach(f=>ze(l,n,f)),h.forEach(f=>ze(l,Pt[o]||{},f)),h.forEach(f=>ze(l,B,f)),h.forEach(f=>ze(l,gi,f))});let c=Array.from(l);return c.length===0&&c.push(Object.create(null)),Pr.has(t)&&r.set(t,c),c}chartOptionScopes(){let{options:i,type:t}=this;return[i,Pt[t]||{},B.datasets[t]||{},{type:t},B,gi]}resolveNamedOptions(i,t,s,n=[""]){let o={$shared:!0},{resolver:r,subPrefixes:a}=No(this._resolverCache,i,n),l=r;if(nf(r,t)){o.$shared=!1,s=xt(s)?s():s;let c=this.createResolver(i,s,a);l=Ht(r,s,c)}for(let c of t)o[c]=l[c];return o}createResolver(i,t,s=[""],n){let{resolver:o}=No(this._resolverCache,i,s);return A(t)?Ht(o,t,void 0,n):o}};function No(e,i,t){let s=e.get(i);s||(s=new Map,e.set(i,s));let n=t.join(),o=s.get(n);return o||(o={resolver:bi(i,t),subPrefixes:t.filter(a=>!a.toLowerCase().includes("hover"))},s.set(n,o)),o}var sf=e=>A(e)&&Object.getOwnPropertyNames(e).some(i=>xt(e[i]));function nf(e,i){let{isScriptable:t,isIndexable:s}=Ss(e);for(let n of i){let o=t(n),r=s(n),a=(r||o)&&e[n];if(o&&(xt(a)||sf(a))||r&&E(a))return!0}return!1}var of="4.4.4",rf=["top","bottom","left","right","chartArea"];function Wo(e,i){return e==="top"||e==="bottom"||rf.indexOf(e)===-1&&i==="x"}function Vo(e,i){return function(t,s){return t[e]===s[e]?t[i]-s[i]:t[e]-s[e]}}function Ho(e){let i=e.chart,t=i.options.animation;i.notifyPlugins("afterRender"),I(t&&t.onComplete,[e],i)}function af(e){let i=e.chart,t=i.options.animation;I(t&&t.onProgress,[e],i)}function Or(e){return _i()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var Di={},$o=e=>{let i=Or(e);return Object.values(Di).filter(t=>t.canvas===i).pop()};function lf(e,i,t){let s=Object.keys(e);for(let n of s){let o=+n;if(o>=i){let r=e[n];delete e[n],(t>0||o>i)&&(e[o+t]=r)}}}function cf(e,i,t,s){return!t||e.type==="mouseout"?null:s?i:e}function ki(e,i,t){return e.options.clip?e[t]:i[t]}function hf(e,i){let{xScale:t,yScale:s}=e;return t&&s?{left:ki(t,i,"left"),right:ki(t,i,"right"),top:ki(s,i,"top"),bottom:ki(s,i,"bottom")}:i}var zi=(()=>{class e{static defaults=B;static instances=Di;static overrides=Pt;static registry=pt;static version=of;static getChart=$o;static register(...t){pt.add(...t),Uo()}static unregister(...t){pt.remove(...t),Uo()}constructor(t,s){let n=this.config=new Js(s),o=Or(t),r=$o(o);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||Ah(o)),this.platform.updateConfig(n);let l=this.platform.acquireContext(o,a.aspectRatio),c=l&&l.canvas,h=c&&c.height,f=c&&c.width;if(this.id=Wn(),this.ctx=l,this.canvas=c,this.width=f,this.height=h,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new qs,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Jn(d=>this.update(d),a.resizeDelay||0),this._dataChanges=[],Di[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}vt.listen(this,"complete",Ho),vt.listen(this,"progress",af),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:t,maintainAspectRatio:s},width:n,height:o,_aspectRatio:r}=this;return T(t)?s&&r?r:o?n/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return pt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Os(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return vs(this.canvas,this.ctx),this}stop(){return vt.stop(this),this}resize(t,s){vt.running(this)?this._resizeBeforeDraw={width:t,height:s}:this._resize(t,s)}_resize(t,s){let n=this.options,o=this.canvas,r=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(o,t,s,r),l=n.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,Os(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),I(n.onResize,[this,a],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){let s=this.options.scales||{};L(s,(n,o)=>{n.id=o})}buildOrUpdateScales(){let t=this.options,s=t.scales,n=this.scales,o=Object.keys(n).reduce((a,l)=>(a[l]=!1,a),{}),r=[];s&&(r=r.concat(Object.keys(s).map(a=>{let l=s[a],c=Zs(a,l),h=c==="r",f=c==="x";return{options:l,dposition:h?"chartArea":f?"bottom":"left",dtype:h?"radialLinear":f?"category":"linear"}}))),L(r,a=>{let l=a.options,c=l.id,h=Zs(c,l),f=C(l.type,a.dtype);(l.position===void 0||Wo(l.position,h)!==Wo(a.dposition))&&(l.position=a.dposition),o[c]=!0;let d=null;if(c in n&&n[c].type===f)d=n[c];else{let u=pt.getScale(f);d=new u({id:c,type:f,ctx:this.ctx,chart:this}),n[d.id]=d}d.init(l,t)}),L(o,(a,l)=>{a||delete n[l]}),L(n,a=>{G.configure(this,a,a.options),G.addBox(this,a)})}_updateMetasets(){let t=this._metasets,s=this.data.datasets.length,n=t.length;if(t.sort((o,r)=>o.index-r.index),n>s){for(let o=s;os.length&&delete this._stacks,t.forEach((n,o)=>{s.filter(r=>r===n._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){let t=[],s=this.data.datasets,n,o;for(this._removeUnreferencedMetasets(),n=0,o=s.length;n{this.getDatasetMeta(s).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){let s=this.config;s.update();let n=this._options=s.createResolver(s.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;let r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let h=0,f=this.data.datasets.length;h{h.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Vo("z","_idx"));let{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){L(this.scales,t=>{G.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let t=this.options,s=new Set(Object.keys(this._listeners)),n=new Set(t.events);(!ls(s,n)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:t}=this,s=this._getUniformDataChanges()||[];for(let{method:n,start:o,count:r}of s){let a=n==="_removeElements"?-r:r;lf(t,o,a)}}_getUniformDataChanges(){let t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];let s=this.data.datasets.length,n=r=>new Set(t.filter(a=>a[0]===r).map((a,l)=>l+","+a.splice(1).join(","))),o=n(0);for(let r=1;rr.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;G.update(this,this.width,this.height,t);let s=this.chartArea,n=s.width<=0||s.height<=0;this._layers=[],L(this.boxes,o=>{n&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,r)=>{o._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let s=0,n=this.data.datasets.length;s=0;--s)this._drawDataset(t[s]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){let s=this.ctx,n=t._clip,o=!n.disabled,r=hf(t,this.chartArea),a={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(o&&Te(s,{left:n.left===!1?0:r.left-n.left,right:n.right===!1?this.width:r.right+n.right,top:n.top===!1?0:r.top-n.top,bottom:n.bottom===!1?this.height:r.bottom+n.bottom}),t.controller.draw(),o&&Le(s),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return ht(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,s,n,o){let r=hh.modes[s];return typeof r=="function"?r(this,t,n,o):[]}getDatasetMeta(t){let s=this.data.datasets[t],n=this._metasets,o=n.filter(r=>r&&r._dataset===s).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:s&&s.order||0,index:t,_dataset:s,_parsed:[],_sorted:!1},n.push(o)),o}getContext(){return this.$context||(this.$context=yt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){let s=this.data.datasets[t];if(!s)return!1;let n=this.getDatasetMeta(t);return typeof n.hidden=="boolean"?!n.hidden:!s.hidden}setDatasetVisibility(t,s){let n=this.getDatasetMeta(t);n.hidden=!s}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,s,n){let o=n?"show":"hide",r=this.getDatasetMeta(t),a=r.controller._resolveAnimations(void 0,o);ie(s)?(r.data[s].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),a.update(r,{visible:n}),this.update(l=>l.datasetIndex===t?o:void 0))}hide(t,s){this._updateVisibility(t,s,!1)}show(t,s){this._updateVisibility(t,s,!0)}_destroyDatasetMeta(t){let s=this._metasets[t];s&&s.controller&&s.controller._destroy(),delete this._metasets[t]}_stop(){let t,s;for(this.stop(),vt.remove(this),t=0,s=this.data.datasets.length;t{s.addEventListener(this,r,a),t[r]=a},o=(r,a,l)=>{r.offsetX=a,r.offsetY=l,this._eventHandler(r)};L(this.options.events,r=>n(r,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});let t=this._responsiveListeners,s=this.platform,n=(c,h)=>{s.addEventListener(this,c,h),t[c]=h},o=(c,h)=>{t[c]&&(s.removeEventListener(this,c,h),delete t[c])},r=(c,h)=>{this.canvas&&this.resize(c,h)},a,l=()=>{o("attach",l),this.attached=!0,this.resize(),n("resize",r),n("detach",a)};a=()=>{this.attached=!1,o("resize",r),this._stop(),this._resize(0,0),n("attach",l)},s.isAttached(this.canvas)?l():a()}unbindEvents(){L(this._listeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._listeners={},L(this._responsiveListeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,s,n){let o=n?"set":"remove",r,a,l,c;for(s==="dataset"&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+o+"DatasetHoverStyle"]()),l=0,c=t.length;l{let l=this.getDatasetMeta(r);if(!l)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:l.data[a],index:a}});!Ae(n,s)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,s))}notifyPlugins(t,s,n){return this._plugins.notify(this,t,s,n)}isPluginEnabled(t){return this._plugins._cache.filter(s=>s.plugin.id===t).length===1}_updateHoverStyles(t,s,n){let o=this.options.hover,r=(c,h)=>c.filter(f=>!h.some(d=>f.datasetIndex===d.datasetIndex&&f.index===d.index)),a=r(s,t),l=n?t:r(t,s);a.length&&this.updateHoverStyle(a,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(t,s){let n={event:t,replay:s,cancelable:!0,inChartArea:this.isPointInArea(t)},o=a=>(a.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",n,o)===!1)return;let r=this._handleEvent(t,s,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,o),(r||n.changed)&&this.render(),this}_handleEvent(t,s,n){let{_active:o=[],options:r}=this,a=s,l=this._getActiveElements(t,o,n,a),c=$n(t),h=cf(t,this._lastEvent,n,c);n&&(this._lastEvent=null,I(r.onHover,[t,l,this],this),c&&I(r.onClick,[t,l,this],this));let f=!Ae(l,o);return(f||s)&&(this._active=l,this._updateHoverStyles(l,o,s)),this._lastEvent=h,f}_getActiveElements(t,s,n,o){if(t.type==="mouseout")return[];if(!n)return s;let r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,o)}}return e})();function Uo(){return L(zi.instances,e=>e._plugins.invalidate())}function ff(e,i,t){let{startAngle:s,pixelMargin:n,x:o,y:r,outerRadius:a,innerRadius:l}=i,c=n/a;e.beginPath(),e.arc(o,r,a,s-c,t+c),l>n?(c=n/l,e.arc(o,r,l,t+c,s-c,!0)):e.arc(o,r,n,t+V,s-V),e.closePath(),e.clip()}function df(e){return xi(e,["outerStart","outerEnd","innerStart","innerEnd"])}function uf(e,i,t,s){let n=df(e.options.borderRadius),o=(t-i)/2,r=Math.min(o,s*i/2),a=l=>{let c=(t-Math.min(o,l))*s/2;return U(l,0,Math.min(o,c))};return{outerStart:a(n.outerStart),outerEnd:a(n.outerEnd),innerStart:U(n.innerStart,0,r),innerEnd:U(n.innerEnd,0,r)}}function le(e,i,t,s){return{x:t+e*Math.cos(i),y:s+e*Math.sin(i)}}function Ii(e,i,t,s,n,o){let{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:h}=i,f=Math.max(i.outerRadius+s+t-c,0),d=h>0?h+s+t+c:0,u=0,p=n-l;if(s){let R=h>0?h-s:0,N=f>0?f-s:0,H=(R+N)/2,rt=H!==0?p*H/(H+s):p;u=(p-rt)/2}let g=Math.max(.001,p*f-t/F)/f,m=(p-g)/2,b=l+m+u,x=n-m-u,{outerStart:y,outerEnd:M,innerStart:_,innerEnd:v}=uf(i,d,f,x-b),S=f-y,w=f-M,k=b+y/S,O=x-M/w,P=d+_,D=d+v,Y=b+_/P,it=x-v/D;if(e.beginPath(),o){let R=(k+O)/2;if(e.arc(r,a,f,k,R),e.arc(r,a,f,R,O),M>0){let q=le(w,O,r,a);e.arc(q.x,q.y,M,O,x+V)}let N=le(D,x,r,a);if(e.lineTo(N.x,N.y),v>0){let q=le(D,it,r,a);e.arc(q.x,q.y,v,x+V,it+Math.PI)}let H=(x-v/d+(b+_/d))/2;if(e.arc(r,a,d,x-v/d,H,!0),e.arc(r,a,d,H,b+_/d,!0),_>0){let q=le(P,Y,r,a);e.arc(q.x,q.y,_,Y+Math.PI,b-V)}let rt=le(S,b,r,a);if(e.lineTo(rt.x,rt.y),y>0){let q=le(S,k,r,a);e.arc(q.x,q.y,y,b-V,k)}}else{e.moveTo(r,a);let R=Math.cos(k)*f+r,N=Math.sin(k)*f+a;e.lineTo(R,N);let H=Math.cos(O)*f+r,rt=Math.sin(O)*f+a;e.lineTo(H,rt)}e.closePath()}function pf(e,i,t,s,n){let{fullCircles:o,startAngle:r,circumference:a}=i,l=i.endAngle;if(o){Ii(e,i,t,s,l,n);for(let c=0;ci!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(i){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,i&&Object.assign(this,i)}inRange(i,t,s){let n=this.getProps(["x","y"],s),{angle:o,distance:r}=ds(n,{x:i,y:t}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:h,circumference:f}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),d=(this.options.spacing+this.options.borderWidth)/2,u=C(f,l-a),p=ne(o,a,l)&&a!==l,g=u>=z||p,m=dt(r,c+d,h+d);return g&&m}getCenterPoint(i){let{x:t,y:s,startAngle:n,endAngle:o,innerRadius:r,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],i),{offset:l,spacing:c}=this.options,h=(n+o)/2,f=(r+a+c+l)/2;return{x:t+Math.cos(h)*f,y:s+Math.sin(h)*f}}tooltipPosition(i){return this.getCenterPoint(i)}draw(i){let{options:t,circumference:s}=this,n=(t.offset||0)/4,o=(t.spacing||0)/2,r=t.circular;if(this.pixelMargin=t.borderAlign==="inner"?.33:0,this.fullCircles=s>z?Math.floor(s/z):0,s===0||this.innerRadius<0||this.outerRadius<0)return;i.save();let a=(this.startAngle+this.endAngle)/2;i.translate(Math.cos(a)*n,Math.sin(a)*n);let l=1-Math.sin(Math.min(F,s||0)),c=n*l;i.fillStyle=t.backgroundColor,i.strokeStyle=t.borderColor,pf(i,this,c,o,r),gf(i,this,c,o,r),i.restore()}};function Ar(e,i,t=i){e.lineCap=C(t.borderCapStyle,i.borderCapStyle),e.setLineDash(C(t.borderDash,i.borderDash)),e.lineDashOffset=C(t.borderDashOffset,i.borderDashOffset),e.lineJoin=C(t.borderJoinStyle,i.borderJoinStyle),e.lineWidth=C(t.borderWidth,i.borderWidth),e.strokeStyle=C(t.borderColor,i.borderColor)}function mf(e,i,t){e.lineTo(t.x,t.y)}function xf(e){return e.stepped?io:e.tension||e.cubicInterpolationMode==="monotone"?so:mf}function Dr(e,i,t={}){let s=e.length,{start:n=0,end:o=s-1}=t,{start:r,end:a}=i,l=Math.max(n,r),c=Math.min(o,a),h=na&&o>a;return{count:s,start:l,loop:i.loop,ilen:c(r+(c?a-M:M))%o,y=()=>{g!==m&&(e.lineTo(h,m),e.lineTo(h,g),e.lineTo(h,b))};for(l&&(u=n[x(0)],e.moveTo(u.x,u.y)),d=0;d<=a;++d){if(u=n[x(d)],u.skip)continue;let M=u.x,_=u.y,v=M|0;v===p?(_m&&(m=_),h=(f*h+M)/++f):(y(),e.lineTo(M,_),p=v,f=0,g=m=_),b=_}y()}function tn(e){let i=e.options,t=i.borderDash&&i.borderDash.length;return!e._decimated&&!e._loop&&!i.tension&&i.cubicInterpolationMode!=="monotone"&&!i.stepped&&!t?_f:bf}function yf(e){return e.stepped?uo:e.tension||e.cubicInterpolationMode==="monotone"?po:Ct}function vf(e,i,t,s){let n=i._path;n||(n=i._path=new Path2D,i.path(n,t,s)&&n.closePath()),Ar(e,i.options),e.stroke(n)}function Mf(e,i,t,s){let{segments:n,options:o}=i,r=tn(i);for(let a of n)Ar(e,o,a.style),e.beginPath(),r(e,i,a,{start:t,end:t+s-1})&&e.closePath(),e.stroke()}var wf=typeof Path2D=="function";function Sf(e,i,t,s){wf&&!i.options.segment?vf(e,i,t,s):Mf(e,i,t,s)}var Bi=(()=>{class e extends lt{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,s){let n=this.options;if((n.tension||n.cubicInterpolationMode==="monotone")&&!n.stepped&&!this._pointsUpdated){let o=n.spanGaps?this._loop:this._fullLoop;co(this._points,n,t,o,s),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=mo(this,this.options.segment))}first(){let t=this.segments,s=this.points;return t.length&&s[t[0].start]}last(){let t=this.segments,s=this.points,n=t.length;return n&&s[t[n-1].end]}interpolate(t,s){let n=this.options,o=t[s],r=this.points,a=Rs(this,{property:s,start:o,end:o});if(!a.length)return;let l=[],c=yf(n),h,f;for(h=0,f=a.length;h{class e extends lt{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,s,n){let o=this.options,{x:r,y:a}=this.getProps(["x","y"],n);return Math.pow(t-r,2)+Math.pow(s-a,2)e.replace("rgb(","rgba(").replace(")",", 0.5)"));function Lr(e){return sn[e%sn.length]}function Rr(e){return Xo[e%Xo.length]}function Lf(e,i){return e.borderColor=Lr(i),e.backgroundColor=Rr(i),++i}function Rf(e,i){return e.backgroundColor=e.data.map(()=>Lr(i++)),i}function If(e,i){return e.backgroundColor=e.data.map(()=>Rr(i++)),i}function Ef(e){let i=0;return(t,s)=>{let n=e.getDatasetMeta(s).controller;n instanceof fn?i=Rf(t,i):n instanceof yr?i=If(t,i):n&&(i=Lf(t,i))}}function Ko(e){let i;for(i in e)if(e[i].borderColor||e[i].backgroundColor)return!0;return!1}function Ff(e){return e&&(e.borderColor||e.backgroundColor)}var zf={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,i,t){if(!t.enabled)return;let{data:{datasets:s},options:n}=e.config,{elements:o}=n;if(!t.forceOverride&&(Ko(s)||Ff(n)||o&&Ko(o)))return;let r=Ef(e);s.forEach(r)}};function Bf(e,i,t,s,n){let o=n.samples||s;if(o>=t)return e.slice(i,i+t);let r=[],a=(t-2)/(o-2),l=0,c=i+t-1,h=i,f,d,u,p,g;for(r[l++]=e[h],f=0;fu&&(u=p,d=e[x],g=x);r[l++]=d,h=g}return r[l++]=e[c],r}function jf(e,i,t,s){let n=0,o=0,r,a,l,c,h,f,d,u,p,g,m=[],b=i+t-1,x=e[i].x,M=e[b].x-x;for(r=i;rg&&(g=c,d=r),n=(o*n+a.x)/++o;else{let v=r-1;if(!T(f)&&!T(d)){let S=Math.min(f,d),w=Math.max(f,d);S!==u&&S!==v&&m.push(Je(Ze({},e[S]),{x:n})),w!==u&&w!==v&&m.push(Je(Ze({},e[w]),{x:n}))}r>0&&v!==u&&m.push(e[v]),m.push(a),h=_,o=0,p=g=c,f=d=u=r}}return m}function Ir(e){if(e._decimated){let i=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:i})}}function qo(e){e.data.datasets.forEach(i=>{Ir(i)})}function Nf(e,i){let t=i.length,s=0,n,{iScale:o}=e,{min:r,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(s=U(ct(i,o.axis,r).lo,0,t-1)),c?n=U(ct(i,o.axis,a).hi+1,s,t)-s:n=t-s,{start:s,count:n}}var Wf={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,i,t)=>{if(!t.enabled){qo(e);return}let s=e.width;e.data.datasets.forEach((n,o)=>{let{_data:r,indexAxis:a}=n,l=e.getDatasetMeta(o),c=r||n.data;if(ae([a,e.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;let h=e.scales[l.xAxisID];if(h.type!=="linear"&&h.type!=="time"||e.options.parsing)return;let{start:f,count:d}=Nf(l,c),u=t.threshold||4*s;if(d<=u){Ir(n);return}T(r)&&(n._data=c,delete n.data,Object.defineProperty(n,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(g){this._data=g}}));let p;switch(t.algorithm){case"lttb":p=Bf(c,f,d,s,t);break;case"min-max":p=jf(c,f,d,s);break;default:throw new Error(`Unsupported decimation algorithm '${t.algorithm}'`)}n._decimated=p})},destroy(e){qo(e)}};function Vf(e,i,t){let s=e.segments,n=e.points,o=i.points,r=[];for(let a of s){let{start:l,end:c}=a;c=dn(l,c,n);let h=nn(t,n[l],n[c],a.loop);if(!i.segments){r.push({source:a,target:h,start:n[l],end:n[c]});continue}let f=Rs(i,h);for(let d of f){let u=nn(t,o[d.start],o[d.end],d.loop),p=Ls(a,n,u);for(let g of p)r.push({source:g,target:d,start:{[t]:Go(h,u,"start",Math.max)},end:{[t]:Go(h,u,"end",Math.min)}})}}return r}function nn(e,i,t,s){if(s)return;let n=i[e],o=t[e];return e==="angle"&&(n=Z(n),o=Z(o)),{property:e,start:n,end:o}}function Hf(e,i){let{x:t=null,y:s=null}=e||{},n=i.points,o=[];return i.segments.forEach(({start:r,end:a})=>{a=dn(r,a,n);let l=n[r],c=n[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):t!==null&&(o.push({x:t,y:l.y}),o.push({x:t,y:c.y}))}),o}function dn(e,i,t){for(;i>e;i--){let s=t[i];if(!isNaN(s.x)&&!isNaN(s.y))break}return i}function Go(e,i,t,s){return e&&i?s(e[t],i[t]):e?e[t]:i?i[t]:0}function Er(e,i){let t=[],s=!1;return E(e)?(s=!0,t=e):t=Hf(e,i),t.length?new Bi({points:t,options:{tension:0},_loop:s,_fullLoop:s}):null}function Zo(e){return e&&e.fill!==!1}function $f(e,i,t){let n=e[i].fill,o=[i],r;if(!t)return n;for(;n!==!1&&o.indexOf(n)===-1;){if(!W(n))return n;if(r=e[n],!r)return!1;if(r.visible)return n;o.push(n),n=r.fill}return!1}function Uf(e,i,t){let s=qf(e);if(A(s))return isNaN(s.value)?!1:s;let n=parseFloat(s);return W(n)&&Math.floor(n)===n?Yf(s[0],i,n,t):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function Yf(e,i,t,s){return(e==="-"||e==="+")&&(t=i+t),t===i||t<0||t>=s?!1:t}function Xf(e,i){let t=null;return e==="start"?t=i.bottom:e==="end"?t=i.top:A(e)?t=i.getPixelForValue(e.value):i.getBasePixel&&(t=i.getBasePixel()),t}function Kf(e,i,t){let s;return e==="start"?s=t:e==="end"?s=i.options.reverse?i.min:i.max:A(e)?s=e.value:s=i.getBaseValue(),s}function qf(e){let i=e.options,t=i.fill,s=C(t&&t.target,t);return s===void 0&&(s=!!i.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function Gf(e){let{scale:i,index:t,line:s}=e,n=[],o=s.segments,r=s.points,a=Zf(i,t);a.push(Er({x:null,y:i.bottom},s));for(let l=0;l=0;--r){let a=n[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&Vs(e.ctx,a,o))}},beforeDatasetsDraw(e,i,t){if(t.drawTime!=="beforeDatasetsDraw")return;let s=e.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){let o=s[n].$filler;Zo(o)&&Vs(e.ctx,o,e.chartArea)}},beforeDatasetDraw(e,i,t){let s=i.meta.$filler;!Zo(s)||t.drawTime!=="beforeDatasetDraw"||Vs(e.ctx,s,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},er=(e,i)=>{let{boxHeight:t=i,boxWidth:s=i}=e;return e.usePointStyle&&(t=Math.min(t,i),s=e.pointStyleWidth||Math.min(s,i)),{boxWidth:s,boxHeight:t,itemHeight:Math.max(i,t)}},ld=(e,i)=>e!==null&&i!==null&&e.datasetIndex===i.datasetIndex&&e.index===i.index,Fi=class extends lt{constructor(i){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=i.chart,this.options=i.options,this.ctx=i.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(i,t,s){this.maxWidth=i,this.maxHeight=t,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let i=this.options.labels||{},t=I(i.generateLabels,[this.chart],this)||[];i.filter&&(t=t.filter(s=>i.filter(s,this.chart.data))),i.sort&&(t=t.sort((s,n)=>i.sort(s,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:i,ctx:t}=this;if(!i.display){this.width=this.height=0;return}let s=i.labels,n=$(s.font),o=n.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=er(s,o),c,h;t.font=n.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(r,o,a,l)+10):(h=this.maxHeight,c=this._fitCols(r,n,a,l)+10),this.width=Math.min(c,i.maxWidth||this.maxWidth),this.height=Math.min(h,i.maxHeight||this.maxHeight)}_fitRows(i,t,s,n){let{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=n+a,f=i;o.textAlign="left",o.textBaseline="middle";let d=-1,u=-h;return this.legendItems.forEach((p,g)=>{let m=s+t/2+o.measureText(p.text).width;(g===0||c[c.length-1]+m+2*a>r)&&(f+=h,c[c.length-(g>0?0:1)]=0,u+=h,d++),l[g]={left:0,top:u,row:d,width:m,height:n},c[c.length-1]+=m+a}),f}_fitCols(i,t,s,n){let{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=r-i,f=a,d=0,u=0,p=0,g=0;return this.legendItems.forEach((m,b)=>{let{itemWidth:x,itemHeight:y}=cd(s,t,o,m,n);b>0&&u+y+2*a>h&&(f+=d+a,c.push({width:d,height:u}),p+=d+a,g++,d=u=0),l[b]={left:p,top:u,col:g,width:x,height:y},d=Math.max(d,x),u+=y+a}),f+=d,c.push({width:d,height:u}),f}adjustHitBoxes(){if(!this.options.display)return;let i=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:s,labels:{padding:n},rtl:o}}=this,r=Ut(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=X(s,this.left+n,this.right-this.lineWidths[a]);for(let c of t)a!==c.row&&(a=c.row,l=X(s,this.left+n,this.right-this.lineWidths[a])),c.top+=this.top+i+n,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+n}else{let a=0,l=X(s,this.top+i+n,this.bottom-this.columnSizes[a].height);for(let c of t)c.col!==a&&(a=c.col,l=X(s,this.top+i+n,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+n,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let i=this.ctx;Te(i,this),this._draw(),Le(i)}}_draw(){let{options:i,columnSizes:t,lineWidths:s,ctx:n}=this,{align:o,labels:r}=i,a=B.color,l=Ut(i.rtl,this.left,this.width),c=$(r.font),{padding:h}=r,f=c.size,d=f/2,u;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;let{boxWidth:p,boxHeight:g,itemHeight:m}=er(r,f),b=function(v,S,w){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;n.save();let k=C(w.lineWidth,1);if(n.fillStyle=C(w.fillStyle,a),n.lineCap=C(w.lineCap,"butt"),n.lineDashOffset=C(w.lineDashOffset,0),n.lineJoin=C(w.lineJoin,"miter"),n.lineWidth=k,n.strokeStyle=C(w.strokeStyle,a),n.setLineDash(C(w.lineDash,[])),r.usePointStyle){let O={radius:g*Math.SQRT2/2,pointStyle:w.pointStyle,rotation:w.rotation,borderWidth:k},P=l.xPlus(v,p/2),D=S+d;Ms(n,O,P,D,r.pointStyleWidth&&p)}else{let O=S+Math.max((f-g)/2,0),P=l.leftForLtr(v,p),D=Dt(w.borderRadius);n.beginPath(),Object.values(D).some(Y=>Y!==0)?re(n,{x:P,y:O,w:p,h:g,radius:D}):n.rect(P,O,p,g),n.fill(),k!==0&&n.stroke()}n.restore()},x=function(v,S,w){At(n,w.text,v,S+m/2,c,{strikethrough:w.hidden,textAlign:l.textAlign(w.textAlign)})},y=this.isHorizontal(),M=this._computeTitleHeight();y?u={x:X(o,this.left+h,this.right-s[0]),y:this.top+h+M,line:0}:u={x:this.left+h,y:X(o,this.top+M+h,this.bottom-t[0].height),line:0},Ds(this.ctx,i.textDirection);let _=m+h;this.legendItems.forEach((v,S)=>{n.strokeStyle=v.fontColor,n.fillStyle=v.fontColor;let w=n.measureText(v.text).width,k=l.textAlign(v.textAlign||(v.textAlign=r.textAlign)),O=p+d+w,P=u.x,D=u.y;l.setWidth(this.width),y?S>0&&P+O+h>this.right&&(D=u.y+=_,u.line++,P=u.x=X(o,this.left+h,this.right-s[u.line])):S>0&&D+_>this.bottom&&(P=u.x=P+t[u.line].width+h,u.line++,D=u.y=X(o,this.top+M+h,this.bottom-t[u.line].height));let Y=l.x(P);if(b(Y,D,v),P=Qn(k,P+p+d,y?P+O:this.right,i.rtl),x(l.x(P),D,v),y)u.x+=O+h;else if(typeof v.text!="string"){let it=c.lineHeight;u.y+=Fr(v,it)+h}else u.y+=_}),Ts(this.ctx,i.textDirection)}drawTitle(){let i=this.options,t=i.title,s=$(t.font),n=K(t.padding);if(!t.display)return;let o=Ut(i.rtl,this.left,this.width),r=this.ctx,a=t.position,l=s.size/2,c=n.top+l,h,f=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),h=this.top+c,f=X(i.align,f,this.right-d);else{let p=this.columnSizes.reduce((g,m)=>Math.max(g,m.height),0);h=c+X(i.align,this.top,this.bottom-p-i.labels.padding-this._computeTitleHeight())}let u=X(a,f,f+d);r.textAlign=o.textAlign(pi(a)),r.textBaseline="middle",r.strokeStyle=t.color,r.fillStyle=t.color,r.font=s.string,At(r,t.text,u,h,s)}_computeTitleHeight(){let i=this.options.title,t=$(i.font),s=K(i.padding);return i.display?t.lineHeight+s.height:0}_getLegendItemAt(i,t){let s,n,o;if(dt(i,this.left,this.right)&&dt(t,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),i+t.size/2+s.measureText(n).width}function fd(e,i,t){let s=e;return typeof i.text!="string"&&(s=Fr(i,t)),s}function Fr(e,i){let t=e.text?e.text.length:0;return i*t}function dd(e,i){return!!((e==="mousemove"||e==="mouseout")&&(i.onHover||i.onLeave)||i.onClick&&(e==="click"||e==="mouseup"))}var ud={id:"legend",_element:Fi,start(e,i,t){let s=e.legend=new Fi({ctx:e.ctx,options:t,chart:e});G.configure(e,s,t),G.addBox(e,s)},stop(e){G.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,i,t){let s=e.legend;G.configure(e,s,t),s.options=t},afterUpdate(e){let i=e.legend;i.buildLabels(),i.adjustHitBoxes()},afterEvent(e,i){i.replay||e.legend.handleEvent(i.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,i,t){let s=i.datasetIndex,n=t.chart;n.isDatasetVisible(s)?(n.hide(s),i.hidden=!0):(n.show(s),i.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let i=e.data.datasets,{labels:{usePointStyle:t,pointStyle:s,textAlign:n,color:o,useBorderRadius:r,borderRadius:a}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{let c=l.controller.getStyle(t?0:void 0),h=K(c.borderWidth);return{text:i[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}},We=class extends lt{constructor(i){super(),this.chart=i.chart,this.options=i.options,this.ctx=i.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(i,t){let s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=i,this.height=this.bottom=t;let n=E(s.text)?s.text.length:1;this._padding=K(s.padding);let o=n*$(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){let i=this.options.position;return i==="top"||i==="bottom"}_drawArgs(i){let{top:t,left:s,bottom:n,right:o,options:r}=this,a=r.align,l=0,c,h,f;return this.isHorizontal()?(h=X(a,s,o),f=t+i,c=o-s):(r.position==="left"?(h=s+i,f=X(a,n,t),l=F*-.5):(h=o-i,f=X(a,t,n),l=F*.5),c=n-t),{titleX:h,titleY:f,maxWidth:c,rotation:l}}draw(){let i=this.ctx,t=this.options;if(!t.display)return;let s=$(t.font),o=s.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);At(i,t.text,0,0,s,{color:t.color,maxWidth:l,rotation:c,textAlign:pi(t.align),textBaseline:"middle",translation:[r,a]})}};function pd(e,i){let t=new We({ctx:e.ctx,options:i,chart:e});G.configure(e,t,i),G.addBox(e,t),e.titleBlock=t}var gd={id:"title",_element:We,start(e,i,t){pd(e,t)},stop(e){let i=e.titleBlock;G.removeBox(e,i),delete e.titleBlock},beforeUpdate(e,i,t){let s=e.titleBlock;G.configure(e,s,t),s.options=t},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Ci=new WeakMap,md={id:"subtitle",start(e,i,t){let s=new We({ctx:e.ctx,options:t,chart:e});G.configure(e,s,t),G.addBox(e,s),Ci.set(e,s)},stop(e){G.removeBox(e,Ci.get(e)),Ci.delete(e)},beforeUpdate(e,i,t){let s=Ci.get(e);G.configure(e,s,t),s.options=t},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},je={average(e){if(!e.length)return!1;let i,t,s=new Set,n=0,o=0;for(i=0,t=e.length;ia+l)/s.size,y:n/o}},nearest(e,i){if(!e.length)return!1;let t=i.x,s=i.y,n=Number.POSITIVE_INFINITY,o,r,a;for(o=0,r=e.length;oMath.max(Math.min(e,t),i);function Se(e){return St(Ce(e*2.55),0,255)}function kt(e){return St(Ce(e*255),0,255)}function mt(e){return St(Ce(e/2.55)/100,0,1)}function Sn(e){return St(Ce(e*100),0,100)}var st={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},ts=[..."0123456789ABCDEF"],dl=e=>ts[e&15],ul=e=>ts[(e&240)>>4]+ts[e&15],ei=e=>(e&240)>>4===(e&15),pl=e=>ei(e.r)&&ei(e.g)&&ei(e.b)&&ei(e.a);function gl(e){var i=e.length,t;return e[0]==="#"&&(i===4||i===5?t={r:255&st[e[1]]*17,g:255&st[e[2]]*17,b:255&st[e[3]]*17,a:i===5?st[e[4]]*17:255}:(i===7||i===9)&&(t={r:st[e[1]]<<4|st[e[2]],g:st[e[3]]<<4|st[e[4]],b:st[e[5]]<<4|st[e[6]],a:i===9?st[e[7]]<<4|st[e[8]]:255})),t}var ml=(e,i)=>e<255?i(e):"";function xl(e){var i=pl(e)?dl:ul;return e?"#"+i(e.r)+i(e.g)+i(e.b)+ml(e.a,i):void 0}var bl=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function On(e,i,t){let s=i*Math.min(t,1-t),n=(o,r=(o+e/30)%12)=>t-s*Math.max(Math.min(r-3,9-r,1),-1);return[n(0),n(8),n(4)]}function _l(e,i,t){let s=(n,o=(n+e/60)%6)=>t-t*i*Math.max(Math.min(o,4-o,1),0);return[s(5),s(3),s(1)]}function yl(e,i,t){let s=On(e,1,.5),n;for(i+t>1&&(n=1/(i+t),i*=n,t*=n),n=0;n<3;n++)s[n]*=1-i-t,s[n]+=i;return s}function vl(e,i,t,s,n){return e===n?(i-t)/s+(i.5?h/(2-o-r):h/(o+r),l=vl(t,s,n,h,o),l=l*60+.5),[l|0,c||0,a]}function is(e,i,t,s){return(Array.isArray(i)?e(i[0],i[1],i[2]):e(i,t,s)).map(kt)}function ss(e,i,t){return is(On,e,i,t)}function Ml(e,i,t){return is(yl,e,i,t)}function wl(e,i,t){return is(_l,e,i,t)}function An(e){return(e%360+360)%360}function Sl(e){let i=bl.exec(e),t=255,s;if(!i)return;i[5]!==s&&(t=i[6]?Se(+i[5]):kt(+i[5]));let n=An(+i[2]),o=+i[3]/100,r=+i[4]/100;return i[1]==="hwb"?s=Ml(n,o,r):i[1]==="hsv"?s=wl(n,o,r):s=ss(n,o,r),{r:s[0],g:s[1],b:s[2],a:t}}function kl(e,i){var t=es(e);t[0]=An(t[0]+i),t=ss(t),e.r=t[0],e.g=t[1],e.b=t[2]}function Cl(e){if(!e)return;let i=es(e),t=i[0],s=Sn(i[1]),n=Sn(i[2]);return e.a<255?`hsla(${t}, ${s}%, ${n}%, ${mt(e.a)})`:`hsl(${t}, ${s}%, ${n}%)`}var kn={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Cn={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Pl(){let e={},i=Object.keys(Cn),t=Object.keys(kn),s,n,o,r,a;for(s=0;s>16&255,o>>8&255,o&255]}return e}var ii;function Ol(e){ii||(ii=Pl(),ii.transparent=[0,0,0,0]);let i=ii[e.toLowerCase()];return i&&{r:i[0],g:i[1],b:i[2],a:i.length===4?i[3]:255}}var Al=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Dl(e){let i=Al.exec(e),t=255,s,n,o;if(i){if(i[7]!==s){let r=+i[7];t=i[8]?Se(r):St(r*255,0,255)}return s=+i[1],n=+i[3],o=+i[5],s=255&(i[2]?Se(s):St(s,0,255)),n=255&(i[4]?Se(n):St(n,0,255)),o=255&(i[6]?Se(o):St(o,0,255)),{r:s,g:n,b:o,a:t}}}function Tl(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${mt(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var Qi=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,Zt=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function Ll(e,i,t){let s=Zt(mt(e.r)),n=Zt(mt(e.g)),o=Zt(mt(e.b));return{r:kt(Qi(s+t*(Zt(mt(i.r))-s))),g:kt(Qi(n+t*(Zt(mt(i.g))-n))),b:kt(Qi(o+t*(Zt(mt(i.b))-o))),a:e.a+t*(i.a-e.a)}}function si(e,i,t){if(e){let s=es(e);s[i]=Math.max(0,Math.min(s[i]+s[i]*t,i===0?360:1)),s=ss(s),e.r=s[0],e.g=s[1],e.b=s[2]}}function Dn(e,i){return e&&Object.assign(i||{},e)}function Pn(e){var i={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(i={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(i.a=kt(e[3]))):(i=Dn(e,{r:0,g:0,b:0,a:1}),i.a=kt(i.a)),i}function Rl(e){return e.charAt(0)==="r"?Dl(e):Sl(e)}var ke=class e{constructor(i){if(i instanceof e)return i;let t=typeof i,s;t==="object"?s=Pn(i):t==="string"&&(s=gl(i)||Ol(i)||Rl(i)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var i=Dn(this._rgb);return i&&(i.a=mt(i.a)),i}set rgb(i){this._rgb=Pn(i)}rgbString(){return this._valid?Tl(this._rgb):void 0}hexString(){return this._valid?xl(this._rgb):void 0}hslString(){return this._valid?Cl(this._rgb):void 0}mix(i,t){if(i){let s=this.rgb,n=i.rgb,o,r=t===o?.5:t,a=2*r-1,l=s.a-n.a,c=((a*l===-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,s.r=255&c*s.r+o*n.r+.5,s.g=255&c*s.g+o*n.g+.5,s.b=255&c*s.b+o*n.b+.5,s.a=r*s.a+(1-r)*n.a,this.rgb=s}return this}interpolate(i,t){return i&&(this._rgb=Ll(this._rgb,i._rgb,t)),this}clone(){return new e(this.rgb)}alpha(i){return this._rgb.a=kt(i),this}clearer(i){let t=this._rgb;return t.a*=1-i,this}greyscale(){let i=this._rgb,t=Ce(i.r*.3+i.g*.59+i.b*.11);return i.r=i.g=i.b=t,this}opaquer(i){let t=this._rgb;return t.a*=1+i,this}negate(){let i=this._rgb;return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,this}lighten(i){return si(this._rgb,2,i),this}darken(i){return si(this._rgb,2,-i),this}saturate(i){return si(this._rgb,1,i),this}desaturate(i){return si(this._rgb,1,-i),this}rotate(i){return kl(this._rgb,i),this}};function ft(){}var Wn=(()=>{let e=0;return()=>e++})();function T(e){return e===null||typeof e>"u"}function E(e){if(Array.isArray&&Array.isArray(e))return!0;let i=Object.prototype.toString.call(e);return i.slice(0,7)==="[object"&&i.slice(-6)==="Array]"}function A(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}function W(e){return(typeof e=="number"||e instanceof Number)&&isFinite(+e)}function J(e,i){return W(e)?e:i}function C(e,i){return typeof e>"u"?i:e}var Vn=(e,i)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:+e/i,as=(e,i)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*i:+e;function I(e,i,t){if(e&&typeof e.call=="function")return e.apply(t,i)}function L(e,i,t,s){let n,o,r;if(E(e))if(o=e.length,s)for(n=o-1;n>=0;n--)i.call(t,e[n],n);else for(n=0;ne,x:e=>e.x,y:e=>e.y};function Fl(e){let i=e.split("."),t=[],s="";for(let n of i)s+=n,s.endsWith("\\")?s=s.slice(0,-1)+".":(t.push(s),s="");return t}function zl(e){let i=Fl(e);return t=>{for(let s of i){if(s==="")break;t=t&&t[s]}return t}}function _t(e,i){return(Tn[i]||(Tn[i]=zl(i)))(e)}function fi(e){return e.charAt(0).toUpperCase()+e.slice(1)}var ie=e=>typeof e<"u",xt=e=>typeof e=="function",ls=(e,i)=>{if(e.size!==i.size)return!1;for(let t of e)if(!i.has(t))return!1;return!0};function $n(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}var F=Math.PI,z=2*F,Bl=z+F,li=Number.POSITIVE_INFINITY,jl=F/180,V=F/2,Wt=F/4,Ln=F*2/3,bt=Math.log10,at=Math.sign;function se(e,i,t){return Math.abs(e-i)n-o).pop(),i}function $t(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Yn(e,i){let t=Math.round(e);return t-i<=e&&t+i>=e}function hs(e,i,t){let s,n,o;for(s=0,n=e.length;sl&&c=Math.min(i,t)-s&&e<=Math.max(i,t)+s}function ui(e,i,t){t=t||(r=>e[r]1;)o=n+s>>1,t(o)?n=o:s=o;return{lo:n,hi:s}}var ct=(e,i,t,s)=>ui(e,t,s?n=>{let o=e[n][i];return oe[n][i]ui(e,t,s=>e[s][i]>=t);function qn(e,i,t){let s=0,n=e.length;for(;ss&&e[n-1]>t;)n--;return s>0||n{let s="_onData"+fi(t),n=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...o){let r=n.apply(this,o);return e._chartjs.listeners.forEach(a=>{typeof a[s]=="function"&&a[s](...o)}),r}})})}function us(e,i){let t=e._chartjs;if(!t)return;let s=t.listeners,n=s.indexOf(i);n!==-1&&s.splice(n,1),!(s.length>0)&&(Gn.forEach(o=>{delete e[o]}),delete e._chartjs)}function ps(e){let i=new Set(e);return i.size===e.length?e:Array.from(i)}var gs=function(){return typeof window>"u"?function(e){return e()}:window.requestAnimationFrame}();function ms(e,i){let t=[],s=!1;return function(...n){t=n,s||(s=!0,gs.call(window,()=>{s=!1,e.apply(i,t)}))}}function Jn(e,i){let t;return function(...s){return i?(clearTimeout(t),t=setTimeout(e,i,s)):e.apply(this,s),i}}var pi=e=>e==="start"?"left":e==="end"?"right":"center",X=(e,i,t)=>e==="start"?i:e==="end"?t:(i+t)/2,Qn=(e,i,t,s)=>e===(s?"left":"right")?t:e==="center"?(i+t)/2:i;function xs(e,i,t){let s=i.length,n=0,o=s;if(e._sorted){let{iScale:r,_parsed:a}=e,l=r.axis,{min:c,max:h,minDefined:f,maxDefined:d}=r.getUserBounds();f&&(n=U(Math.min(ct(a,l,c).lo,t?s:ct(i,l,r.getPixelForValue(c)).lo),0,s-1)),d?o=U(Math.max(ct(a,r.axis,h,!0).hi+1,t?0:ct(i,l,r.getPixelForValue(h),!0).hi+1),n,s)-n:o=s-n}return{start:n,count:o}}function bs(e){let{xScale:i,yScale:t,_scaleRanges:s}=e,n={xmin:i.min,xmax:i.max,ymin:t.min,ymax:t.max};if(!s)return e._scaleRanges=n,!0;let o=s.xmin!==i.min||s.xmax!==i.max||s.ymin!==t.min||s.ymax!==t.max;return Object.assign(s,n),o}var ni=e=>e===0||e===1,Rn=(e,i,t)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-i)*z/t)),In=(e,i,t)=>Math.pow(2,-10*e)*Math.sin((e-i)*z/t)+1,Jt={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*V)+1,easeOutSine:e=>Math.sin(e*V),easeInOutSine:e=>-.5*(Math.cos(F*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>ni(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>ni(e)?e:Rn(e,.075,.3),easeOutElastic:e=>ni(e)?e:In(e,.075,.3),easeInOutElastic(e){return ni(e)?e:e<.5?.5*Rn(e*2,.1125,.45):.5+.5*In(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let i=1.70158;return(e/=.5)<1?.5*(e*e*(((i*=1.525)+1)*e-i)):.5*((e-=2)*e*(((i*=1.525)+1)*e+i)+2)},easeInBounce:e=>1-Jt.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?Jt.easeInBounce(e*2)*.5:Jt.easeOutBounce(e*2-1)*.5+.5};function _s(e){if(e&&typeof e=="object"){let i=e.toString();return i==="[object CanvasPattern]"||i==="[object CanvasGradient]"}return!1}function ys(e){return _s(e)?e:new ke(e)}function ns(e){return _s(e)?e:new ke(e).saturate(.5).darken(.1).hexString()}var Wl=["x","y","borderWidth","radius","tension"],Vl=["color","borderColor","backgroundColor"];function Hl(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:i=>i!=="onProgress"&&i!=="onComplete"&&i!=="fn"}),e.set("animations",{colors:{type:"color",properties:Vl},numbers:{type:"number",properties:Wl}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:i=>i|0}}}})}function $l(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var En=new Map;function Ul(e,i){i=i||{};let t=e+JSON.stringify(i),s=En.get(t);return s||(s=new Intl.NumberFormat(e,i),En.set(t,s)),s}function oe(e,i,t){return Ul(i,t).format(e)}var to={values(e){return E(e)?e:""+e},numeric(e,i,t){if(e===0)return"0";let s=this.chart.options.locale,n,o=e;if(t.length>1){let c=Math.max(Math.abs(t[0].value),Math.abs(t[t.length-1].value));(c<1e-4||c>1e15)&&(n="scientific"),o=Yl(e,t)}let r=bt(Math.abs(o)),a=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),l={notation:n,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),oe(e,s,l)},logarithmic(e,i,t){if(e===0)return"0";let s=t[i].significand||e/Math.pow(10,Math.floor(bt(e)));return[1,2,3,5,10,15].includes(s)||i>.8*t.length?to.numeric.call(this,e,i,t):""}};function Yl(e,i){let t=i.length>3?i[2].value-i[1].value:i[1].value-i[0].value;return Math.abs(t)>=1&&e!==Math.floor(e)&&(t=e-Math.floor(e)),t}var De={formatters:to};function Xl(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(i,t)=>t.lineWidth,tickColor:(i,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:De.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:i=>!i.startsWith("before")&&!i.startsWith("after")&&i!=="callback"&&i!=="parser",_indexable:i=>i!=="borderDash"&&i!=="tickBorderDash"&&i!=="dash"}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:i=>i!=="backdropPadding"&&i!=="callback",_indexable:i=>i!=="backdropPadding"})}var Pt=Object.create(null),gi=Object.create(null);function Pe(e,i){if(!i)return e;let t=i.split(".");for(let s=0,n=t.length;ss.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(s,n)=>ns(n.backgroundColor),this.hoverBorderColor=(s,n)=>ns(n.borderColor),this.hoverColor=(s,n)=>ns(n.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(i),this.apply(t)}set(i,t){return os(this,i,t)}get(i){return Pe(this,i)}describe(i,t){return os(gi,i,t)}override(i,t){return os(Pt,i,t)}route(i,t,s,n){let o=Pe(this,i),r=Pe(this,s),a="_"+t;Object.defineProperties(o,{[a]:{value:o[t],writable:!0},[t]:{enumerable:!0,get(){let l=this[a],c=r[n];return A(l)?Object.assign({},c,l):C(l,c)},set(l){this[a]=l}}})}apply(i){i.forEach(t=>t(this))}},B=new rs({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[Hl,$l,Xl]);function Kl(e){return!e||T(e.size)||T(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function Oe(e,i,t,s,n){let o=i[n];return o||(o=i[n]=e.measureText(n).width,t.push(n)),o>s&&(s=o),s}function eo(e,i,t,s){s=s||{};let n=s.data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==i&&(n=s.data={},o=s.garbageCollect=[],s.font=i),e.save(),e.font=i;let r=0,a=t.length,l,c,h,f,d;for(l=0;lt.length){for(l=0;l0&&e.stroke()}}function ht(e,i,t){return t=t||.5,!i||e&&e.x>i.left-t&&e.xi.top-t&&e.y0&&o.strokeColor!=="",l,c;for(e.save(),e.font=n.string,ql(e,o),l=0;l+e||0;function xi(e,i){let t={},s=A(i),n=s?Object.keys(i):i,o=A(e)?s?r=>C(e[r],e[i[r]]):r=>e[r]:()=>e;for(let r of n)t[r]=ec(o(r));return t}function ws(e){return xi(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Dt(e){return xi(e,["topLeft","topRight","bottomLeft","bottomRight"])}function K(e){let i=ws(e);return i.width=i.left+i.right,i.height=i.top+i.bottom,i}function $(e,i){e=e||{},i=i||B.font;let t=C(e.size,i.size);typeof t=="string"&&(t=parseInt(t,10));let s=C(e.style,i.style);s&&!(""+s).match(Ql)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);let n={family:C(e.family,i.family),lineHeight:tc(C(e.lineHeight,i.lineHeight),t),size:t,style:s,weight:C(e.weight,i.weight),string:""};return n.string=Kl(n),n}function ae(e,i,t,s){let n=!0,o,r,a;for(o=0,r=e.length;ot&&a===0?0:a+l;return{min:r(s,-Math.abs(o)),max:r(n,o)}}function yt(e,i){return Object.assign(Object.create(e),i)}function bi(e,i=[""],t,s,n=()=>e[0]){let o=t||e;typeof s>"u"&&(s=ao("_fallback",e));let r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:s,_getTarget:n,override:a=>bi([a,...e],i,o,s)};return new Proxy(r,{deleteProperty(a,l){return delete a[l],delete a._keys,delete e[0][l],!0},get(a,l){return oo(a,l,()=>cc(l,i,e,a))},getOwnPropertyDescriptor(a,l){return Reflect.getOwnPropertyDescriptor(a._scopes[0],l)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(a,l){return zn(a).includes(l)},ownKeys(a){return zn(a)},set(a,l,c){let h=a._storage||(a._storage=n());return a[l]=h[l]=c,delete a._keys,!0}})}function Ht(e,i,t,s){let n={_cacheable:!1,_proxy:e,_context:i,_subProxy:t,_stack:new Set,_descriptors:Ss(e,s),setContext:o=>Ht(e,o,t,s),override:o=>Ht(e.override(o),i,t,s)};return new Proxy(n,{deleteProperty(o,r){return delete o[r],delete e[r],!0},get(o,r,a){return oo(o,r,()=>sc(o,r,a))},getOwnPropertyDescriptor(o,r){return o._descriptors.allKeys?Reflect.has(e,r)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,r)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(o,r){return Reflect.has(e,r)},ownKeys(){return Reflect.ownKeys(e)},set(o,r,a){return e[r]=a,delete o[r],!0}})}function Ss(e,i={scriptable:!0,indexable:!0}){let{_scriptable:t=i.scriptable,_indexable:s=i.indexable,_allKeys:n=i.allKeys}=e;return{allKeys:n,scriptable:t,indexable:s,isScriptable:xt(t)?t:()=>t,isIndexable:xt(s)?s:()=>s}}var ic=(e,i)=>e?e+fi(i):i,ks=(e,i)=>A(i)&&e!=="adapters"&&(Object.getPrototypeOf(i)===null||i.constructor===Object);function oo(e,i,t){if(Object.prototype.hasOwnProperty.call(e,i)||i==="constructor")return e[i];let s=t();return e[i]=s,s}function sc(e,i,t){let{_proxy:s,_context:n,_subProxy:o,_descriptors:r}=e,a=s[i];return xt(a)&&r.isScriptable(i)&&(a=nc(i,a,e,t)),E(a)&&a.length&&(a=oc(i,a,e,r.isIndexable)),ks(i,a)&&(a=Ht(a,n,o&&o[i],r)),a}function nc(e,i,t,s){let{_proxy:n,_context:o,_subProxy:r,_stack:a}=t;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);a.add(e);let l=i(o,r||s);return a.delete(e),ks(e,l)&&(l=Cs(n._scopes,n,e,l)),l}function oc(e,i,t,s){let{_proxy:n,_context:o,_subProxy:r,_descriptors:a}=t;if(typeof o.index<"u"&&s(e))return i[o.index%i.length];if(A(i[0])){let l=i,c=n._scopes.filter(h=>h!==l);i=[];for(let h of l){let f=Cs(c,n,e,h);i.push(Ht(f,o,r&&r[e],a))}}return i}function ro(e,i,t){return xt(e)?e(i,t):e}var rc=(e,i)=>e===!0?i:typeof e=="string"?_t(i,e):void 0;function ac(e,i,t,s,n){for(let o of i){let r=rc(t,o);if(r){e.add(r);let a=ro(r._fallback,t,n);if(typeof a<"u"&&a!==t&&a!==s)return a}else if(r===!1&&typeof s<"u"&&t!==s)return null}return!1}function Cs(e,i,t,s){let n=i._rootScopes,o=ro(i._fallback,t,s),r=[...e,...n],a=new Set;a.add(s);let l=Fn(a,r,t,o||t,s);return l===null||typeof o<"u"&&o!==t&&(l=Fn(a,r,o,l,s),l===null)?!1:bi(Array.from(a),[""],n,o,()=>lc(i,t,s))}function Fn(e,i,t,s,n){for(;t;)t=ac(e,i,t,s,n);return t}function lc(e,i,t){let s=e._getTarget();i in s||(s[i]={});let n=s[i];return E(n)&&A(t)?t:n||{}}function cc(e,i,t,s){let n;for(let o of i)if(n=ao(ic(o,e),t),typeof n<"u")return ks(e,n)?Cs(t,s,e,n):n}function ao(e,i){for(let t of i){if(!t)continue;let s=t[e];if(typeof s<"u")return s}}function zn(e){let i=e._keys;return i||(i=e._keys=hc(e._scopes)),i}function hc(e){let i=new Set;for(let t of e)for(let s of Object.keys(t).filter(n=>!n.startsWith("_")))i.add(s);return Array.from(i)}function Ps(e,i,t,s){let{iScale:n}=e,{key:o="r"}=this._parsing,r=new Array(s),a,l,c,h;for(a=0,l=s;aie==="x"?"y":"x";function dc(e,i,t,s){let n=e.skip?i:e,o=i,r=t.skip?i:t,a=ci(o,n),l=ci(r,o),c=a/(a+l),h=l/(a+l);c=isNaN(c)?0:c,h=isNaN(h)?0:h;let f=s*c,d=s*h;return{previous:{x:o.x-f*(r.x-n.x),y:o.y-f*(r.y-n.y)},next:{x:o.x+d*(r.x-n.x),y:o.y+d*(r.y-n.y)}}}function uc(e,i,t){let s=e.length,n,o,r,a,l,c=te(e,0);for(let h=0;h!c.skip)),i.cubicInterpolationMode==="monotone")gc(e,n);else{let c=s?e[e.length-1]:e[0];for(o=0,r=e.length;oe.ownerDocument.defaultView.getComputedStyle(e,null);function xc(e,i){return vi(e).getPropertyValue(i)}var bc=["top","right","bottom","left"];function Vt(e,i,t){let s={};t=t?"-"+t:"";for(let n=0;n<4;n++){let o=bc[n];s[o]=parseFloat(e[i+"-"+o+t])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}var _c=(e,i,t)=>(e>0||i>0)&&(!t||!t.shadowRoot);function yc(e,i){let t=e.touches,s=t&&t.length?t[0]:e,{offsetX:n,offsetY:o}=s,r=!1,a,l;if(_c(n,o,e.target))a=n,l=o;else{let c=i.getBoundingClientRect();a=s.clientX-c.left,l=s.clientY-c.top,r=!0}return{x:a,y:l,box:r}}function Tt(e,i){if("native"in e)return e;let{canvas:t,currentDevicePixelRatio:s}=i,n=vi(t),o=n.boxSizing==="border-box",r=Vt(n,"padding"),a=Vt(n,"border","width"),{x:l,y:c,box:h}=yc(e,t),f=r.left+(h&&a.left),d=r.top+(h&&a.top),{width:u,height:p}=i;return o&&(u-=r.width+a.width,p-=r.height+a.height),{x:Math.round((l-f)/u*t.width/s),y:Math.round((c-d)/p*t.height/s)}}function vc(e,i,t){let s,n;if(i===void 0||t===void 0){let o=e&&yi(e);if(!o)i=e.clientWidth,t=e.clientHeight;else{let r=o.getBoundingClientRect(),a=vi(o),l=Vt(a,"border","width"),c=Vt(a,"padding");i=r.width-c.width-l.width,t=r.height-c.height-l.height,s=hi(a.maxWidth,o,"clientWidth"),n=hi(a.maxHeight,o,"clientHeight")}}return{width:i,height:t,maxWidth:s||li,maxHeight:n||li}}var ri=e=>Math.round(e*10)/10;function ho(e,i,t,s){let n=vi(e),o=Vt(n,"margin"),r=hi(n.maxWidth,e,"clientWidth")||li,a=hi(n.maxHeight,e,"clientHeight")||li,l=vc(e,i,t),{width:c,height:h}=l;if(n.boxSizing==="content-box"){let d=Vt(n,"border","width"),u=Vt(n,"padding");c-=u.width+d.width,h-=u.height+d.height}return c=Math.max(0,c-o.width),h=Math.max(0,s?c/s:h-o.height),c=ri(Math.min(c,r,l.maxWidth)),h=ri(Math.min(h,a,l.maxHeight)),c&&!h&&(h=ri(c/2)),(i!==void 0||t!==void 0)&&s&&l.height&&h>l.height&&(h=l.height,c=ri(Math.floor(h*s))),{width:c,height:h}}function Os(e,i,t){let s=i||1,n=Math.floor(e.height*s),o=Math.floor(e.width*s);e.height=Math.floor(e.height),e.width=Math.floor(e.width);let r=e.canvas;return r.style&&(t||!r.style.height&&!r.style.width)&&(r.style.height=`${e.height}px`,r.style.width=`${e.width}px`),e.currentDevicePixelRatio!==s||r.height!==n||r.width!==o?(e.currentDevicePixelRatio=s,r.height=n,r.width=o,e.ctx.setTransform(s,0,0,s,0,0),!0):!1}var fo=function(){let e=!1;try{let i={get passive(){return e=!0,!1}};_i()&&(window.addEventListener("test",null,i),window.removeEventListener("test",null,i))}catch{}return e}();function As(e,i){let t=xc(e,i),s=t&&t.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function Ct(e,i,t,s){return{x:e.x+t*(i.x-e.x),y:e.y+t*(i.y-e.y)}}function uo(e,i,t,s){return{x:e.x+t*(i.x-e.x),y:s==="middle"?t<.5?e.y:i.y:s==="after"?t<1?e.y:i.y:t>0?i.y:e.y}}function po(e,i,t,s){let n={x:e.cp2x,y:e.cp2y},o={x:i.cp1x,y:i.cp1y},r=Ct(e,n,t),a=Ct(n,o,t),l=Ct(o,i,t),c=Ct(r,a,t),h=Ct(a,l,t);return Ct(c,h,t)}var Mc=function(e,i){return{x(t){return e+e+i-t},setWidth(t){i=t},textAlign(t){return t==="center"?t:t==="right"?"left":"right"},xPlus(t,s){return t-s},leftForLtr(t,s){return t-s}}},wc=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,i){return e+i},leftForLtr(e,i){return e}}};function Ut(e,i,t){return e?Mc(i,t):wc()}function Ds(e,i){let t,s;(i==="ltr"||i==="rtl")&&(t=e.canvas.style,s=[t.getPropertyValue("direction"),t.getPropertyPriority("direction")],t.setProperty("direction",i,"important"),e.prevTextDirection=s)}function Ts(e,i){i!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",i[0],i[1]))}function go(e){return e==="angle"?{between:ne,compare:Nl,normalize:Z}:{between:dt,compare:(i,t)=>i-t,normalize:i=>i}}function Bn({start:e,end:i,count:t,loop:s,style:n}){return{start:e%t,end:i%t,loop:s&&(i-e+1)%t===0,style:n}}function Sc(e,i,t){let{property:s,start:n,end:o}=t,{between:r,normalize:a}=go(s),l=i.length,{start:c,end:h,loop:f}=e,d,u;if(f){for(c+=l,h+=l,d=0,u=l;dl(n,y,b)&&a(n,y)!==0,_=()=>a(o,b)===0||l(o,y,b),v=()=>g||M(),S=()=>!g||_();for(let w=h,k=h;w<=f;++w)x=i[w%r],!x.skip&&(b=c(x[s]),b!==y&&(g=l(b,n,o),m===null&&v()&&(m=a(b,n)===0?w:k),m!==null&&S()&&(p.push(Bn({start:m,end:w,loop:d,count:r,style:u})),m=null),k=w,y=b));return m!==null&&p.push(Bn({start:m,end:f,loop:d,count:r,style:u})),p}function Rs(e,i){let t=[],s=e.segments;for(let n=0;nn&&e[o%i].skip;)o--;return o%=i,{start:n,end:o}}function Cc(e,i,t,s){let n=e.length,o=[],r=i,a=e[i],l;for(l=i+1;l<=t;++l){let c=e[l%n];c.skip||c.stop?a.skip||(s=!1,o.push({start:i%n,end:(l-1)%n,loop:s}),i=r=c.stop?l:null):(r=l,a.skip&&(i=l)),a=c}return r!==null&&o.push({start:i%n,end:r%n,loop:s}),o}function mo(e,i){let t=e.points,s=e.options.spanGaps,n=t.length;if(!n)return[];let o=!!e._loop,{start:r,end:a}=kc(t,n,o,s);if(s===!0)return jn(e,[{start:r,end:a,loop:o}],t,i);let l=aa({chart:i,initial:t.initial,numSteps:r,currentStep:Math.min(s-t.start,r)}))}_refresh(){this._request||(this._running=!0,this._request=gs.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(i=Date.now()){let t=0;this._charts.forEach((s,n)=>{if(!s.running||!s.items.length)return;let o=s.items,r=o.length-1,a=!1,l;for(;r>=0;--r)l=o[r],l._active?(l._total>s.duration&&(s.duration=l._total),l.tick(i),a=!0):(o[r]=o[o.length-1],o.pop());a&&(n.draw(),this._notify(n,s,i,"progress")),o.length||(s.running=!1,this._notify(n,s,i,"complete"),s.initial=!1),t+=o.length}),this._lastDate=i,t===0&&(this._running=!1)}_getAnims(i){let t=this._charts,s=t.get(i);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(i,s)),s}listen(i,t,s){this._getAnims(i).listeners[t].push(s)}add(i,t){!t||!t.length||this._getAnims(i).items.push(...t)}has(i){return this._getAnims(i).items.length>0}start(i){let t=this._charts.get(i);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((s,n)=>Math.max(s,n._duration),0),this._refresh())}running(i){if(!this._running)return!1;let t=this._charts.get(i);return!(!t||!t.running||!t.items.length)}stop(i){let t=this._charts.get(i);if(!t||!t.items.length)return;let s=t.items,n=s.length-1;for(;n>=0;--n)s[n].cancel();t.items=[],this._notify(i,t,Date.now(),"complete")}remove(i){return this._charts.delete(i)}},vt=new Hs,xo="transparent",Ac={boolean(e,i,t){return t>.5?i:e},color(e,i,t){let s=ys(e||xo),n=s.valid&&ys(i||xo);return n&&n.valid?n.mix(s,t).hexString():i},number(e,i,t){return e+(i-e)*t}},$s=class{constructor(i,t,s,n){let o=t[s];n=ae([i.to,n,o,i.from]);let r=ae([i.from,o,n]);this._active=!0,this._fn=i.fn||Ac[i.type||typeof r],this._easing=Jt[i.easing]||Jt.linear,this._start=Math.floor(Date.now()+(i.delay||0)),this._duration=this._total=Math.floor(i.duration),this._loop=!!i.loop,this._target=t,this._prop=s,this._from=r,this._to=n,this._promises=void 0}active(){return this._active}update(i,t,s){if(this._active){this._notify(!1);let n=this._target[this._prop],o=s-this._start,r=this._duration-o;this._start=s,this._duration=Math.floor(Math.max(r,i.duration)),this._total+=o,this._loop=!!i.loop,this._to=ae([i.to,t,n,i.from]),this._from=ae([i.from,n,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(i){let t=i-this._start,s=this._duration,n=this._prop,o=this._from,r=this._loop,a=this._to,l;if(this._active=o!==a&&(r||t1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(o,a,l)}wait(){let i=this._promises||(this._promises=[]);return new Promise((t,s)=>{i.push({res:t,rej:s})})}_notify(i){let t=i?"res":"rej",s=this._promises||[];for(let n=0;n{let o=i[n];if(!A(o))return;let r={};for(let a of t)r[a]=o[a];(E(o.properties)&&o.properties||[n]).forEach(a=>{(a===n||!s.has(a))&&s.set(a,r)})})}_animateOptions(i,t){let s=t.options,n=Tc(i,s);if(!n)return[];let o=this._createAnimations(n,s);return s.$shared&&Dc(i.options.$animations,s).then(()=>{i.options=s},()=>{}),o}_createAnimations(i,t){let s=this._properties,n=[],o=i.$animations||(i.$animations={}),r=Object.keys(t),a=Date.now(),l;for(l=r.length-1;l>=0;--l){let c=r[l];if(c.charAt(0)==="$")continue;if(c==="options"){n.push(...this._animateOptions(i,t));continue}let h=t[c],f=o[c],d=s.get(c);if(f)if(d&&f.active()){f.update(d,h,a);continue}else f.cancel();if(!d||!d.duration){i[c]=h;continue}o[c]=f=new $s(d,i,c,h),n.push(f)}return n}update(i,t){if(this._properties.size===0){Object.assign(i,t);return}let s=this._createAnimations(i,t);if(s.length)return vt.add(this._chart,s),!0}};function Dc(e,i){let t=[],s=Object.keys(i);for(let n=0;n0||!t&&o<0)return n.index}return null}function Mo(e,i){let{chart:t,_cachedMeta:s}=e,n=t._stacks||(t._stacks={}),{iScale:o,vScale:r,index:a}=s,l=o.axis,c=r.axis,h=Ec(o,r,s),f=i.length,d;for(let u=0;ut[s].axis===i).shift()}function Bc(e,i){return yt(e,{active:!1,dataset:void 0,datasetIndex:i,index:i,mode:"default",type:"dataset"})}function jc(e,i,t){return yt(e,{active:!1,dataIndex:i,parsed:void 0,raw:void 0,element:t,index:i,mode:"default",type:"data"})}function Re(e,i){let t=e.controller.index,s=e.vScale&&e.vScale.axis;if(s){i=i||e._parsed;for(let n of i){let o=n._stacks;if(!o||o[s]===void 0||o[s][t]===void 0)return;delete o[s][t],o[s]._visualValues!==void 0&&o[s]._visualValues[t]!==void 0&&delete o[s]._visualValues[t]}}}var Es=e=>e==="reset"||e==="none",wo=(e,i)=>i?e:Object.assign({},e),Nc=(e,i,t)=>e&&!i.hidden&&i._stacked&&{keys:br(t,!0),values:null},Rt=(()=>{class e{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(t,s){this.chart=t,this._ctx=t.ctx,this.index=s,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=yo(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Re(this._cachedMeta),this.index=t}linkScales(){let t=this.chart,s=this._cachedMeta,n=this.getDataset(),o=(d,u,p,g)=>d==="x"?u:d==="r"?g:p,r=s.xAxisID=C(n.xAxisID,Is(t,"x")),a=s.yAxisID=C(n.yAxisID,Is(t,"y")),l=s.rAxisID=C(n.rAxisID,Is(t,"r")),c=s.indexAxis,h=s.iAxisID=o(c,r,a,l),f=s.vAxisID=o(c,a,r,l);s.xScale=this.getScaleForId(r),s.yScale=this.getScaleForId(a),s.rScale=this.getScaleForId(l),s.iScale=this.getScaleForId(h),s.vScale=this.getScaleForId(f)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){let s=this._cachedMeta;return t===s.iScale?s.vScale:s.iScale}reset(){this._update("reset")}_destroy(){let t=this._cachedMeta;this._data&&us(this._data,this),t._stacked&&Re(t)}_dataCheck(){let t=this.getDataset(),s=t.data||(t.data=[]),n=this._data;if(A(s)){let o=this._cachedMeta;this._data=Ic(s,o)}else if(n!==s){if(n){us(n,this);let o=this._cachedMeta;Re(o),o._parsed=[]}s&&Object.isExtensible(s)&&Zn(s,this),this._syncList=[],this._data=s}}addElements(){let t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){let s=this._cachedMeta,n=this.getDataset(),o=!1;this._dataCheck();let r=s._stacked;s._stacked=yo(s.vScale,s),s.stack!==n.stack&&(o=!0,Re(s),s.stack=n.stack),this._resyncElements(t),(o||r!==s._stacked)&&Mo(this,s._parsed)}configure(){let t=this.chart.config,s=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),s,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,s){let{_cachedMeta:n,_data:o}=this,{iScale:r,_stacked:a}=n,l=r.axis,c=t===0&&s===o.length?!0:n._sorted,h=t>0&&n._parsed[t-1],f,d,u;if(this._parsing===!1)n._parsed=o,n._sorted=!0,u=o;else{E(o[t])?u=this.parseArrayData(n,o,t,s):A(o[t])?u=this.parseObjectData(n,o,t,s):u=this.parsePrimitiveData(n,o,t,s);let p=()=>d[l]===null||h&&d[l]m||d=0;--u)if(!g()){this.updateRangeFromParsed(h,t,p,c);break}}return h}getAllParsedValues(t){let s=this._cachedMeta._parsed,n=[],o,r,a;for(o=0,r=s.length;o=0&&tthis.getContext(n,o,s),m=h.resolveNamedOptions(u,p,g,d);return m.$shared&&(m.$shared=c,r[a]=Object.freeze(wo(m,c))),m}_resolveAnimations(t,s,n){let o=this.chart,r=this._cachedDataOpts,a=`animation-${s}`,l=r[a];if(l)return l;let c;if(o.options.animation!==!1){let f=this.chart.config,d=f.datasetAnimationScopeKeys(this._type,s),u=f.getOptionScopes(this.getDataset(),d);c=f.createResolver(u,this.getContext(t,n,s))}let h=new Ti(o,c&&c.animations);return c&&c._cacheable&&(r[a]=Object.freeze(h)),h}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,s){return!s||Es(t)||this.chart._animationsDisabled}_getSharedOptions(t,s){let n=this.resolveDataElementOptions(t,s),o=this._sharedOptions,r=this.getSharedOptions(n),a=this.includeOptions(s,r)||r!==o;return this.updateSharedOptions(r,s,n),{sharedOptions:r,includeOptions:a}}updateElement(t,s,n,o){Es(o)?Object.assign(t,n):this._resolveAnimations(s,o).update(t,n)}updateSharedOptions(t,s,n){t&&!Es(s)&&this._resolveAnimations(void 0,s).update(t,n)}_setStyle(t,s,n,o){t.active=o;let r=this.getStyle(s,o);this._resolveAnimations(s,n,o).update(t,{options:!o&&this.getSharedOptions(r)||r})}removeHoverStyle(t,s,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,s,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){let t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){let s=this._data,n=this._cachedMeta.data;for(let[l,c,h]of this._syncList)this[l](c,h);this._syncList=[];let o=n.length,r=s.length,a=Math.min(r,o);a&&this.parse(0,a),r>o?this._insertElements(o,r-o,t):r{for(h.length+=s,l=h.length-1;l>=a;l--)h[l]=h[l-s]};for(c(r),l=t;ln-o))}return e._cache.$bar}function Vc(e){let i=e.iScale,t=Wc(i,e.type),s=i._length,n,o,r,a,l=()=>{r===32767||r===-32768||(ie(a)&&(s=Math.min(s,Math.abs(r-a)||s)),a=r)};for(n=0,o=t.length;n0?n[e-1]:null,a=eMath.abs(a)&&(l=a,c=r),i[t.axis]=c,i._custom={barStart:l,barEnd:c,start:n,end:o,min:r,max:a}}function _r(e,i,t,s){return E(e)?Uc(e,i,t,s):i[t.axis]=t.parse(e,s),i}function So(e,i,t,s){let n=e.iScale,o=e.vScale,r=n.getLabels(),a=n===o,l=[],c,h,f,d;for(c=t,h=t+s;c=t?1:-1)}function Xc(e){let i,t,s,n,o;return e.horizontal?(i=e.base>e.x,t="left",s="right"):(i=e.base{class e extends Rt{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(t,s,n,o){return So(t,s,n,o)}parseArrayData(t,s,n,o){return So(t,s,n,o)}parseObjectData(t,s,n,o){let{iScale:r,vScale:a}=t,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,h=r.axis==="x"?l:c,f=a.axis==="x"?l:c,d=[],u,p,g,m;for(u=n,p=n+o;uf.controller.options.grouped),r=n.options.stacked,a=[],l=this._cachedMeta.controller.getParsed(s),c=l&&l[n.axis],h=f=>{let d=f._parsed.find(p=>p[n.axis]===c),u=d&&d[f.vScale.axis];if(T(u)||isNaN(u))return!0};for(let f of o)if(!(s!==void 0&&h(f))&&((r===!1||a.indexOf(f.stack)===-1||r===void 0&&f.stack===void 0)&&a.push(f.stack),f.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,s,n){let o=this._getStacks(t,n),r=s!==void 0?o.indexOf(s):-1;return r===-1?o.length-1:r}_getRuler(){let t=this.options,s=this._cachedMeta,n=s.iScale,o=[],r,a;for(r=0,a=s.data.length;r{class e extends Rt{static id="bubble";static defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}};static overrides={scales:{x:{type:"linear"},y:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,s,n,o){let r=super.parsePrimitiveData(t,s,n,o);for(let a=0;a=0;--n)s=Math.max(s,t[n].size(this.resolveDataElementOptions(n))/2);return s>0&&s}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:o,yScale:r}=s,a=this.getParsed(t),l=o.getLabelForValue(a.x),c=r.getLabelForValue(a.y),h=a._custom;return{label:n[t]||"",value:"("+l+", "+c+(h?", "+h:"")+")"}}update(t){let s=this._cachedMeta.data;this.updateElements(s,0,s.length,t)}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l}=this._cachedMeta,{sharedOptions:c,includeOptions:h}=this._getSharedOptions(s,o),f=a.axis,d=l.axis;for(let u=s;une(y,a,l,!0)?1:Math.max(M,M*t,_,_*t),p=(y,M,_)=>ne(y,a,l,!0)?-1:Math.min(M,M*t,_,_*t),g=u(0,c,f),m=u(V,h,d),b=p(F,c,f),x=p(F+V,h,d);s=(g-b)/2,n=(m-x)/2,o=-(g+b)/2,r=-(m+x)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:r}}var fn=(()=>{class e extends Rt{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:t=>t!=="spacing",_indexable:t=>t!=="spacing"&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let s=t.data;if(s.labels.length&&s.datasets.length){let{labels:{pointStyle:n,color:o}}=t.legend.options;return s.labels.map((r,a)=>{let c=t.getDatasetMeta(0).controller.getStyle(a);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,s,n){n.chart.toggleDataVisibility(s.index),n.chart.update()}}}};constructor(t,s){super(t,s),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,s){let n=this.getDataset().data,o=this._cachedMeta;if(this._parsing===!1)o._parsed=n;else{let r=c=>+n[c];if(A(n[t])){let{key:c="value"}=this._parsing;r=h=>+_t(n[h],c)}let a,l;for(a=t,l=t+s;a0&&!isNaN(t)?z*(Math.abs(t)/s):0}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart,o=n.data.labels||[],r=oe(s._parsed[t],n.options.locale);return{label:o[t]||"",value:r}}getMaxBorderWidth(t){let s=0,n=this.chart,o,r,a,l,c;if(!t){for(o=0,r=n.data.datasets.length;o{class e extends Rt{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){let s=this._cachedMeta,{dataset:n,data:o=[],_dataset:r}=s,a=this.chart._animationsDisabled,{start:l,count:c}=xs(s,o,a);this._drawStart=l,this._drawCount=c,bs(s)&&(l=0,c=o.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!r._decimated,n.points=o;let h=this.resolveDatasetElementOptions(t);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:h},t),this.updateElements(o,l,c,t)}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:h}=this._cachedMeta,{sharedOptions:f,includeOptions:d}=this._getSharedOptions(s,o),u=a.axis,p=l.axis,{spanGaps:g,segment:m}=this.options,b=$t(g)?g:Number.POSITIVE_INFINITY,x=this.chart._animationsDisabled||r||o==="none",y=s+n,M=t.length,_=s>0&&this.getParsed(s-1);for(let v=0;v=y){w.skip=!0;continue}let k=this.getParsed(v),O=T(k[p]),P=w[u]=a.getPixelForValue(k[u],v),D=w[p]=r||O?l.getBasePixel():l.getPixelForValue(c?this.applyStack(l,k,c):k[p],v);w.skip=isNaN(P)||isNaN(D)||O,w.stop=v>0&&Math.abs(k[u]-_[u])>b,m&&(w.parsed=k,w.raw=h.data[v]),d&&(w.options=f||this.resolveDataElementOptions(v,S.active?"active":o)),x||this.updateElement(S,v,w,o),_=k}}getMaxOverflow(){let t=this._cachedMeta,s=t.dataset,n=s.options&&s.options.borderWidth||0,o=t.data||[];if(!o.length)return n;let r=o[0].size(this.resolveDataElementOptions(0)),a=o[o.length-1].size(this.resolveDataElementOptions(o.length-1));return Math.max(n,r,a)/2}draw(){let t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}return e})(),yr=(()=>{class e extends Rt{static id="polarArea";static defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){let s=t.data;if(s.labels.length&&s.datasets.length){let{labels:{pointStyle:n,color:o}}=t.legend.options;return s.labels.map((r,a)=>{let c=t.getDatasetMeta(0).controller.getStyle(a);return{text:r,fillStyle:c.backgroundColor,strokeStyle:c.borderColor,fontColor:o,lineWidth:c.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(a),index:a}})}return[]}},onClick(t,s,n){n.chart.toggleDataVisibility(s.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(t,s){super(t,s),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){let s=this._cachedMeta,n=this.chart,o=n.data.labels||[],r=oe(s._parsed[t].r,n.options.locale);return{label:o[t]||"",value:r}}parseObjectData(t,s,n,o){return Ps.bind(this)(t,s,n,o)}update(t){let s=this._cachedMeta.data;this._updateRadius(),this.updateElements(s,0,s.length,t)}getMinMax(){let t=this._cachedMeta,s={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((n,o)=>{let r=this.getParsed(o).r;!isNaN(r)&&this.chart.getDataVisibility(o)&&(rs.max&&(s.max=r))}),s}_updateRadius(){let t=this.chart,s=t.chartArea,n=t.options,o=Math.min(s.right-s.left,s.bottom-s.top),r=Math.max(o/2,0),a=Math.max(n.cutoutPercentage?r/100*n.cutoutPercentage:1,0),l=(r-a)/t.getVisibleDatasetCount();this.outerRadius=r-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(t,s,n,o){let r=o==="reset",a=this.chart,c=a.options.animation,h=this._cachedMeta.rScale,f=h.xCenter,d=h.yCenter,u=h.getIndexAngle(0)-.5*F,p=u,g,m=360/this.countVisibleElements();for(g=0;g{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&s++}),s}_computeAngle(t,s,n){return this.chart.getDataVisibility(t)?nt(this.resolveDataElementOptions(t,s).angle||n):0}}return e})(),eh=(()=>{class e extends fn{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}}return e})(),ih=(()=>{class e extends Rt{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(t){let s=this._cachedMeta.vScale,n=this.getParsed(t);return{label:s.getLabels()[t],value:""+s.getLabelForValue(n[s.axis])}}parseObjectData(t,s,n,o){return Ps.bind(this)(t,s,n,o)}update(t){let s=this._cachedMeta,n=s.dataset,o=s.data||[],r=s.iScale.getLabels();if(n.points=o,t!=="resize"){let a=this.resolveDatasetElementOptions(t);this.options.showLine||(a.borderWidth=0);let l={_loop:!0,_fullLoop:r.length===o.length,options:a};this.updateElement(n,void 0,l,t)}this.updateElements(o,0,o.length,t)}updateElements(t,s,n,o){let r=this._cachedMeta.rScale,a=o==="reset";for(let l=s;l{class e extends Rt{static id="scatter";static defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};static overrides={interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}};getLabelAndValue(t){let s=this._cachedMeta,n=this.chart.data.labels||[],{xScale:o,yScale:r}=s,a=this.getParsed(t),l=o.getLabelForValue(a.x),c=r.getLabelForValue(a.y);return{label:n[t]||"",value:"("+l+", "+c+")"}}update(t){let s=this._cachedMeta,{data:n=[]}=s,o=this.chart._animationsDisabled,{start:r,count:a}=xs(s,n,o);if(this._drawStart=r,this._drawCount=a,bs(s)&&(r=0,a=n.length),this.options.showLine){this.datasetElementType||this.addElements();let{dataset:l,_dataset:c}=s;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!c._decimated,l.points=n;let h=this.resolveDatasetElementOptions(t);h.segment=this.options.segment,this.updateElement(l,void 0,{animated:!o,options:h},t)}else this.datasetElementType&&(delete s.dataset,this.datasetElementType=!1);this.updateElements(n,r,a,t)}addElements(){let{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,s,n,o){let r=o==="reset",{iScale:a,vScale:l,_stacked:c,_dataset:h}=this._cachedMeta,f=this.resolveDataElementOptions(s,o),d=this.getSharedOptions(f),u=this.includeOptions(o,d),p=a.axis,g=l.axis,{spanGaps:m,segment:b}=this.options,x=$t(m)?m:Number.POSITIVE_INFINITY,y=this.chart._animationsDisabled||r||o==="none",M=s>0&&this.getParsed(s-1);for(let _=s;_0&&Math.abs(S[p]-M[p])>x,b&&(w.parsed=S,w.raw=h.data[_]),u&&(w.options=d||this.resolveDataElementOptions(_,v.active?"active":o)),y||this.updateElement(v,_,w,o),M=S}this.updateSharedOptions(d,o,f)}getMaxOverflow(){let t=this._cachedMeta,s=t.data||[];if(!this.options.showLine){let l=0;for(let c=s.length-1;c>=0;--c)l=Math.max(l,s[c].size(this.resolveDataElementOptions(c))/2);return l>0&&l}let n=t.dataset,o=n.options&&n.options.borderWidth||0;if(!s.length)return o;let r=s[0].size(this.resolveDataElementOptions(0)),a=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(o,r,a)/2}}return e})(),nh=Object.freeze({__proto__:null,BarController:Zc,BubbleController:Jc,DoughnutController:fn,LineController:th,PieController:eh,PolarAreaController:yr,RadarController:ih,ScatterController:sh});function Yt(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var Us=class e{static override(i){Object.assign(e.prototype,i)}options;constructor(i){this.options=i||{}}init(){}formats(){return Yt()}parse(){return Yt()}format(){return Yt()}add(){return Yt()}diff(){return Yt()}startOf(){return Yt()}endOf(){return Yt()}},oh={_date:Us};function rh(e,i,t,s){let{controller:n,data:o,_sorted:r}=e,a=n._cachedMeta.iScale;if(a&&i===a.axis&&i!=="r"&&r&&o.length){let l=a._reversePixels?Kn:ct;if(s){if(n._sharedOptions){let c=o[0],h=typeof c.getRange=="function"&&c.getRange(i);if(h){let f=l(o,i,t-h),d=l(o,i,t+h);return{lo:f.lo,hi:d.hi}}}}else return l(o,i,t)}return{lo:0,hi:o.length-1}}function He(e,i,t,s,n){let o=e.getSortedVisibleDatasetMetas(),r=t[i];for(let a=0,l=o.length;a{l[r]&&l[r](i[t],n)&&(o.push({element:l,datasetIndex:c,index:h}),a=a||l.inRange(i.x,i.y,n))}),s&&!a?[]:o}var hh={evaluateInteractionItems:He,modes:{index(e,i,t,s){let n=Tt(i,e),o=t.axis||"x",r=t.includeInvisible||!1,a=t.intersect?zs(e,n,o,s,r):Bs(e,n,o,!1,s,r),l=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(c=>{let h=a[0].index,f=c.data[h];f&&!f.skip&&l.push({element:f,datasetIndex:c.index,index:h})}),l):[]},dataset(e,i,t,s){let n=Tt(i,e),o=t.axis||"xy",r=t.includeInvisible||!1,a=t.intersect?zs(e,n,o,s,r):Bs(e,n,o,!1,s,r);if(a.length>0){let l=a[0].datasetIndex,c=e.getDatasetMeta(l).data;a=[];for(let h=0;ht.pos===i)}function Oo(e,i){return e.filter(t=>vr.indexOf(t.pos)===-1&&t.box.axis===i)}function Ee(e,i){return e.sort((t,s)=>{let n=i?s:t,o=i?t:s;return n.weight===o.weight?n.index-o.index:n.weight-o.weight})}function fh(e){let i=[],t,s,n,o,r,a;for(t=0,s=(e||[]).length;tc.box.fullSize),!0),s=Ee(Ie(i,"left"),!0),n=Ee(Ie(i,"right")),o=Ee(Ie(i,"top"),!0),r=Ee(Ie(i,"bottom")),a=Oo(i,"x"),l=Oo(i,"y");return{fullSize:t,leftAndTop:s.concat(o),rightAndBottom:n.concat(l).concat(r).concat(a),chartArea:Ie(i,"chartArea"),vertical:s.concat(n).concat(l),horizontal:o.concat(r).concat(a)}}function Ao(e,i,t,s){return Math.max(e[t],i[t])+Math.max(e[s],i[s])}function Mr(e,i){e.top=Math.max(e.top,i.top),e.left=Math.max(e.left,i.left),e.bottom=Math.max(e.bottom,i.bottom),e.right=Math.max(e.right,i.right)}function gh(e,i,t,s){let{pos:n,box:o}=t,r=e.maxPadding;if(!A(n)){t.size&&(e[n]-=t.size);let f=s[t.stack]||{size:0,count:1};f.size=Math.max(f.size,t.horizontal?o.height:o.width),t.size=f.size/f.count,e[n]+=t.size}o.getPadding&&Mr(r,o.getPadding());let a=Math.max(0,i.outerWidth-Ao(r,e,"left","right")),l=Math.max(0,i.outerHeight-Ao(r,e,"top","bottom")),c=a!==e.w,h=l!==e.h;return e.w=a,e.h=l,t.horizontal?{same:c,other:h}:{same:h,other:c}}function mh(e){let i=e.maxPadding;function t(s){let n=Math.max(i[s]-e[s],0);return e[s]+=n,n}e.y+=t("top"),e.x+=t("left"),t("right"),t("bottom")}function xh(e,i){let t=i.maxPadding;function s(n){let o={left:0,top:0,right:0,bottom:0};return n.forEach(r=>{o[r]=Math.max(i[r],t[r])}),o}return s(e?["left","right"]:["top","bottom"])}function Be(e,i,t,s){let n=[],o,r,a,l,c,h;for(o=0,r=e.length,c=0;o{typeof g.beforeLayout=="function"&&g.beforeLayout()});let h=l.reduce((g,m)=>m.box.options&&m.box.options.display===!1?g:g+1,0)||1,f=Object.freeze({outerWidth:i,outerHeight:t,padding:n,availableWidth:o,availableHeight:r,vBoxMaxWidth:o/2/h,hBoxMaxHeight:r/2}),d=Object.assign({},n);Mr(d,K(s));let u=Object.assign({maxPadding:d,w:o,h:r,x:n.left,y:n.top},n),p=uh(l.concat(c),f);Be(a.fullSize,u,f,p),Be(l,u,f,p),Be(c,u,f,p)&&Be(l,u,f,p),mh(u),Do(a.leftAndTop,u,f,p),u.x+=u.w,u.y+=u.h,Do(a.rightAndBottom,u,f,p),e.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h,height:u.h,width:u.w},L(a.chartArea,g=>{let m=g.box;Object.assign(m,e.chartArea),m.update(u.w,u.h,{left:0,top:0,right:0,bottom:0})})}},Li=class{acquireContext(i,t){}releaseContext(i){return!1}addEventListener(i,t,s){}removeEventListener(i,t,s){}getDevicePixelRatio(){return 1}getMaximumSize(i,t,s,n){return t=Math.max(0,t||i.width),s=s||i.height,{width:t,height:Math.max(0,n?Math.floor(t/n):s)}}isAttached(i){return!0}updateConfig(i){}},Ys=class extends Li{acquireContext(i){return i&&i.getContext&&i.getContext("2d")||null}updateConfig(i){i.options.animation=!1}},Ai="$chartjs",bh={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},To=e=>e===null||e==="";function _h(e,i){let t=e.style,s=e.getAttribute("height"),n=e.getAttribute("width");if(e[Ai]={initial:{height:s,width:n,style:{display:t.display,height:t.height,width:t.width}}},t.display=t.display||"block",t.boxSizing=t.boxSizing||"border-box",To(n)){let o=As(e,"width");o!==void 0&&(e.width=o)}if(To(s))if(e.style.height==="")e.height=e.width/(i||2);else{let o=As(e,"height");o!==void 0&&(e.height=o)}return e}var wr=fo?{passive:!0}:!1;function yh(e,i,t){e&&e.addEventListener(i,t,wr)}function vh(e,i,t){e&&e.canvas&&e.canvas.removeEventListener(i,t,wr)}function Mh(e,i){let t=bh[e.type]||e.type,{x:s,y:n}=Tt(e,i);return{type:t,chart:i,native:e,x:s!==void 0?s:null,y:n!==void 0?n:null}}function Ri(e,i){for(let t of e)if(t===i||t.contains(i))return!0}function wh(e,i,t){let s=e.canvas,n=new MutationObserver(o=>{let r=!1;for(let a of o)r=r||Ri(a.addedNodes,s),r=r&&!Ri(a.removedNodes,s);r&&t()});return n.observe(document,{childList:!0,subtree:!0}),n}function Sh(e,i,t){let s=e.canvas,n=new MutationObserver(o=>{let r=!1;for(let a of o)r=r||Ri(a.removedNodes,s),r=r&&!Ri(a.addedNodes,s);r&&t()});return n.observe(document,{childList:!0,subtree:!0}),n}var Ne=new Map,Lo=0;function Sr(){let e=window.devicePixelRatio;e!==Lo&&(Lo=e,Ne.forEach((i,t)=>{t.currentDevicePixelRatio!==e&&i()}))}function kh(e,i){Ne.size||window.addEventListener("resize",Sr),Ne.set(e,i)}function Ch(e){Ne.delete(e),Ne.size||window.removeEventListener("resize",Sr)}function Ph(e,i,t){let s=e.canvas,n=s&&yi(s);if(!n)return;let o=ms((a,l)=>{let c=n.clientWidth;t(a,l),c{let l=a[0],c=l.contentRect.width,h=l.contentRect.height;c===0&&h===0||o(c,h)});return r.observe(n),kh(e,o),r}function js(e,i,t){t&&t.disconnect(),i==="resize"&&Ch(e)}function Oh(e,i,t){let s=e.canvas,n=ms(o=>{e.ctx!==null&&t(Mh(o,e))},e);return yh(s,i,n),n}var Xs=class extends Li{acquireContext(i,t){let s=i&&i.getContext&&i.getContext("2d");return s&&s.canvas===i?(_h(i,t),s):null}releaseContext(i){let t=i.canvas;if(!t[Ai])return!1;let s=t[Ai].initial;["height","width"].forEach(o=>{let r=s[o];T(r)?t.removeAttribute(o):t.setAttribute(o,r)});let n=s.style||{};return Object.keys(n).forEach(o=>{t.style[o]=n[o]}),t.width=t.width,delete t[Ai],!0}addEventListener(i,t,s){this.removeEventListener(i,t);let n=i.$proxies||(i.$proxies={}),r={attach:wh,detach:Sh,resize:Ph}[t]||Oh;n[t]=r(i,t,s)}removeEventListener(i,t){let s=i.$proxies||(i.$proxies={}),n=s[t];if(!n)return;({attach:js,detach:js,resize:js}[t]||vh)(i,t,n),s[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(i,t,s,n){return ho(i,t,s,n)}isAttached(i){let t=i&&yi(i);return!!(t&&t.isConnected)}};function Ah(e){return!_i()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?Ys:Xs}var lt=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(i){let{x:t,y:s}=this.getProps(["x","y"],i);return{x:t,y:s}}hasValue(){return $t(this.x)&&$t(this.y)}getProps(i,t){let s=this.$animations;if(!t||!s)return this;let n={};return i.forEach(o=>{n[o]=s[o]&&s[o].active()?s[o]._to:this[o]}),n}};function Dh(e,i){let t=e.options.ticks,s=Th(e),n=Math.min(t.maxTicksLimit||s,s),o=t.major.enabled?Rh(i):[],r=o.length,a=o[0],l=o[r-1],c=[];if(r>n)return Ih(i,c,o,r/n),c;let h=Lh(o,i,n);if(r>0){let f,d,u=r>1?Math.round((l-a)/(r-1)):null;for(wi(i,c,h,T(u)?0:a-u,a),f=0,d=r-1;fn)return l}return Math.max(n,1)}function Rh(e){let i=[],t,s;for(t=0,s=e.length;te==="left"?"right":e==="right"?"left":e,Ro=(e,i,t)=>i==="top"||i==="left"?e[i]+t:e[i]-t,Io=(e,i)=>Math.min(i||e,e);function Eo(e,i){let t=[],s=e.length/i,n=e.length,o=0;for(;or+a)))return l}function Bh(e,i){L(e,t=>{let s=t.gc,n=s.length/2,o;if(n>i){for(o=0;os?s:t,s=n&&t>s?t:s,{min:J(t,J(s,t)),max:J(s,J(t,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let i=this.chart.data;return this.options.labels||(this.isHorizontal()?i.xLabels:i.yLabels)||i.labels||[]}getLabelItems(i=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(i))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){I(this.options.beforeUpdate,[this])}update(i,t,s){let{beginAtZero:n,grace:o,ticks:r}=this.options,a=r.sampleSize;this.beforeUpdate(),this.maxWidth=i,this.maxHeight=t,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=no(this,o,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let l=a=o||s<=1||!this.isHorizontal()){this.labelRotation=n;return}let h=this._getLabelSizes(),f=h.widest.width,d=h.highest.height,u=U(this.chart.width-f,0,this.maxWidth);a=i.offset?this.maxWidth/s:u/(s-1),f+6>a&&(a=u/(s-(i.offset?.5:1)),l=this.maxHeight-Fe(i.grid)-t.padding-Fo(i.title,this.chart.options.font),c=Math.sqrt(f*f+d*d),r=di(Math.min(Math.asin(U((h.highest.height+6)/a,-1,1)),Math.asin(U(l/c,-1,1))-Math.asin(U(d/c,-1,1)))),r=Math.max(n,Math.min(o,r))),this.labelRotation=r}afterCalculateLabelRotation(){I(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){I(this.options.beforeFit,[this])}fit(){let i={width:0,height:0},{chart:t,options:{ticks:s,title:n,grid:o}}=this,r=this._isVisible(),a=this.isHorizontal();if(r){let l=Fo(n,t.options.font);if(a?(i.width=this.maxWidth,i.height=Fe(o)+l):(i.height=this.maxHeight,i.width=Fe(o)+l),s.display&&this.ticks.length){let{first:c,last:h,widest:f,highest:d}=this._getLabelSizes(),u=s.padding*2,p=nt(this.labelRotation),g=Math.cos(p),m=Math.sin(p);if(a){let b=s.mirror?0:m*f.width+g*d.height;i.height=Math.min(this.maxHeight,i.height+b+u)}else{let b=s.mirror?0:g*f.width+m*d.height;i.width=Math.min(this.maxWidth,i.width+b+u)}this._calculatePadding(c,h,m,g)}}this._handleMargins(),a?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=i.height):(this.width=i.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(i,t,s,n){let{ticks:{align:o,padding:r},position:a}=this.options,l=this.labelRotation!==0,c=a!=="top"&&this.axis==="x";if(this.isHorizontal()){let h=this.getPixelForTick(0)-this.left,f=this.right-this.getPixelForTick(this.ticks.length-1),d=0,u=0;l?c?(d=n*i.width,u=s*t.height):(d=s*i.height,u=n*t.width):o==="start"?u=t.width:o==="end"?d=i.width:o!=="inner"&&(d=i.width/2,u=t.width/2),this.paddingLeft=Math.max((d-h+r)*this.width/(this.width-h),0),this.paddingRight=Math.max((u-f+r)*this.width/(this.width-f),0)}else{let h=t.height/2,f=i.height/2;o==="start"?(h=0,f=i.height):o==="end"&&(h=t.height,f=0),this.paddingTop=h+r,this.paddingBottom=f+r}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){I(this.options.afterFit,[this])}isHorizontal(){let{axis:i,position:t}=this.options;return t==="top"||t==="bottom"||i==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(i){this.beforeTickToLabelConversion(),this.generateTickLabels(i);let t,s;for(t=0,s=i.length;t({width:r[k]||0,height:a[k]||0});return{first:w(0),last:w(t-1),widest:w(v),highest:w(S),widths:r,heights:a}}getLabelForValue(i){return i}getPixelForValue(i,t){return NaN}getValueForPixel(i){}getPixelForTick(i){let t=this.ticks;return i<0||i>t.length-1?null:this.getPixelForValue(t[i].value)}getPixelForDecimal(i){this._reversePixels&&(i=1-i);let t=this._startPixel+i*this._length;return Xn(this._alignToPixels?Ot(this.chart,t,0):t)}getDecimalForPixel(i){let t=(i-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:i,max:t}=this;return i<0&&t<0?t:i>0&&t>0?i:0}getContext(i){let t=this.ticks||[];if(i>=0&&ia*n?a/s:l/n:l*n0}_computeGridLineItems(i){let t=this.axis,s=this.chart,n=this.options,{grid:o,position:r,border:a}=n,l=o.offset,c=this.isHorizontal(),f=this.ticks.length+(l?1:0),d=Fe(o),u=[],p=a.setContext(this.getContext()),g=p.display?p.width:0,m=g/2,b=function(N){return Ot(s,N,g)},x,y,M,_,v,S,w,k,O,P,D,Y;if(r==="top")x=b(this.bottom),S=this.bottom-d,k=x-m,P=b(i.top)+m,Y=i.bottom;else if(r==="bottom")x=b(this.top),P=i.top,Y=b(i.bottom)-m,S=x+m,k=this.top+d;else if(r==="left")x=b(this.right),v=this.right-d,w=x-m,O=b(i.left)+m,D=i.right;else if(r==="right")x=b(this.left),O=i.left,D=b(i.right)-m,v=x+m,w=this.left+d;else if(t==="x"){if(r==="center")x=b((i.top+i.bottom)/2+.5);else if(A(r)){let N=Object.keys(r)[0],H=r[N];x=b(this.chart.scales[N].getPixelForValue(H))}P=i.top,Y=i.bottom,S=x+m,k=S+d}else if(t==="y"){if(r==="center")x=b((i.left+i.right)/2);else if(A(r)){let N=Object.keys(r)[0],H=r[N];x=b(this.chart.scales[N].getPixelForValue(H))}v=x-m,w=v-d,O=i.left,D=i.right}let it=C(n.ticks.maxTicksLimit,f),R=Math.max(1,Math.ceil(f/it));for(y=0;y0&&(Nt-=jt/2);break}Ge={left:Nt,top:Me,width:jt+Gt.width,height:ve+Gt.height,color:R.backdropColor}}m.push({label:M,font:k,textOffset:D,options:{rotation:g,color:H,strokeColor:rt,strokeWidth:q,textAlign:qt,textBaseline:Y,translation:[_,v],backdrop:Ge}})}return m}_getXAxisLabelAlignment(){let{position:i,ticks:t}=this.options;if(-nt(this.labelRotation))return i==="top"?"left":"right";let n="center";return t.align==="start"?n="left":t.align==="end"?n="right":t.align==="inner"&&(n="inner"),n}_getYAxisLabelAlignment(i){let{position:t,ticks:{crossAlign:s,mirror:n,padding:o}}=this.options,r=this._getLabelSizes(),a=i+o,l=r.widest.width,c,h;return t==="left"?n?(h=this.right+o,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h+=l)):(h=this.right-a,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h=this.left)):t==="right"?n?(h=this.left+o,s==="near"?c="right":s==="center"?(c="center",h-=l/2):(c="left",h-=l)):(h=this.left+a,s==="near"?c="left":s==="center"?(c="center",h+=l/2):(c="right",h=this.right)):c="right",{textAlign:c,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;let i=this.chart,t=this.options.position;if(t==="left"||t==="right")return{top:0,left:this.left,bottom:i.height,right:this.right};if(t==="top"||t==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:i.width}}drawBackground(){let{ctx:i,options:{backgroundColor:t},left:s,top:n,width:o,height:r}=this;t&&(i.save(),i.fillStyle=t,i.fillRect(s,n,o,r),i.restore())}getLineWidthForValue(i){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(o=>o.value===i);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(i){let t=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(i)),o,r,a=(l,c,h)=>{!h.width||!h.color||(s.save(),s.lineWidth=h.width,s.strokeStyle=h.color,s.setLineDash(h.borderDash||[]),s.lineDashOffset=h.borderDashOffset,s.beginPath(),s.moveTo(l.x,l.y),s.lineTo(c.x,c.y),s.stroke(),s.restore())};if(t.display)for(o=0,r=n.length;o{this.draw(o)}}]:[{z:s,draw:o=>{this.drawBackground(),this.drawGrid(o),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:t,draw:o=>{this.drawLabels(o)}}]}getMatchingVisibleMetas(i){let t=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[],o,r;for(o=0,r=t.length;o{let s=t.split("."),n=s.pop(),o=[e].concat(s).join("."),r=i[t].split("."),a=r.pop(),l=r.join(".");B.route(o,n,l,a)})}function Uh(e){return"id"in e&&"defaults"in e}var Ks=class{constructor(){this.controllers=new ce(Rt,"datasets",!0),this.elements=new ce(lt,"elements"),this.plugins=new ce(Object,"plugins"),this.scales=new ce(Kt,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...i){this._each("register",i)}remove(...i){this._each("unregister",i)}addControllers(...i){this._each("register",i,this.controllers)}addElements(...i){this._each("register",i,this.elements)}addPlugins(...i){this._each("register",i,this.plugins)}addScales(...i){this._each("register",i,this.scales)}getController(i){return this._get(i,this.controllers,"controller")}getElement(i){return this._get(i,this.elements,"element")}getPlugin(i){return this._get(i,this.plugins,"plugin")}getScale(i){return this._get(i,this.scales,"scale")}removeControllers(...i){this._each("unregister",i,this.controllers)}removeElements(...i){this._each("unregister",i,this.elements)}removePlugins(...i){this._each("unregister",i,this.plugins)}removeScales(...i){this._each("unregister",i,this.scales)}_each(i,t,s){[...t].forEach(n=>{let o=s||this._getRegistryForType(n);s||o.isForType(n)||o===this.plugins&&n.id?this._exec(i,o,n):L(n,r=>{let a=s||this._getRegistryForType(r);this._exec(i,a,r)})})}_exec(i,t,s){let n=fi(i);I(s["before"+n],[],s),t[i](s),I(s["after"+n],[],s)}_getRegistryForType(i){for(let t=0;to.filter(a=>!r.some(l=>a.plugin.id===l.plugin.id));this._notify(n(t,s),i,"stop"),this._notify(n(s,t),i,"start")}};function Yh(e){let i={},t=[],s=Object.keys(pt.plugins.items);for(let o=0;o1&&zo(e[0].toLowerCase());if(s)return s}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Bo(e,i,t){if(t[i+"AxisID"]===e)return{axis:i}}function Qh(e,i){if(i.data&&i.data.datasets){let t=i.data.datasets.filter(s=>s.xAxisID===e||s.yAxisID===e);if(t.length)return Bo(e,"x",t[0])||Bo(e,"y",t[0])}return{}}function tf(e,i){let t=Pt[e.type]||{scales:{}},s=i.scales||{},n=Gs(e.type,i),o=Object.create(null);return Object.keys(s).forEach(r=>{let a=s[r];if(!A(a))return console.error(`Invalid scale configuration for scale: ${r}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${r}`);let l=Zs(r,a,Qh(r,e),B.scales[a.type]),c=Zh(l,n),h=t.scales||{};o[r]=ee(Object.create(null),[{axis:l},a,h[l],h[c]])}),e.data.datasets.forEach(r=>{let a=r.type||e.type,l=r.indexAxis||Gs(a,i),h=(Pt[a]||{}).scales||{};Object.keys(h).forEach(f=>{let d=Gh(f,l),u=r[d+"AxisID"]||d;o[u]=o[u]||Object.create(null),ee(o[u],[{axis:d},s[u],h[f]])})}),Object.keys(o).forEach(r=>{let a=o[r];ee(a,[B.scales[a.type],B.scale])}),o}function kr(e){let i=e.options||(e.options={});i.plugins=C(i.plugins,{}),i.scales=tf(e,i)}function Cr(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function ef(e){return e=e||{},e.data=Cr(e.data),kr(e),e}var jo=new Map,Pr=new Set;function Si(e,i){let t=jo.get(e);return t||(t=i(),jo.set(e,t),Pr.add(t)),t}var ze=(e,i,t)=>{let s=_t(i,t);s!==void 0&&e.add(s)},Js=class{constructor(i){this._config=ef(i),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(i){this._config.type=i}get data(){return this._config.data}set data(i){this._config.data=Cr(i)}get options(){return this._config.options}set options(i){this._config.options=i}get plugins(){return this._config.plugins}update(){let i=this._config;this.clearCache(),kr(i)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(i){return Si(i,()=>[[`datasets.${i}`,""]])}datasetAnimationScopeKeys(i,t){return Si(`${i}.transition.${t}`,()=>[[`datasets.${i}.transitions.${t}`,`transitions.${t}`],[`datasets.${i}`,""]])}datasetElementScopeKeys(i,t){return Si(`${i}-${t}`,()=>[[`datasets.${i}.elements.${t}`,`datasets.${i}`,`elements.${t}`,""]])}pluginScopeKeys(i){let t=i.id,s=this.type;return Si(`${s}-plugin-${t}`,()=>[[`plugins.${t}`,...i.additionalOptionScopes||[]]])}_cachedScopes(i,t){let s=this._scopeCache,n=s.get(i);return(!n||t)&&(n=new Map,s.set(i,n)),n}getOptionScopes(i,t,s){let{options:n,type:o}=this,r=this._cachedScopes(i,s),a=r.get(t);if(a)return a;let l=new Set;t.forEach(h=>{i&&(l.add(i),h.forEach(f=>ze(l,i,f))),h.forEach(f=>ze(l,n,f)),h.forEach(f=>ze(l,Pt[o]||{},f)),h.forEach(f=>ze(l,B,f)),h.forEach(f=>ze(l,gi,f))});let c=Array.from(l);return c.length===0&&c.push(Object.create(null)),Pr.has(t)&&r.set(t,c),c}chartOptionScopes(){let{options:i,type:t}=this;return[i,Pt[t]||{},B.datasets[t]||{},{type:t},B,gi]}resolveNamedOptions(i,t,s,n=[""]){let o={$shared:!0},{resolver:r,subPrefixes:a}=No(this._resolverCache,i,n),l=r;if(nf(r,t)){o.$shared=!1,s=xt(s)?s():s;let c=this.createResolver(i,s,a);l=Ht(r,s,c)}for(let c of t)o[c]=l[c];return o}createResolver(i,t,s=[""],n){let{resolver:o}=No(this._resolverCache,i,s);return A(t)?Ht(o,t,void 0,n):o}};function No(e,i,t){let s=e.get(i);s||(s=new Map,e.set(i,s));let n=t.join(),o=s.get(n);return o||(o={resolver:bi(i,t),subPrefixes:t.filter(a=>!a.toLowerCase().includes("hover"))},s.set(n,o)),o}var sf=e=>A(e)&&Object.getOwnPropertyNames(e).some(i=>xt(e[i]));function nf(e,i){let{isScriptable:t,isIndexable:s}=Ss(e);for(let n of i){let o=t(n),r=s(n),a=(r||o)&&e[n];if(o&&(xt(a)||sf(a))||r&&E(a))return!0}return!1}var of="4.4.4",rf=["top","bottom","left","right","chartArea"];function Wo(e,i){return e==="top"||e==="bottom"||rf.indexOf(e)===-1&&i==="x"}function Vo(e,i){return function(t,s){return t[e]===s[e]?t[i]-s[i]:t[e]-s[e]}}function Ho(e){let i=e.chart,t=i.options.animation;i.notifyPlugins("afterRender"),I(t&&t.onComplete,[e],i)}function af(e){let i=e.chart,t=i.options.animation;I(t&&t.onProgress,[e],i)}function Or(e){return _i()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var Di={},$o=e=>{let i=Or(e);return Object.values(Di).filter(t=>t.canvas===i).pop()};function lf(e,i,t){let s=Object.keys(e);for(let n of s){let o=+n;if(o>=i){let r=e[n];delete e[n],(t>0||o>i)&&(e[o+t]=r)}}}function cf(e,i,t,s){return!t||e.type==="mouseout"?null:s?i:e}function ki(e,i,t){return e.options.clip?e[t]:i[t]}function hf(e,i){let{xScale:t,yScale:s}=e;return t&&s?{left:ki(t,i,"left"),right:ki(t,i,"right"),top:ki(s,i,"top"),bottom:ki(s,i,"bottom")}:i}var zi=(()=>{class e{static defaults=B;static instances=Di;static overrides=Pt;static registry=pt;static version=of;static getChart=$o;static register(...t){pt.add(...t),Uo()}static unregister(...t){pt.remove(...t),Uo()}constructor(t,s){let n=this.config=new Js(s),o=Or(t),r=$o(o);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||Ah(o)),this.platform.updateConfig(n);let l=this.platform.acquireContext(o,a.aspectRatio),c=l&&l.canvas,h=c&&c.height,f=c&&c.width;if(this.id=Wn(),this.ctx=l,this.canvas=c,this.width=f,this.height=h,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new qs,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Jn(d=>this.update(d),a.resizeDelay||0),this._dataChanges=[],Di[this.id]=this,!l||!c){console.error("Failed to create chart: can't acquire context from the given item");return}vt.listen(this,"complete",Ho),vt.listen(this,"progress",af),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:t,maintainAspectRatio:s},width:n,height:o,_aspectRatio:r}=this;return T(t)?s&&r?r:o?n/o:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return pt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Os(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return vs(this.canvas,this.ctx),this}stop(){return vt.stop(this),this}resize(t,s){vt.running(this)?this._resizeBeforeDraw={width:t,height:s}:this._resize(t,s)}_resize(t,s){let n=this.options,o=this.canvas,r=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(o,t,s,r),l=n.devicePixelRatio||this.platform.getDevicePixelRatio(),c=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,Os(this,l,!0)&&(this.notifyPlugins("resize",{size:a}),I(n.onResize,[this,a],this),this.attached&&this._doResize(c)&&this.render())}ensureScalesHaveIDs(){let s=this.options.scales||{};L(s,(n,o)=>{n.id=o})}buildOrUpdateScales(){let t=this.options,s=t.scales,n=this.scales,o=Object.keys(n).reduce((a,l)=>(a[l]=!1,a),{}),r=[];s&&(r=r.concat(Object.keys(s).map(a=>{let l=s[a],c=Zs(a,l),h=c==="r",f=c==="x";return{options:l,dposition:h?"chartArea":f?"bottom":"left",dtype:h?"radialLinear":f?"category":"linear"}}))),L(r,a=>{let l=a.options,c=l.id,h=Zs(c,l),f=C(l.type,a.dtype);(l.position===void 0||Wo(l.position,h)!==Wo(a.dposition))&&(l.position=a.dposition),o[c]=!0;let d=null;if(c in n&&n[c].type===f)d=n[c];else{let u=pt.getScale(f);d=new u({id:c,type:f,ctx:this.ctx,chart:this}),n[d.id]=d}d.init(l,t)}),L(o,(a,l)=>{a||delete n[l]}),L(n,a=>{G.configure(this,a,a.options),G.addBox(this,a)})}_updateMetasets(){let t=this._metasets,s=this.data.datasets.length,n=t.length;if(t.sort((o,r)=>o.index-r.index),n>s){for(let o=s;os.length&&delete this._stacks,t.forEach((n,o)=>{s.filter(r=>r===n._dataset).length===0&&this._destroyDatasetMeta(o)})}buildOrUpdateControllers(){let t=[],s=this.data.datasets,n,o;for(this._removeUnreferencedMetasets(),n=0,o=s.length;n{this.getDatasetMeta(s).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){let s=this.config;s.update();let n=this._options=s.createResolver(s.chartOptionScopes(),this.getContext()),o=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;let r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let h=0,f=this.data.datasets.length;h{h.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Vo("z","_idx"));let{_active:l,_lastEvent:c}=this;c?this._eventHandler(c,!0):l.length&&this._updateHoverStyles(l,l,!0),this.render()}_updateScales(){L(this.scales,t=>{G.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let t=this.options,s=new Set(Object.keys(this._listeners)),n=new Set(t.events);(!ls(s,n)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:t}=this,s=this._getUniformDataChanges()||[];for(let{method:n,start:o,count:r}of s){let a=n==="_removeElements"?-r:r;lf(t,o,a)}}_getUniformDataChanges(){let t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];let s=this.data.datasets.length,n=r=>new Set(t.filter(a=>a[0]===r).map((a,l)=>l+","+a.splice(1).join(","))),o=n(0);for(let r=1;rr.split(",")).map(r=>({method:r[1],start:+r[2],count:+r[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;G.update(this,this.width,this.height,t);let s=this.chartArea,n=s.width<=0||s.height<=0;this._layers=[],L(this.boxes,o=>{n&&o.position==="chartArea"||(o.configure&&o.configure(),this._layers.push(...o._layers()))},this),this._layers.forEach((o,r)=>{o._idx=r}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let s=0,n=this.data.datasets.length;s=0;--s)this._drawDataset(t[s]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){let s=this.ctx,n=t._clip,o=!n.disabled,r=hf(t,this.chartArea),a={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",a)!==!1&&(o&&Te(s,{left:n.left===!1?0:r.left-n.left,right:n.right===!1?this.width:r.right+n.right,top:n.top===!1?0:r.top-n.top,bottom:n.bottom===!1?this.height:r.bottom+n.bottom}),t.controller.draw(),o&&Le(s),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(t){return ht(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,s,n,o){let r=hh.modes[s];return typeof r=="function"?r(this,t,n,o):[]}getDatasetMeta(t){let s=this.data.datasets[t],n=this._metasets,o=n.filter(r=>r&&r._dataset===s).pop();return o||(o={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:s&&s.order||0,index:t,_dataset:s,_parsed:[],_sorted:!1},n.push(o)),o}getContext(){return this.$context||(this.$context=yt(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){let s=this.data.datasets[t];if(!s)return!1;let n=this.getDatasetMeta(t);return typeof n.hidden=="boolean"?!n.hidden:!s.hidden}setDatasetVisibility(t,s){let n=this.getDatasetMeta(t);n.hidden=!s}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,s,n){let o=n?"show":"hide",r=this.getDatasetMeta(t),a=r.controller._resolveAnimations(void 0,o);ie(s)?(r.data[s].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),a.update(r,{visible:n}),this.update(l=>l.datasetIndex===t?o:void 0))}hide(t,s){this._updateVisibility(t,s,!1)}show(t,s){this._updateVisibility(t,s,!0)}_destroyDatasetMeta(t){let s=this._metasets[t];s&&s.controller&&s.controller._destroy(),delete this._metasets[t]}_stop(){let t,s;for(this.stop(),vt.remove(this),t=0,s=this.data.datasets.length;t{s.addEventListener(this,r,a),t[r]=a},o=(r,a,l)=>{r.offsetX=a,r.offsetY=l,this._eventHandler(r)};L(this.options.events,r=>n(r,o))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});let t=this._responsiveListeners,s=this.platform,n=(c,h)=>{s.addEventListener(this,c,h),t[c]=h},o=(c,h)=>{t[c]&&(s.removeEventListener(this,c,h),delete t[c])},r=(c,h)=>{this.canvas&&this.resize(c,h)},a,l=()=>{o("attach",l),this.attached=!0,this.resize(),n("resize",r),n("detach",a)};a=()=>{this.attached=!1,o("resize",r),this._stop(),this._resize(0,0),n("attach",l)},s.isAttached(this.canvas)?l():a()}unbindEvents(){L(this._listeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._listeners={},L(this._responsiveListeners,(t,s)=>{this.platform.removeEventListener(this,s,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,s,n){let o=n?"set":"remove",r,a,l,c;for(s==="dataset"&&(r=this.getDatasetMeta(t[0].datasetIndex),r.controller["_"+o+"DatasetHoverStyle"]()),l=0,c=t.length;l{let l=this.getDatasetMeta(r);if(!l)throw new Error("No dataset found at index "+r);return{datasetIndex:r,element:l.data[a],index:a}});!Ae(n,s)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,s))}notifyPlugins(t,s,n){return this._plugins.notify(this,t,s,n)}isPluginEnabled(t){return this._plugins._cache.filter(s=>s.plugin.id===t).length===1}_updateHoverStyles(t,s,n){let o=this.options.hover,r=(c,h)=>c.filter(f=>!h.some(d=>f.datasetIndex===d.datasetIndex&&f.index===d.index)),a=r(s,t),l=n?t:r(t,s);a.length&&this.updateHoverStyle(a,o.mode,!1),l.length&&o.mode&&this.updateHoverStyle(l,o.mode,!0)}_eventHandler(t,s){let n={event:t,replay:s,cancelable:!0,inChartArea:this.isPointInArea(t)},o=a=>(a.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",n,o)===!1)return;let r=this._handleEvent(t,s,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,o),(r||n.changed)&&this.render(),this}_handleEvent(t,s,n){let{_active:o=[],options:r}=this,a=s,l=this._getActiveElements(t,o,n,a),c=$n(t),h=cf(t,this._lastEvent,n,c);n&&(this._lastEvent=null,I(r.onHover,[t,l,this],this),c&&I(r.onClick,[t,l,this],this));let f=!Ae(l,o);return(f||s)&&(this._active=l,this._updateHoverStyles(l,o,s)),this._lastEvent=h,f}_getActiveElements(t,s,n,o){if(t.type==="mouseout")return[];if(!n)return s;let r=this.options.hover;return this.getElementsAtEventForMode(t,r.mode,r,o)}}return e})();function Uo(){return L(zi.instances,e=>e._plugins.invalidate())}function ff(e,i,t){let{startAngle:s,pixelMargin:n,x:o,y:r,outerRadius:a,innerRadius:l}=i,c=n/a;e.beginPath(),e.arc(o,r,a,s-c,t+c),l>n?(c=n/l,e.arc(o,r,l,t+c,s-c,!0)):e.arc(o,r,n,t+V,s-V),e.closePath(),e.clip()}function df(e){return xi(e,["outerStart","outerEnd","innerStart","innerEnd"])}function uf(e,i,t,s){let n=df(e.options.borderRadius),o=(t-i)/2,r=Math.min(o,s*i/2),a=l=>{let c=(t-Math.min(o,l))*s/2;return U(l,0,Math.min(o,c))};return{outerStart:a(n.outerStart),outerEnd:a(n.outerEnd),innerStart:U(n.innerStart,0,r),innerEnd:U(n.innerEnd,0,r)}}function le(e,i,t,s){return{x:t+e*Math.cos(i),y:s+e*Math.sin(i)}}function Ii(e,i,t,s,n,o){let{x:r,y:a,startAngle:l,pixelMargin:c,innerRadius:h}=i,f=Math.max(i.outerRadius+s+t-c,0),d=h>0?h+s+t+c:0,u=0,p=n-l;if(s){let R=h>0?h-s:0,N=f>0?f-s:0,H=(R+N)/2,rt=H!==0?p*H/(H+s):p;u=(p-rt)/2}let g=Math.max(.001,p*f-t/F)/f,m=(p-g)/2,b=l+m+u,x=n-m-u,{outerStart:y,outerEnd:M,innerStart:_,innerEnd:v}=uf(i,d,f,x-b),S=f-y,w=f-M,k=b+y/S,O=x-M/w,P=d+_,D=d+v,Y=b+_/P,it=x-v/D;if(e.beginPath(),o){let R=(k+O)/2;if(e.arc(r,a,f,k,R),e.arc(r,a,f,R,O),M>0){let q=le(w,O,r,a);e.arc(q.x,q.y,M,O,x+V)}let N=le(D,x,r,a);if(e.lineTo(N.x,N.y),v>0){let q=le(D,it,r,a);e.arc(q.x,q.y,v,x+V,it+Math.PI)}let H=(x-v/d+(b+_/d))/2;if(e.arc(r,a,d,x-v/d,H,!0),e.arc(r,a,d,H,b+_/d,!0),_>0){let q=le(P,Y,r,a);e.arc(q.x,q.y,_,Y+Math.PI,b-V)}let rt=le(S,b,r,a);if(e.lineTo(rt.x,rt.y),y>0){let q=le(S,k,r,a);e.arc(q.x,q.y,y,b-V,k)}}else{e.moveTo(r,a);let R=Math.cos(k)*f+r,N=Math.sin(k)*f+a;e.lineTo(R,N);let H=Math.cos(O)*f+r,rt=Math.sin(O)*f+a;e.lineTo(H,rt)}e.closePath()}function pf(e,i,t,s,n){let{fullCircles:o,startAngle:r,circumference:a}=i,l=i.endAngle;if(o){Ii(e,i,t,s,l,n);for(let c=0;ci!=="borderDash"};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(i){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,i&&Object.assign(this,i)}inRange(i,t,s){let n=this.getProps(["x","y"],s),{angle:o,distance:r}=ds(n,{x:i,y:t}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:h,circumference:f}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),d=(this.options.spacing+this.options.borderWidth)/2,u=C(f,l-a),p=ne(o,a,l)&&a!==l,g=u>=z||p,m=dt(r,c+d,h+d);return g&&m}getCenterPoint(i){let{x:t,y:s,startAngle:n,endAngle:o,innerRadius:r,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],i),{offset:l,spacing:c}=this.options,h=(n+o)/2,f=(r+a+c+l)/2;return{x:t+Math.cos(h)*f,y:s+Math.sin(h)*f}}tooltipPosition(i){return this.getCenterPoint(i)}draw(i){let{options:t,circumference:s}=this,n=(t.offset||0)/4,o=(t.spacing||0)/2,r=t.circular;if(this.pixelMargin=t.borderAlign==="inner"?.33:0,this.fullCircles=s>z?Math.floor(s/z):0,s===0||this.innerRadius<0||this.outerRadius<0)return;i.save();let a=(this.startAngle+this.endAngle)/2;i.translate(Math.cos(a)*n,Math.sin(a)*n);let l=1-Math.sin(Math.min(F,s||0)),c=n*l;i.fillStyle=t.backgroundColor,i.strokeStyle=t.borderColor,pf(i,this,c,o,r),gf(i,this,c,o,r),i.restore()}};function Ar(e,i,t=i){e.lineCap=C(t.borderCapStyle,i.borderCapStyle),e.setLineDash(C(t.borderDash,i.borderDash)),e.lineDashOffset=C(t.borderDashOffset,i.borderDashOffset),e.lineJoin=C(t.borderJoinStyle,i.borderJoinStyle),e.lineWidth=C(t.borderWidth,i.borderWidth),e.strokeStyle=C(t.borderColor,i.borderColor)}function mf(e,i,t){e.lineTo(t.x,t.y)}function xf(e){return e.stepped?io:e.tension||e.cubicInterpolationMode==="monotone"?so:mf}function Dr(e,i,t={}){let s=e.length,{start:n=0,end:o=s-1}=t,{start:r,end:a}=i,l=Math.max(n,r),c=Math.min(o,a),h=na&&o>a;return{count:s,start:l,loop:i.loop,ilen:c(r+(c?a-M:M))%o,y=()=>{g!==m&&(e.lineTo(h,m),e.lineTo(h,g),e.lineTo(h,b))};for(l&&(u=n[x(0)],e.moveTo(u.x,u.y)),d=0;d<=a;++d){if(u=n[x(d)],u.skip)continue;let M=u.x,_=u.y,v=M|0;v===p?(_m&&(m=_),h=(f*h+M)/++f):(y(),e.lineTo(M,_),p=v,f=0,g=m=_),b=_}y()}function tn(e){let i=e.options,t=i.borderDash&&i.borderDash.length;return!e._decimated&&!e._loop&&!i.tension&&i.cubicInterpolationMode!=="monotone"&&!i.stepped&&!t?_f:bf}function yf(e){return e.stepped?uo:e.tension||e.cubicInterpolationMode==="monotone"?po:Ct}function vf(e,i,t,s){let n=i._path;n||(n=i._path=new Path2D,i.path(n,t,s)&&n.closePath()),Ar(e,i.options),e.stroke(n)}function Mf(e,i,t,s){let{segments:n,options:o}=i,r=tn(i);for(let a of n)Ar(e,o,a.style),e.beginPath(),r(e,i,a,{start:t,end:t+s-1})&&e.closePath(),e.stroke()}var wf=typeof Path2D=="function";function Sf(e,i,t,s){wf&&!i.options.segment?vf(e,i,t,s):Mf(e,i,t,s)}var Bi=(()=>{class e extends lt{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:t=>t!=="borderDash"&&t!=="fill"};constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,s){let n=this.options;if((n.tension||n.cubicInterpolationMode==="monotone")&&!n.stepped&&!this._pointsUpdated){let o=n.spanGaps?this._loop:this._fullLoop;co(this._points,n,t,o,s),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=mo(this,this.options.segment))}first(){let t=this.segments,s=this.points;return t.length&&s[t[0].start]}last(){let t=this.segments,s=this.points,n=t.length;return n&&s[t[n-1].end]}interpolate(t,s){let n=this.options,o=t[s],r=this.points,a=Rs(this,{property:s,start:o,end:o});if(!a.length)return;let l=[],c=yf(n),h,f;for(h=0,f=a.length;h{class e extends lt{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,s,n){let o=this.options,{x:r,y:a}=this.getProps(["x","y"],n);return Math.pow(t-r,2)+Math.pow(s-a,2)e.replace("rgb(","rgba(").replace(")",", 0.5)"));function Lr(e){return sn[e%sn.length]}function Rr(e){return Xo[e%Xo.length]}function Lf(e,i){return e.borderColor=Lr(i),e.backgroundColor=Rr(i),++i}function Rf(e,i){return e.backgroundColor=e.data.map(()=>Lr(i++)),i}function If(e,i){return e.backgroundColor=e.data.map(()=>Rr(i++)),i}function Ef(e){let i=0;return(t,s)=>{let n=e.getDatasetMeta(s).controller;n instanceof fn?i=Rf(t,i):n instanceof yr?i=If(t,i):n&&(i=Lf(t,i))}}function Ko(e){let i;for(i in e)if(e[i].borderColor||e[i].backgroundColor)return!0;return!1}function Ff(e){return e&&(e.borderColor||e.backgroundColor)}var zf={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,i,t){if(!t.enabled)return;let{data:{datasets:s},options:n}=e.config,{elements:o}=n;if(!t.forceOverride&&(Ko(s)||Ff(n)||o&&Ko(o)))return;let r=Ef(e);s.forEach(r)}};function Bf(e,i,t,s,n){let o=n.samples||s;if(o>=t)return e.slice(i,i+t);let r=[],a=(t-2)/(o-2),l=0,c=i+t-1,h=i,f,d,u,p,g;for(r[l++]=e[h],f=0;fu&&(u=p,d=e[x],g=x);r[l++]=d,h=g}return r[l++]=e[c],r}function jf(e,i,t,s){let n=0,o=0,r,a,l,c,h,f,d,u,p,g,m=[],b=i+t-1,x=e[i].x,M=e[b].x-x;for(r=i;rg&&(g=c,d=r),n=(o*n+a.x)/++o;else{let v=r-1;if(!T(f)&&!T(d)){let S=Math.min(f,d),w=Math.max(f,d);S!==u&&S!==v&&m.push(Je(Ze({},e[S]),{x:n})),w!==u&&w!==v&&m.push(Je(Ze({},e[w]),{x:n}))}r>0&&v!==u&&m.push(e[v]),m.push(a),h=_,o=0,p=g=c,f=d=u=r}}return m}function Ir(e){if(e._decimated){let i=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:i})}}function qo(e){e.data.datasets.forEach(i=>{Ir(i)})}function Nf(e,i){let t=i.length,s=0,n,{iScale:o}=e,{min:r,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(s=U(ct(i,o.axis,r).lo,0,t-1)),c?n=U(ct(i,o.axis,a).hi+1,s,t)-s:n=t-s,{start:s,count:n}}var Wf={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,i,t)=>{if(!t.enabled){qo(e);return}let s=e.width;e.data.datasets.forEach((n,o)=>{let{_data:r,indexAxis:a}=n,l=e.getDatasetMeta(o),c=r||n.data;if(ae([a,e.options.indexAxis])==="y"||!l.controller.supportsDecimation)return;let h=e.scales[l.xAxisID];if(h.type!=="linear"&&h.type!=="time"||e.options.parsing)return;let{start:f,count:d}=Nf(l,c),u=t.threshold||4*s;if(d<=u){Ir(n);return}T(r)&&(n._data=c,delete n.data,Object.defineProperty(n,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(g){this._data=g}}));let p;switch(t.algorithm){case"lttb":p=Bf(c,f,d,s,t);break;case"min-max":p=jf(c,f,d,s);break;default:throw new Error(`Unsupported decimation algorithm '${t.algorithm}'`)}n._decimated=p})},destroy(e){qo(e)}};function Vf(e,i,t){let s=e.segments,n=e.points,o=i.points,r=[];for(let a of s){let{start:l,end:c}=a;c=dn(l,c,n);let h=nn(t,n[l],n[c],a.loop);if(!i.segments){r.push({source:a,target:h,start:n[l],end:n[c]});continue}let f=Rs(i,h);for(let d of f){let u=nn(t,o[d.start],o[d.end],d.loop),p=Ls(a,n,u);for(let g of p)r.push({source:g,target:d,start:{[t]:Go(h,u,"start",Math.max)},end:{[t]:Go(h,u,"end",Math.min)}})}}return r}function nn(e,i,t,s){if(s)return;let n=i[e],o=t[e];return e==="angle"&&(n=Z(n),o=Z(o)),{property:e,start:n,end:o}}function Hf(e,i){let{x:t=null,y:s=null}=e||{},n=i.points,o=[];return i.segments.forEach(({start:r,end:a})=>{a=dn(r,a,n);let l=n[r],c=n[a];s!==null?(o.push({x:l.x,y:s}),o.push({x:c.x,y:s})):t!==null&&(o.push({x:t,y:l.y}),o.push({x:t,y:c.y}))}),o}function dn(e,i,t){for(;i>e;i--){let s=t[i];if(!isNaN(s.x)&&!isNaN(s.y))break}return i}function Go(e,i,t,s){return e&&i?s(e[t],i[t]):e?e[t]:i?i[t]:0}function Er(e,i){let t=[],s=!1;return E(e)?(s=!0,t=e):t=Hf(e,i),t.length?new Bi({points:t,options:{tension:0},_loop:s,_fullLoop:s}):null}function Zo(e){return e&&e.fill!==!1}function $f(e,i,t){let n=e[i].fill,o=[i],r;if(!t)return n;for(;n!==!1&&o.indexOf(n)===-1;){if(!W(n))return n;if(r=e[n],!r)return!1;if(r.visible)return n;o.push(n),n=r.fill}return!1}function Uf(e,i,t){let s=qf(e);if(A(s))return isNaN(s.value)?!1:s;let n=parseFloat(s);return W(n)&&Math.floor(n)===n?Yf(s[0],i,n,t):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function Yf(e,i,t,s){return(e==="-"||e==="+")&&(t=i+t),t===i||t<0||t>=s?!1:t}function Xf(e,i){let t=null;return e==="start"?t=i.bottom:e==="end"?t=i.top:A(e)?t=i.getPixelForValue(e.value):i.getBasePixel&&(t=i.getBasePixel()),t}function Kf(e,i,t){let s;return e==="start"?s=t:e==="end"?s=i.options.reverse?i.min:i.max:A(e)?s=e.value:s=i.getBaseValue(),s}function qf(e){let i=e.options,t=i.fill,s=C(t&&t.target,t);return s===void 0&&(s=!!i.backgroundColor),s===!1||s===null?!1:s===!0?"origin":s}function Gf(e){let{scale:i,index:t,line:s}=e,n=[],o=s.segments,r=s.points,a=Zf(i,t);a.push(Er({x:null,y:i.bottom},s));for(let l=0;l=0;--r){let a=n[r].$filler;a&&(a.line.updateControlPoints(o,a.axis),s&&a.fill&&Vs(e.ctx,a,o))}},beforeDatasetsDraw(e,i,t){if(t.drawTime!=="beforeDatasetsDraw")return;let s=e.getSortedVisibleDatasetMetas();for(let n=s.length-1;n>=0;--n){let o=s[n].$filler;Zo(o)&&Vs(e.ctx,o,e.chartArea)}},beforeDatasetDraw(e,i,t){let s=i.meta.$filler;!Zo(s)||t.drawTime!=="beforeDatasetDraw"||Vs(e.ctx,s,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},er=(e,i)=>{let{boxHeight:t=i,boxWidth:s=i}=e;return e.usePointStyle&&(t=Math.min(t,i),s=e.pointStyleWidth||Math.min(s,i)),{boxWidth:s,boxHeight:t,itemHeight:Math.max(i,t)}},ld=(e,i)=>e!==null&&i!==null&&e.datasetIndex===i.datasetIndex&&e.index===i.index,Fi=class extends lt{constructor(i){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=i.chart,this.options=i.options,this.ctx=i.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(i,t,s){this.maxWidth=i,this.maxHeight=t,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let i=this.options.labels||{},t=I(i.generateLabels,[this.chart],this)||[];i.filter&&(t=t.filter(s=>i.filter(s,this.chart.data))),i.sort&&(t=t.sort((s,n)=>i.sort(s,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:i,ctx:t}=this;if(!i.display){this.width=this.height=0;return}let s=i.labels,n=$(s.font),o=n.size,r=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=er(s,o),c,h;t.font=n.string,this.isHorizontal()?(c=this.maxWidth,h=this._fitRows(r,o,a,l)+10):(h=this.maxHeight,c=this._fitCols(r,n,a,l)+10),this.width=Math.min(c,i.maxWidth||this.maxWidth),this.height=Math.min(h,i.maxHeight||this.maxHeight)}_fitRows(i,t,s,n){let{ctx:o,maxWidth:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],h=n+a,f=i;o.textAlign="left",o.textBaseline="middle";let d=-1,u=-h;return this.legendItems.forEach((p,g)=>{let m=s+t/2+o.measureText(p.text).width;(g===0||c[c.length-1]+m+2*a>r)&&(f+=h,c[c.length-(g>0?0:1)]=0,u+=h,d++),l[g]={left:0,top:u,row:d,width:m,height:n},c[c.length-1]+=m+a}),f}_fitCols(i,t,s,n){let{ctx:o,maxHeight:r,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],h=r-i,f=a,d=0,u=0,p=0,g=0;return this.legendItems.forEach((m,b)=>{let{itemWidth:x,itemHeight:y}=cd(s,t,o,m,n);b>0&&u+y+2*a>h&&(f+=d+a,c.push({width:d,height:u}),p+=d+a,g++,d=u=0),l[b]={left:p,top:u,col:g,width:x,height:y},d=Math.max(d,x),u+=y+a}),f+=d,c.push({width:d,height:u}),f}adjustHitBoxes(){if(!this.options.display)return;let i=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:s,labels:{padding:n},rtl:o}}=this,r=Ut(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=X(s,this.left+n,this.right-this.lineWidths[a]);for(let c of t)a!==c.row&&(a=c.row,l=X(s,this.left+n,this.right-this.lineWidths[a])),c.top+=this.top+i+n,c.left=r.leftForLtr(r.x(l),c.width),l+=c.width+n}else{let a=0,l=X(s,this.top+i+n,this.bottom-this.columnSizes[a].height);for(let c of t)c.col!==a&&(a=c.col,l=X(s,this.top+i+n,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+n,c.left=r.leftForLtr(r.x(c.left),c.width),l+=c.height+n}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let i=this.ctx;Te(i,this),this._draw(),Le(i)}}_draw(){let{options:i,columnSizes:t,lineWidths:s,ctx:n}=this,{align:o,labels:r}=i,a=B.color,l=Ut(i.rtl,this.left,this.width),c=$(r.font),{padding:h}=r,f=c.size,d=f/2,u;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=c.string;let{boxWidth:p,boxHeight:g,itemHeight:m}=er(r,f),b=function(v,S,w){if(isNaN(p)||p<=0||isNaN(g)||g<0)return;n.save();let k=C(w.lineWidth,1);if(n.fillStyle=C(w.fillStyle,a),n.lineCap=C(w.lineCap,"butt"),n.lineDashOffset=C(w.lineDashOffset,0),n.lineJoin=C(w.lineJoin,"miter"),n.lineWidth=k,n.strokeStyle=C(w.strokeStyle,a),n.setLineDash(C(w.lineDash,[])),r.usePointStyle){let O={radius:g*Math.SQRT2/2,pointStyle:w.pointStyle,rotation:w.rotation,borderWidth:k},P=l.xPlus(v,p/2),D=S+d;Ms(n,O,P,D,r.pointStyleWidth&&p)}else{let O=S+Math.max((f-g)/2,0),P=l.leftForLtr(v,p),D=Dt(w.borderRadius);n.beginPath(),Object.values(D).some(Y=>Y!==0)?re(n,{x:P,y:O,w:p,h:g,radius:D}):n.rect(P,O,p,g),n.fill(),k!==0&&n.stroke()}n.restore()},x=function(v,S,w){At(n,w.text,v,S+m/2,c,{strikethrough:w.hidden,textAlign:l.textAlign(w.textAlign)})},y=this.isHorizontal(),M=this._computeTitleHeight();y?u={x:X(o,this.left+h,this.right-s[0]),y:this.top+h+M,line:0}:u={x:this.left+h,y:X(o,this.top+M+h,this.bottom-t[0].height),line:0},Ds(this.ctx,i.textDirection);let _=m+h;this.legendItems.forEach((v,S)=>{n.strokeStyle=v.fontColor,n.fillStyle=v.fontColor;let w=n.measureText(v.text).width,k=l.textAlign(v.textAlign||(v.textAlign=r.textAlign)),O=p+d+w,P=u.x,D=u.y;l.setWidth(this.width),y?S>0&&P+O+h>this.right&&(D=u.y+=_,u.line++,P=u.x=X(o,this.left+h,this.right-s[u.line])):S>0&&D+_>this.bottom&&(P=u.x=P+t[u.line].width+h,u.line++,D=u.y=X(o,this.top+M+h,this.bottom-t[u.line].height));let Y=l.x(P);if(b(Y,D,v),P=Qn(k,P+p+d,y?P+O:this.right,i.rtl),x(l.x(P),D,v),y)u.x+=O+h;else if(typeof v.text!="string"){let it=c.lineHeight;u.y+=Fr(v,it)+h}else u.y+=_}),Ts(this.ctx,i.textDirection)}drawTitle(){let i=this.options,t=i.title,s=$(t.font),n=K(t.padding);if(!t.display)return;let o=Ut(i.rtl,this.left,this.width),r=this.ctx,a=t.position,l=s.size/2,c=n.top+l,h,f=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),h=this.top+c,f=X(i.align,f,this.right-d);else{let p=this.columnSizes.reduce((g,m)=>Math.max(g,m.height),0);h=c+X(i.align,this.top,this.bottom-p-i.labels.padding-this._computeTitleHeight())}let u=X(a,f,f+d);r.textAlign=o.textAlign(pi(a)),r.textBaseline="middle",r.strokeStyle=t.color,r.fillStyle=t.color,r.font=s.string,At(r,t.text,u,h,s)}_computeTitleHeight(){let i=this.options.title,t=$(i.font),s=K(i.padding);return i.display?t.lineHeight+s.height:0}_getLegendItemAt(i,t){let s,n,o;if(dt(i,this.left,this.right)&&dt(t,this.top,this.bottom)){for(o=this.legendHitBoxes,s=0;so.length>r.length?o:r)),i+t.size/2+s.measureText(n).width}function fd(e,i,t){let s=e;return typeof i.text!="string"&&(s=Fr(i,t)),s}function Fr(e,i){let t=e.text?e.text.length:0;return i*t}function dd(e,i){return!!((e==="mousemove"||e==="mouseout")&&(i.onHover||i.onLeave)||i.onClick&&(e==="click"||e==="mouseup"))}var ud={id:"legend",_element:Fi,start(e,i,t){let s=e.legend=new Fi({ctx:e.ctx,options:t,chart:e});G.configure(e,s,t),G.addBox(e,s)},stop(e){G.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,i,t){let s=e.legend;G.configure(e,s,t),s.options=t},afterUpdate(e){let i=e.legend;i.buildLabels(),i.adjustHitBoxes()},afterEvent(e,i){i.replay||e.legend.handleEvent(i.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,i,t){let s=i.datasetIndex,n=t.chart;n.isDatasetVisible(s)?(n.hide(s),i.hidden=!0):(n.show(s),i.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let i=e.data.datasets,{labels:{usePointStyle:t,pointStyle:s,textAlign:n,color:o,useBorderRadius:r,borderRadius:a}}=e.legend.options;return e._getSortedDatasetMetas().map(l=>{let c=l.controller.getStyle(t?0:void 0),h=K(c.borderWidth);return{text:i[l.index].label,fillStyle:c.backgroundColor,fontColor:o,hidden:!l.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(h.width+h.height)/4,strokeStyle:c.borderColor,pointStyle:s||c.pointStyle,rotation:c.rotation,textAlign:n||c.textAlign,borderRadius:r&&(a||c.borderRadius),datasetIndex:l.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}},We=class extends lt{constructor(i){super(),this.chart=i.chart,this.options=i.options,this.ctx=i.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(i,t){let s=this.options;if(this.left=0,this.top=0,!s.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=i,this.height=this.bottom=t;let n=E(s.text)?s.text.length:1;this._padding=K(s.padding);let o=n*$(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){let i=this.options.position;return i==="top"||i==="bottom"}_drawArgs(i){let{top:t,left:s,bottom:n,right:o,options:r}=this,a=r.align,l=0,c,h,f;return this.isHorizontal()?(h=X(a,s,o),f=t+i,c=o-s):(r.position==="left"?(h=s+i,f=X(a,n,t),l=F*-.5):(h=o-i,f=X(a,t,n),l=F*.5),c=n-t),{titleX:h,titleY:f,maxWidth:c,rotation:l}}draw(){let i=this.ctx,t=this.options;if(!t.display)return;let s=$(t.font),o=s.lineHeight/2+this._padding.top,{titleX:r,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);At(i,t.text,0,0,s,{color:t.color,maxWidth:l,rotation:c,textAlign:pi(t.align),textBaseline:"middle",translation:[r,a]})}};function pd(e,i){let t=new We({ctx:e.ctx,options:i,chart:e});G.configure(e,t,i),G.addBox(e,t),e.titleBlock=t}var gd={id:"title",_element:We,start(e,i,t){pd(e,t)},stop(e){let i=e.titleBlock;G.removeBox(e,i),delete e.titleBlock},beforeUpdate(e,i,t){let s=e.titleBlock;G.configure(e,s,t),s.options=t},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Ci=new WeakMap,md={id:"subtitle",start(e,i,t){let s=new We({ctx:e.ctx,options:t,chart:e});G.configure(e,s,t),G.addBox(e,s),Ci.set(e,s)},stop(e){G.removeBox(e,Ci.get(e)),Ci.delete(e)},beforeUpdate(e,i,t){let s=Ci.get(e);G.configure(e,s,t),s.options=t},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},je={average(e){if(!e.length)return!1;let i,t,s=new Set,n=0,o=0;for(i=0,t=e.length;ia+l)/s.size,y:n/o}},nearest(e,i){if(!e.length)return!1;let t=i.x,s=i.y,n=Number.POSITIVE_INFINITY,o,r,a;for(o=0,r=e.length;o-1?e.split(` `):e}function xd(e,i){let{element:t,datasetIndex:s,index:n}=i,o=e.getDatasetMeta(s).controller,{label:r,value:a}=o.getLabelAndValue(n);return{chart:e,label:r,parsed:o.getParsed(n),raw:e.data.datasets[s].data[n],formattedValue:a,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:t}}function ir(e,i){let t=e.chart.ctx,{body:s,footer:n,title:o}=e,{boxWidth:r,boxHeight:a}=i,l=$(i.bodyFont),c=$(i.titleFont),h=$(i.footerFont),f=o.length,d=n.length,u=s.length,p=K(i.padding),g=p.height,m=0,b=s.reduce((M,_)=>M+_.before.length+_.lines.length+_.after.length,0);if(b+=e.beforeBody.length+e.afterBody.length,f&&(g+=f*c.lineHeight+(f-1)*i.titleSpacing+i.titleMarginBottom),b){let M=i.displayColors?Math.max(a,l.lineHeight):l.lineHeight;g+=u*M+(b-u)*l.lineHeight+(b-1)*i.bodySpacing}d&&(g+=i.footerMarginTop+d*h.lineHeight+(d-1)*i.footerSpacing);let x=0,y=function(M){m=Math.max(m,t.measureText(M).width+x)};return t.save(),t.font=c.string,L(e.title,y),t.font=l.string,L(e.beforeBody.concat(e.afterBody),y),x=i.displayColors?r+2+i.boxPadding:0,L(s,M=>{L(M.before,y),L(M.lines,y),L(M.after,y)}),x=0,t.font=h.string,L(e.footer,y),t.restore(),m+=p.width,{width:m,height:g}}function bd(e,i){let{y:t,height:s}=i;return te.height-s/2?"bottom":"center"}function _d(e,i,t,s){let{x:n,width:o}=s,r=t.caretSize+t.caretPadding;if(e==="left"&&n+o+r>i.width||e==="right"&&n-o-r<0)return!0}function yd(e,i,t,s){let{x:n,width:o}=t,{width:r,chartArea:{left:a,right:l}}=e,c="center";return s==="center"?c=n<=(a+l)/2?"left":"right":n<=o/2?c="left":n>=r-o/2&&(c="right"),_d(c,e,i,t)&&(c="center"),c}function sr(e,i,t){let s=t.yAlign||i.yAlign||bd(e,t);return{xAlign:t.xAlign||i.xAlign||yd(e,i,t,s),yAlign:s}}function vd(e,i){let{x:t,width:s}=e;return i==="right"?t-=s:i==="center"&&(t-=s/2),t}function Md(e,i,t){let{y:s,height:n}=e;return i==="top"?s+=t:i==="bottom"?s-=n+t:s-=n/2,s}function nr(e,i,t,s){let{caretSize:n,caretPadding:o,cornerRadius:r}=e,{xAlign:a,yAlign:l}=t,c=n+o,{topLeft:h,topRight:f,bottomLeft:d,bottomRight:u}=Dt(r),p=vd(i,a),g=Md(i,l,c);return l==="center"?a==="left"?p+=c:a==="right"&&(p-=c):a==="left"?p-=Math.max(h,d)+n:a==="right"&&(p+=Math.max(f,u)+n),{x:U(p,0,s.width-i.width),y:U(g,0,s.height-i.height)}}function Pi(e,i,t){let s=K(t.padding);return i==="center"?e.x+e.width/2:i==="right"?e.x+e.width-s.right:e.x+s.left}function or(e){return ut([],Mt(e))}function wd(e,i,t){return yt(e,{tooltip:i,tooltipItems:t,type:"tooltip"})}function rr(e,i){let t=i&&i.dataset&&i.dataset.tooltip&&i.dataset.tooltip.callbacks;return t?e.override(t):e}var zr={beforeTitle:ft,title(e){if(e.length>0){let i=e[0],t=i.chart.data.labels,s=t?t.length:0;if(this&&this.options&&this.options.mode==="dataset")return i.dataset.label||"";if(i.label)return i.label;if(s>0&&i.dataIndex"u"?zr[i].call(t,s):n}var ar=(()=>{class e extends lt{static positioners=je;constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let t=this._cachedAnimations;if(t)return t;let s=this.chart,n=this.options.setContext(this.getContext()),o=n.enabled&&s.options.animation&&n.animations,r=new Ti(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=wd(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,s){let{callbacks:n}=s,o=Q(n,"beforeTitle",this,t),r=Q(n,"title",this,t),a=Q(n,"afterTitle",this,t),l=[];return l=ut(l,Mt(o)),l=ut(l,Mt(r)),l=ut(l,Mt(a)),l}getBeforeBody(t,s){return or(Q(s.callbacks,"beforeBody",this,t))}getBody(t,s){let{callbacks:n}=s,o=[];return L(t,r=>{let a={before:[],lines:[],after:[]},l=rr(n,r);ut(a.before,Mt(Q(l,"beforeLabel",this,r))),ut(a.lines,Q(l,"label",this,r)),ut(a.after,Mt(Q(l,"afterLabel",this,r))),o.push(a)}),o}getAfterBody(t,s){return or(Q(s.callbacks,"afterBody",this,t))}getFooter(t,s){let{callbacks:n}=s,o=Q(n,"beforeFooter",this,t),r=Q(n,"footer",this,t),a=Q(n,"afterFooter",this,t),l=[];return l=ut(l,Mt(o)),l=ut(l,Mt(r)),l=ut(l,Mt(a)),l}_createItems(t){let s=this._active,n=this.chart.data,o=[],r=[],a=[],l=[],c,h;for(c=0,h=s.length;ct.filter(f,d,u,n))),t.itemSort&&(l=l.sort((f,d)=>t.itemSort(f,d,n))),L(l,f=>{let d=rr(t.callbacks,f);o.push(Q(d,"labelColor",this,f)),r.push(Q(d,"labelPointStyle",this,f)),a.push(Q(d,"labelTextColor",this,f))}),this.labelColors=o,this.labelPointStyles=r,this.labelTextColors=a,this.dataPoints=l,l}update(t,s){let n=this.options.setContext(this.getContext()),o=this._active,r,a=[];if(!o.length)this.opacity!==0&&(r={opacity:0});else{let l=je[n.position].call(this,o,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);let c=this._size=ir(this,n),h=Object.assign({},l,c),f=sr(this.chart,n,h),d=nr(n,h,f,this.chart);this.xAlign=f.xAlign,this.yAlign=f.yAlign,r={opacity:1,x:d.x,y:d.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}this._tooltipItems=a,this.$context=void 0,r&&this._resolveAnimations().update(this,r),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:s})}drawCaret(t,s,n,o){let r=this.getCaretPosition(t,n,o);s.lineTo(r.x1,r.y1),s.lineTo(r.x2,r.y2),s.lineTo(r.x3,r.y3)}getCaretPosition(t,s,n){let{xAlign:o,yAlign:r}=this,{caretSize:a,cornerRadius:l}=n,{topLeft:c,topRight:h,bottomLeft:f,bottomRight:d}=Dt(l),{x:u,y:p}=t,{width:g,height:m}=s,b,x,y,M,_,v;return r==="center"?(_=p+m/2,o==="left"?(b=u,x=b-a,M=_+a,v=_-a):(b=u+g,x=b+a,M=_-a,v=_+a),y=b):(o==="left"?x=u+Math.max(c,f)+a:o==="right"?x=u+g-Math.max(h,d)-a:x=this.caretX,r==="top"?(M=p,_=M-a,b=x-a,y=x+a):(M=p+m,_=M+a,b=x+a,y=x-a),v=M),{x1:b,x2:x,x3:y,y1:M,y2:_,y3:v}}drawTitle(t,s,n){let o=this.title,r=o.length,a,l,c;if(r){let h=Ut(n.rtl,this.x,this.width);for(t.x=Pi(this,n.titleAlign,n),s.textAlign=h.textAlign(n.titleAlign),s.textBaseline="middle",a=$(n.titleFont),l=n.titleSpacing,s.fillStyle=n.titleColor,s.font=a.string,c=0;cy!==0)?(t.beginPath(),t.fillStyle=r.multiKeyBackground,re(t,{x:m,y:g,w:h,h:c,radius:x}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),re(t,{x:b,y:g+1,w:h-2,h:c-2,radius:x}),t.fill()):(t.fillStyle=r.multiKeyBackground,t.fillRect(m,g,h,c),t.strokeRect(m,g,h,c),t.fillStyle=a.backgroundColor,t.fillRect(b,g+1,h-2,c-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,s,n){let{body:o}=this,{bodySpacing:r,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:h,boxPadding:f}=n,d=$(n.bodyFont),u=d.lineHeight,p=0,g=Ut(n.rtl,this.x,this.width),m=function(k){s.fillText(k,g.x(t.x+p),t.y+u/2),t.y+=u+r},b=g.textAlign(a),x,y,M,_,v,S,w;for(s.textAlign=a,s.textBaseline="middle",s.font=d.string,t.x=Pi(this,b,n),s.fillStyle=n.bodyColor,L(this.beforeBody,m),p=l&&b!=="right"?a==="center"?h/2+f:h+2+f:0,_=0,S=o.length;_0&&s.stroke()}_updateAnimationTarget(t){let s=this.chart,n=this.$animations,o=n&&n.x,r=n&&n.y;if(o||r){let a=je[t.position].call(this,this._active,this._eventPosition);if(!a)return;let l=this._size=ir(this,t),c=Object.assign({},a,this._size),h=sr(s,t,c),f=nr(t,c,h,s);(o._to!==f.x||r._to!==f.y)&&(this.xAlign=h.xAlign,this.yAlign=h.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,f))}}_willRender(){return!!this.opacity}draw(t){let s=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(s);let o={width:this.width,height:this.height},r={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let a=K(s.padding),l=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;s.enabled&&l&&(t.save(),t.globalAlpha=n,this.drawBackground(r,t,o,s),Ds(t,s.textDirection),r.y+=a.top,this.drawTitle(r,t,s),this.drawBody(r,t,s),this.drawFooter(r,t,s),Ts(t,s.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,s){let n=this._active,o=t.map(({datasetIndex:l,index:c})=>{let h=this.chart.getDatasetMeta(l);if(!h)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:h.data[c],index:c}}),r=!Ae(n,o),a=this._positionChanged(o,s);(r||a)&&(this._active=o,this._eventPosition=s,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,s,n=!0){if(s&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let o=this.options,r=this._active||[],a=this._getActiveElements(t,r,s,n),l=this._positionChanged(a,t),c=s||!Ae(a,r)||l;return c&&(this._active=a,(o.enabled||o.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,s))),c}_getActiveElements(t,s,n,o){let r=this.options;if(t.type==="mouseout")return[];if(!o)return s.filter(l=>this.chart.data.datasets[l.datasetIndex]&&this.chart.getDatasetMeta(l.datasetIndex).controller.getParsed(l.index)!==void 0);let a=this.chart.getElementsAtEventForMode(t,r.mode,r,n);return r.reverse&&a.reverse(),a}_positionChanged(t,s){let{caretX:n,caretY:o,options:r}=this,a=je[r.position].call(this,t,s);return a!==!1&&(n!==a.x||o!==a.y)}}return e})(),Sd={id:"tooltip",_element:ar,positioners:je,afterInit(e,i,t){t&&(e.tooltip=new ar({chart:e,options:t}))},beforeUpdate(e,i,t){e.tooltip&&e.tooltip.initialize(t)},reset(e,i,t){e.tooltip&&e.tooltip.initialize(t)},afterDraw(e){let i=e.tooltip;if(i&&i._willRender()){let t={tooltip:i};if(e.notifyPlugins("beforeTooltipDraw",Je(Ze({},t),{cancelable:!0}))===!1)return;i.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",t)}},afterEvent(e,i){if(e.tooltip){let t=i.replay;e.tooltip.handleEvent(i.event,t,i.inChartArea)&&(i.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,i)=>i.bodyFont.size,boxWidth:(e,i)=>i.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:zr},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>e!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},kd=Object.freeze({__proto__:null,Colors:zf,Decimation:Wf,Filler:ad,Legend:ud,SubTitle:md,Title:gd,Tooltip:Sd}),Cd=(e,i,t,s)=>(typeof i=="string"?(t=e.push(i)-1,s.unshift({index:t,label:i})):isNaN(i)&&(t=null),t);function Pd(e,i,t,s){let n=e.indexOf(i);if(n===-1)return Cd(e,i,t,s);let o=e.lastIndexOf(i);return n!==o?t:n}var Od=(e,i)=>e===null?null:U(Math.round(e),0,i);function lr(e){let i=this.getLabels();return e>=0&&e{class e extends Kt{static id="category";static defaults={ticks:{callback:lr}};constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){let s=this._addedLabels;if(s.length){let n=this.getLabels();for(let{index:o,label:r}of s)n[o]===r&&n.splice(o,1);this._addedLabels=[]}super.init(t)}parse(t,s){if(T(t))return null;let n=this.getLabels();return s=isFinite(s)&&n[s]===t?s:Pd(n,t,C(s,t),this._addedLabels),Od(s,n.length-1)}determineDataLimits(){let{minDefined:t,maxDefined:s}=this.getUserBounds(),{min:n,max:o}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(n=0),s||(o=this.getLabels().length-1)),this.min=n,this.max=o}buildTicks(){let t=this.min,s=this.max,n=this.options.offset,o=[],r=this.getLabels();r=t===0&&s===r.length-1?r:r.slice(t,s+1),this._valueRange=Math.max(r.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let a=t;a<=s;a++)o.push({value:a});return o}getLabelForValue(t){return lr.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return typeof t!="number"&&(t=this.parse(t)),t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){let s=this.ticks;return t<0||t>s.length-1?null:this.getPixelForValue(s[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}return e})();function Dd(e,i){let t=[],{bounds:n,step:o,min:r,max:a,precision:l,count:c,maxTicks:h,maxDigits:f,includeBounds:d}=e,u=o||1,p=h-1,{min:g,max:m}=i,b=!T(r),x=!T(a),y=!T(c),M=(m-g)/(f+1),_=cs((m-g)/p/u)*u,v,S,w,k;if(_<1e-14&&!b&&!x)return[{value:g},{value:m}];k=Math.ceil(m/_)-Math.floor(g/_),k>p&&(_=cs(k*_/p/u)*u),T(l)||(v=Math.pow(10,l),_=Math.ceil(_*v)/v),n==="ticks"?(S=Math.floor(g/_)*_,w=Math.ceil(m/_)*_):(S=g,w=m),b&&x&&o&&Yn((a-r)/o,_/1e3)?(k=Math.round(Math.min((a-r)/_,h)),_=(a-r)/k,S=r,w=a):y?(S=b?r:S,w=x?a:w,k=c-1,_=(w-S)/k):(k=(w-S)/_,se(k,Math.round(k),_/1e3)?k=Math.round(k):k=Math.ceil(k));let O=Math.max(fs(_),fs(S));v=Math.pow(10,T(l)?O:l),S=Math.round(S*v)/v,w=Math.round(w*v)/v;let P=0;for(b&&(d&&S!==r?(t.push({value:r}),Sa)break;t.push({value:D})}return x&&d&&w!==a?t.length&&se(t[t.length-1].value,a,cr(a,M,e))?t[t.length-1].value=a:t.push({value:a}):(!x||w===a)&&t.push({value:w}),t}function cr(e,i,{horizontal:t,minRotation:s}){let n=nt(s),o=(t?Math.sin(n):Math.cos(n))||.001,r=.75*i*(""+e).length;return Math.min(i/o,r)}var he=class extends Kt{constructor(i){super(i),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(i,t){return T(i)||(typeof i=="number"||i instanceof Number)&&!isFinite(+i)?null:+i}handleTickRangeOptions(){let{beginAtZero:i}=this.options,{minDefined:t,maxDefined:s}=this.getUserBounds(),{min:n,max:o}=this,r=l=>n=t?n:l,a=l=>o=s?o:l;if(i){let l=at(n),c=at(o);l<0&&c<0?a(0):l>0&&c>0&&r(0)}if(n===o){let l=o===0?1:Math.abs(o*.05);a(o+l),i||r(n-l)}this.min=n,this.max=o}getTickLimit(){let i=this.options.ticks,{maxTicksLimit:t,stepSize:s}=i,n;return s?(n=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),t=t||11),t&&(n=Math.min(t,n)),n}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){let i=this.options,t=i.ticks,s=this.getTickLimit();s=Math.max(2,s);let n={maxTicks:s,bounds:i.bounds,min:i.min,max:i.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},o=this._range||this,r=Dd(n,o);return i.bounds==="ticks"&&hs(r,this,"value"),i.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){let i=this.ticks,t=this.min,s=this.max;if(super.configure(),this.options.offset&&i.length){let n=(s-t)/Math.max(i.length-1,1)/2;t-=n,s+=n}this._startValue=t,this._endValue=s,this._valueRange=s-t}getLabelForValue(i){return oe(i,this.chart.options.locale,this.options.ticks.format)}},on=class extends he{static id="linear";static defaults={ticks:{callback:De.formatters.numeric}};determineDataLimits(){let{min:i,max:t}=this.getMinMax(!0);this.min=W(i)?i:0,this.max=W(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let i=this.isHorizontal(),t=i?this.width:this.height,s=nt(this.options.ticks.minRotation),n=(i?Math.sin(s):Math.cos(s))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,o.lineHeight/n))}getPixelForValue(i){return i===null?NaN:this.getPixelForDecimal((i-this._startValue)/this._valueRange)}getValueForPixel(i){return this._startValue+this.getDecimalForPixel(i)*this._valueRange}},Ve=e=>Math.floor(bt(e)),Xt=(e,i)=>Math.pow(10,Ve(e)+i);function hr(e){return e/Math.pow(10,Ve(e))===1}function fr(e,i,t){let s=Math.pow(10,t),n=Math.floor(e/s);return Math.ceil(i/s)-n}function Td(e,i){let t=i-e,s=Ve(t);for(;fr(e,i,s)>10;)s++;for(;fr(e,i,s)<10;)s--;return Math.min(s,Ve(e))}function Ld(e,{min:i,max:t}){i=J(e.min,i);let s=[],n=Ve(i),o=Td(i,t),r=o<0?Math.pow(10,Math.abs(o)):1,a=Math.pow(10,o),l=n>o?Math.pow(10,n):0,c=Math.round((i-l)*r)/r,h=Math.floor((i-l)/a/10)*a*10,f=Math.floor((c-h)/Math.pow(10,o)),d=J(e.min,Math.round((l+h+f*Math.pow(10,o))*r)/r);for(;d=10?f=f<15?15:20:f++,f>=20&&(o++,f=2,r=o>=0?1:r),d=Math.round((l+h+f*Math.pow(10,o))*r)/r;let u=J(e.max,d);return s.push({value:u,major:hr(u),significand:f}),s}var rn=class extends Kt{static id="logarithmic";static defaults={ticks:{callback:De.formatters.logarithmic,major:{enabled:!0}}};constructor(i){super(i),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(i,t){let s=he.prototype.parse.apply(this,[i,t]);if(s===0){this._zero=!0;return}return W(s)&&s>0?s:null}determineDataLimits(){let{min:i,max:t}=this.getMinMax(!0);this.min=W(i)?Math.max(0,i):null,this.max=W(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!W(this._userMin)&&(this.min=i===Xt(this.min,0)?Xt(this.min,-1):Xt(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:i,maxDefined:t}=this.getUserBounds(),s=this.min,n=this.max,o=a=>s=i?s:a,r=a=>n=t?n:a;s===n&&(s<=0?(o(1),r(10)):(o(Xt(s,-1)),r(Xt(n,1)))),s<=0&&o(Xt(n,-1)),n<=0&&r(Xt(s,1)),this.min=s,this.max=n}buildTicks(){let i=this.options,t={min:this._userMin,max:this._userMax},s=Ld(t,this);return i.bounds==="ticks"&&hs(s,this,"value"),i.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}getLabelForValue(i){return i===void 0?"0":oe(i,this.chart.options.locale,this.options.ticks.format)}configure(){let i=this.min;super.configure(),this._startValue=bt(i),this._valueRange=bt(this.max)-bt(i)}getPixelForValue(i){return(i===void 0||i===0)&&(i=this.min),i===null||isNaN(i)?NaN:this.getPixelForDecimal(i===this.min?0:(bt(i)-this._startValue)/this._valueRange)}getValueForPixel(i){let t=this.getDecimalForPixel(i);return Math.pow(10,this._startValue+t*this._valueRange)}};function an(e){let i=e.ticks;if(i.display&&e.display){let t=K(i.backdropPadding);return C(i.font&&i.font.size,B.font.size)+t.height}return 0}function Rd(e,i,t){return t=E(t)?t:[t],{w:eo(e,i.string,t),h:t.length*i.lineHeight}}function dr(e,i,t,s,n){return e===s||e===n?{start:i-t/2,end:i+t/2}:en?{start:i-t,end:i}:{start:i,end:i+t}}function Id(e){let i={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},t=Object.assign({},i),s=[],n=[],o=e._pointLabels.length,r=e.options.pointLabels,a=r.centerPointLabels?F/o:0;for(let l=0;li.r&&(a=(s.end-i.r)/o,e.r=Math.max(e.r,i.r+a)),n.starti.b&&(l=(n.end-i.b)/r,e.b=Math.max(e.b,i.b+l))}function Fd(e,i,t){let s=e.drawingArea,{extra:n,additionalAngle:o,padding:r,size:a}=t,l=e.getPointPosition(i,s+n+r,o),c=Math.round(di(Z(l.angle+V))),h=Wd(l.y,a.h,c),f=jd(c),d=Nd(l.x,a.w,f);return{visible:!0,x:l.x,y:h,textAlign:f,left:d,top:h,right:d+a.w,bottom:h+a.h}}function zd(e,i){if(!i)return!0;let{left:t,top:s,right:n,bottom:o}=e;return!(ht({x:t,y:s},i)||ht({x:t,y:o},i)||ht({x:n,y:s},i)||ht({x:n,y:o},i))}function Bd(e,i,t){let s=[],n=e._pointLabels.length,o=e.options,{centerPointLabels:r,display:a}=o.pointLabels,l={extra:an(o)/2,additionalAngle:r?F/n:0},c;for(let h=0;h270||t<90)&&(e-=i),e}function Vd(e,i,t){let{left:s,top:n,right:o,bottom:r}=t,{backdropColor:a}=i;if(!T(a)){let l=Dt(i.borderRadius),c=K(i.backdropPadding);e.fillStyle=a;let h=s-c.left,f=n-c.top,d=o-s+c.width,u=r-n+c.height;Object.values(l).some(p=>p!==0)?(e.beginPath(),re(e,{x:h,y:f,w:d,h:u,radius:l}),e.fill()):e.fillRect(h,f,d,u)}}function Hd(e,i){let{ctx:t,options:{pointLabels:s}}=e;for(let n=i-1;n>=0;n--){let o=e._pointLabelItems[n];if(!o.visible)continue;let r=s.setContext(e.getPointLabelContext(n));Vd(t,r,o);let a=$(r.font),{x:l,y:c,textAlign:h}=o;At(t,e._pointLabels[n],l,c+a.lineHeight/2,a,{color:r.color,textAlign:h,textBaseline:"middle"})}}function Br(e,i,t,s){let{ctx:n}=e;if(t)n.arc(e.xCenter,e.yCenter,i,0,z);else{let o=e.getPointPosition(0,i);n.moveTo(o.x,o.y);for(let r=1;r{let n=I(this.options.pointLabels.callback,[t,s],this);return n||n===0?n:""}).filter((t,s)=>this.chart.getDataVisibility(s))}fit(){let i=this.options;i.display&&i.pointLabels.display?Id(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(i,t,s,n){this.xCenter+=Math.floor((i-t)/2),this.yCenter+=Math.floor((s-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(i,t,s,n))}getIndexAngle(i){let t=z/(this._pointLabels.length||1),s=this.options.startAngle||0;return Z(i*t+nt(s))}getDistanceFromCenterForValue(i){if(T(i))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-i)*t:(i-this.min)*t}getValueForDistanceFromCenter(i){if(T(i))return NaN;let t=i/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(i){let t=this._pointLabels||[];if(i>=0&&i{if(f!==0||f===0&&this.min<0){l=this.getDistanceFromCenterForValue(h.value);let d=this.getContext(f),u=n.setContext(d),p=o.setContext(d);$d(this,u,l,r,p)}}),s.display){for(i.save(),a=r-1;a>=0;a--){let h=s.setContext(this.getPointLabelContext(a)),{color:f,lineWidth:d}=h;!d||!f||(i.lineWidth=d,i.strokeStyle=f,i.setLineDash(h.borderDash),i.lineDashOffset=h.borderDashOffset,l=this.getDistanceFromCenterForValue(t.reverse?this.min:this.max),c=this.getPointPosition(a,l),i.beginPath(),i.moveTo(this.xCenter,this.yCenter),i.lineTo(c.x,c.y),i.stroke())}i.restore()}}drawBorder(){}drawLabels(){let i=this.ctx,t=this.options,s=t.ticks;if(!s.display)return;let n=this.getIndexAngle(0),o,r;i.save(),i.translate(this.xCenter,this.yCenter),i.rotate(n),i.textAlign="center",i.textBaseline="middle",this.ticks.forEach((a,l)=>{if(l===0&&this.min>=0&&!t.reverse)return;let c=s.setContext(this.getContext(l)),h=$(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){i.font=h.string,r=i.measureText(a.label).width,i.fillStyle=c.backdropColor;let f=K(c.backdropPadding);i.fillRect(-r/2-f.left,-o-h.size/2-f.top,r+f.width,h.size+f.height)}At(i,a.label,0,-o,h,{color:c.color,strokeColor:c.textStrokeColor,strokeWidth:c.textStrokeWidth})}),i.restore()}drawTitle(){}},ji={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},tt=Object.keys(ji);function ur(e,i){return e-i}function pr(e,i){if(T(i))return null;let t=e._adapter,{parser:s,round:n,isoWeekday:o}=e._parseOpts,r=i;return typeof s=="function"&&(r=s(r)),W(r)||(r=typeof s=="string"?t.parse(r,s):t.parse(r)),r===null?null:(n&&(r=n==="week"&&($t(o)||o===!0)?t.startOf(r,"isoWeek",o):t.startOf(r,n)),+r)}function gr(e,i,t,s){let n=tt.length;for(let o=tt.indexOf(e);o=tt.indexOf(t);o--){let r=tt[o];if(ji[r].common&&e._adapter.diff(n,s,r)>=i-1)return r}return tt[t?tt.indexOf(t):0]}function Xd(e){for(let i=tt.indexOf(e)+1,t=tt.length;i=i?t[s]:t[n];e[o]=!0}}function Kd(e,i,t,s){let n=e._adapter,o=+n.startOf(i[0].value,s),r=i[i.length-1].value,a,l;for(a=o;a<=r;a=+n.add(a,1,s))l=t[a],l>=0&&(i[l].major=!0);return i}function xr(e,i,t){let s=[],n={},o=i.length,r,a;for(r=0;r{class e extends Kt{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,s={}){let n=t.time||(t.time={}),o=this._adapter=new oh._date(t.adapters.date);o.init(s),ee(n.displayFormats,o.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=s.normalized}parse(t,s){return t===void 0?null:pr(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let t=this.options,s=this._adapter,n=t.time.unit||"day",{min:o,max:r,minDefined:a,maxDefined:l}=this.getUserBounds();function c(h){!a&&!isNaN(h.min)&&(o=Math.min(o,h.min)),!l&&!isNaN(h.max)&&(r=Math.max(r,h.max))}(!a||!l)&&(c(this._getLabelBounds()),(t.bounds!=="ticks"||t.ticks.source!=="labels")&&c(this.getMinMax(!1))),o=W(o)&&!isNaN(o)?o:+s.startOf(Date.now(),n),r=W(r)&&!isNaN(r)?r:+s.endOf(Date.now(),n)+1,this.min=Math.min(o,r-1),this.max=Math.max(o+1,r)}_getLabelBounds(){let t=this.getLabelTimestamps(),s=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(s=t[0],n=t[t.length-1]),{min:s,max:n}}buildTicks(){let t=this.options,s=t.time,n=t.ticks,o=n.source==="labels"?this.getLabelTimestamps():this._generate();t.bounds==="ticks"&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);let r=this.min,a=this.max,l=qn(o,r,a);return this._unit=s.unit||(n.autoSkip?gr(s.minUnit,this.min,this.max,this._getLabelCapacity(r)):Yd(this,l.length,s.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit==="year"?void 0:Xd(this._unit),this.initOffsets(o),t.reverse&&l.reverse(),xr(this,l,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(t=[]){let s=0,n=0,o,r;this.options.offset&&t.length&&(o=this.getDecimalForValue(t[0]),t.length===1?s=1-o:s=(this.getDecimalForValue(t[1])-o)/2,r=this.getDecimalForValue(t[t.length-1]),t.length===1?n=r:n=(r-this.getDecimalForValue(t[t.length-2]))/2);let a=t.length<3?.5:.25;s=U(s,0,a),n=U(n,0,a),this._offsets={start:s,end:n,factor:1/(s+1+n)}}_generate(){let t=this._adapter,s=this.min,n=this.max,o=this.options,r=o.time,a=r.unit||gr(r.minUnit,s,n,this._getLabelCapacity(s)),l=C(o.ticks.stepSize,1),c=a==="week"?r.isoWeekday:!1,h=$t(c)||c===!0,f={},d=s,u,p;if(h&&(d=+t.startOf(d,"isoWeek",c)),d=+t.startOf(d,h?"day":a),t.diff(n,s,a)>1e5*l)throw new Error(s+" and "+n+" are too far apart with stepSize of "+l+" "+a);let g=o.ticks.source==="data"&&this.getDataTimestamps();for(u=d,p=0;u+m)}getLabelForValue(t){let s=this._adapter,n=this.options.time;return n.tooltipFormat?s.format(t,n.tooltipFormat):s.format(t,n.displayFormats.datetime)}format(t,s){let o=this.options.time.displayFormats,r=this._unit,a=s||o[r];return this._adapter.format(t,a)}_tickFormatFunction(t,s,n,o){let r=this.options,a=r.ticks.callback;if(a)return I(a,[t,s,n],this);let l=r.time.displayFormats,c=this._unit,h=this._majorUnit,f=c&&l[c],d=h&&l[h],u=n[s],p=h&&d&&u&&u.major;return this._adapter.format(t,o||(p?d:f))}generateTickLabels(t){let s,n,o;for(s=0,n=t.length;s0?l:1}getDataTimestamps(){let t=this._cache.data||[],s,n;if(t.length)return t;let o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(s=0,n=o.length;s=e[s].pos&&i<=e[n].pos&&({lo:s,hi:n}=ct(e,"pos",i)),{pos:o,time:a}=e[s],{pos:r,time:l}=e[n]):(i>=e[s].time&&i<=e[n].time&&({lo:s,hi:n}=ct(e,"time",i)),{time:o,pos:a}=e[s],{time:r,pos:l}=e[n]);let c=r-o;return c?a+(l-a)*(i-o)/c:a}var hn=class extends cn{static id="timeseries";static defaults=cn.defaults;constructor(i){super(i),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let i=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(i);this._minPos=Oi(t,this.min),this._tableRange=Oi(t,this.max)-this._minPos,super.initOffsets(i)}buildLookupTable(i){let{min:t,max:s}=this,n=[],o=[],r,a,l,c,h;for(r=0,a=i.length;r=t&&c<=s&&n.push(c);if(n.length<2)return[{time:t,pos:0},{time:s,pos:1}];for(r=0,a=n.length;rn-o)}_getTimestampsForTable(){let i=this._cache.all||[];if(i.length)return i;let t=this.getDataTimestamps(),s=this.getLabelTimestamps();return t.length&&s.length?i=this.normalize(t.concat(s)):i=t.length?t:s,i=this._cache.all=i,i}getDecimalForValue(i){return(Oi(this._table,i)-this._minPos)/this._tableRange}getValueForPixel(i){let t=this._offsets,s=this.getDecimalForPixel(i)/t.factor-t.end;return Oi(this._table,s*this._tableRange+this._minPos,!0)}},qd=Object.freeze({__proto__:null,CategoryScale:Ad,LinearScale:on,LogarithmicScale:rn,RadialLinearScale:ln,TimeScale:cn,TimeSeriesScale:hn}),jr=[nh,Tf,kd,qd];var Gd=typeof global=="object"&&global&&global.Object===Object&&global,Ni=Gd;var Zd=typeof self=="object"&&self&&self.Object===Object&&self,Jd=Ni||Zd||Function("return this")(),ot=Jd;var Qd=ot.Symbol,fe=Qd;var Nr=Object.prototype,tu=Nr.hasOwnProperty,eu=Nr.toString,$e=fe?fe.toStringTag:void 0;function iu(e){var i=tu.call(e,$e),t=e[$e];try{e[$e]=void 0;var s=!0}catch{}var n=eu.call(e);return s&&(i?e[$e]=t:delete e[$e]),n}var Wr=iu;var su=Object.prototype,nu=su.toString;function ou(e){return nu.call(e)}var Vr=ou;var ru="[object Null]",au="[object Undefined]",Hr=fe?fe.toStringTag:void 0;function lu(e){return e==null?e===void 0?au:ru:Hr&&Hr in Object(e)?Wr(e):Vr(e)}var It=lu;function cu(e){return e!=null&&typeof e=="object"}var gt=cu;var hu=Array.isArray,Ue=hu;function fu(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}var et=fu;function du(e){return e}var Wi=du;var uu="[object AsyncFunction]",pu="[object Function]",gu="[object GeneratorFunction]",mu="[object Proxy]";function xu(e){if(!et(e))return!1;var i=It(e);return i==pu||i==gu||i==uu||i==mu}var de=xu;var bu=ot["__core-js_shared__"],Vi=bu;var $r=function(){var e=/[^.]+$/.exec(Vi&&Vi.keys&&Vi.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function _u(e){return!!$r&&$r in e}var Ur=_u;var yu=Function.prototype,vu=yu.toString;function Mu(e){if(e!=null){try{return vu.call(e)}catch{}try{return e+""}catch{}}return""}var Yr=Mu;var wu=/[\\^$.*+?()[\]{}|]/g,Su=/^\[object .+?Constructor\]$/,ku=Function.prototype,Cu=Object.prototype,Pu=ku.toString,Ou=Cu.hasOwnProperty,Au=RegExp("^"+Pu.call(Ou).replace(wu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Du(e){if(!et(e)||Ur(e))return!1;var i=de(e)?Au:Su;return i.test(Yr(e))}var Xr=Du;function Tu(e,i){return e?.[i]}var Kr=Tu;function Lu(e,i){var t=Kr(e,i);return Xr(t)?t:void 0}var ue=Lu;var qr=Object.create,Ru=function(){function e(){}return function(i){if(!et(i))return{};if(qr)return qr(i);e.prototype=i;var t=new e;return e.prototype=void 0,t}}(),Gr=Ru;function Iu(e,i,t){switch(t.length){case 0:return e.call(i);case 1:return e.call(i,t[0]);case 2:return e.call(i,t[0],t[1]);case 3:return e.call(i,t[0],t[1],t[2])}return e.apply(i,t)}var Zr=Iu;function Eu(e,i){var t=-1,s=e.length;for(i||(i=Array(s));++t0){if(++i>=Fu)return arguments[0]}else i=0;return e.apply(void 0,arguments)}}var Qr=ju;function Nu(e){return function(){return e}}var ta=Nu;var Wu=function(){try{var e=ue(Object,"defineProperty");return e({},"",{}),e}catch{}}(),pe=Wu;var Vu=pe?function(e,i){return pe(e,"toString",{configurable:!0,enumerable:!1,value:ta(i),writable:!0})}:Wi,ea=Vu;var Hu=Qr(ea),ia=Hu;var $u=9007199254740991,Uu=/^(?:0|[1-9]\d*)$/;function Yu(e,i){var t=typeof e;return i=i??$u,!!i&&(t=="number"||t!="symbol"&&Uu.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=ep}var $i=ip;function sp(e){return e!=null&&$i(e.length)&&!de(e)}var me=sp;function np(e,i,t){if(!et(t))return!1;var s=typeof i;return(s=="number"?me(t)&&Hi(i,t.length):s=="string"&&i in t)?Et(t[i],e):!1}var la=np;function op(e){return aa(function(i,t){var s=-1,n=t.length,o=n>1?t[n-1]:void 0,r=n>2?t[2]:void 0;for(o=e.length>3&&typeof o=="function"?(n--,o):void 0,r&&la(t[0],t[1],r)&&(o=n<3?void 0:o,n=1),i=Object(i);++s-1}var La=yg;function vg(e,i){var t=this.__data__,s=Ft(t,e);return s<0?(++this.size,t.push([e,i])):t[s][1]=i,this}var Ra=vg;function be(e){var i=-1,t=e==null?0:e.length;for(this.clear();++i{class e{constructor(){this.colorschemesOptions=new Qe(void 0)}setColorschemesOptions(t){this.pColorschemesOptions=t,this.colorschemesOptions.next(t)}getColorschemesOptions(){return this.pColorschemesOptions}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=ti({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),r0=(()=>{class e{constructor(t,s,n,o){this.zone=s,this.themeService=n,this.type="bar",this.plugins=[],this.chartClick=new Ji,this.chartHover=new Ji,this.subs=[],this.themeOverrides={},o?.registerables&&zi.register(...o.registerables),o?.defaults&&B.set(o.defaults),this.ctx=t.nativeElement.getContext("2d"),this.subs.push(this.themeService.colorschemesOptions.pipe(bn()).subscribe(r=>this.themeChanged(r)))}ngOnChanges(t){let s=["type"],n=Object.getOwnPropertyNames(t);if(n.some(o=>s.includes(o))||n.every(o=>t[o].isFirstChange()))this.render();else{let o=this.getChartConfiguration();this.chart&&(Object.assign(this.chart.config.data,o.data),this.chart.config.plugins&&Object.assign(this.chart.config.plugins,o.plugins),this.chart.config.options&&Object.assign(this.chart.config.options,o.options)),this.update()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(t=>t.unsubscribe())}render(){return this.chart&&this.chart.destroy(),this.zone.runOutsideAngular(()=>this.chart=new zi(this.ctx,this.getChartConfiguration()))}update(t){this.chart&&this.zone.runOutsideAngular(()=>this.chart?.update(t))}hideDataset(t,s){this.chart&&(this.chart.getDatasetMeta(t).hidden=s,this.update())}isDatasetHidden(t){return this.chart?.getDatasetMeta(t)?.hidden}toBase64Image(){return this.chart?.toBase64Image()}themeChanged(t){this.themeOverrides=t,this.chart&&(this.chart.config.options&&Object.assign(this.chart.config.options,this.getChartOptions()),this.update())}getChartOptions(){return Zi({onHover:(t,s)=>{!this.chartHover.observed&&!this.chartHover.observers?.length||this.zone.run(()=>this.chartHover.emit({event:t,active:s}))},onClick:(t,s)=>{!this.chartClick.observed&&!this.chartClick.observers?.length||this.zone.run(()=>this.chartClick.emit({event:t,active:s}))}},this.themeOverrides,this.options,{plugins:{legend:{display:this.legend}}})}getChartConfiguration(){return{type:this.type,data:this.getChartData(),options:this.getChartOptions(),plugins:this.plugins}}getChartData(){return this.data?this.data:{labels:this.labels||[],datasets:this.datasets||[]}}static{this.\u0275fac=function(s){return new(s||e)(we(wn),we(Mn),we(nm),we(hl,8))}}static{this.\u0275dir=yn({type:e,selectors:[["canvas","baseChart",""]],inputs:{type:"type",legend:"legend",data:"data",options:"options",plugins:"plugins",labels:"labels",datasets:"datasets"},outputs:{chartClick:"chartClick",chartHover:"chartHover"},exportAs:["base-chart"],standalone:!0,features:[vn]})}}return e})();var om=["primary","secondary","tertiary","neutral","neutral-variant","error","caution","success"],rm=[20,40,50,60,80],l0=["background","foreground",...om.flatMap(e=>rm.map(i=>`${e}-${i}`))],fl={type:"light",colors:{}};var d0=(()=>{class e{constructor(){this.infoSubject=new Qe(fl),this.info$=this.infoSubject.asObservable()}get info(){return this.infoSubject.getValue()}get colors(){return this.info.colors}get type(){return this.info.type}get isDark(){return this.type==="dark"}setInfo(t){this.infoSubject.next(t)}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=ti({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();export{n0 as a,o0 as b,r0 as c,l0 as d,d0 as e}; diff --git a/webui/dist/bitmagnet/browser/chunk-Z3WUIYN5.js b/webui/dist/bitmagnet/browser/chunk-Z3WUIYN5.js new file mode 100644 index 00000000..4f600322 --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-Z3WUIYN5.js @@ -0,0 +1,7 @@ +var Yf=Object.defineProperty,Qf=Object.defineProperties;var Kf=Object.getOwnPropertyDescriptors;var Vn=Object.getOwnPropertySymbols;var Ka=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable;var Qa=(e,t,n)=>t in e?Yf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,me=(e,t)=>{for(var n in t||={})Ka.call(t,n)&&Qa(e,n,t[n]);if(Vn)for(var n of Vn(t))Ja.call(t,n)&&Qa(e,n,t[n]);return e},ye=(e,t)=>Qf(e,Kf(t));var sw=(e,t)=>{var n={};for(var r in e)Ka.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Vn)for(var r of Vn(e))t.indexOf(r)<0&&Ja.call(e,r)&&(n[r]=e[r]);return n};var Jf=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())});function g(e){return typeof e=="function"}function Nt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Bn=Nt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function tt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof Bn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Xa(i)}catch(s){t=t??[],s instanceof Bn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Bn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Xa(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&tt(n,t)}remove(t){let{_finalizers:n}=this;n&&tt(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var zo=L.EMPTY;function Hn(e){return e instanceof L||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function Xa(e){g(e)?e():e.unsubscribe()}var ce={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var At={setTimeout(e,t,...n){let{delegate:r}=At;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=At;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function $n(e){At.setTimeout(()=>{let{onUnhandledError:t}=ce;if(t)t(e);else throw e})}function nt(){}var eu=Go("C",void 0,void 0);function tu(e){return Go("E",void 0,e)}function nu(e){return Go("N",e,void 0)}function Go(e,t,n){return{kind:e,value:t,error:n}}var rt=null;function Ot(e){if(ce.useDeprecatedSynchronousErrorHandling){let t=!rt;if(t&&(rt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=rt;if(rt=null,n)throw r}}else e()}function ru(e){ce.useDeprecatedSynchronousErrorHandling&&rt&&(rt.errorThrown=!0,rt.error=e)}var ot=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Hn(t)&&t.add(this)):this.destination=tp}static create(t,n,r){return new Te(t,n,r)}next(t){this.isStopped?qo(nu(t),this):this._next(t)}error(t){this.isStopped?qo(tu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?qo(eu,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Xf=Function.prototype.bind;function Wo(e,t){return Xf.call(e,t)}var Zo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Un(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Un(r)}else Un(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Un(n)}}},Te=class extends ot{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ce.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Wo(t.next,i),error:t.error&&Wo(t.error,i),complete:t.complete&&Wo(t.complete,i)}):o=t}this.destination=new Zo(o)}};function Un(e){ce.useDeprecatedSynchronousErrorHandling?ru(e):$n(e)}function ep(e){throw e}function qo(e,t){let{onStoppedNotification:n}=ce;n&&At.setTimeout(()=>n(e,t))}var tp={closed:!0,next:nt,error:ep,complete:nt};var it=typeof Symbol=="function"&&Symbol.observable||"@@observable";function B(e){return e}function Yo(...e){return Qo(e)}function Qo(e){return e.length===0?B:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var S=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=rp(n)?n:new Te(n,r,o);return Ot(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=ou(r),new r((o,i)=>{let s=new Te({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[it](){return this}pipe(...n){return Qo(n)(this)}toPromise(n){return n=ou(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function ou(e){var t;return(t=e??ce.Promise)!==null&&t!==void 0?t:Promise}function np(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function rp(e){return e&&e instanceof ot||np(e)&&Hn(e)}var iu=Nt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new zn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new iu}next(n){Ot(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ot(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ot(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?zo:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,tt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new zn(t,n),e})(),zn=class extends ie{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:zo}};var on=class extends ie{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function Ko(e){return g(e?.lift)}function v(e){return t=>{if(Ko(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function D(e,t,n,r,o){return new Jo(e,t,n,r,o)}var Jo=class extends ot{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ve(e,t){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:op}=Array,{getPrototypeOf:ip,prototype:sp,keys:ap}=Object;function Gn(e){if(e.length===1){let t=e[0];if(op(t))return{args:t,keys:null};if(up(t)){let n=ap(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function up(e){return e&&typeof e=="object"&&ip(e)===sp}var Xo=function(e,t){return Xo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},Xo(e,t)};function dE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Xo(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var su=function(){return su=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0&&i[i.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function hE(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r1||u(f,y)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(y){p(i[0][3],y)}}function c(f){f.value instanceof st?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function lu(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof au=="function"?au(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Rt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Wn(e){return g(e?.then)}function qn(e){return g(e[it])}function Zn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function Yn(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function cp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Qn=cp();function Kn(e){return g(e?.[Qn])}function Jn(e){return cu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield st(n.read());if(o)return yield st(void 0);yield yield st(r)}}finally{n.releaseLock()}})}function Xn(e){return g(e?.getReader)}function T(e){if(e instanceof S)return e;if(e!=null){if(qn(e))return lp(e);if(Rt(e))return dp(e);if(Wn(e))return fp(e);if(Zn(e))return du(e);if(Kn(e))return pp(e);if(Xn(e))return hp(e)}throw Yn(e)}function lp(e){return new S(t=>{let n=e[it]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function dp(e){return new S(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,$n)})}function pp(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function du(e){return new S(t=>{gp(e,t).catch(n=>t.error(n))})}function hp(e){return du(Jn(e))}function gp(e,t){var n,r,o,i;return uu(this,void 0,void 0,function*(){try{for(n=lu(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Q(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function sn(e,t=0){return v((n,r)=>{n.subscribe(D(r,o=>Q(r,e,()=>r.next(o),t),()=>Q(r,e,()=>r.complete(),t),o=>Q(r,e,()=>r.error(o),t)))})}function er(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function fu(e,t){return T(e).pipe(er(t),sn(t))}function pu(e,t){return T(e).pipe(er(t),sn(t))}function hu(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function gu(e,t){return new S(n=>{let r;return Q(n,t,()=>{r=e[Qn](),Q(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>g(r?.return)&&r.return()})}function tr(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{Q(n,t,()=>{let r=e[Symbol.asyncIterator]();Q(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function mu(e,t){return tr(Jn(e),t)}function yu(e,t){if(e!=null){if(qn(e))return fu(e,t);if(Rt(e))return hu(e,t);if(Wn(e))return pu(e,t);if(Zn(e))return tr(e,t);if(Kn(e))return gu(e,t);if(Xn(e))return mu(e,t)}throw Yn(e)}function De(e,t){return t?yu(e,t):T(e)}var{isArray:mp}=Array;function yp(e,t){return mp(t)?e(...t):e(t)}function Ve(e){return ve(t=>yp(e,t))}function nr(e){return e&&g(e.schedule)}function ei(e){return e[e.length-1]}function Ft(e){return g(ei(e))?e.pop():void 0}function Ie(e){return nr(ei(e))?e.pop():void 0}function vu(e,t){return typeof ei(e)=="number"?e.pop():t}function rr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function vp(...e){let t=Ie(e),n=Ft(e),{args:r,keys:o}=Gn(e);if(r.length===0)return De([],t);let i=new S(ti(r,t,o?s=>rr(o,s):B));return n?i.pipe(Ve(n)):i}function ti(e,t,n=B){return r=>{Du(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=De(e[u],t),l=!1;c.subscribe(D(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Du(e,t,n){e?Q(n,e,t):t()}var{isArray:Dp}=Array;function Iu(e){return e.length===1&&Dp(e[0])?e[0]:e}function ni(...e){let t=Ft(e);return t?Yo(ni(...e),Ve(t)):v((n,r)=>{ti([n,...Iu(e)])(r)})}function Ip(...e){return ni(...e)}function ri(){return v((e,t)=>{let n=null;e._refCount++;let r=D(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var oi=class extends S{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ko(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(D(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return ri()(this)}};var an={now(){return(an.delegate||Date).now()},delegate:void 0};var or=class extends ie{constructor(t=1/0,n=1/0,r=an){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;swu(t)&&e()),t},clearImmediate(e){wu(e)}};var{setImmediate:Ep,clearImmediate:Cp}=Eu,cn={setImmediate(...e){let{delegate:t}=cn;return(t?.setImmediate||Ep)(...e)},clearImmediate(e){let{delegate:t}=cn;return(t?.clearImmediate||Cp)(e)},delegate:void 0};var sr=class extends Be{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=cn.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(cn.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Pt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Pt.now=an.now;var He=class extends Pt{constructor(t,n=Pt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var ar=class extends He{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var bp=new ar(sr);var at=new He(Be),Cu=at;var ur=class extends Be{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var cr=class extends He{};var _p=new cr(ur);var ut=new S(e=>e.complete());function Mp(...e){let t=Ie(e);return De(e,t)}function xp(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Sp(e){return!!e&&(e instanceof S||g(e.lift)&&g(e.subscribe))}var ct=Nt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function bu(e){return e instanceof Date&&!isNaN(e)}function _u(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=y=>c{i&&t.next(y),c++;let A=!1;T(n(y,l++)).subscribe(D(t,b=>{o?.(b),i?f(b):t.next(b)},()=>{A=!0},void 0,()=>{if(A)try{for(c--;u.length&&ch(b)):h(b)}p()}catch(b){t.error(b)}}))};return e.subscribe(D(t,f,()=>{d=!0,p()})),()=>{a?.()}}function le(e,t,n=1/0){return g(t)?le((r,o)=>ve((i,s)=>t(r,i,o,s))(T(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>_u(r,o,e,n)))}function ln(e=1/0){return le(B,e)}function Mu(){return ln(1)}function kt(...e){return Mu()(De(e,Ie(e)))}function Tp(e){return new S(t=>{T(e()).subscribe(t)})}function Np(...e){let t=Ft(e),{args:n,keys:r}=Gn(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?rr(r,a):a),i.complete())}))}});return t?o.pipe(Ve(t)):o}var Ap=["addListener","removeListener"],Op=["addEventListener","removeEventListener"],Rp=["on","off"];function ai(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return ai(e,t,n).pipe(Ve(r));let[o,i]=kp(e)?Op.map(s=>a=>e[s](t,a,n)):Fp(e)?Ap.map(xu(e,t)):Pp(e)?Rp.map(xu(e,t)):[];if(!o&&Rt(e))return le(s=>ai(s,t,n))(T(e));if(!o)throw new TypeError("Invalid event target");return new S(s=>{let a=(...u)=>s.next(1i(a)})}function xu(e,t){return n=>r=>e[n](t,r)}function Fp(e){return g(e.addListener)&&g(e.removeListener)}function Pp(e){return g(e.on)&&g(e.off)}function kp(e){return g(e.addEventListener)&&g(e.removeEventListener)}function lt(e=0,t,n=Cu){let r=-1;return t!=null&&(nr(t)?n=t:r=t),new S(o=>{let i=bu(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Lp(...e){let t=Ie(e),n=vu(e,1/0),r=e;return r.length?r.length===1?T(r[0]):ln(n)(De(r,t)):ut}function dt(e,t){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Su(e){return v((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(D(n,c=>{r=!0,o=c,i||T(e(c)).subscribe(i=D(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function jp(e,t=at){return Su(()=>lt(e,t))}function ui(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=T(e(s,ui(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Tu(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(D(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Vp(e,t){return g(t)?le(e,t,1):le(e,1)}function Nu(e,t=at){return v((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function dn(e){return v((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ft(e){return e<=0?()=>ut:v((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Au(){return v((e,t)=>{e.subscribe(D(t,nt))})}function ci(e){return ve(()=>e)}function li(e,t){return t?n=>kt(t.pipe(ft(1),Au()),n.pipe(li(e))):le((n,r)=>T(e(n,r)).pipe(ft(1),ci(n)))}function Bp(e,t=at){let n=lt(e,t);return li(()=>n)}function Hp(e,t=B){return e=e??$p,v((n,r)=>{let o,i=!0;n.subscribe(D(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function $p(e,t){return e===t}function lr(e=Up){return v((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Up(){return new ct}function zp(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ou(e,t){let n=arguments.length>=2;return r=>r.pipe(e?dt((o,i)=>e(o,i,r)):B,ft(1),n?dn(t):lr(()=>new ct))}function di(e){return e<=0?()=>ut:v((t,n)=>{let r=[];t.subscribe(D(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Gp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?dt((o,i)=>e(o,i,r)):B,di(1),n?dn(t):lr(()=>new ct))}function Wp(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?B:v((i,s)=>{let a=0,u,c=()=>{let l=!1;u=i.subscribe(D(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++{u?(u.unsubscribe(),u=null,c()):l=!0};if(r!=null){let f=typeof r=="number"?lt(r):T(r(d,a)),h=D(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),l&&(u.unsubscribe(),u=null,c())};c()})}function Ru(e,t){return v(Tu(e,t,arguments.length>=2,!0))}function pi(e={}){let{connector:t=()=>new ie,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=u=void 0,l=d=!1},h=()=>{let y=s;f(),y?.unsubscribe()};return v((y,A)=>{c++,!d&&!l&&p();let b=u=u??t();A.add(()=>{c--,c===0&&!d&&!l&&(a=fi(h,o))}),b.subscribe(A),!s&&c>0&&(s=new Te({next:O=>b.next(O),error:O=>{d=!0,p(),a=fi(f,n,O),b.error(O)},complete:()=>{l=!0,p(),a=fi(f,r),b.complete()}}),T(y).subscribe(s))})(i)}}function fi(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Te({next:()=>{r.unsubscribe(),e()}});return T(t(...n)).subscribe(r)}function Fu(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,pi({connector:()=>new or(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function qp(e){return dt((t,n)=>e<=n)}function Zp(...e){let t=Ie(e);return v((n,r)=>{(t?kt(e,n,t):kt(e,n)).subscribe(r)})}function Pu(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,u=>{o?.unsubscribe();let c=0,l=i++;T(e(u,l)).subscribe(o=D(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Yp(e){return v((t,n)=>{T(e).subscribe(D(n,()=>n.complete(),nt)),!n.closed&&t.subscribe(n)})}function Qp(e,t=!1){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function ku(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):B}function Lu(e,t){return Object.is(e,t)}var j=null,fn=!1,dr=1,se=Symbol("SIGNAL");function _(e){let t=j;return j=e,t}function ju(){return j}function Kp(){return fn}var Lt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function yi(e){if(fn)throw new Error("");if(j===null)return;j.consumerOnSignalRead(e);let t=j.nextProducerIndex++;if(yr(j),te.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function hr(e){yr(e);for(let t=0;t0}function yr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function zu(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Gu(e){return e.producerNode!==void 0}function vi(e){let t=Object.create(Xp);t.computation=e;let n=()=>{if(Vu(t),yi(t),t.value===fr)throw t.error;return t.value};return n[se]=t,n}var hi=Symbol("UNSET"),gi=Symbol("COMPUTING"),fr=Symbol("ERRORED"),Xp=ye(me({},Lt),{value:hi,dirty:!0,error:null,equal:Lu,producerMustRecompute(e){return e.value===hi||e.value===gi},producerRecomputeValue(e){if(e.value===gi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=gi;let n=hn(e),r;try{r=e.computation()}catch(o){r=fr,e.error=o}finally{pr(e,n)}if(t!==hi&&t!==fr&&r!==fr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function eh(){throw new Error}var Wu=eh;function qu(){Wu()}function Zu(e){Wu=e}var th=null;function Yu(e){let t=Object.create(Ku);t.value=e;let n=()=>(yi(t),t.value);return n[se]=t,n}function Di(e,t){Hu()||qu(),e.equal(e.value,t)||(e.value=t,nh(e))}function Qu(e,t){Hu()||qu(),Di(e,t(e.value))}var Ku=ye(me({},Lt),{equal:Lu,value:void 0});function nh(e){e.version++,Jp(),Bu(e),th?.()}function Ju(e,t,n){let r=Object.create(rh);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(gr(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=mi)}let a=()=>{if(r.fn===null)return;if(Kp())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!hr(r))return;r.hasRun=!0;let u=hn(r);try{r.cleanupFn(),r.cleanupFn=mi,r.fn(o)}finally{pr(r,u)}};return r.ref={notify:()=>$u(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[se]:r},r.ref}var mi=()=>{},rh=ye(me({},Lt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:mi});var Uc="https://g.co/ng/security#xss",x=class extends Error{constructor(t,n){super(zc(t,n)),this.code=t}};function zc(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function Mn(e){return{toString:e}.toString()}var vr="__parameters__";function oh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Gc(e,t,n){return Mn(()=>{let r=oh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(vr)?u[vr]:Object.defineProperty(u,vr,{value:[]})[vr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ue=globalThis;function R(e){for(let t in e)if(e[t]===R)return t;throw Error("Could not find renamed property on target object.")}function ih(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function J(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(J).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function Fi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var sh=R({__forward_ref__:R});function Wc(e){return e.__forward_ref__=Wc,e.toString=function(){return J(this())},e}function H(e){return qc(e)?e():e}function qc(e){return typeof e=="function"&&e.hasOwnProperty(sh)&&e.__forward_ref__===Wc}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Zc(e){return{providers:e.providers||[],imports:e.imports||[]}}function ao(e){return Xu(e,Yc)||Xu(e,Qc)}function RS(e){return ao(e)!==null}function Xu(e,t){return e.hasOwnProperty(t)?e[t]:null}function ah(e){let t=e&&(e[Yc]||e[Qc]);return t||null}function ec(e){return e&&(e.hasOwnProperty(tc)||e.hasOwnProperty(uh))?e[tc]:null}var Yc=R({\u0275prov:R}),tc=R({\u0275inj:R}),Qc=R({ngInjectableDef:R}),uh=R({ngInjectorDef:R}),N=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Kc(e){return e&&!!e.\u0275providers}var ch=R({\u0275cmp:R}),lh=R({\u0275dir:R}),dh=R({\u0275pipe:R}),fh=R({\u0275mod:R}),Or=R({\u0275fac:R}),mn=R({__NG_ELEMENT_ID__:R}),nc=R({__NG_ENV_ID__:R});function gt(e){return typeof e=="string"?e:e==null?"":String(e)}function ph(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():gt(e)}function hh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new x(-200,e)}function qs(e,t){throw new x(-201,!1)}var M=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(M||{}),Pi;function Jc(){return Pi}function K(e){let t=Pi;return Pi=e,t}function Xc(e,t,n){let r=ao(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&M.Optional)return null;if(t!==void 0)return t;qs(e,"Injector")}var gh={},yn=gh,ki="__NG_DI_FLAG__",Rr="ngTempTokenPath",mh="ngTokenPath",yh=/\n/gm,vh="\u0275",rc="__source",$t;function Dh(){return $t}function $e(e){let t=$t;return $t=e,t}function Ih(e,t=M.Default){if($t===void 0)throw new x(-203,!1);return $t===null?Xc(e,void 0,t):$t.get(e,t&M.Optional?null:void 0,t)}function G(e,t=M.Default){return(Jc()||Ih)(H(e),t)}function I(e,t=M.Default){return G(e,uo(t))}function uo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Li(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):J(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(yh,` + `)}`}var bh=el(Gc("Optional"),8);var _h=el(Gc("SkipSelf"),4);function mt(e,t){let n=e.hasOwnProperty(Or);return n?e[Or]:null}function Mh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Zs(n,t):t(n))}function tl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Fr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Sh(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function co(e,t,n){let r=xn(e,t);return r>=0?e[r|1]=n:(r=~r,Th(e,r,t,n)),r}function Ii(e,t){let n=xn(e,t);if(n>=0)return e[n|1]}function xn(e,t){return Nh(e,t,1)}function Nh(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(de(r))return!1;s=!0}}}}return de(r)||s}function de(e){return(e&1)===0}function kh(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!de(s)&&(t+=ic(i,o),o=""),r=s,i=i||!de(r);n++}return o!==""&&(t+=ic(i,o)),t}function $h(e){return e.map(Hh).join(",")}function Uh(e){let t=[],n=[],r=1,o=2;for(;r{let t=dl(e),n=ye(me({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ol.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||vn.Emulated,styles:e.styles||Z,_:null,schemas:e.schemas||null,tView:null,id:""});fl(n);let r=e.dependencies;return n.directiveDefs=ac(r,!1),n.pipeDefs=ac(r,!0),n.id=qh(n),n})}function zh(e){return qe(e)||Qs(e)}function Gh(e){return e!==null}function ul(e){return Mn(()=>({type:e.type,bootstrap:e.bootstrap||Z,declarations:e.declarations||Z,imports:e.imports||Z,exports:e.exports||Z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function sc(e,t){if(e==null)return Ne;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=We.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==We.None?[r,a]:r,t[i]=s):n[i]=r}return n}function lo(e){return Mn(()=>{let t=dl(e);return fl(t),t})}function fo(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function qe(e){return e[ch]||null}function Qs(e){return e[lh]||null}function cl(e){return e[dh]||null}function Wh(e){let t=qe(e)||Qs(e)||cl(e);return t!==null?t.standalone:!1}function ll(e,t){let n=e[fh]||null;if(!n&&t===!0)throw new Error(`Type ${J(e)} does not have '\u0275mod' property.`);return n}function dl(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Ne,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||Z,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:sc(e.inputs,t),outputs:sc(e.outputs),debugInfo:null}}function fl(e){e.features?.forEach(t=>t(e))}function ac(e,t){if(!e)return null;let n=t?cl:zh;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Gh)}function qh(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Zh(e){return{\u0275providers:e}}function Yh(...e){return{\u0275providers:pl(!0,e),\u0275fromNgModule:!0}}function pl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Zs(t,s=>{let a=s;Vi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&hl(o,i),n}function hl(e,t){for(let n=0;n{t(i,r)})}}function Vi(e,t,n,r){if(e=H(e),!e)return!1;let o=null,i=ec(e),s=!i&&qe(e);if(!i&&!s){let u=e.ngModule;if(i=ec(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Vi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Zs(i.imports,l=>{Vi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&hl(c,t)}if(!a){let c=mt(o)||(()=>new o);t({provide:o,useFactory:c,deps:Z},o),t({provide:rl,useValue:o,multi:!0},o),t({provide:Pr,useValue:()=>G(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Ks(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Ks(e,t){for(let n of e)Kc(n)&&(n=n.\u0275providers),Array.isArray(n)?Ks(n,t):t(n)}var Qh=R({provide:String,useValue:R});function gl(e){return e!==null&&typeof e=="object"&&Qh in e}function Kh(e){return!!(e&&e.useExisting)}function Jh(e){return!!(e&&e.useFactory)}function zt(e){return typeof e=="function"}function Xh(e){return!!e.useClass}var ml=new N(""),_r={},eg={},wi;function Js(){return wi===void 0&&(wi=new kr),wi}var Ze=class{},In=class extends Ze{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Hi(t,s=>this.processProvider(s)),this.records.set(nl,jt(void 0,this)),o.has("environment")&&this.records.set(Ze,jt(void 0,this));let i=this.records.get(ml);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rl,Z,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=_(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),_(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=$e(this),r=K(void 0),o;try{return t()}finally{$e(n),K(r)}}get(t,n=yn,r=M.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(nc))return t[nc](this);r=uo(r);let o,i=$e(this),s=K(void 0);try{if(!(r&M.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=ig(t)&&ao(t);c&&this.injectableDefInScope(c)?u=jt(Bi(t),_r):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&M.Self?Js():this.parent;return n=r&M.Optional&&n===yn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Rr]=a[Rr]||[]).unshift(J(t)),i)throw a;return Eh(a,t,"R3InjectorError",this.source)}else throw a}finally{K(s),$e(i)}}resolveInjectorInitializers(){let t=_(null),n=$e(this),r=K(void 0),o;try{let i=this.get(Pr,Z,M.Self);for(let s of i)s()}finally{$e(n),K(r),_(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(J(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(t){t=H(t);let n=zt(t)?t:H(t&&t.provide),r=ng(t);if(!zt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=jt(void 0,_r,!0),o.factory=()=>Li(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=_(null);try{return n.value===_r&&(n.value=eg,n.value=n.factory()),typeof n.value=="object"&&n.value&&og(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{_(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=H(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Bi(e){let t=ao(e),n=t!==null?t.factory:mt(e);if(n!==null)return n;if(e instanceof N)throw new x(204,!1);if(e instanceof Function)return tg(e);throw new x(204,!1)}function tg(e){if(e.length>0)throw new x(204,!1);let n=ah(e);return n!==null?()=>n.factory(e):()=>new e}function ng(e){if(gl(e))return jt(void 0,e.useValue);{let t=yl(e);return jt(t,_r)}}function yl(e,t,n){let r;if(zt(e)){let o=H(e);return mt(o)||Bi(o)}else if(gl(e))r=()=>H(e.useValue);else if(Jh(e))r=()=>e.useFactory(...Li(e.deps||[]));else if(Kh(e))r=()=>G(H(e.useExisting));else{let o=H(e&&(e.useClass||e.provide));if(rg(e))r=()=>new o(...Li(e.deps));else return mt(o)||Bi(o)}return r}function jt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function rg(e){return!!e.deps}function og(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ig(e){return typeof e=="function"||typeof e=="object"&&e instanceof N}function Hi(e,t){for(let n of e)Array.isArray(n)?Hi(n,t):n&&Kc(n)?Hi(n.\u0275providers,t):t(n)}function PS(e,t){e instanceof In&&e.assertNotDestroyed();let n,r=$e(e),o=K(void 0);try{return t()}finally{$e(r),K(o)}}function vl(){return Jc()!==void 0||Dh()!=null}function Xs(e){if(!vl())throw new x(-203,!1)}function sg(e){return typeof e=="function"}var Me=0,E=1,w=2,W=3,he=4,X=5,Gt=6,Lr=7,U=8,Wt=9,Ce=10,k=11,wn=12,uc=13,en=14,ne=15,yt=16,Vt=17,Ae=18,po=19,Dl=20,ze=21,Mr=22,ae=23,V=25,ea=1;var vt=7,jr=8,qt=9,z=10,Vr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Vr||{});function Ge(e){return Array.isArray(e)&&typeof e[ea]=="object"}function Fe(e){return Array.isArray(e)&&e[ea]===!0}function ta(e){return(e.flags&4)!==0}function ho(e){return e.componentOffset>-1}function go(e){return(e.flags&1)===1}function Oe(e){return!!e.template}function $i(e){return(e[w]&512)!==0}var Ui=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Il(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function mo(){return wl}function wl(e){return e.type.prototype.ngOnChanges&&(e.setInput=ug),ag}mo.ngInherit=!0;function ag(){let e=Cl(this),t=e?.current;if(t){let n=e.previous;if(n===Ne)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ug(e,t,n,r,o){let i=this.declaredInputs[r],s=Cl(e)||cg(e,{previous:Ne,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Ui(c&&c.currentValue,n,u===Ne),Il(e,t,o,n)}var El="__ngSimpleChanges__";function Cl(e){return e[El]||null}function cg(e,t){return e[El]=t}var cc=null;var we=function(e,t,n){cc?.(e,t,n)},bl="svg",lg="math";function be(e){for(;Array.isArray(e);)e=e[Me];return e}function dg(e){for(;Array.isArray(e);){if(typeof e[ea]=="object")return e;e=e[Me]}return null}function _l(e,t){return be(t[e])}function ue(e,t){return be(t[e.index])}function na(e,t){return e.data[t]}function yo(e,t){return e[t]}function Je(e,t){let n=t[e];return Ge(n)?n:n[Me]}function fg(e){return(e[w]&4)===4}function ra(e){return(e[w]&128)===128}function pg(e){return Fe(e[W])}function Ye(e,t){return t==null?null:e[t]}function Ml(e){e[Vt]=0}function xl(e){e[w]&1024||(e[w]|=1024,ra(e)&&Do(e))}function hg(e,t){for(;e>0;)t=t[en],e--;return t}function vo(e){return!!(e[w]&9216||e[ae]?.dirty)}function zi(e){e[Ce].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),vo(e)&&Do(e)}function Do(e){e[Ce].changeDetectionScheduler?.notify(0);let t=Dt(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!ra(t)));)t=Dt(t)}function Sl(e,t){if((e[w]&256)===256)throw new x(911,!1);e[ze]===null&&(e[ze]=[]),e[ze].push(t)}function gg(e,t){if(e[ze]===null)return;let n=e[ze].indexOf(t);n!==-1&&e[ze].splice(n,1)}function Dt(e){let t=e[W];return Fe(t)?t[W]:t}var C={lFrame:kl(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Tl=!1;function mg(){return C.lFrame.elementDepthCount}function yg(){C.lFrame.elementDepthCount++}function vg(){C.lFrame.elementDepthCount--}function Nl(){return C.bindingsEnabled}function Al(){return C.skipHydrationRootTNode!==null}function Dg(e){return C.skipHydrationRootTNode===e}function Ig(){C.skipHydrationRootTNode=null}function m(){return C.lFrame.lView}function P(){return C.lFrame.tView}function kS(e){return C.lFrame.contextLView=e,e[U]}function LS(e){return C.lFrame.contextLView=null,e}function $(){let e=Ol();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ol(){return C.lFrame.currentTNode}function wg(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Mt(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function oa(){return C.lFrame.isParent}function ia(){C.lFrame.isParent=!1}function Eg(){return C.lFrame.contextLView}function Rl(){return Tl}function lc(e){Tl=e}function Xe(){let e=C.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Cg(){return C.lFrame.bindingIndex}function bg(e){return C.lFrame.bindingIndex=e}function xt(){return C.lFrame.bindingIndex++}function sa(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _g(){return C.lFrame.inI18n}function Mg(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,Gi(t)}function xg(){return C.lFrame.currentDirectiveIndex}function Gi(e){C.lFrame.currentDirectiveIndex=e}function aa(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function ua(){return C.lFrame.currentQueryIndex}function Io(e){C.lFrame.currentQueryIndex=e}function Sg(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[X]:null}function Fl(e,t,n){if(n&M.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&M.Host);)if(o=Sg(i),o===null||(i=i[en],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=Pl();return r.currentTNode=t,r.lView=e,!0}function ca(e){let t=Pl(),n=e[E];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Pl(){let e=C.lFrame,t=e===null?null:e.child;return t===null?kl(e):t}function kl(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Ll(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var jl=Ll;function la(){let e=Ll();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Tg(e){return(C.lFrame.contextLView=hg(e,C.lFrame.contextLView))[U]}function Pe(){return C.lFrame.selectedIndex}function It(e){C.lFrame.selectedIndex=e}function Sn(){let e=C.lFrame;return na(e.tView,e.selectedIndex)}function jS(){C.lFrame.currentNamespace=bl}function VS(){Ng()}function Ng(){C.lFrame.currentNamespace=null}function Ag(){return C.lFrame.currentNamespace}var Vl=!0;function wo(){return Vl}function Eo(e){Vl=e}function Og(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=wl(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Co(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Vt]+=65536),(a>14>16&&(e[w]&3)===t&&(e[w]+=16384,dc(a,i)):dc(a,i)}var Ut=-1,wt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Fg(e){return e instanceof wt}function Pg(e){return(e.flags&8)!==0}function kg(e){return(e.flags&16)!==0}var Ci={},Wi=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=uo(r);let o=this.injector.get(t,Ci,r);return o!==Ci||n===Ci?o:this.parentInjector.get(t,n,r)}};function Hl(e){return e!==Ut}function Br(e){return e&32767}function Lg(e){return e>>16}function Hr(e,t){let n=Lg(e),r=t;for(;n>0;)r=r[en],n--;return r}var qi=!0;function $r(e){let t=qi;return qi=e,t}var jg=256,$l=jg-1,Ul=5,Vg=0,Ee={};function Bg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(mn)&&(r=n[mn]),r==null&&(r=n[mn]=Vg++);let o=r&$l,i=1<>Ul)]|=i}function Ur(e,t){let n=zl(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,bi(r.data,e),bi(t,null),bi(r.blueprint,null));let o=da(e,t),i=e.injectorIndex;if(Hl(o)){let s=Br(o),a=Hr(o,t),u=a[E].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function bi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function zl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function da(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Yl(o),r===null)return Ut;if(n++,o=o[en],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ut}function Zi(e,t,n){Bg(e,t,n)}function Hg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Oe(f)&&f.type===n)return u}return null}function Et(e,t,n,r){let o=e[n],i=t.data;if(Fg(o)){let s=o;s.resolving&&hh(ph(i[n]));let a=$r(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?K(s.injectImpl):null,l=Fl(e,r,M.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Og(n,i[n],t)}finally{c!==null&&K(c),$r(a),s.resolving=!1,jl()}}return o}function Ug(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(mn)?e[mn]:void 0;return typeof t=="number"?t>=0?t&$l:zg:t}function fc(e,t,n){let r=1<>Ul)]&r)}function pc(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var ht=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ql(this._tNode,this._lView,t,uo(r),n)}};function zg(){return new ht($(),m())}function BS(e){return Mn(()=>{let t=e.prototype.constructor,n=t[Or]||Yi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Or]||Yi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Yi(e){return qc(e)?()=>{let t=Yi(H(e));return t&&t()}:mt(e)}function Gg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!(s[w]&512);){let a=Zl(i,s,n,r|M.Self,Ee);if(a!==Ee)return a;let u=i.parent;if(!u){let c=s[Dl];if(c){let l=c.get(n,Ee,r);if(l!==Ee)return l}u=Yl(s),s=s[en]}i=u}return o}function Yl(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[X]:null}function Wg(e){return Hg($(),e)}function hc(e,t=null,n=null,r){let o=Ql(e,t,n,r);return o.resolveInjectorInitializers(),o}function Ql(e,t=null,n=null,r,o=new Set){let i=[n||Z,Yh(e)];return r=r||(typeof e=="object"?void 0:J(e)),new In(i,t||Js(),r||null,o)}var _e=class e{static{this.THROW_IF_NOT_FOUND=yn}static{this.NULL=new kr}static create(t,n){if(Array.isArray(t))return hc({name:""},n,t,"");{let r=t.name??"";return hc({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=F({token:e,providedIn:"any",factory:()=>G(nl)})}static{this.__NG_ELEMENT_ID__=-1}};var qg=new N("");qg.__NG_ELEMENT_ID__=e=>{let t=$();if(t===null)throw new x(204,!1);if(t.type&2)return t.value;if(e&M.Optional)return null;throw new x(204,!1)};var Zg="ngOriginalError";function _i(e){return e[Zg]}var Kl=!0,bo=(()=>{class e{static{this.__NG_ELEMENT_ID__=Yg}static{this.__NG_ENV_ID__=n=>n}}return e})(),Qi=class extends bo{constructor(t){super(),this._lView=t}onDestroy(t){return Sl(this._lView,t),()=>gg(this._lView,t)}};function Yg(){return new Qi(m())}var Tn=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new on(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}}return e})();var Ki=class extends ie{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,vl()&&(this.destroyRef=I(bo,{optional:!0})??void 0,this.pendingTasks=I(Tn,{optional:!0})??void 0)}emit(t){let n=_(null);try{super.next(t)}finally{_(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof L&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},pe=Ki;function zr(...e){}function Jl(e){let t,n;function r(){e=zr;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function gc(e){return queueMicrotask(()=>e()),()=>{e=zr}}var fa="isAngularZone",Gr=fa+"_ID",Qg=0,Y=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new pe(!1),this.onMicrotaskEmpty=new pe(!1),this.onStable=new pe(!1),this.onError=new pe(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Kl}=t;if(typeof Zone>"u")throw new x(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Xg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(fa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new x(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Kg,zr,zr);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Kg={};function pa(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Jg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Jl(()=>{e.callbackScheduled=!1,Ji(e),e.isCheckStableRunning=!0,pa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ji(e)}function Xg(e){let t=()=>{Jg(e)},n=Qg++;e._inner=e._inner.fork({name:"angular",properties:{[fa]:!0,[Gr]:n,[Gr+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(em(u))return r.invokeTask(i,s,a,u);try{return mc(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),yc(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return mc(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!tm(u)&&t(),yc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ji(e),pa(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Ji(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function mc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function yc(e){e._nesting--,pa(e)}var Xi=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new pe,this.onMicrotaskEmpty=new pe,this.onStable=new pe,this.onError=new pe}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function em(e){return Xl(e,"__ignore_ng_zone__")}function tm(e){return Xl(e,"__scheduler_tick__")}function Xl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ct=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&_i(t);for(;n&&_i(n);)n=_i(n);return n||null}},nm=new N("",{providedIn:"root",factory:()=>{let e=I(Y),t=I(Ct);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function rm(){return tn($(),m())}function tn(e,t){return new et(ue(e,t))}var et=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=rm}}return e})();function ed(e){return e instanceof et?e.nativeElement:e}function om(){return this._results[Symbol.iterator]()}var es=class e{get changes(){return this._changes??=new pe}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=om)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=xh(t);(this._changesDetected=!Mh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function td(e){return(e.flags&128)===128}var nd=new Map,im=0;function sm(){return im++}function am(e){nd.set(e[po],e)}function ts(e){nd.delete(e[po])}var vc="__ngContext__";function Qe(e,t){Ge(t)?(e[vc]=t[po],am(t)):e[vc]=t}function rd(e){return id(e[wn])}function od(e){return id(e[he])}function id(e){for(;e!==null&&!Fe(e);)e=e[he];return e}var ns;function HS(e){ns=e}function sd(){if(ns!==void 0)return ns;if(typeof document<"u")return document;throw new x(210,!1)}var $S=new N("",{providedIn:"root",factory:()=>um}),um="ng",cm=new N(""),_o=new N("",{providedIn:"platform",factory:()=>"unknown"});var US=new N(""),zS=new N("",{providedIn:"root",factory:()=>sd().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ha={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ad=new N("",{providedIn:"root",factory:()=>ha});var lm="h",dm="b";var fm=()=>null;function ga(e,t,n=!1){return fm(e,t,n)}var ud=!1,pm=new N("",{providedIn:"root",factory:()=>ud});var Dr;function hm(){if(Dr===void 0&&(Dr=null,Ue.trustedTypes))try{Dr=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Dr}function Mo(e){return hm()?.createHTML(e)||e}var Ir;function cd(){if(Ir===void 0&&(Ir=null,Ue.trustedTypes))try{Ir=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ir}function Dc(e){return cd()?.createHTML(e)||e}function Ic(e){return cd()?.createScriptURL(e)||e}var Re=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Uc})`}},rs=class extends Re{getTypeName(){return"HTML"}},os=class extends Re{getTypeName(){return"Style"}},is=class extends Re{getTypeName(){return"Script"}},ss=class extends Re{getTypeName(){return"URL"}},as=class extends Re{getTypeName(){return"ResourceURL"}};function St(e){return e instanceof Re?e.changingThisBreaksApplicationSecurity:e}function ma(e,t){let n=gm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Uc})`)}return n===t}function gm(e){return e instanceof Re&&e.getTypeName()||null}function GS(e){return new rs(e)}function WS(e){return new os(e)}function qS(e){return new is(e)}function ZS(e){return new ss(e)}function YS(e){return new as(e)}function mm(e){let t=new cs(e);return ym()?new us(t):t}var us=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Mo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},cs=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Mo(t),n}};function ym(){try{return!!new window.DOMParser().parseFromString(Mo(""),"text/html")}catch{return!1}}var vm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ld(e){return e=String(e),e.match(vm)?e:"unsafe:"+e}function ke(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Nn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var dd=ke("area,br,col,hr,img,wbr"),fd=ke("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pd=ke("rp,rt"),Dm=Nn(pd,fd),Im=Nn(fd,ke("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),wm=Nn(pd,ke("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),wc=Nn(dd,Im,wm,Dm),hd=ke("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Em=ke("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Cm=ke("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),bm=Nn(hd,Em,Cm),_m=ke("script,style,template"),ls=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Sm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=xm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Ec(t).toLowerCase();if(!wc.hasOwnProperty(n))return this.sanitizedSomething=!0,!_m.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=Ec(t).toLowerCase();wc.hasOwnProperty(n)&&!dd.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Cc(t))}};function Mm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function xm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw gd(t);return t}function Sm(e){let t=e.firstChild;if(t&&Mm(e,t))throw gd(t);return t}function Ec(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function gd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Tm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Nm=/([^\#-~ |!])/g;function Cc(e){return e.replace(/&/g,"&").replace(Tm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Nm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var wr;function Am(e,t){let n=null;try{wr=wr||mm(e);let r=t?String(t):"";n=wr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=wr.getInertBodyElement(r)}while(r!==i);let a=new ls().sanitizeChildren(bc(n)||n);return Mo(a)}finally{if(n){let r=bc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function bc(e){return"content"in e&&Om(e)?e.content:null}function Om(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var xo=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(xo||{});function QS(e){let t=ya();return t?Dc(t.sanitize(xo.HTML,e)||""):ma(e,"HTML")?Dc(St(e)):Am(sd(),gt(e))}function Rm(e){let t=ya();return t?t.sanitize(xo.URL,e)||"":ma(e,"URL")?St(e):ld(gt(e))}function Fm(e){let t=ya();if(t)return Ic(t.sanitize(xo.RESOURCE_URL,e)||"");if(ma(e,"ResourceURL"))return Ic(St(e));throw new x(904,!1)}function Pm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Fm:Rm}function KS(e,t,n){return Pm(t,n)(e)}function ya(){let e=m();return e&&e[Ce].sanitizer}var km=/^>|^->||--!>|)/g,jm="\u200B$1\u200B";function Vm(e){return e.replace(km,t=>t.replace(Lm,jm))}function md(e){return e instanceof Function?e():e}function yd(e){return(e??I(_e)).get(_o)==="browser"}var Wr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Wr||{}),Bm;function va(e,t){return Bm(e,t)}function Bt(e,t,n,r,o){if(r!=null){let i,s=!1;Fe(r)?i=r:Ge(r)&&(s=!0,r=r[Me]);let a=be(r);e===0&&n!==null?o==null?Ed(t,n,a):qr(t,n,a,o||null,!0):e===1&&n!==null?qr(t,n,a,o||null,!0):e===2?ey(t,a,s):e===3&&t.destroyNode(a),i!=null&&ny(t,e,i,n,o)}}function Hm(e,t){return e.createText(t)}function $m(e,t,n){e.setValue(t,n)}function Um(e,t){return e.createComment(Vm(t))}function vd(e,t,n){return e.createElement(t,n)}function zm(e,t){Dd(e,t),t[Me]=null,t[X]=null}function Gm(e,t,n,r,o,i){r[Me]=o,r[X]=t,No(e,r,n,1,o,i)}function Dd(e,t){t[Ce].changeDetectionScheduler?.notify(9),No(e,t,t[k],2,null,null)}function Wm(e){let t=e[wn];if(!t)return Mi(e[E],e);for(;t;){let n=null;if(Ge(t))n=t[wn];else{let r=t[z];r&&(n=r)}if(!n){for(;t&&!t[he]&&t!==e;)Ge(t)&&Mi(t[E],t),t=t[W];t===null&&(t=e),Ge(t)&&Mi(t[E],t),n=t&&t[he]}t=n}}function qm(e,t,n,r){let o=z+r,i=n.length;r>0&&(n[o-1][he]=t),r0&&(e[n-1][he]=r[he]);let i=Fr(e,z+t);zm(r[E],r);let s=i[Ae];s!==null&&s.detachView(i[E]),r[W]=null,r[he]=null,r[w]&=-129}return r}function So(e,t){if(!(t[w]&256)){let n=t[k];n.destroyNode&&No(e,t,n,3,null,null),Wm(t)}}function Mi(e,t){if(t[w]&256)return;let n=_(null);try{t[w]&=-129,t[w]|=256,t[ae]&&gr(t[ae]),Ym(e,t),Zm(e,t),t[E].type===1&&t[k].destroy();let r=t[yt];if(r!==null&&Fe(t[W])){r!==t[W]&&Da(r,t);let o=t[Ae];o!==null&&o.detachView(e)}ts(t)}finally{_(n)}}function Zm(e,t){let n=e.cleanup,r=t[Lr];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Lr]=null);let o=t[ze];if(o!==null){t[ze]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===vn.None||i===vn.Emulated)return null}return ue(r,n)}}function qr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Ed(e,t,n){e.appendChild(t,n)}function _c(e,t,n,r,o){r!==null?qr(e,t,n,r,o):Ed(e,t,n)}function Cd(e,t){return e.parentNode(t)}function Km(e,t){return e.nextSibling(t)}function bd(e,t,n){return Xm(e,t,n)}function Jm(e,t,n){return e.type&40?ue(e,n):null}var Xm=Jm,Mc;function To(e,t,n,r){let o=wd(e,r,t),i=t[k],s=r.parent||t[X],a=bd(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uV&&Td(e,t,V,!1),we(s?2:0,o),n(r,o)}finally{It(i),we(s?3:1,o)}}function wa(e,t,n){if(ta(t)){let r=_(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function dy(e,t,n,r){let o=jd(t);o.push(n),e.firstCreatePass&&Vd(e).push(r,o.length-1)}function fy(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Al()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function xc(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=We.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Sc(r,n,c,a,u):Sc(r,n,c,a)}return r}function Sc(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function py(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function vy(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;ho(n)&&_y(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ur(n,t),Qe(r,t);let s=n.initialInputs;for(let a=o;a{Do(e.lView)},consumerOnSignalRead(){this.lView[ae]=this}});function jy(e){let t=e[ae]??Object.create(Vy);return t.lView=e,t}var Vy=ye(me({},Lt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Dt(e.lView);for(;t&&!Wd(t[E]);)t=Dt(t);t&&xl(t)},consumerOnSignalRead(){this.lView[ae]=this}});function Wd(e){return e.type!==2}var By=100;function qd(e,t=!0,n=0){let r=e[Ce],o=r.rendererFactory,i=!1;i||o.begin?.();try{Hy(e,n)}catch(s){throw t&&Hd(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Hy(e,t){let n=Rl();try{lc(!0),hs(e,t);let r=0;for(;vo(e);){if(r===By)throw new x(103,!1);r++,hs(e,1)}}finally{lc(n)}}function $y(e,t,n,r){let o=t[w];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Ce].inlineEffectRunner?.flush(),ca(t);let a=!0,u=null,c=null;i||(Wd(e)?(c=Fy(t),u=hn(c)):ju()===null?(a=!1,c=jy(t),u=hn(c)):t[ae]&&(gr(t[ae]),t[ae]=null));try{Ml(t),bg(e.bindingStartIndex),n!==null&&Od(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&xr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Sr(t,f,0,null),Ei(t,0)}if(s||Uy(t),Zd(t,0),e.contentQueries!==null&&Ld(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&xr(t,f)}else{let f=e.contentHooks;f!==null&&Sr(t,f,1),Ei(t,1)}iy(e,t);let d=e.components;d!==null&&Qd(t,d,0);let p=e.viewQuery;if(p!==null&&ps(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&xr(t,f)}else{let f=e.viewHooks;f!==null&&Sr(t,f,2),Ei(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Mr]){for(let f of t[Mr])f();t[Mr]=null}i||(t[w]&=-73)}catch(l){throw i||Do(t),l}finally{c!==null&&(pr(c,u),a&&ky(c)),la()}}function Zd(e,t){for(let n=rd(e);n!==null;n=od(n))for(let r=z;r-1&&(En(t,r),Fr(n,r))}this._attachedToViewContainer=!1}So(this._lView[E],this._lView)}onDestroy(t){Sl(this._lView,t)}markForCheck(){Sa(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){zi(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,qd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=$i(this._lView),n=this._lView[yt];n!==null&&!t&&Da(n,this._lView),Dd(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t;let n=$i(this._lView),r=this._lView[yt];r!==null&&!n&&Id(r,this._lView),zi(this._lView)}},Cn=(()=>{class e{static{this.__NG_ELEMENT_ID__=qy}}return e})(),Gy=Cn,Wy=class extends Gy{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=An(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new bt(o)}};function qy(){return Fo($(),m())}function Fo(e,t){return e.type&4?new Wy(t,e,tn(e,t)):null}var tT=new RegExp(`^(\\d+)*(${dm}|${lm})*(.*)`);var Zy=()=>null;function Yt(e,t){return Zy(e,t)}var Qt=class{},Ta=new N("",{providedIn:"root",factory:()=>!1});var Kd=new N(""),Jd=new N(""),gs=class{},Yr=class{};function Yy(e){let t=Error(`No component factory found for ${J(e)}.`);return t[Qy]=e,t}var Qy="ngComponent";var ms=class{resolveComponentFactory(t){throw Yy(t)}},Kt=class{static{this.NULL=new ms}},Qr=class{},Po=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>Ky()}}return e})();function Ky(){let e=m(),t=$(),n=Je(t.index,e);return(Ge(n)?n:e)[k]}var Jy=(()=>{class e{static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>null})}}return e})();function Kr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&xd(e,n,i.join(" "))}}function iv(e,t,n){let r=e.projection=[];for(let o=0;o{class e{static{this.__NG_ELEMENT_ID__=av}}return e})();function av(){let e=$();return ef(e,m())}var uv=Rn,Xd=class extends uv{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return tn(this._hostTNode,this._hostLView)}get injector(){return new ht(this._hostTNode,this._hostLView)}get parentInjector(){let t=da(this._hostTNode,this._hostLView);if(Hl(t)){let n=Hr(t,this._hostLView),r=Br(t),o=n[E].data[r+8];return new ht(o,n)}else return new ht(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Nc(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-z}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Yt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Zt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!sg(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new Jt(qe(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let y=(s?c:this.parentInjector).get(Ze,null);y&&(i=y)}let l=qe(u.componentType??{}),d=Yt(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,Zt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(pg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[W],c=new Xd(u,u[X],u[W]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return On(s,o,i,r),t.attachToViewContainerRef(),tl(xi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Nc(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=En(this._lContainer,n);r&&(Fr(xi(this._lContainer),n),So(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=En(this._lContainer,n);return r&&Fr(xi(this._lContainer),n)!=null?new bt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Nc(e){return e[jr]}function xi(e){return e[jr]||(e[jr]=[])}function ef(e,t){let n,r=t[e.index];return Fe(r)?n=r:(n=kd(r,t,null,e),t[e.index]=n,Ro(t,n)),lv(n,t,e,r),new Xd(n,e,t)}function cv(e,t){let n=e[k],r=n.createComment(""),o=ue(t,e),i=Cd(n,o);return qr(n,i,r,Km(n,o),!1),r}var lv=pv,dv=()=>!1;function fv(e,t,n){return dv(e,t,n)}function pv(e,t,n,r){if(e[vt])return;let o;n.type&8?o=be(r):o=cv(t,n),e[vt]=o}var vs=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ds=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=z;dt.trim())}function of(e,t,n){e.queries===null&&(e.queries=new Is),e.queries.track(new ws(t,n))}function Iv(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Aa(e,t){return e.queries.getByIndex(t)}function sf(e,t){let n=e[E],r=Aa(n,t);return r.crossesNgTemplate?Es(n,e,t,[]):tf(n,e,r,t)}var Ac=new Set;function ge(e){Ac.has(e)||(Ac.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function rT(e){return typeof e=="function"&&e[se]!==void 0}function wv(e,t){ge("NgSignals");let n=Yu(e),r=n[se];return t?.equal&&(r.equal=t.equal),n.set=o=>Di(r,o),n.update=o=>Qu(r,o),n.asReadonly=Ev.bind(n),n}function Ev(){let e=this[se];if(e.readonlyFn===void 0){let t=()=>this();t[se]=e,e.readonlyFn=t}return e.readonlyFn}function af(e,t){let n,r=vi(()=>{n._dirtyCounter();let o=Mv(n,e);if(t&&o===void 0)throw new x(-951,!1);return o});return n=r[se],n._dirtyCounter=wv(0),n._flatValue=void 0,r}function Cv(){return af(!0,!1)}function bv(){return af(!0,!0)}function _v(e,t){let n=e[se];n._lView=m(),n._queryIndex=t,n._queryList=Na(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Mv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[w]&4)return t?void 0:Z;let o=Na(n,r),i=sf(n,r);return o.reset(i,ed),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Oc(e,t){return Cv()}function xv(e,t){return bv()}var oT=(Oc.required=xv,Oc);function Sv(e){return Object.getPrototypeOf(e.prototype).constructor}function Tv(e){let t=Sv(e.type),n=!0,r=[e];for(;t;){let o;if(Oe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new x(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Er(e.inputs),s.inputTransforms=Er(e.inputTransforms),s.declaredInputs=Er(e.declaredInputs),s.outputs=Er(e.outputs);let a=o.hostBindings;a&&Fv(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Ov(e,u),c&&Rv(e,c),Nv(e,o),ih(e.outputs,o.outputs),Oe(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Dn(o.hostAttrs,n=Dn(n,o.hostAttrs))}}function Er(e){return e===Ne?{}:e===Z?[]:e}function Ov(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Rv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Fv(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function iT(e){let t=n=>{let r=(Array.isArray(e)?e:e()).map(o=>typeof o=="function"?{directive:H(o),inputs:Ne,outputs:Ne}:{directive:H(o.directive),inputs:Rc(o.inputs),outputs:Rc(o.outputs)});n.hostDirectives===null?(n.findHostDirectiveDefs=uf,n.hostDirectives=r):n.hostDirectives.unshift(...r)};return t.ngInherit=!0,t}function uf(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives){let o=Qs(r.directive);Pv(o.declaredInputs,r.inputs),uf(o,t,n),n.set(o,r),t.push(o)}}function Rc(e){if(e===void 0||e.length===0)return Ne;let t={};for(let n=0;nn()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},_s=class extends Cs{constructor(t){super(),this.moduleType=t}create(t){return new bs(this.moduleType,t,[])}};var eo=class extends Ke{constructor(t){super(),this.componentFactoryResolver=new Jr(this),this.instance=null;let n=new In([...t.providers,{provide:Ke,useValue:this},{provide:Kt,useValue:this.componentFactoryResolver}],t.parent||Js(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function kv(e,t,n=null){return new eo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function lf(e){return jv(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Lv(e,t){if(Array.isArray(e))for(let n=0;n{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}}return e})(),Ms=class e{constructor(){this.ngZone=I(Y),this.scheduler=I(Qt),this.errorHandler=I(Ct,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Ht.EarlyRead,Ht.Write,Ht.MixedReadWrite,Ht.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}},xs=class{constructor(t,n,r,o){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function qv(e,t){!t?.injector&&Xs(qv);let n=t?.injector??I(_e);return yd(n)?(ge("NgAfterRender"),ff(e,n,t,!1)):pf}function Zv(e,t){!t?.injector&&Xs(Zv);let n=t?.injector??I(_e);return yd(n)?(ge("NgAfterNextRender"),ff(e,n,t,!0)):pf}function Yv(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function ff(e,t,n,r){let o=t.get(df);o.impl??=t.get(Ms);let i=n?.phase??Ht.MixedReadWrite,s=n?.manualCleanup!==!0?t.get(bo):null,a=new xs(o.impl,Yv(e,i),r,s);return o.impl.register(a),a}var pf={destroy(){}};function Qv(e,t,n,r){let o=m(),i=xt();if(re(o,i,t)){let s=P(),a=Sn();My(a,o,e,t,n,r)}return Qv}function Oa(e,t,n,r){return re(e,xt(),n)?t+gt(n)+r:ee}function Kv(e,t,n,r,o,i){let s=Cg(),a=bn(e,s,n,o);return sa(2),a?t+gt(n)+r+gt(o)+i:ee}function Cr(e,t){return e<<17|t<<2}function _t(e){return e>>17&32767}function Jv(e){return(e&2)==2}function Xv(e,t){return e&131071|t<<17}function Ss(e){return e|2}function Xt(e){return(e&131068)>>2}function Si(e,t){return e&-131069|t<<2}function eD(e){return(e&1)===1}function Ts(e){return e|1}function tD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=_t(s),u=Xt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||xn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=_t(e[a+1]);e[r+1]=Cr(p,a),p!==0&&(e[p+1]=Si(e[p+1],r)),e[a+1]=Xv(e[a+1],r)}else e[r+1]=Cr(a,0),a!==0&&(e[a+1]=Si(e[a+1],r)),a=r;else e[r+1]=Cr(u,0),a===0?a=r:e[u+1]=Si(e[u+1],r),u=r;c&&(e[r+1]=Ss(e[r+1])),Fc(e,l,r,!0),Fc(e,l,r,!1),nD(t,l,e,r,i),s=Cr(a,u),i?t.classBindings=s:t.styleBindings=s}function nD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&xn(i,t)>=0&&(n[r+1]=Ts(n[r+1]))}function Fc(e,t,n,r){let o=e[n+1],i=t===null,s=r?_t(o):Xt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];rD(u,t)&&(a=!0,e[s+1]=r?Ts(c):Ss(c)),s=r?_t(c):Xt(c)}a&&(e[n+1]=r?Ss(o):Ts(o))}function rD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?xn(e,t)>=0:!1}var fe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function oD(e){return e.substring(fe.key,fe.keyEnd)}function iD(e){return sD(e),hf(e,gf(e,0,fe.textEnd))}function hf(e,t){let n=fe.textEnd;return n===t?-1:(t=fe.keyEnd=aD(e,fe.key=t,n),gf(e,t,n))}function sD(e){fe.key=0,fe.keyEnd=0,fe.value=0,fe.valueEnd=0,fe.textEnd=e.length}function gf(e,t,n){for(;t32;)t++;return t}function uD(e,t,n){let r=m(),o=xt();if(re(r,o,t)){let i=P(),s=Sn();Oo(i,s,r,e,t,r[k],n,!1)}return uD}function Ns(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ma(e,n,i[s],s,r)}function Ra(e,t,n){return yf(e,t,n,!1),Ra}function cD(e,t){return yf(e,t,null,!0),cD}function sT(e){vf(gD,mf,e,!0)}function mf(e,t){for(let n=iD(t);n>=0;n=hf(t,n))co(e,oD(t),!0)}function yf(e,t,n,r){let o=m(),i=P(),s=sa(2);if(i.firstUpdatePass&&If(i,e,s,r),t!==ee&&re(o,s,t)){let a=i.data[Pe()];wf(i,a,o,o[k],e,o[s+1]=yD(t,n),r,s)}}function vf(e,t,n,r){let o=P(),i=sa(2);o.firstUpdatePass&&If(o,null,i,r);let s=m();if(n!==ee&&re(s,i,n)){let a=o.data[Pe()];if(Ef(a,r)&&!Df(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=Fi(u,n||"")),Ns(o,a,s,n,r)}else mD(o,a,s,s[k],s[i+1],s[i+1]=hD(e,t,n),r,i)}}function Df(e,t){return t>=e.expandoStartIndex}function If(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Pe()],s=Df(e,n);Ef(i,r)&&t===null&&!s&&(t=!1),t=lD(o,i,t,r),tD(o,i,t,n,s,r)}}function lD(e,t,n,r){let o=aa(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ti(null,e,t,n,r),n=_n(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ti(o,e,t,n,r),i===null){let u=dD(e,t,r);u!==void 0&&Array.isArray(u)&&(u=Ti(null,e,t,u[1],r),u=_n(u,t.attrs,r),fD(e,t,r,u))}else i=pD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function dD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Xt(r)!==0)return e[_t(r)]}function fD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[_t(o)]=r}function pD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===ee&&(p=d?Z:void 0);let f=d?Ii(p,r):l===r?p:void 0;if(c&&!no(f)&&(f=Ii(u,r)),no(f)&&(a=f,s))return a;let h=e[o+1];o=s?_t(h):Xt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Ii(u,r))}return a}function no(e){return e!==void 0}function yD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=J(St(e)))),e}function Ef(e,t){return(e.flags&(t?8:16))!==0}function aT(e,t,n){let r=m(),o=Oa(r,e,t,n);vf(co,mf,o,!0)}var As=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Ni(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function vD(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=Ni(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[u],h=Ni(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let y=n(i,c),A=n(s,p),b=n(i,l);if(Object.is(b,A)){let O=n(u,f);Object.is(O,y)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new ro,o??=Lc(e,i,s,n),Os(e,r,i,b))e.updateValue(i,l),i++,s++;else if(o.has(b))r.set(y,e.detach(i)),s--;else{let O=e.create(i,t[i]);e.attach(i,O),i++,s++}}for(;i<=u;)kc(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,p=Ni(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new ro,o??=Lc(e,i,s,n);let f=n(i,d);if(Os(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!c.done;)kc(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function Os(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function kc(e,t,n,r,o){if(Os(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Lc(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var ro=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function uT(e,t){ge("NgControlFlow");let n=m(),r=xt(),o=n[r]!==ee?n[r]:-1,i=o!==-1?oo(n,V+o):void 0,s=0;if(re(n,r,e)){let a=_(null);try{if(i!==void 0&&zd(i,s),e!==-1){let u=V+e,c=oo(n,u),l=ks(n[E],u),d=Yt(c,l.tView.ssrId),p=An(n,l,t,{dehydratedView:d});On(c,p,s,Zt(l,d))}}finally{_(a)}}else if(i!==void 0){let a=Ud(i,s);a!==void 0&&(a[U]=t)}}var Rs=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-z}};function cT(e,t){return t}var Fs=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function lT(e,t,n,r,o,i,s,a,u,c,l,d,p){ge("NgControlFlow");let f=m(),h=P(),y=u!==void 0,A=m(),b=a?s.bind(A[ne][U]):s,O=new Fs(y,b);A[V+e]=O,to(f,h,e+1,t,n,r,o,Ye(h.consts,i)),y&&to(f,h,e+2,u,c,l,d,Ye(h.consts,p))}var Ps=class extends As{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-z}at(t){return this.getLView(t)[U].$implicit}attach(t,n){let r=n[Gt];this.needsIndexUpdate||=t!==this.length,On(this.lContainer,n,t,Zt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,DD(this.lContainer,t)}create(t,n){let r=Yt(this.lContainer,this.templateTNode.tView.ssrId),o=An(this.hostLView,this.templateTNode,new Rs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){So(t[E],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[U].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Eo(!0),vd(r,o,Ag()));function bD(e,t,n,r,o){let i=t.consts,s=Ye(i,r),a=nn(t,e,8,"ng-container",s);s!==null&&Kr(a,s,!0);let u=Ye(i,o);return _a(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function _f(e,t,n){let r=m(),o=P(),i=e+V,s=o.firstCreatePass?bD(i,o,r,t,n):o.data[i];Mt(s,!0);let a=MD(o,r,s,e);return r[i]=a,wo()&&To(o,r,a,s),Qe(a,r),go(s)&&(Ea(o,r,s),wa(o,s,r)),n!=null&&Ca(r,s),_f}function Mf(){let e=$(),t=P();return oa()?ia():(e=e.parent,Mt(e,!1)),t.firstCreatePass&&(Co(t,e),ta(e)&&t.queries.elementEnd(e)),Mf}function _D(e,t,n){return _f(e,t,n),Mf(),_D}var MD=(e,t,n,r)=>(Eo(!0),Um(t[k],""));function fT(){return m()}function xD(e,t,n){let r=m(),o=xt();if(re(r,o,t)){let i=P(),s=Sn();Oo(i,s,r,e,t,r[k],n,!0)}return xD}function SD(e,t,n){let r=m(),o=xt();if(re(r,o,t)){let i=P(),s=Sn(),a=aa(i.data),u=Bd(a,s,r);Oo(i,s,r,e,t,u,n,!0)}return SD}var pt=void 0;function TD(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var ND=["en",[["a","p"],["AM","PM"],pt],[["AM","PM"],pt,pt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],pt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],pt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",pt,"{1} 'at' {0}",pt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",TD],Ai={};function Fa(e){let t=AD(e),n=jc(t);if(n)return n;let r=t.split("-")[0];if(n=jc(r),n)return n;if(r==="en")return ND;throw new x(701,!1)}function jc(e){return e in Ai||(Ai[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),Ai[e]}var rn=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(rn||{});function AD(e){return e.toLowerCase().replace(/_/g,"-")}var io="en-US";var OD=io;function RD(e){typeof e=="string"&&(OD=e.toLowerCase().replace(/_/g,"-"))}var FD=(e,t,n)=>{};function PD(e,t,n,r){let o=m(),i=P(),s=$();return xf(i,o,o[k],s,e,t,r),PD}function kD(e,t){let n=$(),r=m(),o=P(),i=aa(o.data),s=Bd(i,n,r);return xf(o,r,s,n,e,t),kD}function LD(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function xf(e,t,n,r,o,i,s){let a=go(r),c=e.firstCreatePass&&Vd(e),l=t[U],d=jd(t),p=!0;if(r.type&3||s){let y=ue(r,t),A=s?s(y):y,b=d.length,O=s?q=>s(be(q[r.index])):r.index,oe=null;if(!s&&a&&(oe=LD(e,t,o,r.index)),oe!==null){let q=oe.__ngLastListenerFn__||oe;q.__ngNextListenerFn__=i,oe.__ngLastListenerFn__=i,p=!1}else{i=Bc(r,t,l,i),FD(y,o,i);let q=n.listen(A,o,i);d.push(i,q),c&&c.push(o,O,b,b+1)}}else i=Bc(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let y=h.length;if(y)for(let A=0;A-1?Je(e.index,t):t;Sa(s,5);let a=Vc(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=Vc(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function pT(e=1){return Tg(e)}function jD(e,t){let n=null,r=Lh(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ET(e){let t=Eg();return yo(t,V+e)}function CT(e,t=""){let n=m(),r=P(),o=e+V,i=r.firstCreatePass?nn(r,o,1,t,null):r.data[o],s=$D(r,n,i,t,e);n[o]=s,wo()&&To(r,n,s,i),Mt(i,!1)}var $D=(e,t,n,r,o)=>(Eo(!0),Hm(t[k],r));function UD(e){return Tf("",e,""),UD}function Tf(e,t,n){let r=m(),o=Oa(r,e,t,n);return o!==ee&&$d(r,Pe(),o),Tf}function zD(e,t,n,r,o){let i=m(),s=Kv(i,e,t,n,r,o);return s!==ee&&$d(i,Pe(),s),zD}function GD(e,t,n){let r=P();if(r.firstCreatePass){let o=Oe(e);Ls(n,r.data,r.blueprint,o,!0),Ls(t,r.data,r.blueprint,o,!1)}}function Ls(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(let i=0;i>20;if(zt(e)||!e.multi){let f=new wt(c,o,xe),h=Ri(u,t,o?l:l+p,d);h===-1?(Zi(Ur(a,s),i,u),Oi(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Ri(u,t,l+p,d),h=Ri(u,t,l,l+p),y=f>=0&&n[f],A=h>=0&&n[h];if(o&&!A||!o&&!y){Zi(Ur(a,s),i,u);let b=ZD(o?qD:WD,n.length,o,r,c);!o&&A&&(n[h].providerFactory=b),Oi(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(b),s.push(b)}else{let b=Nf(n[o?h:f],c,!o&&r);Oi(i,e,f>-1?f:h,b)}!o&&r&&A&&n[h].componentProviders++}}}function Oi(e,t,n,r){let o=zt(t),i=Xh(t);if(o||i){let u=(i?H(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function Nf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ri(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>GD(r,o?o(e):e,t)}}var YD=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=pl(!1,n.type),o=r.length>0?kv([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=F({token:e,providedIn:"environment",factory:()=>new e(G(Ze))})}}return e})();function _T(e){ge("NgStandalone"),e.getStandaloneInjector=t=>t.get(YD).getOrCreateStandaloneInjector(e)}function MT(e,t,n){let r=Xe()+e,o=m();return o[r]===ee?Fn(o,r,n?t.call(n):t()):Vv(o,r)}function xT(e,t,n,r){return Af(m(),Xe(),e,t,n,r)}function ST(e,t,n,r,o){return Of(m(),Xe(),e,t,n,r,o)}function TT(e,t,n,r,o,i){return Rf(m(),Xe(),e,t,n,r,o,i)}function NT(e,t,n,r,o,i,s){return QD(m(),Xe(),e,t,n,r,o,i,s)}function ko(e,t){let n=e[t];return n===ee?void 0:n}function Af(e,t,n,r,o,i){let s=t+n;return re(e,s,o)?Fn(e,s+1,i?r.call(i,o):r(o)):ko(e,s+1)}function Of(e,t,n,r,o,i,s){let a=t+n;return bn(e,a,o,i)?Fn(e,a+2,s?r.call(s,o,i):r(o,i)):ko(e,a+2)}function Rf(e,t,n,r,o,i,s,a){let u=t+n;return Bv(e,u,o,i,s)?Fn(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):ko(e,u+3)}function QD(e,t,n,r,o,i,s,a,u){let c=t+n;return Hv(e,c,o,i,s,a)?Fn(e,c+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):ko(e,c+4)}function AT(e,t){let n=P(),r,o=e+V;n.firstCreatePass?(r=KD(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=mt(r.type,!0)),s,a=K(xe);try{let u=$r(!1),c=i();return $r(u),HD(n,m(),o,c),c}finally{K(a)}}function KD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function OT(e,t,n){let r=e+V,o=m(),i=yo(o,r);return Pa(o,r)?Af(o,Xe(),t,i.transform,n,i):i.transform(n)}function RT(e,t,n,r){let o=e+V,i=m(),s=yo(i,o);return Pa(i,o)?Of(i,Xe(),t,s.transform,n,r,s):s.transform(n,r)}function FT(e,t,n,r,o){let i=e+V,s=m(),a=yo(s,i);return Pa(s,i)?Rf(s,Xe(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Pa(e,t){return e[E].data[t].pure}function PT(e,t){return Fo(e,t)}var kT=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var JD=new N("");function Lo(e){return!!e&&typeof e.then=="function"}function ka(e){return!!e&&typeof e.subscribe=="function"}var XD=new N(""),Ff=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=I(XD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=o();if(Lo(i))n.push(i);else if(ka(i)){let s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),eI=new N("");function tI(){Zu(()=>{throw new x(600,!1)})}function nI(e){return e.isBoundToModule}var rI=10;function oI(e,t,n){try{let r=n();return Lo(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var jo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(nm),this.afterRenderManager=I(df),this.zonelessEnabled=I(Ta),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ie,this.afterTick=new ie,this.componentTypes=[],this.components=[],this.isStable=I(Tn).hasPendingTasks.pipe(ve(n=>!n)),this._injector=I(Ze)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Yr;if(!this._injector.get(Ff).done){let p=!o&&Wh(n),f=!1;throw new x(405,f)}let s;o?s=n:s=this._injector.get(Kt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=nI(s)?void 0:this._injector.get(Ke),u=r||s.selector,c=s.create(_e.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(JD,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),Nr(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new x(101,!1);let n=_(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,_(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Qr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++vo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Nr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(eI,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Nr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new x(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Nr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function iI(e,t,n,r){if(!n&&!vo(e))return;qd(e,t,n&&!r?0:1)}var Vs=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},LT=(()=>{class e{compileModuleSync(n){return new _s(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ll(n),i=md(o.declarations).reduce((s,a)=>{let u=qe(a);return u&&s.push(new Jt(u)),s},[]);return new Vs(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var sI=(()=>{class e{constructor(){this.zone=I(Y),this.changeDetectionScheduler=I(Qt),this.applicationRef=I(jo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),aI=new N("",{factory:()=>!1});function Pf({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Y(ye(me({},kf()),{scheduleInRootZone:n})),[{provide:Y,useFactory:e},{provide:Pr,multi:!0,useFactory:()=>{let r=I(sI,{optional:!0});return()=>r.initialize()}},{provide:Pr,multi:!0,useFactory:()=>{let r=I(uI);return()=>{r.initialize()}}},t===!0?{provide:Kd,useValue:!0}:[],{provide:Jd,useValue:n??Kl}]}function jT(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Pf({ngZoneFactory:()=>{let o=kf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&ge("NgZone_CoalesceEvent"),new Y(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Zh([{provide:aI,useValue:!0},{provide:Ta,useValue:!1},r])}function kf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var uI=(()=>{class e{constructor(){this.subscription=new L,this.initialized=!1,this.zone=I(Y),this.pendingTasks=I(Tn)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Y.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Y.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var cI=(()=>{class e{constructor(){this.appRef=I(jo),this.taskService=I(Tn),this.ngZone=I(Y),this.zonelessEnabled=I(Ta),this.disableScheduling=I(Kd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new L,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Gr):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(I(Jd,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Xi||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?gc:Jl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Gr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,gc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function lI(){return typeof $localize<"u"&&$localize.locale||io}var Vo=new N("",{providedIn:"root",factory:()=>I(Vo,M.Optional|M.SkipSelf)||lI()});var Bs=new N("");function br(e){return!e.moduleRef}function dI(e){let t=br(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Y);return n.run(()=>{br(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ct,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),br(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Bs);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Bs);s.add(i),e.moduleRef.onDestroy(()=>{Nr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return oI(r,n,()=>{let i=t.get(Ff);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Vo,io);if(RD(s||io),br(e)){let a=t.get(jo);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return fI(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function fI(e,t){let n=e.injector.get(jo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new x(-403,!1);t.push(e)}var Ar=null;function pI(e=[],t){return _e.create({name:t,providers:[{provide:ml,useValue:"platform"},{provide:Bs,useValue:new Set([()=>Ar=null])},...e]})}function hI(e=[]){if(Ar)return Ar;let t=pI(e);return Ar=t,tI(),gI(t),t}function gI(e){e.get(cm,null)?.forEach(n=>n())}var Pn=(()=>{class e{static{this.__NG_ELEMENT_ID__=mI}}return e})();function mI(e){return yI($(),m(),(e&16)===16)}function yI(e,t,n){if(ho(e)&&!n){let r=Je(e.index,t);return new bt(r,r)}else if(e.type&175){let r=t[ne];return new bt(r,t)}return null}var Hs=class{constructor(){}supports(t){return lf(t)}create(t){return new $s(t)}},vI=(e,t)=>t,$s=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||vI}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Us(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new so),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new so),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Us=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},zs=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},so=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new zs,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Hc(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{class e{static{this.\u0275prov=F({token:e,providedIn:"root",factory:$c})}constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||$c()),deps:[[e,new _h,new bh]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new x(901,!1)}}return e})();function VT(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=hI(r),i=[Pf({}),{provide:Qt,useExisting:cI},...n||[]],s=new eo({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return dI({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function kn(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function La(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function BT(e,t){ge("NgSignals");let n=vi(e);return t?.equal&&(n[se].equal=t.equal),n}function ja(e){let t=_(null);try{return e()}finally{_(t)}}var DI=new N("",{providedIn:"root",factory:()=>I(II)}),II=(()=>{class e{static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>new Gs})}}return e})(),Gs=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=I(Tn),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Ws=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Ju(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Ct,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function wI(e,t){ge("NgSignals"),!t?.injector&&Xs(wI);let n=t?.injector??I(_e),r=t?.manualCleanup!==!0?n.get(bo):null,o=new Ws(n.get(DI),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Pn,null,{optional:!0});return!i||!(i._lView[w]&8)?o.watcher.notify():(i._lView[Mr]??=[]).push(o.watcher.notify),o}function HT(e){let t=qe(e);if(!t)return null;let n=new Jt(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var zf=null;function Va(){return zf}function uN(e){zf??=e}var jf=class{};var Ho=new N(""),qa=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>I(CI),providedIn:"platform"})}}return e})(),cN=new N(""),CI=(()=>{class e extends qa{constructor(){super(),this._doc=I(Ho),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Va().getBaseHref(this._doc)}onPopState(n){let r=Va().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Va().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function Za(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Vf(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Le(e){return e&&e[0]!=="?"?"?"+e:e}var $o=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:()=>I(bI),providedIn:"root"})}}return e})(),Gf=new N(""),bI=(()=>{class e extends $o{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(Ho).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Za(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Le(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Le(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Le(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(G(qa),G(Gf,8))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),lN=(()=>{class e extends $o{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Za(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Le(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Le(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(G(qa),G(Gf,8))}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac})}}return e})(),_I=(()=>{class e{constructor(n){this._subject=new pe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=SI(Vf(Bf(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Le(r))}normalize(n){return e.stripTrailingSlash(xI(this._basePath,Bf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Le(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Le(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static{this.normalizeQueryParams=Le}static{this.joinWithSlash=Za}static{this.stripTrailingSlash=Vf}static{this.\u0275fac=function(r){return new(r||e)(G($o))}}static{this.\u0275prov=F({token:e,factory:()=>MI(),providedIn:"root"})}}return e})();function MI(){return new _I(G($o))}function xI(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Bf(e){return e.replace(/\/index.html$/,"")}function SI(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Wf=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Wf||{});var je={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Ln(e,t){let n=Fa(e),r=n[rn.NumberSymbols][t];if(typeof r>"u"){if(t===je.CurrencyDecimal)return n[rn.NumberSymbols][je.Decimal];if(t===je.CurrencyGroup)return n[rn.NumberSymbols][je.Group]}return r}function TI(e,t){return Fa(e)[rn.NumberFormats][t]}var NI=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Hf=22,Bo=".",jn="0",AI=";",OI=",",Ba="#";function RI(e,t,n,r,o,i,s=!1){let a="",u=!1;if(!isFinite(e))a=Ln(n,je.Infinity);else{let c=LI(e);s&&(c=kI(c));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let O=i.match(NI);if(O===null)throw new Error(`${i} is not a valid digit info`);let oe=O[1],q=O[3],Se=O[5];oe!=null&&(l=Ha(oe)),q!=null&&(d=Ha(q)),Se!=null?p=Ha(Se):q!=null&&d>p&&(p=d)}jI(c,d,p);let f=c.digits,h=c.integerLen,y=c.exponent,A=[];for(u=f.every(O=>!O);h0?A=f.splice(h,f.length):(A=f,f=[0]);let b=[];for(f.length>=t.lgSize&&b.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)b.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&b.unshift(f.join("")),a=b.join(Ln(n,r)),A.length&&(a+=Ln(n,o)+A.join("")),y&&(a+=Ln(n,je.Exponential)+"+"+y)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function FI(e,t,n){let r=TI(t,Wf.Decimal),o=PI(r,Ln(t,je.MinusSign));return RI(e,o,t,je.Group,je.Decimal,n)}function PI(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(AI),o=r[0],i=r[1],s=o.indexOf(Bo)!==-1?o.split(Bo):[o.substring(0,o.lastIndexOf(jn)+1),o.substring(o.lastIndexOf(jn)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(Ba));for(let l=0;l-1&&(t=t.replace(Bo,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===jn;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===jn;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Hf&&(r=r.splice(0,Hf-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function jI(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o=c?h.pop():u=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function Ha(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function dN(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var $a=/\s+/,$f=[],fN=(()=>{class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=$f,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split($a):$f}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split($a):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split($a).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(r){return new(r||e)(xe(et),xe(Po))}}static{this.\u0275dir=lo({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})();var pN=(()=>{class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static{this.\u0275fac=function(r){return new(r||e)(xe(Rn))}}static{this.\u0275dir=lo({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[mo]})}}return e})();function Ya(e,t){return new x(2100,!1)}var Ua=class{createSubscription(t,n){return ja(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){ja(()=>t.unsubscribe())}},za=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},VI=new za,BI=new Ua,hN=(()=>{class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(Lo(n))return VI;if(ka(n))return BI;throw Ya(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(r){return new(r||e)(xe(Pn,16))}}static{this.\u0275pipe=fo({name:"async",type:e,pure:!1,standalone:!0})}}return e})();var gN=(()=>{class e{constructor(n){this._locale=n}transform(n,r,o){if(!HI(n))return null;o||=this._locale;try{let i=$I(n);return FI(i,o,r)}catch(i){throw Ya(e,i.message)}}static{this.\u0275fac=function(r){return new(r||e)(xe(Vo,16))}}static{this.\u0275pipe=fo({name:"number",type:e,pure:!0,standalone:!0})}}return e})();function HI(e){return!(e==null||e===""||e!==e)}function $I(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var mN=(()=>{class e{transform(n,r,o){if(n==null)return null;if(!this.supports(n))throw Ya(e,n);return n.slice(r,o)}supports(n){return typeof n=="string"||Array.isArray(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=fo({name:"slice",type:e,pure:!1,standalone:!0})}}return e})();var yN=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=ul({type:e})}static{this.\u0275inj=Zc({})}}return e})(),UI="browser",zI="server";function GI(e){return e===UI}function WI(e){return e===zI}var vN=(()=>{class e{static{this.\u0275prov=F({token:e,providedIn:"root",factory:()=>GI(I(_o))?new Ga(I(Ho),window):new Wa})}}return e})(),Ga=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=qI(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function qI(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var Wa=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},Uf=class{};var qf=e=>e.src,ZI=new N("",{providedIn:"root",factory:()=>qf});var YI=new N("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),QI=(()=>{class e{constructor(){this.preloadedImages=I(YI),this.document=I(Ho)}createPreloadLinkTag(n,r,o,i){if(this.preloadedImages.has(r))return;this.preloadedImages.add(r);let s=n.createElement("link");n.setAttribute(s,"as","image"),n.setAttribute(s,"href",r),n.setAttribute(s,"rel","preload"),n.setAttribute(s,"fetchpriority","high"),i&&n.setAttribute(s,"imageSizes",i),o&&n.setAttribute(s,"imageSrcset",o),n.appendChild(this.document.head,s)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var KI=/^((\s*\d+w\s*(,|$)){1,})$/;var JI=[1,2],XI=640;var ew=1920,tw=1080;var DN=(()=>{class e{constructor(){this.imageLoader=I(ZI),this.config=nw(I(ad)),this.renderer=I(Po),this.imgElement=I(et).nativeElement,this.injector=I(_e),this.isServer=WI(I(_o)),this.preloadLinkCreator=I(QI),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){ge("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let r=this._renderedSrc;this.updateSrcAndSrcset(!0);let o=this._renderedSrc;this.lcpObserver!==null&&r&&o&&r!==o&&this.injector.get(Y).runOutsideAngular(()=>{this.lcpObserver?.updateImage(r,o)})}}callImageLoader(n){let r=n;return this.loaderParams&&(r.loaderParams=this.loaderParams),this.imageLoader(r)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=KI.test(this.ngSrcset);return this.ngSrcset.split(",").filter(o=>o!=="").map(o=>{o=o.trim();let i=n?parseFloat(o):parseFloat(o)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:i})} ${o}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,r=n;return this.sizes?.trim()==="100vw"&&(r=n.filter(i=>i>=XI)),r.map(i=>`${this.callImageLoader({src:this.ngSrc,width:i})} ${i}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let r=this.getRewrittenSrc();this.setHostAttribute("src",r);let o;return this.ngSrcset?o=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(o=this.getAutomaticSrcset()),o&&this.setHostAttribute("srcset",o),o}getFixedSrcset(){return JI.map(r=>`${this.callImageLoader({src:this.ngSrc,width:this.width*r})} ${r}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>ew||this.height>tw),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==qf&&!n}generatePlaceholder(n){let{placeholderResolution:r}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:r,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let r=()=>{let s=this.injector.get(Pn);o(),i(),this.placeholder=!1,s.markForCheck()},o=this.renderer.listen(n,"load",r),i=this.renderer.listen(n,"error",r);rw(n,r)}ngOnDestroy(){}setHostAttribute(n,r){this.renderer.setAttribute(this.imgElement,n,r)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=lo({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(r,o){r&2&&Ra("position",o.fill?"absolute":null)("width",o.fill?"100%":null)("height",o.fill?"100%":null)("inset",o.fill?"0":null)("background-size",o.placeholder?"cover":null)("background-position",o.placeholder?"50% 50%":null)("background-repeat",o.placeholder?"no-repeat":null)("background-image",o.placeholder?o.generatePlaceholder(o.placeholder):null)("filter",o.placeholder&&o.shouldBlurPlaceholder(o.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",ow],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",La],height:[2,"height","height",La],loading:"loading",priority:[2,"priority","priority",kn],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",kn],fill:[2,"fill","fill",kn],placeholder:[2,"placeholder","placeholder",iw],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[cf,mo]})}}return e})();function nw(e){let t={};return e.breakpoints&&(t.breakpoints=e.breakpoints.sort((n,r)=>n-r)),Object.assign({},ha,e,t)}function rw(e,t){e.complete&&e.naturalWidth&&t()}function ow(e){return typeof e=="string"?e:St(e)}function iw(e){return typeof e=="string"&&e!=="true"&&e!=="false"&&e!==""?e:kn(e)}export{me as a,ye as b,sw as c,Jf as d,L as e,it as f,Yo as g,S as h,ri as i,oi as j,ie as k,on as l,bp as m,_p as n,ut as o,dE as p,su as q,fE as r,uu as s,pE as t,hE as u,sn as v,De as w,Mp as x,xp as y,Sp as z,ct as A,ve as B,vp as C,le as D,ln as E,kt as F,Tp as G,Np as H,ai as I,lt as J,Lp as K,dt as L,jp as M,ui as N,Ip as O,Vp as P,Nu as Q,dn as R,ft as S,ci as T,Bp as U,Hp as V,zp as W,Ou as X,di as Y,Gp as Z,Wp as _,Ru as $,pi as aa,Fu as ba,qp as ca,Zp as da,Pu as ea,Yp as fa,Qp as ga,ku as ha,x as ia,Wc as ja,F as ka,Zc as la,RS as ma,N as na,M as oa,G as pa,I as qa,bh as ra,_h as sa,vn as ta,FS as ua,ul as va,lo as wa,fo as xa,Zh as ya,ml as za,Ze as Aa,PS as Ba,Xs as Ca,mo as Da,kS as Ea,LS as Fa,jS as Ga,VS as Ha,BS as Ia,Wg as Ja,_e as Ka,bo as La,Tn as Ma,pe as Na,Y as Oa,Ct as Pa,et as Qa,es as Ra,HS as Sa,$S as Ta,cm as Ua,_o as Va,US as Wa,zS as Xa,St as Ya,ma as Za,GS as _a,WS as $a,qS as ab,ZS as bb,YS as cb,ld as db,Am as eb,xo as fb,QS as gb,Rm as hb,KS as ib,Wr as jb,JS as kb,xe as lb,XS as mb,Cn as nb,Qt as ob,Kt as pb,Qr as qb,Po as rb,Rn as sb,ge as tb,rT as ub,wv as vb,oT as wb,Tv as xb,iT as yb,cf as zb,Cs as Ab,kv as Bb,zv as Cb,Ht as Db,qv as Eb,Zv as Fb,Qv as Gb,uD as Hb,Ra as Ib,cD as Jb,sT as Kb,aT as Lb,uT as Mb,cT as Nb,lT as Ob,dT as Pb,Cf as Qb,bf as Rb,ED as Sb,_f as Tb,Mf as Ub,_D as Vb,fT as Wb,xD as Xb,SD as Yb,PD as Zb,kD as _b,pT as $b,hT as ac,gT as bc,BD as cc,mT as dc,yT as ec,vT as fc,DT as gc,IT as hc,wT as ic,ET as jc,CT as kc,UD as lc,Tf as mc,zD as nc,bT as oc,_T as pc,MT as qc,xT as rc,ST as sc,TT as tc,NT as uc,AT as vc,OT as wc,RT as xc,FT as yc,PT as zc,kT as Ac,Lo as Bc,XD as Cc,eI as Dc,jo as Ec,LT as Fc,jT as Gc,Pn as Hc,Lf as Ic,VT as Jc,kn as Kc,La as Lc,BT as Mc,ja as Nc,wI as Oc,HT as Pc,Va as Qc,uN as Rc,jf as Sc,Ho as Tc,cN as Uc,$o as Vc,bI as Wc,lN as Xc,_I as Yc,dN as Zc,fN as _c,pN as $c,hN as ad,gN as bd,mN as cd,yN as dd,UI as ed,GI as fd,WI as gd,vN as hd,Uf as id,DN as jd}; diff --git a/webui/dist/bitmagnet/browser/chunk-Z5TALIEZ.js b/webui/dist/bitmagnet/browser/chunk-Z5TALIEZ.js deleted file mode 100644 index f6be42b7..00000000 --- a/webui/dist/bitmagnet/browser/chunk-Z5TALIEZ.js +++ /dev/null @@ -1 +0,0 @@ -import{P as A,R as E,Ra as z,Sa as D,Ta as I,U as y,Ua as S,b as O,qa as L,xa as T}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import{i as C,j as M,k as x,l as _,m as k,n as P}from"./chunk-ZBBMS7J5.js";import{Cb as h,Hb as c,Qb as r,Rb as e,Sb as l,Tb as b,Ub as g,jc as s,kb as i,kc as n,lc as m,o as u,pc as f,qa as d,ua as v}from"./chunk-FJILXII2.js";function q(a,R){if(a&1&&(b(0),r(1,"mat-card",6)(2,"mat-card-header")(3,"mat-toolbar")(4,"nav",7)(5,"h2"),l(6,"mat-icon",8),n(7),e(),r(8,"a",9,0)(10,"mat-icon"),n(11,"monitoring"),e(),n(12),e(),r(13,"a",10,1)(15,"mat-icon"),n(16,"toc"),e(),n(17),e(),r(18,"a",11,2)(20,"mat-icon"),n(21,"construction"),e(),n(22),e()(),l(23,"mat-tab-nav-panel",null,3),e()(),r(25,"mat-card-content"),l(26,"router-outlet",null,4),e()(),g()),a&2){let t=R.$implicit,o=s(9),p=s(14),w=s(19),V=s(24);i(4),c("tabPanel",V),i(3),m(t("routes.queues")),i(),c("active",o.isActive),i(4),m(t("routes.visualize")),i(),c("active",p.isActive),i(4),m(t("routes.jobs")),i(),c("active",w.isActive),i(4),m(t("routes.admin"))}}var W=(()=>{class a{constructor(){this.route=d(M),this.router=d(_),this.subscriptions=new Array}ngOnInit(){this.subscriptions.push(this.route.url.subscribe(()=>(this.route.firstChild||this.redirectVisualize(),u)),this.router.events.subscribe(t=>(t.type===C.NavigationEnd&&t.urlAfterRedirects==="/dashboard/queue"&&this.redirectVisualize(),u)))}redirectVisualize(){this.router.navigate(["visualize"],{relativeTo:this.route})}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe()),this.subscriptions=new Array}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=v({type:a,selectors:[["app-queue-dashboard"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["linkVisualize","routerLinkActive"],["linkJobs","routerLinkActive"],["linkAdmin","routerLinkActive"],["tabPanel",""],["outlet",""],[4,"transloco"],[1,"dashboard-card"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["svgIcon","queue"],["mat-tab-link","","routerLink","visualize","routerLinkActive","",3,"active"],["mat-tab-link","","routerLink","jobs","routerLinkActive","",3,"active"],["mat-tab-link","","routerLink","admin","routerLinkActive","",3,"active"]],template:function(o,p){o&1&&h(0,q,28,8,"ng-container",5)},dependencies:[S,A,E,y,L,z,I,D,T,x,k,P,O],styles:["mat-card-header[_ngcontent-%COMP%]{flex-wrap:wrap}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;margin:0 60px 0 48px;height:48px;line-height:48px}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:6px;margin-right:14px;line-height:1.25rem}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{flex:0 0 100%}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:2px}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}"]})}}return a})();export{W as QueueDashboardComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-Z6GE3BUT.js b/webui/dist/bitmagnet/browser/chunk-Z6GE3BUT.js deleted file mode 100644 index e5eac6d1..00000000 --- a/webui/dist/bitmagnet/browser/chunk-Z6GE3BUT.js +++ /dev/null @@ -1,429 +0,0 @@ -import{c as gt,d as Ze,e as $u,g as Oe,h as nt,i as Je,j as Yu,k as Ku}from"./chunk-6XXA7HXI.js";import{a as hc,b as la,h as Wu,q as Gu}from"./chunk-ZBBMS7J5.js";import{$b as fe,Aa as Su,Ac as Uu,B as xe,C as Zo,Ca as Tu,Cb as te,Da as Pe,Db as Nu,Dc as lc,Ea as ce,Eb as na,F as wu,Fa as le,Fb as tt,G as zi,Ga as Wt,Gb as W,Gc as pe,H as mn,Ha as ea,Hb as ue,Hc as bn,I as Nt,Ia as Xe,Ib as ft,J as Cu,Ja as It,Jb as P,Jc as O,K as Fe,Ka as Ee,Kb as qe,Kc as Ye,L as ye,La as ta,Lb as Lu,Lc as bi,M as ic,Mb as ge,Mc as Yt,N as Jo,Na as z,Nb as ac,Nc as dc,Oa as B,Ob as sc,Pa as ia,Pb as cc,Pc as uc,Q as fi,Qa as E,Qb as w,Ra as Gt,Rb as I,S as Ke,Sb as ie,Sc as oe,T as nc,Ta as Mu,U as qr,V as Di,Va as Au,Vb as pt,W as ku,Wa as Ce,Wb as $e,Xa as Ou,Xb as St,Xc as aa,Yb as ju,Zb as ee,Zc as sa,_ as Du,_b as Vu,_c as ca,a as N,aa as Eu,ac as se,b as Qe,ba as Wr,bc as A,c as gu,ca as Yn,cd as yt,da as Me,dc as he,e as Te,ea as st,ec as re,ed as qu,f as bu,fa as $,fb as Kn,fc as S,ga as Iu,gb as Ru,gc as T,h as Ge,ha as gi,hc as Bu,ia as Gr,ic as zu,j as vu,ja as Lt,jc as $t,k as R,ka as Z,kb as V,kc as Tt,l as Vi,la as L,lb as u,lc as oi,m as Xo,mb as rc,mc as ra,n as _u,na as C,nb as Ae,o as Bi,oc as de,p as mt,pa as x,pb as fn,pc as Q,q as b,qa as F,r as Pt,rb as $r,rc as Hu,s as ni,sb as Ue,sc as Qu,t as ri,u as at,ua as H,ub as oc,v as yu,va as j,vb as gn,w as ki,wa as D,wb as Fu,x as He,xb as ne,y as xu,ya as pn,yb as Pu,yc as oa,z as Ur,zb as ae}from"./chunk-FJILXII2.js";function da(i){i||(Tu(da),i=F(ta));let n=new Ge(e=>i.onDestroy(e.next.bind(e)));return e=>e.pipe($(n))}function Xu(i){return i&&i.constructor&&typeof i.constructor.isBuffer=="function"&&i.constructor.isBuffer(i)}function Zu(i){return i}function mc(i,n){n=n||{};let e=n.delimiter||".",t=n.maxDepth,r=n.transformKey||Zu,o={};function a(s,c,l){l=l||1,Object.keys(s).forEach(function(d){let h=s[d],m=n.safe&&Array.isArray(h),p=Object.prototype.toString.call(h),f=Xu(h),g=p==="[object Object]"||p==="[object Array]",_=c?c+e+r(d):r(d);if(!m&&!f&&g&&Object.keys(h).length&&(!n.maxDepth||l0&&(m=s(h.shift()),p=s(h[0]))}f[m]=pc(i[d],n)}),o}var bc=class{translations;constructor(n){this.translations=n}getTranslation(n){return He(this.translations.get(n)||{})}},th=new C("TRANSLOCO_LOADER");function fc(i,n){return i&&(Object.prototype.hasOwnProperty.call(i,n)?i[n]:n.split(".").reduce((e,t)=>e?.[t],i))}function Kb(i,n,e){i=N({},i);let t=n.split("."),r=t.length-1;return t.reduce((o,a,s)=>(s===r?o[a]=e:o[a]=Array.isArray(o[a])?o[a].slice():N({},o[a]),o&&o[a]),i),i}function ih(i){return i?Array.isArray(i)?i.length:Cc(i)?Object.keys(i).length:i?i.length:0:0}function Xb(i){return ih(i)===0}function Zb(i){return typeof i=="function"}function Zn(i){return typeof i=="string"}function Cc(i){return!!i&&typeof i=="object"&&!Array.isArray(i)}function nh(i){return i.replace(/(?:^\w|[A-Z]|\b\w)/g,(n,e)=>e==0?n.toLowerCase():n.toUpperCase()).replace(/\s+|_|-|\//g,"")}function vc(i){return i==null}function Ju(i){return vc(i)===!1}function rh(i){return i&&typeof i.scope=="string"}function Jb(i){return i&&Cc(i.loader)}function ev(i){return pc(i)}function eh(i){return mc(i,{safe:!0})}var Jn=new C("TRANSLOCO_CONFIG",{providedIn:"root",factory:()=>Xn}),Xn={defaultLang:"en",reRenderOnLangChange:!1,prodMode:!1,failedRetries:2,fallbackLang:[],availableLangs:[],missingHandler:{logMissingKey:!0,useFallbackTranslation:!1,allowEmpty:!1},flatten:{aot:!1},interpolation:["{{","}}"],scopes:{keepCasing:!1}};function tv(i={}){return Qe(N(N({},Xn),i),{missingHandler:N(N({},Xn.missingHandler),i.missingHandler),flatten:N(N({},Xn.flatten),i.flatten),scopes:N(N({},Xn.scopes),i.scopes)})}var oh=new C("TRANSLOCO_TRANSPILER"),iv=(()=>{class i{config=F(Jn,{optional:!0})??Xn;get interpolationMatcher(){return nv(this.config)}transpile({value:e,params:t={},translation:r,key:o}){if(Zn(e)){let a,s=e;for(;(a=this.interpolationMatcher.exec(s))!==null;){let[c,l]=a;s=s.replace(c,()=>{let d=l.trim(),h=fc(t,d);return Ju(h)?h:Ju(r[d])?this.transpile({params:t,translation:r,key:o,value:r[d]}):""})}return s}else t&&(Cc(e)?e=this.handleObject({value:e,params:t,translation:r,key:o}):Array.isArray(e)&&(e=this.handleArray({value:e,params:t,translation:r,key:o})));return e}handleObject({value:e,params:t={},translation:r,key:o}){let a=e;return Object.keys(t).forEach(s=>{let c=this.transpile({value:fc(a,s),params:fc(t,s),translation:r,key:o});a=Kb(a,s,c)}),a}handleArray(r){var o=r,{value:e}=o,t=gu(o,["value"]);return e.map(a=>this.transpile(N({value:a},t)))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})();function nv(i){let[n,e]=i.interpolation;return new RegExp(`${n}([^${n}${e}]*?)${e}`,"g")}var ah=new C("TRANSLOCO_MISSING_HANDLER"),rv=(()=>{class i{handle(e,t){if(t.missingHandler.logMissingKey&&!t.prodMode){let r=`Missing translation for '${e}'`;console.warn(`%c ${r}`,"font-size: 12px; color: red")}return e}static \u0275fac=function(t){return new(t||i)};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})(),sh=new C("TRANSLOCO_INTERCEPTOR"),ov=(()=>{class i{preSaveTranslation(e){return e}preSaveTranslationKey(e,t){return t}static \u0275fac=function(t){return new(t||i)};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})(),ch=new C("TRANSLOCO_FALLBACK_STRATEGY"),av=(()=>{class i{userConfig;constructor(e){this.userConfig=e}getNextLangs(){let e=this.userConfig.fallbackLang;if(!e)throw new Error("When using the default fallback, a fallback language must be provided in the config!");return Array.isArray(e)?e:[e]}static \u0275fac=function(t){return new(t||i)(x(Jn))};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})();function Yr(i){if(!i)return"";let n=i.split("/");return n.pop(),n.join("/")}function Hi(i){return i?i.split("/").pop():""}function _c(i,n,e="|"){if(Zn(i)){let t=i.split(e),r=t.pop();return r===n?[!0,t.toString()]:[!1,r]}return[!1,""]}function sv(i,n){let[e]=_c(n,"static");return e?!1:!!i.config.reRenderOnLangChange}function cv(i){return i?n=>n:Ke(1)}function lv(i,n){return Object.keys(i).reduce((e,t)=>(e[`${n}/${t}`]=i[t],e),{})}function lh(i,n){return Jb(i)?lv(i.loader,n):void 0}function gc(i){return{scope:Yr(i)||null,langName:Hi(i)}}function dh(i){let{path:n,inlineLoader:e,mainLoader:t,data:r}=i;if(e){let o=e[n];if(Zb(o)===!1)throw`You're using an inline loader but didn't provide a loader for ${n}`;return e[n]().then(a=>a.default?a.default:a)}return t.getTranslation(n,r)}function dv({mainLoader:i,path:n,data:e,fallbackPath:t,inlineLoader:r}){return(t?[n,t]:[n]).map(a=>{let s=dh({path:a,mainLoader:i,inlineLoader:r,data:e});return ki(s).pipe(xe(c=>({translation:c,lang:a})))})}var uv;var hv=(()=>{class i{loader;parser;missingHandler;interceptor;fallbackStrategy;langChanges$;translations=new Map;cache=new Map;firstFallbackLang;defaultLang="";availableLangs=[];isResolvedMissingOnce=!1;lang;failedLangs=new Set;events=new R;events$=this.events.asObservable();config;constructor(e,t,r,o,a,s){this.loader=e,this.parser=t,this.missingHandler=r,this.interceptor=o,this.fallbackStrategy=s,this.loader||(this.loader=new bc(this.translations)),uv=this,this.config=JSON.parse(JSON.stringify(a)),this.setAvailableLangs(this.config.availableLangs||[]),this.setFallbackLangForMissingTranslation(this.config),this.setDefaultLang(this.config.defaultLang),this.lang=new Vi(this.getDefaultLang()),this.langChanges$=this.lang.asObservable(),this.events$.pipe(da()).subscribe(c=>{c.type==="translationLoadSuccess"&&c.wasFailure&&this.setActiveLang(c.payload.langName)})}getDefaultLang(){return this.defaultLang}setDefaultLang(e){this.defaultLang=e}getActiveLang(){return this.lang.getValue()}setActiveLang(e){return this.parser.onLangChanged?.(e),this.lang.next(e),this.events.next({type:"langChanged",payload:gc(e)}),this}setAvailableLangs(e){this.availableLangs=e}getAvailableLangs(){return this.availableLangs}load(e,t={}){let r=this.cache.get(e);if(r)return r;let o,a=this._isLangScoped(e),s;a&&(s=Yr(e));let c={path:e,mainLoader:this.loader,inlineLoader:t.inlineLoader,data:a?{scope:s}:void 0};if(this.useFallbackTranslation(e)){let d=a?`${s}/${this.firstFallbackLang}`:this.firstFallbackLang,h=dv(Qe(N({},c),{fallbackPath:d}));o=mn(h)}else{let d=dh(c);o=ki(d)}let l=o.pipe(Du(this.config.failedRetries),gi(d=>{if(Array.isArray(d)){d.forEach(h=>{this.handleSuccess(h.lang,h.translation),h.lang!==e&&this.cache.set(h.lang,He({}))});return}this.handleSuccess(e,d)}),Jo(d=>(this.config.prodMode||console.error(`Error while trying to load "${e}"`,d),this.handleFailure(e,t))),Wr(1));return this.cache.set(e,l),l}translate(e,t={},r=this.getActiveLang()){if(!e)return e;let{scope:o,resolveLang:a}=this.resolveLangAndScope(r);if(Array.isArray(e))return e.map(l=>this.translate(o?`${o}.${l}`:l,t,a));e=o?`${o}.${e}`:e;let s=this.getTranslation(a),c=s[e];return c?this.parser.transpile({value:c,params:t,translation:s,key:e}):this._handleMissingKey(e,c,t)}selectTranslate(e,t,r,o=!1){let a,s=(l,d)=>this.load(l,d).pipe(xe(()=>o?this.translateObject(e,t,l):this.translate(e,t,l)));if(vc(r))return this.langChanges$.pipe(st(l=>s(l)));if(r=Array.isArray(r)?r[0]:r,rh(r)){let l=r;r=l.scope,a=lh(l,l.scope)}if(r=r,this.isLang(r)||this.isScopeWithLang(r))return s(r);let c=r;return this.langChanges$.pipe(st(l=>s(`${c}/${l}`,{inlineLoader:a})))}isScopeWithLang(e){return this.isLang(Hi(e))}translateObject(e,t={},r=this.getActiveLang()){if(Zn(e)||Array.isArray(e)){let{resolveLang:a,scope:s}=this.resolveLangAndScope(r);if(Array.isArray(e))return e.map(d=>this.translateObject(s?`${s}.${d}`:d,t,a));let c=this.getTranslation(a);e=s?`${s}.${e}`:e;let l=ev(this.getObjectByKey(c,e));return Xb(l)?this.translate(e,t,r):this.parser.transpile({value:l,params:t,translation:c,key:e})}let o=[];for(let[a,s]of this.getEntries(e))o.push(this.translateObject(a,s,r));return o}selectTranslateObject(e,t,r){if(Zn(e)||Array.isArray(e))return this.selectTranslate(e,t,r,!0);let[[o,a],...s]=this.getEntries(e);return this.selectTranslateObject(o,a,r).pipe(xe(c=>{let l=[c];for(let[d,h]of s)l.push(this.translateObject(d,h,r));return l}))}getTranslation(e){if(e){if(this.isLang(e))return this.translations.get(e)||{};{let{scope:t,resolveLang:r}=this.resolveLangAndScope(e),o=this.translations.get(r)||{};return this.getObjectByKey(o,t)}}return this.translations}selectTranslation(e){let t=this.langChanges$;if(e){let r=Hi(e)!==e;this.isLang(e)||r?t=He(e):t=this.langChanges$.pipe(xe(o=>`${e}/${o}`))}return t.pipe(st(r=>this.load(r).pipe(xe(()=>this.getTranslation(r)))))}setTranslation(e,t=this.getActiveLang(),r={}){let a=N(N({},{merge:!0,emitChange:!0}),r),s=Yr(t),c=e;if(s){let p=this.getMappedScope(s);c=eh({[p]:e})}let l=s?Hi(t):t,d=N(N({},a.merge&&this.getTranslation(l)),c),h=this.config.flatten.aot?d:eh(d),m=this.interceptor.preSaveTranslation(h,l);this.translations.set(l,m),a.emitChange&&this.setActiveLang(this.getActiveLang())}setTranslationKey(e,t,r={}){let o=r.lang||this.getActiveLang(),a=this.interceptor.preSaveTranslationKey(e,t,o),s={[e]:a};this.setTranslation(s,o,Qe(N({},r),{merge:!0}))}setFallbackLangForMissingTranslation({fallbackLang:e}){let t=Array.isArray(e)?e[0]:e;e&&this.useFallbackTranslation(t)&&(this.firstFallbackLang=t)}_handleMissingKey(e,t,r){if(this.config.missingHandler.allowEmpty&&t==="")return"";if(!this.isResolvedMissingOnce&&this.useFallbackTranslation()){this.isResolvedMissingOnce=!0;let o=this.translate(e,r,this.firstFallbackLang);return this.isResolvedMissingOnce=!1,o}return this.missingHandler.handle(e,this.getMissingHandlerData(),r)}_isLangScoped(e){return this.getAvailableLangsIds().indexOf(e)===-1}isLang(e){return this.getAvailableLangsIds().indexOf(e)!==-1}_loadDependencies(e,t){let r=Hi(e);return this._isLangScoped(e)&&!this.isLoadedTranslation(r)?Zo([this.load(r),this.load(e,{inlineLoader:t})]):this.load(e,{inlineLoader:t})}_completeScopeWithLang(e){return this._isLangScoped(e)&&!this.isLang(Hi(e))?`${e}/${this.getActiveLang()}`:e}_setScopeAlias(e,t){this.config.scopeMapping||(this.config.scopeMapping={}),this.config.scopeMapping[e]=t}ngOnDestroy(){this.cache.clear()}isLoadedTranslation(e){return ih(this.getTranslation(e))}getAvailableLangsIds(){let e=this.getAvailableLangs()[0];return Zn(e)?this.getAvailableLangs():this.getAvailableLangs().map(t=>t.id)}getMissingHandlerData(){return Qe(N({},this.config),{activeLang:this.getActiveLang(),availableLangs:this.availableLangs,defaultLang:this.defaultLang})}useFallbackTranslation(e){return this.config.missingHandler.useFallbackTranslation&&e!==this.firstFallbackLang}handleSuccess(e,t){this.setTranslation(t,e,{emitChange:!1}),this.events.next({wasFailure:!!this.failedLangs.size,type:"translationLoadSuccess",payload:gc(e)}),this.failedLangs.forEach(r=>this.cache.delete(r)),this.failedLangs.clear()}handleFailure(e,t){vc(t.failedCounter)&&(t.failedCounter=0,t.fallbackLangs||(t.fallbackLangs=this.fallbackStrategy.getNextLangs(e)));let r=e.split("/"),a=t.fallbackLangs[t.failedCounter];if(this.failedLangs.add(e),this.cache.has(a))return this.handleSuccess(a,this.getTranslation(a)),Bi;let s=a===r[r.length-1];if(!a||s){let l="Unable to load translation and all the fallback languages";throw r.length>1&&(l+=", did you misspelled the scope name?"),new Error(l)}let c=a;return r.length>1&&(r[r.length-1]=a,c=r.join("/")),t.failedCounter++,this.events.next({type:"translationLoadFailure",payload:gc(e)}),this.load(c,t)}getMappedScope(e){let{scopeMapping:t={},scopes:r={keepCasing:!1}}=this.config;return t[e]||(r.keepCasing?e:nh(e))}resolveLangAndScope(e){let t=e,r;if(this._isLangScoped(e)){let o=Hi(e),a=this.isLang(o);t=a?o:this.getActiveLang(),r=this.getMappedScope(a?Yr(e):e)}return{scope:r,resolveLang:t}}getObjectByKey(e,t){let r={},o=`${t}.`;for(let a in e)a.startsWith(o)&&(r[a.replace(o,"")]=e[a]);return r}getEntries(e){return e instanceof Map?e.entries():Object.entries(e)}static \u0275fac=function(t){return new(t||i)(x(th,8),x(oh),x(ah),x(sh),x(Jn),x(ch))};static \u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),mv=(()=>{class i{html;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=H({type:i,selectors:[["ng-component"]],inputs:{html:"html"},standalone:!0,features:[Q],decls:1,vars:1,consts:[[1,"transloco-loader-template",3,"innerHTML"]],template:function(t,r){t&1&&ie(0,"div",0),t&2&&ue("innerHTML",r.html,Ru)},encapsulation:2})}return i})(),yc=class{view;vcr;constructor(n,e){this.view=n,this.vcr=e}attachView(){if(this.view instanceof Ae)this.vcr.createEmbeddedView(this.view);else if(Zn(this.view)){let n=this.vcr.createComponent(mv);n.instance.html=this.view,n.hostView.detectChanges()}else this.vcr.createComponent(this.view)}detachView(){this.vcr.clear()}},pv=new C("TRANSLOCO_LANG"),fv=new C("TRANSLOCO_LOADING_TEMPLATE"),gv=new C("TRANSLOCO_SCOPE"),xc=class{initialized=!1;resolve({inline:n,provider:e,active:t}){let r=t;if(this.initialized)return r=t,r;if(e){let[,o]=_c(e,"static");r=o}if(n){let[,o]=_c(n,"static");r=o}return this.initialized=!0,r}resolveLangBasedOnScope(n){return Yr(n)?Hi(n):n}resolveLangPath(n,e){return e?`${e}/${n}`:n}},wc=class{service;constructor(n){this.service=n}resolve(n){let{inline:e,provider:t}=n;if(e)return e;if(t){if(rh(t)){let{scope:r,alias:o=this.service.config.scopes.keepCasing?r:nh(r)}=t;return this.service._setScopeAlias(r,o),r}return t}}},WE=(()=>{class i{destroyRef=F(ta);service=F(hv);tpl=F(Ae,{optional:!0});providerLang=F(pv,{optional:!0});providerScope=F(gv,{optional:!0});providedLoadingTpl=F(fv,{optional:!0});cdr=F(pe);host=F(E);vcr=F(Ue);renderer=F($r);view;memo=new Map;key;params={};inlineScope;inlineRead;prefix;inlineLang;inlineTpl;currentLang;loaderTplHandler;initialized=!1;path;langResolver=new xc;scopeResolver=new wc(this.service);strategy=this.tpl===null?"attribute":"structural";static ngTemplateContextGuard(e,t){return!0}ngOnInit(){let e=sv(this.service,this.providerLang||this.inlineLang);if(this.service.langChanges$.pipe(st(t=>{let r=this.langResolver.resolve({inline:this.inlineLang,provider:this.providerLang,active:t});return Array.isArray(this.providerScope)?mn(this.providerScope.map(o=>this.resolveScope(r,o))):this.resolveScope(r,this.providerScope)}),cv(e),da(this.destroyRef)).subscribe(()=>{this.currentLang=this.langResolver.resolveLangBasedOnScope(this.path),this.strategy==="attribute"?this.attributeStrategy():this.structuralStrategy(this.currentLang,this.prefix||this.inlineRead),this.cdr.markForCheck(),this.initialized=!0}),!this.initialized){let t=this.resolveLoadingContent();t&&(this.loaderTplHandler=new yc(t,this.vcr),this.loaderTplHandler.attachView())}}ngOnChanges(e){this.strategy==="attribute"&&Object.keys(e).some(r=>!e[r].firstChange)&&this.attributeStrategy()}attributeStrategy(){this.detachLoader(),this.renderer.setProperty(this.host.nativeElement,"innerText",this.service.translate(this.key,this.params,this.currentLang))}structuralStrategy(e,t){this.memo.clear();let r=this.getTranslateFn(e,t);this.view?(this.view.context.$implicit=r,this.view.context.currentLang=this.currentLang):(this.detachLoader(),this.view=this.vcr.createEmbeddedView(this.tpl,{$implicit:r,currentLang:this.currentLang}))}getTranslateFn(e,t){return(r,o)=>{let a=t?`${t}.${r}`:r,s=o?`${a}${JSON.stringify(o)}`:a;return this.memo.has(s)||this.memo.set(s,this.service.translate(a,o,e)),this.memo.get(s)}}resolveLoadingContent(){return this.inlineTpl||this.providedLoadingTpl}ngOnDestroy(){this.memo.clear()}detachLoader(){this.loaderTplHandler?.detachView()}resolveScope(e,t){let r=this.scopeResolver.resolve({inline:this.inlineScope,provider:t});this.path=this.langResolver.resolveLangPath(e,r);let o=lh(t,r);return this.service._loadDependencies(this.path,o)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=D({type:i,selectors:[["","transloco",""]],inputs:{key:[0,"transloco","key"],params:[0,"translocoParams","params"],inlineScope:[0,"translocoScope","inlineScope"],inlineRead:[0,"translocoRead","inlineRead"],prefix:[0,"translocoPrefix","prefix"],inlineLang:[0,"translocoLang","inlineLang"],inlineTpl:[0,"translocoLoadingTpl","inlineTpl"]},standalone:!0,features:[Pe]})}return i})();var uh=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=j({type:i});static \u0275inj=L({})}return i})();function GE(i){let n=[_v(iv),xv(rv),wv(ov),yv(av)];return i.config&&n.push(bv(i.config)),i.loader&&n.push(vv(i.loader)),n}function bv(i){return pn([{provide:Jn,useValue:tv(i)}])}function vv(i){return pn([{provide:th,useClass:i}])}function _v(i){return pn([{provide:oh,useClass:i,deps:[Jn]}])}function yv(i){return pn([{provide:ch,useClass:i,deps:[Jn]}])}function xv(i){return pn([{provide:ah,useClass:i}])}function wv(i){return pn([{provide:sh,useClass:i}])}var $E=new C("TRANSLOCO_TEST_LANGS - Available testing languages"),YE=new C("TRANSLOCO_TEST_OPTIONS - Testing options");var bh=(()=>{class i{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static{this.\u0275fac=function(t){return new(t||i)(u($r),u(E))}}static{this.\u0275dir=D({type:i})}}return i})(),kv=(()=>{class i extends bh{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,features:[ne]})}}return i})(),vn=new C("");var Dv={provide:vn,useExisting:Lt(()=>vh),multi:!0};function Ev(){let i=uc()?uc().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Iv=new C(""),vh=(()=>{class i extends bh{constructor(e,t,r){super(e,t),this._compositionMode=r,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!Ev())}writeValue(e){let t=e??"";this.setProperty("value",t)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static{this.\u0275fac=function(t){return new(t||i)(u($r),u(E),u(Iv,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,r){t&1&&ee("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},features:[de([Dv]),ne]})}}return i})();function Qi(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function _h(i){return i!=null&&typeof i.length=="number"}var to=new C(""),Sc=new C(""),Sv=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ui=class{static min(n){return Tv(n)}static max(n){return Mv(n)}static required(n){return Av(n)}static requiredTrue(n){return Ov(n)}static email(n){return Rv(n)}static minLength(n){return Fv(n)}static maxLength(n){return Pv(n)}static pattern(n){return Nv(n)}static nullValidator(n){return yh(n)}static compose(n){return Eh(n)}static composeAsync(n){return Ih(n)}};function Tv(i){return n=>{if(Qi(n.value)||Qi(i))return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(Qi(n.value)||Qi(i))return null;let e=parseFloat(n.value);return!isNaN(e)&&e>i?{max:{max:i,actual:n.value}}:null}}function Av(i){return Qi(i.value)?{required:!0}:null}function Ov(i){return i.value===!0?null:{required:!0}}function Rv(i){return Qi(i.value)||Sv.test(i.value)?null:{email:!0}}function Fv(i){return n=>Qi(n.value)||!_h(n.value)?null:n.value.length_h(n.value)&&n.value.length>i?{maxlength:{requiredLength:i,actualLength:n.value.length}}:null}function Nv(i){if(!i)return yh;let n,e;return typeof i=="string"?(e="",i.charAt(0)!=="^"&&(e+="^"),e+=i,i.charAt(i.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=i.toString(),n=i),t=>{if(Qi(t.value))return null;let r=t.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function yh(i){return null}function xh(i){return i!=null}function wh(i){return Uu(i)?ki(i):i}function Ch(i){let n={};return i.forEach(e=>{n=e!=null?N(N({},n),e):n}),Object.keys(n).length===0?null:n}function kh(i,n){return n.map(e=>e(i))}function Lv(i){return!i.validate}function Dh(i){return i.map(n=>Lv(n)?n:e=>n.validate(e))}function Eh(i){if(!i)return null;let n=i.filter(xh);return n.length==0?null:function(e){return Ch(kh(e,n))}}function Tc(i){return i!=null?Eh(Dh(i)):null}function Ih(i){if(!i)return null;let n=i.filter(xh);return n.length==0?null:function(e){let t=kh(e,n).map(wh);return mn(t).pipe(xe(Ch))}}function Mc(i){return i!=null?Ih(Dh(i)):null}function hh(i,n){return i===null?[n]:Array.isArray(i)?[...i,n]:[i,n]}function Sh(i){return i._rawValidators}function Th(i){return i._rawAsyncValidators}function kc(i){return i?Array.isArray(i)?i:[i]:[]}function ha(i,n){return Array.isArray(i)?i.includes(n):i===n}function mh(i,n){let e=kc(n);return kc(i).forEach(r=>{ha(e,r)||e.push(r)}),e}function ph(i,n){return kc(n).filter(e=>!ha(i,e))}var ma=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Tc(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Mc(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},ir=class extends ma{get formDirective(){return null}get path(){return null}},ai=class extends ma{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Dc=class{constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},jv={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},mI=Qe(N({},jv),{"[class.ng-submitted]":"isSubmitted"}),pI=(()=>{class i extends Dc{constructor(e){super(e)}static{this.\u0275fac=function(t){return new(t||i)(u(ai,2))}}static{this.\u0275dir=D({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,r){t&2&&P("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ne]})}}return i})();var Kr="VALID",ua="INVALID",er="PENDING",Xr="DISABLED",qi=class{},pa=class extends qi{constructor(n,e){super(),this.value=n,this.source=e}},Jr=class extends qi{constructor(n,e){super(),this.pristine=n,this.source=e}},eo=class extends qi{constructor(n,e){super(),this.touched=n,this.source=e}},tr=class extends qi{constructor(n,e){super(),this.status=n,this.source=e}},Ec=class extends qi{constructor(n){super(),this.source=n}},Ic=class extends qi{constructor(n){super(),this.source=n}};function Mh(i){return(xa(i)?i.validators:i)||null}function Vv(i){return Array.isArray(i)?Tc(i):i||null}function Ah(i,n){return(xa(n)?n.asyncValidators:i)||null}function Bv(i){return Array.isArray(i)?Mc(i):i||null}function xa(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function zv(i,n,e){let t=i.controls;if(!(n?Object.keys(t):t).length)throw new Gr(1e3,"");if(!t[e])throw new Gr(1001,"")}function Hv(i,n,e){i._forEachChild((t,r)=>{if(e[r]===void 0)throw new Gr(1002,"")})}var fa=class{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=bi(()=>this.statusReactive()),this.statusReactive=gn(void 0),this._pristine=bi(()=>this.pristineReactive()),this.pristineReactive=gn(!0),this._touched=bi(()=>this.touchedReactive()),this.touchedReactive=gn(!1),this._events=new R,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Yt(this.statusReactive)}set status(n){Yt(()=>this.statusReactive.set(n))}get valid(){return this.status===Kr}get invalid(){return this.status===ua}get pending(){return this.status==er}get disabled(){return this.status===Xr}get enabled(){return this.status!==Xr}get pristine(){return Yt(this.pristineReactive)}set pristine(n){Yt(()=>this.pristineReactive.set(n))}get dirty(){return!this.pristine}get touched(){return Yt(this.touchedReactive)}set touched(n){Yt(()=>this.touchedReactive.set(n))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(mh(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(mh(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(ph(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(ph(n,this._rawAsyncValidators))}hasValidator(n){return ha(this._rawValidators,n)}hasAsyncValidator(n){return ha(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(Qe(N({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new eo(!0,t))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=n.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:t})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,t),e&&n.emitEvent!==!1&&this._events.next(new eo(!1,t))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let t=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(Qe(N({},n),{sourceControl:t})),e&&n.emitEvent!==!1&&this._events.next(new Jr(!1,t))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=n.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,t),e&&n.emitEvent!==!1&&this._events.next(new Jr(!0,t))}markAsPending(n={}){this.status=er;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new tr(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(Qe(N({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Xr,this.errors=null,this._forEachChild(r=>{r.disable(Qe(N({},n),{onlySelf:!0}))}),this._updateValue();let t=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new pa(this.value,t)),this._events.next(new tr(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Qe(N({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Kr,this._forEachChild(t=>{t.enable(Qe(N({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Qe(N({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let t=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Kr||this.status===er)&&this._runAsyncValidator(t,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new pa(this.value,e)),this._events.next(new tr(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(Qe(N({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xr:Kr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=er,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1};let t=wh(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((t,r)=>t&&t._find(r),this)}getError(n,e){let t=e?this.get(e):this;return t&&t.errors?t.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,t){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||t)&&this._events.next(new tr(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,t)}_initObservables(){this.valueChanges=new z,this.statusChanges=new z}_calculateStatus(){return this._allControlsDisabled()?Xr:this.errors?ua:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(er)?er:this._anyControlsHaveStatus(ua)?ua:Kr}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let t=!this._anyControlsDirty(),r=this.pristine!==t;this.pristine=t,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),r&&this._events.next(new Jr(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new eo(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){xa(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=Vv(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=Bv(this._rawAsyncValidators)}},ga=class extends fa{constructor(n,e,t){super(Mh(e),Ah(t,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,t={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){Hv(this,!0,n),Object.keys(n).forEach(t=>{zv(this,!0,t),this.controls[t].setValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(t=>{let r=this.controls[t];r&&r.patchValue(n[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((t,r)=>{t.reset(n?n[r]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,t)=>(n[t]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,t)=>t._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let t=this.controls[e];t&&n(t,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,t]of Object.entries(this.controls))if(this.contains(e)&&n(t))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,t,r)=>((t.enabled||this.disabled)&&(e[r]=t.value),e))}_reduceChildren(n,e){let t=n;return this._forEachChild((r,o)=>{t=e(t,r,o)}),t}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var wa=new C("CallSetDisabledState",{providedIn:"root",factory:()=>Ac}),Ac="always";function ba(i,n,e=Ac){Oc(i,n),n.valueAccessor.writeValue(i.value),(i.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(i.disabled),Uv(i,n),Wv(i,n),qv(i,n),Qv(i,n)}function va(i,n,e=!0){let t=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(t),n.valueAccessor.registerOnTouched(t)),ya(i,n),i&&(n._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function _a(i,n){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function Qv(i,n){if(n.valueAccessor.setDisabledState){let e=t=>{n.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(e),n._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}function Oc(i,n){let e=Sh(i);n.validator!==null?i.setValidators(hh(e,n.validator)):typeof e=="function"&&i.setValidators([e]);let t=Th(i);n.asyncValidator!==null?i.setAsyncValidators(hh(t,n.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let r=()=>i.updateValueAndValidity();_a(n._rawValidators,r),_a(n._rawAsyncValidators,r)}function ya(i,n){let e=!1;if(i!==null){if(n.validator!==null){let r=Sh(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.validator);o.length!==r.length&&(e=!0,i.setValidators(o))}}if(n.asyncValidator!==null){let r=Th(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==n.asyncValidator);o.length!==r.length&&(e=!0,i.setAsyncValidators(o))}}}let t=()=>{};return _a(n._rawValidators,t),_a(n._rawAsyncValidators,t),e}function Uv(i,n){n.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&Oh(i,n)})}function qv(i,n){n.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&Oh(i,n),i.updateOn!=="submit"&&i.markAsTouched()})}function Oh(i,n){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Wv(i,n){let e=(t,r)=>{n.valueAccessor.writeValue(t),r&&n.viewToModelUpdate(t)};i.registerOnChange(e),n._registerOnDestroy(()=>{i._unregisterOnChange(e)})}function Rh(i,n){i==null,Oc(i,n)}function Gv(i,n){return ya(i,n)}function $v(i,n){if(!i.hasOwnProperty("model"))return!1;let e=i.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function Yv(i){return Object.getPrototypeOf(i.constructor)===kv}function Fh(i,n){i._syncPendingControls(),n.forEach(e=>{let t=e.control;t.updateOn==="submit"&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Kv(i,n){if(!n)return null;Array.isArray(n);let e,t,r;return n.forEach(o=>{o.constructor===vh?e=o:Yv(o)?t=o:r=o}),r||t||e||null}function Xv(i,n){let e=i.indexOf(n);e>-1&&i.splice(e,1)}var Zv={provide:ir,useExisting:Lt(()=>_n)},Zr=Promise.resolve(),_n=(()=>{class i extends ir{get submitted(){return Yt(this.submittedReactive)}constructor(e,t,r){super(),this.callSetDisabledState=r,this._submitted=bi(()=>this.submittedReactive()),this.submittedReactive=gn(!1),this._directives=new Set,this.ngSubmit=new z,this.form=new ga({},Tc(e),Mc(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Zr.then(()=>{let t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),ba(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Zr.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Zr.then(()=>{let t=this._findContainer(e.path),r=new ga({});Rh(r,e),t.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Zr.then(()=>{let t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){Zr.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),Fh(this.form,this._directives),this.ngSubmit.emit(e),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static{this.\u0275fac=function(t){return new(t||i)(u(to,10),u(Sc,10),u(wa,8))}}static{this.\u0275dir=D({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,r){t&1&&ee("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[de([Zv]),ne]})}}return i})();function fh(i,n){let e=i.indexOf(n);e>-1&&i.splice(e,1)}function gh(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var Jv=class extends fa{constructor(n=null,e,t){super(Mh(e),Ah(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),xa(e)&&(e.nonNullable||e.initialValueIsDefault)&&(gh(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){fh(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){fh(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){gh(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var e_=i=>i instanceof Jv;var Ph=new C(""),t_={provide:ai,useExisting:Lt(()=>i_)},i_=(()=>{class i extends ai{set isDisabled(e){}static{this._ngModelWarningSentOnce=!1}constructor(e,t,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this.update=new z,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=Kv(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let t=e.form.previousValue;t&&va(t,this,!1),ba(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}$v(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&va(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static{this.\u0275fac=function(t){return new(t||i)(u(to,10),u(Sc,10),u(vn,10),u(Ph,8),u(wa,8))}}static{this.\u0275dir=D({type:i,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[de([t_]),ne,Pe]})}}return i})(),n_={provide:ir,useExisting:Lt(()=>yn)},yn=(()=>{class i extends ir{get submitted(){return Yt(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}constructor(e,t,r){super(),this.callSetDisabledState=r,this._submitted=bi(()=>this._submittedReactive()),this._submittedReactive=gn(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new z,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ya(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){let t=this.form.get(e.path);return ba(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){va(e.control||null,e,!1),Xv(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this._submittedReactive.set(!0),Fh(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Ec(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this._submittedReactive.set(!1),this.form._events.next(new Ic(this.form))}_updateDomValue(){this.directives.forEach(e=>{let t=e.control,r=this.form.get(e.path);t!==r&&(va(t||null,e),e_(r)&&(ba(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let t=this.form.get(e.path);Rh(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let t=this.form.get(e.path);t&&Gv(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Oc(this.form,this),this._oldForm&&ya(this._oldForm,this)}_checkFormPresent(){this.form}static{this.\u0275fac=function(t){return new(t||i)(u(to,10),u(Sc,10),u(wa,8))}}static{this.\u0275dir=D({type:i,selectors:[["","formGroup",""]],hostBindings:function(t,r){t&1&&ee("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[de([n_]),ne,Pe]})}}return i})();var r_=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var Nh=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:Ph,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:wa,useValue:e.callSetDisabledState??Ac}]}}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[r_]})}}return i})();function ka(i){return i&&typeof i.connect=="function"&&!(i instanceof vu)}var nr=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(nr||{}),io=new C("_ViewRepeater"),rr=class{applyChanges(n,e,t,r,o){n.forEachOperation((a,s,c)=>{let l,d;if(a.previousIndex==null){let h=t(a,s,c);l=e.createEmbeddedView(h.templateRef,h.context,h.index),d=nr.INSERTED}else c==null?(e.remove(s),d=nr.REMOVED):(l=e.get(s),e.move(l,c),d=nr.MOVED);o&&o({context:l?.context,operation:d,record:a})})}detach(){}};var Ca=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(n=!1,e,t=!0,r){this._multiple=n,this._emitChanges=t,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new R,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(t=>this._markSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(t=>this._unmarkSelected(t));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,t=new Set(n);n.forEach(o=>this._markSelected(o)),e.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let t of e)if(this.compareWith(n,t))return t;return n}else return n}};var Da=(()=>{class i{constructor(){this._listeners=[]}notify(e,t){for(let r of this._listeners)r(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Fc="Invariant Violation",jh=Object.setPrototypeOf,o_=jh===void 0?function(i,n){return i.__proto__=n,i}:jh,Sa=function(i){mt(n,i);function n(e){e===void 0&&(e=Fc);var t=i.call(this,typeof e=="number"?Fc+": "+e+" (see https://github.com/apollographql/invariant-packages)":e)||this;return t.framesToPop=1,t.name=Fc,o_(t,n.prototype),t}return n}(Error);function Wi(i,n){if(!i)throw new Sa(n)}var Ia=["debug","log","warn","error","silent"],Pc=Ia.indexOf("log");function Ea(i){return function(){if(Ia.indexOf(i)>=Pc){var n=console[i]||console.log;return n.apply(console,arguments)}}}(function(i){i.debug=Ea("debug"),i.log=Ea("log"),i.warn=Ea("warn"),i.error=Ea("error")})(Wi||(Wi={}));function Vh(i){var n=Ia[Pc];return Pc=Math.max(0,Ia.indexOf(i)),n}var no="3.11.8";function xt(i){try{return i()}catch{}}var or=xt(function(){return globalThis})||xt(function(){return window})||xt(function(){return self})||xt(function(){return global})||xt(function(){return xt.constructor("return this")()});var Bh=new Map;function ro(i){var n=Bh.get(i)||1;return Bh.set(i,n+1),"".concat(i,":").concat(n,":").concat(Math.random().toString(36).slice(2))}function Ta(i,n){n===void 0&&(n=0);var e=ro("stringifyForDisplay");return JSON.stringify(i,function(t,r){return r===void 0?e:r},n).split(JSON.stringify(e)).join("")}function Ma(i){return function(n){for(var e=[],t=1;t"}}function Nc(i,n){if(n===void 0&&(n=[]),!!i)return or[zh]&&or[zh](i,n.map(Hh))}function Lc(i,n){if(n===void 0&&(n=[]),!!i)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:no,message:i,args:n.map(Hh)})))}var a_=globalThis.__DEV__!==!1;function ar(i,n){if(!!!i)throw new Error(n)}function Qh(i){return typeof i=="object"&&i!==null}function Uh(i,n){if(!!!i)throw new Error(n??"Unexpected invariant triggered.")}var s_=/\r\n|[\n\r]/g;function sr(i,n){let e=0,t=1;for(let r of i.body.matchAll(s_)){if(typeof r.index=="number"||Uh(!1),r.index>=n)break;e=r.index+r[0].length,t+=1}return{line:t,column:n+1-e}}function jc(i){return Aa(i.source,sr(i.source,i.start))}function Aa(i,n){let e=i.locationOffset.column-1,t="".padStart(e)+i.body,r=n.line-1,o=i.locationOffset.line-1,a=n.line+o,s=n.line===1?e:0,c=n.column+s,l=`${i.name}:${a}:${c} -`,d=t.split(/\r\n|[\n\r]/g),h=d[r];if(h.length>120){let m=Math.floor(c/80),p=c%80,f=[];for(let g=0;g["|",g]),["|","^".padStart(p)],["|",f[m+1]]])}return l+qh([[`${a-1} |`,d[r-1]],[`${a} |`,h],["|","^".padStart(c)],[`${a+1} |`,d[r+1]]])}function qh(i){let n=i.filter(([t,r])=>r!==void 0),e=Math.max(...n.map(([t])=>t.length));return n.map(([t,r])=>t.padStart(e)+(r?" "+r:"")).join(` -`)}function c_(i){let n=i[0];return n==null||"kind"in n||"length"in n?{nodes:n,source:i[1],positions:i[2],path:i[3],originalError:i[4],extensions:i[5]}:n}var Oa=class i extends Error{constructor(n,...e){var t,r,o;let{nodes:a,source:s,positions:c,path:l,originalError:d,extensions:h}=c_(e);super(n),this.name="GraphQLError",this.path=l??void 0,this.originalError=d??void 0,this.nodes=Wh(Array.isArray(a)?a:a?[a]:void 0);let m=Wh((t=this.nodes)===null||t===void 0?void 0:t.map(f=>f.loc).filter(f=>f!=null));this.source=s??(m==null||(r=m[0])===null||r===void 0?void 0:r.source),this.positions=c??m?.map(f=>f.start),this.locations=c&&s?c.map(f=>sr(s,f)):m?.map(f=>sr(f.source,f.start));let p=Qh(d?.extensions)?d?.extensions:void 0;this.extensions=(o=h??p)!==null&&o!==void 0?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),d!=null&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,i):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let n=this.message;if(this.nodes)for(let e of this.nodes)e.loc&&(n+=` - -`+jc(e.loc));else if(this.source&&this.locations)for(let e of this.locations)n+=` - -`+Aa(this.source,e);return n}toJSON(){let n={message:this.message};return this.locations!=null&&(n.locations=this.locations),this.path!=null&&(n.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(n.extensions=this.extensions),n}};function Wh(i){return i===void 0||i.length===0?void 0:i}function ct(i,n,e){return new Oa(`Syntax Error: ${e}`,{source:i,positions:[n]})}var oo=class{constructor(n,e,t){this.start=n.start,this.end=e.end,this.startToken=n,this.endToken=e,this.source=t}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},cr=class{constructor(n,e,t,r,o,a){this.kind=n,this.start=e,this.end=t,this.line=r,this.column=o,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},Vc={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},l_=new Set(Object.keys(Vc));function Bc(i){let n=i?.kind;return typeof n=="string"&&l_.has(n)}var xn=function(i){return i.QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription",i}(xn||{});var Ra=function(i){return i.QUERY="QUERY",i.MUTATION="MUTATION",i.SUBSCRIPTION="SUBSCRIPTION",i.FIELD="FIELD",i.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",i.FRAGMENT_SPREAD="FRAGMENT_SPREAD",i.INLINE_FRAGMENT="INLINE_FRAGMENT",i.VARIABLE_DEFINITION="VARIABLE_DEFINITION",i.SCHEMA="SCHEMA",i.SCALAR="SCALAR",i.OBJECT="OBJECT",i.FIELD_DEFINITION="FIELD_DEFINITION",i.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.ENUM_VALUE="ENUM_VALUE",i.INPUT_OBJECT="INPUT_OBJECT",i.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",i}(Ra||{});var G=function(i){return i.NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",i}(G||{});function Fa(i){return i===9||i===32}function lr(i){return i>=48&&i<=57}function Gh(i){return i>=97&&i<=122||i>=65&&i<=90}function zc(i){return Gh(i)||i===95}function $h(i){return Gh(i)||lr(i)||i===95}function Yh(i){var n;let e=Number.MAX_SAFE_INTEGER,t=null,r=-1;for(let a=0;as===0?a:a.slice(e)).slice((n=t)!==null&&n!==void 0?n:0,r+1)}function d_(i){let n=0;for(;n1&&t.slice(1).every(p=>p.length===0||Fa(p.charCodeAt(0))),a=e.endsWith('\\"""'),s=i.endsWith('"')&&!a,c=i.endsWith("\\"),l=s||c,d=!(n!=null&&n.minimize)&&(!r||i.length>70||l||o||a),h="",m=r&&Fa(i.charCodeAt(0));return(d&&!m||o)&&(h+=` -`),h+=e,(d||l)&&(h+=` -`),'"""'+h+'"""'}var k=function(i){return i.SOF="",i.EOF="",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment",i}(k||{});var so=class{constructor(n){let e=new cr(k.SOF,0,0,0,0);this.source=n,this.lastToken=e,this.token=e,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let n=this.token;if(n.kind!==k.EOF)do if(n.next)n=n.next;else{let e=u_(this,n.end);n.next=e,e.prev=n,n=e}while(n.kind===k.COMMENT);return n}};function Zh(i){return i===k.BANG||i===k.DOLLAR||i===k.AMP||i===k.PAREN_L||i===k.PAREN_R||i===k.SPREAD||i===k.COLON||i===k.EQUALS||i===k.AT||i===k.BRACKET_L||i===k.BRACKET_R||i===k.BRACE_L||i===k.PIPE||i===k.BRACE_R}function dr(i){return i>=0&&i<=55295||i>=57344&&i<=1114111}function Pa(i,n){return Jh(i.charCodeAt(n))&&em(i.charCodeAt(n+1))}function Jh(i){return i>=55296&&i<=56319}function em(i){return i>=56320&&i<=57343}function wn(i,n){let e=i.source.body.codePointAt(n);if(e===void 0)return k.EOF;if(e>=32&&e<=126){let t=String.fromCodePoint(e);return t==='"'?`'"'`:`"${t}"`}return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function lt(i,n,e,t,r){let o=i.line,a=1+e-i.lineStart;return new cr(n,e,t,o,a,r)}function u_(i,n){let e=i.source.body,t=e.length,r=n;for(;r=48&&i<=57?i-48:i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:-1}function b_(i,n){let e=i.source.body;switch(e.charCodeAt(n+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` -`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw ct(i.source,n,`Invalid character escape sequence: "${e.slice(n,n+2)}".`)}function v_(i,n){let e=i.source.body,t=e.length,r=i.lineStart,o=n+3,a=o,s="",c=[];for(;o2?"["+k_(i)+"]":"{ "+e.map(([r,o])=>r+": "+Na(o,n)).join(", ")+" }"}function C_(i,n){if(i.length===0)return"[]";if(n.length>2)return"[Array]";let e=Math.min(10,i.length),t=i.length-e,r=[];for(let o=0;o1&&r.push(`... ${t} more items`),"["+r.join(", ")+"]"}function k_(i){let n=Object.prototype.toString.call(i).replace(/^\[object /,"").replace(/]$/,"");if(n==="Object"&&typeof i.constructor=="function"){let e=i.constructor.name;if(typeof e=="string"&&e!=="")return e}return n}var D_=globalThis.process&&!0,tm=D_?function(n,e){return n instanceof e}:function(n,e){if(n instanceof e)return!0;if(typeof n=="object"&&n!==null){var t;let r=e.prototype[Symbol.toStringTag],o=Symbol.toStringTag in n?n[Symbol.toStringTag]:(t=n.constructor)===null||t===void 0?void 0:t.name;if(r===o){let a=ur(n);throw new Error(`Cannot use ${r} "${a}" from another module or realm. - -Ensure that there is only one instance of "graphql" in the node_modules -directory. If different versions of "graphql" are the dependencies of other -relied on modules, use "resolutions" to ensure only one version is installed. - -https://yarnpkg.com/en/docs/selective-version-resolutions - -Duplicate "graphql" modules cannot be used at the same time since different -versions may have different capabilities and behavior. The data from one -version used in the function from another could produce confusing and -spurious results.`)}}return!1};var hr=class{constructor(n,e="GraphQL request",t={line:1,column:1}){typeof n=="string"||ar(!1,`Body must be a string. Received: ${ur(n)}.`),this.body=n,this.name=e,this.locationOffset=t,this.locationOffset.line>0||ar(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ar(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function im(i){return tm(i,hr)}function ja(i,n){return new Qc(i,n).parseDocument()}var Qc=class{constructor(n,e={}){let t=im(n)?n:new hr(n);this._lexer=new so(t),this._options=e,this._tokenCounter=0}parseName(){let n=this.expectToken(k.NAME);return this.node(n,{kind:G.NAME,value:n.value})}parseDocument(){return this.node(this._lexer.token,{kind:G.DOCUMENT,definitions:this.many(k.SOF,this.parseDefinition,k.EOF)})}parseDefinition(){if(this.peek(k.BRACE_L))return this.parseOperationDefinition();let n=this.peekDescription(),e=n?this._lexer.lookahead():this._lexer.token;if(e.kind===k.NAME){switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(n)throw ct(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(e.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(e)}parseOperationDefinition(){let n=this._lexer.token;if(this.peek(k.BRACE_L))return this.node(n,{kind:G.OPERATION_DEFINITION,operation:xn.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let e=this.parseOperationType(),t;return this.peek(k.NAME)&&(t=this.parseName()),this.node(n,{kind:G.OPERATION_DEFINITION,operation:e,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let n=this.expectToken(k.NAME);switch(n.value){case"query":return xn.QUERY;case"mutation":return xn.MUTATION;case"subscription":return xn.SUBSCRIPTION}throw this.unexpected(n)}parseVariableDefinitions(){return this.optionalMany(k.PAREN_L,this.parseVariableDefinition,k.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:G.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(k.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(k.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let n=this._lexer.token;return this.expectToken(k.DOLLAR),this.node(n,{kind:G.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:G.SELECTION_SET,selections:this.many(k.BRACE_L,this.parseSelection,k.BRACE_R)})}parseSelection(){return this.peek(k.SPREAD)?this.parseFragment():this.parseField()}parseField(){let n=this._lexer.token,e=this.parseName(),t,r;return this.expectOptionalToken(k.COLON)?(t=e,r=this.parseName()):r=e,this.node(n,{kind:G.FIELD,alias:t,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(k.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(n){let e=n?this.parseConstArgument:this.parseArgument;return this.optionalMany(k.PAREN_L,e,k.PAREN_R)}parseArgument(n=!1){let e=this._lexer.token,t=this.parseName();return this.expectToken(k.COLON),this.node(e,{kind:G.ARGUMENT,name:t,value:this.parseValueLiteral(n)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let n=this._lexer.token;this.expectToken(k.SPREAD);let e=this.expectOptionalKeyword("on");return!e&&this.peek(k.NAME)?this.node(n,{kind:G.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(n,{kind:G.INLINE_FRAGMENT,typeCondition:e?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let n=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(n,{kind:G.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(n,{kind:G.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(n){let e=this._lexer.token;switch(e.kind){case k.BRACKET_L:return this.parseList(n);case k.BRACE_L:return this.parseObject(n);case k.INT:return this.advanceLexer(),this.node(e,{kind:G.INT,value:e.value});case k.FLOAT:return this.advanceLexer(),this.node(e,{kind:G.FLOAT,value:e.value});case k.STRING:case k.BLOCK_STRING:return this.parseStringLiteral();case k.NAME:switch(this.advanceLexer(),e.value){case"true":return this.node(e,{kind:G.BOOLEAN,value:!0});case"false":return this.node(e,{kind:G.BOOLEAN,value:!1});case"null":return this.node(e,{kind:G.NULL});default:return this.node(e,{kind:G.ENUM,value:e.value})}case k.DOLLAR:if(n)if(this.expectToken(k.DOLLAR),this._lexer.token.kind===k.NAME){let t=this._lexer.token.value;throw ct(this._lexer.source,e.start,`Unexpected variable "$${t}" in constant value.`)}else throw this.unexpected(e);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let n=this._lexer.token;return this.advanceLexer(),this.node(n,{kind:G.STRING,value:n.value,block:n.kind===k.BLOCK_STRING})}parseList(n){let e=()=>this.parseValueLiteral(n);return this.node(this._lexer.token,{kind:G.LIST,values:this.any(k.BRACKET_L,e,k.BRACKET_R)})}parseObject(n){let e=()=>this.parseObjectField(n);return this.node(this._lexer.token,{kind:G.OBJECT,fields:this.any(k.BRACE_L,e,k.BRACE_R)})}parseObjectField(n){let e=this._lexer.token,t=this.parseName();return this.expectToken(k.COLON),this.node(e,{kind:G.OBJECT_FIELD,name:t,value:this.parseValueLiteral(n)})}parseDirectives(n){let e=[];for(;this.peek(k.AT);)e.push(this.parseDirective(n));return e}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(n){let e=this._lexer.token;return this.expectToken(k.AT),this.node(e,{kind:G.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(n)})}parseTypeReference(){let n=this._lexer.token,e;if(this.expectOptionalToken(k.BRACKET_L)){let t=this.parseTypeReference();this.expectToken(k.BRACKET_R),e=this.node(n,{kind:G.LIST_TYPE,type:t})}else e=this.parseNamedType();return this.expectOptionalToken(k.BANG)?this.node(n,{kind:G.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:G.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(k.STRING)||this.peek(k.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.many(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);return this.node(n,{kind:G.SCHEMA_DEFINITION,description:e,directives:t,operationTypes:r})}parseOperationTypeDefinition(){let n=this._lexer.token,e=this.parseOperationType();this.expectToken(k.COLON);let t=this.parseNamedType();return this.node(n,{kind:G.OPERATION_TYPE_DEFINITION,operation:e,type:t})}parseScalarTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();return this.node(n,{kind:G.SCALAR_TYPE_DEFINITION,description:e,name:t,directives:r})}parseObjectTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(n,{kind:G.OBJECT_TYPE_DEFINITION,description:e,name:t,interfaces:r,directives:o,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(k.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseFieldDefinition,k.BRACE_R)}parseFieldDefinition(){let n=this._lexer.token,e=this.parseDescription(),t=this.parseName(),r=this.parseArgumentDefs();this.expectToken(k.COLON);let o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(n,{kind:G.FIELD_DEFINITION,description:e,name:t,arguments:r,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(k.PAREN_L,this.parseInputValueDef,k.PAREN_R)}parseInputValueDef(){let n=this._lexer.token,e=this.parseDescription(),t=this.parseName();this.expectToken(k.COLON);let r=this.parseTypeReference(),o;this.expectOptionalToken(k.EQUALS)&&(o=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(n,{kind:G.INPUT_VALUE_DEFINITION,description:e,name:t,type:r,defaultValue:o,directives:a})}parseInterfaceTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(n,{kind:G.INTERFACE_TYPE_DEFINITION,description:e,name:t,interfaces:r,directives:o,fields:a})}parseUnionTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(n,{kind:G.UNION_TYPE_DEFINITION,description:e,name:t,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(k.EQUALS)?this.delimitedMany(k.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(n,{kind:G.ENUM_TYPE_DEFINITION,description:e,name:t,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(k.BRACE_L,this.parseEnumValueDefinition,k.BRACE_R)}parseEnumValueDefinition(){let n=this._lexer.token,e=this.parseDescription(),t=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(n,{kind:G.ENUM_VALUE_DEFINITION,description:e,name:t,directives:r})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw ct(this._lexer.source,this._lexer.token.start,`${La(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();return this.node(n,{kind:G.INPUT_OBJECT_TYPE_DEFINITION,description:e,name:t,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseInputValueDef,k.BRACE_R)}parseTypeSystemExtension(){let n=this._lexer.lookahead();if(n.kind===k.NAME)switch(n.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(n)}parseSchemaExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let e=this.parseConstDirectives(),t=this.optionalMany(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);if(e.length===0&&t.length===0)throw this.unexpected();return this.node(n,{kind:G.SCHEMA_EXTENSION,directives:e,operationTypes:t})}parseScalarTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let e=this.parseName(),t=this.parseConstDirectives();if(t.length===0)throw this.unexpected();return this.node(n,{kind:G.SCALAR_TYPE_EXTENSION,name:e,directives:t})}parseObjectTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let e=this.parseName(),t=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(t.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:G.OBJECT_TYPE_EXTENSION,name:e,interfaces:t,directives:r,fields:o})}parseInterfaceTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let e=this.parseName(),t=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(t.length===0&&r.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:G.INTERFACE_TYPE_EXTENSION,name:e,interfaces:t,directives:r,fields:o})}parseUnionTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let e=this.parseName(),t=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(t.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:G.UNION_TYPE_EXTENSION,name:e,directives:t,types:r})}parseEnumTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let e=this.parseName(),t=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(t.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:G.ENUM_TYPE_EXTENSION,name:e,directives:t,values:r})}parseInputObjectTypeExtension(){let n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let e=this.parseName(),t=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(t.length===0&&r.length===0)throw this.unexpected();return this.node(n,{kind:G.INPUT_OBJECT_TYPE_EXTENSION,name:e,directives:t,fields:r})}parseDirectiveDefinition(){let n=this._lexer.token,e=this.parseDescription();this.expectKeyword("directive"),this.expectToken(k.AT);let t=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(n,{kind:G.DIRECTIVE_DEFINITION,description:e,name:t,arguments:r,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(k.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let n=this._lexer.token,e=this.parseName();if(Object.prototype.hasOwnProperty.call(Ra,e.value))return e;throw this.unexpected(n)}node(n,e){return this._options.noLocation!==!0&&(e.loc=new oo(n,this._lexer.lastToken,this._lexer.source)),e}peek(n){return this._lexer.token.kind===n}expectToken(n){let e=this._lexer.token;if(e.kind===n)return this.advanceLexer(),e;throw ct(this._lexer.source,e.start,`Expected ${nm(n)}, found ${La(e)}.`)}expectOptionalToken(n){return this._lexer.token.kind===n?(this.advanceLexer(),!0):!1}expectKeyword(n){let e=this._lexer.token;if(e.kind===k.NAME&&e.value===n)this.advanceLexer();else throw ct(this._lexer.source,e.start,`Expected "${n}", found ${La(e)}.`)}expectOptionalKeyword(n){let e=this._lexer.token;return e.kind===k.NAME&&e.value===n?(this.advanceLexer(),!0):!1}unexpected(n){let e=n??this._lexer.token;return ct(this._lexer.source,e.start,`Unexpected ${La(e)}.`)}any(n,e,t){this.expectToken(n);let r=[];for(;!this.expectOptionalToken(t);)r.push(e.call(this));return r}optionalMany(n,e,t){if(this.expectOptionalToken(n)){let r=[];do r.push(e.call(this));while(!this.expectOptionalToken(t));return r}return[]}many(n,e,t){this.expectToken(n);let r=[];do r.push(e.call(this));while(!this.expectOptionalToken(t));return r}delimitedMany(n,e){this.expectOptionalToken(n);let t=[];do t.push(e.call(this));while(this.expectOptionalToken(n));return t}advanceLexer(){let{maxTokens:n}=this._options,e=this._lexer.advance();if(n!==void 0&&e.kind!==k.EOF&&(++this._tokenCounter,this._tokenCounter>n))throw ct(this._lexer.source,e.start,`Document contains more that ${n} tokens. Parsing aborted.`)}};function La(i){let n=i.value;return nm(i.kind)+(n!=null?` "${n}"`:"")}function nm(i){return Zh(i)?`"${i}"`:i}function rm(i){return`"${i.replace(E_,I_)}"`}var E_=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function I_(i){return S_[i.charCodeAt(0)]}var S_=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var Cn=Object.freeze({});function wt(i,n,e=Vc){let t=new Map;for(let v of Object.values(G))t.set(v,Uc(n,v));let r,o=Array.isArray(i),a=[i],s=-1,c=[],l=i,d,h,m=[],p=[];do{s++;let v=s===a.length,M=v&&c.length!==0;if(v){if(d=p.length===0?void 0:m[m.length-1],l=h,h=p.pop(),M)if(o){l=l.slice();let q=0;for(let[U,J]of c){let be=U-q;J===null?(l.splice(be,1),q++):l[be]=J}}else{l=Object.defineProperties({},Object.getOwnPropertyDescriptors(l));for(let[q,U]of c)l[q]=U}s=r.index,a=r.keys,c=r.edits,o=r.inArray,r=r.prev}else if(h){if(d=o?s:a[s],l=h[d],l==null)continue;m.push(d)}let y;if(!Array.isArray(l)){var f,g;Bc(l)||ar(!1,`Invalid AST Node: ${ur(l)}.`);let q=v?(f=t.get(l.kind))===null||f===void 0?void 0:f.leave:(g=t.get(l.kind))===null||g===void 0?void 0:g.enter;if(y=q?.call(n,l,d,h,m,p),y===Cn)break;if(y===!1){if(!v){m.pop();continue}}else if(y!==void 0&&(c.push([d,y]),!v))if(Bc(y))l=y;else{m.pop();continue}}if(y===void 0&&M&&c.push([d,l]),v)m.pop();else{var _;r={inArray:o,index:s,keys:a,edits:c,prev:r},o=Array.isArray(l),a=o?l:(_=e[l.kind])!==null&&_!==void 0?_:[],s=-1,c=[],h&&p.push(h),h=l}}while(r!==void 0);return c.length!==0?c[c.length-1][1]:i}function Uc(i,n){let e=i[n];return typeof e=="object"?e:typeof e=="function"?{enter:e,leave:void 0}:{enter:i.enter,leave:i.leave}}function mr(i){return wt(i,M_)}var T_=80,M_={Name:{leave:i=>i.value},Variable:{leave:i=>"$"+i.name},Document:{leave:i=>X(i.definitions,` - -`)},OperationDefinition:{leave(i){let n=De("(",X(i.variableDefinitions,", "),")"),e=X([i.operation,X([i.name,n]),X(i.directives," ")]," ");return(e==="query"?"":e+" ")+i.selectionSet}},VariableDefinition:{leave:({variable:i,type:n,defaultValue:e,directives:t})=>i+": "+n+De(" = ",e)+De(" ",X(t," "))},SelectionSet:{leave:({selections:i})=>si(i)},Field:{leave({alias:i,name:n,arguments:e,directives:t,selectionSet:r}){let o=De("",i,": ")+n,a=o+De("(",X(e,", "),")");return a.length>T_&&(a=o+De(`( -`,Va(X(e,` -`)),` -)`)),X([a,X(t," "),r]," ")}},Argument:{leave:({name:i,value:n})=>i+": "+n},FragmentSpread:{leave:({name:i,directives:n})=>"..."+i+De(" ",X(n," "))},InlineFragment:{leave:({typeCondition:i,directives:n,selectionSet:e})=>X(["...",De("on ",i),X(n," "),e]," ")},FragmentDefinition:{leave:({name:i,typeCondition:n,variableDefinitions:e,directives:t,selectionSet:r})=>`fragment ${i}${De("(",X(e,", "),")")} on ${n} ${De("",X(t," ")," ")}`+r},IntValue:{leave:({value:i})=>i},FloatValue:{leave:({value:i})=>i},StringValue:{leave:({value:i,block:n})=>n?Kh(i):rm(i)},BooleanValue:{leave:({value:i})=>i?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:i})=>i},ListValue:{leave:({values:i})=>"["+X(i,", ")+"]"},ObjectValue:{leave:({fields:i})=>"{"+X(i,", ")+"}"},ObjectField:{leave:({name:i,value:n})=>i+": "+n},Directive:{leave:({name:i,arguments:n})=>"@"+i+De("(",X(n,", "),")")},NamedType:{leave:({name:i})=>i},ListType:{leave:({type:i})=>"["+i+"]"},NonNullType:{leave:({type:i})=>i+"!"},SchemaDefinition:{leave:({description:i,directives:n,operationTypes:e})=>De("",i,` -`)+X(["schema",X(n," "),si(e)]," ")},OperationTypeDefinition:{leave:({operation:i,type:n})=>i+": "+n},ScalarTypeDefinition:{leave:({description:i,name:n,directives:e})=>De("",i,` -`)+X(["scalar",n,X(e," ")]," ")},ObjectTypeDefinition:{leave:({description:i,name:n,interfaces:e,directives:t,fields:r})=>De("",i,` -`)+X(["type",n,De("implements ",X(e," & ")),X(t," "),si(r)]," ")},FieldDefinition:{leave:({description:i,name:n,arguments:e,type:t,directives:r})=>De("",i,` -`)+n+(om(e)?De(`( -`,Va(X(e,` -`)),` -)`):De("(",X(e,", "),")"))+": "+t+De(" ",X(r," "))},InputValueDefinition:{leave:({description:i,name:n,type:e,defaultValue:t,directives:r})=>De("",i,` -`)+X([n+": "+e,De("= ",t),X(r," ")]," ")},InterfaceTypeDefinition:{leave:({description:i,name:n,interfaces:e,directives:t,fields:r})=>De("",i,` -`)+X(["interface",n,De("implements ",X(e," & ")),X(t," "),si(r)]," ")},UnionTypeDefinition:{leave:({description:i,name:n,directives:e,types:t})=>De("",i,` -`)+X(["union",n,X(e," "),De("= ",X(t," | "))]," ")},EnumTypeDefinition:{leave:({description:i,name:n,directives:e,values:t})=>De("",i,` -`)+X(["enum",n,X(e," "),si(t)]," ")},EnumValueDefinition:{leave:({description:i,name:n,directives:e})=>De("",i,` -`)+X([n,X(e," ")]," ")},InputObjectTypeDefinition:{leave:({description:i,name:n,directives:e,fields:t})=>De("",i,` -`)+X(["input",n,X(e," "),si(t)]," ")},DirectiveDefinition:{leave:({description:i,name:n,arguments:e,repeatable:t,locations:r})=>De("",i,` -`)+"directive @"+n+(om(e)?De(`( -`,Va(X(e,` -`)),` -)`):De("(",X(e,", "),")"))+(t?" repeatable":"")+" on "+X(r," | ")},SchemaExtension:{leave:({directives:i,operationTypes:n})=>X(["extend schema",X(i," "),si(n)]," ")},ScalarTypeExtension:{leave:({name:i,directives:n})=>X(["extend scalar",i,X(n," ")]," ")},ObjectTypeExtension:{leave:({name:i,interfaces:n,directives:e,fields:t})=>X(["extend type",i,De("implements ",X(n," & ")),X(e," "),si(t)]," ")},InterfaceTypeExtension:{leave:({name:i,interfaces:n,directives:e,fields:t})=>X(["extend interface",i,De("implements ",X(n," & ")),X(e," "),si(t)]," ")},UnionTypeExtension:{leave:({name:i,directives:n,types:e})=>X(["extend union",i,X(n," "),De("= ",X(e," | "))]," ")},EnumTypeExtension:{leave:({name:i,directives:n,values:e})=>X(["extend enum",i,X(n," "),si(e)]," ")},InputObjectTypeExtension:{leave:({name:i,directives:n,fields:e})=>X(["extend input",i,X(n," "),si(e)]," ")}};function X(i,n=""){var e;return(e=i?.filter(t=>t).join(n))!==null&&e!==void 0?e:""}function si(i){return De(`{ -`,Va(X(i,` -`)),` -}`)}function De(i,n,e=""){return n!=null&&n!==""?i+n+e:""}function Va(i){return De(" ",i.replace(/\n/g,` - `))}function om(i){var n;return(n=i?.some(e=>e.includes(` -`)))!==null&&n!==void 0?n:!1}function co(i){return i.kind===G.FIELD||i.kind===G.FRAGMENT_SPREAD||i.kind===G.INLINE_FRAGMENT}function ci(i,n){var e=i.directives;return!e||!e.length?!0:am(e).every(function(t){var r=t.directive,o=t.ifArgument,a=!1;return o.value.kind==="Variable"?(a=n&&n[o.value.name.value],Y(a!==void 0,70,r.name.value)):a=o.value.value,r.name.value==="skip"?!a:a})}function Ei(i,n,e){var t=new Set(i),r=t.size;return wt(n,{Directive:function(o){if(t.delete(o.name.value)&&(!e||!t.size))return Cn}}),e?!t.size:t.sizeObject.create(null),{forEach:G_,slice:sm}=Array.prototype,{hasOwnProperty:$_}=Object.prototype,Qt=class i{constructor(n=!0,e=W_){this.weakness=n,this.makeData=e}lookup(){return this.lookupArray(arguments)}lookupArray(n){let e=this;return G_.call(n,t=>e=e.getChildTrie(t)),$_.call(e,"data")?e.data:e.data=this.makeData(sm.call(n))}peek(){return this.peekArray(arguments)}peekArray(n){let e=this;for(let t=0,r=n.length;e&&t=0})||!1;function Ie(i){return i!==null&&typeof i=="object"}function Gc(i,n){var e=n,t=[];i.definitions.forEach(function(o){if(o.kind==="OperationDefinition")throw Be(74,o.operation,o.name?" named '".concat(o.name.value,"'"):"");o.kind==="FragmentDefinition"&&t.push(o)}),typeof e>"u"&&(Y(t.length===1,75,t.length),e=t[0].name.value);var r=b(b({},i),{definitions:at([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:e}}]}}],i.definitions,!0)});return r}function Ii(i){i===void 0&&(i=[]);var n={};return i.forEach(function(e){n[e.name.value]=e}),n}function Si(i,n){switch(i.kind){case"InlineFragment":return i;case"FragmentSpread":{var e=i.name.value;if(typeof n=="function")return n(e);var t=n&&n[e];return Y(t,76,e),t||null}default:return null}}function X_(){}var $i=class{constructor(n=1/0,e=X_){this.max=n,this.dispose=e,this.map=new Map,this.newest=null,this.oldest=null}has(n){return this.map.has(n)}get(n){let e=this.getNode(n);return e&&e.value}get size(){return this.map.size}getNode(n){let e=this.map.get(n);if(e&&e!==this.newest){let{older:t,newer:r}=e;r&&(r.older=t),t&&(t.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e}set(n,e){let t=this.getNode(n);return t?t.value=e:(t={key:n,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=t),this.newest=t,this.oldest=this.oldest||t,this.map.set(n,t),t.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(n){let e=this.map.get(n);return e?(e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.map.delete(n),this.dispose(e.value,n),!0):!1}};function $c(){}var Z_=$c,J_=typeof WeakRef<"u"?WeakRef:function(i){return{deref:()=>i}},ey=typeof WeakMap<"u"?WeakMap:Map,ty=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:$c,unregister:$c}},iy=10024,vi=class{constructor(n=1/0,e=Z_){this.max=n,this.dispose=e,this.map=new ey,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let t=this.unfinalizedNodes.values();for(let r=0;r0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new ty(this.deleteNode.bind(this))}has(n){return this.map.has(n)}get(n){let e=this.getNode(n);return e&&e.value}getNode(n){let e=this.map.get(n);if(e&&e!==this.newest){let{older:t,newer:r}=e;r&&(r.older=t),t&&(t.newer=r),e.older=this.newest,e.older.newer=e,e.newer=null,this.newest=e,e===this.oldest&&(this.oldest=r)}return e}set(n,e){let t=this.getNode(n);return t?t.value=e:(t={key:n,value:e,newer:null,older:this.newest},this.newest&&(this.newest.newer=t),this.newest=t,this.oldest=this.oldest||t,this.scheduleFinalization(t),this.map.set(n,t),this.size++,t.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(n){n===this.newest&&(this.newest=n.older),n===this.oldest&&(this.oldest=n.newer),n.newer&&(n.newer.older=n.older),n.older&&(n.older.newer=n.newer),this.size--;let e=n.key||n.keyRef&&n.keyRef.deref();this.dispose(n.value,e),n.keyRef?this.registry.unregister(n):this.unfinalizedNodes.delete(n),e&&this.map.delete(e)}delete(n){let e=this.map.get(n);return e?(this.deleteNode(e),!0):!1}scheduleFinalization(n){this.unfinalizedNodes.add(n),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}};var Yc=new WeakSet;function cm(i){i.size<=(i.max||-1)||Yc.has(i)||(Yc.add(i),setTimeout(function(){i.clean(),Yc.delete(i)},100))}var pr=function(i,n){var e=new vi(i,n);return e.set=function(t,r){var o=vi.prototype.set.call(this,t,r);return cm(this),o},e},za=function(i,n){var e=new $i(i,n);return e.set=function(t,r){var o=$i.prototype.set.call(this,t,r);return cm(this),o},e};var ny=Symbol.for("apollo.cacheSize"),dt=b({},or[ny]);var kn={};function Ha(i,n){kn[i]=n}var lm=globalThis.__DEV__!==!1?oy:void 0,dm=globalThis.__DEV__!==!1?ay:void 0,um=globalThis.__DEV__!==!1?hm:void 0;function ry(){var i={parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4};return Object.fromEntries(Object.entries(i).map(function(n){var e=n[0],t=n[1];return[e,dt[e]||t]}))}function oy(){var i,n,e,t,r;if(globalThis.__DEV__===!1)throw new Error("only supported in development mode");return{limits:ry(),sizes:b({print:(i=kn.print)===null||i===void 0?void 0:i.call(kn),parser:(n=kn.parser)===null||n===void 0?void 0:n.call(kn),canonicalStringify:(e=kn.canonicalStringify)===null||e===void 0?void 0:e.call(kn),links:Xc(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:pm(this.queryManager.documentTransform)}},(r=(t=this.cache).getMemoryInternals)===null||r===void 0?void 0:r.call(t))}}function hm(){return{cache:{fragmentQueryDocuments:Yi(this.getFragmentDoc)}}}function ay(){var i=this.config.fragments;return b(b({},hm.apply(this)),{addTypenameDocumentTransform:pm(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:Yi(this.storeReader.executeSelectionSet),executeSubSelectedArray:Yi(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:Yi(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:Yi(i?.findFragmentSpreads),lookup:Yi(i?.lookup),transform:Yi(i?.transform)}})}function sy(i){return!!i&&"dirtyKey"in i}function Yi(i){return sy(i)?i.size:void 0}function mm(i){return i!=null}function pm(i){return Kc(i).map(function(n){return{cache:n}})}function Kc(i){return i?at(at([Yi(i?.performWork)],Kc(i?.left),!0),Kc(i?.right),!0).filter(mm):[]}function Xc(i){var n;return i?at(at([(n=i?.getMemoryInternals)===null||n===void 0?void 0:n.call(i)],Xc(i?.left),!0),Xc(i?.right),!0).filter(mm):[]}var Mt=Object.assign(function(n){return JSON.stringify(n,cy)},{reset:function(){fr=new za(dt.canonicalStringify||1e3)}});globalThis.__DEV__!==!1&&Ha("canonicalStringify",function(){return fr.size});var fr;Mt.reset();function cy(i,n){if(n&&typeof n=="object"){var e=Object.getPrototypeOf(n);if(e===Object.prototype||e===null){var t=Object.keys(n);if(t.every(ly))return n;var r=JSON.stringify(t),o=fr.get(r);if(!o){t.sort();var a=JSON.stringify(t);o=fr.get(a)||t,fr.set(r,o),fr.set(a,o)}var s=Object.create(e);return o.forEach(function(c){s[c]=n[c]}),s}}return n}function ly(i,n,e){return n===0||e[n-1]<=i}function Kt(i){return{__ref:String(i)}}function ke(i){return!!(i&&typeof i=="object"&&typeof i.__ref=="string")}function Zc(i){return Ie(i)&&i.kind==="Document"&&Array.isArray(i.definitions)}function dy(i){return i.kind==="StringValue"}function uy(i){return i.kind==="BooleanValue"}function hy(i){return i.kind==="IntValue"}function my(i){return i.kind==="FloatValue"}function py(i){return i.kind==="Variable"}function fy(i){return i.kind==="ObjectValue"}function gy(i){return i.kind==="ListValue"}function by(i){return i.kind==="EnumValue"}function vy(i){return i.kind==="NullValue"}function Ki(i,n,e,t){if(hy(e)||my(e))i[n.value]=Number(e.value);else if(uy(e)||dy(e))i[n.value]=e.value;else if(fy(e)){var r={};e.fields.map(function(a){return Ki(r,a.name,a.value,t)}),i[n.value]=r}else if(py(e)){var o=(t||{})[e.name.value];i[n.value]=o}else if(gy(e))i[n.value]=e.values.map(function(a){var s={};return Ki(s,n,a,t),s[n.value]});else if(by(e))i[n.value]=e.value;else if(vy(e))i[n.value]=null;else throw Be(85,n.value,e.kind)}function Jc(i,n){var e=null;i.directives&&(e={},i.directives.forEach(function(r){e[r.name.value]={},r.arguments&&r.arguments.forEach(function(o){var a=o.name,s=o.value;return Ki(e[r.name.value],a,s,n)})}));var t=null;return i.arguments&&i.arguments.length&&(t={},i.arguments.forEach(function(r){var o=r.name,a=r.value;return Ki(t,o,a,n)})),Qa(i.name.value,t,e)}var _y=["connection","include","skip","client","rest","export","nonreactive"],lo=Mt,Qa=Object.assign(function(i,n,e){if(n&&e&&e.connection&&e.connection.key)if(e.connection.filter&&e.connection.filter.length>0){var t=e.connection.filter?e.connection.filter:[];t.sort();var r={};return t.forEach(function(s){r[s]=n[s]}),"".concat(e.connection.key,"(").concat(lo(r),")")}else return e.connection.key;var o=i;if(n){var a=lo(n);o+="(".concat(a,")")}return e&&Object.keys(e).forEach(function(s){_y.indexOf(s)===-1&&(e[s]&&Object.keys(e[s]).length?o+="@".concat(s,"(").concat(lo(e[s]),")"):o+="@".concat(s))}),o},{setStringify:function(i){var n=lo;return lo=i,n}});function Ti(i,n){if(i.arguments&&i.arguments.length){var e={};return i.arguments.forEach(function(t){var r=t.name,o=t.value;return Ki(e,r,o,n)}),e}return null}function jt(i){return i.alias?i.alias.value:i.name.value}function uo(i,n,e){for(var t,r=0,o=n.selections;rObject.create(null),{forEach:xy,slice:wy}=Array.prototype,{hasOwnProperty:Cy}=Object.prototype,Ua=class i{constructor(n=!0,e=yy){this.weakness=n,this.makeData=e}lookup(...n){return this.lookupArray(n)}lookupArray(n){let e=this;return xy.call(n,t=>e=e.getChildTrie(t)),Cy.call(e,"data")?e.data:e.data=this.makeData(wy.call(n))}peek(...n){return this.peekArray(n)}peekArray(n){let e=this;for(let t=0,r=n.length;e&&tclass{constructor(){this.id=["slot",ky++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let n=bt;n;n=n.parent)if(this.id in n.slots){let e=n.slots[this.id];if(e===gm)break;return n!==bt&&(bt.slots[this.id]=e),!0}return bt&&(bt.slots[this.id]=gm),!1}getValue(){if(this.hasValue())return bt.slots[this.id]}withValue(n,e,t,r){let o={__proto__:null,[this.id]:n},a=bt;bt={parent:a,slots:o};try{return e.apply(r,t)}finally{bt=a}}static bind(n){let e=bt;return function(){let t=bt;try{return bt=e,n.apply(this,arguments)}finally{bt=t}}}static noContext(n,e,t){if(bt){let r=bt;try{return bt=null,n.apply(t,e)}finally{bt=r}}else return n.apply(t,e)}};function bm(i){try{return i()}catch{}}var il="@wry/context:Slot",Ey=bm(()=>globalThis)||bm(()=>global)||Object.create(null),vm=Ey,En=vm[il]||Array[il]||function(i){try{Object.defineProperty(vm,il,{value:i,enumerable:!1,writable:!1,configurable:!0})}finally{return i}}(Dy());var{bind:_m,noContext:ym}=En;var In=new En;var{hasOwnProperty:xm}=Object.prototype,mo=Array.from||function(i){let n=[];return i.forEach(e=>n.push(e)),n};function br(i){let{unsubscribe:n}=i;typeof n=="function"&&(i.unsubscribe=void 0,n())}var po=[],Ty=100;function vr(i,n){if(!i)throw new Error(n||"assertion failure")}function Cm(i,n){let e=i.length;return e>0&&e===n.length&&i[e-1]===n[e-1]}function km(i){switch(i.length){case 0:throw new Error("unknown value");case 1:return i[0];case 2:throw i[1]}}function Dm(i){return i.slice(0)}var Em=(()=>{class i{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++i.count}peek(){if(this.value.length===1&&!Zi(this))return wm(this),this.value[0]}recompute(e){return vr(!this.recomputing,"already recomputing"),wm(this),Zi(this)?My(this,e):km(this.value)}setDirty(){this.dirty||(this.dirty=!0,Im(this),br(this))}dispose(){this.setDirty(),Om(this),nl(this,(e,t)=>{e.setDirty(),Rm(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=po.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(mo(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),po.push(this.deps),this.deps=null)}}return i.count=0,i})();function wm(i){let n=In.getValue();if(n)return i.parents.add(n),n.childValues.has(i)||n.childValues.set(i,[]),Zi(i)?Tm(n,i):Mm(n,i),n}function My(i,n){return Om(i),In.withValue(i,Ay,[i,n]),Ry(i,n)&&Oy(i),km(i.value)}function Ay(i,n){i.recomputing=!0;let{normalizeResult:e}=i,t;e&&i.value.length===1&&(t=Dm(i.value)),i.value.length=0;try{if(i.value[0]=i.fn.apply(null,n),e&&t&&!Cm(t,i.value))try{i.value[0]=e(i.value[0],t[0])}catch{}}catch(r){i.value[1]=r}i.recomputing=!1}function Zi(i){return i.dirty||!!(i.dirtyChildren&&i.dirtyChildren.size)}function Oy(i){i.dirty=!1,!Zi(i)&&Sm(i)}function Im(i){nl(i,Tm)}function Sm(i){nl(i,Mm)}function nl(i,n){let e=i.parents.size;if(e){let t=mo(i.parents);for(let r=0;r0&&i.childValues.forEach((n,e)=>{Rm(i,e)}),i.forgetDeps(),vr(i.dirtyChildren===null)}function Rm(i,n){n.parents.delete(i),i.childValues.delete(n),Am(i,n)}function Ry(i,n){if(typeof i.subscribe=="function")try{br(i),i.unsubscribe=i.subscribe.apply(null,n)}catch{return i.setDirty(),!1}return!0}var Fy={setDirty:!0,dispose:!0,forget:!0};function fo(i){let n=new Map,e=i&&i.subscribe;function t(r){let o=In.getValue();if(o){let a=n.get(r);a||n.set(r,a=new Set),o.dependOn(a),typeof e=="function"&&(br(a),a.unsubscribe=e(r))}}return t.dirty=function(o,a){let s=n.get(o);if(s){let c=a&&xm.call(Fy,a)?a:"setDirty";mo(s).forEach(l=>l[c]()),n.delete(o),br(s)}},t}var Fm;function Py(...i){return(Fm||(Fm=new Ua(typeof WeakMap=="function"))).lookupArray(i)}var rl=new Set;function Ai(i,{max:n=Math.pow(2,16),keyArgs:e,makeCacheKey:t=Py,normalizeResult:r,subscribe:o,cache:a=$i}=Object.create(null)){let s=typeof a=="function"?new a(n,m=>m.dispose()):a,c=function(){let m=t.apply(null,e?e.apply(null,arguments):arguments);if(m===void 0)return i.apply(null,arguments);let p=s.get(m);p||(s.set(m,p=new Em(i)),p.normalizeResult=r,p.subscribe=o,p.forget=()=>s.delete(m));let f=p.recompute(Array.prototype.slice.call(arguments));return s.set(m,p),rl.add(s),In.hasValue()||(rl.forEach(g=>g.clean()),rl.clear()),f};Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:n,keyArgs:e,makeCacheKey:t,normalizeResult:r,subscribe:o,cache:s});function l(m){let p=m&&s.get(m);p&&p.setDirty()}c.dirtyKey=l,c.dirty=function(){l(t.apply(null,arguments))};function d(m){let p=m&&s.get(m);if(p)return p.peek()}c.peekKey=d,c.peek=function(){return d(t.apply(null,arguments))};function h(m){return m?s.delete(m):!1}return c.forgetKey=h,c.forget=function(){return h(t.apply(null,arguments))},c.makeCacheKey=t,c.getKey=e?function(){return t.apply(null,e.apply(null,arguments))}:t,Object.freeze(c)}function Ny(i){return i}var _r=function(){function i(n,e){e===void 0&&(e=Object.create(null)),this.resultCache=Ba?new WeakSet:new Set,this.transform=n,e.getCacheKey&&(this.getCacheKey=e.getCacheKey),this.cached=e.cache!==!1,this.resetCache()}return i.prototype.getCacheKey=function(n){return[n]},i.identity=function(){return new i(Ny,{cache:!1})},i.split=function(n,e,t){return t===void 0&&(t=i.identity()),Object.assign(new i(function(r){var o=n(r)?e:t;return o.transformDocument(r)},{cache:!1}),{left:e,right:t})},i.prototype.resetCache=function(){var n=this;if(this.cached){var e=new Qt(li);this.performWork=Ai(i.prototype.performWork.bind(this),{makeCacheKey:function(t){var r=n.getCacheKey(t);if(r)return Y(Array.isArray(r),69),e.lookupArray(r)},max:dt["documentTransform.cache"],cache:vi})}},i.prototype.performWork=function(n){return Xi(n),this.transform(n)},i.prototype.transformDocument=function(n){if(this.resultCache.has(n))return n;var e=this.performWork(n);return this.resultCache.add(e),e},i.prototype.concat=function(n){var e=this;return Object.assign(new i(function(t){return n.transformDocument(e.transformDocument(t))},{cache:!1}),{left:this,right:n})},i}();var go,Ji=Object.assign(function(i){var n=go.get(i);return n||(n=mr(i),go.set(i,n)),n},{reset:function(){go=new pr(dt.print||2e3)}});Ji.reset();globalThis.__DEV__!==!1&&Ha("print",function(){return go?go.size:0});var Ve=Array.isArray;function vt(i){return Array.isArray(i)&&i.length>0}var Pm={kind:G.FIELD,name:{kind:G.NAME,value:"__typename"}};function Lm(i,n){return!i||i.selectionSet.selections.every(function(e){return e.kind===G.FRAGMENT_SPREAD&&Lm(n[e.name.value],n)})}function Ly(i){return Lm(_i(i)||tl(i),Ii(Mi(i)))?null:i}function jy(i){var n=new Map,e=new Map;return i.forEach(function(t){t&&(t.name?n.set(t.name,t):t.test&&e.set(t.test,t))}),function(t){var r=n.get(t.name.value);return!r&&e.size&&e.forEach(function(o,a){a(t)&&(r=o)}),r}}function Nm(i){var n=new Map;return function(t){t===void 0&&(t=i);var r=n.get(t);return r||n.set(t,r={variables:new Set,fragmentSpreads:new Set}),r}}function qa(i,n){Xi(n);for(var e=Nm(""),t=Nm(""),r=function(v){for(var M=0,y=void 0;M=0;--a)n.definitions[a].kind===G.OPERATION_DEFINITION&&++o;var s=jy(i),c=function(v){return vt(v)&&v.map(s).some(function(M){return M&&M.remove})},l=new Map,d=!1,h={enter:function(v){if(c(v.directives))return d=!0,null}},m=wt(n,{Field:h,InlineFragment:h,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(v,M,y,q,U){var J=r(U);J&&J.variables.add(v.name.value)}},FragmentSpread:{enter:function(v,M,y,q,U){if(c(v.directives))return d=!0,null;var J=r(U);J&&J.fragmentSpreads.add(v.name.value)}},FragmentDefinition:{enter:function(v,M,y,q){l.set(JSON.stringify(q),v)},leave:function(v,M,y,q){var U=l.get(JSON.stringify(q));if(v===U)return v;if(o>0&&v.selectionSet.selections.every(function(J){return J.kind===G.FIELD&&J.name.value==="__typename"}))return t(v.name.value).removed=!0,d=!0,null}},Directive:{leave:function(v){if(s(v))return d=!0,null}}});if(!d)return n;var p=function(v){return v.transitiveVars||(v.transitiveVars=new Set(v.variables),v.removed||v.fragmentSpreads.forEach(function(M){p(t(M)).transitiveVars.forEach(function(y){v.transitiveVars.add(y)})})),v},f=new Set;m.definitions.forEach(function(v){v.kind===G.OPERATION_DEFINITION?p(e(v.name&&v.name.value)).fragmentSpreads.forEach(function(M){f.add(M)}):v.kind===G.FRAGMENT_DEFINITION&&o===0&&!t(v.name.value).removed&&f.add(v.name.value)}),f.forEach(function(v){p(t(v)).fragmentSpreads.forEach(function(M){f.add(M)})});var g=function(v){return!!(!f.has(v)||t(v).removed)},_={enter:function(v){if(g(v.name.value))return null}};return Ly(wt(m,{FragmentSpread:_,FragmentDefinition:_,OperationDefinition:{leave:function(v){if(v.variableDefinitions){var M=p(e(v.name&&v.name.value)).transitiveVars;if(M.size1)for(var t=new Vt,r=1;r=i.length?{done:!0}:{done:!1,value:i[t++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hy(i,n){if(i){if(typeof i=="string")return jm(i,n);var e=Object.prototype.toString.call(i).slice(8,-1);if(e==="Object"&&i.constructor&&(e=i.constructor.name),e==="Map"||e==="Set")return Array.from(i);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return jm(i,n)}}function jm(i,n){(n==null||n>i.length)&&(n=i.length);for(var e=0,t=new Array(n);e1,s=!1,c=arguments[1],l=c;return new o(function(d){return r.subscribe({next:function(h){var m=!s;if(s=!0,!m||a)try{l=t(l,h)}catch(p){return d.error(p)}else l=h},error:function(h){d.error(h)},complete:function(){if(!s&&!a)return d.error(new TypeError("Cannot reduce an empty sequence"));d.next(l),d.complete()}})})},n.concat=function(){for(var t=this,r=arguments.length,o=new Array(r),a=0;a=0&&s.splice(m,1),l()}});s.push(h)},error:function(d){a.error(d)},complete:function(){l()}});function l(){c.closed&&s.length===0&&a.complete()}return function(){s.forEach(function(d){return d.unsubscribe()}),c.unsubscribe()}})},n[cl]=function(){return this},i.from=function(t){var r=typeof this=="function"?this:i;if(t==null)throw new TypeError(t+" is not an object");var o=Ga(t,cl);if(o){var a=o.call(t);if(Object(a)!==a)throw new TypeError(a+" is not an object");return Uy(a)&&a.constructor===r?a:new r(function(s){return a.subscribe(s)})}if(hl("iterator")&&(o=Ga(t,Qy),o))return new r(function(s){Wa(function(){if(!s.closed){for(var c=zy(o.call(t)),l;!(l=c()).done;){var d=l.value;if(s.next(d),s.closed)return}s.complete()}})});if(Array.isArray(t))return new r(function(s){Wa(function(){if(!s.closed){for(var c=0;c=0;--s){var c=a[s],l=!isNaN(+c),d=l?[]:{};d[c]=o,o=d}e=t.merge(e,o)}),e}function wr(i){var n=Za(i);return vt(n)}function Za(i){var n=vt(i.errors)?i.errors.slice(0):[];return en(i)&&vt(i.incremental)&&i.incremental.forEach(function(e){e.errors&&n.push.apply(n,e.errors)}),n}function yi(){for(var i=[],n=0;n-1;){if(_=void 0,be=[s.slice(0,g),s.slice(g+a.length)],_=be[0],s=be[1],v=_.indexOf(`\r -\r -`),M=o0(_.slice(0,v)),y=M["content-type"],y&&y.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(q=_.slice(v),q){if(U=Jm(i,q),Object.keys(U).length>1||"data"in U||"incremental"in U||"errors"in U||"payload"in U)if(Gm(U)){if(J={},"payload"in U){if(Object.keys(U).length===1&&U.payload===null)return[2];J=b({},U.payload)}"errors"in U&&(J=b(b({},J),{extensions:b(b({},"extensions"in J?J.extensions:null),(_e={},_e[Co]=U.errors,_e))})),n(J)}else n(U);else if(Object.keys(U).length===1&&"hasNext"in U&&!U.hasNext)return[2]}g=s.indexOf(a)}return[3,1];case 3:return[2]}})})}function o0(i){var n={};return i.split(` -`).forEach(function(e){var t=e.indexOf(":");if(t>-1){var r=e.slice(0,t).trim().toLowerCase(),o=e.slice(t+1).trim();n[r]=o}}),n}function Jm(i,n){if(i.status>=300){var e=function(){try{return JSON.parse(n)}catch{return n}};Ja(i,e(),"Response not successful: Received status code ".concat(i.status))}try{return JSON.parse(n)}catch(r){var t=r;throw t.name="ServerParseError",t.response=i,t.statusCode=i.status,t.bodyText=n,t}}function ep(i,n){i.result&&i.result.errors&&i.result.data&&n.next(i.result),n.error(i)}function tp(i){return function(n){return n.text().then(function(e){return Jm(n,e)}).then(function(e){return!Array.isArray(e)&&!Xm.call(e,"data")&&!Xm.call(e,"errors")&&Ja(n,e,"Server response was missing for query '".concat(Array.isArray(i)?i.map(function(t){return t.operationName}):i.operationName,"'.")),e})}}var ko=function(i,n){var e;try{e=JSON.stringify(i)}catch(r){var t=Be(40,n,r.message);throw t.parseError=r,t}return e};var a0={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},s0={accept:"*/*","content-type":"application/json"},c0={method:"POST"},ip={http:a0,headers:s0,options:c0},np=function(i,n){return n(i)};function rp(i,n){for(var e=[],t=2;t"u")throw Be(38)};var ap=function(i,n){var e=i.getContext(),t=e.uri;return t||(typeof n=="function"?n(i):n||"/graphql")};function sp(i,n){var e=[],t=function(h,m){e.push("".concat(h,"=").concat(encodeURIComponent(m)))};if("query"in n&&t("query",n.query),n.operationName&&t("operationName",n.operationName),n.variables){var r=void 0;try{r=ko(n.variables,"Variables map")}catch(h){return{parseError:h}}t("variables",r)}if(n.extensions){var o=void 0;try{o=ko(n.extensions,"Extensions map")}catch(h){return{parseError:h}}t("extensions",o)}var a="",s=i,c=i.indexOf("#");c!==-1&&(a=i.substr(c),s=i.substr(0,c));var l=s.indexOf("?")===-1?"?":"&",d=s+l+e.join("&")+a;return{newURI:d}}var cp=xt(function(){return fetch}),lp=function(i){i===void 0&&(i={});var n=i.uri,e=n===void 0?"/graphql":n,t=i.fetch,r=i.print,o=r===void 0?np:r,a=i.includeExtensions,s=i.preserveHeaderCase,c=i.useGETForQueries,l=i.includeUnusedVariables,d=l===void 0?!1:l,h=Pt(i,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&op(t||cp);var m={http:{includeExtensions:a,preserveHeaderCase:s},options:h.fetchOptions,credentials:h.credentials,headers:h.headers};return new Xt(function(p){var f=ap(p,e),g=p.getContext(),_={};if(g.clientAwareness){var v=g.clientAwareness,M=v.name,y=v.version;M&&(_["apollographql-client-name"]=M),y&&(_["apollographql-client-version"]=y)}var q=b(b({},_),g.headers),U={http:g.http,options:g.fetchOptions,credentials:g.credentials,headers:q};if(Ei(["client"],p.query)){var J=bo(p.query);if(!J)return xo(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));p.query=J}var be=rp(p,o,ip,m,U),_e=be.options,ze=be.body;ze.variables&&!d&&(ze.variables=_l(ze.variables,p.query));var et;!_e.signal&&typeof AbortController<"u"&&(et=new AbortController,_e.signal=et.signal);var Wn=function(qt){return qt.kind==="OperationDefinition"&&qt.operation==="mutation"},Gn=function(qt){return qt.kind==="OperationDefinition"&&qt.operation==="subscription"},_t=Gn(di(p.query)),ji=Ei(["defer"],p.query);if(c&&!p.query.definitions.some(Wn)&&(_e.method="GET"),ji||_t){_e.headers=_e.headers||{};var ec="multipart/mixed;";_t&&ji&&globalThis.__DEV__!==!1&&Y.warn(39),_t?ec+="boundary=graphql;subscriptionSpec=1.0,application/json":ji&&(ec+="deferSpec=20220824,application/json"),_e.headers.accept=ec}if(_e.method==="GET"){var hu=sp(f,ze),$b=hu.newURI,mu=hu.parseError;if(mu)return xo(mu);f=$b}else try{_e.body=ko(ze,"Payload")}catch(qt){return xo(qt)}return new we(function(qt){var Yb=t||xt(function(){return fetch})||cp,pu=qt.next.bind(qt);return Yb(f,_e).then(function($n){var tc;p.setContext({response:$n});var fu=(tc=$n.headers)===null||tc===void 0?void 0:tc.get("content-type");return fu!==null&&/^multipart\/mixed/i.test(fu)?Zm($n,pu):tp(p)($n).then(pu)}).then(function(){et=void 0,qt.complete()}).catch(function($n){et=void 0,ep($n,qt)}),function(){et&&et.abort()}})})};var Cl=function(i){mt(n,i);function n(e){e===void 0&&(e={});var t=i.call(this,lp(e).request)||this;return t.options=e,t}return n}(Xt);var{toString:dp,hasOwnProperty:d0}=Object.prototype,up=Function.prototype.toString,kl=new Map;function Ne(i,n){try{return Dl(i,n)}finally{kl.clear()}}var El=Ne;function Dl(i,n){if(i===n)return!0;let e=dp.call(i),t=dp.call(n);if(e!==t)return!1;switch(e){case"[object Array]":if(i.length!==n.length)return!1;case"[object Object]":{if(mp(i,n))return!0;let r=hp(i),o=hp(n),a=r.length;if(a!==o.length)return!1;for(let s=0;s=0&&i.indexOf(n,e)===e}function mp(i,n){let e=kl.get(i);if(e){if(e.has(n))return!0}else kl.set(i,e=new Set);return e.add(n),!1}function rs(i,n,e,t){var r=n.data,o=Pt(n,["data"]),a=e.data,s=Pt(e,["data"]);return El(o,s)&&ns(di(i).selectionSet,r,a,{fragmentMap:Ii(Mi(i)),variables:t})}function ns(i,n,e,t){if(n===e)return!0;var r=new Set;return i.selections.every(function(o){if(r.has(o)||(r.add(o),!ci(o,t.variables))||pp(o))return!0;if(At(o)){var a=jt(o),s=n&&n[a],c=e&&e[a],l=o.selectionSet;if(!l)return El(s,c);var d=Array.isArray(s),h=Array.isArray(c);if(d!==h)return!1;if(d&&h){var m=s.length;if(c.length!==m)return!1;for(var p=0;p"u"||typeof o=="string"?o:this.identify(o),query:l,optimistic:s}),h;return new we(function(m){return e.watch(b(b({},d),{immediate:!0,callback:function(p){if(!(h&&rs(l,{data:h?.result},{data:p.result}))){var f={data:p.result,complete:!!p.complete};p.missing&&(f.missing=Tn(p.missing.map(function(g){return g.missing}))),h=p,m.next(f)}}}))})},i.prototype.readFragment=function(n,e){return e===void 0&&(e=!!n.optimistic),this.read(b(b({},n),{query:this.getFragmentDoc(n.fragment,n.fragmentName),rootId:n.id,optimistic:e}))},i.prototype.writeQuery=function(n){var e=n.id,t=n.data,r=Pt(n,["id","data"]);return this.write(Object.assign(r,{dataId:e||"ROOT_QUERY",result:t}))},i.prototype.writeFragment=function(n){var e=n.id,t=n.data,r=n.fragment,o=n.fragmentName,a=Pt(n,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(r,o),dataId:e,result:t}))},i.prototype.updateQuery=function(n,e){return this.batch({update:function(t){var r=t.readQuery(n),o=e(r);return o==null?r:(t.writeQuery(b(b({},n),{data:o})),o)}})},i.prototype.updateFragment=function(n,e){return this.batch({update:function(t){var r=t.readFragment(n),o=e(r);return o==null?r:(t.writeFragment(b(b({},n),{data:o})),o)}})},i}();globalThis.__DEV__!==!1&&(os.prototype.getMemoryInternals=um);var Do=function(i){mt(n,i);function n(e,t,r,o){var a,s=i.call(this,e)||this;if(s.message=e,s.path=t,s.query=r,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=(a={},a[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=n.prototype,s}return n}(Error);var it=Object.prototype.hasOwnProperty;function Eo(i){return i==null}function ss(i,n){var e=i.__typename,t=i.id,r=i._id;if(typeof e=="string"&&(n&&(n.keyObject=Eo(t)?Eo(r)?void 0:{_id:r}:{id:t}),Eo(t)&&!Eo(r)&&(t=r),!Eo(t)))return"".concat(e,":").concat(typeof t=="number"||typeof t=="string"?t:JSON.stringify(t))}var fp={dataIdFromObject:ss,addTypename:!0,resultCaching:!0,canonizeResults:!1};function gp(i){return yi(fp,i)}function cs(i){var n=i.canonizeResults;return n===void 0?fp.canonizeResults:n}function bp(i,n){return ke(n)?i.get(n.__ref,"__typename"):n&&n.__typename}var Il=/^[_a-z][_0-9a-z]*/i;function ui(i){var n=i.match(Il);return n?n[0]:i}function as(i,n,e){return Ie(n)?Ve(n)?n.every(function(t){return as(i,t,e)}):i.selections.every(function(t){if(At(t)&&ci(t,e)){var r=jt(t);return it.call(n,r)&&(!t.selectionSet||as(t.selectionSet,n[r],e))}return!0}):!1}function tn(i){return Ie(i)&&!ke(i)&&!Ve(i)}function vp(){return new Vt}function ls(i,n){var e=Ii(Mi(i));return{fragmentMap:e,lookupFragment:function(t){var r=e[t];return!r&&n&&(r=n.lookup(t)),r||null}}}var ds=Object.create(null),Sl=function(){return ds},_p=Object.create(null),kr=function(){function i(n,e){var t=this;this.policies=n,this.group=e,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(r,o){return _o(ke(r)?t.get(r.__ref,o):r&&r[o])},this.canRead=function(r){return ke(r)?t.has(r.__ref):typeof r=="object"},this.toReference=function(r,o){if(typeof r=="string")return Kt(r);if(ke(r))return r;var a=t.policies.identify(r)[0];if(a){var s=Kt(a);return o&&t.merge(a,r),s}}}return i.prototype.toObject=function(){return b({},this.data)},i.prototype.has=function(n){return this.lookup(n,!0)!==void 0},i.prototype.get=function(n,e){if(this.group.depend(n,e),it.call(this.data,n)){var t=this.data[n];if(t&&it.call(t,e))return t[e]}if(e==="__typename"&&it.call(this.policies.rootTypenamesById,n))return this.policies.rootTypenamesById[n];if(this instanceof nn)return this.parent.get(n,e)},i.prototype.lookup=function(n,e){if(e&&this.group.depend(n,"__exists"),it.call(this.data,n))return this.data[n];if(this instanceof nn)return this.parent.lookup(n,e);if(this.policies.rootTypenamesById[n])return Object.create(null)},i.prototype.merge=function(n,e){var t=this,r;ke(n)&&(n=n.__ref),ke(e)&&(e=e.__ref);var o=typeof n=="string"?this.lookup(r=n):n,a=typeof e=="string"?this.lookup(r=e):e;if(a){Y(typeof r=="string",1);var s=new Vt(g0).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(a).forEach(function(l){if(!o||o[l]!==s[l]){c[l]=1;var d=ui(l);d!==l&&!t.policies.hasKeyArgs(s.__typename,d)&&(c[d]=1),s[l]===void 0&&!(t instanceof nn)&&delete s[l]}}),c.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete c.__typename,Object.keys(c).forEach(function(l){return t.group.dirty(r,l)})}}},i.prototype.modify=function(n,e){var t=this,r=this.lookup(n);if(r){var o=Object.create(null),a=!1,s=!0,c={DELETE:ds,INVALIDATE:_p,isReference:ke,toReference:this.toReference,canRead:this.canRead,readField:function(l,d){return t.policies.readField(typeof l=="string"?{fieldName:l,from:d||Kt(n)}:l,{store:t})}};if(Object.keys(r).forEach(function(l){var d=ui(l),h=r[l];if(h!==void 0){var m=typeof e=="function"?e:e[l]||e[d];if(m){var p=m===Sl?ds:m(_o(h),b(b({},c),{fieldName:d,storeFieldName:l,storage:t.getStorage(n,l)}));if(p===_p)t.group.dirty(n,l);else if(p===ds&&(p=void 0),p!==h&&(o[l]=p,a=!0,h=p,globalThis.__DEV__!==!1)){var f=function(U){if(t.lookup(U.__ref)===void 0)return globalThis.__DEV__!==!1&&Y.warn(2,U),!0};if(ke(p))f(p);else if(Array.isArray(p))for(var g=!1,_=void 0,v=0,M=p;v0){var e=--this.rootIds[n];return e||delete this.rootIds[n],e}return 0},i.prototype.getRootIdSet=function(n){return n===void 0&&(n=new Set),Object.keys(this.rootIds).forEach(n.add,n),this instanceof nn?this.parent.getRootIdSet(n):Object.keys(this.policies.rootTypenamesById).forEach(n.add,n),n},i.prototype.gc=function(){var n=this,e=this.getRootIdSet(),t=this.toObject();e.forEach(function(a){it.call(t,a)&&(Object.keys(n.findChildRefIds(a)).forEach(e.add,e),delete t[a])});var r=Object.keys(t);if(r.length){for(var o=this;o instanceof nn;)o=o.parent;r.forEach(function(a){return o.delete(a)})}return r},i.prototype.findChildRefIds=function(n){if(!it.call(this.refs,n)){var e=this.refs[n]=Object.create(null),t=this.data[n];if(!t)return e;var r=new Set([t]);r.forEach(function(o){ke(o)&&(e[o.__ref]=!0),Ie(o)&&Object.keys(o).forEach(function(a){var s=o[a];Ie(s)&&r.add(s)})})}return this.refs[n]},i.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},i}();var yp=function(){function i(n,e){e===void 0&&(e=null),this.caching=n,this.parent=e,this.d=null,this.resetCaching()}return i.prototype.resetCaching=function(){this.d=this.caching?fo():null,this.keyMaker=new Qt(li)},i.prototype.depend=function(n,e){if(this.d){this.d(Tl(n,e));var t=ui(e);t!==e&&this.d(Tl(n,t)),this.parent&&this.parent.depend(n,e)}},i.prototype.dirty=function(n,e){this.d&&this.d.dirty(Tl(n,e),e==="__exists"?"forget":"setDirty")},i}();function Tl(i,n){return n+"#"+i}function Ml(i,n){On(i)&&i.group.depend(n,"__exists")}(function(i){var n=function(e){mt(t,e);function t(r){var o=r.policies,a=r.resultCaching,s=a===void 0?!0:a,c=r.seed,l=e.call(this,o,new yp(s))||this;return l.stump=new f0(l),l.storageTrie=new Qt(li),c&&l.replace(c),l}return t.prototype.addLayer=function(r,o){return this.stump.addLayer(r,o)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(i);i.Root=n})(kr||(kr={}));var nn=function(i){mt(n,i);function n(e,t,r,o){var a=i.call(this,t.policies,o)||this;return a.id=e,a.parent=t,a.replay=r,a.group=o,r(a),a}return n.prototype.addLayer=function(e,t){return new n(e,this,t,this.group)},n.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(o){var a=t.data[o],s=r.lookup(o);s?a?a!==s&&Object.keys(a).forEach(function(c){Ne(a[c],s[c])||t.group.dirty(o,c)}):(t.group.dirty(o,"__exists"),Object.keys(s).forEach(function(c){t.group.dirty(o,c)})):t.delete(o)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},n.prototype.toObject=function(){return b(b({},this.parent.toObject()),this.data)},n.prototype.findChildRefIds=function(e){var t=this.parent.findChildRefIds(e);return it.call(this.data,e)?b(b({},t),i.prototype.findChildRefIds.call(this,e)):t},n.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},n}(kr),f0=function(i){mt(n,i);function n(e){return i.call(this,"EntityStore.Stump",e,function(){},new yp(e.group.caching,e.group))||this}return n.prototype.removeLayer=function(){return this},n.prototype.merge=function(e,t){return this.parent.merge(e,t)},n}(nn);function g0(i,n,e){var t=i[e],r=n[e];return Ne(t,r)?t:r}function On(i){return!!(i instanceof kr&&i.group.caching)}function b0(i){return Ie(i)?Ve(i)?i.slice(0):b({__proto__:Object.getPrototypeOf(i)},i):i}var Al=function(){function i(){this.known=new(Ba?WeakSet:Set),this.pool=new Qt(li),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return i.prototype.isKnown=function(n){return Ie(n)&&this.known.has(n)},i.prototype.pass=function(n){if(Ie(n)){var e=b0(n);return this.passes.set(e,n),e}return n},i.prototype.admit=function(n){var e=this;if(Ie(n)){var t=this.passes.get(n);if(t)return t;var r=Object.getPrototypeOf(n);switch(r){case Array.prototype:{if(this.known.has(n))return n;var o=n.map(this.admit,this),a=this.pool.lookupArray(o);return a.array||(this.known.add(a.array=o),globalThis.__DEV__!==!1&&Object.freeze(o)),a.array}case null:case Object.prototype:{if(this.known.has(n))return n;var s=Object.getPrototypeOf(n),c=[s],l=this.sortedKeys(n);c.push(l.json);var d=c.length;l.sorted.forEach(function(p){c.push(e.admit(n[p]))});var a=this.pool.lookupArray(c);if(!a.object){var h=a.object=Object.create(s);this.known.add(h),l.sorted.forEach(function(p,f){h[p]=c[d+f]}),globalThis.__DEV__!==!1&&Object.freeze(h)}return a.object}}}return n},i.prototype.sortedKeys=function(n){var e=Object.keys(n),t=this.pool.lookupArray(e);if(!t.keys){e.sort();var r=JSON.stringify(e);(t.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,t.keys={sorted:e,json:r})}return t.keys},i}();function xp(i){return[i.selectionSet,i.objectOrReference,i.context,i.context.canonizeResults]}var wp=function(){function i(n){var e=this;this.knownResults=new(li?WeakMap:Map),this.config=yi(n,{addTypename:n.addTypename!==!1,canonizeResults:cs(n)}),this.canon=n.canon||new Al,this.executeSelectionSet=Ai(function(t){var r,o=t.context.canonizeResults,a=xp(t);a[3]=!o;var s=(r=e.executeSelectionSet).peek.apply(r,a);return s?o?b(b({},s),{result:e.canon.admit(s.result)}):s:(Ml(t.context.store,t.enclosingRef.__ref),e.execSelectionSetImpl(t))},{max:this.config.resultCacheMaxSize||dt["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:xp,makeCacheKey:function(t,r,o,a){if(On(o.store))return o.store.makeCacheKey(t,ke(r)?r.__ref:r,o.varString,a)}}),this.executeSubSelectedArray=Ai(function(t){return Ml(t.context.store,t.enclosingRef.__ref),e.execSubSelectedArrayImpl(t)},{max:this.config.resultCacheMaxSize||dt["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(t){var r=t.field,o=t.array,a=t.context;if(On(a.store))return a.store.makeCacheKey(r,o,a.varString)}})}return i.prototype.resetCanon=function(){this.canon=new Al},i.prototype.diffQueryAgainstStore=function(n){var e=n.store,t=n.query,r=n.rootId,o=r===void 0?"ROOT_QUERY":r,a=n.variables,s=n.returnPartialData,c=s===void 0?!0:s,l=n.canonizeResults,d=l===void 0?this.config.canonizeResults:l,h=this.config.cache.policies;a=b(b({},Dn(ho(t))),a);var m=Kt(o),p=this.executeSelectionSet({selectionSet:di(t).selectionSet,objectOrReference:m,enclosingRef:m,context:b({store:e,query:t,policies:h,variables:a,varString:Mt(a),canonizeResults:d},ls(t,this.config.fragments))}),f;if(p.missing&&(f=[new Do(v0(p.missing),p.missing,t,a)],!c))throw f[0];return{result:p.result,complete:!f,missing:f}},i.prototype.isFresh=function(n,e,t,r){if(On(r.store)&&this.knownResults.get(n)===t){var o=this.executeSelectionSet.peek(t,e,r,this.canon.isKnown(n));if(o&&n===o.result)return!0}return!1},i.prototype.execSelectionSetImpl=function(n){var e=this,t=n.selectionSet,r=n.objectOrReference,o=n.enclosingRef,a=n.context;if(ke(r)&&!a.policies.rootTypenamesById[r.__ref]&&!a.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var s=a.variables,c=a.policies,l=a.store,d=l.getFieldValue(r,"__typename"),h=[],m,p=new Vt;this.config.addTypename&&typeof d=="string"&&!c.rootIdsByTypename[d]&&h.push({__typename:d});function f(y,q){var U;return y.missing&&(m=p.merge(m,(U={},U[q]=y.missing,U))),y.result}var g=new Set(t.selections);g.forEach(function(y){var q,U;if(ci(y,s))if(At(y)){var J=c.readField({fieldName:y.name.value,field:y,variables:a.variables,from:r},a),be=jt(y);J===void 0?Sn.added(y)||(m=p.merge(m,(q={},q[be]="Can't find field '".concat(y.name.value,"' on ").concat(ke(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),q))):Ve(J)?J.length>0&&(J=f(e.executeSubSelectedArray({field:y,array:J,enclosingRef:o,context:a}),be)):y.selectionSet?J!=null&&(J=f(e.executeSelectionSet({selectionSet:y.selectionSet,objectOrReference:J,enclosingRef:ke(J)?J:o,context:a}),be)):a.canonizeResults&&(J=e.canon.pass(J)),J!==void 0&&h.push((U={},U[be]=J,U))}else{var _e=Si(y,a.lookupFragment);if(!_e&&y.kind===G.FRAGMENT_SPREAD)throw Be(9,y.name.value);_e&&c.fragmentMatches(_e,d)&&_e.selectionSet.selections.forEach(g.add,g)}});var _=Tn(h),v={result:_,missing:m},M=a.canonizeResults?this.canon.admit(v):_o(v);return M.result&&this.knownResults.set(M.result,t),M},i.prototype.execSubSelectedArrayImpl=function(n){var e=this,t=n.field,r=n.array,o=n.enclosingRef,a=n.context,s,c=new Vt;function l(d,h){var m;return d.missing&&(s=c.merge(s,(m={},m[h]=d.missing,m))),d.result}return t.selectionSet&&(r=r.filter(a.store.canRead)),r=r.map(function(d,h){return d===null?null:Ve(d)?l(e.executeSubSelectedArray({field:t,array:d,enclosingRef:o,context:a}),h):t.selectionSet?l(e.executeSelectionSet({selectionSet:t.selectionSet,objectOrReference:d,enclosingRef:ke(d)?d:o,context:a}),h):(globalThis.__DEV__!==!1&&_0(a.store,t,d),d)}),{result:a.canonizeResults?this.canon.admit(r):r,missing:s}},i}();function v0(i){try{JSON.stringify(i,function(n,e){if(typeof e=="string")throw e;return e})}catch(n){return n}}function _0(i,n,e){if(!n.selectionSet){var t=new Set([e]);t.forEach(function(r){Ie(r)&&(Y(!ke(r),10,bp(i,r),n.name.value),Object.values(r).forEach(t.add,t))})}}var Dr=new En,Cp=new WeakMap;function Io(i){var n=Cp.get(i);return n||Cp.set(i,n={vars:new Set,dep:fo()}),n}function Ol(i){Io(i).vars.forEach(function(n){return n.forgetCache(i)})}function kp(i){Io(i).vars.forEach(function(n){return n.attachCache(i)})}function us(i){var n=new Set,e=new Set,t=function(o){if(arguments.length>0){if(i!==o){i=o,n.forEach(function(c){Io(c).dep.dirty(t),y0(c)});var a=Array.from(e);e.clear(),a.forEach(function(c){return c(i)})}}else{var s=Dr.getValue();s&&(r(s),Io(s).dep(t))}return i};t.onNextChange=function(o){return e.add(o),function(){e.delete(o)}};var r=t.attachCache=function(o){return n.add(o),Io(o).vars.add(t),t};return t.forgetCache=function(o){return n.delete(o)},t}function y0(i){i.broadcastWatches&&i.broadcastWatches()}var Dp=Object.create(null);function Rl(i){var n=JSON.stringify(i);return Dp[n]||(Dp[n]=Object.create(null))}function Fl(i){var n=Rl(i);return n.keyFieldsFn||(n.keyFieldsFn=function(e,t){var r=function(a,s){return t.readField(s,a)},o=t.keyObject=Nl(i,function(a){var s=Er(t.storeObject,a,r);return s===void 0&&e!==t.storeObject&&it.call(e,a[0])&&(s=Er(e,a,Ip)),Y(s!==void 0,4,a.join("."),e),s});return"".concat(t.typename,":").concat(JSON.stringify(o))})}function Pl(i){var n=Rl(i);return n.keyArgsFn||(n.keyArgsFn=function(e,t){var r=t.field,o=t.variables,a=t.fieldName,s=Nl(i,function(l){var d=l[0],h=d.charAt(0);if(h==="@"){if(r&&vt(r.directives)){var m=d.slice(1),p=r.directives.find(function(v){return v.name.value===m}),f=p&&Ti(p,o);return f&&Er(f,l.slice(1))}return}if(h==="$"){var g=d.slice(1);if(o&&it.call(o,g)){var _=l.slice(0);return _[0]=g,Er(o,_)}return}if(e)return Er(e,l)}),c=JSON.stringify(s);return(e||c!=="{}")&&(a+=":"+c),a})}function Nl(i,n){var e=new Vt;return Ep(i).reduce(function(t,r){var o,a=n(r);if(a!==void 0){for(var s=r.length-1;s>=0;--s)a=(o={},o[r[s]]=a,o);t=e.merge(t,a)}return t},Object.create(null))}function Ep(i){var n=Rl(i);if(!n.paths){var e=n.paths=[],t=[];i.forEach(function(r,o){Ve(r)?(Ep(r).forEach(function(a){return e.push(t.concat(a))}),t.length=0):(t.push(r),Ve(i[o+1])||(e.push(t.slice(0)),t.length=0))})}return n.paths}function Ip(i,n){return i[n]}function Er(i,n,e){return e=e||Ip,Sp(n.reduce(function t(r,o){return Ve(r)?r.map(function(a){return t(a,o)}):r&&e(r,o)},i))}function Sp(i){return Ie(i)?Ve(i)?i.map(Sp):Nl(Object.keys(i).sort(),function(n){return Er(i,n)}):i}function Ll(i){return i.args!==void 0?i.args:i.field?Ti(i.field,i.variables):null}var x0=function(){},Tp=function(i,n){return n.fieldName},Mp=function(i,n,e){var t=e.mergeObjects;return t(i,n)},Ap=function(i,n){return n},Rp=function(){function i(n){this.config=n,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=b({dataIdFromObject:ss},n),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),n.possibleTypes&&this.addPossibleTypes(n.possibleTypes),n.typePolicies&&this.addTypePolicies(n.typePolicies)}return i.prototype.identify=function(n,e){var t,r=this,o=e&&(e.typename||((t=e.storeObject)===null||t===void 0?void 0:t.__typename))||n.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=e&&e.storeObject||n,s=b(b({},e),{typename:o,storeObject:a,readField:e&&e.readField||function(){var m=hs(arguments,a);return r.readField(m,{store:r.cache.data,variables:m.variables})}}),c,l=o&&this.getTypePolicy(o),d=l&&l.keyFn||this.config.dataIdFromObject;d;){var h=d(b(b({},n),a),s);if(Ve(h))d=Fl(h);else{c=h;break}}return c=c?String(c):void 0,s.keyObject?[c,s.keyObject]:[c]},i.prototype.addTypePolicies=function(n){var e=this;Object.keys(n).forEach(function(t){var r=n[t],o=r.queryType,a=r.mutationType,s=r.subscriptionType,c=Pt(r,["queryType","mutationType","subscriptionType"]);o&&e.setRootTypename("Query",t),a&&e.setRootTypename("Mutation",t),s&&e.setRootTypename("Subscription",t),it.call(e.toBeAdded,t)?e.toBeAdded[t].push(c):e.toBeAdded[t]=[c]})},i.prototype.updateTypePolicy=function(n,e){var t=this,r=this.getTypePolicy(n),o=e.keyFields,a=e.fields;function s(c,l){c.merge=typeof l=="function"?l:l===!0?Mp:l===!1?Ap:c.merge}s(r,e.merge),r.keyFn=o===!1?x0:Ve(o)?Fl(o):typeof o=="function"?o:r.keyFn,a&&Object.keys(a).forEach(function(c){var l=t.getFieldPolicy(n,c,!0),d=a[c];if(typeof d=="function")l.read=d;else{var h=d.keyArgs,m=d.read,p=d.merge;l.keyFn=h===!1?Tp:Ve(h)?Pl(h):typeof h=="function"?h:l.keyFn,typeof m=="function"&&(l.read=m),s(l,p)}l.read&&l.merge&&(l.keyFn=l.keyFn||Tp)})},i.prototype.setRootTypename=function(n,e){e===void 0&&(e=n);var t="ROOT_"+n.toUpperCase(),r=this.rootTypenamesById[t];e!==r&&(Y(!r||r===n,5,n),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[e]=t,this.rootTypenamesById[t]=e)},i.prototype.addPossibleTypes=function(n){var e=this;this.usingPossibleTypes=!0,Object.keys(n).forEach(function(t){e.getSupertypeSet(t,!0),n[t].forEach(function(r){e.getSupertypeSet(r,!0).add(t);var o=r.match(Il);(!o||o[0]!==r)&&e.fuzzySubtypes.set(r,new RegExp(r))})})},i.prototype.getTypePolicy=function(n){var e=this;if(!it.call(this.typePolicies,n)){var t=this.typePolicies[n]=Object.create(null);t.fields=Object.create(null);var r=this.supertypeMap.get(n);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(n,!0),this.fuzzySubtypes.forEach(function(a,s){if(a.test(n)){var c=e.supertypeMap.get(s);c&&c.forEach(function(l){return r.add(l)})}})),r&&r.size&&r.forEach(function(a){var s=e.getTypePolicy(a),c=s.fields,l=Pt(s,["fields"]);Object.assign(t,l),Object.assign(t.fields,c)})}var o=this.toBeAdded[n];return o&&o.length&&o.splice(0).forEach(function(a){e.updateTypePolicy(n,a)}),this.typePolicies[n]},i.prototype.getFieldPolicy=function(n,e,t){if(n){var r=this.getTypePolicy(n).fields;return r[e]||t&&(r[e]=Object.create(null))}},i.prototype.getSupertypeSet=function(n,e){var t=this.supertypeMap.get(n);return!t&&e&&this.supertypeMap.set(n,t=new Set),t},i.prototype.fragmentMatches=function(n,e,t,r){var o=this;if(!n.typeCondition)return!0;if(!e)return!1;var a=n.typeCondition.name.value;if(e===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(e,!0),c=[s],l=function(f){var g=o.getSupertypeSet(f,!1);g&&g.size&&c.indexOf(g)<0&&c.push(g)},d=!!(t&&this.fuzzySubtypes.size),h=!1,m=0;m1?r:n}:(a=b({},t),it.call(a,"from")||(a.from=n)),globalThis.__DEV__!==!1&&a.from===void 0&&globalThis.__DEV__!==!1&&Y.warn(7,Ta(Array.from(i))),a.variables===void 0&&(a.variables=e),a}function Fp(i){return function(e,t){if(Ve(e)||Ve(t))throw Be(8);if(Ie(e)&&Ie(t)){var r=i.getFieldValue(e,"__typename"),o=i.getFieldValue(t,"__typename"),a=r&&o&&r!==o;if(a)return t;if(ke(e)&&tn(t))return i.merge(e.__ref,t),e;if(tn(e)&&ke(t))return i.merge(e,t.__ref),t;if(tn(e)&&tn(t))return b(b({},e),t)}return t}}function jl(i,n,e){var t="".concat(n).concat(e),r=i.flavors.get(t);return r||i.flavors.set(t,r=i.clientOnly===n&&i.deferred===e?i:b(b({},i),{clientOnly:n,deferred:e})),r}var jp=function(){function i(n,e,t){this.cache=n,this.reader=e,this.fragments=t}return i.prototype.writeToStore=function(n,e){var t=this,r=e.query,o=e.result,a=e.dataId,s=e.variables,c=e.overwrite,l=_i(r),d=vp();s=b(b({},Dn(l)),s);var h=b(b({store:n,written:Object.create(null),merge:function(p,f){return d.merge(p,f)},variables:s,varString:Mt(s)},ls(r,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),m=this.processSelectionSet({result:o||Object.create(null),dataId:a,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:h});if(!ke(m))throw Be(11,o);return h.incomingById.forEach(function(p,f){var g=p.storeObject,_=p.mergeTree,v=p.fieldNodeSet,M=Kt(f);if(_&&_.map.size){var y=t.applyMerges(_,M,g,h);if(ke(y))return;g=y}if(globalThis.__DEV__!==!1&&!h.overwrite){var q=Object.create(null);v.forEach(function(be){be.selectionSet&&(q[be.name.value]=!0)});var U=function(be){return q[ui(be)]===!0},J=function(be){var _e=_&&_.map.get(be);return!!(_e&&_e.info&&_e.info.merge)};Object.keys(g).forEach(function(be){U(be)&&!J(be)&&w0(M,g,be,h.store)})}n.merge(f,g)}),n.retain(m.__ref),m},i.prototype.processSelectionSet=function(n){var e=this,t=n.dataId,r=n.result,o=n.selectionSet,a=n.context,s=n.mergeTree,c=this.cache.policies,l=Object.create(null),d=t&&c.rootTypenamesById[t]||uo(r,o,a.fragmentMap)||t&&a.store.get(t,"__typename");typeof d=="string"&&(l.__typename=d);var h=function(){var y=hs(arguments,l,a.variables);if(ke(y.from)){var q=a.incomingById.get(y.from.__ref);if(q){var U=c.readField(b(b({},y),{from:q.storeObject}),a);if(U!==void 0)return U}}return c.readField(y,a)},m=new Set;this.flattenFields(o,r,a,d).forEach(function(y,q){var U,J=jt(q),be=r[J];if(m.add(q),be!==void 0){var _e=c.getStoreFieldName({typename:d,fieldName:q.name.value,field:q,variables:y.variables}),ze=Pp(s,_e),et=e.processFieldValue(be,q,q.selectionSet?jl(y,!1,!1):y,ze),Wn=void 0;q.selectionSet&&(ke(et)||tn(et))&&(Wn=h("__typename",et));var Gn=c.getMergeFunction(d,q.name.value,Wn);Gn?ze.info={field:q,typename:d,merge:Gn}:Np(s,_e),l=y.merge(l,(U={},U[_e]=et,U))}else globalThis.__DEV__!==!1&&!y.clientOnly&&!y.deferred&&!Sn.added(q)&&!c.getReadFunction(d,q.name.value)&&globalThis.__DEV__!==!1&&Y.error(12,jt(q),r)});try{var p=c.identify(r,{typename:d,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:l,readField:h}),f=p[0],g=p[1];t=t||f,g&&(l=a.merge(l,g))}catch(y){if(!t)throw y}if(typeof t=="string"){var _=Kt(t),v=a.written[t]||(a.written[t]=[]);if(v.indexOf(o)>=0||(v.push(o),this.reader&&this.reader.isFresh(r,_,o,a)))return _;var M=a.incomingById.get(t);return M?(M.storeObject=a.merge(M.storeObject,l),M.mergeTree=Vl(M.mergeTree,s),m.forEach(function(y){return M.fieldNodeSet.add(y)})):a.incomingById.set(t,{storeObject:l,mergeTree:ms(s)?void 0:s,fieldNodeSet:m}),_}return l},i.prototype.processFieldValue=function(n,e,t,r){var o=this;return!e.selectionSet||n===null?globalThis.__DEV__!==!1?$a(n):n:Ve(n)?n.map(function(a,s){var c=o.processFieldValue(a,e,t,Pp(r,s));return Np(r,s),c}):this.processSelectionSet({result:n,selectionSet:e.selectionSet,context:t,mergeTree:r})},i.prototype.flattenFields=function(n,e,t,r){r===void 0&&(r=uo(e,n,t.fragmentMap));var o=new Map,a=this.cache.policies,s=new Qt(!1);return function c(l,d){var h=s.lookup(l,d.clientOnly,d.deferred);h.visited||(h.visited=!0,l.selections.forEach(function(m){if(ci(m,t.variables)){var p=d.clientOnly,f=d.deferred;if(!(p&&f)&&vt(m.directives)&&m.directives.forEach(function(v){var M=v.name.value;if(M==="client"&&(p=!0),M==="defer"){var y=Ti(v,t.variables);(!y||y.if!==!1)&&(f=!0)}}),At(m)){var g=o.get(m);g&&(p=p&&g.clientOnly,f=f&&g.deferred),o.set(m,jl(t,p,f))}else{var _=Si(m,t.lookupFragment);if(!_&&m.kind===G.FRAGMENT_SPREAD)throw Be(13,m.name.value);_&&a.fragmentMatches(_,r,e,t.variables)&&c(_.selectionSet,jl(t,p,f))}}}))}(n,t),o},i.prototype.applyMerges=function(n,e,t,r,o){var a,s=this;if(n.map.size&&!ke(t)){var c=!Ve(t)&&(ke(e)||tn(e))?e:void 0,l=t;c&&!o&&(o=[ke(c)?c.__ref:c]);var d,h=function(m,p){return Ve(m)?typeof p=="number"?m[p]:void 0:r.store.getFieldValue(m,String(p))};n.map.forEach(function(m,p){var f=h(c,p),g=h(l,p);if(g!==void 0){o&&o.push(p);var _=s.applyMerges(m,f,g,r,o);_!==g&&(d=d||new Map,d.set(p,_)),o&&Y(o.pop()===p)}}),d&&(t=Ve(l)?l.slice(0):b({},l),d.forEach(function(m,p){t[p]=m}))}return n.info?this.cache.policies.runMergeFunction(e,t,n.info,r,o&&(a=r.store).getStorage.apply(a,o)):t},i}();var Vp=[];function Pp(i,n){var e=i.map;return e.has(n)||e.set(n,Vp.pop()||{map:new Map}),e.get(n)}function Vl(i,n){if(i===n||!n||ms(n))return i;if(!i||ms(i))return n;var e=i.info&&n.info?b(b({},i.info),n.info):i.info||n.info,t=i.map.size&&n.map.size,r=t?new Map:i.map.size?i.map:n.map,o={info:e,map:r};if(t){var a=new Set(n.map.keys());i.map.forEach(function(s,c){o.map.set(c,Vl(s,n.map.get(c))),a.delete(c)}),a.forEach(function(s){o.map.set(s,Vl(n.map.get(s),i.map.get(s)))})}return o}function ms(i){return!i||!(i.info||i.map.size)}function Np(i,n){var e=i.map,t=e.get(n);t&&ms(t)&&(Vp.push(t),e.delete(n))}var Lp=new Set;function w0(i,n,e,t){var r=function(h){var m=t.getFieldValue(h,e);return typeof m=="object"&&m},o=r(i);if(o){var a=r(n);if(a&&!ke(o)&&!Ne(o,a)&&!Object.keys(o).every(function(h){return t.getFieldValue(a,h)!==void 0})){var s=t.getFieldValue(i,"__typename")||t.getFieldValue(n,"__typename"),c=ui(e),l="".concat(s,".").concat(c);if(!Lp.has(l)){Lp.add(l);var d=[];!Ve(o)&&!Ve(a)&&[o,a].forEach(function(h){var m=t.getFieldValue(h,"__typename");typeof m=="string"&&!d.includes(m)&&d.push(m)}),globalThis.__DEV__!==!1&&Y.warn(14,c,s,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",l,b({},o),b({},a))}}}}var So=function(i){mt(n,i);function n(e){e===void 0&&(e={});var t=i.call(this)||this;return t.watches=new Set,t.addTypenameTransform=new _r(Sn),t.assumeImmutableResults=!0,t.makeVar=us,t.txCount=0,t.config=gp(e),t.addTypename=!!t.config.addTypename,t.policies=new Rp({cache:t,dataIdFromObject:t.config.dataIdFromObject,possibleTypes:t.config.possibleTypes,typePolicies:t.config.typePolicies}),t.init(),t}return n.prototype.init=function(){var e=this.data=new kr.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},n.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,o=this.config.fragments;this.storeWriter=new jp(this,this.storeReader=new wp({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:cs(this.config),canon:e?void 0:r&&r.canon,fragments:o}),o),this.maybeBroadcastWatch=Ai(function(a,s){return t.broadcastWatch(a,s)},{max:this.config.resultCacheMaxSize||dt["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(a){var s=a.optimistic?t.optimisticData:t.data;if(On(s)){var c=a.optimistic,l=a.id,d=a.variables;return s.makeCacheKey(a.query,a.callback,Mt({optimistic:c,id:l,variables:d}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(a){return a.resetCaching()})},n.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},n.prototype.extract=function(e){return e===void 0&&(e=!1),(e?this.optimisticData:this.data).extract()},n.prototype.read=function(e){var t=e.returnPartialData,r=t===void 0?!1:t;try{return this.storeReader.diffQueryAgainstStore(b(b({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(o){if(o instanceof Do)return null;throw o}},n.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}},n.prototype.modify=function(e){if(it.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}},n.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore(b(b({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},n.prototype.watch=function(e){var t=this;return this.watches.size||kp(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&Ol(t),t.maybeBroadcastWatch.forget(e)}},n.prototype.gc=function(e){var t;Mt.reset(),Ji.reset(),this.addTypenameTransform.resetCache(),(t=this.config.fragments)===null||t===void 0||t.resetCaches();var r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},n.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},n.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},n.prototype.identify=function(e){if(ke(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){globalThis.__DEV__!==!1&&Y.warn(t)}},n.prototype.evict=function(e){if(!e.id){if(it.call(e,"id"))return!1;e=b(b({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}},n.prototype.reset=function(e){var t=this;return this.init(),Mt.reset(),e&&e.discardWatches?(this.watches.forEach(function(r){return t.maybeBroadcastWatch.forget(r)}),this.watches.clear(),Ol(this)):this.broadcastWatches(),Promise.resolve()},n.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},n.prototype.batch=function(e){var t=this,r=e.update,o=e.optimistic,a=o===void 0?!0:o,s=e.removeOptimistic,c=e.onWatchUpdated,l,d=function(m){var p=t,f=p.data,g=p.optimisticData;++t.txCount,m&&(t.data=t.optimisticData=m);try{return l=r(t)}finally{--t.txCount,t.data=f,t.optimisticData=g}},h=new Set;return c&&!this.txCount&&this.broadcastWatches(b(b({},e),{onWatchUpdated:function(m){return h.add(m),!1}})),typeof a=="string"?this.optimisticData=this.optimisticData.addLayer(a,d):a===!1?d(this.data):d(),typeof s=="string"&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&h.size?(this.broadcastWatches(b(b({},e),{onWatchUpdated:function(m,p){var f=c.call(this,m,p);return f!==!1&&h.delete(m),f}})),h.size&&h.forEach(function(m){return t.maybeBroadcastWatch.dirty(m)})):this.broadcastWatches(e),l},n.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||t!==null})},n.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},n.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},n.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},n.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},n.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,o=this.diff(e);t&&(e.optimistic&&typeof t.optimistic=="string"&&(o.fromOptimisticTransaction=!0),t.onWatchUpdated&&t.onWatchUpdated.call(this,e,o,r)===!1)||(!r||!Ne(r.result,o.result))&&e.callback(e.lastDiff=o,r)},n}(os);globalThis.__DEV__!==!1&&(So.prototype.getMemoryInternals=dm);var Se=function(i){return i[i.loading=1]="loading",i[i.setVariables=2]="setVariables",i[i.fetchMore=3]="fetchMore",i[i.refetch=4]="refetch",i[i.poll=6]="poll",i[i.ready=7]="ready",i[i.error=8]="error",i}(Se||{});function rn(i){return i?i<7:!1}var Bp=Object.assign,C0=Object.hasOwnProperty,ps=function(i){mt(n,i);function n(e){var t=e.queryManager,r=e.queryInfo,o=e.options,a=i.call(this,function(_){try{var v=_._subscription._observer;v&&!v.error&&(v.error=k0)}catch{}var M=!a.observers.size;a.observers.add(_);var y=a.last;return y&&y.error?_.error&&_.error(y.error):y&&y.result&&_.next&&_.next(y.result),M&&a.reobserve().catch(function(){}),function(){a.observers.delete(_)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=r,a.queryManager=t,a.waitForOwnResult=Bl(o.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a);var s=t.defaultOptions.watchQuery,c=s===void 0?{}:s,l=c.fetchPolicy,d=l===void 0?"cache-first":l,h=o.fetchPolicy,m=h===void 0?d:h,p=o.initialFetchPolicy,f=p===void 0?m==="standby"?d:m:p;a.options=b(b({},o),{initialFetchPolicy:f,fetchPolicy:m}),a.queryId=r.queryId||t.generateQueryId();var g=_i(a.query);return a.queryName=g&&g.name&&g.name.value,a}return Object.defineProperty(n.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),n.prototype.result=function(){var e=this;return new Promise(function(t,r){var o={next:function(s){t(s),e.observers.delete(o),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){a.unsubscribe()},0)},error:r},a=e.subscribe(o)})},n.prototype.resetDiff=function(){this.queryInfo.resetDiff()},n.prototype.getCurrentResult=function(e){e===void 0&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||Se.ready,o=b(b({},t),{loading:rn(r),networkStatus:r}),a=this.options.fetchPolicy,s=a===void 0?"cache-first":a;if(!(Bl(s)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(o.data=c.result),Ne(o.data,{})&&(o.data=void 0),c.complete?(delete o.partial,c.complete&&o.networkStatus===Se.loading&&(s==="cache-first"||s==="cache-only")&&(o.networkStatus=Se.ready,o.loading=!1)):o.partial=!0,globalThis.__DEV__!==!1&&!c.complete&&!this.options.partialRefetch&&!o.loading&&!o.data&&!o.error&&Hl(c.missing)}return e&&this.updateLastResult(o),o},n.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!rs(this.query,this.last.result,e,this.variables):!Ne(this.last.result,e);return r||t&&!Ne(this.last.variables,t)},n.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||Ne(r.variables,this.variables)))return r[e]},n.prototype.getLastResult=function(e){return this.getLast("result",e)},n.prototype.getLastError=function(e){return this.getLast("error",e)},n.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},n.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},n.prototype.refetch=function(e){var t,r={pollInterval:0},o=this.options.fetchPolicy;if(o==="cache-and-network"?r.fetchPolicy=o:o==="no-cache"?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",globalThis.__DEV__!==!1&&e&&C0.call(e,"variables")){var a=ho(this.query),s=a.variableDefinitions;(!s||!s.some(function(c){return c.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&Y.warn(20,e,((t=a.name)===null||t===void 0?void 0:t.value)||a)}return e&&!Ne(this.options.variables,e)&&(r.variables=this.options.variables=b(b({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,Se.refetch)},n.prototype.fetchMore=function(e){var t=this,r=b(b({},e.query?e:b(b(b(b({},this.options),{query:this.options.query}),e),{variables:b(b({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var a=this.queryInfo,s=a.networkStatus;a.networkStatus=Se.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var c=new Set,l=e?.updateQuery,d=this.options.fetchPolicy!=="no-cache";return d||Y(l,21),this.queryManager.fetchQuery(o,r,Se.fetchMore).then(function(h){if(t.queryManager.removeQuery(o),a.networkStatus===Se.fetchMore&&(a.networkStatus=s),d)t.queryManager.cache.batch({update:function(f){var g=e.updateQuery;g?f.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(_){return g(_,{fetchMoreResult:h.data,variables:r.variables})}):f.writeQuery({query:r.query,variables:r.variables,data:h.data})},onWatchUpdated:function(f){c.add(f.query)}});else{var m=t.getLast("result"),p=l(m.data,{fetchMoreResult:h.data,variables:r.variables});t.reportResult(b(b({},m),{data:p}),t.variables)}return h}).finally(function(){d&&!c.has(t.query)&&zl(t)})},n.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(o){var a=e.updateQuery;a&&t.updateQuery(function(s,c){var l=c.variables;return a(s,{subscriptionData:o,variables:l})})},error:function(o){if(e.onError){e.onError(o);return}globalThis.__DEV__!==!1&&Y.error(22,o)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},n.prototype.setOptions=function(e){return this.reobserve(e)},n.prototype.silentSetOptions=function(e){var t=yi(this.options,e||{});Bp(this.options,t)},n.prototype.setVariables=function(e){return Ne(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},Se.setVariables):Promise.resolve())},n.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,o=e(r,{variables:this.variables});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},n.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},n.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},n.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,o=r===void 0?"cache-first":r,a=t.initialFetchPolicy,s=a===void 0?o:a;o==="standby"||(typeof t.nextFetchPolicy=="function"?t.fetchPolicy=t.nextFetchPolicy(o,{reason:e,options:t,observable:this,initialFetchPolicy:s}):e==="variables-changed"?t.fetchPolicy=s:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},n.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},n.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this,r=t.pollingInfo,o=t.options.pollInterval;if(!o||!this.hasObservers()){r&&(clearTimeout(r.timeout),delete this.pollingInfo);return}if(!(r&&r.interval===o)){Y(o,23);var a=r||(this.pollingInfo={});a.interval=o;var s=function(){var l,d;e.pollingInfo&&(!rn(e.queryInfo.networkStatus)&&!(!((d=(l=e.options).skipPollAttempt)===null||d===void 0)&&d.call(l))?e.reobserve({fetchPolicy:e.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},Se.poll).then(c,c):c())},c=function(){var l=e.pollingInfo;l&&(clearTimeout(l.timeout),l.timeout=setTimeout(s,l.interval))};c()}}},n.prototype.updateLastResult=function(e,t){t===void 0&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!Ne(t,this.last.variables)&&(r=void 0),this.last=b({result:this.queryManager.assumeImmutableResults?e:$a(e),variables:t},r?{error:r}:null)},n.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var o=t===Se.refetch||t===Se.fetchMore||t===Se.poll,a=this.options.variables,s=this.options.fetchPolicy,c=yi(this.options,e||{}),l=o?c:Bp(this.options,c),d=this.transformDocument(l.query);this.lastQuery=d,o||(this.updatePolling(),e&&e.variables&&!Ne(e.variables,a)&&l.fetchPolicy!=="standby"&&(l.fetchPolicy===s||typeof l.nextFetchPolicy=="function")&&(this.applyNextFetchPolicy("variables-changed",l),t===void 0&&(t=Se.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Bl(l.fetchPolicy));var h=function(){r.concast===f&&(r.waitForOwnResult=!1)},m=l.variables&&b({},l.variables),p=this.fetch(l,t,d),f=p.concast,g=p.fromLink,_={next:function(v){Ne(r.variables,m)&&(h(),r.reportResult(v,m))},error:function(v){Ne(r.variables,m)&&(is(v)||(v=new Oi({networkError:v})),h(),r.reportError(v,m))}};return!o&&(g||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=f,this.observer=_),f.addObserver(_),f},n.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},n.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t0},n.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},n.prototype.transformDocument=function(e){return this.queryManager.transform(e)},n}(we);Ka(ps);function zl(i){var n=i.options,e=n.fetchPolicy,t=n.nextFetchPolicy;return e==="cache-and-network"||e==="network-only"?i.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(r,o){return this.nextFetchPolicy=t,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(r,o):e}}):i.reobserve()}function k0(i){globalThis.__DEV__!==!1&&Y.error(24,i.message,i.stack)}function Hl(i){globalThis.__DEV__!==!1&&i&&globalThis.__DEV__!==!1&&Y.debug(25,i)}function Bl(i){return i==="network-only"||i==="no-cache"||i==="standby"}var Ir=new(li?WeakMap:Map);function Ql(i,n){var e=i[n];typeof e=="function"&&(i[n]=function(){return Ir.set(i,(Ir.get(i)+1)%1e15),e.apply(this,arguments)})}function zp(i){i.notifyTimeout&&(clearTimeout(i.notifyTimeout),i.notifyTimeout=void 0)}var fs=function(){function i(n,e){e===void 0&&(e=n.generateQueryId()),this.queryId=e,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var t=this.cache=n.cache;Ir.has(t)||(Ir.set(t,0),Ql(t,"evict"),Ql(t,"modify"),Ql(t,"reset"))}return i.prototype.init=function(n){var e=n.networkStatus||Se.loading;return this.variables&&this.networkStatus!==Se.loading&&!Ne(this.variables,n.variables)&&(e=Se.setVariables),Ne(n.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:n.document,variables:n.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:e}),n.observableQuery&&this.setObservableQuery(n.observableQuery),n.lastRequestId&&(this.lastRequestId=n.lastRequestId),this},i.prototype.reset=function(){zp(this),this.dirty=!1},i.prototype.resetDiff=function(){this.lastDiff=void 0},i.prototype.getDiff=function(){var n=this.getDiffOptions();if(this.lastDiff&&Ne(n,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var e=this.observableQuery;if(e&&e.options.fetchPolicy==="no-cache")return{complete:!1};var t=this.cache.diff(n);return this.updateLastDiff(t,n),t},i.prototype.updateLastDiff=function(n,e){this.lastDiff=n?{diff:n,options:e||this.getDiffOptions()}:void 0},i.prototype.getDiffOptions=function(n){var e;return n===void 0&&(n=this.variables),{query:this.document,variables:n,returnPartialData:!0,optimistic:!0,canonizeResults:(e=this.observableQuery)===null||e===void 0?void 0:e.options.canonizeResults}},i.prototype.setDiff=function(n){var e=this,t,r=this.lastDiff&&this.lastDiff.diff;n&&!n.complete&&(!((t=this.observableQuery)===null||t===void 0)&&t.getLastError())||(this.updateLastDiff(n),!this.dirty&&!Ne(r&&r.result,n&&n.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0))))},i.prototype.setObservableQuery=function(n){var e=this;n!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=n,n?(n.queryInfo=this,this.listeners.add(this.oqListener=function(){var t=e.getDiff();t.fromOptimisticTransaction?n.observe():zl(n)})):delete this.oqListener)},i.prototype.notify=function(){var n=this;zp(this),this.shouldNotify()&&this.listeners.forEach(function(e){return e(n)}),this.dirty=!1},i.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(rn(this.networkStatus)&&this.observableQuery){var n=this.observableQuery.options.fetchPolicy;if(n!=="cache-only"&&n!=="cache-and-network")return!1}return!0},i.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=i.prototype.cancel;var n=this.observableQuery;n&&n.stopPolling()}},i.prototype.cancel=function(){},i.prototype.updateWatch=function(n){var e=this;n===void 0&&(n=this.variables);var t=this.observableQuery;if(!(t&&t.options.fetchPolicy==="no-cache")){var r=b(b({},this.getDiffOptions(n)),{watcher:this,callback:function(o){return e.setDiff(o)}});(!this.lastWatch||!Ne(r,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},i.prototype.resetLastWrite=function(){this.lastWrite=void 0},i.prototype.shouldWrite=function(n,e){var t=this.lastWrite;return!(t&&t.dmCount===Ir.get(this.cache)&&Ne(e,t.variables)&&Ne(n.data,t.result.data))},i.prototype.markResult=function(n,e,t,r){var o=this,a=new Vt,s=vt(n.errors)?n.errors.slice(0):[];if(this.reset(),"incremental"in n&&vt(n.incremental)){var c=Xa(this.getDiff().result,n);n.data=c}else if("hasNext"in n&&n.hasNext){var l=this.getDiff();n.data=a.merge(l.result,n.data)}this.graphQLErrors=s,t.fetchPolicy==="no-cache"?this.updateLastDiff({result:n.data,complete:!0},this.getDiffOptions(t.variables)):r!==0&&(gs(n,t.errorPolicy)?this.cache.performTransaction(function(d){if(o.shouldWrite(n,t.variables))d.writeQuery({query:e,data:n.data,variables:t.variables,overwrite:r===1}),o.lastWrite={result:n,variables:t.variables,dmCount:Ir.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){n.data=o.lastDiff.diff.result;return}var h=o.getDiffOptions(t.variables),m=d.diff(h);!o.stopped&&Ne(o.variables,t.variables)&&o.updateWatch(t.variables),o.updateLastDiff(m,h),m.complete&&(n.data=m.result)}):this.lastWrite=void 0)},i.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Se.ready},i.prototype.markError=function(n){return this.networkStatus=Se.error,this.lastWrite=void 0,this.reset(),n.graphQLErrors&&(this.graphQLErrors=n.graphQLErrors),n.networkError&&(this.networkError=n.networkError),n},i}();function gs(i,n){n===void 0&&(n="none");var e=n==="ignore"||n==="all",t=!wr(i);return!t&&e&&i.data&&(t=!0),t}var D0=Object.prototype.hasOwnProperty,Hp=Object.create(null),Qp=function(){function i(n){var e=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new pr(dt["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Qt(!1);var t=new _r(function(o){return e.cache.transformDocument(o)},{cache:!1});this.cache=n.cache,this.link=n.link,this.defaultOptions=n.defaultOptions,this.queryDeduplication=n.queryDeduplication,this.clientAwareness=n.clientAwareness,this.localState=n.localState,this.ssrMode=n.ssrMode,this.assumeImmutableResults=n.assumeImmutableResults;var r=n.documentTransform;this.documentTransform=r?t.concat(r).concat(t):t,this.defaultContext=n.defaultContext||Object.create(null),(this.onBroadcast=n.onBroadcast)&&(this.mutationStore=Object.create(null))}return i.prototype.stop=function(){var n=this;this.queries.forEach(function(e,t){n.stopQueryNoBroadcast(t)}),this.cancelPendingFetches(Be(26))},i.prototype.cancelPendingFetches=function(n){this.fetchCancelFns.forEach(function(e){return e(n)}),this.fetchCancelFns.clear()},i.prototype.mutate=function(n){return ni(this,arguments,void 0,function(e){var t,r,o,a,s,c,l,d=e.mutation,h=e.variables,m=e.optimisticResponse,p=e.updateQueries,f=e.refetchQueries,g=f===void 0?[]:f,_=e.awaitRefetchQueries,v=_===void 0?!1:_,M=e.update,y=e.onQueryUpdated,q=e.fetchPolicy,U=q===void 0?((c=this.defaultOptions.mutate)===null||c===void 0?void 0:c.fetchPolicy)||"network-only":q,J=e.errorPolicy,be=J===void 0?((l=this.defaultOptions.mutate)===null||l===void 0?void 0:l.errorPolicy)||"none":J,_e=e.keepRootFields,ze=e.context;return ri(this,function(et){switch(et.label){case 0:return Y(d,27),Y(U==="network-only"||U==="no-cache",28),t=this.generateMutationId(),d=this.cache.transformForLink(this.transform(d)),r=this.getDocumentInfo(d).hasClientExports,h=this.getVariables(d,h),r?[4,this.localState.addExportedVariables(d,h,ze)]:[3,2];case 1:h=et.sent(),et.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:d,variables:h,loading:!0,error:null}),a=m&&this.markMutationOptimistic(m,{mutationId:t,document:d,variables:h,fetchPolicy:U,errorPolicy:be,context:ze,updateQueries:p,update:M,keepRootFields:_e}),this.broadcastQueries(),s=this,[2,new Promise(function(Wn,Gn){return Ya(s.getObservableFromLink(d,b(b({},ze),{optimisticResponse:a?m:void 0}),h,{},!1),function(_t){if(wr(_t)&&be==="none")throw new Oi({graphQLErrors:Za(_t)});o&&(o.loading=!1,o.error=null);var ji=b({},_t);return typeof g=="function"&&(g=g(ji)),be==="ignore"&&wr(ji)&&delete ji.errors,s.markMutationResult({mutationId:t,result:ji,document:d,variables:h,fetchPolicy:U,errorPolicy:be,context:ze,update:M,updateQueries:p,awaitRefetchQueries:v,refetchQueries:g,removeOptimistic:a?t:void 0,onQueryUpdated:y,keepRootFields:_e})}).subscribe({next:function(_t){s.broadcastQueries(),(!("hasNext"in _t)||_t.hasNext===!1)&&Wn(_t)},error:function(_t){o&&(o.loading=!1,o.error=_t),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),Gn(_t instanceof Oi?_t:new Oi({networkError:_t}))}})})]}})})},i.prototype.markMutationResult=function(n,e){var t=this;e===void 0&&(e=this.cache);var r=n.result,o=[],a=n.fetchPolicy==="no-cache";if(!a&&gs(r,n.errorPolicy)){if(en(r)||o.push({result:r.data,dataId:"ROOT_MUTATION",query:n.document,variables:n.variables}),en(r)&&vt(r.incremental)){var s=e.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(n.document).asQuery,variables:n.variables,optimistic:!1,returnPartialData:!0}),c=void 0;s.result&&(c=Xa(s.result,r)),typeof c<"u"&&(r.data=c,o.push({result:c,dataId:"ROOT_MUTATION",query:n.document,variables:n.variables}))}var l=n.updateQueries;l&&this.queries.forEach(function(h,m){var p=h.observableQuery,f=p&&p.queryName;if(!(!f||!D0.call(l,f))){var g=l[f],_=t.queries.get(m),v=_.document,M=_.variables,y=e.diff({query:v,variables:M,returnPartialData:!0,optimistic:!1}),q=y.result,U=y.complete;if(U&&q){var J=g(q,{mutationResult:r,queryName:v&&gr(v)||void 0,queryVariables:M});J&&o.push({result:J,dataId:"ROOT_QUERY",query:v,variables:M})}}})}if(o.length>0||(n.refetchQueries||"").length>0||n.update||n.onQueryUpdated||n.removeOptimistic){var d=[];if(this.refetchQueries({updateCache:function(h){a||o.forEach(function(g){return h.write(g)});var m=n.update,p=!Wm(r)||en(r)&&!r.hasNext;if(m){if(!a){var f=h.diff({id:"ROOT_MUTATION",query:t.getDocumentInfo(n.document).asQuery,variables:n.variables,optimistic:!1,returnPartialData:!0});f.complete&&(r=b(b({},r),{data:f.result}),"incremental"in r&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}p&&m(h,r,{context:n.context,variables:n.variables})}!a&&!n.keepRootFields&&p&&h.modify({id:"ROOT_MUTATION",fields:function(g,_){var v=_.fieldName,M=_.DELETE;return v==="__typename"?g:M}})},include:n.refetchQueries,optimistic:!1,removeOptimistic:n.removeOptimistic,onQueryUpdated:n.onQueryUpdated||null}).forEach(function(h){return d.push(h)}),n.awaitRefetchQueries||n.onQueryUpdated)return Promise.all(d).then(function(){return r})}return Promise.resolve(r)},i.prototype.markMutationOptimistic=function(n,e){var t=this,r=typeof n=="function"?n(e.variables,{IGNORE:Hp}):n;return r===Hp?!1:(this.cache.recordOptimisticTransaction(function(o){try{t.markMutationResult(b(b({},e),{result:{data:r}}),o)}catch(a){globalThis.__DEV__!==!1&&Y.error(a)}},e.mutationId),!0)},i.prototype.fetchQuery=function(n,e,t){return this.fetchConcastWithInfo(n,e,t).concast.promise},i.prototype.getQueryStore=function(){var n=Object.create(null);return this.queries.forEach(function(e,t){n[t]={variables:e.variables,networkStatus:e.networkStatus,networkError:e.networkError,graphQLErrors:e.graphQLErrors}}),n},i.prototype.resetErrors=function(n){var e=this.queries.get(n);e&&(e.networkError=void 0,e.graphQLErrors=[])},i.prototype.transform=function(n){return this.documentTransform.transformDocument(n)},i.prototype.getDocumentInfo=function(n){var e=this.transformCache;if(!e.has(n)){var t={hasClientExports:qc(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),hasNonreactiveDirective:Ei(["nonreactive"],n),clientQuery:this.localState.clientQuery(n),serverQuery:qa([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],n),defaultVars:Dn(_i(n)),asQuery:b(b({},n),{definitions:n.definitions.map(function(r){return r.kind==="OperationDefinition"&&r.operation!=="query"?b(b({},r),{operation:"query"}):r})})};e.set(n,t)}return e.get(n)},i.prototype.getVariables=function(n,e){return b(b({},this.getDocumentInfo(n).defaultVars),e)},i.prototype.watchQuery=function(n){var e=this.transform(n.query);n=b(b({},n),{variables:this.getVariables(e,n.variables)}),typeof n.notifyOnNetworkStatusChange>"u"&&(n.notifyOnNetworkStatusChange=!1);var t=new fs(this),r=new ps({queryManager:this,queryInfo:t,options:n});return r.lastQuery=e,this.queries.set(r.queryId,t),t.init({document:e,observableQuery:r,variables:r.variables}),r},i.prototype.query=function(n,e){var t=this;return e===void 0&&(e=this.generateQueryId()),Y(n.query,29),Y(n.query.kind==="Document",30),Y(!n.returnPartialData,31),Y(!n.pollInterval,32),this.fetchQuery(e,b(b({},n),{query:this.transform(n.query)})).finally(function(){return t.stopQuery(e)})},i.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},i.prototype.generateRequestId=function(){return this.requestIdCounter++},i.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},i.prototype.stopQueryInStore=function(n){this.stopQueryInStoreNoBroadcast(n),this.broadcastQueries()},i.prototype.stopQueryInStoreNoBroadcast=function(n){var e=this.queries.get(n);e&&e.stop()},i.prototype.clearStore=function(n){return n===void 0&&(n={discardWatches:!0}),this.cancelPendingFetches(Be(33)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=Se.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(n)},i.prototype.getObservableQueries=function(n){var e=this;n===void 0&&(n="active");var t=new Map,r=new Map,o=new Set;return Array.isArray(n)&&n.forEach(function(a){typeof a=="string"?r.set(a,!1):Zc(a)?r.set(e.transform(a),!1):Ie(a)&&a.query&&o.add(a)}),this.queries.forEach(function(a,s){var c=a.observableQuery,l=a.document;if(c){if(n==="all"){t.set(s,c);return}var d=c.queryName,h=c.options.fetchPolicy;if(h==="standby"||n==="active"&&!c.hasObservers())return;(n==="active"||d&&r.has(d)||l&&r.has(l))&&(t.set(s,c),d&&r.set(d,!0),l&&r.set(l,!0))}}),o.size&&o.forEach(function(a){var s=ro("legacyOneTimeQuery"),c=e.getQuery(s).init({document:a.query,variables:a.variables}),l=new ps({queryManager:e,queryInfo:c,options:b(b({},a),{fetchPolicy:"network-only"})});Y(l.queryId===s),c.setObservableQuery(l),t.set(s,l)}),globalThis.__DEV__!==!1&&r.size&&r.forEach(function(a,s){a||globalThis.__DEV__!==!1&&Y.warn(typeof s=="string"?34:35,s)}),t},i.prototype.reFetchObservableQueries=function(n){var e=this;n===void 0&&(n=!1);var t=[];return this.getObservableQueries(n?"all":"active").forEach(function(r,o){var a=r.options.fetchPolicy;r.resetLastResults(),(n||a!=="standby"&&a!=="cache-only")&&t.push(r.refetch()),e.getQuery(o).setDiff(null)}),this.broadcastQueries(),Promise.all(t)},i.prototype.setObservableQuery=function(n){this.getQuery(n.queryId).setObservableQuery(n)},i.prototype.startGraphQLSubscription=function(n){var e=this,t=n.query,r=n.fetchPolicy,o=n.errorPolicy,a=o===void 0?"none":o,s=n.variables,c=n.context,l=c===void 0?{}:c,d=n.extensions,h=d===void 0?{}:d;t=this.transform(t),s=this.getVariables(t,s);var m=function(f){return e.getObservableFromLink(t,l,f,h).map(function(g){r!=="no-cache"&&(gs(g,a)&&e.cache.write({query:t,result:g.data,dataId:"ROOT_SUBSCRIPTION",variables:f}),e.broadcastQueries());var _=wr(g),v=Km(g);if(_||v){var M={};if(_&&(M.graphQLErrors=g.errors),v&&(M.protocolErrors=g.extensions[Co]),a==="none"||v)throw new Oi(M)}return a==="ignore"&&delete g.errors,g})};if(this.getDocumentInfo(t).hasClientExports){var p=this.localState.addExportedVariables(t,s,l).then(m);return new we(function(f){var g=null;return p.then(function(_){return g=_.subscribe(f)},f.error),function(){return g&&g.unsubscribe()}})}return m(s)},i.prototype.stopQuery=function(n){this.stopQueryNoBroadcast(n),this.broadcastQueries()},i.prototype.stopQueryNoBroadcast=function(n){this.stopQueryInStoreNoBroadcast(n),this.removeQuery(n)},i.prototype.removeQuery=function(n){this.fetchCancelFns.delete(n),this.queries.has(n)&&(this.getQuery(n).stop(),this.queries.delete(n))},i.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(n){return n.notify()})},i.prototype.getLocalState=function(){return this.localState},i.prototype.getObservableFromLink=function(n,e,t,r,o){var a=this,s;o===void 0&&(o=(s=e?.queryDeduplication)!==null&&s!==void 0?s:this.queryDeduplication);var c,l=this.getDocumentInfo(n),d=l.serverQuery,h=l.clientQuery;if(d){var m=this,p=m.inFlightLinkObservables,f=m.link,g={query:d,variables:t,operationName:gr(d)||void 0,context:this.prepareContext(b(b({},e),{forceFetch:!o})),extensions:r};if(e=g.context,o){var _=Ji(d),v=Mt(t),M=p.lookup(_,v);if(c=M.observable,!c){var y=new An([Cr(f,g)]);c=M.observable=y,y.beforeNext(function(){p.remove(_,v)})}}else c=new An([Cr(f,g)])}else c=new An([we.of({data:{}})]),e=this.prepareContext(e);return h&&(c=Ya(c,function(q){return a.localState.runResolvers({document:h,remoteResult:q,context:e,variables:t})})),c},i.prototype.getResultsFromLink=function(n,e,t){var r=n.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(t.query);return Ya(this.getObservableFromLink(o,t.context,t.variables),function(a){var s=Za(a),c=s.length>0,l=t.errorPolicy;if(r>=n.lastRequestId){if(c&&l==="none")throw n.markError(new Oi({graphQLErrors:s}));n.markResult(a,o,t,e),n.markReady()}var d={data:a.data,loading:!1,networkStatus:Se.ready};return c&&l==="none"&&(d.data=void 0),c&&l!=="ignore"&&(d.errors=s,d.networkStatus=Se.error),d},function(a){var s=is(a)?a:new Oi({networkError:a});throw r>=n.lastRequestId&&n.markError(s),s})},i.prototype.fetchConcastWithInfo=function(n,e,t,r){var o=this;t===void 0&&(t=Se.loading),r===void 0&&(r=e.query);var a=this.getVariables(r,e.variables),s=this.getQuery(n),c=this.defaultOptions.watchQuery,l=e.fetchPolicy,d=l===void 0?c&&c.fetchPolicy||"cache-first":l,h=e.errorPolicy,m=h===void 0?c&&c.errorPolicy||"none":h,p=e.returnPartialData,f=p===void 0?!1:p,g=e.notifyOnNetworkStatusChange,_=g===void 0?!1:g,v=e.context,M=v===void 0?{}:v,y=Object.assign({},e,{query:r,variables:a,fetchPolicy:d,errorPolicy:m,returnPartialData:f,notifyOnNetworkStatusChange:_,context:M}),q=function(ze){y.variables=ze;var et=o.fetchQueryByPolicy(s,y,t);return y.fetchPolicy!=="standby"&&et.sources.length>0&&s.observableQuery&&s.observableQuery.applyNextFetchPolicy("after-fetch",e),et},U=function(){return o.fetchCancelFns.delete(n)};this.fetchCancelFns.set(n,function(ze){U(),setTimeout(function(){return J.cancel(ze)})});var J,be;if(this.getDocumentInfo(y.query).hasClientExports)J=new An(this.localState.addExportedVariables(y.query,y.variables,y.context).then(q).then(function(ze){return ze.sources})),be=!0;else{var _e=q(y.variables);be=_e.fromLink,J=new An(_e.sources)}return J.promise.then(U,U),{concast:J,fromLink:be}},i.prototype.refetchQueries=function(n){var e=this,t=n.updateCache,r=n.include,o=n.optimistic,a=o===void 0?!1:o,s=n.removeOptimistic,c=s===void 0?a?ro("refetchQueries"):void 0:s,l=n.onQueryUpdated,d=new Map;r&&this.getObservableQueries(r).forEach(function(m,p){d.set(p,{oq:m,lastDiff:e.getQuery(p).getDiff()})});var h=new Map;return t&&this.cache.batch({update:t,optimistic:a&&c||!1,removeOptimistic:c,onWatchUpdated:function(m,p,f){var g=m.watcher instanceof fs&&m.watcher.observableQuery;if(g){if(l){d.delete(g.queryId);var _=l(g,p,f);return _===!0&&(_=g.refetch()),_!==!1&&h.set(g,_),_}l!==null&&d.set(g.queryId,{oq:g,lastDiff:f,diff:p})}}}),d.size&&d.forEach(function(m,p){var f=m.oq,g=m.lastDiff,_=m.diff,v;if(l){if(!_){var M=f.queryInfo;M.reset(),_=M.getDiff()}v=l(f,_,g)}(!l||v===!0)&&(v=f.refetch()),v!==!1&&h.set(f,v),p.indexOf("legacyOneTimeQuery")>=0&&e.stopQueryNoBroadcast(p)}),c&&this.cache.removeOptimistic(c),h},i.prototype.fetchQueryByPolicy=function(n,e,t){var r=this,o=e.query,a=e.variables,s=e.fetchPolicy,c=e.refetchWritePolicy,l=e.errorPolicy,d=e.returnPartialData,h=e.context,m=e.notifyOnNetworkStatusChange,p=n.networkStatus;n.init({document:o,variables:a,networkStatus:t});var f=function(){return n.getDiff()},g=function(q,U){U===void 0&&(U=n.networkStatus||Se.loading);var J=q.result;globalThis.__DEV__!==!1&&!d&&!Ne(J,{})&&Hl(q.missing);var be=function(_e){return we.of(b({data:_e,loading:rn(U),networkStatus:U},q.complete?null:{partial:!0}))};return J&&r.getDocumentInfo(o).hasForcedResolvers?r.localState.runResolvers({document:o,remoteResult:{data:J},context:h,variables:a,onlyRunForcedResolvers:!0}).then(function(_e){return be(_e.data||void 0)}):l==="none"&&U===Se.refetch&&Array.isArray(q.missing)?be(void 0):be(J)},_=s==="no-cache"?0:t===Se.refetch&&c!=="merge"?1:2,v=function(){return r.getResultsFromLink(n,_,{query:o,variables:a,context:h,fetchPolicy:s,errorPolicy:l})},M=m&&typeof p=="number"&&p!==t&&rn(t);switch(s){default:case"cache-first":{var y=f();return y.complete?{fromLink:!1,sources:[g(y,n.markReady())]}:d||M?{fromLink:!0,sources:[g(y),v()]}:{fromLink:!0,sources:[v()]}}case"cache-and-network":{var y=f();return y.complete||d||M?{fromLink:!0,sources:[g(y),v()]}:{fromLink:!0,sources:[v()]}}case"cache-only":return{fromLink:!1,sources:[g(f(),n.markReady())]};case"network-only":return M?{fromLink:!0,sources:[g(f()),v()]}:{fromLink:!0,sources:[v()]};case"no-cache":return M?{fromLink:!0,sources:[g(n.getDiff()),v()]}:{fromLink:!0,sources:[v()]};case"standby":return{fromLink:!1,sources:[]}}},i.prototype.getQuery=function(n){return n&&!this.queries.has(n)&&this.queries.set(n,new fs(this,n)),this.queries.get(n)},i.prototype.prepareContext=function(n){n===void 0&&(n={});var e=this.localState.prepareContext(n);return b(b(b({},this.defaultContext),e),{clientAwareness:this.clientAwareness})},i}();var Up=function(){function i(n){var e=n.cache,t=n.client,r=n.resolvers,o=n.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=e,t&&(this.client=t),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return i.prototype.addResolvers=function(n){var e=this;this.resolvers=this.resolvers||{},Array.isArray(n)?n.forEach(function(t){e.resolvers=al(e.resolvers,t)}):this.resolvers=al(this.resolvers,n)},i.prototype.setResolvers=function(n){this.resolvers={},this.addResolvers(n)},i.prototype.getResolvers=function(){return this.resolvers||{}},i.prototype.runResolvers=function(n){return ni(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,o=e.context,a=e.variables,s=e.onlyRunForcedResolvers,c=s===void 0?!1:s;return ri(this,function(l){return t?[2,this.resolveDocument(t,r.data,o,a,this.fragmentMatcher,c).then(function(d){return b(b({},r),{data:d.result})})]:[2,r]})})},i.prototype.setFragmentMatcher=function(n){this.fragmentMatcher=n},i.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},i.prototype.clientQuery=function(n){return Ei(["client"],n)&&this.resolvers?n:null},i.prototype.serverQuery=function(n){return bo(n)},i.prototype.prepareContext=function(n){var e=this.cache;return b(b({},n),{cache:e,getCacheKey:function(t){return e.identify(t)}})},i.prototype.addExportedVariables=function(n){return ni(this,arguments,void 0,function(e,t,r){return t===void 0&&(t={}),r===void 0&&(r={}),ri(this,function(o){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(a){return b(b({},t),a.exportedVariables)})]:[2,b({},t)]})})},i.prototype.shouldForceResolvers=function(n){var e=!1;return wt(n,{Directive:{enter:function(t){if(t.name.value==="client"&&t.arguments&&(e=t.arguments.some(function(r){return r.name.value==="always"&&r.value.kind==="BooleanValue"&&r.value.value===!0}),e))return Cn}}}),e},i.prototype.buildRootValueFromCache=function(n,e){return this.cache.diff({query:ol(n),variables:e,returnPartialData:!0,optimistic:!1}).result},i.prototype.resolveDocument=function(n,e){return ni(this,arguments,void 0,function(t,r,o,a,s,c){var l,d,h,m,p,f,g,_,v,M,y;return o===void 0&&(o={}),a===void 0&&(a={}),s===void 0&&(s=function(){return!0}),c===void 0&&(c=!1),ri(this,function(q){return l=di(t),d=Mi(t),h=Ii(d),m=this.collectSelectionsToResolve(l,h),p=l.operation,f=p?p.charAt(0).toUpperCase()+p.slice(1):"Query",g=this,_=g.cache,v=g.client,M={fragmentMap:h,context:b(b({},o),{cache:_,client:v}),variables:a,fragmentMatcher:s,defaultOperationType:f,exportedVariables:{},selectionsToResolve:m,onlyRunForcedResolvers:c},y=!1,[2,this.resolveSelectionSet(l.selectionSet,y,r,M).then(function(U){return{result:U,exportedVariables:M.exportedVariables}})]})})},i.prototype.resolveSelectionSet=function(n,e,t,r){return ni(this,void 0,void 0,function(){var o,a,s,c,l,d=this;return ri(this,function(h){return o=r.fragmentMap,a=r.context,s=r.variables,c=[t],l=function(m){return ni(d,void 0,void 0,function(){var p,f;return ri(this,function(g){return!e&&!r.selectionsToResolve.has(m)?[2]:ci(m,s)?At(m)?[2,this.resolveField(m,e,t,r).then(function(_){var v;typeof _<"u"&&c.push((v={},v[jt(m)]=_,v))})]:(el(m)?p=m:(p=o[m.name.value],Y(p,18,m.name.value)),p&&p.typeCondition&&(f=p.typeCondition.name.value,r.fragmentMatcher(t,f,a))?[2,this.resolveSelectionSet(p.selectionSet,e,t,r).then(function(_){c.push(_)})]:[2]):[2]})})},[2,Promise.all(n.selections.map(l)).then(function(){return Tn(c)})]})})},i.prototype.resolveField=function(n,e,t,r){return ni(this,void 0,void 0,function(){var o,a,s,c,l,d,h,m,p,f=this;return ri(this,function(g){return t?(o=r.variables,a=n.name.value,s=jt(n),c=a!==s,l=t[s]||t[a],d=Promise.resolve(l),(!r.onlyRunForcedResolvers||this.shouldForceResolvers(n))&&(h=t.__typename||r.defaultOperationType,m=this.resolvers&&this.resolvers[h],m&&(p=m[c?a:s],p&&(d=Promise.resolve(Dr.withValue(this.cache,p,[t,Ti(n,o),r.context,{field:n,fragmentMap:r.fragmentMap}]))))),[2,d.then(function(_){var v,M;if(_===void 0&&(_=l),n.directives&&n.directives.forEach(function(q){q.name.value==="export"&&q.arguments&&q.arguments.forEach(function(U){U.name.value==="as"&&U.value.kind==="StringValue"&&(r.exportedVariables[U.value.value]=_)})}),!n.selectionSet||_==null)return _;var y=(M=(v=n.directives)===null||v===void 0?void 0:v.some(function(q){return q.name.value==="client"}))!==null&&M!==void 0?M:!1;if(Array.isArray(_))return f.resolveSubSelectedArray(n,e||y,_,r);if(n.selectionSet)return f.resolveSelectionSet(n.selectionSet,e||y,_,r)})]):[2,null]})})},i.prototype.resolveSubSelectedArray=function(n,e,t,r){var o=this;return Promise.all(t.map(function(a){if(a===null)return null;if(Array.isArray(a))return o.resolveSubSelectedArray(n,e,a,r);if(n.selectionSet)return o.resolveSelectionSet(n.selectionSet,e,a,r)}))},i.prototype.collectSelectionsToResolve=function(n,e){var t=function(a){return!Array.isArray(a)},r=this.selectionsToResolveCache;function o(a){if(!r.has(a)){var s=new Set;r.set(a,s),wt(a,{Directive:function(c,l,d,h,m){c.name.value==="client"&&m.forEach(function(p){t(p)&&co(p)&&s.add(p)})},FragmentSpread:function(c,l,d,h,m){var p=e[c.name.value];Y(p,19,c.name.value);var f=o(p);f.size>0&&(m.forEach(function(g){t(g)&&co(g)&&s.add(g)}),s.add(c),f.forEach(function(g){s.add(g)}))}})}return r.get(a)}return o(n)},i}();var qp=!1;var To=function(){function i(n){var e=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!n.cache)throw Be(15);var t=n.uri,r=n.credentials,o=n.headers,a=n.cache,s=n.documentTransform,c=n.ssrMode,l=c===void 0?!1:c,d=n.ssrForceFetchDelay,h=d===void 0?0:d,m=n.connectToDevTools,p=n.queryDeduplication,f=p===void 0?!0:p,g=n.defaultOptions,_=n.defaultContext,v=n.assumeImmutableResults,M=v===void 0?a.assumeImmutableResults:v,y=n.resolvers,q=n.typeDefs,U=n.fragmentMatcher,J=n.name,be=n.version,_e=n.devtools,ze=n.link;ze||(ze=t?new Cl({uri:t,credentials:r,headers:o}):Xt.empty()),this.link=ze,this.cache=a,this.disableNetworkFetches=l||h>0,this.queryDeduplication=f,this.defaultOptions=g||Object.create(null),this.typeDefs=q,this.devtoolsConfig=b(b({},_e),{enabled:_e?.enabled||m}),this.devtoolsConfig.enabled===void 0&&(this.devtoolsConfig.enabled=globalThis.__DEV__!==!1),h&&setTimeout(function(){return e.disableNetworkFetches=!1},h),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=no,this.localState=new Up({cache:a,client:this,resolvers:y,fragmentMatcher:U}),this.queryManager=new Qp({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:_,documentTransform:s,queryDeduplication:f,ssrMode:l,clientAwareness:{name:J,version:be},localState:this.localState,assumeImmutableResults:M,onBroadcast:this.devtoolsConfig.enabled?function(){e.devToolsHookCb&&e.devToolsHookCb({action:{},state:{queries:e.queryManager.getQueryStore(),mutations:e.queryManager.mutationStore||{}},dataWithOptimisticResults:e.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return i.prototype.connectToDevTools=function(){if(!(typeof window>"u")){var n=window,e=Symbol.for("apollo.devtools");(n[e]=n[e]||[]).push(this),n.__APOLLO_CLIENT__=this,!qp&&globalThis.__DEV__!==!1&&(qp=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var t=window.navigator,r=t&&t.userAgent,o=void 0;typeof r=="string"&&(r.indexOf("Chrome/")>-1?o="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":r.indexOf("Firefox/")>-1&&(o="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),o&&globalThis.__DEV__!==!1&&Y.log("Download the Apollo DevTools for a better development experience: %s",o)}},1e4))}},Object.defineProperty(i.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),i.prototype.stop=function(){this.queryManager.stop()},i.prototype.watchQuery=function(n){return this.defaultOptions.watchQuery&&(n=yo(this.defaultOptions.watchQuery,n)),this.disableNetworkFetches&&(n.fetchPolicy==="network-only"||n.fetchPolicy==="cache-and-network")&&(n=b(b({},n),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(n)},i.prototype.query=function(n){return this.defaultOptions.query&&(n=yo(this.defaultOptions.query,n)),Y(n.fetchPolicy!=="cache-and-network",16),this.disableNetworkFetches&&n.fetchPolicy==="network-only"&&(n=b(b({},n),{fetchPolicy:"cache-first"})),this.queryManager.query(n)},i.prototype.mutate=function(n){return this.defaultOptions.mutate&&(n=yo(this.defaultOptions.mutate,n)),this.queryManager.mutate(n)},i.prototype.subscribe=function(n){return this.queryManager.startGraphQLSubscription(n)},i.prototype.readQuery=function(n,e){return e===void 0&&(e=!1),this.cache.readQuery(n,e)},i.prototype.watchFragment=function(n){return this.cache.watchFragment(n)},i.prototype.readFragment=function(n,e){return e===void 0&&(e=!1),this.cache.readFragment(n,e)},i.prototype.writeQuery=function(n){var e=this.cache.writeQuery(n);return n.broadcast!==!1&&this.queryManager.broadcastQueries(),e},i.prototype.writeFragment=function(n){var e=this.cache.writeFragment(n);return n.broadcast!==!1&&this.queryManager.broadcastQueries(),e},i.prototype.__actionHookForDevTools=function(n){this.devToolsHookCb=n},i.prototype.__requestRaw=function(n){return Cr(this.link,n)},i.prototype.resetStore=function(){var n=this;return Promise.resolve().then(function(){return n.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(n.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return n.reFetchObservableQueries()})},i.prototype.clearStore=function(){var n=this;return Promise.resolve().then(function(){return n.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(n.clearStoreCallbacks.map(function(e){return e()}))})},i.prototype.onResetStore=function(n){var e=this;return this.resetStoreCallbacks.push(n),function(){e.resetStoreCallbacks=e.resetStoreCallbacks.filter(function(t){return t!==n})}},i.prototype.onClearStore=function(n){var e=this;return this.clearStoreCallbacks.push(n),function(){e.clearStoreCallbacks=e.clearStoreCallbacks.filter(function(t){return t!==n})}},i.prototype.reFetchObservableQueries=function(n){return this.queryManager.reFetchObservableQueries(n)},i.prototype.refetchQueries=function(n){var e=this.queryManager.refetchQueries(n),t=[],r=[];e.forEach(function(a,s){t.push(s),r.push(a)});var o=Promise.all(r);return o.queries=t,o.results=r,o.catch(function(a){globalThis.__DEV__!==!1&&Y.debug(17,a)}),o},i.prototype.getObservableQueries=function(n){return n===void 0&&(n="active"),this.queryManager.getObservableQueries(n)},i.prototype.extract=function(n){return this.cache.extract(n)},i.prototype.restore=function(n){return this.cache.restore(n)},i.prototype.addResolvers=function(n){this.localState.addResolvers(n)},i.prototype.setResolvers=function(n){this.localState.setResolvers(n)},i.prototype.getResolvers=function(){return this.localState.getResolvers()},i.prototype.setLocalStateFragmentMatcher=function(n){this.localState.setFragmentMatcher(n)},i.prototype.setLink=function(n){this.link=this.queryManager.link=n},Object.defineProperty(i.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),i}();globalThis.__DEV__!==!1&&(To.prototype.getMemoryInternals=lm);var bs=new Map,Ul=new Map,Wp=!0,vs=!1;function Gp(i){return i.replace(/[\s,]+/g," ").trim()}function E0(i){return Gp(i.source.body.substring(i.start,i.end))}function I0(i){var n=new Set,e=[];return i.definitions.forEach(function(t){if(t.kind==="FragmentDefinition"){var r=t.name.value,o=E0(t.loc),a=Ul.get(r);a&&!a.has(o)?Wp&&console.warn("Warning: fragment with name "+r+` already exists. -graphql-tag enforces all fragment names across your application to be unique; read more about -this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a||Ul.set(r,a=new Set),a.add(o),n.has(o)||(n.add(o),e.push(t))}else e.push(t)}),b(b({},i),{definitions:e})}function S0(i){var n=new Set(i.definitions);n.forEach(function(t){t.loc&&delete t.loc,Object.keys(t).forEach(function(r){var o=t[r];o&&typeof o=="object"&&n.add(o)})});var e=i.loc;return e&&(delete e.startToken,delete e.endToken),i}function T0(i){var n=Gp(i);if(!bs.has(n)){var e=ja(i,{experimentalFragmentVariables:vs,allowLegacyFragmentVariables:vs});if(!e||e.kind!=="Document")throw new Error("Not a valid GraphQL document.");bs.set(n,S0(I0(e)))}return bs.get(n)}function on(i){for(var n=[],e=1;e(i().then(e=>{n.closed||(n.next(e),n.complete())},e=>{n.closed||n.error(e)}),()=>n.unsubscribe()))}function M0(i,n){return n?i.pipe(Me({loading:!0}),xe(e=>Qe(N({},e),{loading:!!e.loading}))):i.pipe(xe(e=>Qe(N({},e),{loading:!1})))}var Wl=class{zone;constructor(n){this.zone=n}now=Date.now?Date.now:()=>+new Date;schedule(n,e=0,t){return this.zone.run(()=>_u.schedule(n,e,t))}};function Gl(i){return i[bu]=()=>i,i}function $l(i,n){return i.pipe(yu(new Wl(n)))}function A0(i){return function(e){return new Ge(function(r){let o=i.getCurrentResult(),{loading:a,errors:s,error:c,partial:l,data:d}=o,{partialRefetch:h,fetchPolicy:m}=i.options,p=s||c;return h&&l&&(!d||Object.keys(d).length===0)&&m!=="cache-only"&&!a&&!p&&r.next(Qe(N({},o),{loading:!0,networkStatus:Se.loading})),e.subscribe(r)})}}var Yl=class{obsQuery;valueChanges;queryId;constructor(n,e,t){this.obsQuery=n;let r=$l(ki(Gl(this.obsQuery)),e);this.valueChanges=t.useInitialLoading?r.pipe(A0(this.obsQuery)):r,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(n){return this.obsQuery.refetch(n)}fetchMore(n){return this.obsQuery.fetchMore(n)}subscribeToMore(n){return this.obsQuery.subscribeToMore(n)}updateQuery(n){return this.obsQuery.updateQuery(n)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(n){return this.obsQuery.startPolling(n)}setOptions(n){return this.obsQuery.setOptions(n)}setVariables(n){return this.obsQuery.setVariables(n)}},O0=new C("APOLLO_FLAGS"),Kl=new C("APOLLO_OPTIONS"),R0=new C("APOLLO_NAMED_OPTIONS"),_s=class{ngZone;flags;_client;useInitialLoading;useMutationLoading;constructor(n,e,t){this.ngZone=n,this.flags=e,this._client=t,this.useInitialLoading=e?.useInitialLoading??!1,this.useMutationLoading=e?.useMutationLoading??!1}watchQuery(n){return new Yl(this.ensureClient().watchQuery(N({},n)),this.ngZone,N({useInitialLoading:this.useInitialLoading},n))}query(n){return Zp(()=>this.ensureClient().query(N({},n)))}mutate(n){return M0(Zp(()=>this.ensureClient().mutate(N({},n))),n.useMutationLoading??this.useMutationLoading)}watchFragment(n,e){let t=ki(Gl(this.ensureClient().watchFragment(N({},n))));return e&&e.useZone!==!0?t:$l(t,this.ngZone)}subscribe(n,e){let t=ki(Gl(this.ensureClient().subscribe(N({},n))));return e&&e.useZone!==!0?t:$l(t,this.ngZone)}get client(){return this.ensureClient()}set client(n){if(this._client)throw new Error("Client has been already defined");this._client=n}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(this._client)return!0;throw new Error("Client has not been defined yet")}},Xl=(()=>{class i extends _s{map=new Map;constructor(e,t,r,o){if(super(e,o),t&&this.createDefault(t),r&&typeof r=="object"){for(let a in r)if(r.hasOwnProperty(a)){let s=r[a];this.create(s,a)}}}create(e,t){ql(t)?this.createNamed(t,e):this.createDefault(e)}default(){return this}use(e){return ql(e)?this.map.get(e):this.default()}createDefault(e){if(this._client)throw new Error("Apollo has been already created.");this.client=this.ngZone.runOutsideAngular(()=>new To(e))}createNamed(e,t){if(this.map.has(e))throw new Error(`Client ${e} has been already created`);this.map.set(e,new _s(this.ngZone,this.flags,this.ngZone.runOutsideAngular(()=>new To(t))))}removeClient(e){ql(e)?this.map.delete(e):this._client=void 0}static \u0275fac=function(t){return new(t||i)(x(B),x(Kl,8),x(R0,8),x(O0,8))};static \u0275prov=Z({token:i,factory:i.\u0275fac})}return i})();function ql(i){return!!i&&i!=="default"}var Jp=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=j({type:i});static \u0275inj=L({providers:[Xl]})}return i})();function F0(i,...n){return on(i,...n)}var We=F0;var Jl;try{Jl=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Jl=!1}var me=(()=>{class i{constructor(e){this._platformId=e,this.isBrowser=this._platformId?qu(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Jl)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static{this.\u0275fac=function(t){return new(t||i)(x(Au))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Sr,ef=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ed(){if(Sr)return Sr;if(typeof document!="object"||!document)return Sr=new Set(ef),Sr;let i=document.createElement("input");return Sr=new Set(ef.filter(n=>(i.setAttribute("type",n),i.type===n))),Sr}var Ao;function N0(){if(Ao==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ao=!0}))}finally{Ao=Ao||!1}return Ao}function Bt(i){return N0()?i:!!i.capture}var hi=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(hi||{}),ys,Rn;function xs(){if(Rn==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Rn=!1,Rn;if("scrollBehavior"in document.documentElement.style)Rn=!0;else{let i=Element.prototype.scrollTo;i?Rn=!/\{\s*\[native code\]\s*\}/.test(i.toString()):Rn=!1}}return Rn}function Tr(){if(typeof document!="object"||!document)return hi.NORMAL;if(ys==null){let i=document.createElement("div"),n=i.style;i.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",i.appendChild(e),document.body.appendChild(i),ys=hi.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,ys=i.scrollLeft===0?hi.NEGATED:hi.INVERTED),i.remove()}return ys}var Zl;function L0(){if(Zl==null){let i=typeof document<"u"?document.head:null;Zl=!!(i&&(i.createShadowRoot||i.attachShadow))}return Zl}function tf(i){if(L0()){let n=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Oo(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let n=i.shadowRoot.activeElement;if(n===i)break;i=n}return i}function Ot(i){return i.composedPath?i.composedPath()[0]:i.target}function Ro(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Le(i,...n){return n.length?n.some(e=>i[e]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}function ut(i){return i!=null&&`${i}`!="false"}function Ct(i,n=0){return j0(i)?Number(i):arguments.length===2?n:0}function j0(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function Mr(i){return Array.isArray(i)?i:[i]}function rt(i){return i==null?"":typeof i=="string"?i:`${i}px`}function zt(i){return i instanceof E?i.nativeElement:i}function V0(i){if(i.type==="characterData"&&i.target instanceof Comment)return!0;if(i.type==="childList"){for(let n=0;n{class i{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),B0=(()=>{class i{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map,this._ngZone=F(B)}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){let t=zt(e);return new Ge(r=>{let a=this._observeElement(t).pipe(xe(s=>s.filter(c=>!V0(c))),ye(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let t=new R,r=this._mutationObserverFactory.create(o=>t.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:t,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:t,stream:r}=this._observedElements.get(e);t&&t.disconnect(),r.complete(),this._observedElements.delete(e)}}static{this.\u0275fac=function(t){return new(t||i)(x(nf))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),td=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Ct(e),this._subscribe()}constructor(e,t){this._contentObserver=e,this._elementRef=t,this.event=new z,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(fi(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(B0),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",O],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],standalone:!0,features:[ae]})}}return i})(),ws=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[nf]})}}return i})();var rf=new Set,Fn,z0=(()=>{class i{constructor(e,t){this._platform=e,this._nonce=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Q0}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&H0(e,this._nonce),this._matchMedia(e)}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(Ou,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function H0(i,n){if(!rf.has(i))try{Fn||(Fn=document.createElement("style"),n&&Fn.setAttribute("nonce",n),Fn.setAttribute("type","text/css"),document.head.appendChild(Fn)),Fn.sheet&&(Fn.sheet.insertRule(`@media ${i} {body{ }}`,0),rf.add(i))}catch(e){console.error(e)}}function Q0(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Cs=(()=>{class i{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new R}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return of(Mr(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=of(Mr(e)).map(a=>this._registerQuery(a).observable),o=Zo(r);return o=wu(o.pipe(Ke(1)),o.pipe(Yn(1),fi(0))),o.pipe(xe(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:l})=>{s.matches=s.matches||c,s.breakpoints[l]=c}),s}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let t=this._mediaMatcher.matchMedia(e),o={observable:new Ge(a=>{let s=c=>this._zone.run(()=>a.next(c));return t.addListener(s),()=>{t.removeListener(s)}}).pipe(Me(t),xe(({matches:a})=>({query:e,matches:a})),$(this._destroySubject)),mql:t};return this._queries.set(e,o),o}static{this.\u0275fac=function(t){return new(t||i)(x(z0),x(B))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function of(i){return i.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}var af={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var uf=" ";function Pr(i,n,e){let t=Is(i,n);e=e.trim(),!t.some(r=>r.trim()===e)&&(t.push(e),i.setAttribute(n,t.join(uf)))}function sn(i,n,e){let t=Is(i,n);e=e.trim();let r=t.filter(o=>o!==e);r.length?i.setAttribute(n,r.join(uf)):i.removeAttribute(n)}function Is(i,n){return i.getAttribute(n)?.match(/\S+/g)??[]}var hf="cdk-describedby-message",ks="cdk-describedby-host",rd=0,mf=(()=>{class i{constructor(e,t){this._platform=t,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${rd++}`,this._document=e,this._id=F(Mu)+"-"+rd++}describe(e,t,r){if(!this._canBeDescribed(e,t))return;let o=id(t,r);typeof t!="string"?(sf(t,this._id),this._messageRegistry.set(o,{messageElement:t,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(t,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,t,r){if(!t||!this._isElementNode(e))return;let o=id(t,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof t=="string"){let a=this._messageRegistry.get(o);a&&a.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${ks}="${this._id}"]`);for(let t=0;tr.indexOf(hf)!=0);e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){let r=this._messageRegistry.get(t);Pr(e,"aria-describedby",r.messageElement.id),e.setAttribute(ks,this._id),r.referenceCount++}_removeMessageReference(e,t){let r=this._messageRegistry.get(t);r.referenceCount--,sn(e,"aria-describedby",r.messageElement.id),e.removeAttribute(ks)}_isElementDescribedByMessage(e,t){let r=Is(e,"aria-describedby"),o=this._messageRegistry.get(t),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&typeof t=="object")return!0;let r=t==null?"":`${t}`.trim(),o=e.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static{this.\u0275fac=function(t){return new(t||i)(x(oe),x(me))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function id(i,n){return typeof i=="string"?`${n||""}/${i}`:i}function sf(i,n){i.id||(i.id=`${hf}-${n}-${rd++}`)}var ix=200,od=class{constructor(n,e){this._letterKeyStream=new R,this._items=[],this._selectedItemIndex=-1,this._pressedLetters=[],this._selectedItem=new R,this.selectedItem=this._selectedItem;let t=typeof e?.debounceInterval=="number"?e.debounceInterval:ix;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(t)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(gi(e=>this._pressedLetters.push(e)),fi(n),ye(()=>this._pressedLetters.length>0),xe(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let t=1;tt.disabled,this.tabOut=new R,this.change=new R,n instanceof Gt?this._itemChangesSubscription=n.changes.subscribe(t=>this._itemsChanged(t.toArray())):oc(n)&&(this._effectRef=dc(()=>this._itemsChanged(n()),{injector:e}))}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new od(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:t=>this._skipPredicateFn(t)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(t=>{this.setActiveItem(t)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem;this.updateActiveItem(n),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(n){let e=n.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e,this._typeahead?.setCurrentSelectedItemIndex(e))}}},Or=class extends Ss{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}},an=class extends Ss{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var Nn=(()=>{class i{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return rx(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let t=nx(hx(e));if(t&&(cf(t)===-1||!this.isVisible(t)))return!1;let r=e.nodeName.toLowerCase(),o=cf(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!dx(e)?!1:r==="audio"?e.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,t){return ux(e)&&!this.isDisabled(e)&&(t?.ignoreVisibility||this.isVisible(e))}static{this.\u0275fac=function(t){return new(t||i)(x(me))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function nx(i){try{return i.frameElement}catch{return null}}function rx(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function ox(i){let n=i.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function ax(i){return cx(i)&&i.type=="hidden"}function sx(i){return lx(i)&&i.hasAttribute("href")}function cx(i){return i.nodeName.toLowerCase()=="input"}function lx(i){return i.nodeName.toLowerCase()=="a"}function pf(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let n=i.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function cf(i){if(!pf(i))return null;let n=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function dx(i){let n=i.nodeName.toLowerCase(),e=n==="input"&&i.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function ux(i){return ax(i)?!1:ox(i)||sx(i)||i.hasAttribute("contenteditable")||pf(i)}function hx(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var ad=class{get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}constructor(n,e,t,r,o=!1,a){this._element=n,this._checker=e,this._ngZone=t,this._document=r,this._injector=a,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let t=this._getFirstTabbableElement(e);return t?.focus(n),!!t}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let t=0;t=0;t--){let r=e[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[t]):null;if(r)return r}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?tt(n,{injector:this._injector}):setTimeout(n)}},Nr=(()=>{class i{constructor(e,t,r){this._checker=e,this._ngZone=t,this._injector=F(Ee),this._document=r}create(e,t=!1){return new ad(e,this._checker,this._ngZone,this._document,t,this._injector)}static{this.\u0275fac=function(t){return new(t||i)(x(Nn),x(B),x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Po(i){return i.buttons===0||i.detail===0}function No(i){let n=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var mx=new C("cdk-input-modality-detector-options"),px={ignoreKeys:[18,17,224,91,16]},ff=650,Ar=Bt({passive:!0,capture:!0}),fx=(()=>{class i{get mostRecentModality(){return this._modality.value}constructor(e,t,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new Vi(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(s=>s===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ot(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(No(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ot(a)},this._options=N(N({},px),o),this.modalityDetected=this._modality.pipe(Yn(1)),this.modalityChanged=this.modalityDetected.pipe(Di()),e.isBrowser&&t.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,Ar),r.addEventListener("mousedown",this._onMousedown,Ar),r.addEventListener("touchstart",this._onTouchstart,Ar)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ar),document.removeEventListener("mousedown",this._onMousedown,Ar),document.removeEventListener("touchstart",this._onTouchstart,Ar))}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(B),x(oe),x(mx,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),gx=new C("liveAnnouncerElement",{providedIn:"root",factory:bx});function bx(){return null}var vx=new C("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),_x=0,gf=(()=>{class i{constructor(e,t,r,o){this._ngZone=t,this._defaultOptions=o,this._document=r,this._liveElement=e||this._createLiveElement()}announce(e,...t){let r=this._defaultOptions,o,a;return t.length===1&&typeof t[0]=="number"?a=t[0]:[o,a]=t,this.clear(),clearTimeout(this._previousTimeout),o||(o=r&&r.politeness?r.politeness:"polite"),a==null&&r&&(a=r.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(s=>this._currentResolve=s)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),r=this._document.createElement("div");for(let o=0;o .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{class i{constructor(e,t,r,o,a){this._ngZone=e,this._platform=t,this._inputModalityDetector=r,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new R,this._rootNodeFocusAndBlurListener=s=>{let c=Ot(s);for(let l=c;l;l=l.parentElement)s.type==="focus"?this._onFocus(s,l):this._onBlur(s,l)},this._document=o,this._detectionMode=a?.detectionMode||Es.IMMEDIATE}monitor(e,t=!1){let r=zt(e);if(!this._platform.isBrowser||r.nodeType!==1)return He();let o=tf(r)||this._getDocument(),a=this._elementInfo.get(r);if(a)return t&&(a.checkChildren=!0),a.subject;let s={checkChildren:t,subject:new R,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let t=zt(e),r=this._elementInfo.get(t);r&&(r.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(r))}focusVia(e,t,r){let o=zt(e),a=this._getDocument().activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,c])=>this._originChanged(s,t,c)):(this._setOrigin(t),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===Es.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,t){e.classList.toggle("cdk-focused",!!t),e.classList.toggle("cdk-touch-focused",t==="touch"),e.classList.toggle("cdk-keyboard-focused",t==="keyboard"),e.classList.toggle("cdk-mouse-focused",t==="mouse"),e.classList.toggle("cdk-program-focused",t==="program")}_setOrigin(e,t=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&t,this._detectionMode===Es.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?ff:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,t){let r=this._elementInfo.get(t),o=Ot(e);!r||!r.checkChildren&&t!==o||this._originChanged(t,this._getFocusOrigin(o),r)}_onBlur(e,t){let r=this._elementInfo.get(t);!r||r.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(r,null))}_emitOrigin(e,t){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let t=e.rootNode,r=this._rootNodeFocusListenerCount.get(t)||0;r||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ds),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ds)}),this._rootNodeFocusListenerCount.set(t,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe($(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){let r=this._rootNodeFocusListenerCount.get(t);r>1?this._rootNodeFocusListenerCount.set(t,r-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ds),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ds),this._rootNodeFocusListenerCount.delete(t))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,t,r){this._setClasses(e,t),this._emitOrigin(r,t),this._lastFocusOrigin=t}_getClosestElementsInfo(e){let t=[];return this._elementInfo.forEach((r,o)=>{(o===e||r.checkChildren&&o.contains(e))&&t.push([o,r])}),t}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:t,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!t||t===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let a=0;a{class i{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this._focusOrigin=null,this.cdkFocusChange=new z}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>{this._focusOrigin=t,this.cdkFocusChange.emit(t)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(ot))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"],standalone:!0})}}return i})(),Pn=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(Pn||{}),lf="cdk-high-contrast-black-on-white",df="cdk-high-contrast-white-on-black",nd="cdk-high-contrast-active",cd=(()=>{class i{constructor(e,t){this._platform=e,this._document=t,this._breakpointSubscription=F(Cs).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Pn.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let t=this._document.defaultView||window,r=t&&t.getComputedStyle?t.getComputedStyle(e):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Pn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Pn.BLACK_ON_WHITE}return Pn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(nd,lf,df),this._hasCheckedHighContrastMode=!0;let t=this.getHighContrastMode();t===Pn.BLACK_ON_WHITE?e.add(nd,lf):t===Pn.WHITE_ON_BLACK&&e.add(nd,df)}}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ts=(()=>{class i{constructor(e){e._applyBodyHighContrastModeCssClasses()}static{this.\u0275fac=function(t){return new(t||i)(x(cd))}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[ws]})}}return i})();var xx=new C("cdk-dir-doc",{providedIn:"root",factory:wx});function wx(){return F(oe)}var Cx=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function kx(i){let n=i?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?Cx.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Re=(()=>{class i{constructor(e){if(this.value="ltr",this.change=new z,e){let t=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.value=kx(t||r||"ltr")}}ngOnDestroy(){this.change.complete()}static{this.\u0275fac=function(t){return new(t||i)(x(xx,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var cn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var Dx=["text"],Ex=[[["mat-icon"]],"*"],Ix=["mat-icon","*"];function Sx(i,n){if(i&1&&ie(0,"mat-pseudo-checkbox",1),i&2){let e=fe();ue("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function Tx(i,n){if(i&1&&ie(0,"mat-pseudo-checkbox",3),i&2){let e=fe();ue("disabled",e.disabled)}}function Mx(i,n){if(i&1&&(w(0,"span",4),Tt(1),I()),i&2){let e=fe();V(),ra("(",e.group.label,")")}}var Ax=["mat-internal-form-field",""],Ox=["*"];function Rx(){return!0}var Fx=new C("mat-sanity-checks",{providedIn:"root",factory:Rx}),K=(()=>{class i{constructor(e,t,r){this._sanityChecks=t,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return Ro()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[e]}static{this.\u0275fac=function(t){return new(t||i)(x(cd),x(Fx,8),x(oe))}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[cn,cn]})}}return i})();var ln=class{constructor(n,e,t,r,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=t,this._parentForm=r,this._stateChanges=o,this.errorState=!1}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,r=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(r,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var dn=(()=>{class i{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var pd=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})(),ei=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(ei||{}),ud=class{constructor(n,e,t,r=!1){this._renderer=n,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=r,this.state=ei.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},vf=Bt({passive:!0,capture:!0}),hd=class{constructor(){this._events=new Map,this._delegateEventHandler=n=>{let e=Ot(n);e&&this._events.get(n.type)?.forEach((t,r)=>{(r===e||r.contains(e))&&t.forEach(o=>o.handleEvent(n))})}}addHandler(n,e,t,r){let o=this._events.get(e);if(o){let a=o.get(t);a?a.add(r):o.set(t,new Set([r]))}else this._events.set(e,new Map([[t,new Set([r])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,vf)})}removeHandler(n,e,t){let r=this._events.get(n);if(!r)return;let o=r.get(e);o&&(o.delete(t),o.size===0&&r.delete(e),r.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,vf)))}},_f={enterDuration:225,exitDuration:150},Px=800,yf=Bt({passive:!0,capture:!0}),xf=["mousedown","touchstart"],wf=["mouseup","mouseleave","touchend","touchcancel"],md=class i{static{this._eventManager=new hd}constructor(n,e,t,r){this._target=n,this._ngZone=e,this._platform=r,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=zt(t))}fadeInRipple(n,e,t={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=N(N({},_f),t.animation);t.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=t.radius||Nx(n,e,r),s=n-r.left,c=e-r.top,l=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${c-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(d);let h=window.getComputedStyle(d),m=h.transitionProperty,p=h.transitionDuration,f=m==="none"||p==="0s"||p==="0s, 0s"||r.width===0&&r.height===0,g=new ud(this,d,t,f);d.style.transform="scale3d(1, 1, 1)",g.state=ei.FADING_IN,t.persistent||(this._mostRecentTransientRipple=g);let _=null;return!f&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let v=()=>{_&&(_.fallbackTimer=null),clearTimeout(y),this._finishRippleTransition(g)},M=()=>this._destroyRipple(g),y=setTimeout(M,l+100);d.addEventListener("transitionend",v),d.addEventListener("transitioncancel",M),_={onTransitionEnd:v,onTransitionCancel:M,fallbackTimer:y}}),this._activeRipples.set(g,_),(f||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(n){if(n.state===ei.FADING_OUT||n.state===ei.HIDDEN)return;let e=n.element,t=N(N({},_f),n.config.animation);e.style.transitionDuration=`${t.exitDuration}ms`,e.style.opacity="0",n.state=ei.FADING_OUT,(n._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=zt(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,xf.forEach(t=>{i._eventManager.addHandler(this._ngZone,t,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{wf.forEach(e=>{this._triggerElement.addEventListener(e,this,yf)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===ei.FADING_IN?this._startFadeOutTransition(n):n.state===ei.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:t}=n.config;n.state=ei.VISIBLE,!t&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=ei.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=Po(n),t=this._lastTouchStartEvent&&Date.now(){let e=n.state===ei.VISIBLE||n.config.terminateOnPointerUp&&n.state===ei.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(xf.forEach(e=>i._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(wf.forEach(e=>n.removeEventListener(e,this,yf)),this._pointerUpEventsRegistered=!1))}};function Nx(i,n,e){let t=Math.max(Math.abs(i-e.left),Math.abs(i-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(t*t+r*r)}var Ln=new C("mat-ripple-global-options"),ti=(()=>{class i{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,t,r,o,a){this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new md(this,t,e,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:N(N(N({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,r){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,N(N({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,N(N({},this.rippleConfig),e))}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B),u(me),u(Ln,8),u(Ce,8))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-ripple-unbounded",r.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0})}}return i})(),jn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})(),Lx=(()=>{class i{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1,this.appearance="full"}static{this.\u0275fac=function(t){return new(t||i)(u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,r){t&2&&P("mat-pseudo-checkbox-indeterminate",r.state==="indeterminate")("mat-pseudo-checkbox-checked",r.state==="checked")("mat-pseudo-checkbox-disabled",r.disabled)("mat-pseudo-checkbox-minimal",r.appearance==="minimal")("mat-pseudo-checkbox-full",r.appearance==="full")("_mat-animation-noopable",r._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Q],decls:0,vars:0,template:function(t,r){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-app-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-app-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})}}return i})(),jx=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K]})}}return i})(),jo=new C("MAT_OPTION_PARENT_COMPONENT");var Vo=new C("MatOptgroup");var Vx=0,Lo=class{constructor(n,e=!1){this.source=n,this.isUserInput=e}},As=(()=>{class i{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=e}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(e,t,r,o){this._element=e,this._changeDetectorRef=t,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${Vx++}`,this.onSelectionChange=new z,this._stateChanges=new R}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let r=this._getHostElement();typeof r.focus=="function"&&r.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!Le(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Lo(this,e))}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(jo,8),u(Vo,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-option"]],viewQuery:function(t,r){if(t&1&&re(Dx,7),t&2){let o;S(o=T())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,r){t&1&&ee("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),t&2&&(St("id",r.id),W("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),P("mdc-list-item--selected",r.selected)("mat-mdc-option-multiple",r.multiple)("mat-mdc-option-active",r.active)("mdc-list-item--disabled",r.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",O]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[ae,Q],ngContentSelectors:Ix,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,r){t&1&&(se(Ex),te(0,Sx,1,2,"mat-pseudo-checkbox",1),A(1),w(2,"span",2,0),A(4,1),I(),te(5,Tx,1,1,"mat-pseudo-checkbox",3)(6,Mx,2,1,"span",4),ie(7,"div",5)),t&2&&(ge(r.multiple?0:-1),V(5),ge(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),V(),ge(r.group&&r.group._inert?6:-1),V(),ue("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[Lx,ti],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-app-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color);outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-app-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();function Os(i,n,e){if(e.length){let t=n.toArray(),r=e.toArray(),o=0;for(let a=0;ae+t?Math.max(0,i-t+n):e}var Lr=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[jn,K,jx]})}}return i})(),Cf={capture:!0},kf=["focus","mousedown","mouseenter","touchstart"],ld="mat-ripple-loader-uninitialized",dd="mat-ripple-loader-class-name",Df="mat-ripple-loader-centered",Ms="mat-ripple-loader-disabled",Fs=(()=>{class i{constructor(){this._document=F(oe,{optional:!0}),this._animationMode=F(Ce,{optional:!0}),this._globalRippleOptions=F(Ln,{optional:!0}),this._platform=F(me),this._ngZone=F(B),this._hosts=new Map,this._onInteraction=e=>{let t=Ot(e);if(t instanceof HTMLElement){let r=t.closest(`[${ld}="${this._globalRippleOptions?.namespace??""}"]`);r&&this._createRipple(r)}},this._ngZone.runOutsideAngular(()=>{for(let e of kf)this._document?.addEventListener(e,this._onInteraction,Cf)})}ngOnDestroy(){let e=this._hosts.keys();for(let t of e)this.destroyRipple(t);for(let t of kf)this._document?.removeEventListener(t,this._onInteraction,Cf)}configureRipple(e,t){e.setAttribute(ld,this._globalRippleOptions?.namespace??""),(t.className||!e.hasAttribute(dd))&&e.setAttribute(dd,t.className||""),t.centered&&e.setAttribute(Df,""),t.disabled&&e.setAttribute(Ms,"")}getRipple(e){return this._hosts.get(e)||this._createRipple(e)}setDisabled(e,t){let r=this._hosts.get(e);if(r){r.disabled=t;return}t?e.setAttribute(Ms,""):e.removeAttribute(Ms)}_createRipple(e){if(!this._document)return;let t=this._hosts.get(e);if(t)return t;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(dd)),e.append(r);let o=new ti(new E(r),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return o._isInitialized=!0,o.trigger=e,o.centered=e.hasAttribute(Df),o.disabled=e.hasAttribute(Ms),this.attachRipple(e,o),o}attachRipple(e,t){e.removeAttribute(ld),this._hosts.set(e,t)}destroyRipple(e){let t=this._hosts.get(e);t&&(t.ngOnDestroy(),this._hosts.delete(e))}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ef=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[Q],attrs:Ax,ngContentSelectors:Ox,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},styles:[".mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}"],encapsulation:2,changeDetection:0})}}return i})();var Sf=["mat-button",""],gd=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],bd=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Bx='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',vd=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var zx=["mat-mini-fab",""],Hx='.mat-mdc-fab-base{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mdc-fab-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-container-shape, var(--mat-app-corner-large));color:var(--mat-fab-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mdc-fab-small-container-color, var(--mat-app-primary-container));border-radius:var(--mdc-fab-small-container-shape, var(--mat-app-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-app-on-primary-container, inherit));box-shadow:var(--mdc-fab-small-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-app-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mdc-extended-fab-container-elevation-shadow, var(--mat-app-level3));height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape, var(--mat-app-corner-large));font-family:var(--mdc-extended-fab-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-extended-fab-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-extended-fab-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-extended-fab-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow, var(--mat-app-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow, var(--mat-app-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}',Tf=["mat-icon-button",""],Mf=["*"],Qx='.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Ux=new C("MAT_BUTTON_CONFIG");var qx=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Ps=(()=>{class i{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}constructor(e,t,r,o){this._elementRef=e,this._platform=t,this._ngZone=r,this._animationMode=o,this._focusMonitor=F(ot),this._rippleLoader=F(Fs),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=F(Ux,{optional:!0}),s=e.nativeElement,c=s.classList;this.disabledInteractive=a?.disabledInteractive??!1,this.color=a?.color??null,this._rippleLoader?.configureRipple(s,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:d}of qx)s.hasAttribute(l)&&c.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",t){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,t):this._elementRef.nativeElement.focus(t)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static{this.\u0275fac=function(t){rc()}}static{this.\u0275dir=D({type:i,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",O],disabled:[2,"disabled","disabled",O],ariaDisabled:[2,"aria-disabled","ariaDisabled",O],disabledInteractive:[2,"disabledInteractive","disabledInteractive",O]},features:[ae]})}}return i})();var Af=(()=>{class i extends Ps{constructor(e,t,r,o){super(e,t,r,o),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}static{this.\u0275fac=function(t){rc()}}static{this.\u0275dir=D({type:i,inputs:{tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Ye(e)]},features:[ae,ne]})}}return i})(),VN=(()=>{class i extends Ps{constructor(e,t,r,o){super(e,t,r,o)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,Q],attrs:Sf,ngContentSelectors:bd,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(gd),ie(0,"span",0),A(1),w(2,"span",1),A(3,1),I(),A(4,2),ie(5,"span",2)(6,"span",3)),t&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 8px);height:var(--mdc-text-button-container-height);font-family:var(--mdc-text-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, var(--mat-app-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-filled-button-horizontal-padding, 16px);height:var(--mdc-filled-button-container-height);font-family:var(--mdc-filled-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color, var(--mat-app-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-app-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-app-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow, var(--mat-app-level1));height:var(--mdc-protected-button-container-height);font-family:var(--mdc-protected-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-app-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-app-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-app-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-app-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow, var(--mat-app-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow, var(--mat-app-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 var(--mat-outlined-button-horizontal-padding, 15px);height:var(--mdc-outlined-button-container-height);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-app-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-app-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-app-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-app-corner-full));border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color, var(--mat-app-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-app-primary));border-color:var(--mdc-outlined-button-outline-color, var(--mat-app-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}}return i})(),BN=(()=>{class i extends Af{constructor(e,t,r,o){super(e,t,r,o)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getDisabledAttribute()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[ne,Q],attrs:Sf,ngContentSelectors:bd,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(gd),ie(0,"span",0),A(1),w(2,"span",1),A(3,1),I(),A(4,2),ie(5,"span",2)(6,"span",3)),t&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[Bx,vd],encapsulation:2,changeDetection:0})}}return i})(),Wx=new C("mat-mdc-fab-default-options",{providedIn:"root",factory:Of});function Of(){return{color:"accent"}}var If=Of();var zN=(()=>{class i extends Ps{constructor(e,t,r,o,a){super(e,t,r,o),this._options=a,this._isFab=!0,this._options=this._options||If,this.color=this._options.color||If.color}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(Ce,8),u(Wx,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,Q],attrs:zx,ngContentSelectors:bd,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(gd),ie(0,"span",0),A(1),w(2,"span",1),A(3,1),I(),A(4,2),ie(5,"span",2)(6,"span",3)),t&2&&P("mdc-button__ripple",!r._isFab)("mdc-fab__ripple",r._isFab)},styles:[Hx],encapsulation:2,changeDetection:0})}}return i})();var HN=(()=>{class i extends Ps{constructor(e,t,r,o){super(e,t,r,o),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[ne,Q],attrs:Tf,ngContentSelectors:Mf,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(),ie(0,"span",0),A(1),ie(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);color:var(--mdc-icon-button-icon-color, var(--mat-app-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',vd],encapsulation:2,changeDetection:0})}}return i})(),QN=(()=>{class i extends Af{constructor(e,t,r,o){super(e,t,r,o)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(B),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["a","mat-icon-button",""]],hostVars:15,hostBindings:function(t,r){t&2&&(W("disabled",r._getDisabledAttribute())("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-disabled",r._getDisabledAttribute()),qe(r.color?"mat-"+r.color:""),P("mat-mdc-button-disabled",r.disabled)("mat-mdc-button-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mat-unthemed",!r.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[ne,Q],attrs:Tf,ngContentSelectors:Mf,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(t,r){t&1&&(se(),ie(0,"span",0),A(1),ie(2,"span",1)(3,"span",2))},styles:[Qx,vd],encapsulation:2,changeDetection:0})}}return i})(),Rf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,jn,K]})}}return i})();var Gx=We` - fragment QueueJob on QueueJob { - id - queue - status - payload - priority - retries - maxRetries - runAfter - ranAt - error - createdAt -} - `,$x=We` - fragment QueueJobsQueryResult on QueueJobsQueryResult { - items { - ...QueueJob - } - totalCount - hasNextPage - aggregations { - queue { - value - label - count - } - status { - value - label - count - } - } -} - ${Gx}`,Yx=We` - fragment Torrent on Torrent { - infoHash - name - size - filesStatus - filesCount - hasFilesInfo - singleFile - fileType - sources { - key - name - } - seeders - leechers - tagNames - magnetUri - createdAt - updatedAt -} - `,Kx=We` - fragment Content on Content { - type - source - id - metadataSource { - key - name - } - title - releaseDate - releaseYear - overview - runtime - voteAverage - voteCount - originalLanguage { - id - name - } - attributes { - metadataSource { - key - name - } - source - key - value - createdAt - updatedAt - } - collections { - metadataSource { - key - name - } - type - source - id - name - createdAt - updatedAt - } - externalLinks { - metadataSource { - key - name - } - url - } - createdAt - updatedAt -} - `,Xx=We` - fragment TorrentContent on TorrentContent { - id - infoHash - contentType - title - torrent { - ...Torrent - } - content { - ...Content - } - languages { - id - name - } - episodes { - label - seasons { - season - episodes - } - } - video3d - videoCodec - videoModifier - videoResolution - videoSource - seeders - leechers - publishedAt - createdAt - updatedAt -} - ${Yx} -${Kx}`,Zx=We` - fragment TorrentContentSearchResult on TorrentContentSearchResult { - items { - ...TorrentContent - } - totalCount - totalCountIsEstimate - hasNextPage - aggregations { - contentType { - value - label - count - isEstimate - } - torrentSource { - value - label - count - isEstimate - } - torrentTag { - value - label - count - isEstimate - } - torrentFileType { - value - label - count - isEstimate - } - language { - value - label - count - isEstimate - } - genre { - value - label - count - isEstimate - } - releaseYear { - value - label - count - isEstimate - } - videoResolution { - value - label - count - isEstimate - } - videoSource { - value - label - count - isEstimate - } - } -} - ${Xx}`,Jx=We` - fragment TorrentFile on TorrentFile { - infoHash - index - path - size - fileType - createdAt - updatedAt -} - `,ew=We` - fragment TorrentFilesQueryResult on TorrentFilesQueryResult { - items { - ...TorrentFile - } - totalCount - hasNextPage -} - ${Jx}`,Ff=We` - mutation Download($infoHashes: [Hash20!]!) { - downloadclient { - download(infoHashes: $infoHashes) - } -} - `;var WN=We` - mutation QueueEnqueueReprocessTorrentsBatch($input: QueueEnqueueReprocessTorrentsBatchInput!) { - queue { - enqueueReprocessTorrentsBatch(input: $input) - } -} - `;var GN=We` - mutation QueuePurgeJobs($input: QueuePurgeJobsInput!) { - queue { - purgeJobs(input: $input) - } -} - `;var Pf=We` - mutation TorrentDelete($infoHashes: [Hash20!]!) { - torrent { - delete(infoHashes: $infoHashes) - } -} - `;var Nf=We` - mutation TorrentDeleteTags($infoHashes: [Hash20!], $tagNames: [String!]) { - torrent { - deleteTags(infoHashes: $infoHashes, tagNames: $tagNames) - } -} - `;var Lf=We` - mutation TorrentPutTags($infoHashes: [Hash20!]!, $tagNames: [String!]!) { - torrent { - putTags(infoHashes: $infoHashes, tagNames: $tagNames) - } -} - `;var jf=We` - mutation TorrentSetTags($infoHashes: [Hash20!]!, $tagNames: [String!]!) { - torrent { - setTags(infoHashes: $infoHashes, tagNames: $tagNames) - } -} - `;var Vf=We` - query DownloadClientEnabled { - downloadClient { - enabled - } -} - `;var $N=We` - query HealthCheck { - health { - status - checks { - key - status - timestamp - error - } - } - workers { - listAll { - workers { - key - started - } - } - } -} - `;var YN=We` - query QueueJobs($input: QueueJobsQueryInput!) { - queue { - jobs(input: $input) { - ...QueueJobsQueryResult - } - } -} - ${$x}`;var KN=We` - query QueueMetrics($input: QueueMetricsQueryInput!) { - queue { - metrics(input: $input) { - buckets { - queue - status - createdAtBucket - ranAtBucket - count - latency - } - } - } -} - `;var XN=We` - query TorrentContentSearch($input: TorrentContentSearchQueryInput!) { - torrentContent { - search(input: $input) { - ...TorrentContentSearchResult - } - } -} - ${Zx}`;var ZN=We` - query TorrentFiles($input: TorrentFilesQueryInput!) { - torrent { - files(input: $input) { - ...TorrentFilesQueryResult - } - } -} - ${ew}`;var JN=We` - query TorrentMetrics($input: TorrentMetricsQueryInput!) { - torrent { - metrics(input: $input) { - buckets { - source - updated - bucket - count - } - } - listSources { - sources { - key - name - } - } - } -} - `;var Bf=We` - query TorrentSuggestTags($input: SuggestTagsQueryInput!) { - torrent { - suggestTags(input: $input) { - suggestions { - name - count - } - } - } -} - `;var eL=We` - query Version { - version -} - `;var nw=(i,n,e)=>{let t=["POST","PUT","PATCH"].indexOf(i.method.toUpperCase())!==-1,r=l=>["variables","extensions"].indexOf(l.toLowerCase())!==-1,o=i.body.length,a=i.options&&i.options.useMultipart,s;if(a){if(o)return new Ge(l=>l.error(new Error("File upload is not available when combined with Batching")));if(!t)return new Ge(l=>l.error(new Error("File upload is not available when GET is used")));if(!e)return new Ge(l=>l.error(new Error(`To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink's options`)));s=e(i.body),a=!!s.files.size}let c={};if(o){if(!t)return new Ge(l=>l.error(new Error("Batching is not available for GET requests")));c={body:i.body}}else{let l=a?s.clone:i.body;t?c={body:l}:c={params:Object.keys(i.body).reduce((h,m)=>{let p=i.body[m];return h[m]=r(m)?JSON.stringify(p):p,h},{})}}if(a&&t){let l=new FormData;l.append("operations",JSON.stringify(c.body));let d={},h=s.files,m=0;h.forEach(p=>{d[++m]=p}),l.append("map",JSON.stringify(d)),m=0,h.forEach((p,f)=>{l.append(++m+"",f,f.name)}),c.body=l}return n.request(i.method,i.url,N(N({observe:"response",responseType:"json",reportProgress:!1},c),i.options))},rw=(i,n)=>i&&n?n.keys().reduce((t,r)=>t.set(r,n.getAll(r)),i):n||i;function ow(...i){return i.find(n=>typeof n<"u")}function aw(i){let n=i.headers&&i.headers instanceof hc?i.headers:new hc(i.headers);if(i.clientAwareness){let{name:e,version:t}=i.clientAwareness;e&&!n.has("apollographql-client-name")&&(n=n.set("apollographql-client-name",e)),t&&!n.has("apollographql-client-version")&&(n=n.set("apollographql-client-version",t))}return n}var sw={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function jr(i,n,e){return ow(i[e],n[e],sw[e])}var _d=class extends Xt{httpClient;options;requester;print=mr;constructor(n,e){super(),this.httpClient=n,this.options=e,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=t=>new we(r=>{let o=t.getContext(),a=jr(o,this.options,"method"),s=jr(o,this.options,"includeQuery"),c=jr(o,this.options,"includeExtensions"),l=jr(o,this.options,"uri"),d=jr(o,this.options,"withCredentials"),h=jr(o,this.options,"useMultipart"),m=this.options.useGETForQueries===!0,p=t.query.definitions.some(v=>v.kind==="OperationDefinition"&&v.operation==="query");m&&p&&(a="GET");let f={method:a,url:typeof l=="function"?l(t):l,body:{operationName:t.operationName,variables:t.variables},options:{withCredentials:d,useMultipart:h,headers:this.options.headers}};c&&(f.body.extensions=t.extensions),s&&(f.body.query=this.print(t.query));let g=aw(o);f.options.headers=rw(f.options.headers,g);let _=nw(f,this.httpClient,this.options.extractFiles).subscribe({next:v=>{t.setContext({response:v}),r.next(v.body)},error:v=>r.error(v),complete:()=>r.complete()});return()=>{_.closed||_.unsubscribe()}})}request(n){return this.requester(n)}},zf=(()=>{class i{httpClient;constructor(e){this.httpClient=e}create(e){return new _d(this.httpClient,e)}static \u0275fac=function(t){return new(t||i)(x(la))};static \u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Hf=window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/graphql";var Qf=(()=>{class i{constructor(e){this.apollo=e}torrentDelete(e){return this.apollo.mutate({mutation:Pf,variables:e,fetchPolicy:Vr}).pipe(xe(()=>{}))}torrentPutTags(e){return this.apollo.mutate({mutation:Lf,variables:e,fetchPolicy:Vr}).pipe(xe(()=>{}))}torrentSetTags(e){return this.apollo.mutate({mutation:jf,variables:e,fetchPolicy:Vr}).pipe(xe(()=>{}))}torrentDeleteTags(e){return this.apollo.mutate({mutation:Nf,variables:e,fetchPolicy:Vr}).pipe(xe(()=>{}))}torrentSuggestTags(e){return this.apollo.query({query:Bf,variables:e,fetchPolicy:Vr}).pipe(xe(t=>t.data.torrent.suggestTags))}clientDownload(e){return this.apollo.mutate({mutation:Ff,variables:e,fetchPolicy:Vr}).pipe(xe(()=>{}))}downloadClientEnabledQuery(){return this.apollo.query({query:Vf}).pipe(xe(e=>e.data.downloadClient.enabled))}static{this.\u0275fac=function(t){return new(t||i)(x(Xl))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac})}}return i})(),Vr="no-cache";function cw(i){return{link:i.create({uri:Hf}),cache:new So({typePolicies:{Query:{fields:{search:{merge(n,e){return N(N({},n),e)}}}}}})}}var Uf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[{provide:Kl,useFactory:cw,deps:[zf]},Qf],imports:[Jp]})}}return i})();var yd=class{constructor(n){this._box=n,this._destroyed=new R,this._resizeSubject=new R,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new Ge(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),t.unsubscribe(),this._elementObservables.delete(n)}}).pipe(ye(e=>e.some(t=>t.target===n)),Wr({bufferSize:1,refCount:!0}),$(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Ns=(()=>{class i{constructor(){this._observers=new Map,this._ngZone=F(B),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,t){let r=t?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new yd(r)),this._observers.get(r).observe(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var lw=["notch"],dw=["matFormFieldNotchedOutline",""],uw=["*"],hw=["textField"],mw=["iconPrefixContainer"],pw=["textPrefixContainer"],fw=["iconSuffixContainer"],gw=["textSuffixContainer"],bw=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],vw=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function _w(i,n){i&1&&ie(0,"span",21)}function yw(i,n){if(i&1&&(w(0,"label",20),A(1,1),te(2,_w,1,0,"span",21),I()),i&2){let e=fe(2);ue("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),W("for",e._control.disableAutomaticLabeling?null:e._control.id),V(2),ge(!e.hideRequiredMarker&&e._control.required?2:-1)}}function xw(i,n){if(i&1&&te(0,yw,3,5,"label",20),i&2){let e=fe();ge(e._hasFloatingLabel()?0:-1)}}function ww(i,n){i&1&&ie(0,"div",7)}function Cw(i,n){}function kw(i,n){if(i&1&&te(0,Cw,0,0,"ng-template",13),i&2){fe(2);let e=$t(1);ue("ngTemplateOutlet",e)}}function Dw(i,n){if(i&1&&(w(0,"div",9),te(1,kw,1,1,null,13),I()),i&2){let e=fe();ue("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),V(),ge(e._forceDisplayInfixLabel()?-1:1)}}function Ew(i,n){i&1&&(w(0,"div",10,2),A(2,2),I())}function Iw(i,n){i&1&&(w(0,"div",11,3),A(2,3),I())}function Sw(i,n){}function Tw(i,n){if(i&1&&te(0,Sw,0,0,"ng-template",13),i&2){fe();let e=$t(1);ue("ngTemplateOutlet",e)}}function Mw(i,n){i&1&&(w(0,"div",14,4),A(2,4),I())}function Aw(i,n){i&1&&(w(0,"div",15,5),A(2,5),I())}function Ow(i,n){i&1&&ie(0,"div",16)}function Rw(i,n){if(i&1&&(w(0,"div",18),A(1,6),I()),i&2){let e=fe();ue("@transitionMessages",e._subscriptAnimationState)}}function Fw(i,n){if(i&1&&(w(0,"mat-hint",22),Tt(1),I()),i&2){let e=fe(2);ue("id",e._hintLabelId),V(),oi(e.hintLabel)}}function Pw(i,n){if(i&1&&(w(0,"div",19),te(1,Fw,2,2,"mat-hint",22),A(2,7),ie(3,"div",23),A(4,8),I()),i&2){let e=fe();ue("@transitionMessages",e._subscriptAnimationState),V(),ge(e.hintLabel?1:-1)}}var qf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-label"]],standalone:!0})}}return i})();var Nw=new C("MatError");var Lw=0,Wf=(()=>{class i{constructor(){this.align="start",this.id=`mat-mdc-hint-${Lw++}`}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,r){t&2&&(St("id",r.id),W("align",null),P("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0})}}return i})(),jw=new C("MatPrefix");var Vw=new C("MatSuffix");var eg=new C("FloatingLabelParent"),Gf=(()=>{class i{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=F(Ns),this._ngZone=F(B),this._parent=F(eg),this._resizeSubscription=new Te}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Bw(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return i})();function Bw(i){let n=i;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var $f="mdc-line-ripple--active",Ls="mdc-line-ripple--deactivating",Yf=(()=>{class i{constructor(e,t){this._elementRef=e,this._handleTransitionEnd=r=>{let o=this._elementRef.nativeElement.classList,a=o.contains(Ls);r.propertyName==="opacity"&&a&&o.remove($f,Ls)},t.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Ls),e.add($f)}deactivate(){this._elementRef.nativeElement.classList.add(Ls)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B))}}static{this.\u0275dir=D({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return i})(),Kf=(()=>{class i{constructor(e,t){this._elementRef=e,this._ngZone=t,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B))}}static{this.\u0275cmp=H({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,r){if(t&1&&re(lw,5),t&2){let o;S(o=T())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Q],attrs:dw,ngContentSelectors:uw,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,r){t&1&&(se(),ie(0,"div",1),w(1,"div",2,0),A(3),I(),ie(4,"div",3))},encapsulation:2,changeDetection:0})}}return i})(),zw={transitionMessages:gt("transitionMessages",[nt("enter",Oe({opacity:1,transform:"translateY(0%)"})),Je("void => enter",[Oe({opacity:0,transform:"translateY(-5px)"}),Ze("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Vn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i})}}return i})();var Ri=new C("MatFormField"),Hw=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Xf=0,Zf="fill",Qw="auto",Jf="fixed",Uw="translateY(-50%)",QL=(()=>{class i{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ut(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Qw}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let t=this._appearance,r=e||this._defaults?.appearance||Zf;this._appearance=r,this._appearance==="outline"&&this._appearance!==t&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Jf}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Jf}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,t,r,o,a,s,c,l){this._elementRef=e,this._changeDetectorRef=t,this._dir=o,this._platform=a,this._defaults=s,this._animationMode=c,this._labelChild=Fu(qf),this._hideRequiredMarker=!1,this.color="primary",this._appearance=Zf,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Xf++}`,this._hintLabelId=`mat-mdc-hint-${Xf++}`,this._subscriptAnimationState="",this._destroyed=new R,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=F(Ee),this.getLabelId=bi(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=bi(()=>!!this._labelChild()),s&&(s.appearance&&(this.appearance=s.appearance),this._hideRequiredMarker=!!s?.hideRequiredMarker,s.color&&(this.color=s.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(r+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe($(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Fe(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),na(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe($(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let t=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let t=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=t?.getBoundingClientRect().width??0,c=r?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,d=a?.getBoundingClientRect().width??0,h=this._dir.value==="rtl"?"-1":"1",m=`${s+c}px`,f=`calc(${h} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( - --mat-mdc-form-field-label-transform, - ${Uw} translateX(${f}) - )`;let g=s+c+l+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${g}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(B),u(Re),u(me),u(Hw,8),u(Ce,8),u(oe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-form-field"]],contentQueries:function(t,r,o){if(t&1&&(Bu(o,r._labelChild,qf,5),he(o,Vn,5),he(o,jw,5),he(o,Vw,5),he(o,Nw,5),he(o,Wf,5)),t&2){zu();let a;S(a=T())&&(r._formFieldControl=a.first),S(a=T())&&(r._prefixChildren=a),S(a=T())&&(r._suffixChildren=a),S(a=T())&&(r._errorChildren=a),S(a=T())&&(r._hintChildren=a)}},viewQuery:function(t,r){if(t&1&&(re(hw,5),re(mw,5),re(pw,5),re(fw,5),re(gw,5),re(Gf,5),re(Kf,5),re(Yf,5)),t&2){let o;S(o=T())&&(r._textField=o.first),S(o=T())&&(r._iconPrefixContainer=o.first),S(o=T())&&(r._textPrefixContainer=o.first),S(o=T())&&(r._iconSuffixContainer=o.first),S(o=T())&&(r._textSuffixContainer=o.first),S(o=T())&&(r._floatingLabel=o.first),S(o=T())&&(r._notchedOutline=o.first),S(o=T())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(t,r){t&2&&P("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[de([{provide:Ri,useExisting:i},{provide:eg,useExisting:i}]),Q],ngContentSelectors:vw,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,r){if(t&1){let o=$e();se(bw),te(0,xw,1,1,"ng-template",null,0,oa),w(2,"div",6,1),ee("click",function(s){return ce(o),le(r._control.onContainerClick(s))}),te(4,ww,1,0,"div",7),w(5,"div",8),te(6,Dw,2,2,"div",9)(7,Ew,3,0,"div",10)(8,Iw,3,0,"div",11),w(9,"div",12),te(10,Tw,1,1,null,13),A(11),I(),te(12,Mw,3,0,"div",14)(13,Aw,3,0,"div",15),I(),te(14,Ow,1,0,"div",16),I(),w(15,"div",17),te(16,Rw,2,1,"div",18)(17,Pw,5,2,"div",19),I()}if(t&2){let o;V(2),P("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),V(2),ge(!r._hasOutline()&&!r._control.disabled?4:-1),V(2),ge(r._hasOutline()?6:-1),V(),ge(r._hasIconPrefix?7:-1),V(),ge(r._hasTextPrefix?8:-1),V(2),ge(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),V(2),ge(r._hasTextSuffix?12:-1),V(),ge(r._hasIconSuffix?13:-1),V(),ge(r._hasOutline()?-1:14),V(),P("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),V(),ge((o=r._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[Gf,Kf,ca,Yf,Wf],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[zw.transitionMessages]},changeDetection:0})}}return i})(),Bn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,yt,ws,K]})}}return i})();var qw=["*"];var Ww=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Gw=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, - [mat-card-title], [mat-card-subtitle], - [matCardTitle], [matCardSubtitle]`,"*"],$w=new C("MAT_CARD_CONFIG"),ij=(()=>{class i{constructor(e){this.appearance=e?.appearance||"raised"}static{this.\u0275fac=function(t){return new(t||i)(u($w,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(t,r){t&2&&P("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[Q],ngContentSelectors:qw,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-app-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));border-width:var(--mdc-outlined-card-outline-width);border-color:var(--mdc-outlined-card-outline-color, var(--mat-app-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-app-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-app-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-app-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-app-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-app-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-app-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-app-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-app-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-app-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-app-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-app-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-app-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}}return i})(),nj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0})}}return i})();var rj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}}return i})(),oj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"],standalone:!0})}}return i})(),aj=(()=>{class i{constructor(){this.align="start"}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"],standalone:!0})}}return i})(),sj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[Q],ngContentSelectors:Gw,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(t,r){t&1&&(se(Ww),A(0),w(1,"div",0),A(2,1),I(),A(3,2))},encapsulation:2,changeDetection:0})}}return i})();var cj=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-mdc-card-avatar"],standalone:!0})}}return i})();var tg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,yt,K]})}}return i})();var Yw=["input"],Kw=["label"],Xw=["*"],Zw=new C("mat-checkbox-default-options",{providedIn:"root",factory:ng});function ng(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var kt=function(i){return i[i.Init=0]="Init",i[i.Checked=1]="Checked",i[i.Unchecked=2]="Unchecked",i[i.Indeterminate=3]="Indeterminate",i}(kt||{}),Jw={provide:vn,useExisting:Lt(()=>rg),multi:!0},xd=class{},eC=0,ig=ng(),rg=(()=>{class i{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new xd;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,t,r,o,a,s){this._elementRef=e,this._changeDetectorRef=t,this._ngZone=r,this._animationMode=a,this._options=s,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new z,this.indeterminateChange=new z,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=kt.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||ig,this.color=this._options.color||ig.color,this.tabIndex=parseInt(o)||0,this.id=this._uniqueId=`mat-mdc-checkbox-${++eC}`,this.disabledInteractive=s?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){let t=e!=this._indeterminate;this._indeterminate=e,t&&(this._indeterminate?this._transitionCheckState(kt.Indeterminate):this._transitionCheckState(this.checked?kt.Checked:kt.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,r=this._getAnimationTargetElement();if(!(t===e||!r)&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);let o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?kt.Checked:kt.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationMode==="NoopAnimations")return"";switch(e){case kt.Init:if(t===kt.Checked)return this._animationClasses.uncheckedToChecked;if(t==kt.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case kt.Unchecked:return t===kt.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case kt.Checked:return t===kt.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case kt.Indeterminate:return t===kt.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(B),It("tabindex"),u(Ce,8),u(Zw,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-checkbox"]],viewQuery:function(t,r){if(t&1&&(re(Yw,5),re(Kw,5),re(ti,5)),t&2){let o;S(o=T())&&(r._inputElement=o.first),S(o=T())&&(r._labelElement=o.first),S(o=T())&&(r.ripple=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,r){t&2&&(St("id",r.id),W("tabindex",null)("aria-label",null)("aria-labelledby",null),qe(r.color?"mat-"+r.color:"mat-accent"),P("_mat-animation-noopable",r._animationMode==="NoopAnimations")("mdc-checkbox--disabled",r.disabled)("mat-mdc-checkbox-disabled",r.disabled)("mat-mdc-checkbox-checked",r.checked)("mat-mdc-checkbox-disabled-interactive",r.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",O],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Ye(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",O],checked:[2,"checked","checked",O],disabled:[2,"disabled","disabled",O],indeterminate:[2,"indeterminate","indeterminate",O]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[de([Jw,{provide:to,useExisting:i,multi:!0}]),ae,Pe,Q],ngContentSelectors:Xw,decls:15,vars:20,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,r){if(t&1){let o=$e();se(),w(0,"div",3),ee("click",function(s){return ce(o),le(r._preventBubblingFromLabel(s))}),w(1,"div",4,0)(3,"div",5),ee("click",function(){return ce(o),le(r._onTouchTargetClick())}),I(),w(4,"input",6,1),ee("blur",function(){return ce(o),le(r._onBlur())})("click",function(){return ce(o),le(r._onInputClick())})("change",function(s){return ce(o),le(r._onInteractionEvent(s))}),I(),ie(6,"div",7),w(7,"div",8),Wt(),w(8,"svg",9),ie(9,"path",10),I(),ea(),ie(10,"div",11),I(),ie(11,"div",12),I(),w(12,"label",13,2),A(14),I()()}if(t&2){let o=$t(2);ue("labelPosition",r.labelPosition),V(4),P("mdc-checkbox--selected",r.checked),ue("checked",r.checked)("indeterminate",r.indeterminate)("disabled",r.disabled&&!r.disabledInteractive)("id",r.inputId)("required",r.required)("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex),W("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-checked",r.indeterminate?"mixed":null)("aria-disabled",r.disabled&&r.disabledInteractive?!0:null)("name",r.name)("value",r.value),V(7),ue("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),V(),ue("for",r.inputId)}},dependencies:[ti,Ef],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity));background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity));background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mdc-checkbox__ripple{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.cdk-high-contrast-active .mdc-checkbox--disabled{opacity:.5}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-app-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-app-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.cdk-high-contrast-active .mdc-checkbox--disabled .mdc-checkbox__checkmark,.cdk-high-contrast-active .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();var og=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[rg,K,K]})}}return i})();var tC=20,un=(()=>{class i{constructor(e,t,r){this._ngZone=e,this._platform=t,this._scrolled=new R,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=tC){return this._platform.isBrowser?new Ge(t=>{this._globalSubscription||this._addGlobalListener();let r=e>0?this._scrolled.pipe(ic(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):He()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let r=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(ye(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,e)&&t.push(o)}),t}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,t){let r=zt(t),o=e.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let e=this._getWindow();return Nt(e.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static{this.\u0275fac=function(t){return new(t||i)(x(B),x(me),x(oe,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Fi=(()=>{class i{constructor(e,t,r,o){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=r,this.dir=o,this._destroyed=new R,this._elementScrolled=new Ge(a=>this.ngZone.runOutsideAngular(()=>Nt(this.elementRef.nativeElement,"scroll").pipe($(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let t=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=r?e.end:e.start),e.right==null&&(e.right=r?e.start:e.end),e.bottom!=null&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),r&&Tr()!=hi.NORMAL?(e.left!=null&&(e.right=t.scrollWidth-t.clientWidth-e.left),Tr()==hi.INVERTED?e.left=e.right:Tr()==hi.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let t=this.elementRef.nativeElement;xs()?t.scrollTo(e):(e.top!=null&&(t.scrollTop=e.top),e.left!=null&&(t.scrollLeft=e.left))}measureScrollOffset(e){let t="left",r="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";return e=="start"?e=a?r:t:e=="end"&&(e=a?t:r),a&&Tr()==hi.INVERTED?e==t?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Tr()==hi.NEGATED?e==t?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==t?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(un),u(B),u(Re,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0})}}return i})(),iC=20,Dt=(()=>{class i{constructor(e,t,r){this._platform=e,this._change=new R,this._changeListener=o=>{this._change.next(o)},this._document=r,t.runOutsideAngular(()=>{if(e.isBrowser){let o=this._getWindow();o.addEventListener("resize",this._changeListener),o.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+t,height:r,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),r=e.documentElement,o=r.getBoundingClientRect(),a=-o.top||e.body.scrollTop||t.scrollY||r.scrollTop||0,s=-o.left||e.body.scrollLeft||t.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(e=iC){return e>0?this._change.pipe(ic(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(B),x(oe,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Ut=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})(),Bo=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[cn,Ut,cn,Ut]})}}return i})();var zo=class{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},hn=class extends zo{constructor(n,e,t,r,o){super(),this.component=n,this.viewContainerRef=e,this.injector=t,this.componentFactoryResolver=r,this.projectableNodes=o}},Et=class extends zo{constructor(n,e,t,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=t,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},wd=class extends zo{constructor(n){super(),this.element=n instanceof E?n.nativeElement:n}},Br=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof hn)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Et)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof wd)return this._attachedPortal=n,this.attachDomPortal(n)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Ho=class extends Br{constructor(n,e,t,r,o){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=t,this._defaultInjector=r,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let c=this._document.createComment("dom-portal");s.parentNode.insertBefore(c,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(s,c)})},this._document=o}attachComponentPortal(n){let t=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component),r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(t,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector,n.projectableNodes||void 0),this.setDisposeFn(()=>r.destroy())):(r=t.create(n.injector||this._defaultInjector||Ee.NULL),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),this._attachedPortal=n,r}attachTemplatePortal(n){let e=n.viewContainerRef,t=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return t.rootNodes.forEach(r=>this.outletElement.appendChild(r)),t.detectChanges(),this.setDisposeFn(()=>{let r=e.indexOf(t);r!==-1&&e.remove(r)}),this._attachedPortal=n,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}};var ag=(()=>{class i extends Et{constructor(e,t){super(e,t)}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(Ue))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],standalone:!0,features:[ne]})}}return i})();var mi=(()=>{class i extends Br{constructor(e,t,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new z,this.attachDomPortal=o=>{this._document;let a=o.element;a.parentNode;let s=this._document.createComment("dom-portal");o.setAttachedHost(this),a.parentNode.insertBefore(s,a),this._getRootNode().appendChild(a),this._attachedPortal=o,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(a,s)})},this._document=r}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let t=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=t.createComponent(o,t.length,e.injector||t.injector,e.projectableNodes||void 0);return t!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);let t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static{this.\u0275fac=function(t){return new(t||i)(u(fn),u(Ue),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[ne]})}}return i})();var Pi=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var sg=xs(),Cd=class{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=rt(-this._previousScrollPosition.left),n.style.top=rt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,t=n.style,r=e.style,o=t.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),sg&&(t.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),sg&&(t.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}};var kd=class{constructor(n,e,t,r){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=t,this._config=r,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(ye(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},js=class{enable(){}disable(){}attach(){}};function Dd(i,n){return n.some(e=>{let t=i.bottome.bottom,o=i.righte.right;return t||r||o||a})}function cg(i,n){return n.some(e=>{let t=i.tope.bottom,o=i.lefte.right;return t||r||o||a})}var Ed=class{constructor(n,e,t,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=t,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:r}=this._viewportRuler.getViewportSize();Dd(e,[{width:t,height:r,bottom:r,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},rC=(()=>{class i{constructor(e,t,r,o){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this.noop=()=>new js,this.close=a=>new kd(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new Cd(this._viewportRuler,this._document),this.reposition=a=>new Ed(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=o}static{this.\u0275fac=function(t){return new(t||i)(x(un),x(Dt),x(B),x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ci=class{constructor(n){if(this.scrollStrategy=new js,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){let e=Object.keys(n);for(let t of e)n[t]!==void 0&&(this[t]=n[t])}}};var Id=class{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var pg=(()=>{class i{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),this._attachedOverlays.length===0&&this.detach()}static{this.\u0275fac=function(t){return new(t||i)(x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),oC=(()=>{class i extends pg{constructor(e,t){super(e),this._ngZone=t,this._keydownListener=r=>{let o=this._attachedOverlays;for(let a=o.length-1;a>-1;a--)if(o[a]._keydownEvents.observers.length>0){let s=o[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>s.next(r)):s.next(r);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static{this.\u0275fac=function(t){return new(t||i)(x(oe),x(B,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),aC=(()=>{class i extends pg{constructor(e,t,r){super(e),this._platform=t,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Ot(o)},this._clickListener=o=>{let a=Ot(o),s=o.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){let d=c[l];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(lg(d.overlayElement,a)||lg(d.overlayElement,s))break;let h=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(o)):h.next(o)}}}add(e){if(super.add(e),!this._isAttached){let t=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(t)):this._addEventListeners(t),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}static{this.\u0275fac=function(t){return new(t||i)(x(oe),x(me),x(B,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function lg(i,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,t=n;for(;t;){if(t===i)return!0;t=e&&t instanceof ShadowRoot?t.host:t.parentNode}return!1}var zr=(()=>{class i{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Ro()){let r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new R,this._outsidePointerEvents=new R,this._renders=new R,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy,this._afterRenderRef=Yt(()=>na(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=tt(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=null,n&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=N(N({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Qe(N({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=rt(this._config.width),n.height=rt(this._config.height),n.minWidth=rt(this._config.minWidth),n.minHeight=rt(this._config.minHeight),n.maxWidth=rt(this._config.maxWidth),n.maxHeight=rt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let n=this._backdropElement;if(n){if(this._animationsDisabled){this._disposeBackdrop(n);return}n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,t){let r=Mr(e||[]).filter(o=>!!o);r.length&&(t?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let n=this._renders.pipe($(Fe(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){let n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},dg="cdk-overlay-connected-position-bounding-box",sC=/([A-Za-z%]+)$/,Sd=class{get positions(){return this._preferredPositions}constructor(n,e,t,r,o){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new R,this._resizeSubscription=Te.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(dg),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,t=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let c=this._getOriginPoint(n,r,s),l=this._getOverlayPoint(c,e,s),d=this._getOverlayFit(l,e,t,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,c);return}if(this._canFitWithFlexibleDimensions(d,l,t)){o.push({position:s,origin:c,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(c,s)});continue}(!a||a.overlayFit.visibleAreac&&(c=d,s=l)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Hn(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(dg),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,t){let r;if(t.originX=="center")r=n.left+n.width/2;else{let a=this._isRtl()?n.right:n.left,s=this._isRtl()?n.left:n.right;r=t.originX=="start"?a:s}e.left<0&&(r-=e.left);let o;return t.originY=="center"?o=n.top+n.height/2:o=t.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,e,t){let r;t.overlayX=="center"?r=-e.width/2:t.overlayX==="start"?r=this._isRtl()?-e.width:0:r=this._isRtl()?0:-e.width;let o;return t.overlayY=="center"?o=-e.height/2:o=t.overlayY=="top"?0:-e.height,{x:n.x+r,y:n.y+o}}_getOverlayFit(n,e,t,r){let o=hg(e),{x:a,y:s}=n,c=this._getOffset(r,"x"),l=this._getOffset(r,"y");c&&(a+=c),l&&(s+=l);let d=0-a,h=a+o.width-t.width,m=0-s,p=s+o.height-t.height,f=this._subtractOverflows(o.width,d,h),g=this._subtractOverflows(o.height,m,p),_=f*g;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:f==o.width}}_canFitWithFlexibleDimensions(n,e,t){if(this._hasFlexibleDimensions){let r=t.bottom-e.y,o=t.right-e.x,a=ug(this._overlayRef.getConfig().minHeight),s=ug(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||a!=null&&a<=r,l=n.fitsInViewportHorizontally||s!=null&&s<=o;return c&&l}return!1}_pushOverlayOnScreen(n,e,t){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let r=hg(e),o=this._viewportRect,a=Math.max(n.x+r.width-o.width,0),s=Math.max(n.y+r.height-o.height,0),c=Math.max(o.top-t.top-n.y,0),l=Math.max(o.left-t.left-n.x,0),d=0,h=0;return r.width<=o.width?d=l||-a:d=n.xf&&!this._isInitialRender&&!this._growAfterOpen&&(a=n.y-f/2)}let c=e.overlayX==="start"&&!r||e.overlayX==="end"&&r,l=e.overlayX==="end"&&!r||e.overlayX==="start"&&r,d,h,m;if(l)m=t.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(c)h=n.x,d=t.right-n.x;else{let p=Math.min(t.right-n.x+t.left,n.x),f=this._lastBoundingBoxSize.width;d=p*2,h=n.x-p,d>f&&!this._isInitialRender&&!this._growAfterOpen&&(h=n.x-f/2)}return{top:a,left:h,bottom:s,right:m,width:d,height:o}}_setBoundingBoxStyles(n,e){let t=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right=r.maxHeight=r.maxWidth="",r.width=r.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;r.height=rt(t.height),r.top=rt(t.top),r.bottom=rt(t.bottom),r.width=rt(t.width),r.left=rt(t.left),r.right=rt(t.right),e.overlayX==="center"?r.alignItems="center":r.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?r.justifyContent="center":r.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=rt(o)),a&&(r.maxWidth=rt(a))}this._lastBoundingBoxSize=t,Hn(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Hn(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Hn(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let t={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let d=this._viewportRuler.getViewportScrollPosition();Hn(t,this._getExactOverlayY(e,n,d)),Hn(t,this._getExactOverlayX(e,n,d))}else t.position="static";let s="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(s+=`translateX(${c}px) `),l&&(s+=`translateY(${l}px)`),t.transform=s.trim(),a.maxHeight&&(r?t.maxHeight=rt(a.maxHeight):o&&(t.maxHeight="")),a.maxWidth&&(r?t.maxWidth=rt(a.maxWidth):o&&(t.maxWidth="")),Hn(this._pane.style,t)}_getExactOverlayY(n,e,t){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),n.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=rt(o.y);return r}_getExactOverlayX(n,e,t){let r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let a;if(this._isRtl()?a=n.overlayX==="end"?"left":"right":a=n.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=rt(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),t=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:cg(n,t),isOriginOutsideView:Dd(n,t),isOverlayClipped:cg(e,t),isOverlayOutsideView:Dd(e,t)}}_subtractOverflows(n,...e){return e.reduce((t,r)=>t-Math.max(r,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+n-this._viewportMargin,bottom:t.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Mr(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof E)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,t=n.height||0;return{top:n.y,bottom:n.y+t,left:n.x,right:n.x+e,height:t,width:e}}};function Hn(i,n){for(let e in n)n.hasOwnProperty(e)&&(i[e]=n[e]);return i}function ug(i){if(typeof i!="number"&&i!=null){let[n,e]=i.split(sC);return!e||e==="px"?parseFloat(n):null}return i||null}function hg(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function cC(i,n){return i===n?!0:i.isOriginClipped===n.isOriginClipped&&i.isOriginOutsideView===n.isOriginOutsideView&&i.isOverlayClipped===n.isOverlayClipped&&i.isOverlayOutsideView===n.isOverlayOutsideView}var mg="cdk-global-overlay-wrapper",Td=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(mg),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=t,c=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),l=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,h=this._xOffset,m=this._overlayRef.getConfig().direction==="rtl",p="",f="",g="";c?g="flex-start":d==="center"?(g="center",m?f=h:p=h):m?d==="left"||d==="end"?(g="flex-end",p=h):(d==="right"||d==="start")&&(g="flex-start",f=h):d==="left"||d==="start"?(g="flex-start",p=h):(d==="right"||d==="end")&&(g="flex-end",f=h),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":f,e.justifyContent=g,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,t=e.style;e.classList.remove(mg),t.justifyContent=t.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},lC=(()=>{class i{constructor(e,t,r,o){this._viewportRuler=e,this._document=t,this._platform=r,this._overlayContainer=o}global(){return new Td}flexibleConnectedTo(e){return new Sd(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static{this.\u0275fac=function(t){return new(t||i)(x(Dt),x(oe),x(me),x(zr))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),dC=0,je=(()=>{class i{constructor(e,t,r,o,a,s,c,l,d,h,m,p){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=r,this._positionBuilder=o,this._keyboardDispatcher=a,this._injector=s,this._ngZone=c,this._document=l,this._directionality=d,this._location=h,this._outsideClickDispatcher=m,this._animationsModuleType=p}create(e){let t=this._createHostElement(),r=this._createPaneElement(t),o=this._createPortalOutlet(r),a=new Ci(e);return a.direction=a.direction||this._directionality.value,new Ni(o,t,r,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(Su))}position(){return this._positionBuilder}_createPaneElement(e){let t=this._document.createElement("div");return t.id=`cdk-overlay-${dC++}`,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(lc)),new Ho(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static{this.\u0275fac=function(t){return new(t||i)(x(rC),x(zr),x(fn),x(lC),x(oC),x(Ee),x(B),x(oe),x(Re),x(aa),x(aC),x(Ce,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),uC=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],fg=new C("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}}),Qo=(()=>{class i{constructor(e){this.elementRef=e}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})}}return i})(),Md=(()=>{class i{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}constructor(e,t,r,o,a){this._overlay=e,this._dir=a,this._backdropSubscription=Te.EMPTY,this._attachSubscription=Te.EMPTY,this._detachSubscription=Te.EMPTY,this._positionSubscription=Te.EMPTY,this._disposeOnNavigation=!1,this._ngZone=F(B),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new z,this.positionChange=new z,this.attach=new z,this.detach=new z,this.overlayKeydown=new z,this.overlayOutsideClick=new z,this._templatePortal=new Et(t,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=uC);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),t.keyCode===27&&!this.disableClose&&!Le(t)&&(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{let r=this._getOriginElement(),o=Ot(t);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(t)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Ci({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(t.width=this.width),(this.height||this.height===0)&&(t.height=this.height),(this.minWidth||this.minWidth===0)&&(t.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){let t=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Qo?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Qo?this.origin.elementRef.nativeElement:this.origin instanceof E?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Iu(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(je),u(Ae),u(Ue),u(fg),u(Re,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",O],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",O],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",O],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",O],push:[2,"cdkConnectedOverlayPush","push",O],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",O]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[ae,Pe]})}}return i})();function hC(i){return()=>i.scrollStrategies.reposition()}var mC={provide:fg,deps:[je],useFactory:hC},ii=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[je,mC],imports:[cn,Pi,Bo,Bo]})}}return i})();function pC(i,n){}var Qn=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var Od=(()=>{class i extends Br{constructor(e,t,r,o,a,s,c,l){super(),this._elementRef=e,this._focusTrapFactory=t,this._config=o,this._interactivityChecker=a,this._ngZone=s,this._overlayRef=c,this._focusMonitor=l,this._platform=F(me),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=F(pe),this._injector=F(Ee),this._isDestroyed=!1,this.attachDomPortal=d=>{this._portalOutlet.hasAttached();let h=this._portalOutlet.attachDomPortal(d);return this._contentAttached(),h},this._document=r,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let t=this._ariaLabelledByQueue.indexOf(e);t>-1&&(this._ariaLabelledByQueue.splice(t,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),t}attachTemplatePortal(e){this._portalOutlet.hasAttached();let t=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),t}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,t)}_trapFocus(){this._isDestroyed||tt(()=>{let e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement()||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,t=null;if(typeof e=="string"?t=this._document.querySelector(e):typeof e=="boolean"?t=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(t=e),this._config.restoreFocus&&t&&typeof t.focus=="function"){let r=Oo(),o=this._elementRef.nativeElement;(!r||r===this._document.body||r===o||o.contains(r))&&(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let e=this._elementRef.nativeElement,t=Oo();return e===t||e.contains(t)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Oo()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Nr),u(oe,8),u(Qn),u(Nn),u(B),u(Ni),u(ot))}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(t,r){if(t&1&&re(mi,7),t&2){let o;S(o=T())&&(r._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(t,r){t&2&&W("id",r._config.id||null)("role",r._config.role)("aria-modal",r._config.ariaModal)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null)},standalone:!0,features:[ne,Q],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,r){t&1&&te(0,pC,0,0,"ng-template",0)},dependencies:[mi],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}}return i})(),qo=class{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new R,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!Le(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(n),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}},fC=new C("DialogScrollStrategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.block()}}),gC=new C("DialogData"),bC=new C("DefaultDialogConfig");var vC=0,Rd=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(e,t,r,o,a,s){this._overlay=e,this._injector=t,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this._ariaHiddenElements=new Map,this.afterAllClosed=zi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Me(void 0))),this._scrollStrategy=s}open(e,t){let r=this._defaultOptions||new Qn;t=N(N({},r),t),t.id=t.id||`cdk-dialog-${vC++}`,t.id&&this.getDialogById(t.id);let o=this._getOverlayConfig(t),a=this._overlay.create(o),s=new qo(a,t),c=this._attachContainer(a,s,t);return s.containerInstance=c,this._attachDialogContent(e,s,c,t),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.closed.subscribe(()=>this._removeOpenDialog(s,!0)),this.afterOpened.next(s),s}closeAll(){Ad(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){Ad(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Ad(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let t=new Ci({positionStrategy:e.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachContainer(e,t,r){let o=r.injector||r.viewContainerRef?.injector,a=[{provide:Qn,useValue:r},{provide:qo,useValue:t},{provide:Ni,useValue:e}],s;r.container?typeof r.container=="function"?s=r.container:(s=r.container.type,a.push(...r.container.providers(r))):s=Od;let c=new hn(s,r.viewContainerRef,Ee.create({parent:o||this._injector,providers:a}),r.componentFactoryResolver);return e.attach(c).instance}_attachDialogContent(e,t,r,o){if(e instanceof Ae){let a=this._createInjector(o,t,r,void 0),s={$implicit:o.data,dialogRef:t};o.templateContext&&(s=N(N({},s),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),r.attachTemplatePortal(new Et(e,null,s,a))}else{let a=this._createInjector(o,t,r,this._injector),s=r.attachComponentPortal(new hn(e,o.viewContainerRef,a,o.componentFactoryResolver));t.componentRef=s,t.componentInstance=s.instance}}_createInjector(e,t,r,o){let a=e.injector||e.viewContainerRef?.injector,s=[{provide:gC,useValue:e.data},{provide:qo,useValue:t}];return e.providers&&(typeof e.providers=="function"?s.push(...e.providers(t,e,r)):s.push(...e.providers)),e.direction&&(!a||!a.get(Re,null,{optional:!0}))&&s.push({provide:Re,useValue:{value:e.direction,change:He()}}),Ee.create({parent:a||o,providers:s})}_removeOpenDialog(e,t){let r=this.openDialogs.indexOf(e);r>-1&&(this.openDialogs.splice(r,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,a)=>{o?a.setAttribute("aria-hidden",o):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),t&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let e=this._overlayContainer.getContainerElement();if(e.parentElement){let t=e.parentElement.children;for(let r=t.length-1;r>-1;r--){let o=t[r];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static{this.\u0275fac=function(t){return new(t||i)(x(je),x(Ee),x(bC,8),x(i,12),x(zr),x(fC))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();function Ad(i,n){let e=i.length;for(;e--;)n(i[e])}var gg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[Rd],imports:[ii,Pi,Ts,Pi]})}}return i})();function _C(i,n){}var Wo=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},Fd="mdc-dialog--open",bg="mdc-dialog--opening",vg="mdc-dialog--closing",yC=150,xC=75,wC=(()=>{class i extends Od{constructor(e,t,r,o,a,s,c,l,d){super(e,t,r,o,a,s,c,d),this._animationMode=l,this._animationStateChanged=new z,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?yg(this._config.enterAnimationDuration)??yC:0,this._exitAnimationDuration=this._animationsEnabled?yg(this._config.exitAnimationDuration)??xC:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(_g,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(bg,Fd)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Fd),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Fd),this._animationsEnabled?(this._hostElement.style.setProperty(_g,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(vg)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(bg,vg)}_waitForAnimationToComplete(e,t){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(t,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let t=super.attachComponentPortal(e);return t.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),t}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Nr),u(oe,8),u(Wo),u(Nn),u(B),u(Ni),u(Ce,8),u(ot))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(t,r){t&2&&(St("id",r._config.id),W("aria-modal",r._config.ariaModal)("role",r._config.role)("aria-labelledby",r._config.ariaLabel?null:r._ariaLabelledByQueue[0])("aria-label",r._config.ariaLabel)("aria-describedby",r._config.ariaDescribedBy||null),P("_mat-animation-noopable",!r._animationsEnabled)("mat-mdc-dialog-container-with-actions",r._actionSectionCount>0))},standalone:!0,features:[ne,Q],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(t,r){t&1&&(w(0,"div",0)(1,"div",1),te(2,_C,0,0,"ng-template",2),I()())},dependencies:[mi],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, var(--mat-app-corner-extra-large, 4px));background-color:var(--mdc-dialog-container-color, var(--mat-app-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mdc-dialog-subhead-font, var(--mat-app-headline-small-font, inherit));line-height:var(--mdc-dialog-subhead-line-height, var(--mat-app-headline-small-line-height, 1.5rem));font-size:var(--mdc-dialog-subhead-size, var(--mat-app-headline-small-size, 1rem));font-weight:var(--mdc-dialog-subhead-weight, var(--mat-app-headline-small-weight, 400));letter-spacing:var(--mdc-dialog-subhead-tracking, var(--mat-app-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, var(--mat-app-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mdc-dialog-supporting-text-font, var(--mat-app-body-medium-font, inherit));line-height:var(--mdc-dialog-supporting-text-line-height, var(--mat-app-body-medium-line-height, 1.5rem));font-size:var(--mdc-dialog-supporting-text-size, var(--mat-app-body-medium-size, 1rem));font-weight:var(--mdc-dialog-supporting-text-weight, var(--mat-app-body-medium-weight, 400));letter-spacing:var(--mdc-dialog-supporting-text-tracking, var(--mat-app-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2})}}return i})(),_g="--mat-dialog-transition-duration";function yg(i){return i==null?null:typeof i=="number"?i:i.endsWith("ms")?Ct(i.substring(0,i.length-2)):i.endsWith("s")?Ct(i.substring(0,i.length-1))*1e3:i==="0"?0:null}var Vs=function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i}(Vs||{}),Go=class{constructor(n,e,t){this._ref=n,this._containerInstance=t,this._afterOpened=new R,this._beforeClosed=new R,this._state=Vs.OPEN,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(ye(r=>r.state==="opened"),Ke(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(ye(r=>r.state==="closed"),Ke(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Fe(this.backdropClick(),this.keydownEvents().pipe(ye(r=>r.keyCode===27&&!this.disableClose&&!Le(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),xg(this,r.type==="keydown"?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(ye(e=>e.state==="closing"),Ke(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=Vs.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Vs.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function xg(i,n,e){return i._closeInteractionType=n,i.close(e)}var CC=new C("MatMdcDialogData"),kC=new C("mat-mdc-dialog-default-options"),DC=new C("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.block()}});var EC=0,Pd=(()=>{class i{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(e,t,r,o,a,s,c,l){this._overlay=e,this._defaultOptions=o,this._scrollStrategy=a,this._parentDialog=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new R,this._afterOpenedAtThisLevel=new R,this.dialogConfigClass=Wo,this.afterAllClosed=zi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Me(void 0))),this._dialog=t.get(Rd),this._dialogRefConstructor=Go,this._dialogContainerType=wC,this._dialogDataToken=CC}open(e,t){let r;t=N(N({},this._defaultOptions||new Wo),t),t.id=t.id||`mat-mdc-dialog-${EC++}`,t.scrollStrategy=t.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,Qe(N({},t),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:t},{provide:Qn,useValue:t}]},templateContext:()=>({dialogRef:r}),providers:(a,s,c)=>(r=new this._dialogRefConstructor(a,t,c),r.updatePosition(t?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:s.data},{provide:this._dialogRefConstructor,useValue:r}])}));return r.componentRef=o.componentRef,r.componentInstance=o.componentInstance,this.openDialogs.push(r),this.afterOpened.next(r),r.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(r);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}static{this.\u0275fac=function(t){return new(t||i)(x(je),x(Ee),x(aa,8),x(kC,8),x(DC),x(i,12),x(zr),x(Ce,8))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),IC=0,$V=(()=>{class i{constructor(e,t,r){this.dialogRef=e,this._elementRef=t,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Cg(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){let t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}_onButtonClick(e){xg(this.dialogRef,e.screenX===0&&e.screenY===0?"keyboard":"mouse",this.dialogResult)}static{this.\u0275fac=function(t){return new(t||i)(u(Go,8),u(E),u(Pd))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,r){t&1&&ee("click",function(a){return r._onButtonClick(a)}),t&2&&W("aria-label",r.ariaLabel||null)("type",r.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Pe]})}}return i})(),wg=(()=>{class i{constructor(e,t,r){this._dialogRef=e,this._elementRef=t,this._dialog=r}ngOnInit(){this._dialogRef||(this._dialogRef=Cg(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static{this.\u0275fac=function(t){return new(t||i)(u(Go,8),u(E),u(Pd))}}static{this.\u0275dir=D({type:i,standalone:!0})}}return i})(),YV=(()=>{class i extends wg{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${IC++}`}_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(t,r){t&2&&St("id",r.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[ne]})}}return i})(),KV=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[Pu([Fi])]})}}return i})(),XV=(()=>{class i extends wg{_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(t,r){t&2&&P("mat-mdc-dialog-actions-align-start",r.align==="start")("mat-mdc-dialog-actions-align-center",r.align==="center")("mat-mdc-dialog-actions-align-end",r.align==="end")},inputs:{align:"align"},standalone:!0,features:[ne]})}}return i})();function Cg(i,n){let e=i.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(t=>t.id===e.id):null}var kg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[Pd],imports:[gg,ii,Pi,K,K]})}}return i})();var i2=(()=>{class i{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=ut(e)}get inset(){return this._inset}set inset(e){this._inset=ut(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,r){t&2&&(W("aria-orientation",r.vertical?"vertical":"horizontal"),P("mat-divider-vertical",r.vertical)("mat-divider-horizontal",!r.vertical)("mat-divider-inset",r.inset))},inputs:{vertical:"vertical",inset:"inset"},standalone:!0,features:[Q],decls:0,vars:0,template:function(t,r){},styles:[".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0})}}return i})(),Dg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})();var Eg=new C("CdkAccordion");var SC=0,Ig=(()=>{class i{get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let t=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,t)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}constructor(e,t,r){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=r,this._openCloseAllSubscription=Te.EMPTY,this.closed=new z,this.opened=new z,this.destroyed=new z,this.expandedChange=new z,this.id=`cdk-accordion-child-${SC++}`,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((o,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==o&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}static{this.\u0275fac=function(t){return new(t||i)(u(Eg,12),u(pe),u(Da))}}static{this.\u0275dir=D({type:i,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",O],disabled:[2,"disabled","disabled",O]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[de([{provide:Eg,useValue:void 0}]),ae]})}}return i})(),Sg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var TC=["body"],MC=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],AC=["mat-expansion-panel-header","*","mat-action-row"];function OC(i,n){}var RC=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],FC=["mat-panel-title","mat-panel-description","*"];function PC(i,n){if(i&1&&(w(0,"span",1),Wt(),w(1,"svg",2),ie(2,"path",3),I()()),i&2){let e=fe();ue("@indicatorRotate",e._getExpandedState())}}var Tg=new C("MAT_ACCORDION"),Mg="225ms cubic-bezier(0.4,0.0,0.2,1)",Og={indicatorRotate:gt("indicatorRotate",[nt("collapsed, void",Oe({transform:"rotate(0deg)"})),nt("expanded",Oe({transform:"rotate(180deg)"})),Je("expanded <=> collapsed, void => collapsed",Ze(Mg))]),bodyExpansion:gt("bodyExpansion",[nt("collapsed, void",Oe({height:"0px",visibility:"hidden"})),nt("expanded",Oe({height:"*",visibility:""})),Je("expanded <=> collapsed, void => collapsed",Ze(Mg))])},Rg=new C("MAT_EXPANSION_PANEL"),NC=(()=>{class i{constructor(e,t){this._template=e,this._expansionPanel=t}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(Rg,8))}}static{this.\u0275dir=D({type:i,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0})}}return i})(),LC=0,Fg=new C("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),jC=(()=>{class i extends Ig{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,t,r,o,a,s,c){super(e,t,r),this._viewContainerRef=o,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new z,this.afterCollapse=new z,this._inputChanges=new R,this._headerId=`mat-expansion-panel-header-${LC++}`,this.accordion=e,this._document=a,this._animationsDisabled=s==="NoopAnimations",c&&(this.hideToggle=c.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Me(null),ye(()=>this.expanded&&!this._portal),Ke(1)).subscribe(()=>{this._portal=new Et(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}_animationStarted(e){!Ag(e)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(e){Ag(e)||(e.toState==="expanded"?this.afterExpand.emit():e.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static{this.\u0275fac=function(t){return new(t||i)(u(Tg,12),u(pe),u(Da),u(Ue),u(oe),u(Ce,8),u(Fg,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-expansion-panel"]],contentQueries:function(t,r,o){if(t&1&&he(o,NC,5),t&2){let a;S(a=T())&&(r._lazyContent=a.first)}},viewQuery:function(t,r){if(t&1&&re(TC,5),t&2){let o;S(o=T())&&(r._body=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(t,r){t&2&&P("mat-expanded",r.expanded)("_mat-animation-noopable",r._animationsDisabled)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",O],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[de([{provide:Tg,useValue:void 0},{provide:Rg,useExisting:i}]),ae,ne,Pe,Q],ngContentSelectors:AC,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(t,r){if(t&1){let o=$e();se(MC),A(0),w(1,"div",1,0),ee("@bodyExpansion.start",function(s){return ce(o),le(r._animationStarted(s))})("@bodyExpansion.done",function(s){return ce(o),le(r._animationDone(s))}),w(3,"div",2),A(4,1),te(5,OC,0,0,"ng-template",3),I(),A(6,2),I()}t&2&&(V(),ue("@bodyExpansion",r._getExpandedState())("id",r.id),W("aria-labelledby",r._headerId),V(4),ue("cdkPortalOutlet",r._portal))},dependencies:[mi],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color, var(--mat-app-surface));color:var(--mat-expansion-container-text-color, var(--mat-app-on-surface));border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font, var(--mat-app-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-app-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-app-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-app-body-large-tracking))}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-app-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[Og.bodyExpansion]},changeDetection:0})}}return i})();function Ag(i){return i.fromState==="void"}var V2=(()=>{class i{constructor(e,t,r,o,a,s,c){this.panel=e,this._element=t,this._focusMonitor=r,this._changeDetectorRef=o,this._animationMode=s,this._parentChangeSubscription=Te.EMPTY,this.tabIndex=0;let l=e.accordion?e.accordion._stateChanges.pipe(ye(d=>!!(d.hideToggle||d.togglePosition))):Bi;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=Fe(e.opened,e.closed,l,e._inputChanges.pipe(ye(d=>!!(d.hideToggle||d.disabled||d.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(ye(()=>e._containsFocus())).subscribe(()=>r.focusVia(t,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:Le(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}focus(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}static{this.\u0275fac=function(t){return new(t||i)(u(jC,1),u(E),u(ot),u(pe),u(Fg,8),u(Ce,8),It("tabindex"))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(t,r){t&1&&ee("click",function(){return r._toggle()})("keydown",function(a){return r._keydown(a)}),t&2&&(W("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),ft("height",r._getHeaderHeight()),P("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before")("_mat-animation-noopable",r._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ye(e)]},standalone:!0,features:[ae,Q],ngContentSelectors:FC,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(t,r){t&1&&(se(RC),w(0,"span",0),A(1),A(2,1),A(3,2),I(),te(4,PC,3,1,"span",1)),t&2&&(P("mat-content-hide-toggle",!r._showToggle()),V(4),ge(r._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font, var(--mat-app-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-app-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-app-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-app-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-app-title-medium-tracking))}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-app-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-app-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-app-on-surface-variant))}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[Og.indicatorRotate]},changeDetection:0})}}return i})();var B2=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0})}}return i})();var Pg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,Sg,Pi]})}}return i})();var Ng=["*"];var VC=".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}",Nd=class{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){let n=Math.max(...this.tracker);return n>1?this.rowCount+n-1:this.rowCount}update(n,e){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(n),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(t=>this._trackTile(t))}_trackTile(n){let e=this._findMatchingGap(n.colspan);return this._markTilePosition(e,n),this.columnIndex=e+n.colspan,new Ld(this.rowIndex,e)}_findMatchingGap(n){n>this.tracker.length;let e=-1,t=-1;do{if(this.columnIndex+n>this.tracker.length){this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),t=this._findGapEndIndex(e);continue}if(e=this.tracker.indexOf(0,this.columnIndex),e==-1){this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),t=this._findGapEndIndex(e);continue}t=this._findGapEndIndex(e),this.columnIndex=e+1}while(t-e{class i{constructor(e,t){this._element=e,this._gridList=t,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(e){this._rowspan=Math.round(Ct(e))}get colspan(){return this._colspan}set colspan(e){this._colspan=Math.round(Ct(e))}_setStyle(e,t){this._element.nativeElement.style[e]=t}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Lg,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(t,r){t&2&&W("rowspan",r.rowspan)("colspan",r.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],standalone:!0,features:[Q],ngContentSelectors:Ng,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(t,r){t&1&&(se(),w(0,"div",0),A(1),I())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-header{font-size:var(--mat-grid-list-tile-header-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-header-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-footer{font-size:var(--mat-grid-list-tile-footer-primary-text-size, var(--mat-app-body-large))}.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:var(--mat-grid-list-tile-footer-secondary-text-size, var(--mat-app-body-medium))}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0})}}return i})();var zC=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/,$o=class{constructor(){this._rows=0,this._rowspan=0}init(n,e,t,r){this._gutterSize=jg(n),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=t,this._direction=r}getBaseTileSize(n,e){return`(${n}% - (${this._gutterSize} * ${e}))`}getTilePosition(n,e){return e===0?"0":Un(`(${n} + ${this._gutterSize}) * ${e}`)}getTileSize(n,e){return`(${n} * ${e}) + (${e-1} * ${this._gutterSize})`}setStyle(n,e,t){let r=100/this._cols,o=(this._cols-1)/this._cols;this.setColStyles(n,t,r,o),this.setRowStyles(n,e,r,o)}setColStyles(n,e,t,r){let o=this.getBaseTileSize(t,r),a=this._direction==="rtl"?"right":"left";n._setStyle(a,this.getTilePosition(o,e)),n._setStyle("width",Un(this.getTileSize(o,n.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(n){return`${this._rowspan} * ${this.getTileSize(n,1)}`}getComputedHeight(){return null}},jd=class extends $o{constructor(n){super(),this.fixedRowHeight=n}init(n,e,t,r){super.init(n,e,t,r),this.fixedRowHeight=jg(this.fixedRowHeight),zC.test(this.fixedRowHeight)}setRowStyles(n,e){n._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),n._setStyle("height",Un(this.getTileSize(this.fixedRowHeight,n.rowspan)))}getComputedHeight(){return["height",Un(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["height",null]),n._tiles&&n._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}},Vd=class extends $o{constructor(n){super(),this._parseRatio(n)}setRowStyles(n,e,t,r){let o=t/this.rowHeightRatio;this.baseTileHeight=this.getBaseTileSize(o,r),n._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),n._setStyle("paddingTop",Un(this.getTileSize(this.baseTileHeight,n.rowspan)))}getComputedHeight(){return["paddingBottom",Un(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(n){n._setListStyle(["paddingBottom",null]),n._tiles.forEach(e=>{e._setStyle("marginTop",null),e._setStyle("paddingTop",null)})}_parseRatio(n){let e=n.split(":");e.length,this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])}},Bd=class extends $o{setRowStyles(n,e){let t=100/this._rowspan,r=(this._rows-1)/this._rows,o=this.getBaseTileSize(t,r);n._setStyle("top",this.getTilePosition(o,e)),n._setStyle("height",Un(this.getTileSize(o,n.rowspan)))}reset(n){n._tiles&&n._tiles.forEach(e=>{e._setStyle("top",null),e._setStyle("height",null)})}};function Un(i){return`calc(${i})`}function jg(i){return i.match(/([A-Za-z%]+)$/)?i:`${i}px`}var HC="fit",iB=(()=>{class i{constructor(e,t){this._element=e,this._dir=t,this._gutter="1px"}get cols(){return this._cols}set cols(e){this._cols=Math.max(1,Math.round(Ct(e)))}get gutterSize(){return this._gutter}set gutterSize(e){this._gutter=`${e??""}`}get rowHeight(){return this._rowHeight}set rowHeight(e){let t=`${e??""}`;t!==this._rowHeight&&(this._rowHeight=t,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){this.cols}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(e){this._tileStyler&&this._tileStyler.reset(this),e===HC?this._tileStyler=new Bd:e&&e.indexOf(":")>-1?this._tileStyler=new Vd(e):this._tileStyler=new jd(e)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new Nd);let e=this._tileCoordinator,t=this._tiles.filter(o=>!o._gridList||o._gridList===this),r=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,t),this._tileStyler.init(this.gutterSize,e,this.cols,r),t.forEach((o,a)=>{let s=e.positions[a];this._tileStyler.setStyle(o,s.row,s.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(e){e&&(this._element.nativeElement.style[e[0]]=e[1])}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Re,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-grid-list"]],contentQueries:function(t,r,o){if(t&1&&he(o,BC,5),t&2){let a;S(a=T())&&(r._tiles=a)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(t,r){t&2&&W("cols",r.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],standalone:!0,features:[de([{provide:Lg,useExisting:i}]),Q],ngContentSelectors:Ng,decls:2,vars:0,template:function(t,r){t&1&&(se(),w(0,"div"),A(1),I())},styles:[VC],encapsulation:2,changeDetection:0})}}return i})(),Vg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[pd,K,pd,K]})}}return i})();var QC=["*"],Bs;function UC(){if(Bs===void 0&&(Bs=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(Bs=i.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Bs}function Yo(i){return UC()?.createHTML(i)||i}function Bg(i){return Error(`Unable to find icon with the name "${i}"`)}function qC(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function zg(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function Hg(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var Li=class{constructor(n,e,t){this.url=n,this.svgText=e,this.options=t}},WC=(()=>{class i{constructor(e,t,r,o){this._httpClient=e,this._sanitizer=t,this._errorHandler=o,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=r}addSvgIcon(e,t,r){return this.addSvgIconInNamespace("",e,t,r)}addSvgIconLiteral(e,t,r){return this.addSvgIconLiteralInNamespace("",e,t,r)}addSvgIconInNamespace(e,t,r,o){return this._addSvgIconConfig(e,t,new Li(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,t,r,o){let a=this._sanitizer.sanitize(Kn.HTML,r);if(!a)throw Hg(r);let s=Yo(a);return this._addSvgIconConfig(e,t,new Li("",s,o))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,r){return this._addSvgIconSetConfig(e,new Li(t,null,r))}addSvgIconSetLiteralInNamespace(e,t,r){let o=this._sanitizer.sanitize(Kn.HTML,t);if(!o)throw Hg(t);let a=Yo(o);return this._addSvgIconSetConfig(e,new Li("",a,r))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let t=this._sanitizer.sanitize(Kn.RESOURCE_URL,e);if(!t)throw zg(e);let r=this._cachedIconsByUrl.get(t);return r?He(zs(r)):this._loadSvgIconFromConfig(new Li(e,null)).pipe(gi(o=>this._cachedIconsByUrl.set(t,o)),xe(o=>zs(o)))}getNamedSvgIcon(e,t=""){let r=Qg(t,e),o=this._svgIconConfigs.get(r);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(t,e),o)return this._svgIconConfigs.set(r,o),this._getSvgFromConfig(o);let a=this._iconSetConfigs.get(t);return a?this._getSvgFromIconSetConfigs(e,a):xu(Bg(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?He(zs(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(xe(t=>zs(t)))}_getSvgFromIconSetConfigs(e,t){let r=this._extractIconWithNameFromAnySet(e,t);if(r)return He(r);let o=t.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Jo(s=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(Kn.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(l)),He(null)})));return mn(o).pipe(xe(()=>{let a=this._extractIconWithNameFromAnySet(e,t);if(!a)throw Bg(e);return a}))}_extractIconWithNameFromAnySet(e,t){for(let r=t.length-1;r>=0;r--){let o=t[r];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let a=this._svgElementFromConfig(o),s=this._extractSvgIconFromSet(a,e,o.options);if(s)return s}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(gi(t=>e.svgText=t),xe(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?He(null):this._fetchIcon(e).pipe(gi(t=>e.svgText=t))}_extractSvgIconFromSet(e,t,r){let o=e.querySelector(`[id="${t}"]`);if(!o)return null;let a=o.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,r);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),r);let s=this._svgElementFromString(Yo(""));return s.appendChild(a),this._setSvgAttributes(s,r)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let r=t.querySelector("svg");if(!r)throw Error(" tag not found");return r}_toSvgElement(e){let t=this._svgElementFromString(Yo("")),r=e.attributes;for(let o=0;oYo(l)),ku(()=>this._inProgressUrlFetches.delete(a)),Eu());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(e,t,r){return this._svgIconConfigs.set(Qg(e,t),r),this}_addSvgIconSetConfig(e,t){let r=this._iconSetConfigs.get(e);return r?r.push(t):this._iconSetConfigs.set(e,[t]),this}_svgElementFromConfig(e){if(!e.svgElement){let t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}_getIconConfigFromResolvers(e,t){for(let r=0;rn?n.pathname+n.search:""}}var Ug=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],XC=Ug.map(i=>`[${i}]`).join(", "),ZC=/^url\(['"]?#(.*?)['"]?\)$/,yB=(()=>{class i{get color(){return this._color||this._defaultColor}set color(e){this._color=e}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){let t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}constructor(e,t,r,o,a,s){this._elementRef=e,this._iconRegistry=t,this._location=o,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Te.EMPTY,s&&(s.color&&(this.color=this._defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){let r=e.childNodes[t];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,t=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),t.forEach(r=>e.classList.add(r)),this._previousFontSetClass=t,this.fontIcon!==this._previousFontIconClass&&!t.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let t=this._elementsWithExternalReferences;t&&t.forEach((r,o)=>{r.forEach(a=>{o.setAttribute(a.name,`url('${e}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(e){let t=e.querySelectorAll(XC),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{let s=t[o],c=s.getAttribute(a),l=c?c.match(ZC):null;if(l){let d=r.get(s);d||(d=[],r.set(s,d)),d.push({name:a,value:l[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[t,r]=this._splitIconName(e);t&&(this._svgNamespace=t),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,t).pipe(Ke(1)).subscribe(o=>this._setSvgElement(o),o=>{let a=`Error retrieving icon ${t}:${r}! ${o.message}`;this._errorHandler.handleError(new Error(a))})}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(WC),It("aria-hidden"),u(YC),u(ia),u($C,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(t,r){t&2&&(W("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),qe(r.color?"mat-"+r.color:""),P("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",O],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ae,Q],ngContentSelectors:QC,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}}return i})(),qg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})();var Wg=Bt({passive:!0}),Gg=(()=>{class i{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Bi;let t=zt(e),r=this._monitoredElements.get(t);if(r)return r.subject;let o=new R,a="cdk-text-field-autofilled",s=c=>{c.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",s,Wg),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:o,unlisten:()=>{t.removeEventListener("animationstart",s,Wg)}}),o}stopMonitoring(e){let t=zt(e),r=this._monitoredElements.get(t);r&&(r.unlisten(),r.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static{this.\u0275fac=function(t){return new(t||i)(x(me),x(B))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var $g=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var ek=new C("MAT_INPUT_VALUE_ACCESSOR"),tk=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ik=0,VB=(()=>{class i{get disabled(){return this._disabled}set disabled(e){this._disabled=ut(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Ui.required)??!1}set required(e){this._required=ut(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&ed().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ut(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,r,o,a,s,c,l,d,h){this._elementRef=e,this._platform=t,this.ngControl=r,this._autofillMonitor=l,this._ngZone=d,this._formField=h,this._uid=`mat-input-${ik++}`,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new R,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(f=>ed().has(f)),this._iOSKeyupListener=f=>{let g=f.target;!g.value&&g.selectionStart===0&&g.selectionEnd===0&&(g.setSelectionRange(1,1),g.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};let m=this._elementRef.nativeElement,p=m.nodeName.toLowerCase();this._inputValueAccessor=c||m,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&d.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new ln(s,r,a,o,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=p==="select",this._isTextarea=p==="textarea",this._isInFormField=!!h,this._isNativeSelect&&(this.controlType=m.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){tk.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&this._type!=="number"&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(ai,10),u(_n,8),u(yn,8),u(dn),u(ek,10),u(Gg),u(B),u(Ri,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(t,r){t&1&&ee("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),t&2&&(St("id",r.id)("disabled",r.disabled)("required",r.required),W("name",r.name||null)("readonly",r.readonly&&!r._isNativeSelect||null)("aria-invalid",r.empty&&r.required?null:r.errorState)("aria-required",r.required)("id",r.id),P("mat-input-server",r._isServer)("mat-mdc-form-field-textarea-control",r._isInFormField&&r._isTextarea)("mat-mdc-form-field-input-control",r._isInFormField)("mdc-text-field__input",r._isInFormField)("mat-mdc-native-select-inline",r._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[de([{provide:Vn,useExisting:i}]),Pe]})}}return i})(),Yg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,Bn,Bn,$g,K]})}}return i})();function nk(i,n){i&1&&ie(0,"div",2)}var rk=new C("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var XB=(()=>{class i{constructor(e,t,r,o,a){this._elementRef=e,this._ngZone=t,this._changeDetectorRef=r,this._animationMode=o,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new z,this._mode="determinate",this._transitionendHandler=s=>{this.animationEnd.observers.length===0||!s.target||!s.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=o==="NoopAnimations",a&&(a.color&&(this.color=this._defaultColor=a.color),this.mode=a.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(e){this._color=e}get value(){return this._value}set value(e){this._value=Kg(e||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=Kg(e||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B),u(pe),u(Ce,8),u(rk,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(t,r){t&2&&(W("aria-valuenow",r._isIndeterminate()?null:r.value)("mode",r.mode),qe("mat-"+r.color),P("_mat-animation-noopable",r._isNoopAnimation)("mdc-linear-progress--animation-ready",!r._isNoopAnimation)("mdc-linear-progress--indeterminate",r._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",Ye],bufferValue:[2,"bufferValue","bufferValue",Ye],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[ae,Q],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(t,r){t&1&&(w(0,"div",0),ie(1,"div",1),te(2,nk,1,0,"div",2),I(),w(3,"div",3),ie(4,"span",4),I(),w(5,"div",5),ie(6,"span",4),I()),t&2&&(V(),ft("flex-basis",r._getBufferBarFlexBasis()),V(),ge(r.mode==="buffer"?2:-1),V(),ft("transform",r._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height),var(--mdc-linear-progress-active-indicator-height))}.cdk-high-contrast-active .mdc-linear-progress{outline-color:CanvasText}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-app-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.cdk-high-contrast-active .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}`],encapsulation:2,changeDetection:0})}}return i})();function Kg(i,n=0,e=100){return Math.max(n,Math.min(e,i))}var Xg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K]})}}return i})();var ok=["*",[["mat-toolbar-row"]]],ak=["*","mat-toolbar-row"],sk=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0})}}return i})(),tz=(()=>{class i{constructor(e,t,r){this._elementRef=e,this._platform=t,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(me),u(oe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-toolbar"]],contentQueries:function(t,r,o){if(t&1&&he(o,sk,5),t&2){let a;S(a=T())&&(r._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(t,r){t&2&&(qe(r.color?"mat-"+r.color:""),P("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[Q],ngContentSelectors:ak,decls:2,vars:0,template:function(t,r){t&1&&(se(ok),A(0),A(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-app-surface));color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-app-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-app-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-app-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-app-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-app-title-large-tracking));margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}}return i})();var Zg=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})();var ck=["tooltip"],tb=20;var ib=new C("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition({scrollThrottle:tb})}});function lk(i){return()=>i.scrollStrategies.reposition({scrollThrottle:tb})}var dk={provide:ib,deps:[je],useFactory:lk};function uk(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var hk=new C("mat-tooltip-default-options",{providedIn:"root",factory:uk});var Jg="tooltip-panel",eb=Bt({passive:!0}),mk=8,pk=8,fk=24,gk=200,kz=(()=>{class i{get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(e){this._positionAtOrigin=ut(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let t=ut(e);this._disabled!==t&&(this._disabled=t,t?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Ct(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Ct(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){let t=this._message;this._message=e!=null?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(t)}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(e,t,r,o,a,s,c,l,d,h,m,p){this._overlay=e,this._elementRef=t,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=a,this._platform=s,this._ariaDescriber=c,this._focusMonitor=l,this._dir=h,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=bk,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._touchstartTimeout=null,this._destroyed=new R,this._injector=F(Ee),this._scrollStrategy=d,this._document=p,m&&(this._showDelay=m.showDelay,this._hideDelay=m.hideDelay,m.position&&(this.position=m.position),m.positionAtOrigin&&(this.positionAtOrigin=m.positionAtOrigin),m.touchGestures&&(this.touchGestures=m.touchGestures),m.tooltipClass&&(this.tooltipClass=m.tooltipClass)),h.change.pipe($(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=mk}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe($(this._destroyed)).subscribe(e=>{e?e==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let e=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([t,r])=>{e.removeEventListener(t,r,eb)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay,t){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let r=this._createOverlay(t);this._detach(),this._portal=this._portal||new hn(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=r.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe($(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){let t=this._tooltipInstance;t&&(t.isVisible()?t.hide(e):(t._cancelPendingAnimations(),this._detach()))}toggle(e){this._isTooltipVisible()?this.hide():this.show(void 0,e)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(e){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!e)&&o._origin instanceof E)return this._overlayRef;this._detach()}let t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(t);return r.positionChanges.pipe($(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:r,panelClass:`${this._cssClassPrefix}-${Jg}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe($(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe($(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe($(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!Le(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){let t=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();t.withPositions([this._addOffset(N(N({},r.main),o.main)),this._addOffset(N(N({},r.fallback),o.fallback))])}_addOffset(e){let t=pk,r=!this._dir||this._dir.value=="ltr";return e.originY==="top"?e.offsetY=-t:e.originY==="bottom"?e.offsetY=t:e.originX==="start"?e.offsetX=r?-t:t:e.originX==="end"&&(e.offsetX=r?t:-t),e}_getOrigin(){let e=!this._dir||this._dir.value=="ltr",t=this.position,r;t=="above"||t=="below"?r={originX:"center",originY:t=="above"?"top":"bottom"}:t=="before"||t=="left"&&e||t=="right"&&!e?r={originX:"start",originY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(r={originX:"end",originY:"center"});let{x:o,y:a}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:a}}}_getOverlayPosition(){let e=!this._dir||this._dir.value=="ltr",t=this.position,r;t=="above"?r={overlayX:"center",overlayY:"bottom"}:t=="below"?r={overlayX:"center",overlayY:"top"}:t=="before"||t=="left"&&e||t=="right"&&!e?r={overlayX:"end",overlayY:"center"}:(t=="after"||t=="right"&&e||t=="left"&&!e)&&(r={overlayX:"start",overlayY:"center"});let{x:o,y:a}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),tt(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return this.position==="above"||this.position==="below"?t==="top"?t="bottom":t==="bottom"&&(t="top"):e==="end"?e="start":e==="start"&&(e="end"),{x:e,y:t}}_updateCurrentPositionClass(e){let{overlayY:t,originX:r,originY:o}=e,a;if(t==="center"?this._dir&&this._dir.value==="rtl"?a=r==="end"?"left":"right":a=r==="start"?"left":"right":a=t==="bottom"&&o==="top"?"above":"below",a!==this._currentPosition){let s=this._overlayRef;if(s){let c=`${this._cssClassPrefix}-${Jg}-`;s.removePanelClass(c+this._currentPosition),s.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",e=>{this._setupPointerExitEventsIfNeeded();let t;e.x!==void 0&&e.y!==void 0&&(t=e),this.show(void 0,t)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",e=>{let t=e.targetTouches?.[0],r=t?{x:t.clientX,y:t.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},this._defaultOptions.touchLongPressShowDelay??o)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",t=>{let r=t.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",t=>this._wheelListener(t)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",t],["touchcancel",t])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([t,r])=>{this._elementRef.nativeElement.addEventListener(t,r,eb)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let t=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;t!==r&&!r.contains(t)&&this.hide()}}_disableNativeGesturesIfNecessary(){let e=this.touchGestures;if(e!=="off"){let t=this._elementRef.nativeElement,r=t.style;(e==="on"||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(e==="on"||!t.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(e){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,e,"tooltip"),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}static{this.\u0275fac=function(t){return new(t||i)(u(je),u(E),u(un),u(Ue),u(B),u(me),u(mf),u(ot),u(ib),u(Re),u(hk,8),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-mdc-tooltip-disabled",r.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0})}}return i})(),bk=(()=>{class i{constructor(e,t,r){this._changeDetectorRef=e,this._elementRef=t,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new R,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=r==="NoopAnimations"}show(e){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let e=this._elementRef.nativeElement.getBoundingClientRect();return e.height>fk&&e.width>=gk}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){let t=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(t.classList.remove(e?o:r),t.classList.add(e?r:o),this._isVisible!==e&&(this._isVisible=e,this._changeDetectorRef.markForCheck()),e&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(t);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(t.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tooltip-component"]],viewQuery:function(t,r){if(t&1&&re(ck,7),t&2){let o;S(o=T())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(t,r){t&1&&ee("mouseleave",function(a){return r._handleMouseLeave(a)})},standalone:!0,features:[Q],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(t,r){if(t&1){let o=$e();w(0,"div",1,0),ee("animationend",function(s){return ce(o),le(r._handleAnimationEnd(s))}),w(2,"div",2),Tt(3),I()()}t&2&&(P("mdc-tooltip--multiline",r._isMultiline),ue("ngClass",r.tooltipClass),V(3),oi(r.message))},dependencies:[sa],styles:['.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-app-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-app-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-app-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-app-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-app-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-app-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-app-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}}return i})();var nb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[dk],imports:[Ts,yt,ii,K,K,Ut]})}}return i})();var vk=["trigger"],_k=["panel"],yk=[[["mat-select-trigger"]],"*"],xk=["mat-select-trigger","*"];function wk(i,n){if(i&1&&(w(0,"span",4),Tt(1),I()),i&2){let e=fe();V(),oi(e.placeholder)}}function Ck(i,n){i&1&&A(0)}function kk(i,n){if(i&1&&(w(0,"span",11),Tt(1),I()),i&2){let e=fe(2);V(),oi(e.triggerValue)}}function Dk(i,n){if(i&1&&(w(0,"span",5),te(1,Ck,1,0)(2,kk,2,1,"span",11),I()),i&2){let e=fe();V(),ge(e.customTrigger?1:2)}}function Ek(i,n){if(i&1){let e=$e();w(0,"div",12,1),ee("@transformPanel.done",function(r){ce(e);let o=fe();return le(o._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){ce(e);let o=fe();return le(o._handleKeydown(r))}),A(2,1),I()}if(i&2){let e=fe();Lu("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme(),""),ue("ngClass",e.panelClass)("@transformPanel","showing"),W("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var Ik={transformPanelWrap:gt("transformPanelWrap",[Je("* => void",Ku("@transformPanel",[Yu()],{optional:!0}))]),transformPanel:gt("transformPanel",[nt("void",Oe({opacity:0,transform:"scale(1, 0.8)"})),Je("void => showing",Ze("120ms cubic-bezier(0, 0, 0.2, 1)",Oe({opacity:1,transform:"scale(1, 1)"}))),Je("* => void",Ze("100ms linear",Oe({opacity:0})))])};var rb=0,ob=new C("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}});function Sk(i){return()=>i.scrollStrategies.reposition()}var Tk=new C("MAT_SELECT_CONFIG"),Mk={provide:ob,deps:[je],useFactory:Sk},Ak=new C("MatSelectTrigger"),zd=class{constructor(n,e){this.source=n,this.value=e}},eH=(()=>{class i{_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let r=this.panel.nativeElement,o=Os(e,this.options,this.optionGroups),a=t._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=Rs(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new zd(this,e)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Ui.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,r,o,a,s,c,l,d,h,m,p,f,g){this._viewportRuler=e,this._changeDetectorRef=t,this._elementRef=a,this._dir=s,this._parentFormField=d,this.ngControl=h,this._liveAnnouncer=f,this._defaultOptions=g,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(_,v)=>_===v,this._uid=`mat-select-${rb++}`,this._triggerAriaLabelledBy=null,this._destroy=new R,this.stateChanges=new R,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${rb++}`,this._panelDoneAnimatingStream=new R,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new R,this.optionSelectionChanges=zi(()=>{let _=this.options;return _?_.changes.pipe(Me(_),st(()=>Fe(..._.map(v=>v.onSelectionChange)))):this._initialized.pipe(st(()=>this.optionSelectionChanges))}),this.openedChange=new z,this._openedStream=this.openedChange.pipe(ye(_=>_),xe(()=>{})),this._closedStream=this.openedChange.pipe(ye(_=>!_),xe(()=>{})),this.selectionChange=new z,this.valueChange=new z,this._trackedModal=null,this._skipPredicate=_=>this.panelOpen?!1:_.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),g?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=g.typeaheadDebounceInterval),this._errorStateTracker=new ln(o,h,l,c,this.stateChanges),this._scrollStrategyFactory=p,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Ca(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Di(),$(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe($(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe($(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(Me(null),$(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&sn(this._trackedModal,"aria-owns",t),Pr(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;sn(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,r=t===40||t===38||t===37||t===39,o=t===13||t===32,a=this._keyManager;if(!a.isTyping()&&o&&!Le(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){let s=this.selected;a.onKeydown(e);let c=this.selected;c&&s!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,r=e.keyCode,o=r===40||r===38,a=t.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(!a&&(r===13||r===32)&&t.activeItem&&!Le(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!a&&this._multiple&&r===65&&e.ctrlKey){e.preventDefault();let s=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(s?c.select():c.deselect())})}else{let s=t.activeItemIndex;t.onKeydown(e),this._multiple&&o&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==s&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ke(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return r.value!=null&&this._compareWith(r.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Qo?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Or(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=Fe(this.options.changes,this._destroy);this.optionSelectionChanges.pipe($(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Fe(...this.options.map(t=>t._stateChanges)).pipe($(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let r=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,r)=>this.sortComparator?this.sortComparator(t,r,e):e.indexOf(t)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(r=>r.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static{this.\u0275fac=function(t){return new(t||i)(u(Dt),u(pe),u(B),u(dn),u(E),u(Re,8),u(_n,8),u(yn,8),u(Ri,8),u(ai,10),It("tabindex"),u(ob),u(gf),u(Tk,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-select"]],contentQueries:function(t,r,o){if(t&1&&(he(o,Ak,5),he(o,As,5),he(o,Vo,5)),t&2){let a;S(a=T())&&(r.customTrigger=a.first),S(a=T())&&(r.options=a),S(a=T())&&(r.optionGroups=a)}},viewQuery:function(t,r){if(t&1&&(re(vk,5),re(_k,5),re(Md,5)),t&2){let o;S(o=T())&&(r.trigger=o.first),S(o=T())&&(r.panel=o.first),S(o=T())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(t,r){t&1&&ee("keydown",function(a){return r._handleKeydown(a)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),t&2&&(W("id",r.id)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r.panelOpen?r.id+"-panel":null)("aria-expanded",r.panelOpen)("aria-label",r.ariaLabel||null)("aria-required",r.required.toString())("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState)("aria-activedescendant",r._getAriaActiveDescendant()),P("mat-mdc-select-disabled",r.disabled)("mat-mdc-select-invalid",r.errorState)("mat-mdc-select-required",r.required)("mat-mdc-select-empty",r.empty)("mat-mdc-select-multiple",r.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",O],disableRipple:[2,"disableRipple","disableRipple",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ye(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",O],placeholder:"placeholder",required:[2,"required","required",O],multiple:[2,"multiple","multiple",O],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",O],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Ye],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[de([{provide:Vn,useExisting:i},{provide:jo,useExisting:i}]),ae,Pe,Q],ngContentSelectors:xk,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(t,r){if(t&1){let o=$e();se(yk),w(0,"div",2,0),ee("click",function(){return ce(o),le(r.open())}),w(3,"div",3),te(4,wk,2,1,"span",4)(5,Dk,3,1,"span",5),I(),w(6,"div",6)(7,"div",7),Wt(),w(8,"svg",8),ie(9,"path",9),I()()()(),te(10,Ek,3,9,"ng-template",10),ee("backdropClick",function(){return ce(o),le(r.close())})("attach",function(){return ce(o),le(r._onAttached())})("detach",function(){return ce(o),le(r.close())})}if(t&2){let o=$t(1);V(3),W("id",r._valueId),V(),ge(r.empty?4:5),V(6),ue("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",r.panelOpen)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)}},dependencies:[Qo,Md,sa],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-app-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-app-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-app-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-app-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-app-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-app-on-surface-variant))}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[Ik.transformPanel]},changeDetection:0})}}return i})();var ab=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[Mk],imports:[yt,ii,Lr,K,Ut,Bn,Lr,K]})}}return i})();var sb=["*"],Ok=["content"],Rk=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],Fk=["mat-drawer","mat-drawer-content","*"];function Pk(i,n){if(i&1){let e=$e();w(0,"div",1),ee("click",function(){ce(e);let r=fe();return le(r._onBackdropClicked())}),I()}if(i&2){let e=fe();P("mat-drawer-shown",e._isShowingBackdrop())}}function Nk(i,n){i&1&&(w(0,"mat-drawer-content"),A(1,2),I())}var Lk={transformDrawer:gt("transform",[nt("open, open-instant",Oe({transform:"none",visibility:"visible"})),nt("void",Oe({"box-shadow":"none",visibility:"hidden"})),Je("void => open-instant",Ze("0ms")),Je("void <=> open, open-instant => void",Ze("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};var jk=new C("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:Vk}),cb=new C("MAT_DRAWER_CONTAINER");function Vk(){return!1}var Hd=(()=>{class i extends Fi{constructor(e,t,r,o,a){super(r,o,a),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(Lt(()=>zk)),u(E),u(un),u(B))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(t,r){t&2&&ft("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px")},standalone:!0,features:[de([{provide:Fi,useExisting:i}]),ne,Q],ngContentSelectors:sb,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},encapsulation:2,changeDetection:0})}}return i})(),Bk=(()=>{class i{get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=ut(e)}get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=ut(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(ut(e))}constructor(e,t,r,o,a,s,c,l){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=r,this._platform=o,this._ngZone=a,this._interactivityChecker=s,this._doc=c,this._container=l,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new R,this._animationEnd=new R,this._animationState="void",this.openedChange=new z(!0),this._openedStream=this.openedChange.pipe(ye(d=>d),xe(()=>{})),this.openedStart=this._animationStarted.pipe(ye(d=>d.fromState!==d.toState&&d.toState.indexOf("open")===0),nc(void 0)),this._closedStream=this.openedChange.pipe(ye(d=>!d),xe(()=>{})),this.closedStart=this._animationStarted.pipe(ye(d=>d.fromState!==d.toState&&d.toState==="void"),nc(void 0)),this._destroyed=new R,this.onPositionChanged=new z,this._modeChanged=new R,this._injector=F(Ee),this._changeDetectorRef=F(pe),this.openedChange.pipe($(this._destroyed)).subscribe(d=>{d?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Nt(this._elementRef.nativeElement,"keydown").pipe(ye(d=>d.keyCode===27&&!this.disableClose&&!Le(d)),$(this._destroyed)).subscribe(d=>this._ngZone.run(()=>{this.close(),d.stopPropagation(),d.preventDefault()}))}),this._animationEnd.pipe(Di((d,h)=>d.fromState===h.fromState&&d.toState===h.toState)).subscribe(d=>{let{fromState:h,toState:m}=d;(m.indexOf("open")===0&&h==="void"||m==="void"&&h.indexOf("open")===0)&&this.openedChange.emit(this._opened)})}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(t)}_focusByCssSelector(e,t){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,t)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":tt(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);let r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,t,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",t&&this._restoreFocus(r)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(o=>{this.openedChange.pipe(Ke(1)).subscribe(a=>o(a?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let t=this._elementRef.nativeElement,r=t.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,t)),r.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Nr),u(ot),u(me),u(B),u(Nn),u(oe,8),u(cb,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-drawer"]],viewQuery:function(t,r){if(t&1&&re(Ok,5),t&2){let o;S(o=T())&&(r._content=o.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(t,r){t&1&&Vu("@transform.start",function(a){return r._animationStarted.next(a)})("@transform.done",function(a){return r._animationEnd.next(a)}),t&2&&(ju("@transform",r._animationState),W("align",null),P("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-drawer-opened",r.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],standalone:!0,features:[Q],ngContentSelectors:sb,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,r){t&1&&(se(),w(0,"div",1,0),A(2),I())},dependencies:[Fi],encapsulation:2,data:{animation:[Lk.transformDrawer]},changeDetection:0})}}return i})(),zk=(()=>{class i{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=ut(e)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:ut(e)}get scrollable(){return this._userContent||this._content}constructor(e,t,r,o,a,s=!1,c){this._dir=e,this._element=t,this._ngZone=r,this._changeDetectorRef=o,this._animationMode=c,this._drawers=new Gt,this.backdropClick=new z,this._destroyed=new R,this._doCheckSubject=new R,this._contentMargins={left:null,right:null},this._contentMarginChanges=new R,this._injector=F(Ee),e&&e.change.pipe($(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),a.change().pipe($(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}ngAfterContentInit(){this._allDrawers.changes.pipe(Me(this._allDrawers),$(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Me(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(fi(10),$(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,t-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")t+=this._right._getWidth();else if(this._right.mode=="push"){let r=this._right._getWidth();t+=r,e-=r}}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(ye(t=>t.fromState!==t.toState),$(this._drawers.changes)).subscribe(t=>{t.toState!=="open-instant"&&this._animationMode!=="NoopAnimations"&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe($(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe($(this._drawers.changes)).subscribe(()=>{tt(()=>{this._validateDrawers()},{injector:this._injector,phase:Nu.Read})})}_watchDrawerMode(e){e&&e._modeChanged.pipe($(Fe(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let t=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?t.add(r):t.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static{this.\u0275fac=function(t){return new(t||i)(u(Re,8),u(E),u(B),u(pe),u(Dt),u(jk),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-drawer-container"]],contentQueries:function(t,r,o){if(t&1&&(he(o,Hd,5),he(o,Bk,5)),t&2){let a;S(a=T())&&(r._content=a.first),S(a=T())&&(r._allDrawers=a)}},viewQuery:function(t,r){if(t&1&&re(Hd,5),t&2){let o;S(o=T())&&(r._userContent=o.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,r){t&2&&P("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[de([{provide:cb,useExisting:i}]),Q],ngContentSelectors:Fk,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,r){t&1&&(se(Rk),te(0,Pk,1,2,"div",0),A(1),A(2,1),te(3,Nk,2,0,"mat-drawer-content")),t&2&&(ge(r.hasBackdrop?0:-1),V(3),ge(r._content?-1:3))},dependencies:[Hd],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color)}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return i})();var lb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,Ut,Ut,K]})}}return i})();var Hr=["*"];function Hk(i,n){i&1&&A(0)}var hb=["tabListContainer"],mb=["tabList"],pb=["tabListInner"],fb=["nextPaginator"],gb=["previousPaginator"],Qk=i=>({animationDuration:i}),Uk=(i,n)=>({value:i,params:n});function qk(i,n){}var Wk=["tabBodyWrapper"],Gk=["tabHeader"];function $k(i,n){}function Yk(i,n){if(i&1&&te(0,$k,0,0,"ng-template",12),i&2){let e=fe().$implicit;ue("cdkPortalOutlet",e.templateLabel)}}function Kk(i,n){if(i&1&&Tt(0),i&2){let e=fe().$implicit;oi(e.textLabel)}}function Xk(i,n){if(i&1){let e=$e();w(0,"div",7,2),ee("click",function(){let r=ce(e),o=r.$implicit,a=r.$index,s=fe(),c=$t(1);return le(s._handleClick(o,c,a))})("cdkFocusChange",function(r){let o=ce(e).$index,a=fe();return le(a._tabFocusChanged(r,o))}),ie(2,"span",8)(3,"div",9),w(4,"span",10)(5,"span",11),te(6,Yk,1,1,null,12)(7,Kk,1,1),I()()()}if(i&2){let e=n.$implicit,t=n.$index,r=$t(1),o=fe();qe(e.labelClass),P("mdc-tab--active",o.selectedIndex===t),ue("id",o._getTabLabelId(t))("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),W("tabIndex",o._getTabIndex(t))("aria-posinset",t+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(t))("aria-selected",o.selectedIndex===t)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),V(3),ue("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),V(3),ge(e.templateLabel?6:7)}}function Zk(i,n){i&1&&A(0)}function Jk(i,n){if(i&1){let e=$e();w(0,"mat-tab-body",13),ee("_onCentered",function(){ce(e);let r=fe();return le(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){ce(e);let o=fe();return le(o._setTabBodyWrapperHeight(r))}),I()}if(i&2){let e=n.$implicit,t=n.$index,r=fe();qe(e.bodyClass),P("mat-mdc-tab-body-active",r.selectedIndex===t),ue("id",r._getTabContentId(t))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),W("tabindex",r.contentTabIndex!=null&&r.selectedIndex===t?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(t))("aria-hidden",r.selectedIndex!==t)}}var eD=["mat-tab-nav-bar",""],tD=["mat-tab-link",""],iD=new C("MatTabContent"),nD=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","matTabContent",""]],standalone:!0,features:[de([{provide:iD,useExisting:i}])]})}}return i})(),rD=new C("MatTabLabel"),bb=new C("MAT_TAB"),oD=(()=>{class i extends ag{constructor(e,t,r){super(e,t),this._closestTab=r}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(Ue),u(bb,8))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[de([{provide:rD,useExisting:i}]),ne]})}}return i})(),vb=new C("MAT_TAB_GROUP"),aD=(()=>{class i{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}constructor(e,t){this._viewContainerRef=e,this._closestTabGroup=t,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new R,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Et(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(vb,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab"]],contentQueries:function(t,r,o){if(t&1&&(he(o,oD,5),he(o,nD,7,Ae)),t&2){let a;S(a=T())&&(r.templateLabel=a.first),S(a=T())&&(r._explicitContent=a.first)}},viewQuery:function(t,r){if(t&1&&re(Ae,7),t&2){let o;S(o=T())&&(r._implicitContent=o.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",O],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[de([{provide:bb,useExisting:i}]),ae,Pe,Q],ngContentSelectors:Hr,decls:1,vars:0,template:function(t,r){t&1&&(se(),te(0,Hk,1,0,"ng-template"))},encapsulation:2})}}return i})(),Qd="mdc-tab-indicator--active",db="mdc-tab-indicator--no-transition",Hs=class{constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar())}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),t=this._currentItem;if(e!==t&&(t?.deactivateInkBar(),e)){let r=t?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},_b=(()=>{class i{constructor(){this._elementRef=F(E),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let t=this._elementRef.nativeElement;if(!e||!t.getBoundingClientRect||!this._inkBarContentElement){t.classList.add(Qd);return}let r=t.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;t.classList.add(db),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),t.getBoundingClientRect(),t.classList.remove(db),t.classList.add(Qd),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Qd)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,t=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");t.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",t.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",O]},features:[ae]})}}return i})();var yb=(()=>{class i extends _b{constructor(e){super(),this.elementRef=e,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,r){t&2&&(W("aria-disabled",!!r.disabled),P("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",O]},standalone:!0,features:[ae,ne]})}}return i})(),ub=Bt({passive:!0}),sD=650,cD=100,xb=(()=>{class i{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let t=isNaN(e)?0:e;this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}constructor(e,t,r,o,a,s,c){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=r,this._dir=o,this._ngZone=a,this._platform=s,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new R,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new R,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new z,this.indexFocused=new z,this._sharedResizeObserver=F(Ns),this._injector=F(Ee),a.runOutsideAngular(()=>{Nt(e.nativeElement,"mouseleave").pipe($(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Nt(this._previousPaginator.nativeElement,"touchstart",ub).pipe($(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Nt(this._nextPaginator.nativeElement,"touchstart",ub).pipe($(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:He("ltr"),t=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(fi(32),$(this._destroyed)),r=this._viewportRuler.change(150).pipe($(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new an(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),tt(o,{injector:this._injector}),Fe(e,r,t,this._items.changes,this._itemsResized()).pipe($(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?Bi:this._items.changes.pipe(Me(this._items),st(e=>new Ge(t=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>t.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),Yn(1),ye(e=>e.some(t=>t.contentRect.width>0&&t.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!Le(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let t=this._items.get(this.focusIndex);t&&!t.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let t=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?t.scrollLeft=0:t.scrollLeft=t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,t=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(t)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){let t=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*t/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let t=this._items?this._items.toArray()[e]:null;if(!t)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:a}=t.elementRef.nativeElement,s,c;this._getLayoutDirection()=="ltr"?(s=o,c=s+a):(c=this._tabListInner.nativeElement.offsetWidth-o,s=c-a);let l=this.scrollDistance,d=this.scrollDistance+r;sd&&(this.scrollDistance+=Math.min(c-d,s-l))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,t=this._elementRef.nativeElement.offsetWidth,r=e-t>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,t=this._tabListContainer.nativeElement.offsetWidth;return e-t||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&t.button!=null&&t.button!==0||(this._stopInterval(),Cu(sD,cD).pipe($(Fe(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(o===0||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Dt),u(Re,8),u(B),u(me),u(Ce,8))}}static{this.\u0275dir=D({type:i,inputs:{disablePagination:[2,"disablePagination","disablePagination",O],selectedIndex:[2,"selectedIndex","selectedIndex",Ye]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ae]})}}return i})(),lD=(()=>{class i extends xb{constructor(e,t,r,o,a,s,c){super(e,t,r,o,a,s,c),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new Hs(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Dt),u(Re,8),u(B),u(me),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-header"]],contentQueries:function(t,r,o){if(t&1&&he(o,yb,4),t&2){let a;S(a=T())&&(r._items=a)}},viewQuery:function(t,r){if(t&1&&(re(hb,7),re(mb,7),re(pb,7),re(fb,5),re(gb,5)),t&2){let o;S(o=T())&&(r._tabListContainer=o.first),S(o=T())&&(r._tabList=o.first),S(o=T())&&(r._tabListInner=o.first),S(o=T())&&(r._nextPaginator=o.first),S(o=T())&&(r._previousPaginator=o.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(t,r){t&2&&P("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",O]},standalone:!0,features:[ae,ne,Q],ngContentSelectors:Hr,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(t,r){if(t&1){let o=$e();se(),w(0,"div",5,0),ee("click",function(){return ce(o),le(r._handlePaginatorClick("before"))})("mousedown",function(s){return ce(o),le(r._handlePaginatorPress("before",s))})("touchend",function(){return ce(o),le(r._stopInterval())}),ie(2,"div",6),I(),w(3,"div",7,1),ee("keydown",function(s){return ce(o),le(r._handleKeydown(s))}),w(5,"div",8,2),ee("cdkObserveContent",function(){return ce(o),le(r._onContentChanges())}),w(7,"div",9,3),A(9),I()()(),w(10,"div",10,4),ee("mousedown",function(s){return ce(o),le(r._handlePaginatorPress("after",s))})("click",function(){return ce(o),le(r._handlePaginatorClick("after"))})("touchend",function(){return ce(o),le(r._stopInterval())}),ie(12,"div",6),I()}t&2&&(P("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),ue("matRippleDisabled",r._disableScrollBefore||r.disableRipple),V(3),P("_mat-animation-noopable",r._animationMode==="NoopAnimations"),V(2),W("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),V(5),P("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),ue("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[ti,td],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}}return i})(),wb=new C("MAT_TABS_CONFIG"),dD={translateTab:gt("translateTab",[nt("center, void, left-origin-center, right-origin-center",Oe({transform:"none",visibility:"visible"})),nt("left",Oe({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),nt("right",Oe({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Je("* => left, * => right, left => center, right => center",Ze("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Je("void => left-origin-center",[Oe({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Ze("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Je("void => right-origin-center",[Oe({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Ze("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},uD=(()=>{class i extends mi{constructor(e,t,r,o){super(e,t,o),this._host=r,this._centeringSub=Te.EMPTY,this._leavingSub=Te.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Me(this._host._isCenterPosition(this._host._position))).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)(u(fn),u(Ue),u(Lt(()=>Cb)),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[ne]})}}return i})(),Cb=(()=>{class i{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,t,r){this._elementRef=e,this._dir=t,this._dirChangeSubscription=Te.EMPTY,this._translateTabComplete=new R,this._onCentering=new z,this._beforeCentering=new z,this._afterLeavingCenter=new z,this._onCentered=new z(!0),this.animationDuration="500ms",this.preserveContent=!1,t&&(this._dirChangeSubscription=t.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(Di((o,a)=>o.fromState===a.fromState&&o.toState===a.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let t=this._getLayoutDirection();return t=="ltr"&&e<=0||t=="rtl"&&e>0?"left-origin-center":"right-origin-center"}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Re,8),u(pe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-body"]],viewQuery:function(t,r){if(t&1&&re(mi,5),t&2){let o;S(o=T())&&(r._portalHost=o.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[Q],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(t,r){if(t&1){let o=$e();w(0,"div",1,0),ee("@translateTab.start",function(s){return ce(o),le(r._onTranslateTabStarted(s))})("@translateTab.done",function(s){return ce(o),le(r._translateTabComplete.next(s))}),te(2,qk,0,0,"ng-template",2),I()}t&2&&ue("@translateTab",Qu(3,Uk,r._position,Hu(1,Qk,r.animationDuration)))},dependencies:[uD,Fi],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[dD.translateTab]}})}}return i})(),hD=0,mD=!0,YH=(()=>{class i{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}get animationDuration(){return this._animationDuration}set animationDuration(e){let t=e+"";this._animationDuration=/^\d+$/.test(t)?e+"ms":t}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!mD)throw new Error("mat-tab-group background color must be set through the Sass theming API");let t=this._elementRef.nativeElement.classList;t.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&t.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,t,r,o){this._elementRef=e,this._changeDetectorRef=t,this._animationMode=o,this._tabs=new Gt,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Te.EMPTY,this._tabLabelSubscription=Te.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new z,this.focusChange=new z,this.animationDone=new z,this.selectedTabChange=new z(!0),this._isServer=!F(me).isBrowser,this._groupId=hD++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=r&&r.disablePagination!=null?r.disablePagination:!1,this.dynamicHeight=r&&r.dynamicHeight!=null?r.dynamicHeight:!1,r?.contentTabIndex!=null&&(this.contentTabIndex=r.contentTabIndex),this.preserveContent=!!r?.preserveContent,this.fitInkBarToContent=r&&r.fitInkBarToContent!=null?r.fitInkBarToContent:!1,this.stretchTabs=r&&r.stretchTabs!=null?r.stretchTabs:!0}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let t=this._selectedIndex==null;if(!t){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),t||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((t,r)=>{t.position=r-e,this._selectedIndex!=null&&t.position==0&&!t.origin&&(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let t=this._tabs.toArray(),r;for(let o=0;o{t[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Me(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(t=>t._closestTabGroup===this||!t._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){let t=this._tabHeader;t&&(t.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let t=new Ud;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Fe(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this.dynamicHeight||!this._tabBodyWrapperHeight)return;let t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,r){t.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let t=this._lastFocusedTabIndex??this.selectedIndex;return e===t?0:-1}_tabFocusChanged(e,t){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=t)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(wb,8),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-group"]],contentQueries:function(t,r,o){if(t&1&&he(o,aD,5),t&2){let a;S(a=T())&&(r._allTabs=a)}},viewQuery:function(t,r){if(t&1&&(re(Wk,5),re(Gk,5)),t&2){let o;S(o=T())&&(r._tabBodyWrapper=o.first),S(o=T())&&(r._tabHeader=o.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(t,r){t&2&&(qe("mat-"+(r.color||"primary")),ft("--mat-tab-animation-duration",r.animationDuration),P("mat-mdc-tab-group-dynamic-height",r.dynamicHeight)("mat-mdc-tab-group-inverted-header",r.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",r.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",O],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",O],dynamicHeight:[2,"dynamicHeight","dynamicHeight",O],selectedIndex:[2,"selectedIndex","selectedIndex",Ye],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Ye],disablePagination:[2,"disablePagination","disablePagination",O],disableRipple:[2,"disableRipple","disableRipple",O],preserveContent:[2,"preserveContent","preserveContent",O],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[de([{provide:vb,useExisting:i}]),ae,Q],ngContentSelectors:Hr,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(t,r){if(t&1){let o=$e();se(),w(0,"mat-tab-header",3,0),ee("indexFocused",function(s){return ce(o),le(r._focusChanged(s))})("selectFocusedIndex",function(s){return ce(o),le(r.selectedIndex=s)}),sc(2,Xk,8,17,"div",4,ac),I(),te(4,Zk,1,0),w(5,"div",5,1),sc(7,Jk,1,13,"mat-tab-body",6,ac),I()}t&2&&(ue("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),V(2),cc(r._tabs),V(2),ge(r._isServer?4:-1),V(),P("_mat-animation-noopable",r._animationMode==="NoopAnimations"),V(2),cc(r._tabs))},dependencies:[lD,yb,bf,ti,mi,Cb],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}}return i})(),Ud=class{},kb=0,pD=(()=>{class i extends xb{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(e),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(e){let t=e+"";this._animationDuration=/^\d+$/.test(t)?e+"ms":t}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let t=this._elementRef.nativeElement.classList;t.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&t.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,t,r,o,a,s,c,l){super(e,o,a,t,r,s,c),this._fitInkBarToContent=new Vi(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=l&&l.disablePagination!=null?l.disablePagination:!1,this.fitInkBarToContent=l&&l.fitInkBarToContent!=null?l.fitInkBarToContent:!1,this.stretchTabs=l&&l.stretchTabs!=null?l.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new Hs(this._items),this._items.changes.pipe(Me(null),$(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let e=this._items.toArray();for(let t=0;t.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}}return i})(),fD=(()=>{class i extends _b{get active(){return this._isActive}set active(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(e,t,r,o,a,s){super(),this._tabNavBar=e,this.elementRef=t,this._focusMonitor=a,this._destroyed=new R,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id=`mat-tab-link-${kb++}`,this.rippleConfig=r||{},this.tabIndex=parseInt(o)||0,s==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),e._fitInkBarToContent.pipe($(this._destroyed)).subscribe(c=>{this.fitInkBarToContent=c})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(this.disabled?e.preventDefault():this._tabNavBar.tabPanel&&(e.keyCode===32&&e.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex}static{this.\u0275fac=function(t){return new(t||i)(u(pD),u(E),u(Ln,8),It("tabindex"),u(ot),u(Ce,8))}}static{this.\u0275cmp=H({type:i,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(t,r){t&1&&ee("focus",function(){return r._handleFocus()})("keydown",function(a){return r._handleKeydown(a)}),t&2&&(W("aria-controls",r._getAriaControls())("aria-current",r._getAriaCurrent())("aria-disabled",r.disabled)("aria-selected",r._getAriaSelected())("id",r.id)("tabIndex",r._getTabIndex())("role",r._getRole()),P("mat-mdc-tab-disabled",r.disabled)("mdc-tab--active",r.active))},inputs:{active:[2,"active","active",O],disabled:[2,"disabled","disabled",O],disableRipple:[2,"disableRipple","disableRipple",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ye(e)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[ae,ne,Q],attrs:tD,ngContentSelectors:Hr,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(t,r){t&1&&(se(),ie(0,"span",0)(1,"div",1),w(2,"span",2)(3,"span",3),A(4),I()()),t&2&&(V(),ue("matRippleTrigger",r.elementRef.nativeElement)("matRippleDisabled",r.rippleDisabled))},dependencies:[ti],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}}return i})(),KH=(()=>{class i{constructor(){this.id=`mat-tab-nav-panel-${kb++}`}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(t,r){t&2&&W("aria-labelledby",r._activeTabId)("id",r.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[Q],ngContentSelectors:Hr,decls:1,vars:0,template:function(t,r){t&1&&(se(),A(0))},encapsulation:2,changeDetection:0})}}return i})(),Db=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,K]})}}return i})();var qd=class{constructor(n,e){this._document=e;let t=this._textarea=this._document.createElement("textarea"),r=t.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",t.setAttribute("aria-hidden","true"),t.value=n,t.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(t)}copy(){let n=this._textarea,e=!1;try{if(n){let t=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),t&&t.focus()}}catch{}return e}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},gD=(()=>{class i{constructor(e){this._document=e}copy(e){let t=this.beginCopy(e),r=t.copy();return t.destroy(),r}beginCopy(e){return new qd(e,this._document)}static{this.\u0275fac=function(t){return new(t||i)(x(oe))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),bD=new C("CDK_COPY_TO_CLIPBOARD_CONFIG"),sQ=(()=>{class i{constructor(e,t,r){this._clipboard=e,this._ngZone=t,this.text="",this.attempts=1,this.copied=new z,this._pending=new Set,r&&r.attempts!=null&&(this.attempts=r.attempts)}copy(e=this.attempts){if(e>1){let t=e,r=this._clipboard.beginCopy(this.text);this._pending.add(r);let o=()=>{let a=r.copy();!a&&--t&&!this._destroyed?this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(o,1)):(this._currentTimeout=null,this._pending.delete(r),r.destroy(),this.copied.emit(a))};o()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(e=>e.destroy()),this._pending.clear(),this._destroyed=!0}static{this.\u0275fac=function(t){return new(t||i)(u(gD),u(B),u(bD,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,r){t&1&&ee("click",function(){return r.copy()})},inputs:{text:[0,"cdkCopyToClipboard","text"],attempts:[0,"cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"},standalone:!0})}}return i})(),Eb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({})}}return i})();var vD=["panel"],_D=["*"];function yD(i,n){if(i&1){let e=$e();w(0,"div",1,0),ee("@panelAnimation.done",function(r){ce(e);let o=fe();return le(o._animationDone.next(r))}),A(2),I()}if(i&2){let e=n.id,t=fe();qe(t._classList),P("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),ue("id",t.id)("@panelAnimation",t.isOpen?"visible":"hidden"),W("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}var xD=gt("panelAnimation",[nt("void, hidden",Oe({opacity:0,transform:"scaleY(0.8)"})),Je(":enter, hidden => visible",[$u([Ze("0.03s linear",Oe({opacity:1})),Ze("0.12s cubic-bezier(0, 0, 0.2, 1)",Oe({transform:"scaleY(1)"}))])]),Je(":leave, visible => hidden",[Ze("0.075s linear",Oe({opacity:0}))])]),wD=0,Wd=class{constructor(n,e){this.source=n,this.option=e}},Ib=new C("mat-autocomplete-default-options",{providedIn:"root",factory:CD});function CD(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var NQ=(()=>{class i{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}constructor(e,t,r,o){this._changeDetectorRef=e,this._elementRef=t,this._defaults=r,this._activeOptionChanges=Te.EMPTY,this._animationDone=new z,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new z,this.opened=new z,this.closed=new z,this.optionActivated=new z,this.id=`mat-autocomplete-${wD++}`,this.inertGroups=o?.SAFARI||!1,this.autoActiveFirstOption=!!r.autoActiveFirstOption,this.autoSelectActiveOption=!!r.autoSelectActiveOption,this.requireSelection=!!r.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Or(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let t=new Wd(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_skipPredicate(){return!1}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(Ib),u(me))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-autocomplete"]],contentQueries:function(t,r,o){if(t&1&&(he(o,As,5),he(o,Vo,5)),t&2){let a;S(a=T())&&(r.options=a),S(a=T())&&(r.optionGroups=a)}},viewQuery:function(t,r){if(t&1&&(re(Ae,7),re(vD,5)),t&2){let o;S(o=T())&&(r.template=o.first),S(o=T())&&(r.panel=o.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",O],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",O],requireSelection:[2,"requireSelection","requireSelection",O],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",O],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",O]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[de([{provide:jo,useExisting:i}]),ae,Q],ngContentSelectors:_D,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(t,r){t&1&&(se(),te(0,yD,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[xD]},changeDetection:0})}}return i})();var kD={provide:vn,useExisting:Lt(()=>ID),multi:!0};var Sb=new C("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}});function DD(i){return()=>i.scrollStrategies.reposition()}var ED={provide:Sb,deps:[je],useFactory:DD},ID=(()=>{class i{constructor(e,t,r,o,a,s,c,l,d,h,m){this._element=e,this._overlay=t,this._viewContainerRef=r,this._zone=o,this._changeDetectorRef=a,this._dir=c,this._formField=l,this._document=d,this._viewportRuler=h,this._defaults=m,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Te.EMPTY,this._breakpointObserver=F(Cs),this._handsetLandscapeSubscription=Te.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new R,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new R,this._injector=F(Ee),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=zi(()=>{let p=this.autocomplete?this.autocomplete.options:null;return p?p.changes.pipe(Me(p),st(()=>Fe(...p.map(f=>f.onSelectionChange)))):this._initialized.pipe(st(()=>this.optionSelections))}),this._handlePanelKeydown=p=>{(p.keyCode===27&&!Le(p)||p.keyCode===38&&Le(p,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),p.stopPropagation(),p.preventDefault())},this._trackedModal=null,this._scrollStrategy=s}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&sn(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Fe(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(ye(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(ye(()=>this._overlayAttached)):He()).pipe(xe(e=>e instanceof Lo?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Fe(Nt(this._document,"click"),Nt(this._document,"auxclick"),Nt(this._document,"touchend")).pipe(ye(e=>{let t=Ot(e),r=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&t!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(t))&&(!o||!o.contains(t))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(t)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let t=e.keyCode,r=Le(e);if(t===27&&!r&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&t===13&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let o=this.autocomplete._keyManager.activeItem,a=t===38||t===40;t===9||a&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):a&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(a||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let t=e.target,r=t.value;if(t.type==="number"&&(r=r==""?null:parseFloat(r)),this._previousValue!==r){if(this._previousValue=r,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(r),!r)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let o=this.autocomplete.options?.find(a=>a.selected);if(o){let a=this._getDisplayValue(o.value);r!==a&&o.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let o=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(o)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new Ge(r=>{tt(()=>{r.next()},{injector:this._injector})}),t=this.autocomplete.options.changes.pipe(gi(()=>this._positionStrategy.reapplyLastPosition()),qr(0));return Fe(e,t).pipe(st(()=>this._zone.run(()=>{let r=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Ke(1)).subscribe(r=>this._setValueAndClose(r))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let t=this.autocomplete;return t&&t.displayWith?t.displayWith(e):e}_assignOptionValue(e){let t=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(t??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let t=this.autocomplete,r=e?e.source:this._pendingAutoselectedOption;r?(this._clearPreviousSelectedOption(r),this._assignOptionValue(r.value),this._onChange(r.value),t._emitSelectEvent(r),this._element.nativeElement.focus()):t.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),t._animationDone?t._animationDone.pipe(Ke(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,t){this.autocomplete?.options?.forEach(r=>{r!==e&&r.selected&&r.deselect(t)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let t=this.autocomplete.id;Pr(this._trackedModal,"aria-owns",t)}}_attachOverlay(e){this.autocomplete;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new Et(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=this._overlay.create(this._getOverlayConfig()),this._overlayRef=t,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(af.HandsetLandscape).subscribe(o=>{o.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),t&&!t.hasAttached()&&(t.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let r=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&r!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Ci({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}],a;this.position==="above"?a=o:this.position==="below"?a=t:a=[...t,...o],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let t=-1;for(let r=0;r .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=this.autocomplete.id;this._trackedModal&&sn(this._trackedModal,"aria-owns",t),Pr(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;sn(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(je),u(Ue),u(B),u(pe),u(Sb),u(Re,8),u(Ri,9),u(oe,8),u(Dt),u(Ib,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(t,r){t&1&&ee("focusin",function(){return r._handleFocus()})("blur",function(){return r._onTouched()})("input",function(a){return r._handleInput(a)})("keydown",function(a){return r._handleKeydown(a)})("click",function(){return r._handleClick()}),t&2&&W("autocomplete",r.autocompleteAttribute)("role",r.autocompleteDisabled?null:"combobox")("aria-autocomplete",r.autocompleteDisabled?null:"list")("aria-activedescendant",r.panelOpen&&r.activeOption?r.activeOption.id:null)("aria-expanded",r.autocompleteDisabled?null:r.panelOpen.toString())("aria-controls",r.autocompleteDisabled||!r.panelOpen||r.autocomplete==null?null:r.autocomplete.id)("aria-haspopup",r.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",O]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[de([kD]),ae,Pe]})}}return i})(),Tb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[ED],imports:[ii,Lr,K,yt,Ut,Lr,K]})}}return i})();var TD=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],MD=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function AD(i,n){i&1&&(w(0,"span",3),A(1,1),I())}function OD(i,n){i&1&&(w(0,"span",6),A(1,2),I())}var RD='.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width);border-radius:var(--mdc-chip-container-shape-radius);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-app-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-app-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.cdk-high-contrast-active .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}',FD=[[["mat-chip-avatar"],["","matChipAvatar",""]],[["","matChipEditInput",""]],"*",[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],PD=["mat-chip-avatar, [matChipAvatar]","[matChipEditInput]","*","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function ND(i,n){i&1&&ie(0,"span",0)}function LD(i,n){i&1&&(w(0,"span",2),A(1),I())}function jD(i,n){i&1&&A(0,1)}function VD(i,n){i&1&&ie(0,"span",7)}function BD(i,n){if(i&1&&te(0,jD,1,0)(1,VD,1,0,"span",7),i&2){let e=fe();ge(e.contentEditInput?0:1)}}function zD(i,n){i&1&&A(0,2)}function HD(i,n){i&1&&(w(0,"span",5),A(1,3),I())}var Ob=["*"],QD=".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}",Rb=new C("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),$d=new C("MatChipAvatar"),Mb=new C("MatChipTrailingIcon"),Yd=new C("MatChipRemove"),Zd=new C("MatChip"),Qs=(()=>{class i{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(e){this._disabled=e}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(e,t){this._elementRef=e,this._parentChip=t,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this.tabIndex=-1,this._allowFocusWhenDisabled=!1,e.nativeElement.nodeName==="BUTTON"&&e.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(e){!this.disabled&&this.isInteractive&&this._isPrimary&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(e.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Zd))}}static{this.\u0275dir=D({type:i,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(t,r){t&1&&ee("click",function(a){return r._handleClick(a)})("keydown",function(a){return r._handleKeydown(a)}),t&2&&(W("tabindex",r._getTabindex())("disabled",r._getDisabledAttribute())("aria-disabled",r.disabled),P("mdc-evolution-chip__action--primary",r._isPrimary)("mdc-evolution-chip__action--presentational",!r.isInteractive)("mdc-evolution-chip__action--trailing",!r._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",O],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?-1:Ye(e)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},standalone:!0,features:[ae]})}}return i})(),sU=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:["role","img",1,"mat-mdc-chip-avatar","mdc-evolution-chip__icon","mdc-evolution-chip__icon--primary"],standalone:!0,features:[de([{provide:$d,useExisting:i}])]})}}return i})();var cU=(()=>{class i extends Qs{constructor(){super(...arguments),this._isPrimary=!1}_handleClick(e){this.disabled||(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!this.disabled&&(e.stopPropagation(),e.preventDefault(),this._parentChip.remove())}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-mdc-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(t,r){t&2&&W("aria-hidden",null)},standalone:!0,features:[de([{provide:Yd,useExisting:i}]),ne]})}}return i})(),UD=0,Kd=(()=>{class i{_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(e){this._value=e}get disabled(){return this._disabled||this._chipListDisabled}set disabled(e){this._disabled=e}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(e){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,e)}constructor(e,t,r,o,a,s,c){this._changeDetectorRef=e,this._elementRef=t,this._ngZone=r,this._focusMonitor=o,this._globalRippleOptions=c,this._onFocus=new R,this._onBlur=new R,this.role=null,this._hasFocusInternal=!1,this.id=`mat-mdc-chip-${UD++}`,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._chipListDisabled=!1,this.removable=!0,this.highlighted=!1,this.disableRipple=!1,this._disabled=!1,this.removed=new z,this.destroyed=new z,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=F(Fs),this._injector=F(Ee),this._document=a,this._animationsDisabled=s==="NoopAnimations",this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){let e=this._elementRef.nativeElement;this._isBasicChip=e.hasAttribute(this.basicChipAttrName)||e.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Fe(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(e){(e.keyCode===8&&!e.repeat||e.keyCode===46)&&(e.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(e){return this._getActions().find(t=>{let r=t._elementRef.nativeElement;return r===e||r.contains(e)})}_getActions(){let e=[];return this.primaryAction&&e.push(this.primaryAction),this.removeIcon&&e.push(this.removeIcon),this.trailingIcon&&e.push(this.trailingIcon),e}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let t=e!==null;t!==this._hasFocusInternal&&(this._hasFocusInternal=t,t?this._onFocus.next({chip:this}):tt(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})),{injector:this._injector}))})}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(B),u(ot),u(oe),u(Ce,8),u(Ln,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,r,o){if(t&1&&(he(o,$d,5),he(o,Mb,5),he(o,Yd,5),he(o,$d,5),he(o,Mb,5),he(o,Yd,5)),t&2){let a;S(a=T())&&(r.leadingIcon=a.first),S(a=T())&&(r.trailingIcon=a.first),S(a=T())&&(r.removeIcon=a.first),S(a=T())&&(r._allLeadingIcons=a),S(a=T())&&(r._allTrailingIcons=a),S(a=T())&&(r._allRemoveIcons=a)}},viewQuery:function(t,r){if(t&1&&re(Qs,5),t&2){let o;S(o=T())&&(r.primaryAction=o.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(t,r){t&1&&ee("keydown",function(a){return r._handleKeydown(a)}),t&2&&(St("id",r.id),W("role",r.role)("aria-label",r.ariaLabel),qe("mat-"+(r.color||"primary")),P("mdc-evolution-chip",!r._isBasicChip)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-basic-chip",r._isBasicChip)("mat-mdc-standard-chip",!r._isBasicChip)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon())("_mat-animation-noopable",r._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",O],highlighted:[2,"highlighted","highlighted",O],disableRipple:[2,"disableRipple","disableRipple",O],disabled:[2,"disabled","disabled",O]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],standalone:!0,features:[de([{provide:Zd,useExisting:i}]),ae,Q],ngContentSelectors:MD,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(t,r){t&1&&(se(TD),ie(0,"span",0),w(1,"span",1)(2,"span",2),te(3,AD,2,0,"span",3),w(4,"span",4),A(5),ie(6,"span",5),I()()(),te(7,OD,2,0,"span",6)),t&2&&(V(2),ue("isInteractive",!1),V(),ge(r.leadingIcon?3:-1),V(4),ge(r._hasTrailingIcon()?7:-1))},dependencies:[Qs],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width);border-radius:var(--mdc-chip-container-shape-radius);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-app-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-app-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-app-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size);height:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.cdk-high-contrast-active .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius);width:var(--mdc-chip-with-icon-icon-size);height:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-app-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-app-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-app-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-app-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-app-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-app-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-app-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-app-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}}return i})();var Gd=(()=>{class i{constructor(e,t){this._elementRef=e,this._document=t}initialize(e){this.getNativeElement().focus(),this.setValue(e)}getNativeElement(){return this._elementRef.nativeElement}setValue(e){this.getNativeElement().textContent=e,this._moveCursorToEndOfInput()}getValue(){return this.getNativeElement().textContent||""}_moveCursorToEndOfInput(){let e=this._document.createRange();e.selectNodeContents(this.getNativeElement()),e.collapse(!1);let t=window.getSelection();t.removeAllRanges(),t.addRange(e)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(oe))}}static{this.\u0275dir=D({type:i,selectors:[["span","matChipEditInput",""]],hostAttrs:["role","textbox","tabindex","-1","contenteditable","true",1,"mat-chip-edit-input"],standalone:!0})}}return i})(),qD=(()=>{class i extends Kd{constructor(e,t,r,o,a,s,c,l){super(e,t,r,o,a,s,c),this.basicChipAttrName="mat-basic-chip-row",this._editStartPending=!1,this.editable=!1,this.edited=new z,this._isEditing=!1,this.role="row",this._onBlur.pipe($(this.destroyed)).subscribe(()=>{this._isEditing&&!this._editStartPending&&this._onEditFinish()})}_hasTrailingIcon(){return!this._isEditing&&super._hasTrailingIcon()}_handleFocus(){!this._isEditing&&!this.disabled&&this.focus()}_handleKeydown(e){e.keyCode===13&&!this.disabled?this._isEditing?(e.preventDefault(),this._onEditFinish()):this.editable&&this._startEditing(e):this._isEditing?e.stopPropagation():super._handleKeydown(e)}_handleDoubleclick(e){!this.disabled&&this.editable&&this._startEditing(e)}_startEditing(e){if(!this.primaryAction||this.removeIcon&&this._getSourceAction(e.target)===this.removeIcon)return;let t=this.value;this._isEditing=this._editStartPending=!0,tt(()=>{this._getEditInput().initialize(t),this._editStartPending=!1},{injector:this._injector})}_onEditFinish(){this._isEditing=this._editStartPending=!1,this.edited.emit({chip:this,value:this._getEditInput().getValue()}),(this._document.activeElement===this._getEditInput().getNativeElement()||this._document.activeElement===this._document.body)&&this.primaryAction.focus()}_isRippleDisabled(){return super._isRippleDisabled()||this._isEditing}_getEditInput(){return this.contentEditInput||this.defaultEditInput}static{this.\u0275fac=function(t){return new(t||i)(u(pe),u(E),u(B),u(ot),u(oe),u(Ce,8),u(Ln,8),It("tabindex"))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-chip-row"],["","mat-chip-row",""],["mat-basic-chip-row"],["","mat-basic-chip-row",""]],contentQueries:function(t,r,o){if(t&1&&he(o,Gd,5),t&2){let a;S(a=T())&&(r.contentEditInput=a.first)}},viewQuery:function(t,r){if(t&1&&re(Gd,5),t&2){let o;S(o=T())&&(r.defaultEditInput=o.first)}},hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-row","mdc-evolution-chip"],hostVars:27,hostBindings:function(t,r){t&1&&ee("focus",function(a){return r._handleFocus(a)})("dblclick",function(a){return r._handleDoubleclick(a)}),t&2&&(St("id",r.id),W("tabindex",r.disabled?null:-1)("aria-label",null)("aria-description",null)("role",r.role),P("mat-mdc-chip-with-avatar",r.leadingIcon)("mat-mdc-chip-disabled",r.disabled)("mat-mdc-chip-editing",r._isEditing)("mat-mdc-chip-editable",r.editable)("mdc-evolution-chip--disabled",r.disabled)("mdc-evolution-chip--with-trailing-action",r._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",r.leadingIcon)("mdc-evolution-chip--with-primary-icon",r.leadingIcon)("mdc-evolution-chip--with-avatar",r.leadingIcon)("mat-mdc-chip-highlighted",r.highlighted)("mat-mdc-chip-with-trailing-icon",r._hasTrailingIcon()))},inputs:{editable:"editable"},outputs:{edited:"edited"},standalone:!0,features:[de([{provide:Kd,useExisting:i},{provide:Zd,useExisting:i}]),ne,Q],ngContentSelectors:PD,decls:10,vars:9,consts:[[1,"mat-mdc-chip-focus-overlay"],["role","gridcell","matChipAction","",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary",3,"disabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],["aria-hidden","true",1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["role","gridcell",1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"cdk-visually-hidden",3,"id"],["matChipEditInput",""]],template:function(t,r){t&1&&(se(FD),te(0,ND,1,0,"span",0),w(1,"span",1),te(2,LD,2,0,"span",2),w(3,"span",3),te(4,BD,2,1)(5,zD,1,0),ie(6,"span",4),I()(),te(7,HD,2,0,"span",5),w(8,"span",6),Tt(9),I()),t&2&&(ge(r._isEditing?-1:0),V(),ue("disabled",r.disabled),W("aria-label",r.ariaLabel)("aria-describedby",r._ariaDescriptionId),V(),ge(r.leadingIcon?2:-1),V(2),ge(r._isEditing?4:5),V(3),ge(r._hasTrailingIcon()?7:-1),V(),ue("id",r._ariaDescriptionId),V(),oi(r.ariaDescription))},dependencies:[Qs,Gd],styles:[RD],encapsulation:2,changeDetection:0})}}return i})(),WD=(()=>{class i{get chipFocusChanges(){return this._getChipStream(e=>e._onFocus)}get chipDestroyedChanges(){return this._getChipStream(e=>e.destroyed)}get chipRemovedChanges(){return this._getChipStream(e=>e.removed)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(e){this._explicitRole=e}get focused(){return this._hasFocusedChip()}constructor(e,t,r){this._elementRef=e,this._changeDetectorRef=t,this._dir=r,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new R,this._defaultRole="presentation",this._disabled=!1,this.tabIndex=0,this._explicitRole=null,this._chipActions=new Gt}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(e=>e._hasFocus())}_syncChipsState(){this._chips?.forEach(e=>{e._chipListDisabled=this._disabled,e._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(e){this._originatesFromChip(e)&&this._keyManager.onKeydown(e)}_isValidIndex(e){return e>=0&&ethis._elementRef.nativeElement.tabIndex=e))}_getChipStream(e){return this._chips.changes.pipe(Me(null),st(()=>Fe(...this._chips.map(e))))}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-mdc-chip"))return!0;t=t.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe(Me(this._chips)).subscribe(e=>{let t=[];e.forEach(r=>r._getActions().forEach(o=>t.push(o))),this._chipActions.reset(t),this._chipActions.notifyOnChanges()}),this._keyManager=new an(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(e=>this._skipPredicate(e)),this.chipFocusChanges.pipe($(this._destroyed)).subscribe(({chip:e})=>{let t=e._getSourceAction(document.activeElement);t&&this._keyManager.updateActiveItem(t)}),this._dir?.change.pipe($(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e))}_skipPredicate(e){return!e.isInteractive||e.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Me(null),$(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe($(this._destroyed)).subscribe(e=>{let r=this._chips.toArray().indexOf(e.chip);this._isValidIndex(r)&&e.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=r)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let e=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),t=this._chips.toArray()[e];t.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():t.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Re,8))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-chip-set"]],contentQueries:function(t,r,o){if(t&1&&he(o,Kd,5),t&2){let a;S(a=T())&&(r._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(t,r){t&1&&ee("keydown",function(a){return r._handleKeydown(a)}),t&2&&W("role",r.role)},inputs:{disabled:[2,"disabled","disabled",O],role:"role",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Ye(e)]},standalone:!0,features:[ae,Q],ngContentSelectors:Ob,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,r){t&1&&(se(),w(0,"div",0),A(1),I())},styles:[".mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}}return i})();var Xd=class{constructor(n,e){this.source=n,this.value=e}},lU=(()=>{class i extends WD{get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=e,this._syncChipsState()}get id(){return this._chipInput.id}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this._chips||this._chips.length===0)}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput.focused||this._hasFocusedChip()}get required(){return this._required??this.ngControl?.control?.hasValidator(Ui.required)??!1}set required(e){this._required=e,this.stateChanges.next()}get shouldLabelFloat(){return!this.empty||this.focused}get value(){return this._value}set value(e){this._value=e}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get chipBlurChanges(){return this._getChipStream(e=>e._onBlur)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,r,o,a,s,c){super(e,t,r),this.ngControl=c,this.controlType="mat-chip-grid",this._defaultRole="grid",this._ariaDescribedbyIds=[],this._onTouched=()=>{},this._onChange=()=>{},this._value=[],this.change=new z,this.valueChange=new z,this._chips=void 0,this.stateChanges=new R,this.ngControl&&(this.ngControl.valueAccessor=this),this._errorStateTracker=new ln(s,c,a,o,this.stateChanges)}ngAfterContentInit(){this.chipBlurChanges.pipe($(this._destroyed)).subscribe(()=>{this._blur(),this.stateChanges.next()}),Fe(this.chipFocusChanges,this._chips.changes).pipe($(this._destroyed)).subscribe(()=>this.stateChanges.next())}ngAfterViewInit(){super.ngAfterViewInit(),this._chipInput}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){super.ngOnDestroy(),this.stateChanges.complete()}registerInput(e){this._chipInput=e,this._chipInput.setDescribedByIds(this._ariaDescribedbyIds)}onContainerClick(e){!this.disabled&&!this._originatesFromChip(e)&&this.focus()}focus(){if(!(this.disabled||this._chipInput.focused)){if(!this._chips.length||this._chips.first.disabled)Promise.resolve().then(()=>this._chipInput.focus());else{let e=this._keyManager.activeItem;e?e.focus():this._keyManager.setFirstItemActive()}this.stateChanges.next()}}setDescribedByIds(e){this._ariaDescribedbyIds=e,this._chipInput?.setDescribedByIds(e)}writeValue(e){this._value=e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}updateErrorState(){this._errorStateTracker.updateErrorState()}_blur(){this.disabled||setTimeout(()=>{this.focused||(this._propagateChanges(),this._markAsTouched())})}_allowFocusEscape(){this._chipInput.focused||super._allowFocusEscape()}_handleKeydown(e){let t=e.keyCode,r=this._keyManager.activeItem;if(t===9)this._chipInput.focused&&Le(e,"shiftKey")&&this._chips.length&&!this._chips.last.disabled?(e.preventDefault(),r?this._keyManager.setActiveItem(r):this._focusLastChip()):super._allowFocusEscape();else if(!this._chipInput.focused)if((t===38||t===40)&&r){let o=this._chipActions.filter(c=>c._isPrimary===r._isPrimary&&!this._skipPredicate(c)),a=o.indexOf(r),s=e.keyCode===38?-1:1;e.preventDefault(),a>-1&&this._isValidIndex(a+s)&&this._keyManager.setActiveItem(o[a+s])}else super._handleKeydown(e);this.stateChanges.next()}_focusLastChip(){this._chips.length&&this._chips.last.focus()}_propagateChanges(){let e=this._chips.length?this._chips.toArray().map(t=>t.value):[];this._value=e,this.change.emit(new Xd(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(Re,8),u(_n,8),u(yn,8),u(dn),u(ai,10))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-chip-grid"]],contentQueries:function(t,r,o){if(t&1&&he(o,qD,5),t&2){let a;S(a=T())&&(r._chips=a)}},hostAttrs:[1,"mat-mdc-chip-set","mat-mdc-chip-grid","mdc-evolution-chip-set"],hostVars:10,hostBindings:function(t,r){t&1&&ee("focus",function(){return r.focus()})("blur",function(){return r._blur()}),t&2&&(W("role",r.role)("tabindex",r.disabled||r._chips&&r._chips.length===0?-1:r.tabIndex)("aria-disabled",r.disabled.toString())("aria-invalid",r.errorState),P("mat-mdc-chip-list-disabled",r.disabled)("mat-mdc-chip-list-invalid",r.errorState)("mat-mdc-chip-list-required",r.required))},inputs:{disabled:[2,"disabled","disabled",O],placeholder:"placeholder",required:[2,"required","required",O],value:"value",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},standalone:!0,features:[de([{provide:Vn,useExisting:i}]),ae,ne,Q],ngContentSelectors:Ob,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(t,r){t&1&&(se(),w(0,"div",0),A(1),I())},styles:[QD],encapsulation:2,changeDetection:0})}}return i})(),GD=0,dU=(()=>{class i{get chipGrid(){return this._chipGrid}set chipGrid(e){e&&(this._chipGrid=e,this._chipGrid.registerInput(this))}get disabled(){return this._disabled||this._chipGrid&&this._chipGrid.disabled}set disabled(e){this._disabled=e}get empty(){return!this.inputElement.value}constructor(e,t,r){this._elementRef=e,this.focused=!1,this.addOnBlur=!1,this.chipEnd=new z,this.placeholder="",this.id=`mat-mdc-chip-list-input-${GD++}`,this._disabled=!1,this.inputElement=this._elementRef.nativeElement,this.separatorKeyCodes=t.separatorKeyCodes,r&&this.inputElement.classList.add("mat-mdc-form-field-input-control")}ngOnChanges(){this._chipGrid.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}_keydown(e){this.empty&&e.keyCode===8?(e.repeat||this._chipGrid._focusLastChip(),e.preventDefault()):this._emitChipEnd(e)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipGrid.focused||this._chipGrid._blur(),this._chipGrid.stateChanges.next()}_focus(){this.focused=!0,this._chipGrid.stateChanges.next()}_emitChipEnd(e){(!e||this._isSeparatorKey(e))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),e?.preventDefault())}_onInput(){this._chipGrid.stateChanges.next()}focus(){this.inputElement.focus()}clear(){this.inputElement.value=""}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}_isSeparatorKey(e){return!Le(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Rb),u(Ri,8))}}static{this.\u0275dir=D({type:i,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-mdc-chip-input","mat-mdc-input-element","mdc-text-field__input","mat-input-element"],hostVars:6,hostBindings:function(t,r){t&1&&ee("keydown",function(a){return r._keydown(a)})("blur",function(){return r._blur()})("focus",function(){return r._focus()})("input",function(){return r._onInput()}),t&2&&(St("id",r.id),W("disabled",r.disabled||null)("placeholder",r.placeholder||null)("aria-invalid",r._chipGrid&&r._chipGrid.ngControl?r._chipGrid.ngControl.invalid:null)("aria-required",r._chipGrid&&r._chipGrid.required||null)("required",r._chipGrid&&r._chipGrid.required||null))},inputs:{chipGrid:[0,"matChipInputFor","chipGrid"],addOnBlur:[2,"matChipInputAddOnBlur","addOnBlur",O],separatorKeyCodes:[0,"matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:[2,"disabled","disabled",O]},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],standalone:!0,features:[ae,Pe]})}}return i})();var Fb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[dn,{provide:Rb,useValue:{separatorKeyCodes:[13]}}],imports:[K,jn,K]})}}return i})();var $D=["mat-menu-item",""],YD=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],KD=["mat-icon, [matMenuItemIcon]","*"];function XD(i,n){i&1&&(Wt(),w(0,"svg",2),ie(1,"polygon",3),I())}var ZD=["*"];function JD(i,n){if(i&1){let e=$e();w(0,"div",0),ee("keydown",function(r){ce(e);let o=fe();return le(o._handleKeydown(r))})("click",function(){ce(e);let r=fe();return le(r.closed.emit("click"))})("@transformMenu.start",function(r){ce(e);let o=fe();return le(o._onAnimationStart(r))})("@transformMenu.done",function(r){ce(e);let o=fe();return le(o._onAnimationDone(r))}),w(1,"div",1),A(2),I()()}if(i&2){let e=fe();qe(e._classList),ue("id",e.panelId)("@transformMenu",e._panelAnimationState),W("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}var eu=new C("MAT_MENU_PANEL"),Jd=(()=>{class i{constructor(e,t,r,o,a){this._elementRef=e,this._document=t,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=a,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new R,this._focused=new R,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let e=this._elementRef.nativeElement.cloneNode(!0),t=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r enter",Ze("120ms cubic-bezier(0, 0, 0.2, 1)",Oe({opacity:1,transform:"scale(1)"}))),Je("* => void",Ze("100ms 25ms linear",Oe({opacity:0})))]),fadeInItems:gt("fadeInItems",[nt("showing",Oe({opacity:1})),Je("void => *",[Oe({opacity:0}),Ze("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},LU=qs.fadeInItems,jU=qs.transformMenu,tE=0,iE=new C("mat-menu-default-options",{providedIn:"root",factory:nE});function nE(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var Us=(()=>{class i{get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}set panelClass(e){let t=this._previousPanelClass,r=N({},this._classList);t&&t.length&&t.split(" ").forEach(o=>{r[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{r[o]=!0}),this._elementRef.nativeElement.className=""),this._classList=r}get classList(){return this.panelClass}set classList(e){this.panelClass=e}constructor(e,t,r,o){this._elementRef=e,this._changeDetectorRef=o,this._elevationPrefix="mat-elevation-z",this._baseElevation=null,this._directDescendantItems=new Gt,this._classList={},this._panelAnimationState="void",this._animationDone=new R,this.closed=new z,this.close=this.closed,this.panelId=`mat-menu-panel-${tE++}`,this._injector=F(Ee),this.overlayPanelClass=r.overlayPanelClass||"",this._xPosition=r.xPosition,this._yPosition=r.yPosition,this.backdropClass=r.backdropClass,this.overlapTrigger=r.overlapTrigger,this.hasBackdrop=r.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new an(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Me(this._directDescendantItems),st(e=>Fe(...e.map(t=>t._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{let t=this._keyManager;if(this._panelAnimationState==="enter"&&t.activeItem?._hasFocus()){let r=e.toArray(),o=Math.max(0,Math.min(r.length-1,t.activeItemIndex||0));r[o]&&!r[o].disabled?t.setActiveItem(o):t.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(Me(this._directDescendantItems),st(t=>Fe(...t.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){let t=e.keyCode,r=this._keyManager;switch(t){case 27:Le(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(t===38||t===40)&&r.setFocusOrigin("keyboard"),r.onKeydown(e);return}e.stopPropagation()}focusFirstItem(e="program"){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=tt(()=>{let t=null;if(this._directDescendantItems.length&&(t=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!t||!t.contains(document.activeElement)){let r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&t&&t.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){if(this._baseElevation===null){let s=(typeof getComputedStyle=="function"?getComputedStyle(this._elementRef.nativeElement):null)?.getPropertyValue("--mat-menu-base-elevation-level")||"8";this._baseElevation=parseInt(s)}let t=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${t}`,o=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));if(!o||o===this._previousElevation){let a=N({},this._classList);this._previousElevation&&(a[this._previousElevation]=!1),a[r]=!0,this._previousElevation=r,this._classList=a}}setPositionClasses(e=this.xPosition,t=this.yPosition){this._classList=Qe(N({},this._classList),{"mat-menu-before":e==="before","mat-menu-after":e==="after","mat-menu-above":t==="above","mat-menu-below":t==="below"}),this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,e.toState==="enter"&&this._keyManager.activeItemIndex===0&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Me(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(B),u(iE),u(pe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-menu"]],contentQueries:function(t,r,o){if(t&1&&(he(o,eE,5),he(o,Jd,5),he(o,Jd,4)),t&2){let a;S(a=T())&&(r.lazyContent=a.first),S(a=T())&&(r._allItems=a),S(a=T())&&(r.items=a)}},viewQuery:function(t,r){if(t&1&&re(Ae,5),t&2){let o;S(o=T())&&(r.templateRef=o.first)}},hostVars:3,hostBindings:function(t,r){t&2&&W("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",O],hasBackdrop:[2,"hasBackdrop","hasBackdrop",e=>e==null?null:O(e)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[de([{provide:eu,useExisting:i}]),ae,Q],ngContentSelectors:ZD,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(t,r){t&1&&(se(),te(0,JD,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;outline:0}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font, var(--mat-app-label-large-font));line-height:var(--mat-menu-item-label-text-line-height, var(--mat-app-label-large-line-height));font-size:var(--mat-menu-item-label-text-size, var(--mat-app-label-large-size));letter-spacing:var(--mat-menu-item-label-text-tracking, var(--mat-app-label-large-tracking));font-weight:var(--mat-menu-item-label-text-weight, var(--mat-app-label-large-weight))}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mat-menu-container-color, var(--mat-app-surface-container));will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.mat-mdc-menu-panel.ng-animating:has(.mat-mdc-menu-content:empty){display:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color, var(--mat-app-surface-variant));margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}[dir=rtl] .mat-mdc-menu-item{padding-right:var(--mat-menu-item-leading-spacing);padding-left:var(--mat-menu-item-trailing-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-right:var(--mat-menu-item-with-icon-leading-spacing);padding-left:var(--mat-menu-item-with-icon-trailing-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color, var(--mat-app-on-surface))}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item:focus{outline:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1);transform-origin:center}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[qs.transformMenu,qs.fadeInItems]},changeDetection:0})}}return i})(),Nb=new C("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let i=F(je);return()=>i.scrollStrategies.reposition()}});function rE(i){return()=>i.scrollStrategies.reposition()}var oE={provide:Nb,deps:[je],useFactory:rE},Pb=Bt({passive:!0});var VU=(()=>{class i{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._parentMaterialMenu,this._menuCloseSubscription=e.close.subscribe(t=>{this._destroyMenu(t),(t==="click"||t==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(t)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(e,t,r,o,a,s,c,l,d){this._overlay=e,this._element=t,this._viewContainerRef=r,this._menuItemInstance=s,this._dir=c,this._focusMonitor=l,this._ngZone=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Te.EMPTY,this._hoverSubscription=Te.EMPTY,this._menuCloseSubscription=Te.EMPTY,this._changeDetectorRef=F(pe),this._handleTouchStart=h=>{No(h)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new z,this.onMenuOpen=this.menuOpened,this.menuClosed=new z,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=a instanceof Us?a:void 0,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,Pb)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Pb),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let e=this.menu;if(this._menuOpen||!e)return;let t=this._createOverlay(e),r=t.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=e.hasBackdrop==null?!this.triggersSubmenu():e.hasBackdrop,t.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof Us&&(e._startAnimation(),e._directDescendantItems.changes.pipe($(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;let t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(e==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,t instanceof Us?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(ye(r=>r.toState==="void"),Ke(1),$(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let t=0,r=e.parentMenu;for(;r;)t++,r=r.parentMenu;e.setElevation(t)}}_setIsMenuOpen(e){e!==this._menuOpen&&(this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e),this._changeDetectorRef.markForCheck())}_createOverlay(e){if(!this._overlayRef){let t=this._getOverlayConfig(e);this._subscribeToPositions(e,t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Ci({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,t){e.setPositionClasses&&t.positionChanges.subscribe(r=>{let o=r.connectionPair.overlayX==="start"?"after":"before",a=r.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,a)):e.setPositionClasses(o,a)})}_setPosition(e,t){let[r,o]=e.xPosition==="before"?["end","start"]:["start","end"],[a,s]=e.yPosition==="above"?["bottom","top"]:["top","bottom"],[c,l]=[a,s],[d,h]=[r,o],m=0;if(this.triggersSubmenu()){if(h=r=e.xPosition==="before"?"start":"end",o=d=r==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let p=this._parentMaterialMenu.items.first;this._parentInnerPadding=p?p._getHostElement().offsetTop:0}m=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(c=a==="top"?"bottom":"top",l=s==="top"?"bottom":"top");t.withPositions([{originX:r,originY:c,overlayX:d,overlayY:a,offsetY:m},{originX:o,originY:c,overlayX:h,overlayY:a,offsetY:m},{originX:r,originY:l,overlayX:d,overlayY:s,offsetY:-m},{originX:o,originY:l,overlayX:h,overlayY:s,offsetY:-m}])}_menuClosingActions(){let e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments(),r=this._parentMaterialMenu?this._parentMaterialMenu.closed:He(),o=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ye(a=>a!==this._menuItemInstance),ye(()=>this._menuOpen)):He();return Fe(e,r,o,t)}_handleMousedown(e){Po(e)||(this._openedBy=e.button===0?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){let t=e.keyCode;(t===13||t===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===39&&this.dir==="ltr"||t===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(ye(e=>e===this._menuItemInstance&&!e.disabled),qr(0,Xo)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Us&&this.menu._isAnimating?this.menu._animationDone.pipe(Ke(1),qr(0,Xo),$(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Et(e.templateRef,this._viewContainerRef)),this._portal}static{this.\u0275fac=function(t){return new(t||i)(u(je),u(E),u(Ue),u(Nb),u(eu,8),u(Jd,10),u(Re,8),u(ot),u(B))}}static{this.\u0275dir=D({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(t,r){t&1&&ee("click",function(a){return r._handleClick(a)})("mousedown",function(a){return r._handleMousedown(a)})("keydown",function(a){return r._handleKeydown(a)}),t&2&&W("aria-haspopup",r.menu?"menu":null)("aria-expanded",r.menuOpen)("aria-controls",r.menuOpen?r.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0})}}return i})(),Lb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({providers:[oE],imports:[yt,jn,K,ii,Ut,K]})}}return i})();var aE=["determinateSpinner"];function sE(i,n){if(i&1&&(Wt(),w(0,"svg",11),ie(1,"circle",12),I()),i&2){let e=fe();W("viewBox",e._viewBox()),V(),ft("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),W("r",e._circleRadius())}}var cE=new C("mat-progress-spinner-default-options",{providedIn:"root",factory:lE});function lE(){return{diameter:jb}}var jb=100,dE=10,JU=(()=>{class i{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,t,r){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=jb,this._noopAnimations=t==="NoopAnimations"&&!!r&&!r._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",r&&(r.color&&(this.color=this._defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-dE)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(Ce,8),u(cE))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(t,r){if(t&1&&re(aE,5),t&2){let o;S(o=T())&&(r._determinateCircle=o.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(t,r){t&2&&(W("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),qe("mat-"+r.color),ft("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),P("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",Ye],diameter:[2,"diameter","diameter",Ye],strokeWidth:[2,"strokeWidth","strokeWidth",Ye]},exportAs:["matProgressSpinner"],standalone:!0,features:[ae,Q],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(t,r){if(t&1&&(te(0,sE,2,8,"ng-template",null,0,oa),w(2,"div",2,1),Wt(),w(4,"svg",3),ie(5,"circle",4),I()(),ea(),w(6,"div",5)(7,"div",6)(8,"div",7),pt(9,8),I(),w(10,"div",9),pt(11,8),I(),w(12,"div",10),pt(13,8),I()()()),t&2){let o=$t(1);V(4),W("viewBox",r._viewBox()),V(),ft("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),W("r",r._circleRadius()),V(4),ue("ngTemplateOutlet",o),V(2),ue("ngTemplateOutlet",o),V(2),ue("ngTemplateOutlet",o)}},dependencies:[ca],styles:[".mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-app-primary))}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}"],encapsulation:2,changeDetection:0})}}return i})();var Vb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[yt,K]})}}return i})();var pE=[[["caption"]],[["colgroup"],["col"]],"*"],fE=["caption","colgroup, col","*"];function gE(i,n){i&1&&A(0,2)}function bE(i,n){i&1&&(w(0,"thead",0),pt(1,1),I(),w(2,"tbody",0),pt(3,2)(4,3),I(),w(5,"tfoot",0),pt(6,4),I())}function vE(i,n){i&1&&pt(0,1)(1,2)(2,3)(3,4)}var pi=new C("CDK_TABLE");var Xs=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkCellDef",""]],standalone:!0})}}return i})(),Zs=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}}return i})(),Hb=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}}return i})(),Qr=(()=>{class i{get name(){return this._name}set name(e){this._setNameInput(e)}get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}constructor(e){this._table=e,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static{this.\u0275fac=function(t){return new(t||i)(u(pi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,r,o){if(t&1&&(he(o,Xs,5),he(o,Zs,5),he(o,Hb,5)),t&2){let a;S(a=T())&&(r.cell=a.first),S(a=T())&&(r.headerCell=a.first),S(a=T())&&(r.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",O],stickyEnd:[2,"stickyEnd","stickyEnd",O]},standalone:!0,features:[de([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),ae]})}}return i})(),Gs=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}},Qb=(()=>{class i extends Gs{constructor(e,t){super(e,t)}static{this.\u0275fac=function(t){return new(t||i)(u(Qr),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[ne]})}}return i})();var Ub=(()=>{class i extends Gs{constructor(e,t){super(e,t);let r=e._table?._getCellRole();r&&t.nativeElement.setAttribute("role",r)}static{this.\u0275fac=function(t){return new(t||i)(u(Qr),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[ne]})}}return i})(),$s=class{constructor(){this.tasks=[],this.endTasks=[]}},Ys=new C("_COALESCED_STYLE_SCHEDULER"),iu=(()=>{class i{constructor(e){this._currentSchedule=null,this._ngZone=F(B)}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new $s,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new $s;for(let t of e.tasks)t();for(let t of e.endTasks)t()}this._currentSchedule=null})))}static{this.\u0275fac=function(t){return new(t||i)(x(B))}}static{this.\u0275prov=Z({token:i,factory:i.\u0275fac})}}return i})();var nu=(()=>{class i{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof Ko?e.headerCell.template:this instanceof ru?e.footerCell.template:e.cell.template}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn))}}static{this.\u0275dir=D({type:i,features:[Pe]})}}return i})(),Ko=(()=>{class i extends nu{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,t,r){super(e,t),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn),u(pi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",O]},standalone:!0,features:[ae,ne,Pe]})}}return i})(),ru=(()=>{class i extends nu{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,t,r){super(e,t),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn),u(pi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",O]},standalone:!0,features:[ae,ne,Pe]})}}return i})(),Js=(()=>{class i extends nu{constructor(e,t,r){super(e,t),this._table=r}static{this.\u0275fac=function(t){return new(t||i)(u(Ae),u(bn),u(pi,8))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[ne]})}}return i})(),qn=(()=>{class i{static{this.mostRecentCellOutlet=null}constructor(e){this._viewContainer=e,i.mostRecentCellOutlet=this}ngOnDestroy(){i.mostRecentCellOutlet===this&&(i.mostRecentCellOutlet=null)}static{this.\u0275fac=function(t){return new(t||i)(u(Ue))}}static{this.\u0275dir=D({type:i,selectors:[["","cdkCellOutlet",""]],standalone:!0})}}return i})(),ou=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})();var au=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})(),qb=(()=>{class i{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}static{this.\u0275fac=function(t){return new(t||i)(u(Ae))}}static{this.\u0275dir=D({type:i,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}}return i})(),Bb=["top","bottom","left","right"],tu=class{constructor(n,e,t,r,o=!0,a=!0,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=t,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){let t=[];for(let r of n)if(r.nodeType===r.ELEMENT_NODE){t.push(r);for(let o=0;o{for(let r of t)this._removeStickyStyle(r,e)})}updateStickyColumns(n,e,t,r=!0){if(!n.length||!this._isBrowser||!(e.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=n[0],a=o.children.length,s=this._getCellWidths(o,r),c=this._getStickyStartColumnPositions(s,e),l=this._getStickyEndColumnPositions(s,t),d=e.lastIndexOf(!0),h=t.indexOf(!0),m=this.direction==="rtl",p=m?"right":"left",f=m?"left":"right";for(let g of n)for(let _=0;_e[_]?g:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:h===-1?[]:s.slice(h).map((g,_)=>t[_+h]?g:null).reverse()}))})}stickRows(n,e,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let r=t==="bottom"?n.slice().reverse():n,o=t==="bottom"?e.slice().reverse():e,a=[],s=[],c=[];for(let d=0,h=0;d{let t=n.querySelector("tfoot");t&&(e.some(r=>!r)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(n,e){for(let r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);Bb.some(r=>e.indexOf(r)===-1&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,t,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${t}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},t=0;for(let r of Bb)n.style[r]&&(t+=e[r]);return t?`${t}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],r=n.children;for(let o=0;o0;o--)e[o]&&(t[o]=r,r+=n[o]);return t}};var Ks=new C("CDK_SPL");var su=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(pi);r._rowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","rowOutlet",""]],standalone:!0})}}return i})(),cu=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(pi);r._headerRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","headerRowOutlet",""]],standalone:!0})}}return i})(),lu=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(pi);r._footerRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","footerRowOutlet",""]],standalone:!0})}}return i})(),du=(()=>{class i{constructor(e,t){this.viewContainer=e,this.elementRef=t;let r=F(pi);r._noDataRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(t){return new(t||i)(u(Ue),u(E))}}static{this.\u0275dir=D({type:i,selectors:[["","noDataRowOutlet",""]],standalone:!0})}}return i})();var uu=(()=>{class i{_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role"),t=e==="grid"||e==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&t==="cell"?null:t}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,t,r,o,a,s,c,l,d,h,m,p){this._differs=e,this._changeDetectorRef=t,this._elementRef=r,this._dir=a,this._platform=c,this._viewRepeater=l,this._coalescedStyleScheduler=d,this._viewportRuler=h,this._stickyPositioningListener=m,this._onDestroy=new R,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new z,this.viewChange=new Vi({start:0,end:Number.MAX_VALUE}),this._injector=F(Ee),o||r.nativeElement.setAttribute("role","table"),this._document=s,this._isServer=!c.isBrowser,this._isNativeHtmlTable=r.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t),this._viewportRuler.change().pipe($(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),ka(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(r,o,a)=>this._getEmbeddedViewArgs(r.item,a),r=>r.item.data,r=>{r.operation===nr.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let o=t.get(r.currentIndex);o.context.$implicit=r.item.data}),this._updateNoDataRow(),tt(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=zb(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=zb(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,a)=>{this._addStickyColumnStyles([o],this._headerRowDefs[a])}),this._rowDefs.forEach(o=>{let a=[];for(let s=0;s{this._addStickyColumnStyles([o],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{let s=r&&r.has(a)?r.get(a):[];if(s.length){let c=s.shift();return c.dataIndex=t,c}else return{data:e,rowDef:a,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ws(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Ws(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ws(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ws(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,s)=>a||!!s.getColumnsDiff(),t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),t||r||o}_switchDataSource(e){this._data=[],ka(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;ka(this.dataSource)?e=this.dataSource.connect(this):Ur(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=He(this.dataSource)),this._renderChangeSubscription=e.pipe($(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let r=Array.from(t.columns||[]).map(s=>{let c=this._columnDefsByName.get(s);return c}),o=r.map(s=>s.sticky),a=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let r=0;r!o.when||o.when(t,e));else{let o=this._rowDefs.find(a=>a.when&&a.when(t,e))||this._defaultRowDef;o&&r.push(o)}return r.length,r}_getEmbeddedViewArgs(e,t){let r=e.rowDef,o={$implicit:e.data};return{templateRef:r.template,context:o,index:t}}_renderRow(e,t,r,o={}){let a=e.viewContainer.createEmbeddedView(t.template,o,r);return this._renderCellTemplateForItem(t,o),a}_renderCellTemplateForItem(e,t){for(let r of this._getCellTemplates(e))qn.mostRecentCellOutlet&&qn.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,r=e.length;t{let r=this._columnDefsByName.get(t);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,r)=>t||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new tu(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:He()).pipe($(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(t){let o=r.createEmbeddedView(e.templateRef),a=o.rootNodes[0];o.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(t){return new(t||i)(u(bn),u(pe),u(E),It("role"),u(Re,8),u(oe),u(me),u(io),u(Ys),u(Dt),u(Ks,12),u(B,8))}}static{this.\u0275cmp=H({type:i,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,r,o){if(t&1&&(he(o,qb,5),he(o,Qr,5),he(o,Js,5),he(o,Ko,5),he(o,ru,5)),t&2){let a;S(a=T())&&(r._noDataRow=a.first),S(a=T())&&(r._contentColumnDefs=a),S(a=T())&&(r._contentRowDefs=a),S(a=T())&&(r._contentHeaderRowDefs=a),S(a=T())&&(r._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,r){t&2&&P("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",O],fixedLayout:[2,"fixedLayout","fixedLayout",O]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[de([{provide:pi,useExisting:i},{provide:io,useClass:rr},{provide:Ys,useClass:iu},{provide:Ks,useValue:null}]),ae,Q],ngContentSelectors:fE,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,r){t&1&&(se(pE),A(0),A(1,1),te(2,gE,1,0)(3,bE,7,0)(4,vE,4,0)),t&2&&(V(2),ge(r._isServer?2:-1),V(),ge(r._isNativeHtmlTable?3:4))},dependencies:[cu,su,du,lu],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}}return i})();function Ws(i,n){return i.concat(Array.from(n))}function zb(i,n){let e=n.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let r=t.nodeType===1?t.nodeName:null;if(r===e)return t;if(r==="TABLE")break;t=t.parentNode}return null}var Wb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[Bo]})}}return i})();var _E=[[["caption"]],[["colgroup"],["col"]],"*"],yE=["caption","colgroup, col","*"];function xE(i,n){i&1&&A(0,2)}function wE(i,n){i&1&&(w(0,"thead",0),pt(1,1),I(),w(2,"tbody",2),pt(3,3)(4,4),I(),w(5,"tfoot",0),pt(6,5),I())}function CE(i,n){i&1&&pt(0,1)(1,3)(2,4)(3,5)}var j5=(()=>{class i extends uu{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275cmp=H({type:i,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[de([{provide:uu,useExisting:i},{provide:pi,useExisting:i},{provide:Ys,useClass:iu},{provide:io,useClass:rr},{provide:Ks,useValue:null}]),ne,Q],ngContentSelectors:yE,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,r){t&1&&(se(_E),A(0),A(1,1),te(2,xE,1,0)(3,wE,7,0)(4,CE,4,0)),t&2&&(V(2),ge(r._isServer?2:-1),V(),ge(r._isNativeHtmlTable?3:4))},dependencies:[cu,su,du,lu],styles:[".mat-mdc-table-sticky{position:sticky !important}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-app-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-app-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-app-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-app-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-app-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-app-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}}return i})(),V5=(()=>{class i extends Xs{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matCellDef",""]],standalone:!0,features:[de([{provide:Xs,useExisting:i}]),ne]})}}return i})(),B5=(()=>{class i extends Zs{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[de([{provide:Zs,useExisting:i}]),ne]})}}return i})();var z5=(()=>{class i extends Qr{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[de([{provide:Qr,useExisting:i},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:i}]),ne]})}}return i})(),H5=(()=>{class i extends Qb{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[ne]})}}return i})();var Q5=(()=>{class i extends Ub{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[ne]})}}return i})();var U5=(()=>{class i extends Ko{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",O]},standalone:!0,features:[de([{provide:Ko,useExisting:i}]),ae,ne]})}}return i})();var q5=(()=>{class i extends Js{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275dir=D({type:i,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[de([{provide:Js,useExisting:i}]),ne]})}}return i})(),W5=(()=>{class i extends ou{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275cmp=H({type:i,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[de([{provide:ou,useExisting:i}]),ne,Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})();var G5=(()=>{class i extends au{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Xe(i)))(r||i)}})()}static{this.\u0275cmp=H({type:i,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[de([{provide:au,useExisting:i}]),ne,Q],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,r){t&1&&pt(0,0)},dependencies:[qn],encapsulation:2})}}return i})();var Gb=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[K,Wb,K]})}}return i})();var wq=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=j({type:i})}static{this.\u0275inj=L({imports:[Eb,yt,Uf,Tb,Rf,tg,og,Fb,kg,Dg,Pg,Bn,Vg,qg,Yg,Lb,Xg,Vb,ab,lb,Gb,Db,Zg,nb,Nh,Gu,uh]})}}return i})();export{hv as a,WE as b,GE as c,vh as d,pI as e,Jv as f,i_ as g,Ca as h,Xl as i,me as j,Cs as k,af as l,gf as m,As as n,VN as o,BN as p,zN as q,HN as r,QN as s,hn as t,Et as u,Br as v,mi as w,Ci as x,je as y,WN as z,GN as A,$N as B,YN as C,KN as D,XN as E,ZN as F,JN as G,eL as H,Qf as I,Uf as J,sQ as K,qf as L,QL as M,NQ as N,ID as O,ij as P,nj as Q,rj as R,oj as S,aj as T,sj as U,cj as V,sU as W,cU as X,Kd as Y,qD as Z,WD as _,lU as $,dU as aa,rg as ba,Go as ca,Pd as da,$V as ea,YV as fa,KV as ga,XV as ha,kg as ia,i2 as ja,jC as ka,V2 as la,B2 as ma,BC as na,iB as oa,WC as pa,yB as qa,VB as ra,Jd as sa,Us as ta,VU as ua,XB as va,JU as wa,tz as xa,kz as ya,eH as za,Hd as Aa,Bk as Ba,zk as Ca,j5 as Da,V5 as Ea,B5 as Fa,z5 as Ga,H5 as Ha,Q5 as Ia,U5 as Ja,q5 as Ka,W5 as La,G5 as Ma,nD as Na,oD as Oa,aD as Pa,YH as Qa,pD as Ra,fD as Sa,KH as Ta,wq as Ua}; diff --git a/webui/dist/bitmagnet/browser/chunk-ZF4WX6G7.js b/webui/dist/bitmagnet/browser/chunk-ZF4WX6G7.js deleted file mode 100644 index 5459bbb1..00000000 --- a/webui/dist/bitmagnet/browser/chunk-ZF4WX6G7.js +++ /dev/null @@ -1,2 +0,0 @@ -import{j as Me,k as ke,l as xe,m as We,o as De,t as $,u as Se,v as _e,w as K,x as ze,y as Ce}from"./chunk-Z6GE3BUT.js";import{c as Pe,d as Y,g as T,h as J,i as Q}from"./chunk-6XXA7HXI.js";import{$b as H,Cb as G,Ea as oe,Fa as se,Gb as le,Gc as ye,Ka as k,Mb as he,Oa as de,Qa as me,Qb as j,Rb as W,Sb as fe,Sc as we,Wb as pe,Yb as ge,Zb as ve,_b as be,a as P,ec as O,fa as ie,fc as X,gc as R,k as y,ka as z,kb as x,kc as I,lb as g,mc as q,na as L,nb as ue,pa as p,pc as B,qa as re,ua as V,wa as C,xb as ce}from"./chunk-FJILXII2.js";function la(e,n){if(e&1){let t=pe();j(0,"div",1)(1,"button",2),ve("click",function(){oe(t);let i=H();return se(i.action())}),I(2),W()()}if(e&2){let t=H();x(2),q(" ",t.data.action," ")}}var ha=["label"];function fa(e,n){}var pa=Math.pow(2,31)-1,D=class{constructor(n,t){this._overlayRef=t,this._afterDismissed=new y,this._afterOpened=new y,this._onAction=new y,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,pa))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},je=new L("MatSnackBarData"),M=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},ga=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275dir=C({type:e,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return e})(),va=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275dir=C({type:e,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return e})(),ba=(()=>{class e{static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275dir=C({type:e,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return e})(),ya=(()=>{class e{constructor(t,a){this.snackBarRef=t,this.data=a}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(a){return new(a||e)(g(D),g(je))}}static{this.\u0275cmp=V({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[B],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(a,i){a&1&&(j(0,"div",0),I(1),W(),G(2,la,3,1,"div",1)),a&2&&(x(),q(" ",i.data.message,` -`),x(),he(i.hasAction?2:-1))},dependencies:[De,ga,va,ba],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return e})(),wa={snackBarState:Pe("state",[J("void, hidden",T({transform:"scale(0.8)",opacity:0})),J("visible",T({transform:"scale(1)",opacity:1})),Q("* => visible",Y("150ms cubic-bezier(0, 0, 0.2, 1)")),Q("* => void, * => hidden",Y("75ms cubic-bezier(0.4, 0.0, 1, 1)",T({opacity:0})))])},Pa=0,Ma=(()=>{class e extends _e{constructor(t,a,i,d,m){super(),this._ngZone=t,this._elementRef=a,this._changeDetectorRef=i,this._platform=d,this.snackBarConfig=m,this._document=re(we),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new y,this._onExit=new y,this._onEnter=new y,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${Pa++}`,this.attachDomPortal=c=>{this._assertNotAttached();let f=this._portalOutlet.attachDomPortal(c);return this._afterPortalAttached(),f},m.politeness==="assertive"&&!m.announcementMessage?this._live="assertive":m.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let a=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),a}attachTemplatePortal(t){this._assertNotAttached();let a=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),a}onAnimationEnd(t){let{fromState:a,toState:i}=t;if((i==="void"&&a!=="void"||i==="hidden")&&this._completeExit(),i==="visible"){let d=this._onEnter;this._ngZone.run(()=>{d.next(),d.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,a=this.snackBarConfig.panelClass;a&&(Array.isArray(a)?a.forEach(m=>t.classList.add(m)):t.classList.add(a)),this._exposeToModals();let i=this._label.nativeElement,d="mdc-snackbar__label";i.classList.toggle(d,!i.querySelector(`.${d}`))}_exposeToModals(){let t=this._liveElementId,a=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i{let a=t.getAttribute("aria-owns");if(a){let i=a.replace(this._liveElementId,"").trim();i.length>0?t.setAttribute("aria-owns",i):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),a=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&a){let i=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(i=document.activeElement),t.removeAttribute("aria-hidden"),a.appendChild(t),i?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(a){return new(a||e)(g(de),g(me),g(ye),g(Me),g(M))}}static{this.\u0275cmp=V({type:e,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,i){if(a&1&&(O(K,7),O(ha,7)),a&2){let d;X(d=R())&&(i._portalOutlet=d.first),X(d=R())&&(i._label=d.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(a,i){a&1&&be("@state.done",function(m){return i.onAnimationEnd(m)}),a&2&&ge("@state",i._animationState)},standalone:!0,features:[ce,B],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,i){a&1&&(j(0,"div",1)(1,"div",2,0)(3,"div",3),G(4,fa,0,0,"ng-template",4),W(),fe(5,"div"),W()()),a&2&&(x(5),le("aria-live",i._live)("role",i._role)("id",i._liveElementId))},dependencies:[K],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-app-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-app-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-app-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-app-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color, var(--mat-app-inverse-primary));--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[wa.snackBarState]}})}}return e})();function ka(){return new M}var xa=new L("mat-snack-bar-default-options",{providedIn:"root",factory:ka}),Te=(()=>{class e{get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}constructor(t,a,i,d,m,c){this._overlay=t,this._live=a,this._injector=i,this._breakpointObserver=d,this._parentSnackBar=m,this._defaultConfig=c,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=ya,this.snackBarContainerComponent=Ma,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(t,a){return this._attach(t,a)}openFromTemplate(t,a){return this._attach(t,a)}open(t,a="",i){let d=P(P({},this._defaultConfig),i);return d.data={message:t,action:a},d.announcementMessage===t&&(d.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,d)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,a){let i=a&&a.viewContainerRef&&a.viewContainerRef.injector,d=k.create({parent:i||this._injector,providers:[{provide:M,useValue:a}]}),m=new $(this.snackBarContainerComponent,a.viewContainerRef,d),c=t.attach(m);return c.instance.snackBarConfig=a,c.instance}_attach(t,a){let i=P(P(P({},new M),this._defaultConfig),a),d=this._createOverlay(i),m=this._attachSnackBarContainer(d,i),c=new D(m,d);if(t instanceof ue){let f=new Se(t,null,{$implicit:i.data,snackBarRef:c});c.instance=m.attachTemplatePortal(f)}else{let f=this._createInjector(i,c),b=new $(t,void 0,f),A=m.attachComponentPortal(b);c.instance=A.instance}return this._breakpointObserver.observe(xe.HandsetPortrait).pipe(ie(d.detachments())).subscribe(f=>{d.overlayElement.classList.toggle(this.handsetCssClass,f.matches)}),i.announcementMessage&&m._onAnnounce.subscribe(()=>{this._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(c,i),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(t,a){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),a.duration&&a.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(a.duration))}_createOverlay(t){let a=new ze;a.direction=t.direction;let i=this._overlay.position().global(),d=t.direction==="rtl",m=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!d||t.horizontalPosition==="end"&&d,c=!m&&t.horizontalPosition!=="center";return m?i.left("0"):c?i.right("0"):i.centerHorizontally(),t.verticalPosition==="top"?i.top("0"):i.bottom("0"),a.positionStrategy=i,this._overlay.create(a)}_createInjector(t,a){let i=t&&t.viewContainerRef&&t.viewContainerRef.injector;return k.create({parent:i||this._injector,providers:[{provide:D,useValue:a},{provide:je,useValue:t.data}]})}static{this.\u0275fac=function(a){return new(a||e)(p(Ce),p(We),p(k),p(ke),p(e,12),p(xa))}}static{this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var sm=(()=>{class e{constructor(t){this.snackBar=t,this.expiry=1e3*10}addError(t,a=this.expiry){this.snackBar.open(t,"Dismiss",{duration:a,panelClass:["snack-bar-error"]})}static{this.\u0275fac=function(a){return new(a||e)(p(Te))}}static{this.\u0275prov=z({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Da={lessThanXSeconds:{one:"\u0623\u0642\u0644 \u0645\u0646 \u062B\u0627\u0646\u064A\u0629",two:"\u0623\u0642\u0644 \u0645\u0646 \u062B\u0627\u0646\u064A\u062A\u064A\u0646",threeToTen:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062B\u0648\u0627\u0646\u064A",other:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062B\u0627\u0646\u064A\u0629"},xSeconds:{one:"\u062B\u0627\u0646\u064A\u0629 \u0648\u0627\u062D\u062F\u0629",two:"\u062B\u0627\u0646\u064A\u062A\u0627\u0646",threeToTen:"{{count}} \u062B\u0648\u0627\u0646\u064A",other:"{{count}} \u062B\u0627\u0646\u064A\u0629"},halfAMinute:"\u0646\u0635\u0641 \u062F\u0642\u064A\u0642\u0629",lessThanXMinutes:{one:"\u0623\u0642\u0644 \u0645\u0646 \u062F\u0642\u064A\u0642\u0629",two:"\u0623\u0642\u0644 \u0645\u0646 \u062F\u0642\u064A\u0642\u062A\u064A\u0646",threeToTen:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062F\u0642\u0627\u0626\u0642",other:"\u0623\u0642\u0644 \u0645\u0646 {{count}} \u062F\u0642\u064A\u0642\u0629"},xMinutes:{one:"\u062F\u0642\u064A\u0642\u0629 \u0648\u0627\u062D\u062F\u0629",two:"\u062F\u0642\u064A\u0642\u062A\u0627\u0646",threeToTen:"{{count}} \u062F\u0642\u0627\u0626\u0642",other:"{{count}} \u062F\u0642\u064A\u0642\u0629"},aboutXHours:{one:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629 \u062A\u0642\u0631\u064A\u0628\u0627\u064B",two:"\u0633\u0627\u0639\u062A\u064A\u0646 \u062A\u0642\u0631\u064A\u0628\u0627",threeToTen:"{{count}} \u0633\u0627\u0639\u0627\u062A \u062A\u0642\u0631\u064A\u0628\u0627\u064B",other:"{{count}} \u0633\u0627\u0639\u0629 \u062A\u0642\u0631\u064A\u0628\u0627\u064B"},xHours:{one:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",two:"\u0633\u0627\u0639\u062A\u0627\u0646",threeToTen:"{{count}} \u0633\u0627\u0639\u0627\u062A",other:"{{count}} \u0633\u0627\u0639\u0629"},xDays:{one:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",two:"\u064A\u0648\u0645\u0627\u0646",threeToTen:"{{count}} \u0623\u064A\u0627\u0645",other:"{{count}} \u064A\u0648\u0645"},aboutXWeeks:{one:"\u0623\u0633\u0628\u0648\u0639 \u0648\u0627\u062D\u062F \u062A\u0642\u0631\u064A\u0628\u0627",two:"\u0623\u0633\u0628\u0648\u0639\u064A\u0646 \u062A\u0642\u0631\u064A\u0628\u0627",threeToTen:"{{count}} \u0623\u0633\u0627\u0628\u064A\u0639 \u062A\u0642\u0631\u064A\u0628\u0627",other:"{{count}} \u0623\u0633\u0628\u0648\u0639\u0627 \u062A\u0642\u0631\u064A\u0628\u0627"},xWeeks:{one:"\u0623\u0633\u0628\u0648\u0639 \u0648\u0627\u062D\u062F",two:"\u0623\u0633\u0628\u0648\u0639\u0627\u0646",threeToTen:"{{count}} \u0623\u0633\u0627\u0628\u064A\u0639",other:"{{count}} \u0623\u0633\u0628\u0648\u0639\u0627"},aboutXMonths:{one:"\u0634\u0647\u0631 \u0648\u0627\u062D\u062F \u062A\u0642\u0631\u064A\u0628\u0627\u064B",two:"\u0634\u0647\u0631\u064A\u0646 \u062A\u0642\u0631\u064A\u0628\u0627",threeToTen:"{{count}} \u0623\u0634\u0647\u0631 \u062A\u0642\u0631\u064A\u0628\u0627",other:"{{count}} \u0634\u0647\u0631\u0627 \u062A\u0642\u0631\u064A\u0628\u0627\u064B"},xMonths:{one:"\u0634\u0647\u0631 \u0648\u0627\u062D\u062F",two:"\u0634\u0647\u0631\u0627\u0646",threeToTen:"{{count}} \u0623\u0634\u0647\u0631",other:"{{count}} \u0634\u0647\u0631\u0627"},aboutXYears:{one:"\u0633\u0646\u0629 \u0648\u0627\u062D\u062F\u0629 \u062A\u0642\u0631\u064A\u0628\u0627\u064B",two:"\u0633\u0646\u062A\u064A\u0646 \u062A\u0642\u0631\u064A\u0628\u0627",threeToTen:"{{count}} \u0633\u0646\u0648\u0627\u062A \u062A\u0642\u0631\u064A\u0628\u0627\u064B",other:"{{count}} \u0633\u0646\u0629 \u062A\u0642\u0631\u064A\u0628\u0627\u064B"},xYears:{one:"\u0633\u0646\u0629 \u0648\u0627\u062D\u062F",two:"\u0633\u0646\u062A\u0627\u0646",threeToTen:"{{count}} \u0633\u0646\u0648\u0627\u062A",other:"{{count}} \u0633\u0646\u0629"},overXYears:{one:"\u0623\u0643\u062B\u0631 \u0645\u0646 \u0633\u0646\u0629",two:"\u0623\u0643\u062B\u0631 \u0645\u0646 \u0633\u0646\u062A\u064A\u0646",threeToTen:"\u0623\u0643\u062B\u0631 \u0645\u0646 {{count}} \u0633\u0646\u0648\u0627\u062A",other:"\u0623\u0643\u062B\u0631 \u0645\u0646 {{count}} \u0633\u0646\u0629"},almostXYears:{one:"\u0645\u0627 \u064A\u0642\u0627\u0631\u0628 \u0633\u0646\u0629 \u0648\u0627\u062D\u062F\u0629",two:"\u0645\u0627 \u064A\u0642\u0627\u0631\u0628 \u0633\u0646\u062A\u064A\u0646",threeToTen:"\u0645\u0627 \u064A\u0642\u0627\u0631\u0628 {{count}} \u0633\u0646\u0648\u0627\u062A",other:"\u0645\u0627 \u064A\u0642\u0627\u0631\u0628 {{count}} \u0633\u0646\u0629"}},Fe=(e,n,t)=>{let a=Da[e],i;return typeof a=="string"?i=a:n===1?i=a.one:n===2?i=a.two:n<=10?i=a.threeToTen.replace("{{count}}",String(n)):i=a.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?"\u062E\u0644\u0627\u0644 "+i:"\u0645\u0646\u0630 "+i:i};function s(e){return(n={})=>{let t=n.width?String(n.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}var Sa={full:"EEEE\u060C do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"dd/MM/yyyy"},_a={full:"HH:mm:ss",long:"HH:mm:ss",medium:"HH:mm:ss",short:"HH:mm"},za={full:"{{date}} '\u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' {{time}}",long:"{{date}} '\u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ne={date:s({formats:Sa,defaultWidth:"full"}),time:s({formats:_a,defaultWidth:"full"}),dateTime:s({formats:za,defaultWidth:"full"})};var Ca={lastWeek:"eeee '\u0627\u0644\u0645\u0627\u0636\u064A \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",yesterday:"'\u0627\u0644\u0623\u0645\u0633 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",today:"'\u0627\u0644\u064A\u0648\u0645 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",tomorrow:"'\u063A\u062F\u0627 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",nextWeek:"eeee '\u0627\u0644\u0642\u0627\u062F\u0645 \u0639\u0646\u062F \u0627\u0644\u0633\u0627\u0639\u0629' p",other:"P"},Ae=e=>Ca[e];function r(e){return(n,t)=>{let a=t?.context?String(t.context):"standalone",i;if(a==="formatting"&&e.formattingValues){let m=e.defaultFormattingWidth||e.defaultWidth,c=t?.width?String(t.width):m;i=e.formattingValues[c]||e.formattingValues[m]}else{let m=e.defaultWidth,c=t?.width?String(t.width):e.defaultWidth;i=e.values[c]||e.values[m]}let d=e.argumentCallback?e.argumentCallback(n):n;return i[d]}}var ja={narrow:["\u0642","\u0628"],abbreviated:["\u0642.\u0645.","\u0628.\u0645."],wide:["\u0642\u0628\u0644 \u0627\u0644\u0645\u064A\u0644\u0627\u062F","\u0628\u0639\u062F \u0627\u0644\u0645\u064A\u0644\u0627\u062F"]},Ta={narrow:["1","2","3","4"],abbreviated:["\u06311","\u06312","\u06313","\u06314"],wide:["\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u0623\u0648\u0644","\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u062B\u0627\u0646\u064A","\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u062B\u0627\u0644\u062B","\u0627\u0644\u0631\u0628\u0639 \u0627\u0644\u0631\u0627\u0628\u0639"]},Fa={narrow:["\u064A","\u0641","\u0645","\u0623","\u0645","\u064A","\u064A","\u0623","\u0633","\u0623","\u0646","\u062F"],abbreviated:["\u064A\u0646\u0627\u064A\u0631","\u0641\u0628\u0631\u0627\u064A\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064A\u0644","\u0645\u0627\u064A\u0648","\u064A\u0648\u0646\u064A\u0648","\u064A\u0648\u0644\u064A\u0648","\u0623\u063A\u0633\u0637\u0633","\u0633\u0628\u062A\u0645\u0628\u0631","\u0623\u0643\u062A\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062F\u064A\u0633\u0645\u0628\u0631"],wide:["\u064A\u0646\u0627\u064A\u0631","\u0641\u0628\u0631\u0627\u064A\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064A\u0644","\u0645\u0627\u064A\u0648","\u064A\u0648\u0646\u064A\u0648","\u064A\u0648\u0644\u064A\u0648","\u0623\u063A\u0633\u0637\u0633","\u0633\u0628\u062A\u0645\u0628\u0631","\u0623\u0643\u062A\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062F\u064A\u0633\u0645\u0628\u0631"]},Na={narrow:["\u062D","\u0646","\u062B","\u0631","\u062E","\u062C","\u0633"],short:["\u0623\u062D\u062F","\u0627\u062B\u0646\u064A\u0646","\u062B\u0644\u0627\u062B\u0627\u0621","\u0623\u0631\u0628\u0639\u0627\u0621","\u062E\u0645\u064A\u0633","\u062C\u0645\u0639\u0629","\u0633\u0628\u062A"],abbreviated:["\u0623\u062D\u062F","\u0627\u062B\u0646\u064A\u0646","\u062B\u0644\u0627\u062B\u0627\u0621","\u0623\u0631\u0628\u0639\u0627\u0621","\u062E\u0645\u064A\u0633","\u062C\u0645\u0639\u0629","\u0633\u0628\u062A"],wide:["\u0627\u0644\u0623\u062D\u062F","\u0627\u0644\u0627\u062B\u0646\u064A\u0646","\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621","\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621","\u0627\u0644\u062E\u0645\u064A\u0633","\u0627\u0644\u062C\u0645\u0639\u0629","\u0627\u0644\u0633\u0628\u062A"]},Aa={narrow:{am:"\u0635",pm:"\u0645",morning:"\u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"},abbreviated:{am:"\u0635",pm:"\u0645",morning:"\u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"},wide:{am:"\u0635",pm:"\u0645",morning:"\u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"}},Ea={narrow:{am:"\u0635",pm:"\u0645",morning:"\u0641\u064A \u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0641\u064A \u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0641\u064A \u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"},abbreviated:{am:"\u0635",pm:"\u0645",morning:"\u0641\u064A \u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0641\u064A \u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0641\u064A \u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"},wide:{am:"\u0635",pm:"\u0645",morning:"\u0641\u064A \u0627\u0644\u0635\u0628\u0627\u062D",noon:"\u0627\u0644\u0638\u0647\u0631",afternoon:"\u0628\u0639\u062F \u0627\u0644\u0638\u0647\u0631",evening:"\u0641\u064A \u0627\u0644\u0645\u0633\u0627\u0621",night:"\u0641\u064A \u0627\u0644\u0644\u064A\u0644",midnight:"\u0645\u0646\u062A\u0635\u0641 \u0627\u0644\u0644\u064A\u0644"}},La=e=>String(e),Ee={ordinalNumber:La,era:r({values:ja,defaultWidth:"wide"}),quarter:r({values:Ta,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:Fa,defaultWidth:"wide"}),day:r({values:Na,defaultWidth:"wide"}),dayPeriod:r({values:Aa,defaultWidth:"wide",formattingValues:Ea,defaultFormattingWidth:"wide"})};function u(e){return(n,t={})=>{let a=n.match(e.matchPattern);if(!a)return null;let i=a[0],d=n.match(e.parsePattern);if(!d)return null;let m=e.valueCallback?e.valueCallback(d[0]):d[0];m=t.valueCallback?t.valueCallback(m):m;let c=n.slice(i.length);return{value:m,rest:c}}}function o(e){return(n,t={})=>{let a=t.width,i=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],d=n.match(i);if(!d)return null;let m=d[0],c=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(c)?Ga(c,E=>E.test(m)):Va(c,E=>E.test(m)),b;b=e.valueCallback?e.valueCallback(f):f,b=t.valueCallback?t.valueCallback(b):b;let A=n.slice(m.length);return{value:b,rest:A}}}function Va(e,n){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&n(e[t]))return t}function Ga(e,n){for(let t=0;tparseInt(e,10)}),era:o({matchPatterns:Xa,defaultMatchWidth:"wide",parsePatterns:Ra,defaultParseWidth:"any"}),quarter:o({matchPatterns:Ia,defaultMatchWidth:"wide",parsePatterns:qa,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:Ba,defaultMatchWidth:"wide",parsePatterns:Ya,defaultParseWidth:"any"}),day:o({matchPatterns:Ja,defaultMatchWidth:"wide",parsePatterns:Qa,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:$a,defaultMatchWidth:"any",parsePatterns:Ka,defaultParseWidth:"any"})};var Ve={code:"ar",formatDistance:Fe,formatLong:Ne,formatRelative:Ae,localize:Ee,match:Le,options:{weekStartsOn:6,firstWeekContainsDate:1}};var Ge={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},He=(e,n,t)=>{let a,i=t?.addSuffix?Ge[e].withPreposition:Ge[e].standalone;return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?"in "+a:"vor "+a:a};var Ua={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},Za={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},en={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Oe={date:s({formats:Ua,defaultWidth:"full"}),time:s({formats:Za,defaultWidth:"full"}),dateTime:s({formats:en,defaultWidth:"full"})};var tn={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},Xe=(e,n,t,a)=>tn[e];var an={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},nn={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},U={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","M\xE4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","M\xE4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},rn={narrow:U.narrow,abbreviated:["Jan.","Feb.","M\xE4rz","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:U.wide},on={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},sn={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},dn={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},mn=e=>Number(e)+".",Re={ordinalNumber:mn,era:r({values:an,defaultWidth:"wide"}),quarter:r({values:nn,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:U,formattingValues:rn,defaultWidth:"wide"}),day:r({values:on,defaultWidth:"wide"}),dayPeriod:r({values:sn,defaultWidth:"wide",formattingValues:dn,defaultFormattingWidth:"wide"})};var un=/^(\d+)(\.)?/i,cn=/\d+/i,ln={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},hn={any:[/^v/i,/^n/i]},fn={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},pn={any:[/1/i,/2/i,/3/i,/4/i]},gn={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},vn={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},bn={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},yn={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},wn={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},Pn={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},Ie={ordinalNumber:u({matchPattern:un,parsePattern:cn,valueCallback:e=>parseInt(e)}),era:o({matchPatterns:ln,defaultMatchWidth:"wide",parsePatterns:hn,defaultParseWidth:"any"}),quarter:o({matchPatterns:fn,defaultMatchWidth:"wide",parsePatterns:pn,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:gn,defaultMatchWidth:"wide",parsePatterns:vn,defaultParseWidth:"any"}),day:o({matchPatterns:bn,defaultMatchWidth:"wide",parsePatterns:yn,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:wn,defaultMatchWidth:"wide",parsePatterns:Pn,defaultParseWidth:"any"})};var qe={code:"de",formatDistance:He,formatLong:Oe,formatRelative:Xe,localize:Re,match:Ie,options:{weekStartsOn:1,firstWeekContainsDate:4}};var Mn={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Be=(e,n,t)=>{let a,i=Mn[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),t?.addSuffix?t.comparison&&t.comparison>0?"in "+a:a+" ago":a};var kn={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},xn={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Wn={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ye={date:s({formats:kn,defaultWidth:"full"}),time:s({formats:xn,defaultWidth:"full"}),dateTime:s({formats:Wn,defaultWidth:"full"})};var Dn={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Je=(e,n,t,a)=>Dn[e];var Sn={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},_n={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},zn={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Cn={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},jn={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Tn={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Fn=(e,n)=>{let t=Number(e),a=t%100;if(a>20||a<10)switch(a%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},Qe={ordinalNumber:Fn,era:r({values:Sn,defaultWidth:"wide"}),quarter:r({values:_n,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:zn,defaultWidth:"wide"}),day:r({values:Cn,defaultWidth:"wide"}),dayPeriod:r({values:jn,defaultWidth:"wide",formattingValues:Tn,defaultFormattingWidth:"wide"})};var Nn=/^(\d+)(th|st|nd|rd)?/i,An=/\d+/i,En={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ln={any:[/^b/i,/^(a|c)/i]},Vn={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Gn={any:[/1/i,/2/i,/3/i,/4/i]},Hn={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},On={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Xn={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Rn={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},In={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},qn={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},$e={ordinalNumber:u({matchPattern:Nn,parsePattern:An,valueCallback:e=>parseInt(e,10)}),era:o({matchPatterns:En,defaultMatchWidth:"wide",parsePatterns:Ln,defaultParseWidth:"any"}),quarter:o({matchPatterns:Vn,defaultMatchWidth:"wide",parsePatterns:Gn,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:Hn,defaultMatchWidth:"wide",parsePatterns:On,defaultParseWidth:"any"}),day:o({matchPatterns:Xn,defaultMatchWidth:"wide",parsePatterns:Rn,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:In,defaultMatchWidth:"any",parsePatterns:qn,defaultParseWidth:"any"})};var F={code:"en-US",formatDistance:Be,formatLong:Ye,formatRelative:Je,localize:Qe,match:$e,options:{weekStartsOn:0,firstWeekContainsDate:1}};var Bn={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 d\xEDa",other:"{{count}} d\xEDas"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 a\xF1o",other:"alrededor de {{count}} a\xF1os"},xYears:{one:"1 a\xF1o",other:"{{count}} a\xF1os"},overXYears:{one:"m\xE1s de 1 a\xF1o",other:"m\xE1s de {{count}} a\xF1os"},almostXYears:{one:"casi 1 a\xF1o",other:"casi {{count}} a\xF1os"}},Ke=(e,n,t)=>{let a,i=Bn[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),t?.addSuffix?t.comparison&&t.comparison>0?"en "+a:"hace "+a:a};var Yn={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},Jn={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Qn={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ue={date:s({formats:Yn,defaultWidth:"full"}),time:s({formats:Jn,defaultWidth:"full"}),dateTime:s({formats:Qn,defaultWidth:"full"})};var $n={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'ma\xF1ana a la' p",nextWeek:"eeee 'a la' p",other:"P"},Kn={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'ma\xF1ana a las' p",nextWeek:"eeee 'a las' p",other:"P"},Ze=(e,n,t,a)=>n.getHours()!==1?Kn[e]:$n[e];var Un={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despu\xE9s de cristo"]},Zn={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xBA trimestre","2\xBA trimestre","3\xBA trimestre","4\xBA trimestre"]},ei={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},ti={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","s\xE1"],abbreviated:["dom","lun","mar","mi\xE9","jue","vie","s\xE1b"],wide:["domingo","lunes","martes","mi\xE9rcoles","jueves","viernes","s\xE1bado"]},ai={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"ma\xF1ana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"ma\xF1ana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"ma\xF1ana",afternoon:"tarde",evening:"tarde",night:"noche"}},ni={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la ma\xF1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xF1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xF1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},ii=(e,n)=>Number(e)+"\xBA",et={ordinalNumber:ii,era:r({values:Un,defaultWidth:"wide"}),quarter:r({values:Zn,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:r({values:ei,defaultWidth:"wide"}),day:r({values:ti,defaultWidth:"wide"}),dayPeriod:r({values:ai,defaultWidth:"wide",formattingValues:ni,defaultFormattingWidth:"wide"})};var ri=/^(\d+)(º)?/i,oi=/\d+/i,si={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},di={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},mi={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},ui={any:[/1/i,/2/i,/3/i,/4/i]},ci={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},li={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},hi={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},fi={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},pi={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},gi={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},tt={ordinalNumber:u({matchPattern:ri,parsePattern:oi,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:si,defaultMatchWidth:"wide",parsePatterns:di,defaultParseWidth:"any"}),quarter:o({matchPatterns:mi,defaultMatchWidth:"wide",parsePatterns:ui,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:ci,defaultMatchWidth:"wide",parsePatterns:li,defaultParseWidth:"any"}),day:o({matchPatterns:hi,defaultMatchWidth:"wide",parsePatterns:fi,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:pi,defaultMatchWidth:"any",parsePatterns:gi,defaultParseWidth:"any"})};var at={code:"es",formatDistance:Ke,formatLong:Ue,formatRelative:Ze,localize:et,match:tt,options:{weekStartsOn:1,firstWeekContainsDate:1}};var vi={lessThanXSeconds:{one:"moins d\u2019une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d\u2019une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d\u2019un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu\u2019un an",other:"presque {{count}} ans"}},nt=(e,n,t)=>{let a,i=vi[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?"dans "+a:"il y a "+a:a};var bi={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},yi={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},wi={full:"{{date}} '\xE0' {{time}}",long:"{{date}} '\xE0' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},it={date:s({formats:bi,defaultWidth:"full"}),time:s({formats:yi,defaultWidth:"full"}),dateTime:s({formats:wi,defaultWidth:"full"})};var Pi={lastWeek:"eeee 'dernier \xE0' p",yesterday:"'hier \xE0' p",today:"'aujourd\u2019hui \xE0' p",tomorrow:"'demain \xE0' p'",nextWeek:"eeee 'prochain \xE0' p",other:"P"},rt=(e,n,t,a)=>Pi[e];var Mi={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant J\xE9sus-Christ","apr\xE8s J\xE9sus-Christ"]},ki={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2\xE8me trim.","3\xE8me trim.","4\xE8me trim."],wide:["1er trimestre","2\xE8me trimestre","3\xE8me trimestre","4\xE8me trimestre"]},xi={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","f\xE9vr.","mars","avr.","mai","juin","juil.","ao\xFBt","sept.","oct.","nov.","d\xE9c."],wide:["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"]},Wi={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},Di={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"apr\xE8s-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l\u2019apr\xE8s-midi",evening:"du soir",night:"du matin"}},Si=(e,n)=>{let t=Number(e),a=n?.unit;if(t===0)return"0";let i=["year","week","hour","minute","second"],d;return t===1?d=a&&i.includes(a)?"\xE8re":"er":d="\xE8me",t+d},_i=["MMM","MMMM"],ot={preprocessor:(e,n)=>e.getDate()===1||!n.some(a=>a.isToken&&_i.includes(a.value))?n:n.map(a=>a.isToken&&a.value==="do"?{isToken:!0,value:"d"}:a),ordinalNumber:Si,era:r({values:Mi,defaultWidth:"wide"}),quarter:r({values:ki,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:xi,defaultWidth:"wide"}),day:r({values:Wi,defaultWidth:"wide"}),dayPeriod:r({values:Di,defaultWidth:"wide"})};var zi=/^(\d+)(ième|ère|ème|er|e)?/i,Ci=/\d+/i,ji={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},Ti={any:[/^av/i,/^ap/i]},Fi={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},Ni={any:[/1/i,/2/i,/3/i,/4/i]},Ai={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},Ei={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},Li={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},Vi={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},Gi={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},Hi={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},st={ordinalNumber:u({matchPattern:zi,parsePattern:Ci,valueCallback:e=>parseInt(e)}),era:o({matchPatterns:ji,defaultMatchWidth:"wide",parsePatterns:Ti,defaultParseWidth:"any"}),quarter:o({matchPatterns:Fi,defaultMatchWidth:"wide",parsePatterns:Ni,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:Ai,defaultMatchWidth:"wide",parsePatterns:Ei,defaultParseWidth:"any"}),day:o({matchPatterns:Li,defaultMatchWidth:"wide",parsePatterns:Vi,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:Gi,defaultMatchWidth:"any",parsePatterns:Hi,defaultParseWidth:"any"})};var dt={code:"fr",formatDistance:nt,formatLong:it,formatRelative:rt,localize:ot,match:st,options:{weekStartsOn:1,firstWeekContainsDate:4}};var mt={locale:{1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096A",5:"\u096B",6:"\u096C",7:"\u096D",8:"\u096E",9:"\u096F",0:"\u0966"},number:{"\u0967":"1","\u0968":"2","\u0969":"3","\u096A":"4","\u096B":"5","\u096C":"6","\u096D":"7","\u096E":"8","\u096F":"9","\u0966":"0"}},Oi={narrow:["\u0908\u0938\u093E-\u092A\u0942\u0930\u094D\u0935","\u0908\u0938\u094D\u0935\u0940"],abbreviated:["\u0908\u0938\u093E-\u092A\u0942\u0930\u094D\u0935","\u0908\u0938\u094D\u0935\u0940"],wide:["\u0908\u0938\u093E-\u092A\u0942\u0930\u094D\u0935","\u0908\u0938\u0935\u0940 \u0938\u0928"]},Xi={narrow:["1","2","3","4"],abbreviated:["\u0924\u093F1","\u0924\u093F2","\u0924\u093F3","\u0924\u093F4"],wide:["\u092A\u0939\u0932\u0940 \u0924\u093F\u092E\u093E\u0939\u0940","\u0926\u0942\u0938\u0930\u0940 \u0924\u093F\u092E\u093E\u0939\u0940","\u0924\u0940\u0938\u0930\u0940 \u0924\u093F\u092E\u093E\u0939\u0940","\u091A\u094C\u0925\u0940 \u0924\u093F\u092E\u093E\u0939\u0940"]},Ri={narrow:["\u091C","\u092B\u093C","\u092E\u093E","\u0905","\u092E\u0908","\u091C\u0942","\u091C\u0941","\u0905\u0917","\u0938\u093F","\u0905\u0915\u094D\u091F\u0942","\u0928","\u0926\u093F"],abbreviated:["\u091C\u0928","\u092B\u093C\u0930","\u092E\u093E\u0930\u094D\u091A","\u0905\u092A\u094D\u0930\u0948\u0932","\u092E\u0908","\u091C\u0942\u0928","\u091C\u0941\u0932","\u0905\u0917","\u0938\u093F\u0924","\u0905\u0915\u094D\u091F\u0942","\u0928\u0935","\u0926\u093F\u0938"],wide:["\u091C\u0928\u0935\u0930\u0940","\u092B\u093C\u0930\u0935\u0930\u0940","\u092E\u093E\u0930\u094D\u091A","\u0905\u092A\u094D\u0930\u0948\u0932","\u092E\u0908","\u091C\u0942\u0928","\u091C\u0941\u0932\u093E\u0908","\u0905\u0917\u0938\u094D\u0924","\u0938\u093F\u0924\u0902\u092C\u0930","\u0905\u0915\u094D\u091F\u0942\u092C\u0930","\u0928\u0935\u0902\u092C\u0930","\u0926\u093F\u0938\u0902\u092C\u0930"]},Ii={narrow:["\u0930","\u0938\u094B","\u092E\u0902","\u092C\u0941","\u0917\u0941","\u0936\u0941","\u0936"],short:["\u0930","\u0938\u094B","\u092E\u0902","\u092C\u0941","\u0917\u0941","\u0936\u0941","\u0936"],abbreviated:["\u0930\u0935\u093F","\u0938\u094B\u092E","\u092E\u0902\u0917\u0932","\u092C\u0941\u0927","\u0917\u0941\u0930\u0941","\u0936\u0941\u0915\u094D\u0930","\u0936\u0928\u093F"],wide:["\u0930\u0935\u093F\u0935\u093E\u0930","\u0938\u094B\u092E\u0935\u093E\u0930","\u092E\u0902\u0917\u0932\u0935\u093E\u0930","\u092C\u0941\u0927\u0935\u093E\u0930","\u0917\u0941\u0930\u0941\u0935\u093E\u0930","\u0936\u0941\u0915\u094D\u0930\u0935\u093E\u0930","\u0936\u0928\u093F\u0935\u093E\u0930"]},qi={narrow:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"},abbreviated:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"},wide:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"}},Bi={narrow:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"},abbreviated:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"},wide:{am:"\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928",pm:"\u0905\u092A\u0930\u093E\u0939\u094D\u0928",midnight:"\u092E\u0927\u094D\u092F\u0930\u093E\u0924\u094D\u0930\u093F",noon:"\u0926\u094B\u092A\u0939\u0930",morning:"\u0938\u0941\u092C\u0939",afternoon:"\u0926\u094B\u092A\u0939\u0930",evening:"\u0936\u093E\u092E",night:"\u0930\u093E\u0924"}},Yi=(e,n)=>{let t=Number(e);return Z(t)};function ut(e){let n=e.toString().replace(/[१२३४५६७८९०]/g,function(t){return mt.number[t]});return Number(n)}function Z(e){return e.toString().replace(/\d/g,function(n){return mt.locale[n]})}var ct={ordinalNumber:Yi,era:r({values:Oi,defaultWidth:"wide"}),quarter:r({values:Xi,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:Ri,defaultWidth:"wide"}),day:r({values:Ii,defaultWidth:"wide"}),dayPeriod:r({values:qi,defaultWidth:"wide",formattingValues:Bi,defaultFormattingWidth:"wide"})};var Ji={lessThanXSeconds:{one:"\u0967 \u0938\u0947\u0915\u0902\u0921 \u0938\u0947 \u0915\u092E",other:"{{count}} \u0938\u0947\u0915\u0902\u0921 \u0938\u0947 \u0915\u092E"},xSeconds:{one:"\u0967 \u0938\u0947\u0915\u0902\u0921",other:"{{count}} \u0938\u0947\u0915\u0902\u0921"},halfAMinute:"\u0906\u0927\u093E \u092E\u093F\u0928\u091F",lessThanXMinutes:{one:"\u0967 \u092E\u093F\u0928\u091F \u0938\u0947 \u0915\u092E",other:"{{count}} \u092E\u093F\u0928\u091F \u0938\u0947 \u0915\u092E"},xMinutes:{one:"\u0967 \u092E\u093F\u0928\u091F",other:"{{count}} \u092E\u093F\u0928\u091F"},aboutXHours:{one:"\u0932\u0917\u092D\u0917 \u0967 \u0918\u0902\u091F\u093E",other:"\u0932\u0917\u092D\u0917 {{count}} \u0918\u0902\u091F\u0947"},xHours:{one:"\u0967 \u0918\u0902\u091F\u093E",other:"{{count}} \u0918\u0902\u091F\u0947"},xDays:{one:"\u0967 \u0926\u093F\u0928",other:"{{count}} \u0926\u093F\u0928"},aboutXWeeks:{one:"\u0932\u0917\u092D\u0917 \u0967 \u0938\u092A\u094D\u0924\u093E\u0939",other:"\u0932\u0917\u092D\u0917 {{count}} \u0938\u092A\u094D\u0924\u093E\u0939"},xWeeks:{one:"\u0967 \u0938\u092A\u094D\u0924\u093E\u0939",other:"{{count}} \u0938\u092A\u094D\u0924\u093E\u0939"},aboutXMonths:{one:"\u0932\u0917\u092D\u0917 \u0967 \u092E\u0939\u0940\u0928\u093E",other:"\u0932\u0917\u092D\u0917 {{count}} \u092E\u0939\u0940\u0928\u0947"},xMonths:{one:"\u0967 \u092E\u0939\u0940\u0928\u093E",other:"{{count}} \u092E\u0939\u0940\u0928\u0947"},aboutXYears:{one:"\u0932\u0917\u092D\u0917 \u0967 \u0935\u0930\u094D\u0937",other:"\u0932\u0917\u092D\u0917 {{count}} \u0935\u0930\u094D\u0937"},xYears:{one:"\u0967 \u0935\u0930\u094D\u0937",other:"{{count}} \u0935\u0930\u094D\u0937"},overXYears:{one:"\u0967 \u0935\u0930\u094D\u0937 \u0938\u0947 \u0905\u0927\u093F\u0915",other:"{{count}} \u0935\u0930\u094D\u0937 \u0938\u0947 \u0905\u0927\u093F\u0915"},almostXYears:{one:"\u0932\u0917\u092D\u0917 \u0967 \u0935\u0930\u094D\u0937",other:"\u0932\u0917\u092D\u0917 {{count}} \u0935\u0930\u094D\u0937"}},lt=(e,n,t)=>{let a,i=Ji[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",Z(n)),t?.addSuffix?t.comparison&&t.comparison>0?a+"\u092E\u0947 ":a+" \u092A\u0939\u0932\u0947":a};var Qi={full:"EEEE, do MMMM, y",long:"do MMMM, y",medium:"d MMM, y",short:"dd/MM/yyyy"},$i={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ki={full:"{{date}} '\u0915\u094B' {{time}}",long:"{{date}} '\u0915\u094B' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ht={date:s({formats:Qi,defaultWidth:"full"}),time:s({formats:$i,defaultWidth:"full"}),dateTime:s({formats:Ki,defaultWidth:"full"})};var Ui={lastWeek:"'\u092A\u093F\u091B\u0932\u0947' eeee p",yesterday:"'\u0915\u0932' p",today:"'\u0906\u091C' p",tomorrow:"'\u0915\u0932' p",nextWeek:"eeee '\u0915\u094B' p",other:"P"},ft=(e,n,t,a)=>Ui[e];var Zi=/^[०१२३४५६७८९]+/i,er=/^[०१२३४५६७८९]+/i,tr={narrow:/^(ईसा-पूर्व|ईस्वी)/i,abbreviated:/^(ईसा\.?\s?पूर्व\.?|ईसा\.?)/i,wide:/^(ईसा-पूर्व|ईसवी पूर्व|ईसवी सन|ईसवी)/i},ar={any:[/^b/i,/^(a|c)/i]},nr={narrow:/^[1234]/i,abbreviated:/^ति[1234]/i,wide:/^[1234](पहली|दूसरी|तीसरी|चौथी)? तिमाही/i},ir={any:[/1/i,/2/i,/3/i,/4/i]},rr={narrow:/^[जफ़माअप्मईजूनजुअगसिअक्तनदि]/i,abbreviated:/^(जन|फ़र|मार्च|अप्|मई|जून|जुल|अग|सित|अक्तू|नव|दिस)/i,wide:/^(जनवरी|फ़रवरी|मार्च|अप्रैल|मई|जून|जुलाई|अगस्त|सितंबर|अक्तूबर|नवंबर|दिसंबर)/i},or={narrow:[/^ज/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^न/i,/^दि/i],any:[/^जन/i,/^फ़/i,/^मा/i,/^अप्/i,/^मई/i,/^जू/i,/^जु/i,/^अग/i,/^सि/i,/^अक्तू/i,/^नव/i,/^दिस/i]},sr={narrow:/^[रविसोममंगलबुधगुरुशुक्रशनि]/i,short:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,abbreviated:/^(रवि|सोम|मंगल|बुध|गुरु|शुक्र|शनि)/i,wide:/^(रविवार|सोमवार|मंगलवार|बुधवार|गुरुवार|शुक्रवार|शनिवार)/i},dr={narrow:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i],any:[/^रवि/i,/^सोम/i,/^मंगल/i,/^बुध/i,/^गुरु/i,/^शुक्र/i,/^शनि/i]},mr={narrow:/^(पू|अ|म|द.\?|सु|दो|शा|रा)/i,any:/^(पूर्वाह्न|अपराह्न|म|द.\?|सु|दो|शा|रा)/i},ur={any:{am:/^पूर्वाह्न/i,pm:/^अपराह्न/i,midnight:/^मध्य/i,noon:/^दो/i,morning:/सु/i,afternoon:/दो/i,evening:/शा/i,night:/रा/i}},pt={ordinalNumber:u({matchPattern:Zi,parsePattern:er,valueCallback:ut}),era:o({matchPatterns:tr,defaultMatchWidth:"wide",parsePatterns:ar,defaultParseWidth:"any"}),quarter:o({matchPatterns:nr,defaultMatchWidth:"wide",parsePatterns:ir,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:rr,defaultMatchWidth:"wide",parsePatterns:or,defaultParseWidth:"any"}),day:o({matchPatterns:sr,defaultMatchWidth:"wide",parsePatterns:dr,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:mr,defaultMatchWidth:"any",parsePatterns:ur,defaultParseWidth:"any"})};var gt={code:"hi",formatDistance:lt,formatLong:ht,formatRelative:ft,localize:ct,match:pt,options:{weekStartsOn:0,firstWeekContainsDate:4}};var cr={lessThanXSeconds:{one:"1\u79D2\u672A\u6E80",other:"{{count}}\u79D2\u672A\u6E80",oneWithSuffix:"\u7D041\u79D2",otherWithSuffix:"\u7D04{{count}}\u79D2"},xSeconds:{one:"1\u79D2",other:"{{count}}\u79D2"},halfAMinute:"30\u79D2",lessThanXMinutes:{one:"1\u5206\u672A\u6E80",other:"{{count}}\u5206\u672A\u6E80",oneWithSuffix:"\u7D041\u5206",otherWithSuffix:"\u7D04{{count}}\u5206"},xMinutes:{one:"1\u5206",other:"{{count}}\u5206"},aboutXHours:{one:"\u7D041\u6642\u9593",other:"\u7D04{{count}}\u6642\u9593"},xHours:{one:"1\u6642\u9593",other:"{{count}}\u6642\u9593"},xDays:{one:"1\u65E5",other:"{{count}}\u65E5"},aboutXWeeks:{one:"\u7D041\u9031\u9593",other:"\u7D04{{count}}\u9031\u9593"},xWeeks:{one:"1\u9031\u9593",other:"{{count}}\u9031\u9593"},aboutXMonths:{one:"\u7D041\u304B\u6708",other:"\u7D04{{count}}\u304B\u6708"},xMonths:{one:"1\u304B\u6708",other:"{{count}}\u304B\u6708"},aboutXYears:{one:"\u7D041\u5E74",other:"\u7D04{{count}}\u5E74"},xYears:{one:"1\u5E74",other:"{{count}}\u5E74"},overXYears:{one:"1\u5E74\u4EE5\u4E0A",other:"{{count}}\u5E74\u4EE5\u4E0A"},almostXYears:{one:"1\u5E74\u8FD1\u304F",other:"{{count}}\u5E74\u8FD1\u304F"}},vt=(e,n,t)=>{t=t||{};let a,i=cr[e];return typeof i=="string"?a=i:n===1?t.addSuffix&&i.oneWithSuffix?a=i.oneWithSuffix:a=i.one:t.addSuffix&&i.otherWithSuffix?a=i.otherWithSuffix.replace("{{count}}",String(n)):a=i.other.replace("{{count}}",String(n)),t.addSuffix?t.comparison&&t.comparison>0?a+"\u5F8C":a+"\u524D":a};var lr={full:"y\u5E74M\u6708d\u65E5EEEE",long:"y\u5E74M\u6708d\u65E5",medium:"y/MM/dd",short:"y/MM/dd"},hr={full:"H\u6642mm\u5206ss\u79D2 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},fr={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},bt={date:s({formats:lr,defaultWidth:"full"}),time:s({formats:hr,defaultWidth:"full"}),dateTime:s({formats:fr,defaultWidth:"full"})};var pr={lastWeek:"\u5148\u9031\u306Eeeee\u306Ep",yesterday:"\u6628\u65E5\u306Ep",today:"\u4ECA\u65E5\u306Ep",tomorrow:"\u660E\u65E5\u306Ep",nextWeek:"\u7FCC\u9031\u306Eeeee\u306Ep",other:"P"},yt=(e,n,t,a)=>pr[e];var gr={narrow:["BC","AC"],abbreviated:["\u7D00\u5143\u524D","\u897F\u66A6"],wide:["\u7D00\u5143\u524D","\u897F\u66A6"]},vr={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["\u7B2C1\u56DB\u534A\u671F","\u7B2C2\u56DB\u534A\u671F","\u7B2C3\u56DB\u534A\u671F","\u7B2C4\u56DB\u534A\u671F"]},br={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"]},yr={narrow:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],short:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],abbreviated:["\u65E5","\u6708","\u706B","\u6C34","\u6728","\u91D1","\u571F"],wide:["\u65E5\u66DC\u65E5","\u6708\u66DC\u65E5","\u706B\u66DC\u65E5","\u6C34\u66DC\u65E5","\u6728\u66DC\u65E5","\u91D1\u66DC\u65E5","\u571F\u66DC\u65E5"]},wr={narrow:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},abbreviated:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},wide:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"}},Pr={narrow:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},abbreviated:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"},wide:{am:"\u5348\u524D",pm:"\u5348\u5F8C",midnight:"\u6DF1\u591C",noon:"\u6B63\u5348",morning:"\u671D",afternoon:"\u5348\u5F8C",evening:"\u591C",night:"\u6DF1\u591C"}},Mr=(e,n)=>{let t=Number(e);switch(String(n?.unit)){case"year":return`${t}\u5E74`;case"quarter":return`\u7B2C${t}\u56DB\u534A\u671F`;case"month":return`${t}\u6708`;case"week":return`\u7B2C${t}\u9031`;case"date":return`${t}\u65E5`;case"hour":return`${t}\u6642`;case"minute":return`${t}\u5206`;case"second":return`${t}\u79D2`;default:return`${t}`}},wt={ordinalNumber:Mr,era:r({values:gr,defaultWidth:"wide"}),quarter:r({values:vr,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:r({values:br,defaultWidth:"wide"}),day:r({values:yr,defaultWidth:"wide"}),dayPeriod:r({values:wr,defaultWidth:"wide",formattingValues:Pr,defaultFormattingWidth:"wide"})};var kr=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,xr=/\d+/i,Wr={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},Dr={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},Sr={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},_r={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},zr={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},Cr={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},jr={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},Tr={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},Fr={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},Nr={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},Pt={ordinalNumber:u({matchPattern:kr,parsePattern:xr,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:Wr,defaultMatchWidth:"wide",parsePatterns:Dr,defaultParseWidth:"any"}),quarter:o({matchPatterns:Sr,defaultMatchWidth:"wide",parsePatterns:_r,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:zr,defaultMatchWidth:"wide",parsePatterns:Cr,defaultParseWidth:"any"}),day:o({matchPatterns:jr,defaultMatchWidth:"wide",parsePatterns:Tr,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:Fr,defaultMatchWidth:"any",parsePatterns:Nr,defaultParseWidth:"any"})};var Mt={code:"ja",formatDistance:vt,formatLong:bt,formatRelative:yt,localize:wt,match:Pt,options:{weekStartsOn:0,firstWeekContainsDate:1}};var Ar={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},kt=(e,n,t)=>{let a,i=Ar[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?"over "+a:a+" geleden":a};var Er={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},Lr={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Vr={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},xt={date:s({formats:Er,defaultWidth:"full"}),time:s({formats:Lr,defaultWidth:"full"}),dateTime:s({formats:Vr,defaultWidth:"full"})};var Gr={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},Wt=(e,n,t,a)=>Gr[e];var Hr={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},Or={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},Xr={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},Rr={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},Ir={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},qr=(e,n)=>Number(e)+"e",Dt={ordinalNumber:qr,era:r({values:Hr,defaultWidth:"wide"}),quarter:r({values:Or,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:Xr,defaultWidth:"wide"}),day:r({values:Rr,defaultWidth:"wide"}),dayPeriod:r({values:Ir,defaultWidth:"wide"})};var Br=/^(\d+)e?/i,Yr=/\d+/i,Jr={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},Qr={any:[/^v/,/^n/]},$r={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},Kr={any:[/1/i,/2/i,/3/i,/4/i]},Ur={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},Zr={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},eo={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},to={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},ao={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},no={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},St={ordinalNumber:u({matchPattern:Br,parsePattern:Yr,valueCallback:e=>parseInt(e,10)}),era:o({matchPatterns:Jr,defaultMatchWidth:"wide",parsePatterns:Qr,defaultParseWidth:"any"}),quarter:o({matchPatterns:$r,defaultMatchWidth:"wide",parsePatterns:Kr,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:Ur,defaultMatchWidth:"wide",parsePatterns:Zr,defaultParseWidth:"any"}),day:o({matchPatterns:eo,defaultMatchWidth:"wide",parsePatterns:to,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:ao,defaultMatchWidth:"any",parsePatterns:no,defaultParseWidth:"any"})};var _t={code:"nl",formatDistance:kt,formatLong:xt,formatRelative:Wt,localize:Dt,match:St,options:{weekStartsOn:1,firstWeekContainsDate:4}};var io={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"aproximadamente 1 hora",other:"aproximadamente {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"aproximadamente 1 semana",other:"aproximadamente {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"aproximadamente 1 m\xEAs",other:"aproximadamente {{count}} meses"},xMonths:{one:"1 m\xEAs",other:"{{count}} meses"},aboutXYears:{one:"aproximadamente 1 ano",other:"aproximadamente {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},zt=(e,n,t)=>{let a,i=io[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?"daqui a "+a:"h\xE1 "+a:a};var ro={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},oo={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},so={full:"{{date}} '\xE0s' {{time}}",long:"{{date}} '\xE0s' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ct={date:s({formats:ro,defaultWidth:"full"}),time:s({formats:oo,defaultWidth:"full"}),dateTime:s({formats:so,defaultWidth:"full"})};var mo={lastWeek:e=>{let n=e.getDay();return"'"+(n===0||n===6?"\xFAltimo":"\xFAltima")+"' eeee '\xE0s' p"},yesterday:"'ontem \xE0s' p",today:"'hoje \xE0s' p",tomorrow:"'amanh\xE3 \xE0s' p",nextWeek:"eeee '\xE0s' p",other:"P"},jt=(e,n,t,a)=>{let i=mo[e];return typeof i=="function"?i(n):i};var uo={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},co={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xBA trimestre","2\xBA trimestre","3\xBA trimestre","4\xBA trimestre"]},lo={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","mar\xE7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},ho={narrow:["d","s","t","q","q","s","s"],short:["dom","seg","ter","qua","qui","sex","s\xE1b"],abbreviated:["dom","seg","ter","qua","qui","sex","s\xE1b"],wide:["domingo","segunda-feira","ter\xE7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xE1bado"]},fo={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"noite",night:"madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"noite",night:"madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xE3",afternoon:"tarde",evening:"noite",night:"madrugada"}},po={narrow:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da noite",night:"da madrugada"},wide:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xE3",afternoon:"da tarde",evening:"da noite",night:"da madrugada"}},go=(e,n)=>Number(e)+"\xBA",Tt={ordinalNumber:go,era:r({values:uo,defaultWidth:"wide"}),quarter:r({values:co,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:lo,defaultWidth:"wide"}),day:r({values:ho,defaultWidth:"wide"}),dayPeriod:r({values:fo,defaultWidth:"wide",formattingValues:po,defaultFormattingWidth:"wide"})};var vo=/^(\d+)(º|ª)?/i,bo=/\d+/i,yo={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes da era comum|depois de cristo|era comum)/i},wo={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},Po={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},Mo={any:[/1/i,/2/i,/3/i,/4/i]},ko={narrow:/^[jfmasond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},xo={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ab/i,/^mai/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},Wo={narrow:/^[dstq]/i,short:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[áa]b)/i,wide:/^(domingo|segunda-?\s?feira|terça-?\s?feira|quarta-?\s?feira|quinta-?\s?feira|sexta-?\s?feira|s[áa]bado)/i},Do={narrow:[/^d/i,/^s/i,/^t/i,/^q/i,/^q/i,/^s/i,/^s/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[áa]/i]},So={narrow:/^(a|p|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i,any:/^([ap]\.?\s?m\.?|meia-?\s?noite|meio-?\s?dia|(da) (manh[ãa]|tarde|noite|madrugada))/i},_o={any:{am:/^a/i,pm:/^p/i,midnight:/^meia/i,noon:/^meio/i,morning:/manh[ãa]/i,afternoon:/tarde/i,evening:/noite/i,night:/madrugada/i}},Ft={ordinalNumber:u({matchPattern:vo,parsePattern:bo,valueCallback:e=>parseInt(e,10)}),era:o({matchPatterns:yo,defaultMatchWidth:"wide",parsePatterns:wo,defaultParseWidth:"any"}),quarter:o({matchPatterns:Po,defaultMatchWidth:"wide",parsePatterns:Mo,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:ko,defaultMatchWidth:"wide",parsePatterns:xo,defaultParseWidth:"any"}),day:o({matchPatterns:Wo,defaultMatchWidth:"wide",parsePatterns:Do,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:So,defaultMatchWidth:"any",parsePatterns:_o,defaultParseWidth:"any"})};var Nt={code:"pt",formatDistance:zt,formatLong:Ct,formatRelative:jt,localize:Tt,match:Ft,options:{weekStartsOn:1,firstWeekContainsDate:4}};function S(e,n){if(e.one!==void 0&&n===1)return e.one;let t=n%10,a=n%100;return t===1&&a!==11?e.singularNominative.replace("{{count}}",String(n)):t>=2&&t<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(n)):e.pluralGenitive.replace("{{count}}",String(n))}function l(e){return(n,t)=>t?.addSuffix?t.comparison&&t.comparison>0?e.future?S(e.future,n):"\u0447\u0435\u0440\u0435\u0437 "+S(e.regular,n):e.past?S(e.past,n):S(e.regular,n)+" \u043D\u0430\u0437\u0430\u0434":S(e.regular,n)}var zo={lessThanXSeconds:l({regular:{one:"\u043C\u0435\u043D\u044C\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},future:{one:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),xSeconds:l({regular:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0430",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},past:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443 \u043D\u0430\u0437\u0430\u0434",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B \u043D\u0430\u0437\u0430\u0434",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434"},future:{singularNominative:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u044B",pluralGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),halfAMinute:(e,n)=>n?.addSuffix?n.comparison&&n.comparison>0?"\u0447\u0435\u0440\u0435\u0437 \u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B":"\u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0437\u0430\u0434":"\u043F\u043E\u043B\u043C\u0438\u043D\u0443\u0442\u044B",lessThanXMinutes:l({regular:{one:"\u043C\u0435\u043D\u044C\u0448\u0435 \u043C\u0438\u043D\u0443\u0442\u044B",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435 {{count}} \u043C\u0438\u043D\u0443\u0442"},future:{one:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 \u043C\u0438\u043D\u0443\u0442\u0443",singularNominative:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u0443",singularGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"\u043C\u0435\u043D\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442"}}),xMinutes:l({regular:{singularNominative:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0430",singularGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442"},past:{singularNominative:"{{count}} \u043C\u0438\u043D\u0443\u0442\u0443 \u043D\u0430\u0437\u0430\u0434",singularGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0437\u0430\u0434",pluralGenitive:"{{count}} \u043C\u0438\u043D\u0443\u0442 \u043D\u0430\u0437\u0430\u0434"},future:{singularNominative:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u0443",singularGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442\u044B",pluralGenitive:"\u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0438\u043D\u0443\u0442"}}),aboutXHours:l({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u043E\u0432",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u043E\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0447\u0430\u0441\u043E\u0432"}}),xHours:l({regular:{singularNominative:"{{count}} \u0447\u0430\u0441",singularGenitive:"{{count}} \u0447\u0430\u0441\u0430",pluralGenitive:"{{count}} \u0447\u0430\u0441\u043E\u0432"}}),xDays:l({regular:{singularNominative:"{{count}} \u0434\u0435\u043D\u044C",singularGenitive:"{{count}} \u0434\u043D\u044F",pluralGenitive:"{{count}} \u0434\u043D\u0435\u0439"}}),aboutXWeeks:l({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u0438",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u044C",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043D\u0435\u0434\u0435\u043B\u044C"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u044E",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u0438",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043D\u0435\u0434\u0435\u043B\u044C"}}),xWeeks:l({regular:{singularNominative:"{{count}} \u043D\u0435\u0434\u0435\u043B\u044F",singularGenitive:"{{count}} \u043D\u0435\u0434\u0435\u043B\u0438",pluralGenitive:"{{count}} \u043D\u0435\u0434\u0435\u043B\u044C"}}),aboutXMonths:l({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"}}),xMonths:l({regular:{singularNominative:"{{count}} \u043C\u0435\u0441\u044F\u0446",singularGenitive:"{{count}} \u043C\u0435\u0441\u044F\u0446\u0430",pluralGenitive:"{{count}} \u043C\u0435\u0441\u044F\u0446\u0435\u0432"}}),aboutXYears:l({regular:{singularNominative:"\u043E\u043A\u043E\u043B\u043E {{count}} \u0433\u043E\u0434\u0430",singularGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043B\u0435\u0442",pluralGenitive:"\u043E\u043A\u043E\u043B\u043E {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}}),xYears:l({regular:{singularNominative:"{{count}} \u0433\u043E\u0434",singularGenitive:"{{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"{{count}} \u043B\u0435\u0442"}}),overXYears:l({regular:{singularNominative:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u0433\u043E\u0434\u0430",singularGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u043B\u0435\u0442",pluralGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435 {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u0431\u043E\u043B\u044C\u0448\u0435, \u0447\u0435\u043C \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}}),almostXYears:l({regular:{singularNominative:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u043E\u0447\u0442\u0438 {{count}} \u043B\u0435\u0442"},future:{singularNominative:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434",singularGenitive:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u0433\u043E\u0434\u0430",pluralGenitive:"\u043F\u043E\u0447\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 {{count}} \u043B\u0435\u0442"}})},At=(e,n,t)=>zo[e](n,t);var Co={full:"EEEE, d MMMM y '\u0433.'",long:"d MMMM y '\u0433.'",medium:"d MMM y '\u0433.'",short:"dd.MM.y"},jo={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},To={any:"{{date}}, {{time}}"},Et={date:s({formats:Co,defaultWidth:"full"}),time:s({formats:jo,defaultWidth:"full"}),dateTime:s({formats:To,defaultWidth:"any"})};var Fo=Math.pow(10,8)*24*60*60*1e3,qc=-Fo,Bc=6048e5,Yc=864e5;var Jc=43200,Qc=1440;var No=3600;var Lt=No*24,$c=Lt*7,Ao=Lt*365.2425,Eo=Ao/12,Kc=Eo*3,ee=Symbol.for("constructDateFrom");function N(e,n){return typeof e=="function"?e(n):e&&typeof e=="object"&&ee in e?e[ee](n):e instanceof Date?new e.constructor(n):new Date(n)}function Vt(e,...n){let t=N.bind(null,e||n.find(a=>typeof a=="object"));return n.map(t)}var Lo={};function Gt(){return Lo}function w(e,n){return N(n||e,e)}function te(e,n){let t=Gt(),a=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??t.weekStartsOn??t.locale?.options?.weekStartsOn??0,i=w(e,n?.in),d=i.getDay(),m=(d{let a=e.getDay();return v(e,n,t)?Ht(a):Vo(a)},yesterday:"'\u0432\u0447\u0435\u0440\u0430 \u0432' p",today:"'\u0441\u0435\u0433\u043E\u0434\u043D\u044F \u0432' p",tomorrow:"'\u0437\u0430\u0432\u0442\u0440\u0430 \u0432' p",nextWeek:(e,n,t)=>{let a=e.getDay();return v(e,n,t)?Ht(a):Go(a)},other:"P"},Ot=(e,n,t,a)=>{let i=Ho[e];return typeof i=="function"?i(n,t,a):i};var Oo={narrow:["\u0434\u043E \u043D.\u044D.","\u043D.\u044D."],abbreviated:["\u0434\u043E \u043D. \u044D.","\u043D. \u044D."],wide:["\u0434\u043E \u043D\u0430\u0448\u0435\u0439 \u044D\u0440\u044B","\u043D\u0430\u0448\u0435\u0439 \u044D\u0440\u044B"]},Xo={narrow:["1","2","3","4"],abbreviated:["1-\u0439 \u043A\u0432.","2-\u0439 \u043A\u0432.","3-\u0439 \u043A\u0432.","4-\u0439 \u043A\u0432."],wide:["1-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","2-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","3-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","4-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B"]},Ro={narrow:["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],abbreviated:["\u044F\u043D\u0432.","\u0444\u0435\u0432.","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440.","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],wide:["\u044F\u043D\u0432\u0430\u0440\u044C","\u0444\u0435\u0432\u0440\u0430\u043B\u044C","\u043C\u0430\u0440\u0442","\u0430\u043F\u0440\u0435\u043B\u044C","\u043C\u0430\u0439","\u0438\u044E\u043D\u044C","\u0438\u044E\u043B\u044C","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C","\u043E\u043A\u0442\u044F\u0431\u0440\u044C","\u043D\u043E\u044F\u0431\u0440\u044C","\u0434\u0435\u043A\u0430\u0431\u0440\u044C"]},Io={narrow:["\u042F","\u0424","\u041C","\u0410","\u041C","\u0418","\u0418","\u0410","\u0421","\u041E","\u041D","\u0414"],abbreviated:["\u044F\u043D\u0432.","\u0444\u0435\u0432.","\u043C\u0430\u0440.","\u0430\u043F\u0440.","\u043C\u0430\u044F","\u0438\u044E\u043D.","\u0438\u044E\u043B.","\u0430\u0432\u0433.","\u0441\u0435\u043D\u0442.","\u043E\u043A\u0442.","\u043D\u043E\u044F\u0431.","\u0434\u0435\u043A."],wide:["\u044F\u043D\u0432\u0430\u0440\u044F","\u0444\u0435\u0432\u0440\u0430\u043B\u044F","\u043C\u0430\u0440\u0442\u0430","\u0430\u043F\u0440\u0435\u043B\u044F","\u043C\u0430\u044F","\u0438\u044E\u043D\u044F","\u0438\u044E\u043B\u044F","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F","\u043E\u043A\u0442\u044F\u0431\u0440\u044F","\u043D\u043E\u044F\u0431\u0440\u044F","\u0434\u0435\u043A\u0430\u0431\u0440\u044F"]},qo={narrow:["\u0412","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],short:["\u0432\u0441","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],abbreviated:["\u0432\u0441\u043A","\u043F\u043D\u0434","\u0432\u0442\u0440","\u0441\u0440\u0434","\u0447\u0442\u0432","\u043F\u0442\u043D","\u0441\u0443\u0431"],wide:["\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435","\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A","\u0432\u0442\u043E\u0440\u043D\u0438\u043A","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043F\u044F\u0442\u043D\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043E\u0442\u0430"]},Bo={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u044C"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u044C"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D\u043E\u0447\u044C",noon:"\u043F\u043E\u043B\u0434\u0435\u043D\u044C",morning:"\u0443\u0442\u0440\u043E",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447\u0435\u0440",night:"\u043D\u043E\u0447\u044C"}},Yo={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0438"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D.",noon:"\u043F\u043E\u043B\u0434.",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0438"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u043E\u043B\u043D\u043E\u0447\u044C",noon:"\u043F\u043E\u043B\u0434\u0435\u043D\u044C",morning:"\u0443\u0442\u0440\u0430",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447\u0435\u0440\u0430",night:"\u043D\u043E\u0447\u0438"}},Jo=(e,n)=>{let t=Number(e),a=n?.unit,i;return a==="date"?i="-\u0435":a==="week"||a==="minute"||a==="second"?i="-\u044F":i="-\u0439",t+i},Xt={ordinalNumber:Jo,era:r({values:Oo,defaultWidth:"wide"}),quarter:r({values:Xo,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:Ro,defaultWidth:"wide",formattingValues:Io,defaultFormattingWidth:"wide"}),day:r({values:qo,defaultWidth:"wide"}),dayPeriod:r({values:Bo,defaultWidth:"any",formattingValues:Yo,defaultFormattingWidth:"wide"})};var Qo=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,$o=/\d+/i,Ko={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},Uo={any:[/^д/i,/^н/i]},Zo={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},es={any:[/1/i,/2/i,/3/i,/4/i]},ts={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},as={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},ns={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},is={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},rs={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},os={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},Rt={ordinalNumber:u({matchPattern:Qo,parsePattern:$o,valueCallback:e=>parseInt(e,10)}),era:o({matchPatterns:Ko,defaultMatchWidth:"wide",parsePatterns:Uo,defaultParseWidth:"any"}),quarter:o({matchPatterns:Zo,defaultMatchWidth:"wide",parsePatterns:es,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:ts,defaultMatchWidth:"wide",parsePatterns:as,defaultParseWidth:"any"}),day:o({matchPatterns:ns,defaultMatchWidth:"wide",parsePatterns:is,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:rs,defaultMatchWidth:"wide",parsePatterns:os,defaultParseWidth:"any"})};var It={code:"ru",formatDistance:At,formatLong:Et,formatRelative:Ot,localize:Xt,match:Rt,options:{weekStartsOn:1,firstWeekContainsDate:1}};var ss={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yar\u0131m dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yakla\u015F\u0131k 1 saat",other:"yakla\u015F\u0131k {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 g\xFCn",other:"{{count}} g\xFCn"},aboutXWeeks:{one:"yakla\u015F\u0131k 1 hafta",other:"yakla\u015F\u0131k {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yakla\u015F\u0131k 1 ay",other:"yakla\u015F\u0131k {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yakla\u015F\u0131k 1 y\u0131l",other:"yakla\u015F\u0131k {{count}} y\u0131l"},xYears:{one:"1 y\u0131l",other:"{{count}} y\u0131l"},overXYears:{one:"1 y\u0131ldan fazla",other:"{{count}} y\u0131ldan fazla"},almostXYears:{one:"neredeyse 1 y\u0131l",other:"neredeyse {{count}} y\u0131l"}},qt=(e,n,t)=>{let a,i=ss[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",n.toString()),t?.addSuffix?t.comparison&&t.comparison>0?a+" sonra":a+" \xF6nce":a};var ds={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},ms={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},us={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Bt={date:s({formats:ds,defaultWidth:"full"}),time:s({formats:ms,defaultWidth:"full"}),dateTime:s({formats:us,defaultWidth:"full"})};var cs={lastWeek:"'ge\xE7en hafta' eeee 'saat' p",yesterday:"'d\xFCn saat' p",today:"'bug\xFCn saat' p",tomorrow:"'yar\u0131n saat' p",nextWeek:"eeee 'saat' p",other:"P"},Yt=(e,n,t,a)=>cs[e];var ls={narrow:["M\xD6","MS"],abbreviated:["M\xD6","MS"],wide:["Milattan \xD6nce","Milattan Sonra"]},hs={narrow:["1","2","3","4"],abbreviated:["1\xC7","2\xC7","3\xC7","4\xC7"],wide:["\u0130lk \xE7eyrek","\u0130kinci \xC7eyrek","\xDC\xE7\xFCnc\xFC \xE7eyrek","Son \xE7eyrek"]},fs={narrow:["O","\u015E","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","\u015Eub","Mar","Nis","May","Haz","Tem","A\u011Fu","Eyl","Eki","Kas","Ara"],wide:["Ocak","\u015Eubat","Mart","Nisan","May\u0131s","Haziran","Temmuz","A\u011Fustos","Eyl\xFCl","Ekim","Kas\u0131m","Aral\u0131k"]},ps={narrow:["P","P","S","\xC7","P","C","C"],short:["Pz","Pt","Sa","\xC7a","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","\xC7ar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Sal\u0131","\xC7ar\u015Famba","Per\u015Fembe","Cuma","Cumartesi"]},gs={narrow:{am:"\xF6\xF6",pm:"\xF6s",midnight:"gy",noon:"\xF6",morning:"sa",afternoon:"\xF6s",evening:"ak",night:"ge"},abbreviated:{am:"\xD6\xD6",pm:"\xD6S",midnight:"gece yar\u0131s\u0131",noon:"\xF6\u011Fle",morning:"sabah",afternoon:"\xF6\u011Fleden sonra",evening:"ak\u015Fam",night:"gece"},wide:{am:"\xD6.\xD6.",pm:"\xD6.S.",midnight:"gece yar\u0131s\u0131",noon:"\xF6\u011Fle",morning:"sabah",afternoon:"\xF6\u011Fleden sonra",evening:"ak\u015Fam",night:"gece"}},vs={narrow:{am:"\xF6\xF6",pm:"\xF6s",midnight:"gy",noon:"\xF6",morning:"sa",afternoon:"\xF6s",evening:"ak",night:"ge"},abbreviated:{am:"\xD6\xD6",pm:"\xD6S",midnight:"gece yar\u0131s\u0131",noon:"\xF6\u011Flen",morning:"sabahleyin",afternoon:"\xF6\u011Fleden sonra",evening:"ak\u015Famleyin",night:"geceleyin"},wide:{am:"\xF6.\xF6.",pm:"\xF6.s.",midnight:"gece yar\u0131s\u0131",noon:"\xF6\u011Flen",morning:"sabahleyin",afternoon:"\xF6\u011Fleden sonra",evening:"ak\u015Famleyin",night:"geceleyin"}},bs=(e,n)=>Number(e)+".",Jt={ordinalNumber:bs,era:r({values:ls,defaultWidth:"wide"}),quarter:r({values:hs,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:r({values:fs,defaultWidth:"wide"}),day:r({values:ps,defaultWidth:"wide"}),dayPeriod:r({values:gs,defaultWidth:"wide",formattingValues:vs,defaultFormattingWidth:"wide"})};var ys=/^(\d+)(\.)?/i,ws=/\d+/i,Ps={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},Ms={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},ks={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},xs={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},Ws={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},Ds={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},Ss={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},_s={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},zs={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},Cs={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},Qt={ordinalNumber:u({matchPattern:ys,parsePattern:ws,valueCallback:function(e){return parseInt(e,10)}}),era:o({matchPatterns:Ps,defaultMatchWidth:"wide",parsePatterns:Ms,defaultParseWidth:"any"}),quarter:o({matchPatterns:ks,defaultMatchWidth:"wide",parsePatterns:xs,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:Ws,defaultMatchWidth:"wide",parsePatterns:Ds,defaultParseWidth:"any"}),day:o({matchPatterns:Ss,defaultMatchWidth:"wide",parsePatterns:_s,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:zs,defaultMatchWidth:"any",parsePatterns:Cs,defaultParseWidth:"any"})};var $t={code:"tr",formatDistance:qt,formatLong:Bt,formatRelative:Yt,localize:Jt,match:Qt,options:{weekStartsOn:1,firstWeekContainsDate:1}};function _(e,n){if(e.one!==void 0&&n===1)return e.one;let t=n%10,a=n%100;return t===1&&a!==11?e.singularNominative.replace("{{count}}",String(n)):t>=2&&t<=4&&(a<10||a>20)?e.singularGenitive.replace("{{count}}",String(n)):e.pluralGenitive.replace("{{count}}",String(n))}function h(e){return(n,t)=>t&&t.addSuffix?t.comparison&&t.comparison>0?e.future?_(e.future,n):"\u0437\u0430 "+_(e.regular,n):e.past?_(e.past,n):_(e.regular,n)+" \u0442\u043E\u043C\u0443":_(e.regular,n)}var js=(e,n)=>n&&n.addSuffix?n.comparison&&n.comparison>0?"\u0437\u0430 \u043F\u0456\u0432\u0445\u0432\u0438\u043B\u0438\u043D\u0438":"\u043F\u0456\u0432\u0445\u0432\u0438\u043B\u0438\u043D\u0438 \u0442\u043E\u043C\u0443":"\u043F\u0456\u0432\u0445\u0432\u0438\u043B\u0438\u043D\u0438",Ts={lessThanXSeconds:h({regular:{one:"\u043C\u0435\u043D\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",singularNominative:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438",singularGenitive:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434",pluralGenitive:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},future:{one:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularNominative:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438",pluralGenitive:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),xSeconds:h({regular:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0430",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434"},past:{singularNominative:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443 \u0442\u043E\u043C\u0443",singularGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438 \u0442\u043E\u043C\u0443",pluralGenitive:"{{count}} \u0441\u0435\u043A\u0443\u043D\u0434 \u0442\u043E\u043C\u0443"},future:{singularNominative:"\u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0443",singularGenitive:"\u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438",pluralGenitive:"\u0437\u0430 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434"}}),halfAMinute:js,lessThanXMinutes:h({regular:{one:"\u043C\u0435\u043D\u0448\u0435 \u0445\u0432\u0438\u043B\u0438\u043D\u0438",singularNominative:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438",singularGenitive:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D",pluralGenitive:"\u043C\u0435\u043D\u0448\u0435 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D"},future:{one:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 \u0445\u0432\u0438\u043B\u0438\u043D\u0443",singularNominative:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0443",singularGenitive:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438",pluralGenitive:"\u043C\u0435\u043D\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D"}}),xMinutes:h({regular:{singularNominative:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0430",singularGenitive:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438",pluralGenitive:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D"},past:{singularNominative:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0443 \u0442\u043E\u043C\u0443",singularGenitive:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438 \u0442\u043E\u043C\u0443",pluralGenitive:"{{count}} \u0445\u0432\u0438\u043B\u0438\u043D \u0442\u043E\u043C\u0443"},future:{singularNominative:"\u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0443",singularGenitive:"\u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D\u0438",pluralGenitive:"\u0437\u0430 {{count}} \u0445\u0432\u0438\u043B\u0438\u043D"}}),aboutXHours:h({regular:{singularNominative:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0438",singularGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D",pluralGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0433\u043E\u0434\u0438\u043D"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0433\u043E\u0434\u0438\u043D\u0443",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0433\u043E\u0434\u0438\u043D\u0438",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0433\u043E\u0434\u0438\u043D"}}),xHours:h({regular:{singularNominative:"{{count}} \u0433\u043E\u0434\u0438\u043D\u0443",singularGenitive:"{{count}} \u0433\u043E\u0434\u0438\u043D\u0438",pluralGenitive:"{{count}} \u0433\u043E\u0434\u0438\u043D"}}),xDays:h({regular:{singularNominative:"{{count}} \u0434\u0435\u043D\u044C",singularGenitive:"{{count}} \u0434\u043Di",pluralGenitive:"{{count}} \u0434\u043D\u0456\u0432"}}),aboutXWeeks:h({regular:{singularNominative:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0442\u0438\u0436\u043D\u044F",singularGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0442\u0438\u0436\u043D\u0456\u0432",pluralGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0442\u0438\u0436\u043D\u0456\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0442\u0438\u0436\u0434\u0435\u043D\u044C",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0442\u0438\u0436\u043D\u0456",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0442\u0438\u0436\u043D\u0456\u0432"}}),xWeeks:h({regular:{singularNominative:"{{count}} \u0442\u0438\u0436\u0434\u0435\u043D\u044C",singularGenitive:"{{count}} \u0442\u0438\u0436\u043D\u0456",pluralGenitive:"{{count}} \u0442\u0438\u0436\u043D\u0456\u0432"}}),aboutXMonths:h({regular:{singularNominative:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u043C\u0456\u0441\u044F\u0446\u044F",singularGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u043C\u0456\u0441\u044F\u0446\u0456\u0432",pluralGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u043C\u0456\u0441\u044F\u0446\u0456\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u043C\u0456\u0441\u044F\u0446\u044C",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u043C\u0456\u0441\u044F\u0446\u0456",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u043C\u0456\u0441\u044F\u0446\u0456\u0432"}}),xMonths:h({regular:{singularNominative:"{{count}} \u043C\u0456\u0441\u044F\u0446\u044C",singularGenitive:"{{count}} \u043C\u0456\u0441\u044F\u0446\u0456",pluralGenitive:"{{count}} \u043C\u0456\u0441\u044F\u0446\u0456\u0432"}}),aboutXYears:h({regular:{singularNominative:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0440\u043E\u043A\u0443",singularGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0440\u043E\u043A\u0456\u0432",pluralGenitive:"\u0431\u043B\u0438\u0437\u044C\u043A\u043E {{count}} \u0440\u043E\u043A\u0456\u0432"},future:{singularNominative:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0440\u0456\u043A",singularGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E \u0437\u0430 {{count}} \u0440\u043E\u043A\u0456\u0432"}}),xYears:h({regular:{singularNominative:"{{count}} \u0440\u0456\u043A",singularGenitive:"{{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"{{count}} \u0440\u043E\u043A\u0456\u0432"}}),overXYears:h({regular:{singularNominative:"\u0431\u0456\u043B\u044C\u0448\u0435 {{count}} \u0440\u043E\u043A\u0443",singularGenitive:"\u0431\u0456\u043B\u044C\u0448\u0435 {{count}} \u0440\u043E\u043A\u0456\u0432",pluralGenitive:"\u0431\u0456\u043B\u044C\u0448\u0435 {{count}} \u0440\u043E\u043A\u0456\u0432"},future:{singularNominative:"\u0431\u0456\u043B\u044C\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0440\u0456\u043A",singularGenitive:"\u0431\u0456\u043B\u044C\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"\u0431\u0456\u043B\u044C\u0448\u0435, \u043D\u0456\u0436 \u0437\u0430 {{count}} \u0440\u043E\u043A\u0456\u0432"}}),almostXYears:h({regular:{singularNominative:"\u043C\u0430\u0439\u0436\u0435 {{count}} \u0440\u0456\u043A",singularGenitive:"\u043C\u0430\u0439\u0436\u0435 {{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"\u043C\u0430\u0439\u0436\u0435 {{count}} \u0440\u043E\u043A\u0456\u0432"},future:{singularNominative:"\u043C\u0430\u0439\u0436\u0435 \u0437\u0430 {{count}} \u0440\u0456\u043A",singularGenitive:"\u043C\u0430\u0439\u0436\u0435 \u0437\u0430 {{count}} \u0440\u043E\u043A\u0438",pluralGenitive:"\u043C\u0430\u0439\u0436\u0435 \u0437\u0430 {{count}} \u0440\u043E\u043A\u0456\u0432"}})},Kt=(e,n,t)=>(t=t||{},Ts[e](n,t));var Fs={full:"EEEE, do MMMM y '\u0440.'",long:"do MMMM y '\u0440.'",medium:"d MMM y '\u0440.'",short:"dd.MM.y"},Ns={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},As={full:"{{date}} '\u043E' {{time}}",long:"{{date}} '\u043E' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ut={date:s({formats:Fs,defaultWidth:"full"}),time:s({formats:Ns,defaultWidth:"full"}),dateTime:s({formats:As,defaultWidth:"full"})};var ne=["\u043D\u0435\u0434\u0456\u043B\u044E","\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A","\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A","\u0441\u0435\u0440\u0435\u0434\u0443","\u0447\u0435\u0442\u0432\u0435\u0440","\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044E","\u0441\u0443\u0431\u043E\u0442\u0443"];function Es(e){let n=ne[e];switch(e){case 0:case 3:case 5:case 6:return"'\u0443 \u043C\u0438\u043D\u0443\u043B\u0443 "+n+" \u043E' p";case 1:case 2:case 4:return"'\u0443 \u043C\u0438\u043D\u0443\u043B\u0438\u0439 "+n+" \u043E' p"}}function Zt(e){return"'\u0443 "+ne[e]+" \u043E' p"}function Ls(e){let n=ne[e];switch(e){case 0:case 3:case 5:case 6:return"'\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0443 "+n+" \u043E' p";case 1:case 2:case 4:return"'\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0439 "+n+" \u043E' p"}}var Vs=(e,n,t)=>{let a=w(e),i=a.getDay();return v(a,n,t)?Zt(i):Es(i)},Gs=(e,n,t)=>{let a=w(e),i=a.getDay();return v(a,n,t)?Zt(i):Ls(i)},Hs={lastWeek:Vs,yesterday:"'\u0432\u0447\u043E\u0440\u0430 \u043E' p",today:"'\u0441\u044C\u043E\u0433\u043E\u0434\u043D\u0456 \u043E' p",tomorrow:"'\u0437\u0430\u0432\u0442\u0440\u0430 \u043E' p",nextWeek:Gs,other:"P"},ea=(e,n,t,a)=>{let i=Hs[e];return typeof i=="function"?i(n,t,a):i};var Os={narrow:["\u0434\u043E \u043D.\u0435.","\u043D.\u0435."],abbreviated:["\u0434\u043E \u043D. \u0435.","\u043D. \u0435."],wide:["\u0434\u043E \u043D\u0430\u0448\u043E\u0457 \u0435\u0440\u0438","\u043D\u0430\u0448\u043E\u0457 \u0435\u0440\u0438"]},Xs={narrow:["1","2","3","4"],abbreviated:["1-\u0439 \u043A\u0432.","2-\u0439 \u043A\u0432.","3-\u0439 \u043A\u0432.","4-\u0439 \u043A\u0432."],wide:["1-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","2-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","3-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B","4-\u0439 \u043A\u0432\u0430\u0440\u0442\u0430\u043B"]},Rs={narrow:["\u0421","\u041B","\u0411","\u041A","\u0422","\u0427","\u041B","\u0421","\u0412","\u0416","\u041B","\u0413"],abbreviated:["\u0441\u0456\u0447.","\u043B\u044E\u0442.","\u0431\u0435\u0440\u0435\u0437.","\u043A\u0432\u0456\u0442.","\u0442\u0440\u0430\u0432.","\u0447\u0435\u0440\u0432.","\u043B\u0438\u043F.","\u0441\u0435\u0440\u043F.","\u0432\u0435\u0440\u0435\u0441.","\u0436\u043E\u0432\u0442.","\u043B\u0438\u0441\u0442\u043E\u043F.","\u0433\u0440\u0443\u0434."],wide:["\u0441\u0456\u0447\u0435\u043D\u044C","\u043B\u044E\u0442\u0438\u0439","\u0431\u0435\u0440\u0435\u0437\u0435\u043D\u044C","\u043A\u0432\u0456\u0442\u0435\u043D\u044C","\u0442\u0440\u0430\u0432\u0435\u043D\u044C","\u0447\u0435\u0440\u0432\u0435\u043D\u044C","\u043B\u0438\u043F\u0435\u043D\u044C","\u0441\u0435\u0440\u043F\u0435\u043D\u044C","\u0432\u0435\u0440\u0435\u0441\u0435\u043D\u044C","\u0436\u043E\u0432\u0442\u0435\u043D\u044C","\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434","\u0433\u0440\u0443\u0434\u0435\u043D\u044C"]},Is={narrow:["\u0421","\u041B","\u0411","\u041A","\u0422","\u0427","\u041B","\u0421","\u0412","\u0416","\u041B","\u0413"],abbreviated:["\u0441\u0456\u0447.","\u043B\u044E\u0442.","\u0431\u0435\u0440\u0435\u0437.","\u043A\u0432\u0456\u0442.","\u0442\u0440\u0430\u0432.","\u0447\u0435\u0440\u0432.","\u043B\u0438\u043F.","\u0441\u0435\u0440\u043F.","\u0432\u0435\u0440\u0435\u0441.","\u0436\u043E\u0432\u0442.","\u043B\u0438\u0441\u0442\u043E\u043F.","\u0433\u0440\u0443\u0434."],wide:["\u0441\u0456\u0447\u043D\u044F","\u043B\u044E\u0442\u043E\u0433\u043E","\u0431\u0435\u0440\u0435\u0437\u043D\u044F","\u043A\u0432\u0456\u0442\u043D\u044F","\u0442\u0440\u0430\u0432\u043D\u044F","\u0447\u0435\u0440\u0432\u043D\u044F","\u043B\u0438\u043F\u043D\u044F","\u0441\u0435\u0440\u043F\u043D\u044F","\u0432\u0435\u0440\u0435\u0441\u043D\u044F","\u0436\u043E\u0432\u0442\u043D\u044F","\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434\u0430","\u0433\u0440\u0443\u0434\u043D\u044F"]},qs={narrow:["\u041D","\u041F","\u0412","\u0421","\u0427","\u041F","\u0421"],short:["\u043D\u0434","\u043F\u043D","\u0432\u0442","\u0441\u0440","\u0447\u0442","\u043F\u0442","\u0441\u0431"],abbreviated:["\u043D\u0435\u0434","\u043F\u043E\u043D","\u0432\u0456\u0432","\u0441\u0435\u0440","\u0447\u0442\u0432","\u043F\u0442\u043D","\u0441\u0443\u0431"],wide:["\u043D\u0435\u0434\u0456\u043B\u044F","\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A","\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A","\u0441\u0435\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440","\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044F","\u0441\u0443\u0431\u043E\u0442\u0430"]},Bs={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D.",noon:"\u043F\u043E\u043B.",morning:"\u0440\u0430\u043D\u043E\u043A",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u0456\u0447"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D.",noon:"\u043F\u043E\u043B.",morning:"\u0440\u0430\u043D\u043E\u043A",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447.",night:"\u043D\u0456\u0447"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D\u0456\u0447",noon:"\u043F\u043E\u043B\u0443\u0434\u0435\u043D\u044C",morning:"\u0440\u0430\u043D\u043E\u043A",afternoon:"\u0434\u0435\u043D\u044C",evening:"\u0432\u0435\u0447\u0456\u0440",night:"\u043D\u0456\u0447"}},Ys={narrow:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D.",noon:"\u043F\u043E\u043B.",morning:"\u0440\u0430\u043D\u043A\u0443",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0456"},abbreviated:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D.",noon:"\u043F\u043E\u043B.",morning:"\u0440\u0430\u043D\u043A\u0443",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0456"},wide:{am:"\u0414\u041F",pm:"\u041F\u041F",midnight:"\u043F\u0456\u0432\u043D\u0456\u0447",noon:"\u043F\u043E\u043B\u0443\u0434\u0435\u043D\u044C",morning:"\u0440\u0430\u043D\u043A\u0443",afternoon:"\u0434\u043D\u044F",evening:"\u0432\u0435\u0447.",night:"\u043D\u043E\u0447\u0456"}},Js=(e,n)=>{let t=String(n?.unit),a=Number(e),i;return t==="date"?a===3||a===23?i="-\u0454":i="-\u0435":t==="minute"||t==="second"||t==="hour"?i="-\u0430":i="-\u0439",a+i},ta={ordinalNumber:Js,era:r({values:Os,defaultWidth:"wide"}),quarter:r({values:Xs,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:Rs,defaultWidth:"wide",formattingValues:Is,defaultFormattingWidth:"wide"}),day:r({values:qs,defaultWidth:"wide"}),dayPeriod:r({values:Bs,defaultWidth:"any",formattingValues:Ys,defaultFormattingWidth:"wide"})};var Qs=/^(\d+)(-?(е|й|є|а|я))?/i,$s=/\d+/i,Ks={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},Us={any:[/^д/i,/^н/i]},Zs={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},ed={any:[/1/i,/2/i,/3/i,/4/i]},td={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},ad={narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},nd={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},id={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},rd={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},od={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},aa={ordinalNumber:u({matchPattern:Qs,parsePattern:$s,valueCallback:e=>parseInt(e,10)}),era:o({matchPatterns:Ks,defaultMatchWidth:"wide",parsePatterns:Us,defaultParseWidth:"any"}),quarter:o({matchPatterns:Zs,defaultMatchWidth:"wide",parsePatterns:ed,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:td,defaultMatchWidth:"wide",parsePatterns:ad,defaultParseWidth:"any"}),day:o({matchPatterns:nd,defaultMatchWidth:"wide",parsePatterns:id,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:rd,defaultMatchWidth:"wide",parsePatterns:od,defaultParseWidth:"any"})};var na={code:"uk",formatDistance:Kt,formatLong:Ut,formatRelative:ea,localize:ta,match:aa,options:{weekStartsOn:1,firstWeekContainsDate:1}};var sd={lessThanXSeconds:{one:"\u4E0D\u5230 1 \u79D2",other:"\u4E0D\u5230 {{count}} \u79D2"},xSeconds:{one:"1 \u79D2",other:"{{count}} \u79D2"},halfAMinute:"\u534A\u5206\u949F",lessThanXMinutes:{one:"\u4E0D\u5230 1 \u5206\u949F",other:"\u4E0D\u5230 {{count}} \u5206\u949F"},xMinutes:{one:"1 \u5206\u949F",other:"{{count}} \u5206\u949F"},xHours:{one:"1 \u5C0F\u65F6",other:"{{count}} \u5C0F\u65F6"},aboutXHours:{one:"\u5927\u7EA6 1 \u5C0F\u65F6",other:"\u5927\u7EA6 {{count}} \u5C0F\u65F6"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7EA6 1 \u4E2A\u661F\u671F",other:"\u5927\u7EA6 {{count}} \u4E2A\u661F\u671F"},xWeeks:{one:"1 \u4E2A\u661F\u671F",other:"{{count}} \u4E2A\u661F\u671F"},aboutXMonths:{one:"\u5927\u7EA6 1 \u4E2A\u6708",other:"\u5927\u7EA6 {{count}} \u4E2A\u6708"},xMonths:{one:"1 \u4E2A\u6708",other:"{{count}} \u4E2A\u6708"},aboutXYears:{one:"\u5927\u7EA6 1 \u5E74",other:"\u5927\u7EA6 {{count}} \u5E74"},xYears:{one:"1 \u5E74",other:"{{count}} \u5E74"},overXYears:{one:"\u8D85\u8FC7 1 \u5E74",other:"\u8D85\u8FC7 {{count}} \u5E74"},almostXYears:{one:"\u5C06\u8FD1 1 \u5E74",other:"\u5C06\u8FD1 {{count}} \u5E74"}},ia=(e,n,t)=>{let a,i=sd[e];return typeof i=="string"?a=i:n===1?a=i.one:a=i.other.replace("{{count}}",String(n)),t?.addSuffix?t.comparison&&t.comparison>0?a+"\u5185":a+"\u524D":a};var dd={full:"y'\u5E74'M'\u6708'd'\u65E5' EEEE",long:"y'\u5E74'M'\u6708'd'\u65E5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},md={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},ud={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},ra={date:s({formats:dd,defaultWidth:"full"}),time:s({formats:md,defaultWidth:"full"}),dateTime:s({formats:ud,defaultWidth:"full"})};function oa(e,n,t){let a="eeee p";return v(e,n,t)?a:e.getTime()>n.getTime()?"'\u4E0B\u4E2A'"+a:"'\u4E0A\u4E2A'"+a}var cd={lastWeek:oa,yesterday:"'\u6628\u5929' p",today:"'\u4ECA\u5929' p",tomorrow:"'\u660E\u5929' p",nextWeek:oa,other:"PP p"},sa=(e,n,t,a)=>{let i=cd[e];return typeof i=="function"?i(n,t,a):i};var ld={narrow:["\u524D","\u516C\u5143"],abbreviated:["\u524D","\u516C\u5143"],wide:["\u516C\u5143\u524D","\u516C\u5143"]},hd={narrow:["1","2","3","4"],abbreviated:["\u7B2C\u4E00\u5B63","\u7B2C\u4E8C\u5B63","\u7B2C\u4E09\u5B63","\u7B2C\u56DB\u5B63"],wide:["\u7B2C\u4E00\u5B63\u5EA6","\u7B2C\u4E8C\u5B63\u5EA6","\u7B2C\u4E09\u5B63\u5EA6","\u7B2C\u56DB\u5B63\u5EA6"]},fd={narrow:["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},pd={narrow:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],short:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],abbreviated:["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],wide:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]},gd={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u51CC\u6668",noon:"\u5348",morning:"\u65E9",afternoon:"\u4E0B\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"}},vd={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u51CC\u6668",noon:"\u5348",morning:"\u65E9",afternoon:"\u4E0B\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"}},bd=(e,n)=>{let t=Number(e);switch(n?.unit){case"date":return t.toString()+"\u65E5";case"hour":return t.toString()+"\u65F6";case"minute":return t.toString()+"\u5206";case"second":return t.toString()+"\u79D2";default:return"\u7B2C "+t.toString()}},da={ordinalNumber:bd,era:r({values:ld,defaultWidth:"wide"}),quarter:r({values:hd,defaultWidth:"wide",argumentCallback:e=>e-1}),month:r({values:fd,defaultWidth:"wide"}),day:r({values:pd,defaultWidth:"wide"}),dayPeriod:r({values:gd,defaultWidth:"wide",formattingValues:vd,defaultFormattingWidth:"wide"})};var yd=/^(第\s*)?\d+(日|时|分|秒)?/i,wd=/\d+/i,Pd={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},Md={any:[/^(前)/i,/^(公元)/i]},kd={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},xd={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},Wd={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Dd={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},Sd={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},_d={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},zd={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},Cd={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},ma={ordinalNumber:u({matchPattern:yd,parsePattern:wd,valueCallback:e=>parseInt(e,10)}),era:o({matchPatterns:Pd,defaultMatchWidth:"wide",parsePatterns:Md,defaultParseWidth:"any"}),quarter:o({matchPatterns:kd,defaultMatchWidth:"wide",parsePatterns:xd,defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:Wd,defaultMatchWidth:"wide",parsePatterns:Dd,defaultParseWidth:"any"}),day:o({matchPatterns:Sd,defaultMatchWidth:"wide",parsePatterns:_d,defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:zd,defaultMatchWidth:"any",parsePatterns:Cd,defaultParseWidth:"any"})};var ua={code:"zh-CN",formatDistance:ia,formatLong:ra,formatRelative:sa,localize:da,match:ma,options:{weekStartsOn:1,firstWeekContainsDate:4}};var jd={ar:Ve,de:qe,en:F,es:at,fr:dt,hi:gt,ja:Mt,nl:_t,pt:Nt,ru:It,tr:$t,uk:na,zh:ua};var Th=e=>jd[e]??F;function Lh(e){let n=w(e),t=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return t.setUTCFullYear(n.getFullYear()),+e-+t}export{sm as a,Bc as b,Yc as c,Jc as d,Qc as e,N as f,w as g,Gt as h,te as i,Lh as j,Vt as k,F as l,Th as m}; diff --git a/webui/dist/bitmagnet/browser/index.html b/webui/dist/bitmagnet/browser/index.html index 881097e7..fb728c87 100644 --- a/webui/dist/bitmagnet/browser/index.html +++ b/webui/dist/bitmagnet/browser/index.html @@ -6,8 +6,8 @@ - + - + diff --git a/webui/dist/bitmagnet/browser/main-BAOK3W2A.js b/webui/dist/bitmagnet/browser/main-BAOK3W2A.js new file mode 100644 index 00000000..0e84f634 --- /dev/null +++ b/webui/dist/bitmagnet/browser/main-BAOK3W2A.js @@ -0,0 +1 @@ +import{a as Ne,b as Ke,d as mt,e as ht}from"./chunk-Y7K23DTG.js";import{a as ct}from"./chunk-P4IGP6ZM.js";import{a as ut,c as dt,d as _t}from"./chunk-EBLD3IWA.js";import{Aa as it,Da as lt,Ea as Q,N as tt,P as ot,_a as U,a as Ve,b as X,c as Ge,d as Xe,e as Qe,f as Ue,g as We,h as Je,i as Ye,u as Ze,va as rt,w as $e,wa as at,x as et,ya as nt,za as st}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import{a as ne,b as Pe,c as se,d as qe,e as Ee,f as De,g as Ie,h as je,j as Fe,k as Le,l as Be,m as He,n as Re,o as Oe}from"./chunk-CMNWCZJM.js";import{$b as h,B as ge,Cb as q,Ea as Z,Fa as $,Gc as Ae,Hb as g,Kb as S,Mb as te,Nb as Se,Oa as ye,Ob as L,Pb as B,Qb as i,Rb as s,Sb as m,Tb as E,Tc as K,Ub as D,Wa as ve,Wb as oe,Zb as re,a as P,ac as Ce,bc as Me,d as he,ec as H,fc as R,gc as O,h as F,ia as fe,jc as A,ka as p,kb as l,kc as _,l as pe,lb as ee,lc as b,mb as ke,mc as ae,na as V,ob as xe,pa as G,pc as y,qa as c,qb as we,qc as N,rc as ze,tb as Te,ua as f,ya as be}from"./chunk-Z3WUIYN5.js";var Kt="@",Xt=(()=>{class t{constructor(e,o,a,n,u){this.doc=e,this.delegate=o,this.zone=a,this.animationType=n,this.moduleImpl=u,this._rendererFactoryPromise=null,this.scheduler=c(xe,{optional:!0}),this.loadingSchedulerFn=c(Qt,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-KZMLKX77.js").then(a=>a),o;return this.loadingSchedulerFn?o=this.loadingSchedulerFn(e):o=e(),o.catch(a=>{throw new fe(5300,!1)}).then(({\u0275createEngine:a,\u0275AnimationRendererFactory:n})=>{this._engine=a(this.animationType,this.doc);let u=new n(this.delegate,this._engine,this.zone);return this.delegate=u,u})}createRenderer(e,o){let a=this.delegate.createRenderer(e,o);if(a.\u0275type===0)return a;typeof a.throwOnSyntheticProps=="boolean"&&(a.throwOnSyntheticProps=!1);let n=new ie(a);return o?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(u=>{let x=u.createRenderer(e,o);n.use(x),this.scheduler?.notify(10)}).catch(u=>{n.use(a)}),n}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static{this.\u0275fac=function(o){ke()}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac})}}return t})(),ie=class{constructor(r){this.delegate=r,this.replay=[],this.\u0275type=1}use(r){if(this.delegate=r,this.replay!==null){for(let e of this.replay)e(r);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(r,e){return this.delegate.createElement(r,e)}createComment(r){return this.delegate.createComment(r)}createText(r){return this.delegate.createText(r)}get destroyNode(){return this.delegate.destroyNode}appendChild(r,e){this.delegate.appendChild(r,e)}insertBefore(r,e,o,a){this.delegate.insertBefore(r,e,o,a)}removeChild(r,e,o){this.delegate.removeChild(r,e,o)}selectRootElement(r,e){return this.delegate.selectRootElement(r,e)}parentNode(r){return this.delegate.parentNode(r)}nextSibling(r){return this.delegate.nextSibling(r)}setAttribute(r,e,o,a){this.delegate.setAttribute(r,e,o,a)}removeAttribute(r,e,o){this.delegate.removeAttribute(r,e,o)}addClass(r,e){this.delegate.addClass(r,e)}removeClass(r,e){this.delegate.removeClass(r,e)}setStyle(r,e,o,a){this.delegate.setStyle(r,e,o,a)}removeStyle(r,e,o){this.delegate.removeStyle(r,e,o)}setProperty(r,e,o){this.shouldReplay(e)&&this.replay.push(a=>a.setProperty(r,e,o)),this.delegate.setProperty(r,e,o)}setValue(r,e){this.delegate.setValue(r,e)}listen(r,e,o){return this.shouldReplay(e)&&this.replay.push(a=>a.listen(r,e,o)),this.delegate.listen(r,e,o)}shouldReplay(r){return this.replay!==null&&r.startsWith(Kt)}},Qt=new V("");function pt(t="animations"){return Te("NgAsyncAnimations"),be([{provide:we,useFactory:(r,e,o)=>new Xt(r,e,o,t),deps:[K,Ee,ye]},{provide:ve,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Ut=(t,r,e)=>{let o=["POST","PUT","PATCH"].indexOf(t.method.toUpperCase())!==-1,a=d=>["variables","extensions"].indexOf(d.toLowerCase())!==-1,n=t.body.length,u=t.options&&t.options.useMultipart,x;if(u){if(n)return new F(d=>d.error(new Error("File upload is not available when combined with Batching")));if(!o)return new F(d=>d.error(new Error("File upload is not available when GET is used")));if(!e)return new F(d=>d.error(new Error(`To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink's options`)));x=e(t.body),u=!!x.files.size}let w={};if(n){if(!o)return new F(d=>d.error(new Error("Batching is not available for GET requests")));w={body:t.body}}else{let d=u?x.clone:t.body;o?w={body:d}:w={params:Object.keys(t.body).reduce((C,k)=>{let M=t.body[k];return C[k]=a(k)?JSON.stringify(M):M,C},{})}}if(u&&o){let d=new FormData;d.append("operations",JSON.stringify(w.body));let j={},C=x.files,k=0;C.forEach(M=>{j[++k]=M}),d.append("map",JSON.stringify(j)),k=0,C.forEach((M,T)=>{d.append(++k+"",T,T.name)}),w.body=d}return r.request(t.method,t.url,P(P({observe:"response",responseType:"json",reportProgress:!1},w),t.options))},Wt=(t,r)=>t&&r?r.keys().reduce((o,a)=>o.set(a,r.getAll(a)),t):r||t;function Jt(...t){return t.find(r=>typeof r<"u")}function Yt(t){let r=t.headers&&t.headers instanceof ne?t.headers:new ne(t.headers);if(t.clientAwareness){let{name:e,version:o}=t.clientAwareness;e&&!r.has("apollographql-client-name")&&(r=r.set("apollographql-client-name",e)),o&&!r.has("apollographql-client-version")&&(r=r.set("apollographql-client-version",o))}return r}var Zt={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function I(t,r,e){return Jt(t[e],r[e],Zt[e])}var le=class extends Ue{httpClient;options;requester;print=Xe;constructor(r,e){super(),this.httpClient=r,this.options=e,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=o=>new Qe(a=>{let n=o.getContext(),u=I(n,this.options,"method"),x=I(n,this.options,"includeQuery"),w=I(n,this.options,"includeExtensions"),d=I(n,this.options,"uri"),j=I(n,this.options,"withCredentials"),C=I(n,this.options,"useMultipart"),k=this.options.useGETForQueries===!0,M=o.query.definitions.some(z=>z.kind==="OperationDefinition"&&z.operation==="query");k&&M&&(u="GET");let T={method:u,url:typeof d=="function"?d(o):d,body:{operationName:o.operationName,variables:o.variables},options:{withCredentials:j,useMultipart:C,headers:this.options.headers}};w&&(T.body.extensions=o.extensions),x&&(T.body.query=this.print(o.query));let Nt=Yt(n);T.options.headers=Wt(T.options.headers,Nt);let me=Ut(T,this.httpClient,this.options.extractFiles).subscribe({next:z=>{o.setContext({response:z}),a.next(z.body)},error:z=>a.error(z),complete:()=>a.complete()});return()=>{me.closed||me.unsubscribe()}})}request(r){return this.requester(r)}},gt=(()=>{class t{httpClient;constructor(e){this.httpClient=e}create(e){return new le(this.httpClient,e)}static \u0275fac=function(o){return new(o||t)(G(Pe))};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ft=window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/graphql";var bt={content_types:{plural:{all:"\u0627\u0644\u0643\u0644",audiobook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0635\u0648\u062A\u064A\u0629",comic:"\u0627\u0644\u0642\u0635\u0635 \u0627\u0644\u0645\u0635\u0648\u0631\u0629",ebook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u0629",game:"\u0627\u0644\u0623\u0644\u0639\u0627\u0628",movie:"\u0627\u0644\u0623\u0641\u0644\u0627\u0645",music:"\u0627\u0644\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0644\u0641\u0627\u0632",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"},singular:{audiobook:"\u0643\u062A\u0627\u0628 \u0635\u0648\u062A\u064A",comic:"\u0642\u0635\u0629 \u0645\u0635\u0648\u0631\u0629",ebook:"\u0643\u062A\u0627\u0628 \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",game:"\u0644\u0639\u0628\u0629",movie:"\u0641\u064A\u0644\u0645",music:"\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0644\u0641\u0632\u064A\u0648\u0646\u064A",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"}},dashboard:{event:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",failed:"\u0641\u0634\u0644",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",updated:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B"},interval:{all:"\u0627\u0644\u0643\u0644",days:"\u064A\u0648\u0645",days_1:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",hours:"\u0633\u0627\u0639\u0629",hours_1:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",hours_12:"12 \u0633\u0627\u0639\u0629",hours_6:"6 \u0633\u0627\u0639\u0629",minutes:"\u062F\u0642\u064A\u0642\u0629",minutes_1:"1 \u062F\u0642\u064A\u0642\u0629",minutes_15:"15 \u062F\u0642\u0627\u0626\u0642",minutes_30:"30 \u062F\u0642\u0627\u0626\u0642",minutes_5:"5 \u062F\u0642\u0627\u0626\u0642",off:"\u0625\u064A\u0642\u0627\u0641",seconds_10:"10 \u062B\u0648\u0627\u0646\u064A",seconds_30:"30 \u062B\u0627\u0646\u064A\u0629",weeks_1:"1 \u0623\u0633\u0628\u0648\u0639"},metrics:{event:"\u062D\u062F\u062B",resolution:"\u0627\u0644\u062F\u0642\u0629",throughput:"\u0645\u0639\u062F\u0644 \u0627\u0644\u0646\u0642\u0644",timeframe:"\u0627\u0644\u0625\u0637\u0627\u0631 \u0627\u0644\u0632\u0645\u0646\u064A",toggle_legend:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0623\u0633\u0637\u0648\u0631\u0629"},queues:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",created_at:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621 \u0641\u064A",enqueue_jobs:"\u0625\u062F\u0631\u0627\u062C \u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",enqueue_torrent_processing_batch:"\u0625\u062F\u0631\u0627\u062C \u062F\u0641\u0639\u0629 \u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",failed:"\u0641\u0634\u0644",force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",jobs_enqueued:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0645\u062F\u0631\u062C\u0629 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",latency:"\u0627\u0644\u062A\u0623\u062E\u064A\u0631",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",payload:"\u0627\u0644\u062D\u0645\u0648\u0644\u0629",pending:"\u0642\u064A\u062F \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",priority:"\u0627\u0644\u0623\u0648\u0644\u0648\u064A\u0629",process_orphaned_torrents_only:"\u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u064A\u062A\u064A\u0645 \u0641\u0642\u0637",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",purge_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0648\u0638\u0627\u0626\u0641",purge_queue_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue_purged:"\u062A\u0645 \u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",ran_at:"\u062A\u0645 \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u0641\u064A",retry:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",total_counts_by_status:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u0639\u062F \u062D\u0633\u0628 \u0627\u0644\u062D\u0627\u0644\u0629"}},facets:{content_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u062D\u062A\u0648\u0649",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",genre:"\u0627\u0644\u0646\u0648\u0639",language:"\u0627\u0644\u0644\u063A\u0629",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",status:"\u0627\u0644\u062D\u0627\u0644\u0629",torrent_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",torrent_tag:"\u0639\u0644\u0627\u0645\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",video_resolution:"\u062F\u0642\u0629 \u0627\u0644\u0641\u064A\u062F\u064A\u0648",video_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u0641\u064A\u062F\u064A\u0648"},file_types:{archive:"\u0623\u0631\u0634\u064A\u0641",audio:"\u0635\u0648\u062A",data:"\u0628\u064A\u0627\u0646\u0627\u062A",document:"\u0648\u062B\u064A\u0642\u0629",image:"\u0635\u0648\u0631\u0629",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",subtitles:"\u062A\u0631\u062C\u0645\u0627\u062A",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",video:"\u0641\u064A\u062F\u064A\u0648"},general:{all:"\u0627\u0644\u0643\u0644",dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",none:"\u0644\u0627 \u0634\u064A\u0621",page_not_found:"\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629",refresh:"\u062A\u062D\u062F\u064A\u062B",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},health:{bitmagnet_is_status:"bitmagnet \u0647\u0648 {{status}}",check_failed_with_error:"\u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u0642\u0642 \u0645\u0639 \u062E\u0637\u0623",component:"\u0645\u0643\u0648\u0646",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",status:"\u0627\u0644\u062D\u0627\u0644\u0629",statuses:{degraded:"\u0645\u062A\u062F\u0647\u0648\u0631",down:"\u0645\u0639\u0637\u0644",error:"\u062E\u0637\u0623",inactive:"\u063A\u064A\u0631 \u0646\u0634\u0637",started:"\u0628\u062F\u0623",unknown:"\u0645\u0639\u0644\u0642",up:"\u0646\u0634\u0637"},summary:"\u0645\u0644\u062E\u0635 \u0627\u0644\u0635\u062D\u0629",worker:"\u0639\u0627\u0645\u0644",workers:{dht_crawler:"\u0632\u0627\u062D\u0641 DHT",http_server:"\u062E\u0627\u062F\u0645 HTTP",queue_server:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0637\u0627\u0628\u0648\u0631"}},languages:{af:"\u0627\u0644\u0623\u0641\u0631\u064A\u0643\u0627\u0646\u064A\u0629",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",az:"\u0627\u0644\u0623\u0630\u0631\u0628\u064A\u062C\u0627\u0646\u064A\u0629",be:"\u0627\u0644\u0628\u064A\u0644\u0627\u0631\u0648\u0633\u064A\u0629",bg:"\u0627\u0644\u0628\u0644\u063A\u0627\u0631\u064A\u0629",bs:"\u0627\u0644\u0628\u0648\u0633\u0646\u064A\u0629",ca:"\u0627\u0644\u0643\u0627\u062A\u0627\u0644\u0627\u0646\u064A\u0629",ce:"\u0627\u0644\u0634\u064A\u0634\u0627\u0646\u064A\u0629",co:"\u0627\u0644\u0643\u0648\u0631\u0633\u064A\u0643\u064A\u0629",cs:"\u0627\u0644\u062A\u0634\u064A\u0643\u064A\u0629",cy:"\u0627\u0644\u0648\u064A\u0644\u0632\u064A\u0629",da:"\u0627\u0644\u062F\u0627\u0646\u0645\u0627\u0631\u0643\u064A\u0629",de:"\u0627\u0644\u0623\u0644\u0645\u0627\u0646\u064A\u0629",el:"\u0627\u0644\u064A\u0648\u0646\u0627\u0646\u064A\u0629",en:"\u0627\u0644\u0625\u0646\u062C\u0644\u064A\u0632\u064A\u0629",es:"\u0627\u0644\u0625\u0633\u0628\u0627\u0646\u064A\u0629",et:"\u0627\u0644\u0625\u0633\u062A\u0648\u0646\u064A\u0629",eu:"\u0627\u0644\u0628\u0627\u0633\u0643\u064A\u0629",fa:"\u0627\u0644\u0641\u0627\u0631\u0633\u064A\u0629",fi:"\u0627\u0644\u0641\u0646\u0644\u0646\u062F\u064A\u0629",fr:"\u0627\u0644\u0641\u0631\u0646\u0633\u064A\u0629",he:"\u0627\u0644\u0639\u0628\u0631\u064A\u0629",hi:"\u0627\u0644\u0647\u0646\u062F\u064A\u0629",hr:"\u0627\u0644\u0643\u0631\u0648\u0627\u062A\u064A\u0629",hu:"\u0627\u0644\u0647\u0646\u063A\u0627\u0631\u064A\u0629",hy:"\u0627\u0644\u0623\u0631\u0645\u0646\u064A\u0629",id:"\u0627\u0644\u0625\u0646\u062F\u0648\u0646\u064A\u0633\u064A\u0629",is:"\u0627\u0644\u0623\u064A\u0633\u0644\u0646\u062F\u064A\u0629",it:"\u0627\u0644\u0625\u064A\u0637\u0627\u0644\u064A\u0629",ja:"\u0627\u0644\u064A\u0627\u0628\u0627\u0646\u064A\u0629",ka:"\u0627\u0644\u062C\u0648\u0631\u062C\u064A\u0629",ko:"\u0627\u0644\u0643\u0648\u0631\u064A\u0629",ku:"\u0627\u0644\u0643\u0631\u062F\u064A\u0629",lt:"\u0627\u0644\u0644\u064A\u062A\u0648\u0627\u0646\u064A\u0629",lv:"\u0627\u0644\u0644\u0627\u062A\u0641\u064A\u0629",mi:"\u0627\u0644\u0645\u0627\u0648\u0631\u064A\u0629",mk:"\u0627\u0644\u0645\u0642\u062F\u0648\u0646\u064A\u0629",ml:"\u0627\u0644\u0645\u0627\u0644\u0627\u064A\u0627\u0644\u0627\u0645\u064A\u0629",mn:"\u0627\u0644\u0645\u0646\u063A\u0648\u0644\u064A\u0629",ms:"\u0627\u0644\u0645\u0644\u0627\u064A\u0648\u064A\u0629",mt:"\u0627\u0644\u0645\u0627\u0644\u0637\u064A\u0629",nl:"\u0627\u0644\u0647\u0648\u0644\u0646\u062F\u064A\u0629",no:"\u0627\u0644\u0646\u0631\u0648\u064A\u062C\u064A\u0629",pl:"\u0627\u0644\u0628\u0648\u0644\u0646\u062F\u064A\u0629",pt:"\u0627\u0644\u0628\u0631\u062A\u063A\u0627\u0644\u064A\u0629",ro:"\u0627\u0644\u0631\u0648\u0645\u0627\u0646\u064A\u0629",ru:"\u0627\u0644\u0631\u0648\u0633\u064A\u0629",sa:"\u0627\u0644\u0633\u0646\u0633\u0643\u0631\u064A\u062A\u064A\u0629",sk:"\u0627\u0644\u0633\u0644\u0648\u0641\u0627\u0643\u064A\u0629",sl:"\u0627\u0644\u0633\u0644\u0648\u0641\u064A\u0646\u064A\u0629",sm:"\u0627\u0644\u0633\u0627\u0645\u0648\u064A\u0629",so:"\u0627\u0644\u0635\u0648\u0645\u0627\u0644\u064A\u0629",sr:"\u0627\u0644\u0635\u0631\u0628\u064A\u0629",sv:"\u0627\u0644\u0633\u0648\u064A\u062F\u064A\u0629",ta:"\u0627\u0644\u062A\u0627\u0645\u064A\u0644\u064A\u0629",th:"\u0627\u0644\u062A\u0627\u064A\u0644\u0627\u0646\u062F\u064A\u0629",tr:"\u0627\u0644\u062A\u0631\u0643\u064A\u0629",uk:"\u0627\u0644\u0623\u0648\u0643\u0631\u0627\u0646\u064A\u0629",vi:"\u0627\u0644\u0641\u064A\u062A\u0646\u0627\u0645\u064A\u0629",yi:"\u0627\u0644\u064A\u062F\u064A\u0634\u064A\u0629",zh:"\u0627\u0644\u0635\u064A\u0646\u064A\u0629",zu:"\u0627\u0644\u0632\u0648\u0644\u0648"},layout:{bitmagnet_on_service:"bitmagnet \u0639\u0644\u0649 {{service}}",change_theme:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0633\u0645\u0629",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",sponsor:"\u0627\u0644\u0631\u0627\u0639\u064A",support_bitmagnet:"\u062F\u0639\u0645 bitmagnet",translate:"\u062A\u0631\u062C\u0645\u0629"},paginator:{first_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u0648\u0644\u0649",items_per_page:"\u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0644\u0643\u0644 \u0635\u0641\u062D\u0629",last_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u062E\u064A\u0631\u0629",next_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629",page_x:"\u0627\u0644\u0635\u0641\u062D\u0629 {{x}}",previous_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",x_to_y:"{{x}} \u0625\u0644\u0649 {{y}}",x_to_y_of_z:"{{x}} \u0625\u0644\u0649 {{y}} \u0645\u0646 {{z}}"},routes:{admin:"\u0627\u0644\u0645\u0633\u0624\u0648\u0644",dashboard:"\u0644\u0648\u062D\u0629 \u0627\u0644\u062A\u062D\u0643\u0645",home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",jobs:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",torrents:"\u0627\u0644\u062A\u0648\u0631\u0646\u062A",visualize:"\u062A\u0635\u0648\u0631"},torrents:{classification:"\u0627\u0644\u062A\u0635\u0646\u064A\u0641",clear_search:"\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B",copy:"\u0646\u0633\u062E",copy_to_clipboard:"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629",delete:"\u062D\u0630\u0641",delete_action_cannot_be_undone:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u0627\u0644\u062A\u0631\u0627\u062C\u0639 \u0639\u0646 \u0647\u0630\u0627 \u0627\u0644\u0625\u062C\u0631\u0627\u0621",delete_are_you_sure:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062D\u0630\u0641 \u0647\u0630\u0627 \u0627\u0644\u062A\u0648\u0631\u0646\u062A\u061F",deselect_all:"\u0625\u0644\u063A\u0627\u0621 \u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",download:"\u062A\u0646\u0632\u064A\u0644",download_confirm:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0645\u0646 \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062A\u0646\u0632\u064A\u0644 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629\u061F",edit_tags:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",episodes:"\u0627\u0644\u062D\u0644\u0642\u0627\u062A",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",file_index:"\u0641\u0647\u0631\u0633 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",file_path:"\u0645\u0633\u0627\u0631 \u0627\u0644\u0645\u0644\u0641",file_size:"\u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",files:"\u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_count_n:"{{count}} \u0645\u0644\u0641\u0627\u062A",files_no_info:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0646 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_single:"\u0645\u0644\u0641 \u0648\u0627\u062D\u062F",genres:"\u0627\u0644\u0623\u0646\u0648\u0627\u0639",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",info_hashes:"\u062A\u062C\u0632\u0626\u0627\u062A \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",languages:"\u0627\u0644\u0644\u063A\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",magnet:"\u0645\u063A\u0646\u0627\u0637\u064A\u0633",magnet_links:"\u0631\u0648\u0627\u0628\u0637 \u0645\u063A\u0646\u0627\u0637\u064A\u0633\u064A\u0629",new_tag:"\u0639\u0644\u0627\u0645\u0629 \u062C\u062F\u064A\u062F\u0629",order_by:"\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628",order_direction_toggle:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0627\u062A\u062C\u0627\u0647",ordering:{files_count:"\u0639\u062F\u062F \u0627\u0644\u0645\u0644\u0641\u0627\u062A",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",name:"\u0627\u0644\u0627\u0633\u0645",published_at:"\u0646\u0634\u0631 \u0641\u064A",relevance:"\u0627\u0644\u0635\u0644\u0629",seeders:"\u0627\u0644\u0645\u0632\u0627\u0631\u0639\u0648\u0646",size:"\u0627\u0644\u062D\u062C\u0645",updated_at:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0641\u064A"},original_release_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0635\u062F\u0627\u0631 \u0627\u0644\u0623\u0635\u0644\u064A",permalink:"\u0631\u0627\u0628\u0637 \u062F\u0627\u0626\u0645",poster:"\u0645\u0644\u0635\u0642",published:"\u0645\u0646\u0634\u0648\u0631",rating:"\u0627\u0644\u062A\u0642\u064A\u064A\u0645",refresh:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u062A\u0627\u0626\u062C",reprocess:{force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",reprocess:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629"},s_l:"S / L",search:"\u0628\u062D\u062B",seeders:"\u0627\u0644\u0628\u0627\u0630\u0631\u0648\u0646",select_all:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",showing_x_of_y_files:"\u0639\u0631\u0636 {{x}} \u0645\u0646 {{y}} \u0645\u0644\u0641\u0627\u062A",size:"\u0627\u0644\u062D\u062C\u0645",source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",summary:"\u0627\u0644\u0645\u0644\u062E\u0635",tags:{delete:"\u062D\u0630\u0641 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",delete_tip:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0645\u0646 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",placeholder:"\u0627\u0644\u0639\u0644\u0627\u0645\u0629...",put:"\u0648\u0636\u0639 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",put_tip:"\u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0625\u0644\u0649 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",set:"\u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",set_tip:"\u0627\u0633\u062A\u0628\u062F\u0627\u0644 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0641\u064A \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629"},title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",toggle_drawer:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u062F\u0631\u062C",votes_count_n:"{{count}} \u0623\u0635\u0648\u0627\u062A"},version:{bitmagnet_version:"\u0625\u0635\u062F\u0627\u0631 bitmagnet {{version}}",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641"}};var yt={content_types:{plural:{all:"Alle",audiobook:"H\xF6rb\xFCcher",comic:"Comics",ebook:"E-B\xFCcher",game:"Spiele",movie:"Filme",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Shows",xxx:"XXX"},singular:{audiobook:"H\xF6rbuch",comic:"Comic",ebook:"E-Buch",game:"Spiel",movie:"Film",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Show",xxx:"XXX"}},dashboard:{event:{created:"Erstellt",failed:"Fehlgeschlagen",processed:"Verarbeitet",updated:"Aktualisiert"},interval:{all:"Alle",days:"Tage",days_1:"1 Tag",hours:"Stunden",hours_1:"1 Stunde",hours_12:"12 Stunden",hours_6:"6 Stunden",minutes:"Minuten",minutes_1:"1 Minute",minutes_15:"15 Minuten",minutes_30:"30 Minuten",minutes_5:"5 Minuten",off:"Aus",seconds_10:"10 Sekunden",seconds_30:"30 Sekunden",weeks_1:"1 Woche"},metrics:{event:"Ereignis",resolution:"Aufl\xF6sung",throughput:"Durchsatz",timeframe:"Zeitrahmen",toggle_legend:"Legende umschalten"},queues:{created:"Erstellt",created_at:"Erstellt am",enqueue_jobs:"Jobs einreihen",enqueue_torrent_processing_batch:"Torrent-Verarbeitungsbatch einreihen",failed:"Fehlgeschlagen",force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",jobs_enqueued:"Jobs eingereiht",latency:"Latenz",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",payload:"Nutzlast",pending:"Ausstehend",priority:"Priorit\xE4t",process_orphaned_torrents_only:"Nur verwaiste Torrents verarbeiten",processed:"Verarbeitet",purge_jobs:"Jobs bereinigen",purge_queue_jobs:"Warteschlangen-Jobs bereinigen",queue:"Warteschlange",queue_purged:"Warteschlange bereinigt",queues:"Warteschlangen",ran_at:"Ausgef\xFChrt am",retry:"Erneut versuchen",total_counts_by_status:"Gesamtanzahl nach Status"}},facets:{content_type:"Inhaltstyp",file_type:"Dateityp",genre:"Genre",language:"Sprache",queue:"Warteschlange",status:"Status",torrent_source:"Torrent-Quelle",torrent_tag:"Torrent-Tag",video_resolution:"Videoaufl\xF6sung",video_source:"Videoquelle"},file_types:{archive:"Archiv",audio:"Audio",data:"Daten",document:"Dokument",image:"Bild",software:"Software",subtitles:"Untertitel",unknown:"Unbekannt",video:"Video"},general:{all:"Alle",dismiss:"Verwerfen",error:"Fehler",none:"Keine",page_not_found:"Seite nicht gefunden",refresh:"Aktualisieren",status:"Status"},health:{bitmagnet_is_status:"bitmagnet ist {{status}}",check_failed_with_error:"\xDCberpr\xFCfung mit Fehler fehlgeschlagen",component:"Komponente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Verwerfen",error:"Fehler",status:"Status",statuses:{degraded:"Verschlechtert",down:"Aus",error:"Fehler",inactive:"Inaktiv",started:"Gestartet",unknown:"Ausstehend",up:"An"},summary:"Gesundheits\xFCbersicht",worker:"Arbeiter",workers:{dht_crawler:"DHT-Crawler",http_server:"HTTP-Server",queue_server:"Warteschlangen-Server"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Aserbaidschanisch",be:"Wei\xDFrussisch",bg:"Bulgarisch",bs:"Bosnisch",ca:"Katalanisch",ce:"Tschetschenisch",co:"Korsisch",cs:"Tschechisch",cy:"Walisisch",da:"D\xE4nisch",de:"Deutsch",el:"Griechisch",en:"Englisch",es:"Spanisch",et:"Estnisch",eu:"Baskisch",fa:"Persisch",fi:"Finnisch",fr:"Franz\xF6sisch",he:"Hebr\xE4isch",hi:"Hindi",hr:"Kroatisch",hu:"Ungarisch",hy:"Armenisch",id:"Indonesisch",is:"Isl\xE4ndisch",it:"Italienisch",ja:"Japanisch",ka:"Georgisch",ko:"Koreanisch",ku:"Kurdisch",lt:"Litauisch",lv:"Lettisch",mi:"Maori",mk:"Mazedonisch",ml:"Malayalam",mn:"Mongolisch",ms:"Malaiisch",mt:"Maltesisch",nl:"Niederl\xE4ndisch",no:"Norwegisch",pl:"Polnisch",pt:"Portugiesisch",ro:"Rum\xE4nisch",ru:"Russisch",sa:"Sanskrit",sk:"Slowakisch",sl:"Slowenisch",sm:"Samoanisch",so:"Somalisch",sr:"Serbisch",sv:"Schwedisch",ta:"Tamil",th:"Thai",tr:"T\xFCrkisch",uk:"Ukrainisch",vi:"Vietnamesisch",yi:"Jiddisch",zh:"Chinesisch",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet auf {{service}}",change_theme:"Thema \xE4ndern",external_links:"Externe Links",sponsor:"Sponsor",support_bitmagnet:"bitmagnet unterst\xFCtzen",translate:"\xDCbersetzen"},paginator:{first_page:"Erste Seite",items_per_page:"Artikel pro Seite",last_page:"Letzte Seite",next_page:"N\xE4chste Seite",page_x:"Seite {{x}}",previous_page:"Vorherige Seite",x_to_y:"{{x}} bis {{y}}",x_to_y_of_z:"{{x}} bis {{y}} von {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Startseite",jobs:"Aufgaben",queues:"Warteschlangen",torrents:"Torrents",visualize:"Visualisieren"},torrents:{classification:"Klassifizierung",clear_search:"Suche l\xF6schen",copy:"Kopieren",copy_to_clipboard:"In die Zwischenablage kopieren",delete:"L\xF6schen",delete_action_cannot_be_undone:"Diese Aktion kann nicht r\xFCckg\xE4ngig gemacht werden",delete_are_you_sure:"Sind Sie sicher, dass Sie diesen Torrent l\xF6schen m\xF6chten?",deselect_all:"Alle abw\xE4hlen",download:"Herunterladen",download_confirm:"M\xF6chten Sie die ausgew\xE4hlten Torrents wirklich herunterladen?",edit_tags:"Tags bearbeiten",episodes:"Episoden",external_links:"Externe Links",file_index:"Dateiindex",file_path:"Dateipfad",file_size:"Dateigr\xF6\xDFe",file_type:"Dateityp",files:"Dateien",files_count_n:"{{count}} Dateien",files_no_info:"Keine Dateiinformationen verf\xFCgbar",files_single:"Einzelne Datei",genres:"Genres",info_hash:"Info-Hash",info_hashes:"Info-Hashes",languages:"Sprachen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-Links",new_tag:"Neuer Tag",order_by:"Sortieren nach",order_direction_toggle:"Richtung umschalten",ordering:{files_count:"Dateienanzahl",info_hash:"Info-Hash",leechers:"Leechers",name:"Name",published_at:"Ver\xF6ffentlicht am",relevance:"Relevanz",seeders:"Seeders",size:"Gr\xF6\xDFe",updated_at:"Aktualisiert am"},original_release_date:"Originales Ver\xF6ffentlichungsdatum",permalink:"Permalink",poster:"Poster",published:"Ver\xF6ffentlicht",rating:"Bewertung",refresh:"Ergebnisse aktualisieren",reprocess:{force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",reprocess:"Erneut verarbeiten"},s_l:"S / L",search:"Suche",seeders:"Seeders",select_all:"Alle ausw\xE4hlen",showing_x_of_y_files:"{{x}} von {{y}} Dateien anzeigen",size:"Gr\xF6\xDFe",source:"Torrent-Quelle",summary:"Zusammenfassung",tags:{delete:"Tags l\xF6schen",delete_tip:"Tags aus den ausgew\xE4hlten Torrents entfernen",placeholder:"Tag...",put:"Tags setzen",put_tip:"Tags zu den ausgew\xE4hlten Torrents hinzuf\xFCgen",set:"Tags setzen",set_tip:"Tags der ausgew\xE4hlten Torrents ersetzen"},title:"Titel",toggle_drawer:"Schublade umschalten",votes_count_n:"{{count}} Stimmen"},version:{bitmagnet_version:"bitmagnet Version {{version}}",unknown:"unbekannt"}};var vt={content_types:{plural:{all:"All",audiobook:"Audiobooks",comic:"Comics",ebook:"E-Books",game:"Games",movie:"Movies",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Shows",xxx:"XXX"},singular:{audiobook:"Audiobook",comic:"Comic",ebook:"E-Book",game:"Game",movie:"Movie",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Show",xxx:"XXX"}},dashboard:{event:{created:"Created",failed:"Failed",processed:"Processed",updated:"Updated"},interval:{all:"All",days:"Days",days_1:"1 day",hours:"Hours",hours_1:"1 hour",hours_12:"12 hours",hours_6:"6 hours",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"Off",seconds_10:"10 seconds",seconds_30:"30 seconds",weeks_1:"1 week"},metrics:{event:"Event",resolution:"Resolution",throughput:"Throughput",timeframe:"Timeframe",toggle_legend:"Toggle legend"},queues:{created:"Created",created_at:"Created at",enqueue_jobs:"Enqueue jobs",enqueue_torrent_processing_batch:"Enqueue Torrent Processing Batch",failed:"Failed",jobs_enqueued:"Jobs enqueued",latency:"Latency",payload:"Payload",pending:"Pending",priority:"Priority",process_orphaned_torrents_only:"Process orphaned torrents only",processed:"Processed",purge_jobs:"Purge jobs",purge_queue_jobs:"Purge queue jobs",queue:"Queue",queue_purged:"Queue purged",queues:"Queues",ran_at:"Ran at",retry:"Retry",total_counts_by_status:"Total counts by status"}},facets:{content_type:"Content Type",file_type:"File Type",genre:"Genre",language:"Language",queue:"Queue",status:"Status",torrent_source:"Torrent Source",torrent_tag:"Torrent Tag",video_resolution:"Video Resolution",video_source:"Video Source"},file_types:{archive:"Archive",audio:"Audio",data:"Data",document:"Document",image:"Image",software:"Software",subtitles:"Subtitles",unknown:"Unknown",video:"Video"},general:{all:"All",dismiss:"Dismiss",error:"Error",none:"None",page_not_found:"Page not found",refresh:"Refresh",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Check failed with error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Dismiss",error:"Error",status:"Status",statuses:{degraded:"Degraded",down:"Down",error:"Error",inactive:"Inactive",started:"Started",unknown:"Pending",up:"Up"},summary:"Health summary",worker:"Worker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Queue server"}},languages:{af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bs:"Bosnian",ca:"Catalan",ce:"Chechen",co:"Corsican",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",hy:"Armenian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",ms:"Malay",mt:"Maltese",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sa:"Sanskrit",sk:"Slovak",sl:"Slovenian",sm:"Samoan",so:"Somali",sr:"Serbian",sv:"Swedish",ta:"Tamil",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",yi:"Yiddish",zh:"Chinese",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet on {{service}}",change_theme:"Change theme",external_links:"External links",sponsor:"Sponsor",support_bitmagnet:"Support bitmagnet",translate:"Translate"},paginator:{first_page:"First page",items_per_page:"Items per page",last_page:"Last page",next_page:"Next page",page_x:"Page {{x}}",previous_page:"Previous page",x_to_y:"{{x}} to {{y}}",x_to_y_of_z:"{{x}} to {{y}} of {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Home",jobs:"Jobs",queues:"Queues",torrents:"Torrents",visualize:"Visualize"},torrents:{classification:"Classification",clear_search:"Clear Search",copy:"Copy",copy_to_clipboard:"Copy to clipboard",delete:"Delete",delete_action_cannot_be_undone:"This action cannot be undone",delete_are_you_sure:"Are you sure you want to delete this torrent?",deselect_all:"Deselect All",download:"Download",download_confirm:"Are you sure you want to download the selected torrents?",edit_tags:"Edit tags",episodes:"Episodes",external_links:"External links",file_index:"File index",file_path:"File path",file_size:"File size",file_type:"File type",files:"Files",files_count_n:"{{count}} files",files_no_info:"No files information available",files_single:"Single file",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Languages",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet links",new_tag:"New tag",order_by:"Order by",order_direction_toggle:"Toggle direction",ordering:{files_count:"Files count",info_hash:"Info hash",leechers:"Leechers",name:"Name",published_at:"Published at",relevance:"Relevance",seeders:"Seeders",size:"Size",updated_at:"Updated at"},original_release_date:"Original release date",permalink:"Permalink",poster:"Poster",published:"Published",rating:"Rating",refresh:"Refresh results",reprocess:{force_rematch:"Force rematch of already matched content",match_content_by_external_api_search:"Match content by external API search",match_content_by_local_search:"Match content by local search",reprocess:"Reprocess"},s_l:"S / L",search:"Search",seeders:"Seeders",select_all:"Select All",showing_x_of_y_files:"Showing {{x}} of {{y}} files",size:"Size",source:"Torrent Source",summary:"Summary",tags:{delete:"Delete tags",delete_tip:"Remove tags from the selected torrents",placeholder:"Tag...",put:"Put tags",put_tip:"Add tags to the selected torrents",set:"Set tags",set_tip:"Replace tags of the selected torrents"},title:"Title",toggle_drawer:"Toggle Drawer",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"bitmagnet version {{version}}",unknown:"unknown"}};var kt={content_types:{plural:{all:"Todos",audiobook:"Audiolibros",comic:"C\xF3mics",ebook:"E-Libros",game:"Juegos",movie:"Pel\xEDculas",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolibro",comic:"C\xF3mic",ebook:"E-Libro",game:"Juego",movie:"Pel\xEDcula",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Creado",failed:"Fallido",processed:"Procesado",updated:"Actualizado"},interval:{all:"Todos",days:"D\xEDas",days_1:"1 d\xEDa",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Apagado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resoluci\xF3n",throughput:"Rendimiento",timeframe:"Periodo de tiempo",toggle_legend:"Alternar leyenda"},queues:{created:"Creado",created_at:"Creado en",enqueue_jobs:"Encolar trabajos",enqueue_torrent_processing_batch:"Encolar lote de procesamiento de torrents",failed:"Fallido",force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",jobs_enqueued:"Trabajos encolados",latency:"Latencia",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",payload:"Carga \xFAtil",pending:"Pendiente",priority:"Prioridad",process_orphaned_torrents_only:"Procesar solo torrents hu\xE9rfanos",processed:"Procesado",purge_jobs:"Purgar trabajos",purge_queue_jobs:"Purgar trabajos de la cola",queue:"Cola",queue_purged:"Cola purgada",queues:"Colas",ran_at:"Ejecutado en",retry:"Reintentar",total_counts_by_status:"Recuento total por estado"}},facets:{content_type:"Tipo de contenido",file_type:"Tipo de archivo",genre:"G\xE9nero",language:"Idioma",queue:"Cola",status:"Estado",torrent_source:"Fuente del torrent",torrent_tag:"Etiqueta del torrent",video_resolution:"Resoluci\xF3n de video",video_source:"Fuente de video"},file_types:{archive:"Archivo",audio:"Audio",data:"Datos",document:"Documento",image:"Imagen",software:"Software",subtitles:"Subt\xEDtulos",unknown:"Desconocido",video:"Video"},general:{all:"Todos",dismiss:"Descartar",error:"Error",none:"Ninguno",page_not_found:"P\xE1gina no encontrada",refresh:"Actualizar",status:"Estado"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"La verificaci\xF3n fall\xF3 con error",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Descartar",error:"Error",status:"Estado",statuses:{degraded:"Degradado",down:"Ca\xEDdo",error:"Error",inactive:"Inactivo",started:"Iniciado",unknown:"Pendiente",up:"Activo"},summary:"Resumen de salud",worker:"Trabajador",workers:{dht_crawler:"Rastreador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de colas"}},languages:{af:"Afrik\xE1ans",ar:"\xC1rabe",az:"Azerbaiyano",be:"Bielorruso",bg:"B\xFAlgaro",bs:"Bosnio",ca:"Catal\xE1n",ce:"Checheno",co:"Corso",cs:"Checo",cy:"Gal\xE9s",da:"Dan\xE9s",de:"Alem\xE1n",el:"Griego",en:"Ingl\xE9s",es:"Espa\xF1ol",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finland\xE9s",fr:"Franc\xE9s",he:"Hebreo",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Armenio",id:"Indonesio",is:"Island\xE9s",it:"Italiano",ja:"Japon\xE9s",ka:"Georgiano",ko:"Coreano",ku:"Kurdo",lt:"Lituano",lv:"Let\xF3n",mi:"Maor\xED",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",ms:"Malayo",mt:"Malt\xE9s",nl:"Neerland\xE9s",no:"Noruego",pl:"Polaco",pt:"Portugu\xE9s",ro:"Rumano",ru:"Ruso",sa:"S\xE1nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somal\xED",sr:"Serbio",sv:"Sueco",ta:"Tamil",th:"Tailand\xE9s",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"Yidis",zh:"Chino",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet en {{service}}",change_theme:"Cambiar tema",external_links:"Enlaces externos",sponsor:"Patrocinador",support_bitmagnet:"Apoyar bitmagnet",translate:"Traducir"},paginator:{first_page:"Primera p\xE1gina",items_per_page:"Elementos por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"P\xE1gina siguiente",page_x:"P\xE1gina {{x}}",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Admin",dashboard:"Tablero",home:"Inicio",jobs:"Trabajos",queues:"Colas",torrents:"Torrents",visualize:"Visualizar"},torrents:{classification:"Clasificaci\xF3n",clear_search:"Borrar b\xFAsqueda",copy:"Copiar",copy_to_clipboard:"Copiar al portapapeles",delete:"Eliminar",delete_action_cannot_be_undone:"Esta acci\xF3n no se puede deshacer",delete_are_you_sure:"\xBFEst\xE1 seguro de que desea eliminar este torrent?",deselect_all:"Deseleccionar todo",download:"Descargar",download_confirm:"\xBFEst\xE1s seguro de que deseas descargar los torrents seleccionados?",edit_tags:"Editar etiquetas",episodes:"Episodios",external_links:"Enlaces externos",file_index:"\xCDndice de archivos",file_path:"Ruta del archivo",file_size:"Tama\xF1o del archivo",file_type:"Tipo de archivo",files:"Archivos",files_count_n:"{{count}} archivos",files_no_info:"No hay informaci\xF3n de archivos disponible",files_single:"Archivo \xFAnico",genres:"G\xE9neros",info_hash:"Hash de informaci\xF3n",info_hashes:"Hashes de informaci\xF3n",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Enlaces Magnet",new_tag:"Nueva etiqueta",order_by:"Ordenar por",order_direction_toggle:"Alternar direcci\xF3n",ordering:{files_count:"Recuento de archivos",info_hash:"Hash de informaci\xF3n",leechers:"Leechers",name:"Nombre",published_at:"Publicado en",relevance:"Relevancia",seeders:"Seeders",size:"Tama\xF1o",updated_at:"Actualizado en"},original_release_date:"Fecha de lanzamiento original",permalink:"Enlace permanente",poster:"P\xF3ster",published:"Publicado",rating:"Calificaci\xF3n",refresh:"Actualizar resultados",reprocess:{force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",reprocess:"Volver a procesar"},s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Seleccionar todo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} archivos",size:"Tama\xF1o",source:"Fuente del torrent",summary:"Resumen",tags:{delete:"Eliminar etiquetas",delete_tip:"Eliminar etiquetas de los torrents seleccionados",placeholder:"Etiqueta...",put:"Poner etiquetas",put_tip:"A\xF1adir etiquetas a los torrents seleccionados",set:"Establecer etiquetas",set_tip:"Reemplazar etiquetas de los torrents seleccionados"},title:"T\xEDtulo",toggle_drawer:"Alternar caj\xF3n",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"versi\xF3n de bitmagnet {{version}}",unknown:"desconocido"}};var xt={content_types:{plural:{all:"Tous",audiobook:"Livres audio",comic:"Bandes dessin\xE9es",ebook:"E-livres",game:"Jeux",movie:"Films",music:"Musique",null:"Inconnu",software:"Logiciels",tv_show:"S\xE9ries TV",xxx:"XXX"},singular:{audiobook:"Livre audio",comic:"Bande dessin\xE9e",ebook:"E-livre",game:"Jeu",movie:"Film",music:"Musique",null:"Inconnu",software:"Logiciel",tv_show:"S\xE9rie TV",xxx:"XXX"}},dashboard:{event:{created:"Cr\xE9\xE9",failed:"\xC9chou\xE9",processed:"Trait\xE9",updated:"Mis \xE0 jour"},interval:{all:"Tous",days:"Jours",days_1:"1 jour",hours:"Heures",hours_1:"1 heure",hours_12:"12 heures",hours_6:"6 heures",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"D\xE9sactiv\xE9",seconds_10:"10 secondes",seconds_30:"30 secondes",weeks_1:"1 semaine"},metrics:{event:"\xC9v\xE9nement",resolution:"R\xE9solution",throughput:"D\xE9bit",timeframe:"P\xE9riode",toggle_legend:"Basculer la l\xE9gende"},queues:{created:"Cr\xE9\xE9",created_at:"Cr\xE9\xE9 \xE0",enqueue_jobs:"Mettre les taches en file d'attente",enqueue_torrent_processing_batch:"Mettre le traitement des torrents en file d'attente",failed:"\xC9chou\xE9",force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",jobs_enqueued:"T\xE2ches en attente",latency:"Latence",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",payload:"Charge utile",pending:"En attente",priority:"Priorit\xE9",process_orphaned_torrents_only:"Traiter uniquement les torrents orphelins",processed:"Trait\xE9",purge_jobs:"Purger les t\xE2ches",purge_queue_jobs:"Purger les t\xE2ches de la file d'attente",queue:"File d'attente",queue_purged:"File d'attente purg\xE9e",queues:"Files d'attente",ran_at:"Ex\xE9cut\xE9 \xE0",retry:"R\xE9essayer",total_counts_by_status:"Totaux par statut"}},facets:{content_type:"Type de contenu",file_type:"Type de fichier",genre:"Genre",language:"Langue",queue:"File d'attente",status:"Statut",torrent_source:"Source du torrent",torrent_tag:"Tag du torrent",video_resolution:"R\xE9solution vid\xE9o",video_source:"Source vid\xE9o"},file_types:{archive:"Archive",audio:"Audio",data:"Donn\xE9es",document:"Document",image:"Image",software:"Logiciel",subtitles:"Sous-titres",unknown:"Inconnu",video:"Vid\xE9o"},general:{all:"Tous",dismiss:"Fermer",error:"Erreur",none:"Aucun",page_not_found:"Page non trouv\xE9e",refresh:"Rafra\xEEchir",status:"Statut"},health:{bitmagnet_is_status:"bitmagnet est {{status}}",check_failed_with_error:"V\xE9rification \xE9chou\xE9e avec erreur",component:"Composant",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fermer",error:"Erreur",status:"Statut",statuses:{degraded:"D\xE9grad\xE9",down:"Hors ligne",error:"Erreur",inactive:"Inactif",started:"D\xE9marr\xE9",unknown:"En attente",up:"En ligne"},summary:"R\xE9sum\xE9 de la sant\xE9",worker:"Travailleur",workers:{dht_crawler:"Explorateur DHT",http_server:"Serveur HTTP",queue_server:"Serveur de file d'attente"}},languages:{af:"Afrikaans",ar:"Arabe",az:"Azerba\xEFdjanais",be:"Bi\xE9lorusse",bg:"Bulgare",bs:"Bosniaque",ca:"Catalan",ce:"Tch\xE9tch\xE8ne",co:"Corse",cs:"Tch\xE8que",cy:"Gallois",da:"Danois",de:"Allemand",el:"Grec",en:"Anglais",es:"Espagnol",et:"Estonien",eu:"Basque",fa:"Persan",fi:"Finnois",fr:"Fran\xE7ais",he:"H\xE9breu",hi:"Hindi",hr:"Croate",hu:"Hongrois",hy:"Arm\xE9nien",id:"Indon\xE9sien",is:"Islandais",it:"Italien",ja:"Japonais",ka:"G\xE9orgien",ko:"Cor\xE9en",ku:"Kurde",lt:"Lituanien",lv:"Letton",mi:"Maori",mk:"Mac\xE9donien",ml:"Malayalam",mn:"Mongol",ms:"Malais",mt:"Maltais",nl:"N\xE9erlandais",no:"Norv\xE9gien",pl:"Polonais",pt:"Portugais",ro:"Roumain",ru:"Russe",sa:"Sanskrit",sk:"Slovaque",sl:"Slov\xE8ne",sm:"Samoan",so:"Somali",sr:"Serbe",sv:"Su\xE9dois",ta:"Tamoul",th:"Tha\xEF",tr:"Turc",uk:"Ukrainien",vi:"Vietnamien",yi:"Yiddish",zh:"Chinois",zu:"Zoulou"},layout:{bitmagnet_on_service:"bitmagnet sur {{service}}",change_theme:"Changer de th\xE8me",external_links:"Liens externes",sponsor:"Sponsor",support_bitmagnet:"Soutenir bitmagnet",translate:"Traduire"},paginator:{first_page:"Premi\xE8re page",items_per_page:"Articles par page",last_page:"Derni\xE8re page",next_page:"Page suivante",page_x:"Page {{x}}",previous_page:"Page pr\xE9c\xE9dente",x_to_y:"{{x}} \xE0 {{y}}",x_to_y_of_z:"{{x}} \xE0 {{y}} sur {{z}}"},routes:{admin:"Admin",dashboard:"Tableau de bord",home:"Accueil",jobs:"T\xE2ches",queues:"Files d'attente",torrents:"Torrents",visualize:"Visualiser"},torrents:{classification:"Classification",clear_search:"Effacer la recherche",copy:"Copier",copy_to_clipboard:"Copier dans le presse-papiers",delete:"Supprimer",delete_action_cannot_be_undone:"Cette action ne peut pas \xEAtre annul\xE9e",delete_are_you_sure:"\xCAtes-vous s\xFBr de vouloir supprimer ce torrent?",deselect_all:"Tout d\xE9s\xE9lectionner",download:"T\xE9l\xE9charger",download_confirm:"\xCAtes-vous s\xFBr de vouloir t\xE9l\xE9charger les torrents s\xE9lectionn\xE9s ?",edit_tags:"Modifier les tags",episodes:"\xC9pisodes",external_links:"Liens externes",file_index:"Index de fichier",file_path:"Chemin de fichier",file_size:"Taille de fichier",file_type:"Type de fichier",files:"Fichiers",files_count_n:"{{count}} fichiers",files_no_info:"Aucune information sur les fichiers disponible",files_single:"Fichier unique",genres:"Genres",info_hash:"Hash d'info",info_hashes:"Hashes d'info",languages:"Langues",leechers:"Leechers",magnet:"Magnet",magnet_links:"Liens Magnet",new_tag:"Nouveau tag",order_by:"Trier par",order_direction_toggle:"Inverser le sens",ordering:{files_count:"Nombre de fichiers",info_hash:"Hash d'info",leechers:"Leechers",name:"Nom",published_at:"Publi\xE9 \xE0",relevance:"Pertinence",seeders:"Seeders",size:"Taille",updated_at:"Mis \xE0 jour \xE0"},original_release_date:"Date de sortie originale",permalink:"Permalien",poster:"Affiche",published:"Publi\xE9",rating:"\xC9valuation",refresh:"Rafra\xEEchir les r\xE9sultats",reprocess:{force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",reprocess:"Retraitement"},s_l:"S / L",search:"Rechercher",seeders:"Seeders",select_all:"Tout s\xE9lectionner",showing_x_of_y_files:"Affichage de {{x}} sur {{y}} fichiers",size:"Taille",source:"Source du torrent",summary:"R\xE9sum\xE9",tags:{delete:"Supprimer les tags",delete_tip:"Supprimer les tags des torrents s\xE9lectionn\xE9s",placeholder:"Tag...",put:"Mettre des tags",put_tip:"Ajouter des tags aux torrents s\xE9lectionn\xE9s",set:"D\xE9finir des tags",set_tip:"Remplacer les tags des torrents s\xE9lectionn\xE9s"},title:"Titre",toggle_drawer:"Basculer le tiroir",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"version bitmagnet {{version}}",unknown:"inconnu"}};var wt={content_types:{plural:{all:"\u0938\u092D\u0940",audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915\u094D\u0938",comic:"\u0915\u0949\u092E\u093F\u0915\u094D\u0938",ebook:"\u0908-\u092C\u0941\u0915\u094D\u0938",game:"\u0917\u0947\u092E\u094D\u0938",movie:"\u092B\u093C\u093F\u0932\u094D\u092E\u0947\u0902",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"},singular:{audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915",comic:"\u0915\u0949\u092E\u093F\u0915",ebook:"\u0908-\u092C\u0941\u0915",game:"\u0917\u0947\u092E",movie:"\u092B\u093C\u093F\u0932\u094D\u092E",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"}},dashboard:{event:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",failed:"\u0905\u0938\u092B\u0932",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",updated:"\u0905\u092A\u0921\u0947\u091F \u0915\u093F\u092F\u093E \u0917\u092F\u093E"},interval:{all:"\u0938\u092D\u0940",days:"\u0926\u093F\u0928",days_1:"1 \u0926\u093F\u0928",hours:"\u0918\u0902\u091F\u0947",hours_1:"1 \u0918\u0902\u091F\u093E",hours_12:"12 \u0918\u0902\u091F\u0947",hours_6:"6 \u0918\u0902\u091F\u0947",minutes:"\u092E\u093F\u0928\u091F",minutes_1:"1 \u092E\u093F\u0928\u091F",minutes_15:"15 \u092E\u093F\u0928\u091F",minutes_30:"30 \u092E\u093F\u0928\u091F",minutes_5:"5 \u092E\u093F\u0928\u091F",off:"\u092C\u0902\u0926",seconds_10:"10 \u0938\u0947\u0915\u0902\u0921",seconds_30:"30 \u0938\u0947\u0915\u0902\u0921",weeks_1:"1 \u0938\u092A\u094D\u0924\u093E\u0939"},metrics:{event:"\u0918\u091F\u0928\u093E",resolution:"\u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",throughput:"\u0925\u094D\u0930\u0942\u092A\u0941\u091F",timeframe:"\u0938\u092E\u092F \u0938\u0940\u092E\u093E",toggle_legend:"\u0932\u0940\u091C\u0947\u0902\u0921 \u091F\u0949\u0917\u0932 \u0915\u0930\u0947\u0902"},queues:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",created_at:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",enqueue_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",enqueue_torrent_processing_batch:"\u091F\u094B\u0930\u0947\u0902\u091F \u092A\u094D\u0930\u094B\u0938\u0947\u0938\u093F\u0902\u0917 \u092C\u0948\u091A \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",failed:"\u0905\u0938\u092B\u0932",force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",jobs_enqueued:"\u091C\u0949\u092C\u094D\u0938 \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u0908 \u0917\u0908\u0902",latency:"\u0932\u0947\u091F\u0947\u0902\u0938\u0940",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",payload:"\u092A\u0947\u0932\u094B\u0921",pending:"\u092C\u0915\u093E\u092F\u093E",priority:"\u092A\u094D\u0930\u093E\u0925\u092E\u093F\u0915\u0924\u093E",process_orphaned_torrents_only:"\u0915\u0947\u0935\u0932 \u0905\u0928\u093E\u0925 \u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938 \u0915\u094B \u092A\u094D\u0930\u094B\u0938\u0947\u0938 \u0915\u0930\u0947\u0902",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",purge_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",purge_queue_jobs:"\u0915\u0924\u093E\u0930 \u0915\u0947 \u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",queue:"\u0915\u0924\u093E\u0930",queue_purged:"\u0915\u0924\u093E\u0930 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u093F\u092F\u093E \u0917\u092F\u093E",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",ran_at:"\u091A\u0932\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",retry:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",total_counts_by_status:"\u0938\u094D\u0925\u093F\u0924\u093F \u0926\u094D\u0935\u093E\u0930\u093E \u0915\u0941\u0932 \u0917\u0923\u0928\u093E"}},facets:{content_type:"\u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u092A\u094D\u0930\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",genre:"\u0936\u0948\u0932\u0940",language:"\u092D\u093E\u0937\u093E",queue:"\u0915\u0924\u093E\u0930",status:"\u0938\u094D\u0925\u093F\u0924\u093F",torrent_source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",torrent_tag:"\u091F\u094B\u0930\u0947\u0902\u091F \u091F\u0948\u0917",video_resolution:"\u0935\u0940\u0921\u093F\u092F\u094B \u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",video_source:"\u0935\u0940\u0921\u093F\u092F\u094B \u0938\u094D\u0930\u094B\u0924"},file_types:{archive:"\u0906\u0930\u094D\u0915\u093E\u0907\u0935",audio:"\u0911\u0921\u093F\u092F\u094B",data:"\u0921\u0947\u091F\u093E",document:"\u0926\u0938\u094D\u0924\u093E\u0935\u0947\u091C\u093C",image:"\u091B\u0935\u093F",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",subtitles:"\u0909\u092A\u0936\u0940\u0930\u094D\u0937\u0915",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924",video:"\u0935\u0940\u0921\u093F\u092F\u094B"},general:{all:"\u0938\u092D\u0940",dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",none:"\u0915\u094B\u0908 \u0928\u0939\u0940\u0902",page_not_found:"\u092A\u0943\u0937\u094D\u0920 \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E",refresh:"\u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",status:"\u0938\u094D\u0925\u093F\u0924\u093F"},health:{bitmagnet_is_status:"bitmagnet {{status}} \u0939\u0948",check_failed_with_error:"\u0924\u094D\u0930\u0941\u091F\u093F \u0915\u0947 \u0938\u093E\u0925 \u091C\u093E\u0902\u091A \u0935\u093F\u092B\u0932",component:"\u0918\u091F\u0915",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",status:"\u0938\u094D\u0925\u093F\u0924\u093F",statuses:{degraded:"\u0915\u094D\u0937\u0940\u0923",down:"\u092C\u0902\u0926",error:"\u0924\u094D\u0930\u0941\u091F\u093F",inactive:"\u0928\u093F\u0937\u094D\u0915\u094D\u0930\u093F\u092F",started:"\u0936\u0941\u0930\u0942 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",unknown:"\u0932\u0902\u092C\u093F\u0924",up:"\u091A\u093E\u0932\u0942"},summary:"\u0938\u094D\u0935\u093E\u0938\u094D\u0925\u094D\u092F \u0938\u093E\u0930\u093E\u0902\u0936",worker:"\u0915\u093E\u0930\u094D\u092F\u0915\u0930\u094D\u0924\u093E",workers:{dht_crawler:"DHT \u0915\u094D\u0930\u0949\u0932\u0930",http_server:"HTTP \u0938\u0930\u094D\u0935\u0930",queue_server:"\u0915\u0924\u093E\u0930 \u0938\u0930\u094D\u0935\u0930"}},languages:{af:"\u0905\u092B\u094D\u0930\u0940\u0915\u0940",ar:"\u0905\u0930\u092C\u0940",az:"\u0905\u091C\u093C\u0947\u0930\u0940",be:"\u092C\u0947\u0932\u093E\u0930\u0942\u0938\u0940",bg:"\u092C\u0941\u0932\u094D\u0917\u093E\u0930\u093F\u092F\u093E\u0908",bs:"\u092C\u094B\u0938\u094D\u0928\u093F\u092F\u093E\u0908",ca:"\u0915\u0948\u091F\u0932\u0928",ce:"\u091A\u0947\u091A\u0947\u0928",co:"\u0915\u094B\u0930\u094D\u0938\u093F\u0915\u0928",cs:"\u091A\u0947\u0915",cy:"\u0935\u0947\u0932\u094D\u0936",da:"\u0921\u0947\u0928\u093F\u0936",de:"\u091C\u0930\u094D\u092E\u0928",el:"\u0917\u094D\u0930\u0940\u0915",en:"\u0905\u0902\u0917\u094D\u0930\u0947\u091C\u0940",es:"\u0938\u094D\u092A\u0948\u0928\u093F\u0936",et:"\u090F\u0938\u094D\u0924\u094B\u0928\u093F\u092F\u093E\u0908",eu:"\u092C\u093E\u0938\u094D\u0915",fa:"\u092B\u093E\u0930\u0938\u0940",fi:"\u092B\u093C\u093F\u0928\u093F\u0936",fr:"\u092B\u094D\u0930\u0947\u0902\u091A",he:"\u0939\u093F\u092C\u094D\u0930\u0942",hi:"\u0939\u093F\u0902\u0926\u0940",hr:"\u0915\u094D\u0930\u094B\u090F\u0936\u093F\u092F\u093E\u0908",hu:"\u0939\u0902\u0917\u0947\u0930\u093F\u092F\u0928",hy:"\u0906\u0930\u094D\u092E\u0947\u0928\u093F\u092F\u093E\u0908",id:"\u0907\u0902\u0921\u094B\u0928\u0947\u0936\u093F\u092F\u093E\u0908",is:"\u0906\u0907\u0938\u0932\u0948\u0902\u0921\u093F\u0915",it:"\u0907\u0924\u093E\u0932\u0935\u0940",ja:"\u091C\u093E\u092A\u093E\u0928\u0940",ka:"\u091C\u0949\u0930\u094D\u091C\u093F\u092F\u093E\u0908",ko:"\u0915\u094B\u0930\u093F\u092F\u093E\u0908",ku:"\u0915\u0941\u0930\u094D\u0926\u0940",lt:"\u0932\u093F\u0925\u0941\u0906\u0928\u093F\u092F\u093E\u0908",lv:"\u0932\u093E\u0924\u0935\u093F\u092F\u093E\u0908",mi:"\u092E\u093E\u0913\u0930\u0940",mk:"\u092E\u0948\u0938\u093F\u0921\u094B\u0928\u093F\u092F\u093E\u0908",ml:"\u092E\u0932\u092F\u093E\u0932\u092E",mn:"\u092E\u0902\u0917\u094B\u0932\u093F\u092F\u093E\u0908",ms:"\u092E\u0932\u092F",mt:"\u092E\u093E\u0932\u094D\u091F\u0940\u091C\u093C",nl:"\u0921\u091A",no:"\u0928\u0949\u0930\u094D\u0935\u0947\u091C\u093F\u092F\u0928",pl:"\u092A\u094B\u0932\u093F\u0936",pt:"\u092A\u0941\u0930\u094D\u0924\u0917\u093E\u0932\u0940",ro:"\u0930\u094B\u092E\u093E\u0928\u093F\u092F\u093E\u0908",ru:"\u0930\u0942\u0938\u0940",sa:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924",sk:"\u0938\u094D\u0932\u094B\u0935\u093E\u0915",sl:"\u0938\u094D\u0932\u094B\u0935\u0947\u0928\u093F\u092F\u093E\u0908",sm:"\u0938\u093E\u092E\u094B\u0928",so:"\u0938\u094B\u092E\u093E\u0932\u0940",sr:"\u0938\u0930\u094D\u092C\u093F\u092F\u093E\u0908",sv:"\u0938\u094D\u0935\u0940\u0921\u093F\u0936",ta:"\u0924\u092E\u093F\u0932",th:"\u0925\u093E\u0908",tr:"\u0924\u0941\u0930\u094D\u0915\u0940",uk:"\u092F\u0942\u0915\u094D\u0930\u0947\u0928\u0940",vi:"\u0935\u093F\u092F\u0924\u0928\u093E\u092E\u0940",yi:"\u092F\u093F\u0926\u094D\u0926\u093F\u0936",zh:"\u091A\u0940\u0928\u0940",zu:"\u091C\u093C\u0941\u0932\u0941"},layout:{bitmagnet_on_service:"{{service}} \u092A\u0930 bitmagnet",change_theme:"\u0925\u0940\u092E \u092C\u0926\u0932\u0947\u0902",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",sponsor:"\u092A\u094D\u0930\u093E\u092F\u094B\u091C\u0915",support_bitmagnet:"bitmagnet \u0915\u094B \u0938\u092E\u0930\u094D\u0925\u0928 \u0926\u0947\u0902",translate:"\u0905\u0928\u0941\u0935\u093E\u0926 \u0915\u0930\u0947\u0902"},paginator:{first_page:"\u092A\u0939\u0932\u093E \u092A\u0943\u0937\u094D\u0920",items_per_page:"\u092A\u094D\u0930\u0924\u093F \u092A\u0943\u0937\u094D\u0920 \u0906\u0907\u091F\u092E",last_page:"\u0905\u0902\u0924\u093F\u092E \u092A\u0943\u0937\u094D\u0920",next_page:"\u0905\u0917\u0932\u093E \u092A\u0943\u0937\u094D\u0920",page_x:"\u092A\u0943\u0937\u094D\u0920 {{x}}",previous_page:"\u092A\u093F\u091B\u0932\u093E \u092A\u0943\u0937\u094D\u0920",x_to_y:"{{x}} \u0938\u0947 {{y}} \u0924\u0915",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u0938\u0947 {{y}} \u0924\u0915 {{z}} \u092E\u0947\u0902"},routes:{admin:"\u092A\u094D\u0930\u0936\u093E\u0938\u0915",dashboard:"\u0921\u0948\u0936\u092C\u094B\u0930\u094D\u0921",home:"\u0939\u094B\u092E",jobs:"\u0928\u094C\u0915\u0930\u093F\u092F\u093E\u0902",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",torrents:"\u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938",visualize:"\u0926\u0943\u0936\u094D\u092F \u0915\u0930\u0947\u0902"},torrents:{classification:"\u0935\u0930\u094D\u0917\u0940\u0915\u0930\u0923",clear_search:"\u0916\u094B\u091C \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",copy:"\u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",copy_to_clipboard:"\u0915\u094D\u0932\u093F\u092A\u092C\u094B\u0930\u094D\u0921 \u092E\u0947\u0902 \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",delete:"\u0939\u091F\u093E\u090F\u0902",delete_action_cannot_be_undone:"\u092F\u0939 \u0915\u094D\u0930\u093F\u092F\u093E \u092A\u0942\u0930\u094D\u0935\u0935\u0924 \u0928\u0939\u0940\u0902 \u0915\u0940 \u091C\u093E \u0938\u0915\u0924\u0940",delete_are_you_sure:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u0907\u0938 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u094B \u0939\u091F\u093E\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",deselect_all:"\u0938\u092D\u0940 \u0915\u094B \u0905\u091A\u092F\u0928\u093F\u0924 \u0915\u0930\u0947\u0902",download:"\u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0947\u0902",download_confirm:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",edit_tags:"\u091F\u0948\u0917 \u0938\u0902\u092A\u093E\u0926\u093F\u0924 \u0915\u0930\u0947\u0902",episodes:"\u090F\u092A\u093F\u0938\u094B\u0921\u094D\u0938",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",file_index:"\u092B\u093C\u093E\u0907\u0932 \u0938\u0942\u091A\u0915\u093E\u0902\u0915",file_path:"\u092B\u093C\u093E\u0907\u0932 \u092A\u0925",file_size:"\u092B\u093C\u093E\u0907\u0932 \u0906\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",files:"\u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_count_n:"{{count}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_no_info:"\u0915\u094B\u0908 \u092B\u093C\u093E\u0907\u0932 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948",files_single:"\u090F\u0915\u0932 \u092B\u093C\u093E\u0907\u0932",genres:"\u0936\u0948\u0932\u093F\u092F\u093E\u0901",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",info_hashes:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936\u0947\u091C",languages:"\u092D\u093E\u0937\u093E\u090F\u0901",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",magnet:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F",magnet_links:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F \u0932\u093F\u0902\u0915",new_tag:"\u0928\u092F\u093E \u091F\u0948\u0917",order_by:"\u0915\u094D\u0930\u092E\u092C\u0926\u094D\u0927 \u0915\u0930\u0947\u0902",order_direction_toggle:"\u0926\u093F\u0936\u093E \u092C\u0926\u0932\u0947\u0902",ordering:{files_count:"\u092B\u093C\u093E\u0907\u0932\u094B\u0902 \u0915\u0940 \u0938\u0902\u0916\u094D\u092F\u093E",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",name:"\u0928\u093E\u092E",published_at:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924 \u0938\u092E\u092F",relevance:"\u092A\u094D\u0930\u093E\u0938\u0902\u0917\u093F\u0915\u0924\u093E",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",size:"\u0906\u0915\u093E\u0930",updated_at:"\u0905\u092A\u0921\u0947\u091F \u0938\u092E\u092F"},original_release_date:"\u092E\u0942\u0932 \u0930\u093F\u0932\u0940\u091C\u093C \u0924\u093F\u0925\u093F",permalink:"\u0938\u094D\u0925\u093E\u092F\u0940 \u0932\u093F\u0902\u0915",poster:"\u092A\u094B\u0938\u094D\u091F\u0930",published:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924",rating:"\u0930\u0947\u091F\u093F\u0902\u0917",refresh:"\u092A\u0930\u093F\u0923\u093E\u092E \u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",reprocess:{force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",reprocess:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u0915\u094D\u0930\u093F\u092F\u093E \u0915\u0930\u0947\u0902"},s_l:"S / L",search:"\u0916\u094B\u091C",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",select_all:"\u0938\u092D\u0940 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",showing_x_of_y_files:"{{x}} \u092E\u0947\u0902 \u0938\u0947 {{y}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902 \u0926\u093F\u0916\u093E \u0930\u0939\u093E \u0939\u0948",size:"\u0906\u0915\u093E\u0930",source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",summary:"\u0938\u093E\u0930\u093E\u0902\u0936",tags:{delete:"\u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",delete_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0938\u0947 \u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",placeholder:"\u091F\u0948\u0917...",put:"\u091F\u0948\u0917 \u0921\u093E\u0932\u0947\u0902",put_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u092E\u0947\u0902 \u091F\u0948\u0917 \u091C\u094B\u0921\u093C\u0947\u0902",set:"\u091F\u0948\u0917 \u0938\u0947\u091F \u0915\u0930\u0947\u0902",set_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u0947 \u091F\u0948\u0917 \u092C\u0926\u0932\u0947\u0902"},title:"\u0936\u0940\u0930\u094D\u0937\u0915",toggle_drawer:"\u0921\u094D\u0930\u0949\u0905\u0930 \u092C\u0926\u0932\u0947\u0902",votes_count_n:"{{count}} \u0935\u094B\u091F"},version:{bitmagnet_version:"bitmagnet \u0938\u0902\u0938\u094D\u0915\u0930\u0923 {{version}}",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924"}};var Tt={content_types:{plural:{all:"\u3059\u3079\u3066",audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",game:"\u30B2\u30FC\u30E0",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"},singular:{audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",game:"\u30B2\u30FC\u30E0",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"}},dashboard:{event:{created:"\u4F5C\u6210\u6E08\u307F",failed:"\u5931\u6557",processed:"\u51E6\u7406\u6E08\u307F",updated:"\u66F4\u65B0\u6E08\u307F"},interval:{all:"\u3059\u3079\u3066",days:"\u65E5",days_1:"1\u65E5",hours:"\u6642\u9593",hours_1:"1\u6642\u9593",hours_12:"12\u6642\u9593",hours_6:"6\u6642\u9593",minutes:"\u5206",minutes_1:"1\u5206",minutes_15:"15\u5206",minutes_30:"30\u5206",minutes_5:"5\u5206",off:"\u30AA\u30D5",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u9031\u9593"},metrics:{event:"\u30A4\u30D9\u30F3\u30C8",resolution:"\u89E3\u50CF\u5EA6",throughput:"\u30B9\u30EB\u30FC\u30D7\u30C3\u30C8",timeframe:"\u671F\u9593",toggle_legend:"\u51E1\u4F8B\u3092\u5207\u308A\u66FF\u3048"},queues:{created:"\u4F5C\u6210\u6E08\u307F",created_at:"\u4F5C\u6210\u65E5\u6642",enqueue_jobs:"\u30B8\u30E7\u30D6\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",enqueue_torrent_processing_batch:"\u30C8\u30EC\u30F3\u30C8\u51E6\u7406\u30D0\u30C3\u30C1\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",failed:"\u5931\u6557",force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",jobs_enqueued:"\u30AD\u30E5\u30FC\u306B\u8FFD\u52A0\u3055\u308C\u305F\u30B8\u30E7\u30D6",latency:"\u30EC\u30A4\u30C6\u30F3\u30B7",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",payload:"\u30DA\u30A4\u30ED\u30FC\u30C9",pending:"\u4FDD\u7559\u4E2D",priority:"\u512A\u5148\u9806\u4F4D",process_orphaned_torrents_only:"\u5B64\u7ACB\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u307F\u51E6\u7406\u3059\u308B",processed:"\u51E6\u7406\u6E08\u307F",purge_jobs:"\u30B8\u30E7\u30D6\u3092\u524A\u9664",purge_queue_jobs:"\u30AD\u30E5\u30FC\u5185\u306E\u30B8\u30E7\u30D6\u3092\u524A\u9664",queue:"\u30AD\u30E5\u30FC",queue_purged:"\u30AD\u30E5\u30FC\u304C\u30AF\u30EA\u30A2\u3055\u308C\u307E\u3057\u305F",queues:"\u30AD\u30E5\u30FC",ran_at:"\u5B9F\u884C\u6642\u523B",retry:"\u518D\u8A66\u884C",total_counts_by_status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3054\u3068\u306E\u7DCF\u6570"}},facets:{content_type:"\u30B3\u30F3\u30C6\u30F3\u30C4\u30BF\u30A4\u30D7",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",genre:"\u30B8\u30E3\u30F3\u30EB",language:"\u8A00\u8A9E",queue:"\u30AD\u30E5\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",torrent_source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",torrent_tag:"\u30C8\u30EC\u30F3\u30C8\u30BF\u30B0",video_resolution:"\u30D3\u30C7\u30AA\u89E3\u50CF\u5EA6",video_source:"\u30D3\u30C7\u30AA\u30BD\u30FC\u30B9"},file_types:{archive:"\u30A2\u30FC\u30AB\u30A4\u30D6",audio:"\u30AA\u30FC\u30C7\u30A3\u30AA",data:"\u30C7\u30FC\u30BF",document:"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8",image:"\u753B\u50CF",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",subtitles:"\u5B57\u5E55",unknown:"\u4E0D\u660E",video:"\u30D3\u30C7\u30AA"},general:{all:"\u3059\u3079\u3066",dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",none:"\u306A\u3057",page_not_found:"\u30DA\u30FC\u30B8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",refresh:"\u66F4\u65B0",status:"\u30B9\u30C6\u30FC\u30BF\u30B9"},health:{bitmagnet_is_status:"bitmagnet\u306F{{status}}\u3067\u3059",check_failed_with_error:"\u30A8\u30E9\u30FC\u3067\u30C1\u30A7\u30C3\u30AF\u306B\u5931\u6557\u3057\u307E\u3057\u305F",component:"\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",statuses:{degraded:"\u4F4E\u4E0B",down:"\u505C\u6B62",error:"\u30A8\u30E9\u30FC",inactive:"\u975E\u30A2\u30AF\u30C6\u30A3\u30D6",started:"\u958B\u59CB",unknown:"\u4FDD\u7559\u4E2D",up:"\u7A3C\u50CD\u4E2D"},summary:"\u5065\u5EB7\u72B6\u614B\u306E\u6982\u8981",worker:"\u30EF\u30FC\u30AB\u30FC",workers:{dht_crawler:"DHT\u30AF\u30ED\u30FC\u30E9\u30FC",http_server:"HTTP\u30B5\u30FC\u30D0\u30FC",queue_server:"\u30AD\u30E5\u30FC\u30B5\u30FC\u30D0\u30FC"}},languages:{af:"\u30A2\u30D5\u30EA\u30AB\u30FC\u30F3\u30B9\u8A9E",ar:"\u30A2\u30E9\u30D3\u30A2\u8A9E",az:"\u30A2\u30BC\u30EB\u30D0\u30A4\u30B8\u30E3\u30F3\u8A9E",be:"\u30D9\u30E9\u30EB\u30FC\u30B7\u8A9E",bg:"\u30D6\u30EB\u30AC\u30EA\u30A2\u8A9E",bs:"\u30DC\u30B9\u30CB\u30A2\u8A9E",ca:"\u30AB\u30BF\u30EB\u30FC\u30CB\u30E3\u8A9E",ce:"\u30C1\u30A7\u30C1\u30A7\u30F3\u8A9E",co:"\u30B3\u30EB\u30B7\u30AB\u8A9E",cs:"\u30C1\u30A7\u30B3\u8A9E",cy:"\u30A6\u30A7\u30FC\u30EB\u30BA\u8A9E",da:"\u30C7\u30F3\u30DE\u30FC\u30AF\u8A9E",de:"\u30C9\u30A4\u30C4\u8A9E",el:"\u30AE\u30EA\u30B7\u30E3\u8A9E",en:"\u82F1\u8A9E",es:"\u30B9\u30DA\u30A4\u30F3\u8A9E",et:"\u30A8\u30B9\u30C8\u30CB\u30A2\u8A9E",eu:"\u30D0\u30B9\u30AF\u8A9E",fa:"\u30DA\u30EB\u30B7\u30E3\u8A9E",fi:"\u30D5\u30A3\u30F3\u30E9\u30F3\u30C9\u8A9E",fr:"\u30D5\u30E9\u30F3\u30B9\u8A9E",he:"\u30D8\u30D6\u30E9\u30A4\u8A9E",hi:"\u30D2\u30F3\u30C7\u30A3\u30FC\u8A9E",hr:"\u30AF\u30ED\u30A2\u30C1\u30A2\u8A9E",hu:"\u30CF\u30F3\u30AC\u30EA\u30FC\u8A9E",hy:"\u30A2\u30EB\u30E1\u30CB\u30A2\u8A9E",id:"\u30A4\u30F3\u30C9\u30CD\u30B7\u30A2\u8A9E",is:"\u30A2\u30A4\u30B9\u30E9\u30F3\u30C9\u8A9E",it:"\u30A4\u30BF\u30EA\u30A2\u8A9E",ja:"\u65E5\u672C\u8A9E",ka:"\u30B0\u30EB\u30B8\u30A2\u8A9E",ko:"\u97D3\u56FD\u8A9E",ku:"\u30AF\u30EB\u30C9\u8A9E",lt:"\u30EA\u30C8\u30A2\u30CB\u30A2\u8A9E",lv:"\u30E9\u30C8\u30D3\u30A2\u8A9E",mi:"\u30DE\u30AA\u30EA\u8A9E",mk:"\u30DE\u30B1\u30C9\u30CB\u30A2\u8A9E",ml:"\u30DE\u30E9\u30E4\u30FC\u30E9\u30E0\u8A9E",mn:"\u30E2\u30F3\u30B4\u30EB\u8A9E",ms:"\u30DE\u30EC\u30FC\u8A9E",mt:"\u30DE\u30EB\u30BF\u8A9E",nl:"\u30AA\u30E9\u30F3\u30C0\u8A9E",no:"\u30CE\u30EB\u30A6\u30A7\u30FC\u8A9E",pl:"\u30DD\u30FC\u30E9\u30F3\u30C9\u8A9E",pt:"\u30DD\u30EB\u30C8\u30AC\u30EB\u8A9E",ro:"\u30EB\u30FC\u30DE\u30CB\u30A2\u8A9E",ru:"\u30ED\u30B7\u30A2\u8A9E",sa:"\u30B5\u30F3\u30B9\u30AF\u30EA\u30C3\u30C8",sk:"\u30B9\u30ED\u30D0\u30AD\u30A2\u8A9E",sl:"\u30B9\u30ED\u30D9\u30CB\u30A2\u8A9E",sm:"\u30B5\u30E2\u30A2\u8A9E",so:"\u30BD\u30DE\u30EA\u8A9E",sr:"\u30BB\u30EB\u30D3\u30A2\u8A9E",sv:"\u30B9\u30A6\u30A7\u30FC\u30C7\u30F3\u8A9E",ta:"\u30BF\u30DF\u30EB\u8A9E",th:"\u30BF\u30A4\u8A9E",tr:"\u30C8\u30EB\u30B3\u8A9E",uk:"\u30A6\u30AF\u30E9\u30A4\u30CA\u8A9E",vi:"\u30D9\u30C8\u30CA\u30E0\u8A9E",yi:"\u30A4\u30C7\u30A3\u30C3\u30B7\u30E5\u8A9E",zh:"\u4E2D\u56FD\u8A9E",zu:"\u30BA\u30FC\u30EB\u30FC\u8A9E"},layout:{bitmagnet_on_service:"{{service}}\u306Ebitmagnet",change_theme:"\u30C6\u30FC\u30DE\u3092\u5909\u66F4",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",sponsor:"\u30B9\u30DD\u30F3\u30B5\u30FC",support_bitmagnet:"bitmagnet\u3092\u30B5\u30DD\u30FC\u30C8",translate:"\u7FFB\u8A33\u3059\u308B"},paginator:{first_page:"\u6700\u521D\u306E\u30DA\u30FC\u30B8",items_per_page:"\u30DA\u30FC\u30B8\u3042\u305F\u308A\u306E\u9805\u76EE\u6570",last_page:"\u6700\u5F8C\u306E\u30DA\u30FC\u30B8",next_page:"\u6B21\u306E\u30DA\u30FC\u30B8",page_x:"\u30DA\u30FC\u30B8 {{x}}",previous_page:"\u524D\u306E\u30DA\u30FC\u30B8",x_to_y:"{{x}} \u304B\u3089 {{y}} \u307E\u3067",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u304B\u3089 {{y}} \u307E\u3067\u306E {{z}}"},routes:{admin:"\u7BA1\u7406\u8005",dashboard:"\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",home:"\u30DB\u30FC\u30E0",jobs:"\u30B8\u30E7\u30D6",queues:"\u30AD\u30E5\u30FC",torrents:"\u30C8\u30EC\u30F3\u30C8",visualize:"\u53EF\u8996\u5316"},torrents:{classification:"\u5206\u985E",clear_search:"\u691C\u7D22\u3092\u30AF\u30EA\u30A2",copy:"\u30B3\u30D4\u30FC",copy_to_clipboard:"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC",delete:"\u524A\u9664",delete_action_cannot_be_undone:"\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093",delete_are_you_sure:"\u3053\u306E\u30C8\u30EC\u30F3\u30C8\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",deselect_all:"\u3059\u3079\u3066\u306E\u9078\u629E\u3092\u89E3\u9664",download:"\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",download_confirm:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B?",edit_tags:"\u30BF\u30B0\u3092\u7DE8\u96C6",episodes:"\u30A8\u30D4\u30BD\u30FC\u30C9",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",file_index:"\u30D5\u30A1\u30A4\u30EB\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9",file_path:"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9",file_size:"\u30D5\u30A1\u30A4\u30EB\u30B5\u30A4\u30BA",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",files:"\u30D5\u30A1\u30A4\u30EB",files_count_n:"{{count}} \u4EF6\u306E\u30D5\u30A1\u30A4\u30EB",files_no_info:"\u30D5\u30A1\u30A4\u30EB\u60C5\u5831\u306F\u3042\u308A\u307E\u305B\u3093",files_single:"\u5358\u4E00\u30D5\u30A1\u30A4\u30EB",genres:"\u30B8\u30E3\u30F3\u30EB",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",info_hashes:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",languages:"\u8A00\u8A9E",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",magnet:"\u30DE\u30B0\u30CD\u30C3\u30C8",magnet_links:"\u30DE\u30B0\u30CD\u30C3\u30C8\u30EA\u30F3\u30AF",new_tag:"\u65B0\u3057\u3044\u30BF\u30B0",order_by:"\u4E26\u3073\u66FF\u3048",order_direction_toggle:"\u4E26\u3073\u9806\u3092\u5207\u308A\u66FF\u3048",ordering:{files_count:"\u30D5\u30A1\u30A4\u30EB\u6570",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",name:"\u540D\u524D",published_at:"\u516C\u958B\u65E5\u6642",relevance:"\u95A2\u9023\u6027",seeders:"\u30B7\u30FC\u30C0\u30FC",size:"\u30B5\u30A4\u30BA",updated_at:"\u66F4\u65B0\u65E5\u6642"},original_release_date:"\u30AA\u30EA\u30B8\u30CA\u30EB\u306E\u767A\u58F2\u65E5",permalink:"\u30D1\u30FC\u30DE\u30EA\u30F3\u30AF",poster:"\u30DD\u30B9\u30BF\u30FC",published:"\u516C\u958B\u6E08\u307F",rating:"\u8A55\u4FA1",refresh:"\u7D50\u679C\u3092\u66F4\u65B0",reprocess:{force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",reprocess:"\u518D\u51E6\u7406"},s_l:"S / L",search:"\u691C\u7D22",seeders:"\u30B7\u30FC\u30C0\u30FC",select_all:"\u3059\u3079\u3066\u9078\u629E",showing_x_of_y_files:"{{x}} \u4EF6\u4E2D {{y}} \u4EF6\u8868\u793A",size:"\u30B5\u30A4\u30BA",source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",summary:"\u6982\u8981",tags:{delete:"\u30BF\u30B0\u3092\u524A\u9664",delete_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u304B\u3089\u30BF\u30B0\u3092\u524A\u9664",placeholder:"\u30BF\u30B0...",put:"\u30BF\u30B0\u3092\u4ED8\u3051\u308B",put_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306B\u30BF\u30B0\u3092\u8FFD\u52A0\u3059\u308B",set:"\u30BF\u30B0\u3092\u8A2D\u5B9A\u3059\u308B",set_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u30BF\u30B0\u3092\u7F6E\u304D\u63DB\u3048\u308B"},title:"\u30BF\u30A4\u30C8\u30EB",toggle_drawer:"\u5F15\u304D\u51FA\u3057\u3092\u5207\u308A\u66FF\u3048",votes_count_n:"{{count}} \u7968"},version:{bitmagnet_version:"bitmagnet\u30D0\u30FC\u30B8\u30E7\u30F3 {{version}}",unknown:"\u4E0D\u660E"}};var St={content_types:{plural:{all:"Alle",audiobook:"Audioboeken",comic:"Strips",ebook:"E-Boeken",game:"Spellen",movie:"Films",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma's",xxx:"XXX"},singular:{audiobook:"Audioboek",comic:"Strip",ebook:"E-Book",game:"Spel",movie:"Film",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma",xxx:"XXX"}},dashboard:{event:{created:"Gemaakt",failed:"Mislukt",processed:"Verwerkt",updated:"Bijgewerkt"},interval:{all:"Alle",days:"Dagen",days_1:"1 dag",hours:"Uren",hours_1:"1 uur",hours_12:"12 uur",hours_6:"6 uur",minutes:"Minuten",minutes_1:"1 minuut",minutes_15:"15 minuten",minutes_30:"30 minuten",minutes_5:"5 minuten",off:"Uit",seconds_10:"10 seconden",seconds_30:"30 seconden",weeks_1:"1 week"},metrics:{event:"Gebeurtenis",resolution:"Resolutie",throughput:"Doorvoer",timeframe:"Tijdsperiode",toggle_legend:"Legenda in-/uitschakelen"},queues:{created:"Gemaakt",created_at:"Gemaakt op",enqueue_jobs:"Voeg taken toe aan wachtrij",enqueue_torrent_processing_batch:"Torrentverwerkingsbatch toevoegen",failed:"Mislukt",force_rematch:"Forceer nieuwe match van al gematchte inhoud",jobs_enqueued:"Taken in wachtrij gezet",latency:"Latentie",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",payload:"Inhoud",pending:"In afwachting",priority:"Prioriteit",process_orphaned_torrents_only:"Verwerk alleen verweesde torrents",processed:"Verwerkt",purge_jobs:"Wis taken",purge_queue_jobs:"Wis wachtrijtaken",queue:"Wachtrij",queue_purged:"Wachtrij gewist",queues:"Wachtrijen",ran_at:"Uitgevoerd op",retry:"Opnieuw proberen",total_counts_by_status:"Totaal aantal per status"}},facets:{content_type:"Inhoudstype",file_type:"Bestandstype",genre:"Genre",language:"Taal",queue:"Wachtrij",status:"Status",torrent_source:"Torrentbron",torrent_tag:"Torrenttag",video_resolution:"Videoresolutie",video_source:"Videobron"},file_types:{archive:"Archief",audio:"Audio",data:"Data",document:"Document",image:"Afbeelding",software:"Software",subtitles:"Ondertitels",unknown:"Onbekend",video:"Video"},general:{all:"Alle",dismiss:"Sluiten",error:"Fout",none:"Geen",page_not_found:"Pagina niet gevonden",refresh:"Verversen",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Controle mislukt met foutmelding",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Sluiten",error:"Fout",status:"Status",statuses:{degraded:"Verlaagd",down:"Niet beschikbaar",error:"Fout",inactive:"Inactief",started:"Gestart",unknown:"Onbekend",up:"Beschikbaar"},summary:"Gezondheidsrapport",worker:"Werker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Wachtrijserver"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Azerbeidzjaans",be:"Wit-Russisch",bg:"Bulgaars",bs:"Bosnisch",ca:"Catalaans",ce:"Tsjetsjeens",co:"Corsicaans",cs:"Tsjechisch",cy:"Welsh",da:"Deens",de:"Duits",el:"Grieks",en:"Engels",es:"Spaans",et:"Ests",eu:"Baskisch",fa:"Perzisch",fi:"Fins",fr:"Frans",he:"Hebreeuws",hi:"Hindi",hr:"Kroatisch",hu:"Hongaars",hy:"Armeens",id:"Indonesisch",is:"IJslands",it:"Italiaans",ja:"Japans",ka:"Georgisch",ko:"Koreaans",ku:"Koerdisch",lt:"Litouws",lv:"Lets",mi:"Maori",mk:"Macedonisch",ml:"Malayalam",mn:"Mongools",ms:"Maleis",mt:"Maltees",nl:"Nederlands",no:"Noors",pl:"Pools",pt:"Portugees",ro:"Roemeens",ru:"Russisch",sa:"Sanskriet",sk:"Slowaaks",sl:"Sloveens",sm:"Samoaans",so:"Somalisch",sr:"Servisch",sv:"Zweeds",ta:"Tamil",th:"Thais",tr:"Turks",uk:"Oekra\xEFens",vi:"Vietnamees",yi:"Jiddisch",zh:"Chinees",zu:"Zoeloe"},layout:{bitmagnet_on_service:"bitmagnet op {{service}}",change_theme:"Wijzig thema",external_links:"Externe links",sponsor:"Sponsor",support_bitmagnet:"Ondersteun bitmagnet",translate:"Vertalen"},paginator:{first_page:"Eerste pagina",items_per_page:"Items per pagina",last_page:"Laatste pagina",next_page:"Volgende pagina",page_x:"Pagina {{x}}",previous_page:"Vorige pagina",x_to_y:"{{x}} tot {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} tot {{y}} van {{z}}"},routes:{admin:"Beheerder",dashboard:"Dashboard",home:"Home",jobs:"Taken",queues:"Wachtrijen",torrents:"Torrents",visualize:"Visualiseren"},torrents:{classification:"Classificatie",clear_search:"Zoekopdracht wissen",copy:"Kopi\xEBren",copy_to_clipboard:"Kopi\xEBren naar klembord",delete:"Verwijderen",delete_action_cannot_be_undone:"Deze actie kan niet ongedaan worden gemaakt",delete_are_you_sure:"Weet u zeker dat u deze torrent wilt verwijderen?",deselect_all:"Deselecteer alles",download:"Downloaden",download_confirm:"Weet u zeker dat u de geselecteerde torrents wilt downloaden?",edit_tags:"Tags bewerken",episodes:"Afleveringen",external_links:"Externe links",file_index:"Bestandsindex",file_path:"Bestandspad",file_size:"Bestandsgrootte",file_type:"Bestandstype",files:"Bestanden",files_count_n:"{{count}} bestanden",files_no_info:"Geen informatie over bestanden beschikbaar",files_single:"Enkel bestand",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Talen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-links",new_tag:"Nieuwe tag",order_by:"Sorteren op",order_direction_toggle:"Richting omkeren",ordering:{files_count:"Aantal bestanden",info_hash:"Info hash",leechers:"Leechers",name:"Naam",published_at:"Gepubliceerd op",relevance:"Relevantie",seeders:"Seeders",size:"Grootte",updated_at:"Bijgewerkt op"},original_release_date:"Oorspronkelijke releasedatum",permalink:"Permalink",poster:"Poster",published:"Gepubliceerd",rating:"Beoordeling",refresh:"Vernieuw resultaten",reprocess:{force_rematch:"Forceer nieuwe match van al gematchte inhoud",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",reprocess:"Opnieuw verwerken"},s_l:"S / L",search:"Zoeken",seeders:"Seeders",select_all:"Alles selecteren",showing_x_of_y_files:"{{x}} van {{y}} bestanden weergegeven",size:"Grootte",source:"Torrentbron",summary:"Samenvatting",tags:{delete:"Tags verwijderen",delete_tip:"Tags verwijderen van de geselecteerde torrents",placeholder:"Tag...",put:"Tags plaatsen",put_tip:"Tags toevoegen aan de geselecteerde torrents",set:"Tags instellen",set_tip:"Tags van de geselecteerde torrents vervangen"},title:"Titel",toggle_drawer:"Zijpaneel in-/uitschakelen",votes_count_n:"{{count}} stemmen"},version:{bitmagnet_version:"bitmagnet versie {{version}}",unknown:"onbekend"}};var Ct={content_types:{plural:{all:"Todos",audiobook:"Audiolivros",comic:"Quadrinhos",ebook:"E-books",game:"Jogos",movie:"Filmes",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolivro",comic:"Quadrinho",ebook:"E-book",game:"Jogo",movie:"Filme",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Criado",failed:"Falhou",processed:"Processado",updated:"Atualizado"},interval:{all:"Todos",days:"Dias",days_1:"1 dia",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Desligado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resolu\xE7\xE3o",throughput:"Taxa de transfer\xEAncia",timeframe:"Intervalo de tempo",toggle_legend:"Alternar legenda"},queues:{created:"Criado",created_at:"Criado em",enqueue_jobs:"Enfileirar trabalhos",enqueue_torrent_processing_batch:"Enfileirar lote de processamento de torrents",failed:"Falhou",force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",jobs_enqueued:"Trabalhos enfileirados",latency:"Lat\xEAncia",match_content_by_external_api_search:"Correspond\xEAncia de conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Correspond\xEAncia de conte\xFAdo por pesquisa local",payload:"Carga \xFAtil",pending:"Pendente",priority:"Prioridade",process_orphaned_torrents_only:"Processar apenas torrents \xF3rf\xE3os",processed:"Processado",purge_jobs:"Limpar trabalhos",purge_queue_jobs:"Limpar trabalhos da fila",queue:"Fila",queue_purged:"Fila limpa",queues:"Filas",ran_at:"Executado em",retry:"Tentar novamente",total_counts_by_status:"Contagens totais por status"}},facets:{content_type:"Tipo de Conte\xFAdo",file_type:"Tipo de Arquivo",genre:"G\xEAnero",language:"Idioma",queue:"Fila",status:"Status",torrent_source:"Fonte do Torrent",torrent_tag:"Tag do Torrent",video_resolution:"Resolu\xE7\xE3o de V\xEDdeo",video_source:"Fonte de V\xEDdeo"},file_types:{archive:"Arquivo",audio:"\xC1udio",data:"Dados",document:"Documento",image:"Imagem",software:"Software",subtitles:"Legendas",unknown:"Desconhecido",video:"V\xEDdeo"},general:{all:"Todos",dismiss:"Fechar",error:"Erro",none:"Nenhum",page_not_found:"P\xE1gina n\xE3o encontrada",refresh:"Atualizar",status:"Status"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"Verifica\xE7\xE3o falhou com erro",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fechar",error:"Erro",status:"Status",statuses:{degraded:"Degradado",down:"Fora do ar",error:"Erro",inactive:"Inativo",started:"Iniciado",unknown:"Pendente",up:"Funcionando"},summary:"Resumo de Sa\xFAde",worker:"Trabalhador",workers:{dht_crawler:"Rastreamento DHT",http_server:"Servidor HTTP",queue_server:"Servidor de Fila"}},languages:{af:"Afric\xE2ner",ar:"\xC1rabe",az:"Azeri",be:"Bielorrusso",bg:"B\xFAlgaro",bs:"B\xF3snio",ca:"Catal\xE3o",ce:"Checheno",co:"Corso",cs:"Tcheco",cy:"Gal\xEAs",da:"Dinamarqu\xEAs",de:"Alem\xE3o",el:"Grego",en:"Ingl\xEAs",es:"Espanhol",et:"Estoniano",eu:"Basco",fa:"Persa",fi:"Finland\xEAs",fr:"Franc\xEAs",he:"Hebraico",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Arm\xEAnio",id:"Indon\xE9sio",is:"Island\xEAs",it:"Italiano",ja:"Japon\xEAs",ka:"Georgiano",ko:"Coreano",ku:"Curdo",lt:"Lituano",lv:"Let\xE3o",mi:"Maori",mk:"Maced\xF4nio",ml:"Malaiala",mn:"Mongol",ms:"Malaio",mt:"Malt\xEAs",nl:"Holand\xEAs",no:"Noruegu\xEAs",pl:"Polon\xEAs",pt:"Portugu\xEAs",ro:"Romeno",ru:"Russo",sa:"S\xE2nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somali",sr:"S\xE9rvio",sv:"Sueco",ta:"T\xE2mil",th:"Tailand\xEAs",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"I\xEDdiche",zh:"Chin\xEAs",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet em {{service}}",change_theme:"Alterar tema",external_links:"Links externos",sponsor:"Patrocinador",support_bitmagnet:"Apoiar bitmagnet",translate:"Traduzir"},paginator:{first_page:"Primeira p\xE1gina",items_per_page:"Itens por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"Pr\xF3xima p\xE1gina",page_x:"P\xE1gina {{x}}",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administra\xE7\xE3o",dashboard:"Painel",home:"In\xEDcio",jobs:"Tarefas",queues:"Filas",torrents:"Torrents",visualize:"Visualizar"},torrents:{classification:"Classifica\xE7\xE3o",clear_search:"Limpar Pesquisa",copy:"Copiar",copy_to_clipboard:"Copiar para a \xE1rea de transfer\xEAncia",delete:"Excluir",delete_action_cannot_be_undone:"Esta a\xE7\xE3o n\xE3o pode ser desfeita",delete_are_you_sure:"Tem certeza de que deseja excluir este torrent?",deselect_all:"Desmarcar todos",download:"Baixar",download_confirm:"Tem certeza de que deseja baixar os torrents selecionados?",edit_tags:"Editar tags",episodes:"Epis\xF3dios",external_links:"Links externos",file_index:"\xCDndice de arquivo",file_path:"Caminho do arquivo",file_size:"Tamanho do arquivo",file_type:"Tipo de arquivo",files:"Arquivos",files_count_n:"{{count}} arquivos",files_no_info:"Sem informa\xE7\xF5es de arquivos dispon\xEDveis",files_single:"Arquivo \xFAnico",genres:"G\xEAneros",info_hash:"Hash de informa\xE7\xE3o",info_hashes:"Hashes de informa\xE7\xE3o",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Links magnet",new_tag:"Nova tag",order_by:"Ordenar por",order_direction_toggle:"Inverter dire\xE7\xE3o",ordering:{files_count:"Contagem de arquivos",info_hash:"Hash de informa\xE7\xE3o",leechers:"Leechers",name:"Nome",published_at:"Publicado em",relevance:"Relev\xE2ncia",seeders:"Seeders",size:"Tamanho",updated_at:"Atualizado em"},original_release_date:"Data de lan\xE7amento original",permalink:"Link permanente",poster:"P\xF4ster",published:"Publicado",rating:"Classifica\xE7\xE3o",refresh:"Atualizar resultados",reprocess:{force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",match_content_by_external_api_search:"Corresponder conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Corresponder conte\xFAdo por pesquisa local",reprocess:"Reprocessar"},s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Selecionar tudo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} arquivos",size:"Tamanho",source:"Fonte do torrent",summary:"Resumo",tags:{delete:"Excluir tags",delete_tip:"Remover tags dos torrents selecionados",placeholder:"Tag...",put:"Colocar tags",put_tip:"Adicionar tags aos torrents selecionados",set:"Definir tags",set_tip:"Substituir tags dos torrents selecionados"},title:"T\xEDtulo",toggle_drawer:"Alternar gaveta",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"Vers\xE3o do bitmagnet {{version}}",unknown:"desconhecido"}};var Mt={content_types:{plural:{all:"\u0412\u0441\u0435",audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0438\u043A\u0441\u044B",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0435 \u043A\u043D\u0438\u0433\u0438",game:"\u0418\u0433\u0440\u044B",movie:"\u0424\u0438\u043B\u044C\u043C\u044B",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0438\u043A\u0441",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043A\u043D\u0438\u0433\u0430",game:"\u0418\u0433\u0440\u0430",movie:"\u0424\u0438\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",updated:"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0412\u0441\u0435",days:"\u0414\u043D\u0438",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0427\u0430\u0441\u044B",hours_1:"1 \u0447\u0430\u0441",hours_12:"12 \u0447\u0430\u0441\u043E\u0432",hours_6:"6 \u0447\u0430\u0441\u043E\u0432",minutes:"\u041C\u0438\u043D\u0443\u0442\u044B",minutes_1:"1 \u043C\u0438\u043D\u0443\u0442\u0430",minutes_15:"15 \u043C\u0438\u043D\u0443\u0442",minutes_30:"30 \u043C\u0438\u043D\u0443\u0442",minutes_5:"5 \u043C\u0438\u043D\u0443\u0442",off:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u043D\u0435\u0434\u0435\u043B\u044F"},metrics:{event:"\u0421\u043E\u0431\u044B\u0442\u0438\u0435",resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C",timeframe:"\u041F\u0435\u0440\u0438\u043E\u0434 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",toggle_legend:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043B\u0435\u0433\u0435\u043D\u0434\u0443"},queues:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",created_at:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E \u0432",enqueue_jobs:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",enqueue_torrent_processing_batch:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0430\u0440\u0442\u0438\u044E \u0434\u043B\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",jobs_enqueued:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",latency:"\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",payload:"\u0414\u0430\u043D\u043D\u044B\u0435",pending:"\u0412 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0438",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \xAB\u043E\u0441\u0438\u0440\u043E\u0442\u0435\u0432\u0448\u0438\u0435\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u043E\u0447\u0435\u0440\u0435\u0434\u0438",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",queue_purged:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",ran_at:"\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0432",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",total_counts_by_status:"\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",genre:"\u0416\u0430\u043D\u0440",language:"\u042F\u0437\u044B\u043A",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0432\u0438\u0434\u0435\u043E",video_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0432\u0438\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0438\u0432",audio:"\u0410\u0443\u0434\u0438\u043E",data:"\u0414\u0430\u043D\u043D\u044B\u0435",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",video:"\u0412\u0438\u0434\u0435\u043E"},general:{all:"\u0412\u0441\u0435",dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",none:"\u041D\u0435\u0442",page_not_found:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0421\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",down:"\u041D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",error:"\u041E\u0448\u0438\u0431\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u0435\u043D",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",up:"\u0420\u0430\u0431\u043E\u0442\u0430\u0435\u0442"},summary:"\u0421\u0432\u043E\u0434\u043A\u0430 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F",worker:"\u0420\u0430\u0431\u043E\u0447\u0438\u0439",workers:{dht_crawler:"DHT \u043E\u0431\u0445\u043E\u0434\u0447\u0438\u043A",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u043E\u0447\u0435\u0440\u0435\u0434\u0435\u0439"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u043A\u0438\u0439",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u043A\u0438\u0439",be:"\u0411\u0435\u043B\u043E\u0440\u0443\u0441\u0441\u043A\u0438\u0439",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u043A\u0438\u0439",bs:"\u0411\u043E\u0441\u043D\u0438\u0439\u0441\u043A\u0438\u0439",ca:"\u041A\u0430\u0442\u0430\u043B\u0430\u043D\u0441\u043A\u0438\u0439",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u043A\u0438\u0439",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u043A\u0438\u0439",cs:"\u0427\u0435\u0448\u0441\u043A\u0438\u0439",cy:"\u0412\u0430\u043B\u043B\u0438\u0439\u0441\u043A\u0438\u0439",da:"\u0414\u0430\u0442\u0441\u043A\u0438\u0439",de:"\u041D\u0435\u043C\u0435\u0446\u043A\u0438\u0439",el:"\u0413\u0440\u0435\u0447\u0435\u0441\u043A\u0438\u0439",en:"\u0410\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u0438\u0439",es:"\u0418\u0441\u043F\u0430\u043D\u0441\u043A\u0438\u0439",et:"\u042D\u0441\u0442\u043E\u043D\u0441\u043A\u0438\u0439",eu:"\u0411\u0430\u0441\u043A\u0441\u043A\u0438\u0439",fa:"\u041F\u0435\u0440\u0441\u0438\u0434\u0441\u043A\u0438\u0439",fi:"\u0424\u0438\u043D\u0441\u043A\u0438\u0439",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u0441\u043A\u0438\u0439",he:"\u0418\u0432\u0440\u0438\u0442",hi:"\u0425\u0438\u043D\u0434\u0438",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u043A\u0438\u0439",hu:"\u0412\u0435\u043D\u0433\u0435\u0440\u0441\u043A\u0438\u0439",hy:"\u0410\u0440\u043C\u044F\u043D\u0441\u043A\u0438\u0439",id:"\u0418\u043D\u0434\u043E\u043D\u0435\u0437\u0438\u0439\u0441\u043A\u0438\u0439",is:"\u0418\u0441\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",it:"\u0418\u0442\u0430\u043B\u044C\u044F\u043D\u0441\u043A\u0438\u0439",ja:"\u042F\u043F\u043E\u043D\u0441\u043A\u0438\u0439",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u043A\u0438\u0439",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u043A\u0438\u0439",ku:"\u041A\u0443\u0440\u0434\u0441\u043A\u0438\u0439",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u043A\u0438\u0439",lv:"\u041B\u0430\u0442\u044B\u0448\u0441\u043A\u0438\u0439",mi:"\u041C\u0430\u043E\u0440\u0438",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438\u0439",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u043A\u0438\u0439",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u043A\u0438\u0439",mt:"\u041C\u0430\u043B\u044C\u0442\u0438\u0439\u0441\u043A\u0438\u0439",nl:"\u041D\u0438\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",no:"\u041D\u043E\u0440\u0432\u0435\u0436\u0441\u043A\u0438\u0439",pl:"\u041F\u043E\u043B\u044C\u0441\u043A\u0438\u0439",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u043A\u0438\u0439",ro:"\u0420\u0443\u043C\u044B\u043D\u0441\u043A\u0438\u0439",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u043A\u0438\u0439",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u043A\u0438\u0439",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u043A\u0438\u0439",so:"\u0421\u043E\u043C\u0430\u043B\u0438\u0439\u0441\u043A\u0438\u0439",sr:"\u0421\u0435\u0440\u0431\u0441\u043A\u0438\u0439",sv:"\u0428\u0432\u0435\u0434\u0441\u043A\u0438\u0439",ta:"\u0422\u0430\u043C\u0438\u043B\u044C\u0441\u043A\u0438\u0439",th:"\u0422\u0430\u0439\u0441\u043A\u0438\u0439",tr:"\u0422\u0443\u0440\u0435\u0446\u043A\u0438\u0439",uk:"\u0423\u043A\u0440\u0430\u0438\u043D\u0441\u043A\u0438\u0439",vi:"\u0412\u044C\u0435\u0442\u043D\u0430\u043C\u0441\u043A\u0438\u0439",yi:"\u0418\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u043A\u0438\u0439",zu:"\u0417\u0443\u043B\u0443\u0441\u0441\u043A\u0438\u0439"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u043C\u0443",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044C bitmagnet",translate:"\u041F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0432\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",items_per_page:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",last_page:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",next_page:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",page_x:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 {{x}}",previous_page:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0438\u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F",home:"\u0413\u043B\u0430\u0432\u043D\u0430\u044F",jobs:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u044B",visualize:"\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F"},torrents:{classification:"\u041A\u043B\u0430\u0441\u0441\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A",copy:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",copy_to_clipboard:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",delete_action_cannot_be_undone:"\u042D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",delete_are_you_sure:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0421\u043D\u044F\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435",download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C",download_confirm:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B?",edit_tags:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u0433\u0438",episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",file_index:"\u0418\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0430",file_path:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",files:"\u0424\u0430\u0439\u043B\u044B",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u043E\u0432",files_no_info:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0444\u0430\u0439\u043B\u0430\u0445 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u044B",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",info_hashes:"\u0425\u044D\u0448\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",languages:"\u042F\u0437\u044B\u043A\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442 \u0441\u0441\u044B\u043B\u043A\u0438",new_tag:"\u041D\u043E\u0432\u044B\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E",order_direction_toggle:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",ordering:{files_count:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0444\u0430\u0439\u043B\u043E\u0432",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",name:"\u0418\u043C\u044F",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u044C",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",size:"\u0420\u0430\u0437\u043C\u0435\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F"},original_release_date:"\u041E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u0432\u044B\u043F\u0443\u0441\u043A\u0430",permalink:"\u041F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u0430\u044F \u0441\u0441\u044B\u043B\u043A\u0430",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B",reprocess:{force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",reprocess:"\u041F\u0435\u0440\u0435\u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C"},s_l:"S / L",search:"\u041F\u043E\u0438\u0441\u043A",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",select_all:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0438\u0437 {{y}} \u0444\u0430\u0439\u043B\u043E\u0432",size:"\u0420\u0430\u0437\u043C\u0435\u0440",source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0421\u0432\u043E\u0434\u043A\u0430",tags:{delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438",delete_tip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0438\u0437 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",placeholder:"\u0422\u0435\u0433...",put:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u043A \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430\u043C",set:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432"},title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",toggle_drawer:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u043E\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0438\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}};var zt={content_types:{plural:{all:"T\xFCm\xFC",audiobook:"Sesli Kitaplar",comic:"\xC7izgi Romanlar",ebook:"E-Kitaplar",game:"Oyunlar",movie:"Filmler",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Programlar\u0131",xxx:"XXX"},singular:{audiobook:"Sesli Kitap",comic:"\xC7izgi Roman",ebook:"E-Kitap",game:"Oyun",movie:"Film",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Program\u0131",xxx:"XXX"}},dashboard:{event:{created:"Olu\u015Fturuldu",failed:"Ba\u015Far\u0131s\u0131z",processed:"\u0130\u015Flendi",updated:"G\xFCncellendi"},interval:{all:"T\xFCm\xFC",days:"G\xFCnler",days_1:"1 g\xFCn",hours:"Saatler",hours_1:"1 saat",hours_12:"12 saat",hours_6:"6 saat",minutes:"Dakikalar",minutes_1:"1 dakika",minutes_15:"15 dakika",minutes_30:"30 dakika",minutes_5:"5 dakika",off:"Kapal\u0131",seconds_10:"10 saniye",seconds_30:"30 saniye",weeks_1:"1 hafta"},metrics:{event:"Olay",resolution:"\xC7\xF6z\xFCn\xFCrl\xFCk",throughput:"Verim",timeframe:"Zaman Dilimi",toggle_legend:"Efsaneyi De\u011Fi\u015Ftir"},queues:{created:"Olu\u015Fturuldu",created_at:"Olu\u015Fturulma tarihi",enqueue_jobs:"\u0130\u015Fleri Kuyru\u011Fa Al",enqueue_torrent_processing_batch:"Torrent \u0130\u015Fleme Paketini Kuyru\u011Fa Al",failed:"Ba\u015Far\u0131s\u0131z",force_rematch:"E\u015Fle\u015Fmi\u015F i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",jobs_enqueued:"Kuyru\u011Fa Al\u0131nan \u0130\u015Fler",latency:"Gecikme",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",payload:"Veri Y\xFCk\xFC",pending:"Beklemede",priority:"\xD6ncelik",process_orphaned_torrents_only:"Sadece sahipsiz torrentleri i\u015Fle",processed:"\u0130\u015Flendi",purge_jobs:"\u0130\u015Fleri Temizle",purge_queue_jobs:"Kuyruk \u0130\u015Flerini Temizle",queue:"Kuyruk",queue_purged:"Kuyruk Temizlendi",queues:"Kuyruklar",ran_at:"\xC7al\u0131\u015Ft\u0131r\u0131ld\u0131",retry:"Tekrar Dene",total_counts_by_status:"Duruma G\xF6re Toplam Say\u0131lar"}},facets:{content_type:"\u0130\xE7erik T\xFCr\xFC",file_type:"Dosya T\xFCr\xFC",genre:"T\xFCr",language:"Dil",queue:"Kuyruk",status:"Durum",torrent_source:"Torrent Kayna\u011F\u0131",torrent_tag:"Torrent Etiketi",video_resolution:"Video \xC7\xF6z\xFCn\xFCrl\xFC\u011F\xFC",video_source:"Video Kayna\u011F\u0131"},file_types:{archive:"Ar\u015Fiv",audio:"Ses",data:"Veri",document:"Belge",image:"G\xF6r\xFCnt\xFC",software:"Yaz\u0131l\u0131m",subtitles:"Altyaz\u0131lar",unknown:"Bilinmiyor",video:"Video"},general:{all:"T\xFCm\xFC",dismiss:"Kapat",error:"Hata",none:"Hi\xE7biri",page_not_found:"Sayfa Bulunamad\u0131",refresh:"Yenile",status:"Durum"},health:{bitmagnet_is_status:"bitmagnet durumu {{status}}",check_failed_with_error:"Hata ile kontrol ba\u015Far\u0131s\u0131z oldu",component:"Bile\u015Fen",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Kapat",error:"Hata",status:"Durum",statuses:{degraded:"Azalm\u0131\u015F",down:"Kapal\u0131",error:"Hata",inactive:"Etkin de\u011Fil",started:"Ba\u015Flad\u0131",unknown:"Bilinmiyor",up:"\xC7al\u0131\u015F\u0131yor"},summary:"Sa\u011Fl\u0131k \xD6zeti",worker:"\u0130\u015F\xE7i",workers:{dht_crawler:"DHT taray\u0131c\u0131",http_server:"HTTP sunucusu",queue_server:"Kuyruk sunucusu"}},languages:{af:"Afrikanca",ar:"Arap\xE7a",az:"Azerice",be:"Beyaz Rus\xE7a",bg:"Bulgarca",bs:"Bo\u015Fnak\xE7a",ca:"Katalanca",ce:"\xC7e\xE7ence",co:"Korsikaca",cs:"\xC7ek\xE7e",cy:"Galce",da:"Danca",de:"Almanca",el:"Yunanca",en:"\u0130ngilizce",es:"\u0130spanyolca",et:"Estonca",eu:"Bask\xE7a",fa:"Fars\xE7a",fi:"Fince",fr:"Frans\u0131zca",he:"\u0130branice",hi:"Hint\xE7e",hr:"H\u0131rvat\xE7a",hu:"Macarca",hy:"Ermenice",id:"Endonezce",is:"\u0130zlandaca",it:"\u0130talyanca",ja:"Japonca",ka:"G\xFCrc\xFCce",ko:"Korece",ku:"K\xFCrt\xE7e",lt:"Litvanca",lv:"Letonca",mi:"Maorice",mk:"Makedonca",ml:"Malayalamca",mn:"Mo\u011Folca",ms:"Malayca",mt:"Maltaca",nl:"Flemenk\xE7e",no:"Norve\xE7\xE7e",pl:"Leh\xE7e",pt:"Portekizce",ro:"Romence",ru:"Rus\xE7a",sa:"Sanskrit\xE7e",sk:"Slovak\xE7a",sl:"Slovence",sm:"Samoaca",so:"Somalice",sr:"S\u0131rp\xE7a",sv:"\u0130sve\xE7\xE7e",ta:"Tamilce",th:"Tayca",tr:"T\xFCrk\xE7e",uk:"Ukraynaca",vi:"Vietnamca",yi:"Yidi\u015F",zh:"\xC7ince",zu:"Zuluca"},layout:{bitmagnet_on_service:"{{service}} \xFCzerinde bitmagnet",change_theme:"Temay\u0131 De\u011Fi\u015Ftir",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",sponsor:"Sponsor",support_bitmagnet:"bitmagnet'i Destekle",translate:"\xC7evir"},paginator:{first_page:"\u0130lk Sayfa",items_per_page:"Sayfa ba\u015F\u0131na \xF6\u011Fe",last_page:"Son Sayfa",next_page:"Sonraki Sayfa",page_x:"{{x}}. Sayfa",previous_page:"\xD6nceki Sayfa",x_to_y:"{{x}} - {{y}} aras\u0131",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} ile {{y}} aras\u0131, toplam {{z}}"},routes:{admin:"Y\xF6netici",dashboard:"Kontrol Paneli",home:"Ana Sayfa",jobs:"G\xF6revler",queues:"Kuyruklar",torrents:"Torrentler",visualize:"G\xF6rselle\u015Ftir"},torrents:{classification:"S\u0131n\u0131fland\u0131rma",clear_search:"Aramay\u0131 Temizle",copy:"Kopyala",copy_to_clipboard:"Panoya Kopyala",delete:"Sil",delete_action_cannot_be_undone:"Bu i\u015Flem geri al\u0131namaz",delete_are_you_sure:"Bu torrent'i silmek istedi\u011Finizden emin misiniz?",deselect_all:"T\xFCm Se\xE7imleri Kald\u0131r",download:"\u0130ndir",download_confirm:"Se\xE7ilen torrentleri indirmek istedi\u011Finizden emin misiniz?",edit_tags:"Etiketleri D\xFCzenle",episodes:"B\xF6l\xFCmler",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",file_index:"Dosya Dizini",file_path:"Dosya Yolu",file_size:"Dosya Boyutu",file_type:"Dosya T\xFCr\xFC",files:"Dosyalar",files_count_n:"{{count}} dosya",files_no_info:"Dosya bilgisi mevcut de\u011Fil",files_single:"Tek dosya",genres:"T\xFCrler",info_hash:"Bilgi hash'i",info_hashes:"Bilgi hash'leri",languages:"Diller",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet Ba\u011Flant\u0131lar",new_tag:"Yeni etiket",order_by:"S\u0131ralama \xF6l\xE7\xFCt\xFC",order_direction_toggle:"Y\xF6n\xFC de\u011Fi\u015Ftir",ordering:{files_count:"Dosya say\u0131s\u0131",info_hash:"Bilgi hash'i",leechers:"Leechers",name:"Ad",published_at:"Yay\u0131nlanma tarihi",relevance:"Alaka d\xFCzeyi",seeders:"Seeders",size:"Boyut",updated_at:"G\xFCncellenme tarihi"},original_release_date:"Orijinal \xE7\u0131k\u0131\u015F tarihi",permalink:"Kal\u0131c\u0131 Ba\u011Flant\u0131",poster:"Poster",published:"Yay\u0131nland\u0131",rating:"Puan",refresh:"Sonu\xE7lar\u0131 Yenile",reprocess:{force_rematch:"Zaten e\u015Fle\u015Fen i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",reprocess:"Yeniden i\u015Fle"},s_l:"S / L",search:"Ara",seeders:"Seeders",select_all:"T\xFCm\xFCn\xFC Se\xE7",showing_x_of_y_files:"{{y}} dosyan\u0131n {{x}} tanesi g\xF6steriliyor",size:"Boyut",source:"Torrent Kayna\u011F\u0131",summary:"\xD6zet",tags:{delete:"Etiketleri sil",delete_tip:"Se\xE7ili torrentlerden etiketleri kald\u0131r",placeholder:"Etiket...",put:"Etiket koy",put_tip:"Se\xE7ili torrentlere etiket ekle",set:"Etiketleri ayarla",set_tip:"Se\xE7ili torrentlerin etiketlerini de\u011Fi\u015Ftir"},title:"Ba\u015Fl\u0131k",toggle_drawer:"\xC7ekmeceyi A\xE7/Kapat",votes_count_n:"{{count}} oy"},version:{bitmagnet_version:"bitmagnet versiyonu {{version}}",unknown:"bilinmiyor"}};var At={content_types:{plural:{all:"\u0423\u0441\u0456",audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0456\u043A\u0441\u0438",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0456 \u043A\u043D\u0438\u0433\u0438",game:"\u0406\u0433\u0440\u0438",movie:"\u0424\u0456\u043B\u044C\u043C\u0438",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0456\u043A\u0441",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043A\u043D\u0438\u0433\u0430",game:"\u0413\u0440\u0430",movie:"\u0424\u0456\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",updated:"\u041E\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0423\u0441\u0456",days:"\u0414\u043D\u0456",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0413\u043E\u0434\u0438\u043D\u0438",hours_1:"1 \u0433\u043E\u0434\u0438\u043D\u0430",hours_12:"12 \u0433\u043E\u0434\u0438\u043D",hours_6:"6 \u0433\u043E\u0434\u0438\u043D",minutes:"\u0425\u0432\u0438\u043B\u0438\u043D\u0438",minutes_1:"1 \u0445\u0432\u0438\u043B\u0438\u043D\u0430",minutes_15:"15 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_30:"30 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_5:"5 \u0445\u0432\u0438\u043B\u0438\u043D",off:"\u0412\u0438\u043C\u043A\u043D\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u0442\u0438\u0436\u0434\u0435\u043D\u044C"},metrics:{event:"\u041F\u043E\u0434\u0456\u044F",resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",timeframe:"\u041F\u0440\u043E\u043C\u0456\u0436\u043E\u043A \u0447\u0430\u0441\u0443",toggle_legend:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043B\u0435\u0433\u0435\u043D\u0434\u0443"},queues:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",created_at:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E \u043E",enqueue_jobs:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E \u0447\u0435\u0440\u0433\u0438",enqueue_torrent_processing_batch:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043F\u0430\u043A\u0435\u0442 \u0434\u043B\u044F \u043E\u0431\u0440\u043E\u0431\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",jobs_enqueued:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E\u0434\u0430\u043D\u043E \u0432 \u0447\u0435\u0440\u0433\u0443",latency:"\u0417\u0430\u0442\u0440\u0438\u043C\u043A\u0430",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",payload:"\u0414\u0430\u043D\u0456",pending:"\u0412 \u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u043D\u0456",priority:"\u041F\u0440\u0456\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u043E\u0431\u043B\u044F\u0442\u0438 \u043B\u0438\u0448\u0435 \xAB\u0441\u0438\u0440\u043E\u0442\u043B\u0438\u0432\u0456\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0447\u0435\u0440\u0433\u0438",queue:"\u0427\u0435\u0440\u0433\u0430",queue_purged:"\u0427\u0435\u0440\u0433\u0430 \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u0427\u0435\u0440\u0433\u0438",ran_at:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E \u043E",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438",total_counts_by_status:"\u0417\u0430\u0433\u0430\u043B\u044C\u043D\u0430 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0437\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C\u0438"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",genre:"\u0416\u0430\u043D\u0440",language:"\u041C\u043E\u0432\u0430",queue:"\u0427\u0435\u0440\u0433\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C \u0432\u0456\u0434\u0435\u043E",video_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0432\u0456\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0456\u0432",audio:"\u0410\u0443\u0434\u0456\u043E",data:"\u0414\u0430\u043D\u0456",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u0438",unknown:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",video:"\u0412\u0456\u0434\u0435\u043E"},general:{all:"\u0423\u0441\u0456",dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",none:"\u041D\u0435\u043C\u0430\u0454",page_not_found:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u043E\u044E",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0417\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u0456\u0441\u0442\u044C",down:"\u041D\u0435 \u043F\u0440\u0430\u0446\u044E\u0454",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u0438\u0439",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F",up:"\u041F\u0440\u0430\u0446\u044E\u0454"},summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F \u0441\u0442\u0430\u043D\u0443",worker:"\u041F\u0440\u0430\u0446\u0456\u0432\u043D\u0438\u043A",workers:{dht_crawler:"DHT \u0441\u043A\u0430\u043D\u0435\u0440",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u0447\u0435\u0440\u0433\u0438"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u044C\u043A\u0430",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0456\u043B\u043E\u0440\u0443\u0441\u044C\u043A\u0430",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u044C\u043A\u0430",bs:"\u0411\u043E\u0441\u043D\u0456\u0439\u0441\u044C\u043A\u0430",ca:"\u041A\u0430\u0442\u0430\u043B\u043E\u043D\u0441\u044C\u043A\u0430",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u044C\u043A\u0430",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u044C\u043A\u0430",cs:"\u0427\u0435\u0441\u044C\u043A\u0430",cy:"\u0412\u0430\u043B\u043B\u0456\u0439\u0441\u044C\u043A\u0430",da:"\u0414\u0430\u043D\u0441\u044C\u043A\u0430",de:"\u041D\u0456\u043C\u0435\u0446\u044C\u043A\u0430",el:"\u0413\u0440\u0435\u0446\u044C\u043A\u0430",en:"\u0410\u043D\u0433\u043B\u0456\u0439\u0441\u044C\u043A\u0430",es:"\u0406\u0441\u043F\u0430\u043D\u0441\u044C\u043A\u0430",et:"\u0415\u0441\u0442\u043E\u043D\u0441\u044C\u043A\u0430",eu:"\u0411\u0430\u0441\u043A\u0441\u044C\u043A\u0430",fa:"\u041F\u0435\u0440\u0441\u044C\u043A\u0430",fi:"\u0424\u0456\u043D\u0441\u044C\u043A\u0430",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u044C\u043A\u0430",he:"\u0406\u0432\u0440\u0438\u0442",hi:"\u0425\u0456\u043D\u0434\u0456",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u044C\u043A\u0430",hu:"\u0423\u0433\u043E\u0440\u0441\u044C\u043A\u0430",hy:"\u0412\u0456\u0440\u043C\u0435\u043D\u0441\u044C\u043A\u0430",id:"\u0406\u043D\u0434\u043E\u043D\u0435\u0437\u0456\u0439\u0441\u044C\u043A\u0430",is:"\u0406\u0441\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",it:"\u0406\u0442\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",ja:"\u042F\u043F\u043E\u043D\u0441\u044C\u043A\u0430",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u044C\u043A\u0430",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u044C\u043A\u0430",ku:"\u041A\u0443\u0440\u0434\u0441\u044C\u043A\u0430",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u044C\u043A\u0430",lv:"\u041B\u0430\u0442\u0438\u0441\u044C\u043A\u0430",mi:"\u041C\u0430\u043E\u0440\u0456",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u044C\u043A\u0430",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u044C\u043A\u0430",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u044C\u043A\u0430",mt:"\u041C\u0430\u043B\u044C\u0442\u0456\u0439\u0441\u044C\u043A\u0430",nl:"\u041D\u0456\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",no:"\u041D\u043E\u0440\u0432\u0435\u0437\u044C\u043A\u0430",pl:"\u041F\u043E\u043B\u044C\u0441\u044C\u043A\u0430",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u044C\u043A\u0430",ro:"\u0420\u0443\u043C\u0443\u043D\u0441\u044C\u043A\u0430",ru:"\u0420\u043E\u0441\u0456\u0439\u0441\u044C\u043A\u0430",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u044C\u043A\u0430",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u044C\u043A\u0430",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u044C\u043A\u0430",so:"\u0421\u043E\u043C\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",sr:"\u0421\u0435\u0440\u0431\u0441\u044C\u043A\u0430",sv:"\u0428\u0432\u0435\u0434\u0441\u044C\u043A\u0430",ta:"\u0422\u0430\u043C\u0456\u043B\u044C\u0441\u044C\u043A\u0430",th:"\u0422\u0430\u0439\u0441\u044C\u043A\u0430",tr:"\u0422\u0443\u0440\u0435\u0446\u044C\u043A\u0430",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",vi:"\u0412'\u0454\u0442\u043D\u0430\u043C\u0441\u044C\u043A\u0430",yi:"\u0407\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u044C\u043A\u0430",zu:"\u0417\u0443\u043B\u0443\u0441\u044C\u043A\u0430"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u043C\u0443",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u0456\u0434\u0442\u0440\u0438\u043C\u0430\u0442\u0438 bitmagnet",translate:"\u041F\u0435\u0440\u0435\u043A\u043B\u0430\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0448\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",items_per_page:"\u0415\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u0446\u0456",last_page:"\u041E\u0441\u0442\u0430\u043D\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",next_page:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",page_x:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 {{x}}",previous_page:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_y:"__\u043F\u0440\u043E\u043F\u0430\u0432__",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0456\u043D\u043D\u044F",home:"\u0413\u043E\u043B\u043E\u0432\u043D\u0430",jobs:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F",queues:"\u0427\u0435\u0440\u0433\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u0438",visualize:"\u0412\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0443\u0432\u0430\u0442\u0438"},torrents:{classification:"\u041A\u043B\u0430\u0441\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u044F",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043F\u043E\u0448\u0443\u043A",copy:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438",copy_to_clipboard:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0456\u043D\u0443",delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",delete_action_cannot_be_undone:"\u0426\u044E \u0434\u0456\u044E \u043D\u0435 \u043C\u043E\u0436\u043D\u0430 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438",delete_are_you_sure:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u0435\u0439 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0417\u043D\u044F\u0442\u0438 \u0432\u0438\u0434\u0456\u043B\u0435\u043D\u043D\u044F",download:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438",download_confirm:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0456 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438?",edit_tags:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u0435\u0433\u0438",episodes:"\u0415\u043F\u0456\u0437\u043E\u0434\u0438",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",file_index:"\u0406\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0443",file_path:"\u0428\u043B\u044F\u0445 \u0434\u043E \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u043E\u0437\u043C\u0456\u0440 \u0444\u0430\u0439\u043B\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",files:"\u0424\u0430\u0439\u043B\u0438",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u0456\u0432",files_no_info:"\u0406\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F \u043F\u0440\u043E \u0444\u0430\u0439\u043B\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u0438",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",info_hashes:"\u0425\u0435\u0448\u0456 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",languages:"\u041C\u043E\u0432\u0438",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442-\u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",new_tag:"\u041D\u043E\u0432\u0438\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430",order_direction_toggle:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043D\u0430\u043F\u0440\u044F\u043C\u043E\u043A",ordering:{files_count:"\u041A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0444\u0430\u0439\u043B\u0456\u0432",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",name:"\u041D\u0430\u0437\u0432\u0430",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0456\u043A\u0430\u0446\u0456\u0457",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0456\u0441\u0442\u044C",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",size:"\u0420\u043E\u0437\u043C\u0456\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F"},original_release_date:"\u0414\u0430\u0442\u0430 \u043E\u0440\u0438\u0433\u0456\u043D\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043F\u0443\u0441\u043A\u0443",permalink:"\u041F\u043E\u0441\u0442\u0456\u0439\u043D\u0435 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438",reprocess:{force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",reprocess:"\u041F\u0435\u0440\u0435\u0440\u043E\u0431\u0438\u0442\u0438"},s_l:"S / L",search:"\u041F\u043E\u0448\u0443\u043A",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",select_all:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0456",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0437 {{y}} \u0444\u0430\u0439\u043B\u0456\u0432",size:"\u0420\u043E\u0437\u043C\u0456\u0440",source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F",tags:{delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",delete_tip:"\u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0442\u0435\u0433\u0438 \u0437 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",placeholder:"\u0422\u0435\u0433\u0438...",put:"\u0421\u0442\u0430\u0432\u0442\u0435 \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0434\u0430\u0439\u0442\u0435 \u0442\u0435\u0433\u0438 \u0434\u043E \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",set:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u0433\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432"},title:"\u041D\u0430\u0437\u0432\u0430",toggle_drawer:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u0456\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0456\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0432\u0456\u0434\u043E\u043C\u043E"}};var Pt={content_types:{plural:{all:"\u5168\u90E8",audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",game:"\u6E38\u620F",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"},singular:{audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",game:"\u6E38\u620F",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"}},dashboard:{event:{created:"\u5DF2\u521B\u5EFA",failed:"\u5931\u8D25",processed:"\u5DF2\u5904\u7406",updated:"\u5DF2\u66F4\u65B0"},interval:{all:"\u5168\u90E8",days:"\u5929",days_1:"1\u5929",hours:"\u5C0F\u65F6",hours_1:"1\u5C0F\u65F6",hours_12:"12\u5C0F\u65F6",hours_6:"6\u5C0F\u65F6",minutes:"\u5206\u949F",minutes_1:"1\u5206\u949F",minutes_15:"15\u5206\u949F",minutes_30:"30\u5206\u949F",minutes_5:"5\u5206\u949F",off:"\u5173\u95ED",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u5468"},metrics:{event:"\u4E8B\u4EF6",resolution:"\u5206\u8FA8\u7387",throughput:"\u541E\u5410\u91CF",timeframe:"\u65F6\u95F4\u8303\u56F4",toggle_legend:"\u5207\u6362\u56FE\u4F8B"},queues:{created:"\u5DF2\u521B\u5EFA",created_at:"\u521B\u5EFA\u4E8E",enqueue_jobs:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",enqueue_torrent_processing_batch:"\u52A0\u5165\u961F\u5217\u7684\u79CD\u5B50\u5904\u7406\u6279\u6B21",failed:"\u5931\u8D25",force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",jobs_enqueued:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",latency:"\u5EF6\u8FDF",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",payload:"\u6709\u6548\u8F7D\u8377",pending:"\u5F85\u5904\u7406",priority:"\u4F18\u5148\u7EA7",process_orphaned_torrents_only:"\u4EC5\u5904\u7406\u5B64\u7ACB\u7684\u79CD\u5B50",processed:"\u5DF2\u5904\u7406",purge_jobs:"\u6E05\u9664\u4EFB\u52A1",purge_queue_jobs:"\u6E05\u9664\u961F\u5217\u4EFB\u52A1",queue:"\u961F\u5217",queue_purged:"\u961F\u5217\u5DF2\u6E05\u9664",queues:"\u961F\u5217",ran_at:"\u8FD0\u884C\u4E8E",retry:"\u91CD\u8BD5",total_counts_by_status:"\u6309\u72B6\u6001\u7EDF\u8BA1\u603B\u6570"}},facets:{content_type:"\u5185\u5BB9\u7C7B\u578B",file_type:"\u6587\u4EF6\u7C7B\u578B",genre:"\u7C7B\u578B",language:"\u8BED\u8A00",queue:"\u961F\u5217",status:"\u72B6\u6001",torrent_source:"\u79CD\u5B50\u6765\u6E90",torrent_tag:"\u79CD\u5B50\u6807\u7B7E",video_resolution:"\u89C6\u9891\u5206\u8FA8\u7387",video_source:"\u89C6\u9891\u6765\u6E90"},file_types:{archive:"\u6863\u6848",audio:"\u97F3\u9891",data:"\u6570\u636E",document:"\u6587\u6863",image:"\u56FE\u50CF",software:"\u8F6F\u4EF6",subtitles:"\u5B57\u5E55",unknown:"\u672A\u77E5",video:"\u89C6\u9891"},general:{all:"\u5168\u90E8",dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",none:"\u65E0",page_not_found:"\u9875\u9762\u672A\u627E\u5230",refresh:"\u5237\u65B0",status:"\u72B6\u6001"},health:{bitmagnet_is_status:"bitmagnet\u662F{{status}}",check_failed_with_error:"\u68C0\u67E5\u5931\u8D25\uFF0C\u9519\u8BEF",component:"\u7EC4\u4EF6",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",status:"\u72B6\u6001",statuses:{degraded:"\u964D\u7EA7",down:"\u5173\u95ED",error:"\u9519\u8BEF",inactive:"\u4E0D\u6D3B\u8DC3",started:"\u5DF2\u542F\u52A8",unknown:"\u672A\u77E5",up:"\u8FD0\u884C\u4E2D"},summary:"\u5065\u5EB7\u6982\u8FF0",worker:"\u5DE5\u4F5C\u8005",workers:{dht_crawler:"DHT\u722C\u866B",http_server:"HTTP\u670D\u52A1\u5668",queue_server:"\u961F\u5217\u670D\u52A1\u5668"}},languages:{af:"\u5357\u975E\u8377\u5170\u8BED",ar:"\u963F\u62C9\u4F2F\u8BED",az:"\u963F\u585E\u62DC\u7586\u8BED",be:"\u767D\u4FC4\u7F57\u65AF\u8BED",bg:"\u4FDD\u52A0\u5229\u4E9A\u8BED",bs:"\u6CE2\u65AF\u5C3C\u4E9A\u8BED",ca:"\u52A0\u6CF0\u7F57\u5C3C\u4E9A\u8BED",ce:"\u8F66\u81E3\u8BED",co:"\u79D1\u897F\u5609\u8BED",cs:"\u6377\u514B\u8BED",cy:"\u5A01\u5C14\u58EB\u8BED",da:"\u4E39\u9EA6\u8BED",de:"\u5FB7\u8BED",el:"\u5E0C\u814A\u8BED",en:"\u82F1\u8BED",es:"\u897F\u73ED\u7259\u8BED",et:"\u7231\u6C99\u5C3C\u4E9A\u8BED",eu:"\u5DF4\u65AF\u514B\u8BED",fa:"\u6CE2\u65AF\u8BED",fi:"\u82AC\u5170\u8BED",fr:"\u6CD5\u8BED",he:"\u5E0C\u4F2F\u6765\u8BED",hi:"\u5370\u5730\u8BED",hr:"\u514B\u7F57\u5730\u4E9A\u8BED",hu:"\u5308\u7259\u5229\u8BED",hy:"\u4E9A\u7F8E\u5C3C\u4E9A\u8BED",id:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u8BED",is:"\u51B0\u5C9B\u8BED",it:"\u610F\u5927\u5229\u8BED",ja:"\u65E5\u8BED",ka:"\u683C\u9C81\u5409\u4E9A\u8BED",ko:"\u97E9\u8BED",ku:"\u5E93\u5C14\u5FB7\u8BED",lt:"\u7ACB\u9676\u5B9B\u8BED",lv:"\u62C9\u8131\u7EF4\u4E9A\u8BED",mi:"\u6BDB\u5229\u8BED",mk:"\u9A6C\u5176\u987F\u8BED",ml:"\u9A6C\u62C9\u96C5\u62C9\u59C6\u8BED",mn:"\u8499\u53E4\u8BED",ms:"\u9A6C\u6765\u8BED",mt:"\u9A6C\u8033\u4ED6\u8BED",nl:"\u8377\u5170\u8BED",no:"\u632A\u5A01\u8BED",pl:"\u6CE2\u5170\u8BED",pt:"\u8461\u8404\u7259\u8BED",ro:"\u7F57\u9A6C\u5C3C\u4E9A\u8BED",ru:"\u4FC4\u8BED",sa:"\u68B5\u8BED",sk:"\u65AF\u6D1B\u4F10\u514B\u8BED",sl:"\u65AF\u6D1B\u6587\u5C3C\u4E9A\u8BED",sm:"\u8428\u6469\u4E9A\u8BED",so:"\u7D22\u9A6C\u91CC\u8BED",sr:"\u585E\u5C14\u7EF4\u4E9A\u8BED",sv:"\u745E\u5178\u8BED",ta:"\u6CF0\u7C73\u5C14\u8BED",th:"\u6CF0\u8BED",tr:"\u571F\u8033\u5176\u8BED",uk:"\u4E4C\u514B\u5170\u8BED",vi:"\u8D8A\u5357\u8BED",yi:"\u610F\u7B2C\u7EEA\u8BED",zh:"\u4E2D\u6587",zu:"\u7956\u9C81\u8BED"},layout:{bitmagnet_on_service:"bitmagnet\u5728{{service}}",change_theme:"\u66F4\u6539\u4E3B\u9898",external_links:"\u5916\u90E8\u94FE\u63A5",sponsor:"\u8D5E\u52A9\u5546",support_bitmagnet:"\u652F\u6301bitmagnet",translate:"\u7FFB\u8BD1"},paginator:{first_page:"\u7B2C\u4E00\u9875",items_per_page:"\u6BCF\u9875\u9879\u76EE\u6570",last_page:"\u6700\u540E\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",page_x:"\u7B2C{{x}}\u9875",previous_page:"\u4E0A\u4E00\u9875",x_to_y:"{{x}}\u5230{{y}}",x_to_y_of_z:"{{x}}\u5230{{y}}\uFF0C\u5171{{z}}"},routes:{admin:"\u7BA1\u7406\u5458",dashboard:"\u4EEA\u8868\u76D8",home:"\u9996\u9875",jobs:"\u4EFB\u52A1",queues:"\u961F\u5217",torrents:"\u79CD\u5B50",visualize:"\u53EF\u89C6\u5316"},torrents:{classification:"\u5206\u7C7B",clear_search:"\u6E05\u9664\u641C\u7D22",copy:"\u590D\u5236",copy_to_clipboard:"\u590D\u5236\u5230\u526A\u8D34\u677F",delete:"\u5220\u9664",delete_action_cannot_be_undone:"\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500",delete_are_you_sure:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u6B64\u79CD\u5B50\u5417\uFF1F",deselect_all:"\u53D6\u6D88\u5168\u9009",download:"\u4E0B\u8F7D",download_confirm:"\u60A8\u786E\u5B9A\u8981\u4E0B\u8F7D\u9009\u5B9A\u7684\u79CD\u5B50\u5417\uFF1F",edit_tags:"\u7F16\u8F91\u6807\u7B7E",episodes:"\u5267\u96C6",external_links:"\u5916\u90E8\u94FE\u63A5",file_index:"\u6587\u4EF6\u7D22\u5F15",file_path:"\u6587\u4EF6\u8DEF\u5F84",file_size:"\u6587\u4EF6\u5927\u5C0F",file_type:"\u6587\u4EF6\u7C7B\u578B",files:"\u6587\u4EF6",files_count_n:"{{count}}\u4E2A\u6587\u4EF6",files_no_info:"\u65E0\u6587\u4EF6\u4FE1\u606F",files_single:"\u5355\u4E2A\u6587\u4EF6",genres:"\u7C7B\u578B",info_hash:"\u4FE1\u606F\u54C8\u5E0C",info_hashes:"\u4FE1\u606F\u54C8\u5E0C",languages:"\u8BED\u8A00",leechers:"\u4E0B\u8F7D\u8005",magnet:"\u78C1\u529B\u94FE\u63A5",magnet_links:"\u78C1\u529B\u94FE\u63A5",new_tag:"\u65B0\u6807\u7B7E",order_by:"\u6392\u5E8F\u4F9D\u636E",order_direction_toggle:"\u5207\u6362\u65B9\u5411",ordering:{files_count:"\u6587\u4EF6\u6570",info_hash:"\u4FE1\u606F\u54C8\u5E0C",leechers:"\u4E0B\u8F7D\u8005",name:"\u540D\u79F0",published_at:"\u53D1\u5E03\u4E8E",relevance:"\u76F8\u5173\u6027",seeders:"\u4E0A\u4F20\u8005",size:"\u5927\u5C0F",updated_at:"\u66F4\u65B0\u4E8E"},original_release_date:"\u539F\u59CB\u53D1\u5E03\u65E5\u671F",permalink:"\u6C38\u4E45\u94FE\u63A5",poster:"\u6D77\u62A5",published:"\u5DF2\u53D1\u5E03",rating:"\u8BC4\u5206",refresh:"\u5237\u65B0\u7ED3\u679C",reprocess:{force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",reprocess:"\u91CD\u65B0\u5904\u7406"},s_l:"S / L",search:"\u641C\u7D22",seeders:"\u4E0A\u4F20\u8005",select_all:"\u5168\u9009",showing_x_of_y_files:"\u663E\u793A{{x}}\u4E2A\uFF0C\u5171{{y}}\u4E2A\u6587\u4EF6",size:"\u5927\u5C0F",source:"\u79CD\u5B50\u6765\u6E90",summary:"\u6458\u8981",tags:{delete:"\u5220\u9664\u6807\u7B7E",delete_tip:"\u4ECE\u9009\u5B9A\u7684\u79CD\u5B50\u4E2D\u5220\u9664\u6807\u7B7E",placeholder:"\u6807\u7B7E...",put:"\u6DFB\u52A0\u6807\u7B7E",put_tip:"\u4E3A\u9009\u5B9A\u7684\u79CD\u5B50\u6DFB\u52A0\u6807\u7B7E",set:"\u8BBE\u7F6E\u6807\u7B7E",set_tip:"\u66FF\u6362\u9009\u5B9A\u79CD\u5B50\u7684\u6807\u7B7E"},title:"\u6807\u9898",toggle_drawer:"\u5207\u6362\u62BD\u5C49",votes_count_n:"{{count}}\u7968"},version:{bitmagnet_version:"bitmagnet\u7248\u672C{{version}}",unknown:"\u672A\u77E5"}};var ce={ar:bt,de:yt,en:vt,es:kt,fr:xt,hi:wt,ja:Tt,nl:St,pt:Ct,ru:Mt,tr:zt,uk:At,zh:Pt};var qt=(()=>{class t{getTranslation(e){return he(this,null,function*(){if(e in ce){let o=ce[e];return Et(o)}else return Promise.reject(new Error(`Translation not found: ${e}`))})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),mo=["__missing__","__fallback__"],Et=t=>Object.fromEntries(Object.entries(t).flatMap(([r,e])=>{if(typeof e=="object")e=Et(e);else if(typeof e=="string"&&mo.includes(e))return[];return[[r,e]]}));var Dt=[{path:"",pathMatch:"full",redirectTo:"torrents"},{path:"torrents",loadComponent:()=>import("./chunk-772YMJAF.js").then(t=>t.TorrentsComponent),children:[{path:"",loadComponent:()=>import("./chunk-E7M2745X.js").then(t=>t.TorrentsSearchComponent)},{path:"permalink/:infoHash",loadComponent:()=>import("./chunk-DZT5WVMO.js").then(t=>t.TorrentPermalinkComponent)}]},{path:"dashboard",loadComponent:()=>import("./chunk-ISB6LSNT.js").then(t=>t.DashboardComponent),children:[{path:"",loadComponent:()=>import("./chunk-WMBLMVKT.js").then(t=>t.DashboardHomeComponent)},{path:"queues",pathMatch:"full",redirectTo:"queues/visualize"},{path:"queues",loadComponent:()=>import("./chunk-BFXZYWVF.js").then(t=>t.QueueDashboardComponent),children:[{path:"visualize",loadComponent:()=>import("./chunk-OUPXCRLE.js").then(t=>t.QueueVisualizeComponent)},{path:"jobs",loadComponent:()=>import("./chunk-7SFHH767.js").then(t=>t.QueueJobsComponent)},{path:"admin",loadComponent:()=>import("./chunk-3IKCDSDW.js").then(t=>t.QueueAdminComponent)}]},{path:"torrents",loadComponent:()=>import("./chunk-SF7T53WL.js").then(t=>t.TorrentsDashboardComponent)}]},{path:"**",loadComponent:()=>import("./chunk-NJLU6UWE.js").then(t=>t.NotFoundComponent)}];var It={providers:[Ae({eventCoalescing:!0}),Re(Dt,Oe()),pt("animations"),se(qe()),se(),Ye(()=>({link:c(gt).create({uri:ft}),cache:new We({typePolicies:{Query:{fields:{search:{merge(r,e){return P(P({},r),e)}}}}}})})),Ge({config:{availableLangs:[{id:"ar",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},{id:"de",label:"Deutsch"},{id:"en",label:"English"},{id:"es",label:"Espa\xF1ol"},{id:"fr",label:"Fran\xE7ais"},{id:"hi",label:"\u0939\u093F\u0928\u094D\u0926\u0940"},{id:"ja",label:"\u65E5\u672C\u8A9E"},{id:"nl",label:"Nederlands"},{id:"pt",label:"Portugu\xEAs"},{id:"ru",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{id:"tr",label:"T\xFCrk\xE7e"},{id:"uk",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},{id:"zh",label:"\u4E2D\u6587"}],defaultLang:"en",fallbackLang:"en",missingHandler:{useFallbackTranslation:!0},reRenderOnLangChange:!0,prodMode:!1},loader:qt}),Ke(Ne())]};var ho=new V("Browser Storage",{providedIn:"root",factory:()=>localStorage}),W=(()=>{class t{constructor(e){this.storage=e}get(e){return this.storage.getItem(e)}set(e,o){this.storage.setItem(e,o)}remove(e){this.storage.removeItem(e)}clear(){this.storage.clear()}static{this.\u0275fac=function(o){return new(o||t)(G(ho))}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var po={classic:{key:"classic",label:"Classic",dark:!1},clean:{key:"clean",label:"Clean",dark:!1},neon:{key:"neon",label:"Neon",dark:!0},tundra:{key:"tundra",label:"Tundra",dark:!0}},J=po,jt="classic",Ft="tundra";var ue="bitmagnet-theme",Y=(()=>{class t{constructor(){this.document=c(K),this.browserStorage=c(W),this._window=this.document.defaultView,this.selectedThemeSubject=new pe(void 0),this.selectedTheme$=this.selectedThemeSubject.asObservable(),this.themes=Object.values(J),this.getPreferredTheme=()=>this.getStoredTheme()??this.getAutoTheme(),this.getStoredTheme=()=>{let e=this.browserStorage.get(ue);return e&&e in J?e:void 0},this.getAutoTheme=()=>this.windowMatchMediaPrefersDark()?.matches?Ft:jt,this.setTheme=e=>{this.setActiveTheme(e),this.setStoredTheme(this.selectedTheme??"auto")},this.setActiveTheme=e=>{e==="auto"||!(e in J)?(e=this.getAutoTheme(),this.selectedTheme=void 0):this.selectedTheme=e,this.document.documentElement.setAttribute("data-bitmagnet-theme",e),this.selectedThemeSubject.next(this.selectedTheme)},this.setStoredTheme=e=>{e==="auto"?this.browserStorage.remove(ue):this.browserStorage.set(ue,e)},this.setActiveTheme(this.getPreferredTheme()),this.windowMatchMediaPrefersDark()?.addEventListener("change",()=>{this.getStoredTheme()||this.setActiveTheme(this.getAutoTheme())})}windowMatchMediaPrefersDark(){return this._window&&this._window.matchMedia?this._window.matchMedia("(prefers-color-scheme: dark)"):void 0}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var bo=t=>({version:t});function yo(t,r){if(t&1&&(E(0),i(1,"span",1),_(2),s(),D()),t&2){let e=r.$implicit,o=h();l(),g("matTooltip",e("version.bitmagnet_version",ze(2,bo,o.versionUnknown?e("version.unknown"):o.version))),l(),b(o.version)}}var de="v-unknown",Lt=(()=>{class t{constructor(){this.apollo=c(Je),this.version=de,this.versionUnknown=!0}ngOnInit(){this.apollo.query({query:tt}).pipe(ge(e=>e.data.version)).subscribe({next:e=>{e?(this.version=e,this.versionUnknown=!1):(this.version=de,this.versionUnknown=!0)},error:()=>{this.version=de}})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-version"]],standalone:!0,features:[y],decls:1,vars:0,consts:[[4,"transloco"],[1,"version",3,"matTooltip"]],template:function(o,a){o&1&&q(0,yo,3,4,"ng-container",0)},dependencies:[U,Q,X,ot],encapsulation:2})}}return t})();var Bt="bitmagnet-language",Ht=(()=>{class t{constructor(){this.transloco=c(Ve),this.browserStorage=c(W),this.availableLanguages=this.transloco.getAvailableLangs(),this.transloco.setActiveLang(this.getPreferredLanguage())}getPreferredLanguage(){return this.getStoredLanguage()??this.getAutoLanguage()}getStoredLanguage(){let e=this.browserStorage.get(Bt);return e&&this.transloco.isLang(e)?e:void 0}getAutoLanguage(){let e=navigator?.language?.split("-")?.[0];return this.transloco.isLang(e)?e:"en"}setLanguage(e){this.transloco.setActiveLang(e),this.browserStorage.set(Bt,e)}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var vo=["element"],_e=(()=>{class t{static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-theme-emitter-color"]],viewQuery:function(o,a){if(o&1&&H(vo,5),o&2){let n;R(n=O())&&(a.element=n.first)}},inputs:{color:"color"},standalone:!0,features:[y],decls:2,vars:2,consts:[["element",""]],template:function(o,a){o&1&&m(0,"div",null,0),o&2&&S("theme-emitter-color "+a.color)},encapsulation:2})}}return t})();var ko=["lightdark"];function xo(t,r){if(t&1&&m(0,"app-theme-emitter-color",1),t&2){let e=r.$implicit;g("color",e)}}var Rt=(()=>{class t{constructor(){this.service=c(ht),this.themeManager=c(Y),this.themeColors=mt,this.themeManager.selectedTheme$.subscribe(()=>{this.updateThemeColors()})}ngAfterViewInit(){this.updateThemeColors()}updateThemeColors(){let e={};for(let a of this.elements??[])e[a.color]=getComputedStyle(a.element.nativeElement).color;let o=this.lightdark&&getComputedStyle(this.lightdark.nativeElement).color==="rgb(0, 0, 0)"?"dark":"light";this.service.setInfo({colors:e,type:o})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-theme-emitter"]],viewQuery:function(o,a){if(o&1&&(H(ko,5),H(_e,5)),o&2){let n;R(n=O())&&(a.lightdark=n.first),R(n=O())&&(a.elements=n)}},standalone:!0,features:[y],decls:5,vars:0,consts:[["lightdark",""],[3,"color"],[1,"theme-emitter-lightdark"]],template:function(o,a){o&1&&(E(0),L(1,xo,1,1,"app-theme-emitter-color",1,Se),m(3,"div",2,0),D()),o&2&&(l(),B(a.themeColors))},dependencies:[_e],styles:["[_nghost-%COMP%]{display:none}.theme-emitter-color.background[_ngcontent-%COMP%]{color:var(--mat-app-background-color)}.theme-emitter-color.foreground[_ngcontent-%COMP%]{color:var(--mat-app-text-color)}"]})}}return t})();var To=["*"],So=(t,r)=>r.key,Co=(t,r)=>r.id,Mo=()=>({service:"Discord"}),zo=()=>({service:"GitHub"}),Ao=()=>({service:"OpenCollective"});function Po(t,r){if(t&1&&(i(0,"h1")(1,"a",22),m(2,"mat-icon",23),i(3,"span",24),_(4,"bitmagnet"),s(),m(5,"app-version"),s()(),i(6,"nav")(7,"a",25,3),m(9,"mat-icon",23),_(10),s(),i(11,"a",26,4)(13,"mat-icon"),_(14,"dashboard"),s(),_(15),s()()),t&2){let e=A(8),o=A(12),a=h().$implicit;l(7),S(e.isActive?"active":""),l(3),ae(" ",a("routes.torrents")," "),l(),S(o.isActive?"active":""),l(4),ae(" ",a("routes.dashboard")," ")}}function qo(t,r){if(t&1&&(i(0,"h1")(1,"a",27),m(2,"mat-icon",23),s()(),i(3,"button",28,4)(5,"mat-icon"),_(6,"dashboard"),s()()),t&2){let e=A(4),o=h().$implicit;l(3),S(e.isActive?"active":""),g("matTooltip",o("routes.dashboard"))}}function Eo(t,r){if(t&1){let e=oe();i(0,"a",29),re("click",function(){let a=Z(e).$implicit,n=h(2);return $(n.themeManager.setTheme(a.key))}),i(1,"mat-icon"),_(2),s(),_(3),s()}if(t&2){let e=r.$implicit,o=h(2);S(e.key===o.themeManager.selectedTheme?"active":""),l(2),b(e.dark?"dark_mode":"light_mode"),l(),b(e.label)}}function Do(t,r){if(t&1){let e=oe();i(0,"a",30),re("click",function(){let a=Z(e).$implicit,n=h(2);return $(n.translateManager.setLanguage(a.id))}),_(1),s()}if(t&2){let e=r.$implicit,o=h().$implicit,a=h();S(e.id===a.translateManager.getPreferredLanguage()?"active":""),g("matTooltip",e.id===a.translateManager.getPreferredLanguage()?void 0:o("languages."+e.id)),l(),b(e.label)}}function Io(t,r){if(t&1&&(i(0,"a",19)(1,"mat-icon"),_(2,"favorite"),s()()),t&2){let e=h().$implicit;g("matTooltip",e("layout.sponsor"))}}function jo(t,r){if(t&1&&(i(0,"a",20)(1,"mat-icon"),_(2,"favorite"),s(),_(3),s()),t&2){let e=h().$implicit;g("matTooltip",e("layout.support_bitmagnet")),l(3),b(e("layout.sponsor"))}}function Fo(t,r){if(t&1&&(E(0),i(1,"mat-toolbar",6),q(2,Po,16,6)(3,qo,7,3),m(4,"span",7)(5,"app-health-widget"),i(6,"button",8)(7,"mat-icon"),_(8,"apparel"),s()(),i(9,"mat-menu",9,0),L(11,Eo,4,4,"a",10,So),s(),i(13,"button",11)(14,"mat-icon"),_(15,"translate"),s()(),i(16,"mat-menu",9,1),L(18,Do,2,4,"a",12,Co),s(),i(20,"button",13),m(21,"mat-icon",14),s(),i(22,"mat-menu",9,2)(24,"a",15),_(25,"bitmagnet.io"),s(),i(26,"a",16),_(27),s(),i(28,"a",17),_(29),s(),i(30,"a",18),_(31),s()(),q(32,Io,3,1,"a",19)(33,jo,4,2,"a",20),s(),i(34,"div",21),Me(35),s(),m(36,"app-theme-emitter"),D()),t&2){let e=r.$implicit,o=A(10),a=A(17),n=A(23),u=h();l(2),te(u.breakpoints.sizeAtLeast("Medium")?2:3),l(4),g("matMenuTriggerFor",o)("matTooltip",e("layout.change_theme")),l(5),B(u.themeManager.themes),l(2),g("matMenuTriggerFor",a)("matTooltip",e("layout.translate")),l(5),B(u.translateManager.availableLanguages),l(2),g("matTooltip",e("layout.external_links"))("matMenuTriggerFor",n),l(7),b(e("layout.bitmagnet_on_service",N(11,Mo))),l(2),b(e("layout.bitmagnet_on_service",N(12,zo))),l(2),b(e("layout.bitmagnet_on_service",N(13,Ao))),l(),te(u.breakpoints.sizeAtLeast("Medium")?33:32)}}var Ot=(()=>{class t{constructor(){this.themeManager=c(Y),this.translateManager=c(Ht),this.breakpoints=c(ct),this.title=c(Ie),this.router=c(Le),this.health=c(ut)}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-layout"]],standalone:!0,features:[y],ngContentSelectors:To,decls:1,vars:0,consts:[["themesMenu","matMenu"],["languagesMenu","matMenu"],["externalLinksMenu","matMenu"],["linkTorrents","routerLinkActive"],["linkDashboard","routerLinkActive"],[4,"transloco"],[1,"toolbar-header"],[1,"spacer"],["mat-icon-button","","aria-label","Theme",3,"matMenuTriggerFor","matTooltip"],[1,"layout-header-menu"],["mat-menu-item","",3,"class"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","class"],["mat-icon-button","",3,"matTooltip","matMenuTriggerFor"],["svgIcon","external-link"],["mat-menu-item","","href","https://bitmagnet.io","target","_blank"],["mat-menu-item","","href","https://discord.gg/6mFNszX8qM","target","_blank"],["mat-menu-item","","href","https://github.com/bitmagnet-io/bitmagnet","target","_blank"],["mat-menu-item","","href","https://opencollective.com/bitmagnet","target","_blank"],["mat-icon-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],["mat-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],[1,"app-content"],["routerLink","torrents"],["svgIcon","magnet"],[1,"name"],["mat-button","","routerLink","torrents","routerLinkActive",""],["mat-button","","routerLink","dashboard","routerLinkActive",""],["routerLink","/torrents"],["mat-icon-button","","routerLink","dashboard","routerLinkActive","",3,"matTooltip"],["mat-menu-item","",3,"click"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click","matTooltip"]],template:function(o,a){o&1&&(Ce(),q(0,Fo,37,14,"ng-container",5))},dependencies:[U,Ze,et,$e,at,st,nt,it,lt,Q,Be,He,X,_t,dt,Rt,Lt],styles:[".mat-toolbar.toolbar-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:10;--mat-toolbar-title-text-size: 22px;--mat-toolbar-standard-height: 56px;--mat-icon-color: #fff;padding:0 20px;--mdc-text-button-label-text-size: 15px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:-2px;margin-right:20px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:4px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{margin-left:10px;margin-right:16px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] app-version[_ngcontent-%COMP%]{font-size:13px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]{margin-left:6px;--mdc-text-button-label-text-weight: bold;--mat-text-button-horizontal-padding: 12px;--mdc-text-button-container-height: 30px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{position:absolute;left:340px;top:0;height:56px;padding-top:14px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:10px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] mat-icon[data-mat-icon-name=magnet][_ngcontent-%COMP%]{margin-top:-5px;overflow:visible}.app-content[_ngcontent-%COMP%]{z-index:1;padding-bottom:10px}.layout-header-menu[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{font-weight:700}"]})}}return t})();var Vt=(t,r)=>t.setDefaultFontSetClass("material-icons-outlined","material-symbols-outlined").addSvgIcon("magnet",r.bypassSecurityTrustResourceUrl("magnet.svg")).addSvgIcon("external-link",r.bypassSecurityTrustResourceUrl("external-link.svg")).addSvgIcon("binary",r.bypassSecurityTrustResourceUrl("binary.svg")).addSvgIcon("queue",r.bypassSecurityTrustResourceUrl("queue.svg"));var Gt=(()=>{class t{constructor(e,o){this.title="bitmagnet",Vt(e,o)}static{this.\u0275fac=function(o){return new(o||t)(ee(rt),ee(je))}}static{this.\u0275cmp=f({type:t,selectors:[["app-root"]],standalone:!0,features:[y],decls:2,vars:0,template:function(o,a){o&1&&(i(0,"app-layout"),m(1,"router-outlet"),s())},dependencies:[Fe,Ot]})}}return t})();De(Gt,It).catch(t=>console.error(t)); diff --git a/webui/dist/bitmagnet/browser/main-FQGK2CWS.js b/webui/dist/bitmagnet/browser/main-FQGK2CWS.js deleted file mode 100644 index 1df58b48..00000000 --- a/webui/dist/bitmagnet/browser/main-FQGK2CWS.js +++ /dev/null @@ -1 +0,0 @@ -import{a as Me,b as Ae,d as Xe,e as Ue}from"./chunk-VHNPENGG.js";import{a as Oe}from"./chunk-3AJEMLV6.js";import{a as Ge,c as Ne,d as Ke}from"./chunk-W2FDHTDN.js";import{H as je,J as Ie,Ua as I,a as Ce,b as E,c as ze,i as qe,p as Pe,pa as Le,qa as Fe,r as De,s as Ee,sa as Be,ta as Re,ua as He,xa as Ve,ya as j}from"./chunk-Z6GE3BUT.js";import"./chunk-6XXA7HXI.js";import{c as X,d as pe,e as ge,f as fe,g as be,h as ye,k as ve,l as ke,m as we,n as Te,o as xe,p as Se}from"./chunk-ZBBMS7J5.js";import{$b as _,B as ee,Cb as w,Ea as R,Fa as H,Fc as he,Hb as h,Kb as v,Mb as O,Nb as ce,Oa as re,Ob as S,Pb as C,Qb as s,Rb as n,Sb as d,Sc as D,Tb as T,Ub as x,Wa as ne,Wb as G,Zb as N,ac as de,bc as _e,d as Z,ec as z,fc as M,gc as A,ia as te,jc as k,ka as p,kb as i,kc as c,l as $,lb as V,lc as f,mb as se,mc as K,na as q,ob as ie,pa as oe,pc as b,qa as u,qb as le,qc as P,rc as me,tb as ue,ua as g,ya as ae}from"./chunk-FJILXII2.js";var wt="@",Tt=(()=>{class t{constructor(e,o,r,l,m){this.doc=e,this.delegate=o,this.zone=r,this.animationType=l,this.moduleImpl=m,this._rendererFactoryPromise=null,this.scheduler=u(ie,{optional:!0}),this.loadingSchedulerFn=u(xt,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-R6LGJCCV.js").then(r=>r),o;return this.loadingSchedulerFn?o=this.loadingSchedulerFn(e):o=e(),o.catch(r=>{throw new te(5300,!1)}).then(({\u0275createEngine:r,\u0275AnimationRendererFactory:l})=>{this._engine=r(this.animationType,this.doc);let m=new l(this.delegate,this._engine,this.zone);return this.delegate=m,m})}createRenderer(e,o){let r=this.delegate.createRenderer(e,o);if(r.\u0275type===0)return r;typeof r.throwOnSyntheticProps=="boolean"&&(r.throwOnSyntheticProps=!1);let l=new U(r);return o?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(m=>{let kt=m.createRenderer(e,o);l.use(kt),this.scheduler?.notify(10)}).catch(m=>{l.use(r)}),l}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static{this.\u0275fac=function(o){se()}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac})}}return t})(),U=class{constructor(a){this.delegate=a,this.replay=[],this.\u0275type=1}use(a){if(this.delegate=a,this.replay!==null){for(let e of this.replay)e(a);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(a,e){return this.delegate.createElement(a,e)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}get destroyNode(){return this.delegate.destroyNode}appendChild(a,e){this.delegate.appendChild(a,e)}insertBefore(a,e,o,r){this.delegate.insertBefore(a,e,o,r)}removeChild(a,e,o){this.delegate.removeChild(a,e,o)}selectRootElement(a,e){return this.delegate.selectRootElement(a,e)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,e,o,r){this.delegate.setAttribute(a,e,o,r)}removeAttribute(a,e,o){this.delegate.removeAttribute(a,e,o)}addClass(a,e){this.delegate.addClass(a,e)}removeClass(a,e){this.delegate.removeClass(a,e)}setStyle(a,e,o,r){this.delegate.setStyle(a,e,o,r)}removeStyle(a,e,o){this.delegate.removeStyle(a,e,o)}setProperty(a,e,o){this.shouldReplay(e)&&this.replay.push(r=>r.setProperty(a,e,o)),this.delegate.setProperty(a,e,o)}setValue(a,e){this.delegate.setValue(a,e)}listen(a,e,o){return this.shouldReplay(e)&&this.replay.push(r=>r.listen(a,e,o)),this.delegate.listen(a,e,o)}shouldReplay(a){return this.replay!==null&&a.startsWith(wt)}},xt=new q("");function We(t="animations"){return ue("NgAsyncAnimations"),ae([{provide:le,useFactory:(a,e,o)=>new Tt(a,e,o,t),deps:[D,ge,re]},{provide:ne,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Qe=[{path:"",pathMatch:"full",redirectTo:"torrents"},{path:"torrents",loadComponent:()=>import("./chunk-VRXOKWLG.js").then(t=>t.TorrentsComponent),children:[{path:"",loadComponent:()=>import("./chunk-QR34FW2E.js").then(t=>t.TorrentsSearchComponent)},{path:"permalink/:infoHash",loadComponent:()=>import("./chunk-N3JJ3NXQ.js").then(t=>t.TorrentPermalinkComponent)}]},{path:"dashboard",loadComponent:()=>import("./chunk-OQYWMLJI.js").then(t=>t.DashboardComponent),children:[{path:"",loadComponent:()=>import("./chunk-7HDEVHSY.js").then(t=>t.DashboardHomeComponent)},{path:"queues",loadComponent:()=>import("./chunk-Z5TALIEZ.js").then(t=>t.QueueDashboardComponent),children:[{path:"visualize",loadComponent:()=>import("./chunk-XSWMZFX5.js").then(t=>t.QueueVisualizeComponent)},{path:"jobs",loadComponent:()=>import("./chunk-NEBTMJTJ.js").then(t=>t.QueueJobsComponent)},{path:"admin",loadComponent:()=>import("./chunk-B2KTWFU6.js").then(t=>t.QueueAdminComponent)}]},{path:"torrents",loadComponent:()=>import("./chunk-CCCAKKZT.js").then(t=>t.TorrentsDashboardComponent)}]},{path:"**",loadComponent:()=>import("./chunk-6NVKEHMV.js").then(t=>t.NotFoundComponent)}];var Ye={content_types:{plural:{all:"\u0627\u0644\u0643\u0644",audiobook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0635\u0648\u062A\u064A\u0629",comic:"\u0627\u0644\u0642\u0635\u0635 \u0627\u0644\u0645\u0635\u0648\u0631\u0629",ebook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u0629",movie:"\u0627\u0644\u0623\u0641\u0644\u0627\u0645",music:"\u0627\u0644\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0644\u0641\u0627\u0632",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"},singular:{audiobook:"\u0643\u062A\u0627\u0628 \u0635\u0648\u062A\u064A",comic:"\u0642\u0635\u0629 \u0645\u0635\u0648\u0631\u0629",ebook:"\u0643\u062A\u0627\u0628 \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",movie:"\u0641\u064A\u0644\u0645",music:"\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0644\u0641\u0632\u064A\u0648\u0646\u064A",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"}},dashboard:{event:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",failed:"\u0641\u0634\u0644",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",updated:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B"},interval:{all:"\u0627\u0644\u0643\u0644",days:"\u064A\u0648\u0645",days_1:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",hours:"\u0633\u0627\u0639\u0629",hours_1:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",hours_12:"12 \u0633\u0627\u0639\u0629",hours_6:"6 \u0633\u0627\u0639\u0629",minutes:"\u062F\u0642\u064A\u0642\u0629",minutes_1:"1 \u062F\u0642\u064A\u0642\u0629",minutes_15:"15 \u062F\u0642\u0627\u0626\u0642",minutes_30:"30 \u062F\u0642\u0627\u0626\u0642",minutes_5:"5 \u062F\u0642\u0627\u0626\u0642",off:"\u0625\u064A\u0642\u0627\u0641",seconds_10:"10 \u062B\u0648\u0627\u0646\u064A",seconds_30:"30 \u062B\u0627\u0646\u064A\u0629",weeks_1:"1 \u0623\u0633\u0628\u0648\u0639"},metrics:{event:"\u062D\u062F\u062B",resolution:"\u0627\u0644\u062F\u0642\u0629",throughput:"\u0645\u0639\u062F\u0644 \u0627\u0644\u0646\u0642\u0644",timeframe:"\u0627\u0644\u0625\u0637\u0627\u0631 \u0627\u0644\u0632\u0645\u0646\u064A"},queues:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",created_at:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621 \u0641\u064A",enqueue_jobs:"\u0625\u062F\u0631\u0627\u062C \u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",enqueue_torrent_processing_batch:"\u0625\u062F\u0631\u0627\u062C \u062F\u0641\u0639\u0629 \u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",failed:"\u0641\u0634\u0644",force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",jobs_enqueued:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0645\u062F\u0631\u062C\u0629 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",latency:"\u0627\u0644\u062A\u0623\u062E\u064A\u0631",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",payload:"\u0627\u0644\u062D\u0645\u0648\u0644\u0629",pending:"\u0642\u064A\u062F \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",priority:"\u0627\u0644\u0623\u0648\u0644\u0648\u064A\u0629",process_orphaned_torrents_only:"\u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u064A\u062A\u064A\u0645 \u0641\u0642\u0637",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",purge_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0648\u0638\u0627\u0626\u0641",purge_queue_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue_purged:"\u062A\u0645 \u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",ran_at:"\u062A\u0645 \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u0641\u064A",retry:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",total_counts_by_status:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u0639\u062F \u062D\u0633\u0628 \u0627\u0644\u062D\u0627\u0644\u0629"}},facets:{content_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u062D\u062A\u0648\u0649",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",genre:"\u0627\u0644\u0646\u0648\u0639",language:"\u0627\u0644\u0644\u063A\u0629",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",status:"\u0627\u0644\u062D\u0627\u0644\u0629",torrent_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",torrent_tag:"\u0639\u0644\u0627\u0645\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",video_resolution:"\u062F\u0642\u0629 \u0627\u0644\u0641\u064A\u062F\u064A\u0648",video_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u0641\u064A\u062F\u064A\u0648"},file_types:{archive:"\u0623\u0631\u0634\u064A\u0641",audio:"\u0635\u0648\u062A",data:"\u0628\u064A\u0627\u0646\u0627\u062A",document:"\u0648\u062B\u064A\u0642\u0629",image:"\u0635\u0648\u0631\u0629",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",subtitles:"\u062A\u0631\u062C\u0645\u0627\u062A",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",video:"\u0641\u064A\u062F\u064A\u0648"},general:{all:"\u0627\u0644\u0643\u0644",dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",none:"\u0644\u0627 \u0634\u064A\u0621",page_not_found:"\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629",refresh:"\u062A\u062D\u062F\u064A\u062B",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},health:{bitmagnet_is_status:"bitmagnet \u0647\u0648 {{status}}",check_failed_with_error:"\u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u0642\u0642 \u0645\u0639 \u062E\u0637\u0623",component:"\u0645\u0643\u0648\u0646",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",status:"\u0627\u0644\u062D\u0627\u0644\u0629",statuses:{degraded:"\u0645\u062A\u062F\u0647\u0648\u0631",down:"\u0645\u0639\u0637\u0644",error:"\u062E\u0637\u0623",inactive:"\u063A\u064A\u0631 \u0646\u0634\u0637",started:"\u0628\u062F\u0623",unknown:"\u0645\u0639\u0644\u0642",up:"\u0646\u0634\u0637"},summary:"\u0645\u0644\u062E\u0635 \u0627\u0644\u0635\u062D\u0629",worker:"\u0639\u0627\u0645\u0644",workers:{dht_crawler:"\u0632\u0627\u062D\u0641 DHT",http_server:"\u062E\u0627\u062F\u0645 HTTP",queue_server:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0637\u0627\u0628\u0648\u0631"}},languages:{af:"\u0627\u0644\u0623\u0641\u0631\u064A\u0643\u0627\u0646\u064A\u0629",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",az:"\u0627\u0644\u0623\u0630\u0631\u0628\u064A\u062C\u0627\u0646\u064A\u0629",be:"\u0627\u0644\u0628\u064A\u0644\u0627\u0631\u0648\u0633\u064A\u0629",bg:"\u0627\u0644\u0628\u0644\u063A\u0627\u0631\u064A\u0629",bs:"\u0627\u0644\u0628\u0648\u0633\u0646\u064A\u0629",ca:"\u0627\u0644\u0643\u0627\u062A\u0627\u0644\u0627\u0646\u064A\u0629",ce:"\u0627\u0644\u0634\u064A\u0634\u0627\u0646\u064A\u0629",co:"\u0627\u0644\u0643\u0648\u0631\u0633\u064A\u0643\u064A\u0629",cs:"\u0627\u0644\u062A\u0634\u064A\u0643\u064A\u0629",cy:"\u0627\u0644\u0648\u064A\u0644\u0632\u064A\u0629",da:"\u0627\u0644\u062F\u0627\u0646\u0645\u0627\u0631\u0643\u064A\u0629",de:"\u0627\u0644\u0623\u0644\u0645\u0627\u0646\u064A\u0629",el:"\u0627\u0644\u064A\u0648\u0646\u0627\u0646\u064A\u0629",en:"\u0627\u0644\u0625\u0646\u062C\u0644\u064A\u0632\u064A\u0629",es:"\u0627\u0644\u0625\u0633\u0628\u0627\u0646\u064A\u0629",et:"\u0627\u0644\u0625\u0633\u062A\u0648\u0646\u064A\u0629",eu:"\u0627\u0644\u0628\u0627\u0633\u0643\u064A\u0629",fa:"\u0627\u0644\u0641\u0627\u0631\u0633\u064A\u0629",fi:"\u0627\u0644\u0641\u0646\u0644\u0646\u062F\u064A\u0629",fr:"\u0627\u0644\u0641\u0631\u0646\u0633\u064A\u0629",he:"\u0627\u0644\u0639\u0628\u0631\u064A\u0629",hi:"\u0627\u0644\u0647\u0646\u062F\u064A\u0629",hr:"\u0627\u0644\u0643\u0631\u0648\u0627\u062A\u064A\u0629",hu:"\u0627\u0644\u0647\u0646\u063A\u0627\u0631\u064A\u0629",hy:"\u0627\u0644\u0623\u0631\u0645\u0646\u064A\u0629",id:"\u0627\u0644\u0625\u0646\u062F\u0648\u0646\u064A\u0633\u064A\u0629",is:"\u0627\u0644\u0623\u064A\u0633\u0644\u0646\u062F\u064A\u0629",it:"\u0627\u0644\u0625\u064A\u0637\u0627\u0644\u064A\u0629",ja:"\u0627\u0644\u064A\u0627\u0628\u0627\u0646\u064A\u0629",ka:"\u0627\u0644\u062C\u0648\u0631\u062C\u064A\u0629",ko:"\u0627\u0644\u0643\u0648\u0631\u064A\u0629",ku:"\u0627\u0644\u0643\u0631\u062F\u064A\u0629",lt:"\u0627\u0644\u0644\u064A\u062A\u0648\u0627\u0646\u064A\u0629",lv:"\u0627\u0644\u0644\u0627\u062A\u0641\u064A\u0629",mi:"\u0627\u0644\u0645\u0627\u0648\u0631\u064A\u0629",mk:"\u0627\u0644\u0645\u0642\u062F\u0648\u0646\u064A\u0629",ml:"\u0627\u0644\u0645\u0627\u0644\u0627\u064A\u0627\u0644\u0627\u0645\u064A\u0629",mn:"\u0627\u0644\u0645\u0646\u063A\u0648\u0644\u064A\u0629",ms:"\u0627\u0644\u0645\u0644\u0627\u064A\u0648\u064A\u0629",mt:"\u0627\u0644\u0645\u0627\u0644\u0637\u064A\u0629",nl:"\u0627\u0644\u0647\u0648\u0644\u0646\u062F\u064A\u0629",no:"\u0627\u0644\u0646\u0631\u0648\u064A\u062C\u064A\u0629",pl:"\u0627\u0644\u0628\u0648\u0644\u0646\u062F\u064A\u0629",pt:"\u0627\u0644\u0628\u0631\u062A\u063A\u0627\u0644\u064A\u0629",ro:"\u0627\u0644\u0631\u0648\u0645\u0627\u0646\u064A\u0629",ru:"\u0627\u0644\u0631\u0648\u0633\u064A\u0629",sa:"\u0627\u0644\u0633\u0646\u0633\u0643\u0631\u064A\u062A\u064A\u0629",sk:"\u0627\u0644\u0633\u0644\u0648\u0641\u0627\u0643\u064A\u0629",sl:"\u0627\u0644\u0633\u0644\u0648\u0641\u064A\u0646\u064A\u0629",sm:"\u0627\u0644\u0633\u0627\u0645\u0648\u064A\u0629",so:"\u0627\u0644\u0635\u0648\u0645\u0627\u0644\u064A\u0629",sr:"\u0627\u0644\u0635\u0631\u0628\u064A\u0629",sv:"\u0627\u0644\u0633\u0648\u064A\u062F\u064A\u0629",ta:"\u0627\u0644\u062A\u0627\u0645\u064A\u0644\u064A\u0629",th:"\u0627\u0644\u062A\u0627\u064A\u0644\u0627\u0646\u062F\u064A\u0629",tr:"\u0627\u0644\u062A\u0631\u0643\u064A\u0629",uk:"\u0627\u0644\u0623\u0648\u0643\u0631\u0627\u0646\u064A\u0629",vi:"\u0627\u0644\u0641\u064A\u062A\u0646\u0627\u0645\u064A\u0629",yi:"\u0627\u0644\u064A\u062F\u064A\u0634\u064A\u0629",zh:"\u0627\u0644\u0635\u064A\u0646\u064A\u0629",zu:"\u0627\u0644\u0632\u0648\u0644\u0648"},layout:{bitmagnet_on_service:"bitmagnet \u0639\u0644\u0649 {{service}}",change_theme:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0633\u0645\u0629",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",sponsor:"\u0627\u0644\u0631\u0627\u0639\u064A",support_bitmagnet:"\u062F\u0639\u0645 bitmagnet",translate:"\u062A\u0631\u062C\u0645\u0629"},paginator:{first_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u0648\u0644\u0649",items_per_page:"\u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0644\u0643\u0644 \u0635\u0641\u062D\u0629",last_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u062E\u064A\u0631\u0629",next_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629",previous_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",x_to_y:"{{x}} \u0625\u0644\u0649 {{y}}",x_to_y_of_y:"__\u0645\u0641\u0642\u0648\u062F__",x_to_y_of_z:"{{x}} \u0625\u0644\u0649 {{y}} \u0645\u0646 {{z}}"},routes:{admin:"\u0627\u0644\u0645\u0633\u0624\u0648\u0644",dashboard:"\u0644\u0648\u062D\u0629 \u0627\u0644\u062A\u062D\u0643\u0645",home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",jobs:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",torrents:"\u0627\u0644\u062A\u0648\u0631\u0646\u062A",visualize:"\u062A\u0635\u0648\u0631"},torrents:{clear_search:"\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B",copy:"\u0646\u0633\u062E",copy_to_clipboard:"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629",delete:"\u062D\u0630\u0641",delete_action_cannot_be_undone:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u0627\u0644\u062A\u0631\u0627\u062C\u0639 \u0639\u0646 \u0647\u0630\u0627 \u0627\u0644\u0625\u062C\u0631\u0627\u0621",delete_are_you_sure:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062D\u0630\u0641 \u0647\u0630\u0627 \u0627\u0644\u062A\u0648\u0631\u0646\u062A\u061F",deselect_all:"\u0625\u0644\u063A\u0627\u0621 \u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",download:"\u062A\u0646\u0632\u064A\u0644",download_confirm:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0645\u0646 \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062A\u0646\u0632\u064A\u0644 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629\u061F",edit_tags:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",episodes:"\u0627\u0644\u062D\u0644\u0642\u0627\u062A",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",file_index:"\u0641\u0647\u0631\u0633 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",file_path:"\u0645\u0633\u0627\u0631 \u0627\u0644\u0645\u0644\u0641",file_size:"\u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",files:"\u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_count_n:"{{count}} \u0645\u0644\u0641\u0627\u062A",files_no_info:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0646 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_single:"\u0645\u0644\u0641 \u0648\u0627\u062D\u062F",genres:"\u0627\u0644\u0623\u0646\u0648\u0627\u0639",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",info_hashes:"\u062A\u062C\u0632\u0626\u0627\u062A \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",languages:"\u0627\u0644\u0644\u063A\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",magnet:"\u0645\u063A\u0646\u0627\u0637\u064A\u0633",magnet_links:"\u0631\u0648\u0627\u0628\u0637 \u0645\u063A\u0646\u0627\u0637\u064A\u0633\u064A\u0629",new_tag:"\u0639\u0644\u0627\u0645\u0629 \u062C\u062F\u064A\u062F\u0629",order_by:"\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628",order_direction_toggle:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0627\u062A\u062C\u0627\u0647",ordering:{files_count:"\u0639\u062F\u062F \u0627\u0644\u0645\u0644\u0641\u0627\u062A",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",name:"\u0627\u0644\u0627\u0633\u0645",published_at:"\u0646\u0634\u0631 \u0641\u064A",relevance:"\u0627\u0644\u0635\u0644\u0629",seeders:"\u0627\u0644\u0645\u0632\u0627\u0631\u0639\u0648\u0646",size:"\u0627\u0644\u062D\u062C\u0645",updated_at:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0641\u064A"},original_release_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0635\u062F\u0627\u0631 \u0627\u0644\u0623\u0635\u0644\u064A",permalink:"\u0631\u0627\u0628\u0637 \u062F\u0627\u0626\u0645",poster:"\u0645\u0644\u0635\u0642",published:"\u0645\u0646\u0634\u0648\u0631",rating:"\u0627\u0644\u062A\u0642\u064A\u064A\u0645",refresh:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u062A\u0627\u0626\u062C",s_l:"S / L",search:"\u0628\u062D\u062B",seeders:"\u0627\u0644\u0628\u0627\u0630\u0631\u0648\u0646",select_all:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",showing_x_of_y_files:"\u0639\u0631\u0636 {{x}} \u0645\u0646 {{y}} \u0645\u0644\u0641\u0627\u062A",size:"\u0627\u0644\u062D\u062C\u0645",source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",summary:"\u0627\u0644\u0645\u0644\u062E\u0635",tags:{delete:"\u062D\u0630\u0641 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",delete_tip:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0645\u0646 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",placeholder:"\u0627\u0644\u0639\u0644\u0627\u0645\u0629...",put:"\u0648\u0636\u0639 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",put_tip:"\u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0625\u0644\u0649 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",set:"\u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",set_tip:"\u0627\u0633\u062A\u0628\u062F\u0627\u0644 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0641\u064A \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629"},title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",toggle_drawer:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u062F\u0631\u062C",votes_count_n:"{{count}} \u0623\u0635\u0648\u0627\u062A"},version:{bitmagnet_version:"\u0625\u0635\u062F\u0627\u0631 bitmagnet {{version}}",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641"}};var Je={content_types:{plural:{all:"Alle",audiobook:"H\xF6rb\xFCcher",comic:"Comics",ebook:"E-B\xFCcher",movie:"Filme",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Shows",xxx:"XXX"},singular:{audiobook:"H\xF6rbuch",comic:"Comic",ebook:"E-Buch",movie:"Film",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Show",xxx:"XXX"}},dashboard:{event:{created:"Erstellt",failed:"Fehlgeschlagen",processed:"Verarbeitet",updated:"Aktualisiert"},interval:{all:"Alle",days:"Tage",days_1:"1 Tag",hours:"Stunden",hours_1:"1 Stunde",hours_12:"12 Stunden",hours_6:"6 Stunden",minutes:"Minuten",minutes_1:"1 Minute",minutes_15:"15 Minuten",minutes_30:"30 Minuten",minutes_5:"5 Minuten",off:"Aus",seconds_10:"10 Sekunden",seconds_30:"30 Sekunden",weeks_1:"1 Woche"},metrics:{event:"Ereignis",resolution:"Aufl\xF6sung",throughput:"Durchsatz",timeframe:"Zeitrahmen"},queues:{created:"Erstellt",created_at:"Erstellt am",enqueue_jobs:"Jobs einreihen",enqueue_torrent_processing_batch:"Torrent-Verarbeitungsbatch einreihen",failed:"Fehlgeschlagen",force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",jobs_enqueued:"Jobs eingereiht",latency:"Latenz",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",payload:"Nutzlast",pending:"Ausstehend",priority:"Priorit\xE4t",process_orphaned_torrents_only:"Nur verwaiste Torrents verarbeiten",processed:"Verarbeitet",purge_jobs:"Jobs bereinigen",purge_queue_jobs:"Warteschlangen-Jobs bereinigen",queue:"Warteschlange",queue_purged:"Warteschlange bereinigt",queues:"Warteschlangen",ran_at:"Ausgef\xFChrt am",retry:"Erneut versuchen",total_counts_by_status:"Gesamtanzahl nach Status"}},facets:{content_type:"Inhaltstyp",file_type:"Dateityp",genre:"Genre",language:"Sprache",queue:"Warteschlange",status:"Status",torrent_source:"Torrent-Quelle",torrent_tag:"Torrent-Tag",video_resolution:"Videoaufl\xF6sung",video_source:"Videoquelle"},file_types:{archive:"Archiv",audio:"Audio",data:"Daten",document:"Dokument",image:"Bild",software:"Software",subtitles:"Untertitel",unknown:"Unbekannt",video:"Video"},general:{all:"Alle",dismiss:"Verwerfen",error:"Fehler",none:"Keine",page_not_found:"Seite nicht gefunden",refresh:"Aktualisieren",status:"Status"},health:{bitmagnet_is_status:"bitmagnet ist {{status}}",check_failed_with_error:"\xDCberpr\xFCfung mit Fehler fehlgeschlagen",component:"Komponente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Verwerfen",error:"Fehler",status:"Status",statuses:{degraded:"Verschlechtert",down:"Aus",error:"Fehler",inactive:"Inaktiv",started:"Gestartet",unknown:"Ausstehend",up:"An"},summary:"Gesundheits\xFCbersicht",worker:"Arbeiter",workers:{dht_crawler:"DHT-Crawler",http_server:"HTTP-Server",queue_server:"Warteschlangen-Server"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Aserbaidschanisch",be:"Wei\xDFrussisch",bg:"Bulgarisch",bs:"Bosnisch",ca:"Katalanisch",ce:"Tschetschenisch",co:"Korsisch",cs:"Tschechisch",cy:"Walisisch",da:"D\xE4nisch",de:"Deutsch",el:"Griechisch",en:"Englisch",es:"Spanisch",et:"Estnisch",eu:"Baskisch",fa:"Persisch",fi:"Finnisch",fr:"Franz\xF6sisch",he:"Hebr\xE4isch",hi:"Hindi",hr:"Kroatisch",hu:"Ungarisch",hy:"Armenisch",id:"Indonesisch",is:"Isl\xE4ndisch",it:"Italienisch",ja:"Japanisch",ka:"Georgisch",ko:"Koreanisch",ku:"Kurdisch",lt:"Litauisch",lv:"Lettisch",mi:"Maori",mk:"Mazedonisch",ml:"Malayalam",mn:"Mongolisch",ms:"Malaiisch",mt:"Maltesisch",nl:"Niederl\xE4ndisch",no:"Norwegisch",pl:"Polnisch",pt:"Portugiesisch",ro:"Rum\xE4nisch",ru:"Russisch",sa:"Sanskrit",sk:"Slowakisch",sl:"Slowenisch",sm:"Samoanisch",so:"Somalisch",sr:"Serbisch",sv:"Schwedisch",ta:"Tamil",th:"Thai",tr:"T\xFCrkisch",uk:"Ukrainisch",vi:"Vietnamesisch",yi:"Jiddisch",zh:"Chinesisch",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet auf {{service}}",change_theme:"Thema \xE4ndern",external_links:"Externe Links",sponsor:"Sponsor",support_bitmagnet:"bitmagnet unterst\xFCtzen",translate:"\xDCbersetzen"},paginator:{first_page:"Erste Seite",items_per_page:"Artikel pro Seite",last_page:"Letzte Seite",next_page:"N\xE4chste Seite",previous_page:"Vorherige Seite",x_to_y:"{{x}} bis {{y}}",x_to_y_of_y:"__fehlend__",x_to_y_of_z:"{{x}} bis {{y}} von {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Startseite",jobs:"Aufgaben",queues:"Warteschlangen",torrents:"Torrents",visualize:"Visualisieren"},torrents:{clear_search:"Suche l\xF6schen",copy:"Kopieren",copy_to_clipboard:"In die Zwischenablage kopieren",delete:"L\xF6schen",delete_action_cannot_be_undone:"Diese Aktion kann nicht r\xFCckg\xE4ngig gemacht werden",delete_are_you_sure:"Sind Sie sicher, dass Sie diesen Torrent l\xF6schen m\xF6chten?",deselect_all:"Alle abw\xE4hlen",download:"Herunterladen",download_confirm:"M\xF6chten Sie die ausgew\xE4hlten Torrents wirklich herunterladen?",edit_tags:"Tags bearbeiten",episodes:"Episoden",external_links:"Externe Links",file_index:"Dateiindex",file_path:"Dateipfad",file_size:"Dateigr\xF6\xDFe",file_type:"Dateityp",files:"Dateien",files_count_n:"{{count}} Dateien",files_no_info:"Keine Dateiinformationen verf\xFCgbar",files_single:"Einzelne Datei",genres:"Genres",info_hash:"Info-Hash",info_hashes:"Info-Hashes",languages:"Sprachen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-Links",new_tag:"Neuer Tag",order_by:"Sortieren nach",order_direction_toggle:"Richtung umschalten",ordering:{files_count:"Dateienanzahl",info_hash:"Info-Hash",leechers:"Leechers",name:"Name",published_at:"Ver\xF6ffentlicht am",relevance:"Relevanz",seeders:"Seeders",size:"Gr\xF6\xDFe",updated_at:"Aktualisiert am"},original_release_date:"Originales Ver\xF6ffentlichungsdatum",permalink:"Permalink",poster:"Poster",published:"Ver\xF6ffentlicht",rating:"Bewertung",refresh:"Ergebnisse aktualisieren",s_l:"S / L",search:"Suche",seeders:"Seeders",select_all:"Alle ausw\xE4hlen",showing_x_of_y_files:"{{x}} von {{y}} Dateien anzeigen",size:"Gr\xF6\xDFe",source:"Torrent-Quelle",summary:"Zusammenfassung",tags:{delete:"Tags l\xF6schen",delete_tip:"Tags aus den ausgew\xE4hlten Torrents entfernen",placeholder:"Tag...",put:"Tags setzen",put_tip:"Tags zu den ausgew\xE4hlten Torrents hinzuf\xFCgen",set:"Tags setzen",set_tip:"Tags der ausgew\xE4hlten Torrents ersetzen"},title:"Titel",toggle_drawer:"Schublade umschalten",votes_count_n:"{{count}} Stimmen"},version:{bitmagnet_version:"bitmagnet Version {{version}}",unknown:"unbekannt"}};var Ze={content_types:{plural:{all:"All",audiobook:"Audiobooks",comic:"Comics",ebook:"E-Books",movie:"Movies",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Shows",xxx:"XXX"},singular:{audiobook:"Audiobook",comic:"Comic",ebook:"E-Book",movie:"Movie",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Show",xxx:"XXX"}},dashboard:{event:{created:"Created",failed:"Failed",processed:"Processed",updated:"Updated"},interval:{all:"All",days:"Days",days_1:"1 day",hours:"Hours",hours_1:"1 hour",hours_12:"12 hours",hours_6:"6 hours",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"Off",seconds_10:"10 seconds",seconds_30:"30 seconds",weeks_1:"1 week"},metrics:{event:"Event",resolution:"Resolution",throughput:"Throughput",timeframe:"Timeframe"},queues:{created:"Created",created_at:"Created at",enqueue_jobs:"Enqueue jobs",enqueue_torrent_processing_batch:"Enqueue Torrent Processing Batch",failed:"Failed",force_rematch:"Force rematch of already matched content",jobs_enqueued:"Jobs enqueued",latency:"Latency",match_content_by_external_api_search:"Match content by external API search",match_content_by_local_search:"Match content by local search",payload:"Payload",pending:"Pending",priority:"Priority",process_orphaned_torrents_only:"Process orphaned torrents only",processed:"Processed",purge_jobs:"Purge jobs",purge_queue_jobs:"Purge queue jobs",queue:"Queue",queue_purged:"Queue purged",queues:"Queues",ran_at:"Ran at",retry:"Retry",total_counts_by_status:"Total counts by status"}},facets:{content_type:"Content Type",file_type:"File Type",genre:"Genre",language:"Language",queue:"Queue",status:"Status",torrent_source:"Torrent Source",torrent_tag:"Torrent Tag",video_resolution:"Video Resolution",video_source:"Video Source"},file_types:{archive:"Archive",audio:"Audio",data:"Data",document:"Document",image:"Image",software:"Software",subtitles:"Subtitles",unknown:"Unknown",video:"Video"},general:{all:"All",dismiss:"Dismiss",error:"Error",none:"None",page_not_found:"Page not found",refresh:"Refresh",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Check failed with error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Dismiss",error:"Error",status:"Status",statuses:{degraded:"Degraded",down:"Down",error:"Error",inactive:"Inactive",started:"Started",unknown:"Pending",up:"Up"},summary:"Health summary",worker:"Worker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Queue server"}},languages:{af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bs:"Bosnian",ca:"Catalan",ce:"Chechen",co:"Corsican",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",hy:"Armenian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",ms:"Malay",mt:"Maltese",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sa:"Sanskrit",sk:"Slovak",sl:"Slovenian",sm:"Samoan",so:"Somali",sr:"Serbian",sv:"Swedish",ta:"Tamil",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",yi:"Yiddish",zh:"Chinese",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet on {{service}}",change_theme:"Change theme",external_links:"External links",sponsor:"Sponsor",support_bitmagnet:"Support bitmagnet",translate:"Translate"},paginator:{first_page:"First page",items_per_page:"Items per page",last_page:"Last page",next_page:"Next page",previous_page:"Previous page",x_to_y:"{{x}} to {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} to {{y}} of {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Home",jobs:"Jobs",queues:"Queues",torrents:"Torrents",visualize:"Visualize"},torrents:{clear_search:"Clear Search",copy:"Copy",copy_to_clipboard:"Copy to clipboard",delete:"Delete",delete_action_cannot_be_undone:"This action cannot be undone",delete_are_you_sure:"Are you sure you want to delete this torrent?",deselect_all:"Deselect All",download:"Download",download_confirm:"Are you sure you want to download the selected torrents?",edit_tags:"Edit tags",episodes:"Episodes",external_links:"External links",file_index:"File index",file_path:"File path",file_size:"File size",file_type:"File type",files:"Files",files_count_n:"{{count}} files",files_no_info:"No files information available",files_single:"Single file",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Languages",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet links",new_tag:"New tag",order_by:"Order by",order_direction_toggle:"Toggle direction",ordering:{files_count:"Files count",info_hash:"Info hash",leechers:"Leechers",name:"Name",published_at:"Published at",relevance:"Relevance",seeders:"Seeders",size:"Size",updated_at:"Updated at"},original_release_date:"Original release date",permalink:"Permalink",poster:"Poster",published:"Published",rating:"Rating",refresh:"Refresh results",s_l:"S / L",search:"Search",seeders:"Seeders",select_all:"Select All",showing_x_of_y_files:"Showing {{x}} of {{y}} files",size:"Size",source:"Torrent Source",summary:"Summary",tags:{delete:"Delete tags",delete_tip:"Remove tags from the selected torrents",placeholder:"Tag...",put:"Put tags",put_tip:"Add tags to the selected torrents",set:"Set tags",set_tip:"Replace tags of the selected torrents"},title:"Title",toggle_drawer:"Toggle Drawer",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"bitmagnet version {{version}}",unknown:"unknown"}};var $e={content_types:{plural:{all:"Todos",audiobook:"Audiolibros",comic:"C\xF3mics",ebook:"E-Libros",movie:"Pel\xEDculas",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolibro",comic:"C\xF3mic",ebook:"E-Libro",movie:"Pel\xEDcula",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Creado",failed:"Fallido",processed:"Procesado",updated:"Actualizado"},interval:{all:"Todos",days:"D\xEDas",days_1:"1 d\xEDa",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Apagado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resoluci\xF3n",throughput:"Rendimiento",timeframe:"Periodo de tiempo"},queues:{created:"Creado",created_at:"Creado en",enqueue_jobs:"Encolar trabajos",enqueue_torrent_processing_batch:"Encolar lote de procesamiento de torrents",failed:"Fallido",force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",jobs_enqueued:"Trabajos encolados",latency:"Latencia",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",payload:"Carga \xFAtil",pending:"Pendiente",priority:"Prioridad",process_orphaned_torrents_only:"Procesar solo torrents hu\xE9rfanos",processed:"Procesado",purge_jobs:"Purgar trabajos",purge_queue_jobs:"Purgar trabajos de la cola",queue:"Cola",queue_purged:"Cola purgada",queues:"Colas",ran_at:"Ejecutado en",retry:"Reintentar",total_counts_by_status:"Recuento total por estado"}},facets:{content_type:"Tipo de contenido",file_type:"Tipo de archivo",genre:"G\xE9nero",language:"Idioma",queue:"Cola",status:"Estado",torrent_source:"Fuente del torrent",torrent_tag:"Etiqueta del torrent",video_resolution:"Resoluci\xF3n de video",video_source:"Fuente de video"},file_types:{archive:"Archivo",audio:"Audio",data:"Datos",document:"Documento",image:"Imagen",software:"Software",subtitles:"Subt\xEDtulos",unknown:"Desconocido",video:"Video"},general:{all:"Todos",dismiss:"Descartar",error:"Error",none:"Ninguno",page_not_found:"P\xE1gina no encontrada",refresh:"Actualizar",status:"Estado"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"La verificaci\xF3n fall\xF3 con error",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Descartar",error:"Error",status:"Estado",statuses:{degraded:"Degradado",down:"Ca\xEDdo",error:"Error",inactive:"Inactivo",started:"Iniciado",unknown:"Pendiente",up:"Activo"},summary:"Resumen de salud",worker:"Trabajador",workers:{dht_crawler:"Rastreador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de colas"}},languages:{af:"Afrik\xE1ans",ar:"\xC1rabe",az:"Azerbaiyano",be:"Bielorruso",bg:"B\xFAlgaro",bs:"Bosnio",ca:"Catal\xE1n",ce:"Checheno",co:"Corso",cs:"Checo",cy:"Gal\xE9s",da:"Dan\xE9s",de:"Alem\xE1n",el:"Griego",en:"Ingl\xE9s",es:"Espa\xF1ol",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finland\xE9s",fr:"Franc\xE9s",he:"Hebreo",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Armenio",id:"Indonesio",is:"Island\xE9s",it:"Italiano",ja:"Japon\xE9s",ka:"Georgiano",ko:"Coreano",ku:"Kurdo",lt:"Lituano",lv:"Let\xF3n",mi:"Maor\xED",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",ms:"Malayo",mt:"Malt\xE9s",nl:"Neerland\xE9s",no:"Noruego",pl:"Polaco",pt:"Portugu\xE9s",ro:"Rumano",ru:"Ruso",sa:"S\xE1nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somal\xED",sr:"Serbio",sv:"Sueco",ta:"Tamil",th:"Tailand\xE9s",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"Yidis",zh:"Chino",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet en {{service}}",change_theme:"Cambiar tema",external_links:"Enlaces externos",sponsor:"Patrocinador",support_bitmagnet:"Apoyar bitmagnet",translate:"Traducir"},paginator:{first_page:"Primera p\xE1gina",items_per_page:"Elementos por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"P\xE1gina siguiente",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_y:"__faltante__",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Admin",dashboard:"Tablero",home:"Inicio",jobs:"Trabajos",queues:"Colas",torrents:"Torrents",visualize:"Visualizar"},torrents:{clear_search:"Borrar b\xFAsqueda",copy:"Copiar",copy_to_clipboard:"Copiar al portapapeles",delete:"Eliminar",delete_action_cannot_be_undone:"Esta acci\xF3n no se puede deshacer",delete_are_you_sure:"\xBFEst\xE1 seguro de que desea eliminar este torrent?",deselect_all:"Deseleccionar todo",download:"Descargar",download_confirm:"\xBFEst\xE1s seguro de que deseas descargar los torrents seleccionados?",edit_tags:"Editar etiquetas",episodes:"Episodios",external_links:"Enlaces externos",file_index:"\xCDndice de archivos",file_path:"Ruta del archivo",file_size:"Tama\xF1o del archivo",file_type:"Tipo de archivo",files:"Archivos",files_count_n:"{{count}} archivos",files_no_info:"No hay informaci\xF3n de archivos disponible",files_single:"Archivo \xFAnico",genres:"G\xE9neros",info_hash:"Hash de informaci\xF3n",info_hashes:"Hashes de informaci\xF3n",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Enlaces Magnet",new_tag:"Nueva etiqueta",order_by:"Ordenar por",order_direction_toggle:"Alternar direcci\xF3n",ordering:{files_count:"Recuento de archivos",info_hash:"Hash de informaci\xF3n",leechers:"Leechers",name:"Nombre",published_at:"Publicado en",relevance:"Relevancia",seeders:"Seeders",size:"Tama\xF1o",updated_at:"Actualizado en"},original_release_date:"Fecha de lanzamiento original",permalink:"Enlace permanente",poster:"P\xF3ster",published:"Publicado",rating:"Calificaci\xF3n",refresh:"Actualizar resultados",s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Seleccionar todo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} archivos",size:"Tama\xF1o",source:"Fuente del torrent",summary:"Resumen",tags:{delete:"Eliminar etiquetas",delete_tip:"Eliminar etiquetas de los torrents seleccionados",placeholder:"Etiqueta...",put:"Poner etiquetas",put_tip:"A\xF1adir etiquetas a los torrents seleccionados",set:"Establecer etiquetas",set_tip:"Reemplazar etiquetas de los torrents seleccionados"},title:"T\xEDtulo",toggle_drawer:"Alternar caj\xF3n",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"versi\xF3n de bitmagnet {{version}}",unknown:"desconocido"}};var et={content_types:{plural:{all:"Tous",audiobook:"Livres audio",comic:"Bandes dessin\xE9es",ebook:"E-livres",movie:"Films",music:"Musique",null:"Inconnu",software:"Logiciels",tv_show:"S\xE9ries TV",xxx:"XXX"},singular:{audiobook:"Livre audio",comic:"Bande dessin\xE9e",ebook:"E-livre",movie:"Film",music:"Musique",null:"Inconnu",software:"Logiciel",tv_show:"S\xE9rie TV",xxx:"XXX"}},dashboard:{event:{created:"Cr\xE9\xE9",failed:"\xC9chou\xE9",processed:"Trait\xE9",updated:"Mis \xE0 jour"},interval:{all:"Tous",days:"Jours",days_1:"1 jour",hours:"Heures",hours_1:"1 heure",hours_12:"12 heures",hours_6:"6 heures",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"D\xE9sactiv\xE9",seconds_10:"10 secondes",seconds_30:"30 secondes",weeks_1:"1 semaine"},metrics:{event:"\xC9v\xE9nement",resolution:"R\xE9solution",throughput:"D\xE9bit",timeframe:"P\xE9riode"},queues:{created:"Cr\xE9\xE9",created_at:"Cr\xE9\xE9 \xE0",enqueue_jobs:"Enfilez les t\xE2ches",enqueue_torrent_processing_batch:"Enfilez le traitement des torrents",failed:"\xC9chou\xE9",force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",jobs_enqueued:"T\xE2ches enfil\xE9es",latency:"Latence",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",payload:"Charge utile",pending:"En attente",priority:"Priorit\xE9",process_orphaned_torrents_only:"Traiter uniquement les torrents orphelins",processed:"Trait\xE9",purge_jobs:"Purger les t\xE2ches",purge_queue_jobs:"Purger les t\xE2ches de la file d'attente",queue:"File d'attente",queue_purged:"File d'attente purg\xE9e",queues:"Files d'attente",ran_at:"Ex\xE9cut\xE9 \xE0",retry:"R\xE9essayer",total_counts_by_status:"Totaux par statut"}},facets:{content_type:"Type de contenu",file_type:"Type de fichier",genre:"Genre",language:"Langue",queue:"File d'attente",status:"Statut",torrent_source:"Source du torrent",torrent_tag:"Tag du torrent",video_resolution:"R\xE9solution vid\xE9o",video_source:"Source vid\xE9o"},file_types:{archive:"Archive",audio:"Audio",data:"Donn\xE9es",document:"Document",image:"Image",software:"Logiciel",subtitles:"Sous-titres",unknown:"Inconnu",video:"Vid\xE9o"},general:{all:"Tous",dismiss:"Rejeter",error:"Erreur",none:"Aucun",page_not_found:"Page non trouv\xE9e",refresh:"Rafra\xEEchir",status:"Statut"},health:{bitmagnet_is_status:"bitmagnet est {{status}}",check_failed_with_error:"V\xE9rification \xE9chou\xE9e avec erreur",component:"Composant",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Rejeter",error:"Erreur",status:"Statut",statuses:{degraded:"D\xE9grad\xE9",down:"Hors ligne",error:"Erreur",inactive:"Inactif",started:"D\xE9marr\xE9",unknown:"En attente",up:"En ligne"},summary:"R\xE9sum\xE9 de la sant\xE9",worker:"Travailleur",workers:{dht_crawler:"Explorateur DHT",http_server:"Serveur HTTP",queue_server:"Serveur de file d'attente"}},languages:{af:"Afrikaans",ar:"Arabe",az:"Azerba\xEFdjanais",be:"Bi\xE9lorusse",bg:"Bulgare",bs:"Bosniaque",ca:"Catalan",ce:"Tch\xE9tch\xE8ne",co:"Corse",cs:"Tch\xE8que",cy:"Gallois",da:"Danois",de:"Allemand",el:"Grec",en:"Anglais",es:"Espagnol",et:"Estonien",eu:"Basque",fa:"Persan",fi:"Finnois",fr:"Fran\xE7ais",he:"H\xE9breu",hi:"Hindi",hr:"Croate",hu:"Hongrois",hy:"Arm\xE9nien",id:"Indon\xE9sien",is:"Islandais",it:"Italien",ja:"Japonais",ka:"G\xE9orgien",ko:"Cor\xE9en",ku:"Kurde",lt:"Lituanien",lv:"Letton",mi:"Maori",mk:"Mac\xE9donien",ml:"Malayalam",mn:"Mongol",ms:"Malais",mt:"Maltais",nl:"N\xE9erlandais",no:"Norv\xE9gien",pl:"Polonais",pt:"Portugais",ro:"Roumain",ru:"Russe",sa:"Sanskrit",sk:"Slovaque",sl:"Slov\xE8ne",sm:"Samoan",so:"Somali",sr:"Serbe",sv:"Su\xE9dois",ta:"Tamoul",th:"Tha\xEF",tr:"Turc",uk:"Ukrainien",vi:"Vietnamien",yi:"Yiddish",zh:"Chinois",zu:"Zoulou"},layout:{bitmagnet_on_service:"bitmagnet sur {{service}}",change_theme:"Changer de th\xE8me",external_links:"Liens externes",sponsor:"Sponsor",support_bitmagnet:"Soutenir bitmagnet",translate:"Traduire"},paginator:{first_page:"Premi\xE8re page",items_per_page:"Articles par page",last_page:"Derni\xE8re page",next_page:"Page suivante",previous_page:"Page pr\xE9c\xE9dente",x_to_y:"{{x}} \xE0 {{y}}",x_to_y_of_y:"__manquant__",x_to_y_of_z:"{{x}} \xE0 {{y}} de {{z}}"},routes:{admin:"Admin",dashboard:"Tableau de bord",home:"Accueil",jobs:"T\xE2ches",queues:"Files d'attente",torrents:"Torrents",visualize:"Visualiser"},torrents:{clear_search:"Effacer la recherche",copy:"Copier",copy_to_clipboard:"Copier dans le presse-papiers",delete:"Supprimer",delete_action_cannot_be_undone:"Cette action ne peut pas \xEAtre annul\xE9e",delete_are_you_sure:"\xCAtes-vous s\xFBr de vouloir supprimer ce torrent?",deselect_all:"Tout d\xE9s\xE9lectionner",download:"T\xE9l\xE9charger",download_confirm:"\xCAtes-vous s\xFBr de vouloir t\xE9l\xE9charger les torrents s\xE9lectionn\xE9s ?",edit_tags:"Modifier les tags",episodes:"\xC9pisodes",external_links:"Liens externes",file_index:"Index de fichier",file_path:"Chemin de fichier",file_size:"Taille de fichier",file_type:"Type de fichier",files:"Fichiers",files_count_n:"{{count}} fichiers",files_no_info:"Aucune information sur les fichiers disponible",files_single:"Fichier unique",genres:"Genres",info_hash:"Hash d'info",info_hashes:"Hashes d'info",languages:"Langues",leechers:"Leechers",magnet:"Magnet",magnet_links:"Liens Magnet",new_tag:"Nouveau tag",order_by:"Trier par",order_direction_toggle:"Basculer la direction",ordering:{files_count:"Nombre de fichiers",info_hash:"Hash d'info",leechers:"Leechers",name:"Nom",published_at:"Publi\xE9 \xE0",relevance:"Pertinence",seeders:"Seeders",size:"Taille",updated_at:"Mis \xE0 jour \xE0"},original_release_date:"Date de sortie originale",permalink:"Permalien",poster:"Affiche",published:"Publi\xE9",rating:"\xC9valuation",refresh:"Rafra\xEEchir les r\xE9sultats",s_l:"S / L",search:"Rechercher",seeders:"Seeders",select_all:"Tout s\xE9lectionner",showing_x_of_y_files:"Affichage de {{x}} sur {{y}} fichiers",size:"Taille",source:"Source du torrent",summary:"R\xE9sum\xE9",tags:{delete:"Supprimer les tags",delete_tip:"Supprimer les tags des torrents s\xE9lectionn\xE9s",placeholder:"Tag...",put:"Mettre des tags",put_tip:"Ajouter des tags aux torrents s\xE9lectionn\xE9s",set:"D\xE9finir des tags",set_tip:"Remplacer les tags des torrents s\xE9lectionn\xE9s"},title:"Titre",toggle_drawer:"Basculer le tiroir",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"version bitmagnet {{version}}",unknown:"inconnu"}};var tt={content_types:{plural:{all:"\u0938\u092D\u0940",audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915\u094D\u0938",comic:"\u0915\u0949\u092E\u093F\u0915\u094D\u0938",ebook:"\u0908-\u092C\u0941\u0915\u094D\u0938",movie:"\u092B\u093C\u093F\u0932\u094D\u092E\u0947\u0902",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"},singular:{audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915",comic:"\u0915\u0949\u092E\u093F\u0915",ebook:"\u0908-\u092C\u0941\u0915",movie:"\u092B\u093C\u093F\u0932\u094D\u092E",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"}},dashboard:{event:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",failed:"\u0905\u0938\u092B\u0932",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",updated:"\u0905\u092A\u0921\u0947\u091F \u0915\u093F\u092F\u093E \u0917\u092F\u093E"},interval:{all:"\u0938\u092D\u0940",days:"\u0926\u093F\u0928",days_1:"1 \u0926\u093F\u0928",hours:"\u0918\u0902\u091F\u0947",hours_1:"1 \u0918\u0902\u091F\u093E",hours_12:"12 \u0918\u0902\u091F\u0947",hours_6:"6 \u0918\u0902\u091F\u0947",minutes:"\u092E\u093F\u0928\u091F",minutes_1:"1 \u092E\u093F\u0928\u091F",minutes_15:"15 \u092E\u093F\u0928\u091F",minutes_30:"30 \u092E\u093F\u0928\u091F",minutes_5:"5 \u092E\u093F\u0928\u091F",off:"\u092C\u0902\u0926",seconds_10:"10 \u0938\u0947\u0915\u0902\u0921",seconds_30:"30 \u0938\u0947\u0915\u0902\u0921",weeks_1:"1 \u0938\u092A\u094D\u0924\u093E\u0939"},metrics:{event:"\u0918\u091F\u0928\u093E",resolution:"\u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",throughput:"\u0925\u094D\u0930\u0942\u092A\u0941\u091F",timeframe:"\u0938\u092E\u092F \u0938\u0940\u092E\u093E"},queues:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",created_at:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",enqueue_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",enqueue_torrent_processing_batch:"\u091F\u094B\u0930\u0947\u0902\u091F \u092A\u094D\u0930\u094B\u0938\u0947\u0938\u093F\u0902\u0917 \u092C\u0948\u091A \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",failed:"\u0905\u0938\u092B\u0932",force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",jobs_enqueued:"\u091C\u0949\u092C\u094D\u0938 \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u0908 \u0917\u0908\u0902",latency:"\u0932\u0947\u091F\u0947\u0902\u0938\u0940",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",payload:"\u092A\u0947\u0932\u094B\u0921",pending:"\u092C\u0915\u093E\u092F\u093E",priority:"\u092A\u094D\u0930\u093E\u0925\u092E\u093F\u0915\u0924\u093E",process_orphaned_torrents_only:"\u0915\u0947\u0935\u0932 \u0905\u0928\u093E\u0925 \u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938 \u0915\u094B \u092A\u094D\u0930\u094B\u0938\u0947\u0938 \u0915\u0930\u0947\u0902",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",purge_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",purge_queue_jobs:"\u0915\u0924\u093E\u0930 \u0915\u0947 \u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",queue:"\u0915\u0924\u093E\u0930",queue_purged:"\u0915\u0924\u093E\u0930 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u093F\u092F\u093E \u0917\u092F\u093E",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",ran_at:"\u091A\u0932\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",retry:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",total_counts_by_status:"\u0938\u094D\u0925\u093F\u0924\u093F \u0926\u094D\u0935\u093E\u0930\u093E \u0915\u0941\u0932 \u0917\u0923\u0928\u093E"}},facets:{content_type:"\u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u092A\u094D\u0930\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",genre:"\u0936\u0948\u0932\u0940",language:"\u092D\u093E\u0937\u093E",queue:"\u0915\u0924\u093E\u0930",status:"\u0938\u094D\u0925\u093F\u0924\u093F",torrent_source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",torrent_tag:"\u091F\u094B\u0930\u0947\u0902\u091F \u091F\u0948\u0917",video_resolution:"\u0935\u0940\u0921\u093F\u092F\u094B \u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",video_source:"\u0935\u0940\u0921\u093F\u092F\u094B \u0938\u094D\u0930\u094B\u0924"},file_types:{archive:"\u0906\u0930\u094D\u0915\u093E\u0907\u0935",audio:"\u0911\u0921\u093F\u092F\u094B",data:"\u0921\u0947\u091F\u093E",document:"\u0926\u0938\u094D\u0924\u093E\u0935\u0947\u091C\u093C",image:"\u091B\u0935\u093F",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",subtitles:"\u0909\u092A\u0936\u0940\u0930\u094D\u0937\u0915",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924",video:"\u0935\u0940\u0921\u093F\u092F\u094B"},general:{all:"\u0938\u092D\u0940",dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",none:"\u0915\u094B\u0908 \u0928\u0939\u0940\u0902",page_not_found:"\u092A\u0943\u0937\u094D\u0920 \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E",refresh:"\u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",status:"\u0938\u094D\u0925\u093F\u0924\u093F"},health:{bitmagnet_is_status:"bitmagnet {{status}} \u0939\u0948",check_failed_with_error:"\u0924\u094D\u0930\u0941\u091F\u093F \u0915\u0947 \u0938\u093E\u0925 \u091C\u093E\u0902\u091A \u0935\u093F\u092B\u0932",component:"\u0918\u091F\u0915",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",status:"\u0938\u094D\u0925\u093F\u0924\u093F",statuses:{degraded:"\u0915\u094D\u0937\u0940\u0923",down:"\u092C\u0902\u0926",error:"\u0924\u094D\u0930\u0941\u091F\u093F",inactive:"\u0928\u093F\u0937\u094D\u0915\u094D\u0930\u093F\u092F",started:"\u0936\u0941\u0930\u0942 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",unknown:"\u0932\u0902\u092C\u093F\u0924",up:"\u091A\u093E\u0932\u0942"},summary:"\u0938\u094D\u0935\u093E\u0938\u094D\u0925\u094D\u092F \u0938\u093E\u0930\u093E\u0902\u0936",worker:"\u0915\u093E\u0930\u094D\u092F\u0915\u0930\u094D\u0924\u093E",workers:{dht_crawler:"DHT \u0915\u094D\u0930\u0949\u0932\u0930",http_server:"HTTP \u0938\u0930\u094D\u0935\u0930",queue_server:"\u0915\u0924\u093E\u0930 \u0938\u0930\u094D\u0935\u0930"}},languages:{af:"\u0905\u092B\u094D\u0930\u0940\u0915\u0940",ar:"\u0905\u0930\u092C\u0940",az:"\u0905\u091C\u093C\u0947\u0930\u0940",be:"\u092C\u0947\u0932\u093E\u0930\u0942\u0938\u0940",bg:"\u092C\u0941\u0932\u094D\u0917\u093E\u0930\u093F\u092F\u093E\u0908",bs:"\u092C\u094B\u0938\u094D\u0928\u093F\u092F\u093E\u0908",ca:"\u0915\u0948\u091F\u0932\u0928",ce:"\u091A\u0947\u091A\u0947\u0928",co:"\u0915\u094B\u0930\u094D\u0938\u093F\u0915\u0928",cs:"\u091A\u0947\u0915",cy:"\u0935\u0947\u0932\u094D\u0936",da:"\u0921\u0947\u0928\u093F\u0936",de:"\u091C\u0930\u094D\u092E\u0928",el:"\u0917\u094D\u0930\u0940\u0915",en:"\u0905\u0902\u0917\u094D\u0930\u0947\u091C\u0940",es:"\u0938\u094D\u092A\u0948\u0928\u093F\u0936",et:"\u090F\u0938\u094D\u0924\u094B\u0928\u093F\u092F\u093E\u0908",eu:"\u092C\u093E\u0938\u094D\u0915",fa:"\u092B\u093E\u0930\u0938\u0940",fi:"\u092B\u093C\u093F\u0928\u093F\u0936",fr:"\u092B\u094D\u0930\u0947\u0902\u091A",he:"\u0939\u093F\u092C\u094D\u0930\u0942",hi:"\u0939\u093F\u0902\u0926\u0940",hr:"\u0915\u094D\u0930\u094B\u090F\u0936\u093F\u092F\u093E\u0908",hu:"\u0939\u0902\u0917\u0947\u0930\u093F\u092F\u0928",hy:"\u0906\u0930\u094D\u092E\u0947\u0928\u093F\u092F\u093E\u0908",id:"\u0907\u0902\u0921\u094B\u0928\u0947\u0936\u093F\u092F\u093E\u0908",is:"\u0906\u0907\u0938\u0932\u0948\u0902\u0921\u093F\u0915",it:"\u0907\u0924\u093E\u0932\u0935\u0940",ja:"\u091C\u093E\u092A\u093E\u0928\u0940",ka:"\u091C\u0949\u0930\u094D\u091C\u093F\u092F\u093E\u0908",ko:"\u0915\u094B\u0930\u093F\u092F\u093E\u0908",ku:"\u0915\u0941\u0930\u094D\u0926\u0940",lt:"\u0932\u093F\u0925\u0941\u0906\u0928\u093F\u092F\u093E\u0908",lv:"\u0932\u093E\u0924\u0935\u093F\u092F\u093E\u0908",mi:"\u092E\u093E\u0913\u0930\u0940",mk:"\u092E\u0948\u0938\u093F\u0921\u094B\u0928\u093F\u092F\u093E\u0908",ml:"\u092E\u0932\u092F\u093E\u0932\u092E",mn:"\u092E\u0902\u0917\u094B\u0932\u093F\u092F\u093E\u0908",ms:"\u092E\u0932\u092F",mt:"\u092E\u093E\u0932\u094D\u091F\u0940\u091C\u093C",nl:"\u0921\u091A",no:"\u0928\u0949\u0930\u094D\u0935\u0947\u091C\u093F\u092F\u0928",pl:"\u092A\u094B\u0932\u093F\u0936",pt:"\u092A\u0941\u0930\u094D\u0924\u0917\u093E\u0932\u0940",ro:"\u0930\u094B\u092E\u093E\u0928\u093F\u092F\u093E\u0908",ru:"\u0930\u0942\u0938\u0940",sa:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924",sk:"\u0938\u094D\u0932\u094B\u0935\u093E\u0915",sl:"\u0938\u094D\u0932\u094B\u0935\u0947\u0928\u093F\u092F\u093E\u0908",sm:"\u0938\u093E\u092E\u094B\u0928",so:"\u0938\u094B\u092E\u093E\u0932\u0940",sr:"\u0938\u0930\u094D\u092C\u093F\u092F\u093E\u0908",sv:"\u0938\u094D\u0935\u0940\u0921\u093F\u0936",ta:"\u0924\u092E\u093F\u0932",th:"\u0925\u093E\u0908",tr:"\u0924\u0941\u0930\u094D\u0915\u0940",uk:"\u092F\u0942\u0915\u094D\u0930\u0947\u0928\u0940",vi:"\u0935\u093F\u092F\u0924\u0928\u093E\u092E\u0940",yi:"\u092F\u093F\u0926\u094D\u0926\u093F\u0936",zh:"\u091A\u0940\u0928\u0940",zu:"\u091C\u093C\u0941\u0932\u0941"},layout:{bitmagnet_on_service:"{{service}} \u092A\u0930 bitmagnet",change_theme:"\u0925\u0940\u092E \u092C\u0926\u0932\u0947\u0902",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",sponsor:"\u092A\u094D\u0930\u093E\u092F\u094B\u091C\u0915",support_bitmagnet:"bitmagnet \u0915\u094B \u0938\u092E\u0930\u094D\u0925\u0928 \u0926\u0947\u0902",translate:"\u0905\u0928\u0941\u0935\u093E\u0926 \u0915\u0930\u0947\u0902"},paginator:{first_page:"\u092A\u0939\u0932\u093E \u092A\u0943\u0937\u094D\u0920",items_per_page:"\u092A\u094D\u0930\u0924\u093F \u092A\u0943\u0937\u094D\u0920 \u0906\u0907\u091F\u092E",last_page:"\u0905\u0902\u0924\u093F\u092E \u092A\u0943\u0937\u094D\u0920",next_page:"\u0905\u0917\u0932\u093E \u092A\u0943\u0937\u094D\u0920",previous_page:"\u092A\u093F\u091B\u0932\u093E \u092A\u0943\u0937\u094D\u0920",x_to_y:"{{x}} \u0938\u0947 {{y}} \u0924\u0915",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u0938\u0947 {{y}} \u0924\u0915 {{z}} \u092E\u0947\u0902"},routes:{admin:"\u092A\u094D\u0930\u0936\u093E\u0938\u0915",dashboard:"\u0921\u0948\u0936\u092C\u094B\u0930\u094D\u0921",home:"\u0939\u094B\u092E",jobs:"\u0928\u094C\u0915\u0930\u093F\u092F\u093E\u0902",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",torrents:"\u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938",visualize:"\u0926\u0943\u0936\u094D\u092F \u0915\u0930\u0947\u0902"},torrents:{clear_search:"\u0916\u094B\u091C \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",copy:"\u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",copy_to_clipboard:"\u0915\u094D\u0932\u093F\u092A\u092C\u094B\u0930\u094D\u0921 \u092E\u0947\u0902 \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",delete:"\u0939\u091F\u093E\u090F\u0902",delete_action_cannot_be_undone:"\u092F\u0939 \u0915\u094D\u0930\u093F\u092F\u093E \u092A\u0942\u0930\u094D\u0935\u0935\u0924 \u0928\u0939\u0940\u0902 \u0915\u0940 \u091C\u093E \u0938\u0915\u0924\u0940",delete_are_you_sure:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u0907\u0938 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u094B \u0939\u091F\u093E\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",deselect_all:"\u0938\u092D\u0940 \u0915\u094B \u0905\u091A\u092F\u0928\u093F\u0924 \u0915\u0930\u0947\u0902",download:"\u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0947\u0902",download_confirm:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",edit_tags:"\u091F\u0948\u0917 \u0938\u0902\u092A\u093E\u0926\u093F\u0924 \u0915\u0930\u0947\u0902",episodes:"\u090F\u092A\u093F\u0938\u094B\u0921\u094D\u0938",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",file_index:"\u092B\u093C\u093E\u0907\u0932 \u0938\u0942\u091A\u0915\u093E\u0902\u0915",file_path:"\u092B\u093C\u093E\u0907\u0932 \u092A\u0925",file_size:"\u092B\u093C\u093E\u0907\u0932 \u0906\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",files:"\u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_count_n:"{{count}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_no_info:"\u0915\u094B\u0908 \u092B\u093C\u093E\u0907\u0932 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948",files_single:"\u090F\u0915\u0932 \u092B\u093C\u093E\u0907\u0932",genres:"\u0936\u0948\u0932\u093F\u092F\u093E\u0901",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",info_hashes:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936\u0947\u091C",languages:"\u092D\u093E\u0937\u093E\u090F\u0901",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",magnet:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F",magnet_links:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F \u0932\u093F\u0902\u0915",new_tag:"\u0928\u092F\u093E \u091F\u0948\u0917",order_by:"\u0915\u094D\u0930\u092E\u092C\u0926\u094D\u0927 \u0915\u0930\u0947\u0902",order_direction_toggle:"\u0926\u093F\u0936\u093E \u092C\u0926\u0932\u0947\u0902",ordering:{files_count:"\u092B\u093C\u093E\u0907\u0932\u094B\u0902 \u0915\u0940 \u0938\u0902\u0916\u094D\u092F\u093E",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",name:"\u0928\u093E\u092E",published_at:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924 \u0938\u092E\u092F",relevance:"\u092A\u094D\u0930\u093E\u0938\u0902\u0917\u093F\u0915\u0924\u093E",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",size:"\u0906\u0915\u093E\u0930",updated_at:"\u0905\u092A\u0921\u0947\u091F \u0938\u092E\u092F"},original_release_date:"\u092E\u0942\u0932 \u0930\u093F\u0932\u0940\u091C\u093C \u0924\u093F\u0925\u093F",permalink:"\u0938\u094D\u0925\u093E\u092F\u0940 \u0932\u093F\u0902\u0915",poster:"\u092A\u094B\u0938\u094D\u091F\u0930",published:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924",rating:"\u0930\u0947\u091F\u093F\u0902\u0917",refresh:"\u092A\u0930\u093F\u0923\u093E\u092E \u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",s_l:"S / L",search:"\u0916\u094B\u091C",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",select_all:"\u0938\u092D\u0940 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",showing_x_of_y_files:"{{x}} \u092E\u0947\u0902 \u0938\u0947 {{y}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902 \u0926\u093F\u0916\u093E \u0930\u0939\u093E \u0939\u0948",size:"\u0906\u0915\u093E\u0930",source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",summary:"\u0938\u093E\u0930\u093E\u0902\u0936",tags:{delete:"\u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",delete_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0938\u0947 \u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",placeholder:"\u091F\u0948\u0917...",put:"\u091F\u0948\u0917 \u0921\u093E\u0932\u0947\u0902",put_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u092E\u0947\u0902 \u091F\u0948\u0917 \u091C\u094B\u0921\u093C\u0947\u0902",set:"\u091F\u0948\u0917 \u0938\u0947\u091F \u0915\u0930\u0947\u0902",set_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u0947 \u091F\u0948\u0917 \u092C\u0926\u0932\u0947\u0902"},title:"\u0936\u0940\u0930\u094D\u0937\u0915",toggle_drawer:"\u0921\u094D\u0930\u0949\u0905\u0930 \u092C\u0926\u0932\u0947\u0902",votes_count_n:"{{count}} \u0935\u094B\u091F"},version:{bitmagnet_version:"bitmagnet \u0938\u0902\u0938\u094D\u0915\u0930\u0923 {{version}}",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924"}};var ot={content_types:{plural:{all:"\u3059\u3079\u3066",audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"},singular:{audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"}},dashboard:{event:{created:"\u4F5C\u6210\u6E08\u307F",failed:"\u5931\u6557",processed:"\u51E6\u7406\u6E08\u307F",updated:"\u66F4\u65B0\u6E08\u307F"},interval:{all:"\u3059\u3079\u3066",days:"\u65E5",days_1:"1\u65E5",hours:"\u6642\u9593",hours_1:"1\u6642\u9593",hours_12:"12\u6642\u9593",hours_6:"6\u6642\u9593",minutes:"\u5206",minutes_1:"1\u5206",minutes_15:"15\u5206",minutes_30:"30\u5206",minutes_5:"5\u5206",off:"\u30AA\u30D5",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u9031\u9593"},metrics:{event:"\u30A4\u30D9\u30F3\u30C8",resolution:"\u89E3\u50CF\u5EA6",throughput:"\u30B9\u30EB\u30FC\u30D7\u30C3\u30C8",timeframe:"\u671F\u9593"},queues:{created:"\u4F5C\u6210\u6E08\u307F",created_at:"\u4F5C\u6210\u65E5\u6642",enqueue_jobs:"\u30B8\u30E7\u30D6\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",enqueue_torrent_processing_batch:"\u30C8\u30EC\u30F3\u30C8\u51E6\u7406\u30D0\u30C3\u30C1\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",failed:"\u5931\u6557",force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",jobs_enqueued:"\u30AD\u30E5\u30FC\u306B\u8FFD\u52A0\u3055\u308C\u305F\u30B8\u30E7\u30D6",latency:"\u30EC\u30A4\u30C6\u30F3\u30B7",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",payload:"\u30DA\u30A4\u30ED\u30FC\u30C9",pending:"\u4FDD\u7559\u4E2D",priority:"\u512A\u5148\u9806\u4F4D",process_orphaned_torrents_only:"\u5B64\u7ACB\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u307F\u51E6\u7406\u3059\u308B",processed:"\u51E6\u7406\u6E08\u307F",purge_jobs:"\u30B8\u30E7\u30D6\u3092\u524A\u9664",purge_queue_jobs:"\u30AD\u30E5\u30FC\u5185\u306E\u30B8\u30E7\u30D6\u3092\u524A\u9664",queue:"\u30AD\u30E5\u30FC",queue_purged:"\u30AD\u30E5\u30FC\u304C\u30AF\u30EA\u30A2\u3055\u308C\u307E\u3057\u305F",queues:"\u30AD\u30E5\u30FC",ran_at:"\u5B9F\u884C\u6642\u523B",retry:"\u518D\u8A66\u884C",total_counts_by_status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3054\u3068\u306E\u7DCF\u6570"}},facets:{content_type:"\u30B3\u30F3\u30C6\u30F3\u30C4\u30BF\u30A4\u30D7",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",genre:"\u30B8\u30E3\u30F3\u30EB",language:"\u8A00\u8A9E",queue:"\u30AD\u30E5\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",torrent_source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",torrent_tag:"\u30C8\u30EC\u30F3\u30C8\u30BF\u30B0",video_resolution:"\u30D3\u30C7\u30AA\u89E3\u50CF\u5EA6",video_source:"\u30D3\u30C7\u30AA\u30BD\u30FC\u30B9"},file_types:{archive:"\u30A2\u30FC\u30AB\u30A4\u30D6",audio:"\u30AA\u30FC\u30C7\u30A3\u30AA",data:"\u30C7\u30FC\u30BF",document:"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8",image:"\u753B\u50CF",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",subtitles:"\u5B57\u5E55",unknown:"\u4E0D\u660E",video:"\u30D3\u30C7\u30AA"},general:{all:"\u3059\u3079\u3066",dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",none:"\u306A\u3057",page_not_found:"\u30DA\u30FC\u30B8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",refresh:"\u66F4\u65B0",status:"\u30B9\u30C6\u30FC\u30BF\u30B9"},health:{bitmagnet_is_status:"bitmagnet\u306F{{status}}\u3067\u3059",check_failed_with_error:"\u30A8\u30E9\u30FC\u3067\u30C1\u30A7\u30C3\u30AF\u306B\u5931\u6557\u3057\u307E\u3057\u305F",component:"\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",statuses:{degraded:"\u4F4E\u4E0B",down:"\u505C\u6B62",error:"\u30A8\u30E9\u30FC",inactive:"\u975E\u30A2\u30AF\u30C6\u30A3\u30D6",started:"\u958B\u59CB",unknown:"\u4FDD\u7559\u4E2D",up:"\u7A3C\u50CD\u4E2D"},summary:"\u5065\u5EB7\u72B6\u614B\u306E\u6982\u8981",worker:"\u30EF\u30FC\u30AB\u30FC",workers:{dht_crawler:"DHT\u30AF\u30ED\u30FC\u30E9\u30FC",http_server:"HTTP\u30B5\u30FC\u30D0\u30FC",queue_server:"\u30AD\u30E5\u30FC\u30B5\u30FC\u30D0\u30FC"}},languages:{af:"\u30A2\u30D5\u30EA\u30AB\u30FC\u30F3\u30B9\u8A9E",ar:"\u30A2\u30E9\u30D3\u30A2\u8A9E",az:"\u30A2\u30BC\u30EB\u30D0\u30A4\u30B8\u30E3\u30F3\u8A9E",be:"\u30D9\u30E9\u30EB\u30FC\u30B7\u8A9E",bg:"\u30D6\u30EB\u30AC\u30EA\u30A2\u8A9E",bs:"\u30DC\u30B9\u30CB\u30A2\u8A9E",ca:"\u30AB\u30BF\u30EB\u30FC\u30CB\u30E3\u8A9E",ce:"\u30C1\u30A7\u30C1\u30A7\u30F3\u8A9E",co:"\u30B3\u30EB\u30B7\u30AB\u8A9E",cs:"\u30C1\u30A7\u30B3\u8A9E",cy:"\u30A6\u30A7\u30FC\u30EB\u30BA\u8A9E",da:"\u30C7\u30F3\u30DE\u30FC\u30AF\u8A9E",de:"\u30C9\u30A4\u30C4\u8A9E",el:"\u30AE\u30EA\u30B7\u30E3\u8A9E",en:"\u82F1\u8A9E",es:"\u30B9\u30DA\u30A4\u30F3\u8A9E",et:"\u30A8\u30B9\u30C8\u30CB\u30A2\u8A9E",eu:"\u30D0\u30B9\u30AF\u8A9E",fa:"\u30DA\u30EB\u30B7\u30E3\u8A9E",fi:"\u30D5\u30A3\u30F3\u30E9\u30F3\u30C9\u8A9E",fr:"\u30D5\u30E9\u30F3\u30B9\u8A9E",he:"\u30D8\u30D6\u30E9\u30A4\u8A9E",hi:"\u30D2\u30F3\u30C7\u30A3\u30FC\u8A9E",hr:"\u30AF\u30ED\u30A2\u30C1\u30A2\u8A9E",hu:"\u30CF\u30F3\u30AC\u30EA\u30FC\u8A9E",hy:"\u30A2\u30EB\u30E1\u30CB\u30A2\u8A9E",id:"\u30A4\u30F3\u30C9\u30CD\u30B7\u30A2\u8A9E",is:"\u30A2\u30A4\u30B9\u30E9\u30F3\u30C9\u8A9E",it:"\u30A4\u30BF\u30EA\u30A2\u8A9E",ja:"\u65E5\u672C\u8A9E",ka:"\u30B0\u30EB\u30B8\u30A2\u8A9E",ko:"\u97D3\u56FD\u8A9E",ku:"\u30AF\u30EB\u30C9\u8A9E",lt:"\u30EA\u30C8\u30A2\u30CB\u30A2\u8A9E",lv:"\u30E9\u30C8\u30D3\u30A2\u8A9E",mi:"\u30DE\u30AA\u30EA\u8A9E",mk:"\u30DE\u30B1\u30C9\u30CB\u30A2\u8A9E",ml:"\u30DE\u30E9\u30E4\u30FC\u30E9\u30E0\u8A9E",mn:"\u30E2\u30F3\u30B4\u30EB\u8A9E",ms:"\u30DE\u30EC\u30FC\u8A9E",mt:"\u30DE\u30EB\u30BF\u8A9E",nl:"\u30AA\u30E9\u30F3\u30C0\u8A9E",no:"\u30CE\u30EB\u30A6\u30A7\u30FC\u8A9E",pl:"\u30DD\u30FC\u30E9\u30F3\u30C9\u8A9E",pt:"\u30DD\u30EB\u30C8\u30AC\u30EB\u8A9E",ro:"\u30EB\u30FC\u30DE\u30CB\u30A2\u8A9E",ru:"\u30ED\u30B7\u30A2\u8A9E",sa:"\u30B5\u30F3\u30B9\u30AF\u30EA\u30C3\u30C8",sk:"\u30B9\u30ED\u30D0\u30AD\u30A2\u8A9E",sl:"\u30B9\u30ED\u30D9\u30CB\u30A2\u8A9E",sm:"\u30B5\u30E2\u30A2\u8A9E",so:"\u30BD\u30DE\u30EA\u8A9E",sr:"\u30BB\u30EB\u30D3\u30A2\u8A9E",sv:"\u30B9\u30A6\u30A7\u30FC\u30C7\u30F3\u8A9E",ta:"\u30BF\u30DF\u30EB\u8A9E",th:"\u30BF\u30A4\u8A9E",tr:"\u30C8\u30EB\u30B3\u8A9E",uk:"\u30A6\u30AF\u30E9\u30A4\u30CA\u8A9E",vi:"\u30D9\u30C8\u30CA\u30E0\u8A9E",yi:"\u30A4\u30C7\u30A3\u30C3\u30B7\u30E5\u8A9E",zh:"\u4E2D\u56FD\u8A9E",zu:"\u30BA\u30FC\u30EB\u30FC\u8A9E"},layout:{bitmagnet_on_service:"{{service}}\u306Ebitmagnet",change_theme:"\u30C6\u30FC\u30DE\u3092\u5909\u66F4",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",sponsor:"\u30B9\u30DD\u30F3\u30B5\u30FC",support_bitmagnet:"bitmagnet\u3092\u30B5\u30DD\u30FC\u30C8",translate:"\u7FFB\u8A33\u3059\u308B"},paginator:{first_page:"\u6700\u521D\u306E\u30DA\u30FC\u30B8",items_per_page:"\u30DA\u30FC\u30B8\u3042\u305F\u308A\u306E\u9805\u76EE\u6570",last_page:"\u6700\u5F8C\u306E\u30DA\u30FC\u30B8",next_page:"\u6B21\u306E\u30DA\u30FC\u30B8",previous_page:"\u524D\u306E\u30DA\u30FC\u30B8",x_to_y:"{{x}} \u304B\u3089 {{y}} \u307E\u3067",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u304B\u3089 {{y}} \u307E\u3067\u306E {{z}}"},routes:{admin:"\u7BA1\u7406\u8005",dashboard:"\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",home:"\u30DB\u30FC\u30E0",jobs:"\u30B8\u30E7\u30D6",queues:"\u30AD\u30E5\u30FC",torrents:"\u30C8\u30EC\u30F3\u30C8",visualize:"\u53EF\u8996\u5316"},torrents:{clear_search:"\u691C\u7D22\u3092\u30AF\u30EA\u30A2",copy:"\u30B3\u30D4\u30FC",copy_to_clipboard:"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC",delete:"\u524A\u9664",delete_action_cannot_be_undone:"\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093",delete_are_you_sure:"\u3053\u306E\u30C8\u30EC\u30F3\u30C8\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",deselect_all:"\u3059\u3079\u3066\u306E\u9078\u629E\u3092\u89E3\u9664",download:"\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",download_confirm:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B?",edit_tags:"\u30BF\u30B0\u3092\u7DE8\u96C6",episodes:"\u30A8\u30D4\u30BD\u30FC\u30C9",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",file_index:"\u30D5\u30A1\u30A4\u30EB\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9",file_path:"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9",file_size:"\u30D5\u30A1\u30A4\u30EB\u30B5\u30A4\u30BA",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",files:"\u30D5\u30A1\u30A4\u30EB",files_count_n:"{{count}} \u4EF6\u306E\u30D5\u30A1\u30A4\u30EB",files_no_info:"\u30D5\u30A1\u30A4\u30EB\u60C5\u5831\u306F\u3042\u308A\u307E\u305B\u3093",files_single:"\u5358\u4E00\u30D5\u30A1\u30A4\u30EB",genres:"\u30B8\u30E3\u30F3\u30EB",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",info_hashes:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",languages:"\u8A00\u8A9E",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",magnet:"\u30DE\u30B0\u30CD\u30C3\u30C8",magnet_links:"\u30DE\u30B0\u30CD\u30C3\u30C8\u30EA\u30F3\u30AF",new_tag:"\u65B0\u3057\u3044\u30BF\u30B0",order_by:"\u4E26\u3073\u66FF\u3048",order_direction_toggle:"\u4E26\u3073\u9806\u3092\u5207\u308A\u66FF\u3048",ordering:{files_count:"\u30D5\u30A1\u30A4\u30EB\u6570",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",name:"\u540D\u524D",published_at:"\u516C\u958B\u65E5\u6642",relevance:"\u95A2\u9023\u6027",seeders:"\u30B7\u30FC\u30C0\u30FC",size:"\u30B5\u30A4\u30BA",updated_at:"\u66F4\u65B0\u65E5\u6642"},original_release_date:"\u30AA\u30EA\u30B8\u30CA\u30EB\u306E\u767A\u58F2\u65E5",permalink:"\u30D1\u30FC\u30DE\u30EA\u30F3\u30AF",poster:"\u30DD\u30B9\u30BF\u30FC",published:"\u516C\u958B\u6E08\u307F",rating:"\u8A55\u4FA1",refresh:"\u7D50\u679C\u3092\u66F4\u65B0",s_l:"S / L",search:"\u691C\u7D22",seeders:"\u30B7\u30FC\u30C0\u30FC",select_all:"\u3059\u3079\u3066\u9078\u629E",showing_x_of_y_files:"{{x}} \u4EF6\u4E2D {{y}} \u4EF6\u8868\u793A",size:"\u30B5\u30A4\u30BA",source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",summary:"\u6982\u8981",tags:{delete:"\u30BF\u30B0\u3092\u524A\u9664",delete_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u304B\u3089\u30BF\u30B0\u3092\u524A\u9664",placeholder:"\u30BF\u30B0...",put:"\u30BF\u30B0\u3092\u4ED8\u3051\u308B",put_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306B\u30BF\u30B0\u3092\u8FFD\u52A0\u3059\u308B",set:"\u30BF\u30B0\u3092\u8A2D\u5B9A\u3059\u308B",set_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u30BF\u30B0\u3092\u7F6E\u304D\u63DB\u3048\u308B"},title:"\u30BF\u30A4\u30C8\u30EB",toggle_drawer:"\u5F15\u304D\u51FA\u3057\u3092\u5207\u308A\u66FF\u3048",votes_count_n:"{{count}} \u7968"},version:{bitmagnet_version:"bitmagnet\u30D0\u30FC\u30B8\u30E7\u30F3 {{version}}",unknown:"\u4E0D\u660E"}};var at={content_types:{plural:{all:"Alle",audiobook:"Audioboeken",comic:"Strips",ebook:"E-Boeken",movie:"Films",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma's",xxx:"XXX"},singular:{audiobook:"Audioboek",comic:"Strip",ebook:"E-Book",movie:"Film",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma",xxx:"XXX"}},dashboard:{event:{created:"Gemaakt",failed:"Mislukt",processed:"Verwerkt",updated:"Bijgewerkt"},interval:{all:"Alle",days:"Dagen",days_1:"1 dag",hours:"Uren",hours_1:"1 uur",hours_12:"12 uur",hours_6:"6 uur",minutes:"Minuten",minutes_1:"1 minuut",minutes_15:"15 minuten",minutes_30:"30 minuten",minutes_5:"5 minuten",off:"Uit",seconds_10:"10 seconden",seconds_30:"30 seconden",weeks_1:"1 week"},metrics:{event:"Gebeurtenis",resolution:"Resolutie",throughput:"Doorvoer",timeframe:"Tijdsperiode"},queues:{created:"Gemaakt",created_at:"Gemaakt op",enqueue_jobs:"Voeg taken toe aan wachtrij",enqueue_torrent_processing_batch:"Torrentverwerkingsbatch toevoegen",failed:"Mislukt",force_rematch:"Forceer nieuwe match van al gematchte inhoud",jobs_enqueued:"Taken in wachtrij gezet",latency:"Latentie",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",payload:"Inhoud",pending:"In afwachting",priority:"Prioriteit",process_orphaned_torrents_only:"Verwerk alleen verweesde torrents",processed:"Verwerkt",purge_jobs:"Wis taken",purge_queue_jobs:"Wis wachtrijtaken",queue:"Wachtrij",queue_purged:"Wachtrij gewist",queues:"Wachtrijen",ran_at:"Uitgevoerd op",retry:"Opnieuw proberen",total_counts_by_status:"Totaal aantal per status"}},facets:{content_type:"Inhoudstype",file_type:"Bestandstype",genre:"Genre",language:"Taal",queue:"Wachtrij",status:"Status",torrent_source:"Torrentbron",torrent_tag:"Torrenttag",video_resolution:"Videoresolutie",video_source:"Videobron"},file_types:{archive:"Archief",audio:"Audio",data:"Data",document:"Document",image:"Afbeelding",software:"Software",subtitles:"Ondertitels",unknown:"Onbekend",video:"Video"},general:{all:"Alle",dismiss:"Sluiten",error:"Fout",none:"Geen",page_not_found:"Pagina niet gevonden",refresh:"Verversen",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Controle mislukt met foutmelding",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Sluiten",error:"Fout",status:"Status",statuses:{degraded:"Verlaagd",down:"Niet beschikbaar",error:"Fout",inactive:"Inactief",started:"Gestart",unknown:"Onbekend",up:"Beschikbaar"},summary:"Gezondheidsrapport",worker:"Werker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Wachtrijserver"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Azerbeidzjaans",be:"Wit-Russisch",bg:"Bulgaars",bs:"Bosnisch",ca:"Catalaans",ce:"Tsjetsjeens",co:"Corsicaans",cs:"Tsjechisch",cy:"Welsh",da:"Deens",de:"Duits",el:"Grieks",en:"Engels",es:"Spaans",et:"Ests",eu:"Baskisch",fa:"Perzisch",fi:"Fins",fr:"Frans",he:"Hebreeuws",hi:"Hindi",hr:"Kroatisch",hu:"Hongaars",hy:"Armeens",id:"Indonesisch",is:"IJslands",it:"Italiaans",ja:"Japans",ka:"Georgisch",ko:"Koreaans",ku:"Koerdisch",lt:"Litouws",lv:"Lets",mi:"Maori",mk:"Macedonisch",ml:"Malayalam",mn:"Mongools",ms:"Maleis",mt:"Maltees",nl:"Nederlands",no:"Noors",pl:"Pools",pt:"Portugees",ro:"Roemeens",ru:"Russisch",sa:"Sanskriet",sk:"Slowaaks",sl:"Sloveens",sm:"Samoaans",so:"Somalisch",sr:"Servisch",sv:"Zweeds",ta:"Tamil",th:"Thais",tr:"Turks",uk:"Oekra\xEFens",vi:"Vietnamees",yi:"Jiddisch",zh:"Chinees",zu:"Zoeloe"},layout:{bitmagnet_on_service:"bitmagnet op {{service}}",change_theme:"Wijzig thema",external_links:"Externe links",sponsor:"Sponsor",support_bitmagnet:"Ondersteun bitmagnet",translate:"Vertalen"},paginator:{first_page:"Eerste pagina",items_per_page:"Items per pagina",last_page:"Laatste pagina",next_page:"Volgende pagina",previous_page:"Vorige pagina",x_to_y:"{{x}} tot {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} tot {{y}} van {{z}}"},routes:{admin:"Beheerder",dashboard:"Dashboard",home:"Home",jobs:"Taken",queues:"Wachtrijen",torrents:"Torrents",visualize:"Visualiseren"},torrents:{clear_search:"Zoekopdracht wissen",copy:"Kopi\xEBren",copy_to_clipboard:"Kopi\xEBren naar klembord",delete:"Verwijderen",delete_action_cannot_be_undone:"Deze actie kan niet ongedaan worden gemaakt",delete_are_you_sure:"Weet u zeker dat u deze torrent wilt verwijderen?",deselect_all:"Deselecteer alles",download:"Downloaden",download_confirm:"Weet u zeker dat u de geselecteerde torrents wilt downloaden?",edit_tags:"Tags bewerken",episodes:"Afleveringen",external_links:"Externe links",file_index:"Bestandsindex",file_path:"Bestandspad",file_size:"Bestandsgrootte",file_type:"Bestandstype",files:"Bestanden",files_count_n:"{{count}} bestanden",files_no_info:"Geen informatie over bestanden beschikbaar",files_single:"Enkel bestand",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Talen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-links",new_tag:"Nieuwe tag",order_by:"Sorteren op",order_direction_toggle:"Richting omkeren",ordering:{files_count:"Aantal bestanden",info_hash:"Info hash",leechers:"Leechers",name:"Naam",published_at:"Gepubliceerd op",relevance:"Relevantie",seeders:"Seeders",size:"Grootte",updated_at:"Bijgewerkt op"},original_release_date:"Oorspronkelijke releasedatum",permalink:"Permalink",poster:"Poster",published:"Gepubliceerd",rating:"Beoordeling",refresh:"Vernieuw resultaten",s_l:"S / L",search:"Zoeken",seeders:"Seeders",select_all:"Alles selecteren",showing_x_of_y_files:"{{x}} van {{y}} bestanden weergegeven",size:"Grootte",source:"Torrentbron",summary:"Samenvatting",tags:{delete:"Tags verwijderen",delete_tip:"Tags verwijderen van de geselecteerde torrents",placeholder:"Tag...",put:"Tags plaatsen",put_tip:"Tags toevoegen aan de geselecteerde torrents",set:"Tags instellen",set_tip:"Tags van de geselecteerde torrents vervangen"},title:"Titel",toggle_drawer:"Zijpaneel in-/uitschakelen",votes_count_n:"{{count}} stemmen"},version:{bitmagnet_version:"bitmagnet versie {{version}}",unknown:"onbekend"}};var rt={content_types:{plural:{all:"Todos",audiobook:"Audiolivros",comic:"Quadrinhos",ebook:"E-books",movie:"Filmes",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolivro",comic:"Quadrinho",ebook:"E-book",movie:"Filme",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Criado",failed:"Falhou",processed:"Processado",updated:"Atualizado"},interval:{all:"Todos",days:"Dias",days_1:"1 dia",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Desligado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resolu\xE7\xE3o",throughput:"Taxa de transfer\xEAncia",timeframe:"Intervalo de tempo"},queues:{created:"Criado",created_at:"Criado em",enqueue_jobs:"Enfileirar trabalhos",enqueue_torrent_processing_batch:"Enfileirar lote de processamento de torrents",failed:"Falhou",force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",jobs_enqueued:"Trabalhos enfileirados",latency:"Lat\xEAncia",match_content_by_external_api_search:"Correspond\xEAncia de conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Correspond\xEAncia de conte\xFAdo por pesquisa local",payload:"Carga \xFAtil",pending:"Pendente",priority:"Prioridade",process_orphaned_torrents_only:"Processar apenas torrents \xF3rf\xE3os",processed:"Processado",purge_jobs:"Limpar trabalhos",purge_queue_jobs:"Limpar trabalhos da fila",queue:"Fila",queue_purged:"Fila limpa",queues:"Filas",ran_at:"Executado em",retry:"Tentar novamente",total_counts_by_status:"Contagens totais por status"}},facets:{content_type:"Tipo de Conte\xFAdo",file_type:"Tipo de Arquivo",genre:"G\xEAnero",language:"Idioma",queue:"Fila",status:"Status",torrent_source:"Fonte do Torrent",torrent_tag:"Tag do Torrent",video_resolution:"Resolu\xE7\xE3o de V\xEDdeo",video_source:"Fonte de V\xEDdeo"},file_types:{archive:"Arquivo",audio:"\xC1udio",data:"Dados",document:"Documento",image:"Imagem",software:"Software",subtitles:"Legendas",unknown:"Desconhecido",video:"V\xEDdeo"},general:{all:"Todos",dismiss:"Fechar",error:"Erro",none:"Nenhum",page_not_found:"P\xE1gina n\xE3o encontrada",refresh:"Atualizar",status:"Status"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"Verifica\xE7\xE3o falhou com erro",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fechar",error:"Erro",status:"Status",statuses:{degraded:"Degradado",down:"Fora do ar",error:"Erro",inactive:"Inativo",started:"Iniciado",unknown:"Pendente",up:"Funcionando"},summary:"Resumo de Sa\xFAde",worker:"Trabalhador",workers:{dht_crawler:"Rastreamento DHT",http_server:"Servidor HTTP",queue_server:"Servidor de Fila"}},languages:{af:"Afric\xE2ner",ar:"\xC1rabe",az:"Azeri",be:"Bielorrusso",bg:"B\xFAlgaro",bs:"B\xF3snio",ca:"Catal\xE3o",ce:"Checheno",co:"Corso",cs:"Tcheco",cy:"Gal\xEAs",da:"Dinamarqu\xEAs",de:"Alem\xE3o",el:"Grego",en:"Ingl\xEAs",es:"Espanhol",et:"Estoniano",eu:"Basco",fa:"Persa",fi:"Finland\xEAs",fr:"Franc\xEAs",he:"Hebraico",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Arm\xEAnio",id:"Indon\xE9sio",is:"Island\xEAs",it:"Italiano",ja:"Japon\xEAs",ka:"Georgiano",ko:"Coreano",ku:"Curdo",lt:"Lituano",lv:"Let\xE3o",mi:"Maori",mk:"Maced\xF4nio",ml:"Malaiala",mn:"Mongol",ms:"Malaio",mt:"Malt\xEAs",nl:"Holand\xEAs",no:"Noruegu\xEAs",pl:"Polon\xEAs",pt:"Portugu\xEAs",ro:"Romeno",ru:"Russo",sa:"S\xE2nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somali",sr:"S\xE9rvio",sv:"Sueco",ta:"T\xE2mil",th:"Tailand\xEAs",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"I\xEDdiche",zh:"Chin\xEAs",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet em {{service}}",change_theme:"Alterar tema",external_links:"Links externos",sponsor:"Patrocinador",support_bitmagnet:"Apoiar bitmagnet",translate:"Traduzir"},paginator:{first_page:"Primeira p\xE1gina",items_per_page:"Itens por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"Pr\xF3xima p\xE1gina",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administra\xE7\xE3o",dashboard:"Painel",home:"In\xEDcio",jobs:"Tarefas",queues:"Filas",torrents:"Torrents",visualize:"Visualizar"},torrents:{clear_search:"Limpar Pesquisa",copy:"Copiar",copy_to_clipboard:"Copiar para a \xE1rea de transfer\xEAncia",delete:"Excluir",delete_action_cannot_be_undone:"Esta a\xE7\xE3o n\xE3o pode ser desfeita",delete_are_you_sure:"Tem certeza de que deseja excluir este torrent?",deselect_all:"Desmarcar todos",download:"Baixar",download_confirm:"Tem certeza de que deseja baixar os torrents selecionados?",edit_tags:"Editar tags",episodes:"Epis\xF3dios",external_links:"Links externos",file_index:"\xCDndice de arquivo",file_path:"Caminho do arquivo",file_size:"Tamanho do arquivo",file_type:"Tipo de arquivo",files:"Arquivos",files_count_n:"{{count}} arquivos",files_no_info:"Sem informa\xE7\xF5es de arquivos dispon\xEDveis",files_single:"Arquivo \xFAnico",genres:"G\xEAneros",info_hash:"Hash de informa\xE7\xE3o",info_hashes:"Hashes de informa\xE7\xE3o",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Links magnet",new_tag:"Nova tag",order_by:"Ordenar por",order_direction_toggle:"Inverter dire\xE7\xE3o",ordering:{files_count:"Contagem de arquivos",info_hash:"Hash de informa\xE7\xE3o",leechers:"Leechers",name:"Nome",published_at:"Publicado em",relevance:"Relev\xE2ncia",seeders:"Seeders",size:"Tamanho",updated_at:"Atualizado em"},original_release_date:"Data de lan\xE7amento original",permalink:"Link permanente",poster:"P\xF4ster",published:"Publicado",rating:"Classifica\xE7\xE3o",refresh:"Atualizar resultados",s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Selecionar tudo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} arquivos",size:"Tamanho",source:"Fonte do torrent",summary:"Resumo",tags:{delete:"Excluir tags",delete_tip:"Remover tags dos torrents selecionados",placeholder:"Tag...",put:"Colocar tags",put_tip:"Adicionar tags aos torrents selecionados",set:"Definir tags",set_tip:"Substituir tags dos torrents selecionados"},title:"T\xEDtulo",toggle_drawer:"Alternar gaveta",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"Vers\xE3o do bitmagnet {{version}}",unknown:"desconhecido"}};var nt={content_types:{plural:{all:"\u0412\u0441\u0435",audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0438\u043A\u0441\u044B",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0435 \u043A\u043D\u0438\u0433\u0438",movie:"\u0424\u0438\u043B\u044C\u043C\u044B",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0438\u043A\u0441",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043A\u043D\u0438\u0433\u0430",movie:"\u0424\u0438\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",updated:"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0412\u0441\u0435",days:"\u0414\u043D\u0438",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0427\u0430\u0441\u044B",hours_1:"1 \u0447\u0430\u0441",hours_12:"12 \u0447\u0430\u0441\u043E\u0432",hours_6:"6 \u0447\u0430\u0441\u043E\u0432",minutes:"\u041C\u0438\u043D\u0443\u0442\u044B",minutes_1:"1 \u043C\u0438\u043D\u0443\u0442\u0430",minutes_15:"15 \u043C\u0438\u043D\u0443\u0442",minutes_30:"30 \u043C\u0438\u043D\u0443\u0442",minutes_5:"5 \u043C\u0438\u043D\u0443\u0442",off:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u043D\u0435\u0434\u0435\u043B\u044F"},metrics:{event:"\u0421\u043E\u0431\u044B\u0442\u0438\u0435",resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C",timeframe:"\u041F\u0435\u0440\u0438\u043E\u0434 \u0432\u0440\u0435\u043C\u0435\u043D\u0438"},queues:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",created_at:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E \u0432",enqueue_jobs:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",enqueue_torrent_processing_batch:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0430\u0440\u0442\u0438\u044E \u0434\u043B\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",jobs_enqueued:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",latency:"\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",payload:"\u0414\u0430\u043D\u043D\u044B\u0435",pending:"\u0412 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0438",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \xAB\u043E\u0441\u0438\u0440\u043E\u0442\u0435\u0432\u0448\u0438\u0435\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u043E\u0447\u0435\u0440\u0435\u0434\u0438",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",queue_purged:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",ran_at:"\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0432",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",total_counts_by_status:"\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",genre:"\u0416\u0430\u043D\u0440",language:"\u042F\u0437\u044B\u043A",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0432\u0438\u0434\u0435\u043E",video_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0432\u0438\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0438\u0432",audio:"\u0410\u0443\u0434\u0438\u043E",data:"\u0414\u0430\u043D\u043D\u044B\u0435",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",video:"\u0412\u0438\u0434\u0435\u043E"},general:{all:"\u0412\u0441\u0435",dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",none:"\u041D\u0435\u0442",page_not_found:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0421\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",down:"\u041D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",error:"\u041E\u0448\u0438\u0431\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u0435\u043D",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",up:"\u0420\u0430\u0431\u043E\u0442\u0430\u0435\u0442"},summary:"\u0421\u0432\u043E\u0434\u043A\u0430 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F",worker:"\u0420\u0430\u0431\u043E\u0447\u0438\u0439",workers:{dht_crawler:"DHT \u043E\u0431\u0445\u043E\u0434\u0447\u0438\u043A",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u043E\u0447\u0435\u0440\u0435\u0434\u0435\u0439"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u043A\u0438\u0439",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u043A\u0438\u0439",be:"\u0411\u0435\u043B\u043E\u0440\u0443\u0441\u0441\u043A\u0438\u0439",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u043A\u0438\u0439",bs:"\u0411\u043E\u0441\u043D\u0438\u0439\u0441\u043A\u0438\u0439",ca:"\u041A\u0430\u0442\u0430\u043B\u0430\u043D\u0441\u043A\u0438\u0439",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u043A\u0438\u0439",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u043A\u0438\u0439",cs:"\u0427\u0435\u0448\u0441\u043A\u0438\u0439",cy:"\u0412\u0430\u043B\u043B\u0438\u0439\u0441\u043A\u0438\u0439",da:"\u0414\u0430\u0442\u0441\u043A\u0438\u0439",de:"\u041D\u0435\u043C\u0435\u0446\u043A\u0438\u0439",el:"\u0413\u0440\u0435\u0447\u0435\u0441\u043A\u0438\u0439",en:"\u0410\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u0438\u0439",es:"\u0418\u0441\u043F\u0430\u043D\u0441\u043A\u0438\u0439",et:"\u042D\u0441\u0442\u043E\u043D\u0441\u043A\u0438\u0439",eu:"\u0411\u0430\u0441\u043A\u0441\u043A\u0438\u0439",fa:"\u041F\u0435\u0440\u0441\u0438\u0434\u0441\u043A\u0438\u0439",fi:"\u0424\u0438\u043D\u0441\u043A\u0438\u0439",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u0441\u043A\u0438\u0439",he:"\u0418\u0432\u0440\u0438\u0442",hi:"\u0425\u0438\u043D\u0434\u0438",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u043A\u0438\u0439",hu:"\u0412\u0435\u043D\u0433\u0435\u0440\u0441\u043A\u0438\u0439",hy:"\u0410\u0440\u043C\u044F\u043D\u0441\u043A\u0438\u0439",id:"\u0418\u043D\u0434\u043E\u043D\u0435\u0437\u0438\u0439\u0441\u043A\u0438\u0439",is:"\u0418\u0441\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",it:"\u0418\u0442\u0430\u043B\u044C\u044F\u043D\u0441\u043A\u0438\u0439",ja:"\u042F\u043F\u043E\u043D\u0441\u043A\u0438\u0439",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u043A\u0438\u0439",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u043A\u0438\u0439",ku:"\u041A\u0443\u0440\u0434\u0441\u043A\u0438\u0439",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u043A\u0438\u0439",lv:"\u041B\u0430\u0442\u044B\u0448\u0441\u043A\u0438\u0439",mi:"\u041C\u0430\u043E\u0440\u0438",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438\u0439",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u043A\u0438\u0439",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u043A\u0438\u0439",mt:"\u041C\u0430\u043B\u044C\u0442\u0438\u0439\u0441\u043A\u0438\u0439",nl:"\u041D\u0438\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",no:"\u041D\u043E\u0440\u0432\u0435\u0436\u0441\u043A\u0438\u0439",pl:"\u041F\u043E\u043B\u044C\u0441\u043A\u0438\u0439",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u043A\u0438\u0439",ro:"\u0420\u0443\u043C\u044B\u043D\u0441\u043A\u0438\u0439",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u043A\u0438\u0439",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u043A\u0438\u0439",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u043A\u0438\u0439",so:"\u0421\u043E\u043C\u0430\u043B\u0438\u0439\u0441\u043A\u0438\u0439",sr:"\u0421\u0435\u0440\u0431\u0441\u043A\u0438\u0439",sv:"\u0428\u0432\u0435\u0434\u0441\u043A\u0438\u0439",ta:"\u0422\u0430\u043C\u0438\u043B\u044C\u0441\u043A\u0438\u0439",th:"\u0422\u0430\u0439\u0441\u043A\u0438\u0439",tr:"\u0422\u0443\u0440\u0435\u0446\u043A\u0438\u0439",uk:"\u0423\u043A\u0440\u0430\u0438\u043D\u0441\u043A\u0438\u0439",vi:"\u0412\u044C\u0435\u0442\u043D\u0430\u043C\u0441\u043A\u0438\u0439",yi:"\u0418\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u043A\u0438\u0439",zu:"\u0417\u0443\u043B\u0443\u0441\u0441\u043A\u0438\u0439"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u043C\u0443",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044C bitmagnet",translate:"\u041F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0432\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",items_per_page:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",last_page:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",next_page:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",previous_page:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0438\u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F",home:"\u0413\u043B\u0430\u0432\u043D\u0430\u044F",jobs:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u044B",visualize:"\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F"},torrents:{clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A",copy:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",copy_to_clipboard:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",delete_action_cannot_be_undone:"\u042D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",delete_are_you_sure:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0421\u043D\u044F\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435",download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C",download_confirm:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B?",edit_tags:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u0433\u0438",episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",file_index:"\u0418\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0430",file_path:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",files:"\u0424\u0430\u0439\u043B\u044B",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u043E\u0432",files_no_info:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0444\u0430\u0439\u043B\u0430\u0445 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u044B",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",info_hashes:"\u0425\u044D\u0448\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",languages:"\u042F\u0437\u044B\u043A\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442 \u0441\u0441\u044B\u043B\u043A\u0438",new_tag:"\u041D\u043E\u0432\u044B\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E",order_direction_toggle:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",ordering:{files_count:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0444\u0430\u0439\u043B\u043E\u0432",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",name:"\u0418\u043C\u044F",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u044C",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",size:"\u0420\u0430\u0437\u043C\u0435\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F"},original_release_date:"\u041E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u0432\u044B\u043F\u0443\u0441\u043A\u0430",permalink:"\u041F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u0430\u044F \u0441\u0441\u044B\u043B\u043A\u0430",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B",s_l:"S / L",search:"\u041F\u043E\u0438\u0441\u043A",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",select_all:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0438\u0437 {{y}} \u0444\u0430\u0439\u043B\u043E\u0432",size:"\u0420\u0430\u0437\u043C\u0435\u0440",source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0421\u0432\u043E\u0434\u043A\u0430",tags:{delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438",delete_tip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0438\u0437 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",placeholder:"\u0422\u0435\u0433...",put:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u043A \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430\u043C",set:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432"},title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",toggle_drawer:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u043E\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0438\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}};var st={content_types:{plural:{all:"T\xFCm\xFC",audiobook:"Sesli Kitaplar",comic:"\xC7izgi Romanlar",ebook:"E-Kitaplar",movie:"Filmler",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Programlar\u0131",xxx:"XXX"},singular:{audiobook:"Sesli Kitap",comic:"\xC7izgi Roman",ebook:"E-Kitap",movie:"Film",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Program\u0131",xxx:"XXX"}},dashboard:{event:{created:"Olu\u015Fturuldu",failed:"Ba\u015Far\u0131s\u0131z",processed:"\u0130\u015Flendi",updated:"G\xFCncellendi"},interval:{all:"T\xFCm\xFC",days:"G\xFCnler",days_1:"1 g\xFCn",hours:"Saatler",hours_1:"1 saat",hours_12:"12 saat",hours_6:"6 saat",minutes:"Dakikalar",minutes_1:"1 dakika",minutes_15:"15 dakika",minutes_30:"30 dakika",minutes_5:"5 dakika",off:"Kapal\u0131",seconds_10:"10 saniye",seconds_30:"30 saniye",weeks_1:"1 hafta"},metrics:{event:"Olay",resolution:"\xC7\xF6z\xFCn\xFCrl\xFCk",throughput:"Verim",timeframe:"Zaman Dilimi"},queues:{created:"Olu\u015Fturuldu",created_at:"Olu\u015Fturulma tarihi",enqueue_jobs:"\u0130\u015Fleri Kuyru\u011Fa Al",enqueue_torrent_processing_batch:"Torrent \u0130\u015Fleme Paketini Kuyru\u011Fa Al",failed:"Ba\u015Far\u0131s\u0131z",force_rematch:"E\u015Fle\u015Fmi\u015F i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",jobs_enqueued:"Kuyru\u011Fa Al\u0131nan \u0130\u015Fler",latency:"Gecikme",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",payload:"Veri Y\xFCk\xFC",pending:"Beklemede",priority:"\xD6ncelik",process_orphaned_torrents_only:"Sadece sahipsiz torrentleri i\u015Fle",processed:"\u0130\u015Flendi",purge_jobs:"\u0130\u015Fleri Temizle",purge_queue_jobs:"Kuyruk \u0130\u015Flerini Temizle",queue:"Kuyruk",queue_purged:"Kuyruk Temizlendi",queues:"Kuyruklar",ran_at:"\xC7al\u0131\u015Ft\u0131r\u0131ld\u0131",retry:"Tekrar Dene",total_counts_by_status:"Duruma G\xF6re Toplam Say\u0131lar"}},facets:{content_type:"\u0130\xE7erik T\xFCr\xFC",file_type:"Dosya T\xFCr\xFC",genre:"T\xFCr",language:"Dil",queue:"Kuyruk",status:"Durum",torrent_source:"Torrent Kayna\u011F\u0131",torrent_tag:"Torrent Etiketi",video_resolution:"Video \xC7\xF6z\xFCn\xFCrl\xFC\u011F\xFC",video_source:"Video Kayna\u011F\u0131"},file_types:{archive:"Ar\u015Fiv",audio:"Ses",data:"Veri",document:"Belge",image:"G\xF6r\xFCnt\xFC",software:"Yaz\u0131l\u0131m",subtitles:"Altyaz\u0131lar",unknown:"Bilinmiyor",video:"Video"},general:{all:"T\xFCm\xFC",dismiss:"Kapat",error:"Hata",none:"Hi\xE7biri",page_not_found:"Sayfa Bulunamad\u0131",refresh:"Yenile",status:"Durum"},health:{bitmagnet_is_status:"bitmagnet durumu {{status}}",check_failed_with_error:"Hata ile kontrol ba\u015Far\u0131s\u0131z oldu",component:"Bile\u015Fen",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Kapat",error:"Hata",status:"Durum",statuses:{degraded:"Azalm\u0131\u015F",down:"Kapal\u0131",error:"Hata",inactive:"Etkin de\u011Fil",started:"Ba\u015Flad\u0131",unknown:"Bilinmiyor",up:"\xC7al\u0131\u015F\u0131yor"},summary:"Sa\u011Fl\u0131k \xD6zeti",worker:"\u0130\u015F\xE7i",workers:{dht_crawler:"DHT taray\u0131c\u0131",http_server:"HTTP sunucusu",queue_server:"Kuyruk sunucusu"}},languages:{af:"Afrikanca",ar:"Arap\xE7a",az:"Azerice",be:"Beyaz Rus\xE7a",bg:"Bulgarca",bs:"Bo\u015Fnak\xE7a",ca:"Katalanca",ce:"\xC7e\xE7ence",co:"Korsikaca",cs:"\xC7ek\xE7e",cy:"Galce",da:"Danca",de:"Almanca",el:"Yunanca",en:"\u0130ngilizce",es:"\u0130spanyolca",et:"Estonca",eu:"Bask\xE7a",fa:"Fars\xE7a",fi:"Fince",fr:"Frans\u0131zca",he:"\u0130branice",hi:"Hint\xE7e",hr:"H\u0131rvat\xE7a",hu:"Macarca",hy:"Ermenice",id:"Endonezce",is:"\u0130zlandaca",it:"\u0130talyanca",ja:"Japonca",ka:"G\xFCrc\xFCce",ko:"Korece",ku:"K\xFCrt\xE7e",lt:"Litvanca",lv:"Letonca",mi:"Maorice",mk:"Makedonca",ml:"Malayalamca",mn:"Mo\u011Folca",ms:"Malayca",mt:"Maltaca",nl:"Flemenk\xE7e",no:"Norve\xE7\xE7e",pl:"Leh\xE7e",pt:"Portekizce",ro:"Romence",ru:"Rus\xE7a",sa:"Sanskrit\xE7e",sk:"Slovak\xE7a",sl:"Slovence",sm:"Samoaca",so:"Somalice",sr:"S\u0131rp\xE7a",sv:"\u0130sve\xE7\xE7e",ta:"Tamilce",th:"Tayca",tr:"T\xFCrk\xE7e",uk:"Ukraynaca",vi:"Vietnamca",yi:"Yidi\u015F",zh:"\xC7ince",zu:"Zuluca"},layout:{bitmagnet_on_service:"{{service}} \xFCzerinde bitmagnet",change_theme:"Temay\u0131 De\u011Fi\u015Ftir",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",sponsor:"Sponsor",support_bitmagnet:"bitmagnet'i Destekle",translate:"\xC7evir"},paginator:{first_page:"\u0130lk Sayfa",items_per_page:"Sayfa ba\u015F\u0131na \xF6\u011Fe",last_page:"Son Sayfa",next_page:"Sonraki Sayfa",previous_page:"\xD6nceki Sayfa",x_to_y:"{{x}} - {{y}} aras\u0131",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} ile {{y}} aras\u0131, toplam {{z}}"},routes:{admin:"Y\xF6netici",dashboard:"Kontrol Paneli",home:"Ana Sayfa",jobs:"G\xF6revler",queues:"Kuyruklar",torrents:"Torrentler",visualize:"G\xF6rselle\u015Ftir"},torrents:{clear_search:"Aramay\u0131 Temizle",copy:"Kopyala",copy_to_clipboard:"Panoya Kopyala",delete:"Sil",delete_action_cannot_be_undone:"Bu i\u015Flem geri al\u0131namaz",delete_are_you_sure:"Bu torrent'i silmek istedi\u011Finizden emin misiniz?",deselect_all:"T\xFCm Se\xE7imleri Kald\u0131r",download:"\u0130ndir",download_confirm:"Se\xE7ilen torrentleri indirmek istedi\u011Finizden emin misiniz?",edit_tags:"Etiketleri D\xFCzenle",episodes:"B\xF6l\xFCmler",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",file_index:"Dosya Dizini",file_path:"Dosya Yolu",file_size:"Dosya Boyutu",file_type:"Dosya T\xFCr\xFC",files:"Dosyalar",files_count_n:"{{count}} dosya",files_no_info:"Dosya bilgisi mevcut de\u011Fil",files_single:"Tek dosya",genres:"T\xFCrler",info_hash:"Bilgi hash'i",info_hashes:"Bilgi hash'leri",languages:"Diller",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet Ba\u011Flant\u0131lar",new_tag:"Yeni etiket",order_by:"S\u0131ralama \xF6l\xE7\xFCt\xFC",order_direction_toggle:"Y\xF6n\xFC de\u011Fi\u015Ftir",ordering:{files_count:"Dosya say\u0131s\u0131",info_hash:"Bilgi hash'i",leechers:"Leechers",name:"Ad",published_at:"Yay\u0131nlanma tarihi",relevance:"Alaka d\xFCzeyi",seeders:"Seeders",size:"Boyut",updated_at:"G\xFCncellenme tarihi"},original_release_date:"Orijinal \xE7\u0131k\u0131\u015F tarihi",permalink:"Kal\u0131c\u0131 Ba\u011Flant\u0131",poster:"Poster",published:"Yay\u0131nland\u0131",rating:"Puan",refresh:"Sonu\xE7lar\u0131 Yenile",s_l:"S / L",search:"Ara",seeders:"Seeders",select_all:"T\xFCm\xFCn\xFC Se\xE7",showing_x_of_y_files:"{{y}} dosyan\u0131n {{x}} tanesi g\xF6steriliyor",size:"Boyut",source:"Torrent Kayna\u011F\u0131",summary:"\xD6zet",tags:{delete:"Etiketleri sil",delete_tip:"Se\xE7ili torrentlerden etiketleri kald\u0131r",placeholder:"Etiket...",put:"Etiket koy",put_tip:"Se\xE7ili torrentlere etiket ekle",set:"Etiketleri ayarla",set_tip:"Se\xE7ili torrentlerin etiketlerini de\u011Fi\u015Ftir"},title:"Ba\u015Fl\u0131k",toggle_drawer:"\xC7ekmeceyi A\xE7/Kapat",votes_count_n:"{{count}} oy"},version:{bitmagnet_version:"bitmagnet versiyonu {{version}}",unknown:"bilinmiyor"}};var it={content_types:{plural:{all:"\u0423\u0441\u0456",audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0456\u043A\u0441\u0438",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0456 \u043A\u043D\u0438\u0433\u0438",movie:"\u0424\u0456\u043B\u044C\u043C\u0438",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0456\u043A\u0441",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043A\u043D\u0438\u0433\u0430",movie:"\u0424\u0456\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",updated:"\u041E\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0423\u0441\u0456",days:"\u0414\u043D\u0456",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0413\u043E\u0434\u0438\u043D\u0438",hours_1:"1 \u0433\u043E\u0434\u0438\u043D\u0430",hours_12:"12 \u0433\u043E\u0434\u0438\u043D",hours_6:"6 \u0433\u043E\u0434\u0438\u043D",minutes:"\u0425\u0432\u0438\u043B\u0438\u043D\u0438",minutes_1:"1 \u0445\u0432\u0438\u043B\u0438\u043D\u0430",minutes_15:"15 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_30:"30 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_5:"5 \u0445\u0432\u0438\u043B\u0438\u043D",off:"\u0412\u0438\u043C\u043A\u043D\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u0442\u0438\u0436\u0434\u0435\u043D\u044C"},metrics:{event:"\u041F\u043E\u0434\u0456\u044F",resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",timeframe:"\u041F\u0440\u043E\u043C\u0456\u0436\u043E\u043A \u0447\u0430\u0441\u0443"},queues:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",created_at:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E \u043E",enqueue_jobs:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E \u0447\u0435\u0440\u0433\u0438",enqueue_torrent_processing_batch:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043F\u0430\u043A\u0435\u0442 \u0434\u043B\u044F \u043E\u0431\u0440\u043E\u0431\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",jobs_enqueued:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E\u0434\u0430\u043D\u043E \u0432 \u0447\u0435\u0440\u0433\u0443",latency:"\u0417\u0430\u0442\u0440\u0438\u043C\u043A\u0430",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",payload:"\u0414\u0430\u043D\u0456",pending:"\u0412 \u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u043D\u0456",priority:"\u041F\u0440\u0456\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u043E\u0431\u043B\u044F\u0442\u0438 \u043B\u0438\u0448\u0435 \xAB\u0441\u0438\u0440\u043E\u0442\u043B\u0438\u0432\u0456\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0447\u0435\u0440\u0433\u0438",queue:"\u0427\u0435\u0440\u0433\u0430",queue_purged:"\u0427\u0435\u0440\u0433\u0430 \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u0427\u0435\u0440\u0433\u0438",ran_at:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E \u043E",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438",total_counts_by_status:"\u0417\u0430\u0433\u0430\u043B\u044C\u043D\u0430 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0437\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C\u0438"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",genre:"\u0416\u0430\u043D\u0440",language:"\u041C\u043E\u0432\u0430",queue:"\u0427\u0435\u0440\u0433\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C \u0432\u0456\u0434\u0435\u043E",video_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0432\u0456\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0456\u0432",audio:"\u0410\u0443\u0434\u0456\u043E",data:"\u0414\u0430\u043D\u0456",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u0438",unknown:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",video:"\u0412\u0456\u0434\u0435\u043E"},general:{all:"\u0423\u0441\u0456",dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",none:"\u041D\u0435\u043C\u0430\u0454",page_not_found:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u043E\u044E",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0417\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u0456\u0441\u0442\u044C",down:"\u041D\u0435 \u043F\u0440\u0430\u0446\u044E\u0454",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u0438\u0439",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F",up:"\u041F\u0440\u0430\u0446\u044E\u0454"},summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F \u0441\u0442\u0430\u043D\u0443",worker:"\u041F\u0440\u0430\u0446\u0456\u0432\u043D\u0438\u043A",workers:{dht_crawler:"DHT \u0441\u043A\u0430\u043D\u0435\u0440",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u0447\u0435\u0440\u0433\u0438"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u044C\u043A\u0430",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0456\u043B\u043E\u0440\u0443\u0441\u044C\u043A\u0430",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u044C\u043A\u0430",bs:"\u0411\u043E\u0441\u043D\u0456\u0439\u0441\u044C\u043A\u0430",ca:"\u041A\u0430\u0442\u0430\u043B\u043E\u043D\u0441\u044C\u043A\u0430",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u044C\u043A\u0430",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u044C\u043A\u0430",cs:"\u0427\u0435\u0441\u044C\u043A\u0430",cy:"\u0412\u0430\u043B\u043B\u0456\u0439\u0441\u044C\u043A\u0430",da:"\u0414\u0430\u043D\u0441\u044C\u043A\u0430",de:"\u041D\u0456\u043C\u0435\u0446\u044C\u043A\u0430",el:"\u0413\u0440\u0435\u0446\u044C\u043A\u0430",en:"\u0410\u043D\u0433\u043B\u0456\u0439\u0441\u044C\u043A\u0430",es:"\u0406\u0441\u043F\u0430\u043D\u0441\u044C\u043A\u0430",et:"\u0415\u0441\u0442\u043E\u043D\u0441\u044C\u043A\u0430",eu:"\u0411\u0430\u0441\u043A\u0441\u044C\u043A\u0430",fa:"\u041F\u0435\u0440\u0441\u044C\u043A\u0430",fi:"\u0424\u0456\u043D\u0441\u044C\u043A\u0430",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u044C\u043A\u0430",he:"\u0406\u0432\u0440\u0438\u0442",hi:"\u0425\u0456\u043D\u0434\u0456",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u044C\u043A\u0430",hu:"\u0423\u0433\u043E\u0440\u0441\u044C\u043A\u0430",hy:"\u0412\u0456\u0440\u043C\u0435\u043D\u0441\u044C\u043A\u0430",id:"\u0406\u043D\u0434\u043E\u043D\u0435\u0437\u0456\u0439\u0441\u044C\u043A\u0430",is:"\u0406\u0441\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",it:"\u0406\u0442\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",ja:"\u042F\u043F\u043E\u043D\u0441\u044C\u043A\u0430",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u044C\u043A\u0430",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u044C\u043A\u0430",ku:"\u041A\u0443\u0440\u0434\u0441\u044C\u043A\u0430",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u044C\u043A\u0430",lv:"\u041B\u0430\u0442\u0438\u0441\u044C\u043A\u0430",mi:"\u041C\u0430\u043E\u0440\u0456",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u044C\u043A\u0430",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u044C\u043A\u0430",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u044C\u043A\u0430",mt:"\u041C\u0430\u043B\u044C\u0442\u0456\u0439\u0441\u044C\u043A\u0430",nl:"\u041D\u0456\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",no:"\u041D\u043E\u0440\u0432\u0435\u0437\u044C\u043A\u0430",pl:"\u041F\u043E\u043B\u044C\u0441\u044C\u043A\u0430",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u044C\u043A\u0430",ro:"\u0420\u0443\u043C\u0443\u043D\u0441\u044C\u043A\u0430",ru:"\u0420\u043E\u0441\u0456\u0439\u0441\u044C\u043A\u0430",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u044C\u043A\u0430",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u044C\u043A\u0430",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u044C\u043A\u0430",so:"\u0421\u043E\u043C\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",sr:"\u0421\u0435\u0440\u0431\u0441\u044C\u043A\u0430",sv:"\u0428\u0432\u0435\u0434\u0441\u044C\u043A\u0430",ta:"\u0422\u0430\u043C\u0456\u043B\u044C\u0441\u044C\u043A\u0430",th:"\u0422\u0430\u0439\u0441\u044C\u043A\u0430",tr:"\u0422\u0443\u0440\u0435\u0446\u044C\u043A\u0430",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",vi:"\u0412'\u0454\u0442\u043D\u0430\u043C\u0441\u044C\u043A\u0430",yi:"\u0407\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u044C\u043A\u0430",zu:"\u0417\u0443\u043B\u0443\u0441\u044C\u043A\u0430"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u043C\u0443",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u0456\u0434\u0442\u0440\u0438\u043C\u0430\u0442\u0438 bitmagnet",translate:"\u041F\u0435\u0440\u0435\u043A\u043B\u0430\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0448\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",items_per_page:"\u0415\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u0446\u0456",last_page:"\u041E\u0441\u0442\u0430\u043D\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",next_page:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",previous_page:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_y:"__\u043F\u0440\u043E\u043F\u0430\u0432__",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0456\u043D\u043D\u044F",home:"\u0413\u043E\u043B\u043E\u0432\u043D\u0430",jobs:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F",queues:"\u0427\u0435\u0440\u0433\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u0438",visualize:"\u0412\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0443\u0432\u0430\u0442\u0438"},torrents:{clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043F\u043E\u0448\u0443\u043A",copy:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438",copy_to_clipboard:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0456\u043D\u0443",delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",delete_action_cannot_be_undone:"\u0426\u044E \u0434\u0456\u044E \u043D\u0435 \u043C\u043E\u0436\u043D\u0430 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438",delete_are_you_sure:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u0435\u0439 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0417\u043D\u044F\u0442\u0438 \u0432\u0438\u0434\u0456\u043B\u0435\u043D\u043D\u044F",download:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438",download_confirm:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0456 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438?",edit_tags:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u0435\u0433\u0438",episodes:"\u0415\u043F\u0456\u0437\u043E\u0434\u0438",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",file_index:"\u0406\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0443",file_path:"\u0428\u043B\u044F\u0445 \u0434\u043E \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u043E\u0437\u043C\u0456\u0440 \u0444\u0430\u0439\u043B\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",files:"\u0424\u0430\u0439\u043B\u0438",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u0456\u0432",files_no_info:"\u0406\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F \u043F\u0440\u043E \u0444\u0430\u0439\u043B\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u0438",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",info_hashes:"\u0425\u0435\u0448\u0456 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",languages:"\u041C\u043E\u0432\u0438",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442-\u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",new_tag:"\u041D\u043E\u0432\u0438\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430",order_direction_toggle:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043D\u0430\u043F\u0440\u044F\u043C\u043E\u043A",ordering:{files_count:"\u041A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0444\u0430\u0439\u043B\u0456\u0432",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",name:"\u041D\u0430\u0437\u0432\u0430",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0456\u043A\u0430\u0446\u0456\u0457",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0456\u0441\u0442\u044C",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",size:"\u0420\u043E\u0437\u043C\u0456\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F"},original_release_date:"\u0414\u0430\u0442\u0430 \u043E\u0440\u0438\u0433\u0456\u043D\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043F\u0443\u0441\u043A\u0443",permalink:"\u041F\u043E\u0441\u0442\u0456\u0439\u043D\u0435 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438",s_l:"S / L",search:"\u041F\u043E\u0448\u0443\u043A",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",select_all:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0456",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0437 {{y}} \u0444\u0430\u0439\u043B\u0456\u0432",size:"\u0420\u043E\u0437\u043C\u0456\u0440",source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F",tags:{delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",delete_tip:"\u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0442\u0435\u0433\u0438 \u0437 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",placeholder:"\u0422\u0435\u0433\u0438...",put:"\u0421\u0442\u0430\u0432\u0442\u0435 \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0434\u0430\u0439\u0442\u0435 \u0442\u0435\u0433\u0438 \u0434\u043E \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",set:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u0433\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432"},title:"\u041D\u0430\u0437\u0432\u0430",toggle_drawer:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u0456\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0456\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0432\u0456\u0434\u043E\u043C\u043E"}};var lt={content_types:{plural:{all:"\u5168\u90E8",audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"},singular:{audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"}},dashboard:{event:{created:"\u5DF2\u521B\u5EFA",failed:"\u5931\u8D25",processed:"\u5DF2\u5904\u7406",updated:"\u5DF2\u66F4\u65B0"},interval:{all:"\u5168\u90E8",days:"\u5929",days_1:"1\u5929",hours:"\u5C0F\u65F6",hours_1:"1\u5C0F\u65F6",hours_12:"12\u5C0F\u65F6",hours_6:"6\u5C0F\u65F6",minutes:"\u5206\u949F",minutes_1:"1\u5206\u949F",minutes_15:"15\u5206\u949F",minutes_30:"30\u5206\u949F",minutes_5:"5\u5206\u949F",off:"\u5173\u95ED",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u5468"},metrics:{event:"\u4E8B\u4EF6",resolution:"\u5206\u8FA8\u7387",throughput:"\u541E\u5410\u91CF",timeframe:"\u65F6\u95F4\u8303\u56F4"},queues:{created:"\u5DF2\u521B\u5EFA",created_at:"\u521B\u5EFA\u4E8E",enqueue_jobs:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",enqueue_torrent_processing_batch:"\u52A0\u5165\u961F\u5217\u7684\u79CD\u5B50\u5904\u7406\u6279\u6B21",failed:"\u5931\u8D25",force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",jobs_enqueued:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",latency:"\u5EF6\u8FDF",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",payload:"\u6709\u6548\u8F7D\u8377",pending:"\u5F85\u5904\u7406",priority:"\u4F18\u5148\u7EA7",process_orphaned_torrents_only:"\u4EC5\u5904\u7406\u5B64\u7ACB\u7684\u79CD\u5B50",processed:"\u5DF2\u5904\u7406",purge_jobs:"\u6E05\u9664\u4EFB\u52A1",purge_queue_jobs:"\u6E05\u9664\u961F\u5217\u4EFB\u52A1",queue:"\u961F\u5217",queue_purged:"\u961F\u5217\u5DF2\u6E05\u9664",queues:"\u961F\u5217",ran_at:"\u8FD0\u884C\u4E8E",retry:"\u91CD\u8BD5",total_counts_by_status:"\u6309\u72B6\u6001\u7EDF\u8BA1\u603B\u6570"}},facets:{content_type:"\u5185\u5BB9\u7C7B\u578B",file_type:"\u6587\u4EF6\u7C7B\u578B",genre:"\u7C7B\u578B",language:"\u8BED\u8A00",queue:"\u961F\u5217",status:"\u72B6\u6001",torrent_source:"\u79CD\u5B50\u6765\u6E90",torrent_tag:"\u79CD\u5B50\u6807\u7B7E",video_resolution:"\u89C6\u9891\u5206\u8FA8\u7387",video_source:"\u89C6\u9891\u6765\u6E90"},file_types:{archive:"\u6863\u6848",audio:"\u97F3\u9891",data:"\u6570\u636E",document:"\u6587\u6863",image:"\u56FE\u50CF",software:"\u8F6F\u4EF6",subtitles:"\u5B57\u5E55",unknown:"\u672A\u77E5",video:"\u89C6\u9891"},general:{all:"\u5168\u90E8",dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",none:"\u65E0",page_not_found:"\u9875\u9762\u672A\u627E\u5230",refresh:"\u5237\u65B0",status:"\u72B6\u6001"},health:{bitmagnet_is_status:"bitmagnet\u662F{{status}}",check_failed_with_error:"\u68C0\u67E5\u5931\u8D25\uFF0C\u9519\u8BEF",component:"\u7EC4\u4EF6",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",status:"\u72B6\u6001",statuses:{degraded:"\u964D\u7EA7",down:"\u5173\u95ED",error:"\u9519\u8BEF",inactive:"\u4E0D\u6D3B\u8DC3",started:"\u5DF2\u542F\u52A8",unknown:"\u672A\u77E5",up:"\u8FD0\u884C\u4E2D"},summary:"\u5065\u5EB7\u6982\u8FF0",worker:"\u5DE5\u4F5C\u8005",workers:{dht_crawler:"DHT\u722C\u866B",http_server:"HTTP\u670D\u52A1\u5668",queue_server:"\u961F\u5217\u670D\u52A1\u5668"}},languages:{af:"\u5357\u975E\u8377\u5170\u8BED",ar:"\u963F\u62C9\u4F2F\u8BED",az:"\u963F\u585E\u62DC\u7586\u8BED",be:"\u767D\u4FC4\u7F57\u65AF\u8BED",bg:"\u4FDD\u52A0\u5229\u4E9A\u8BED",bs:"\u6CE2\u65AF\u5C3C\u4E9A\u8BED",ca:"\u52A0\u6CF0\u7F57\u5C3C\u4E9A\u8BED",ce:"\u8F66\u81E3\u8BED",co:"\u79D1\u897F\u5609\u8BED",cs:"\u6377\u514B\u8BED",cy:"\u5A01\u5C14\u58EB\u8BED",da:"\u4E39\u9EA6\u8BED",de:"\u5FB7\u8BED",el:"\u5E0C\u814A\u8BED",en:"\u82F1\u8BED",es:"\u897F\u73ED\u7259\u8BED",et:"\u7231\u6C99\u5C3C\u4E9A\u8BED",eu:"\u5DF4\u65AF\u514B\u8BED",fa:"\u6CE2\u65AF\u8BED",fi:"\u82AC\u5170\u8BED",fr:"\u6CD5\u8BED",he:"\u5E0C\u4F2F\u6765\u8BED",hi:"\u5370\u5730\u8BED",hr:"\u514B\u7F57\u5730\u4E9A\u8BED",hu:"\u5308\u7259\u5229\u8BED",hy:"\u4E9A\u7F8E\u5C3C\u4E9A\u8BED",id:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u8BED",is:"\u51B0\u5C9B\u8BED",it:"\u610F\u5927\u5229\u8BED",ja:"\u65E5\u8BED",ka:"\u683C\u9C81\u5409\u4E9A\u8BED",ko:"\u97E9\u8BED",ku:"\u5E93\u5C14\u5FB7\u8BED",lt:"\u7ACB\u9676\u5B9B\u8BED",lv:"\u62C9\u8131\u7EF4\u4E9A\u8BED",mi:"\u6BDB\u5229\u8BED",mk:"\u9A6C\u5176\u987F\u8BED",ml:"\u9A6C\u62C9\u96C5\u62C9\u59C6\u8BED",mn:"\u8499\u53E4\u8BED",ms:"\u9A6C\u6765\u8BED",mt:"\u9A6C\u8033\u4ED6\u8BED",nl:"\u8377\u5170\u8BED",no:"\u632A\u5A01\u8BED",pl:"\u6CE2\u5170\u8BED",pt:"\u8461\u8404\u7259\u8BED",ro:"\u7F57\u9A6C\u5C3C\u4E9A\u8BED",ru:"\u4FC4\u8BED",sa:"\u68B5\u8BED",sk:"\u65AF\u6D1B\u4F10\u514B\u8BED",sl:"\u65AF\u6D1B\u6587\u5C3C\u4E9A\u8BED",sm:"\u8428\u6469\u4E9A\u8BED",so:"\u7D22\u9A6C\u91CC\u8BED",sr:"\u585E\u5C14\u7EF4\u4E9A\u8BED",sv:"\u745E\u5178\u8BED",ta:"\u6CF0\u7C73\u5C14\u8BED",th:"\u6CF0\u8BED",tr:"\u571F\u8033\u5176\u8BED",uk:"\u4E4C\u514B\u5170\u8BED",vi:"\u8D8A\u5357\u8BED",yi:"\u610F\u7B2C\u7EEA\u8BED",zh:"\u4E2D\u6587",zu:"\u7956\u9C81\u8BED"},layout:{bitmagnet_on_service:"bitmagnet\u5728{{service}}",change_theme:"\u66F4\u6539\u4E3B\u9898",external_links:"\u5916\u90E8\u94FE\u63A5",sponsor:"\u8D5E\u52A9\u5546",support_bitmagnet:"\u652F\u6301bitmagnet",translate:"\u7FFB\u8BD1"},paginator:{first_page:"\u7B2C\u4E00\u9875",items_per_page:"\u6BCF\u9875\u9879\u76EE\u6570",last_page:"\u6700\u540E\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",previous_page:"\u4E0A\u4E00\u9875",x_to_y:"{{x}}\u5230{{y}}",x_to_y_of_y:"__\u7F3A\u5931__",x_to_y_of_z:"{{x}}\u5230{{y}}\uFF0C\u5171{{z}}"},routes:{admin:"\u7BA1\u7406\u5458",dashboard:"\u4EEA\u8868\u76D8",home:"\u9996\u9875",jobs:"\u4EFB\u52A1",queues:"\u961F\u5217",torrents:"\u79CD\u5B50",visualize:"\u53EF\u89C6\u5316"},torrents:{clear_search:"\u6E05\u9664\u641C\u7D22",copy:"\u590D\u5236",copy_to_clipboard:"\u590D\u5236\u5230\u526A\u8D34\u677F",delete:"\u5220\u9664",delete_action_cannot_be_undone:"\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500",delete_are_you_sure:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u6B64\u79CD\u5B50\u5417\uFF1F",deselect_all:"\u53D6\u6D88\u5168\u9009",download:"\u4E0B\u8F7D",download_confirm:"\u60A8\u786E\u5B9A\u8981\u4E0B\u8F7D\u9009\u5B9A\u7684\u79CD\u5B50\u5417\uFF1F",edit_tags:"\u7F16\u8F91\u6807\u7B7E",episodes:"\u5267\u96C6",external_links:"\u5916\u90E8\u94FE\u63A5",file_index:"\u6587\u4EF6\u7D22\u5F15",file_path:"\u6587\u4EF6\u8DEF\u5F84",file_size:"\u6587\u4EF6\u5927\u5C0F",file_type:"\u6587\u4EF6\u7C7B\u578B",files:"\u6587\u4EF6",files_count_n:"{{count}}\u4E2A\u6587\u4EF6",files_no_info:"\u65E0\u6587\u4EF6\u4FE1\u606F",files_single:"\u5355\u4E2A\u6587\u4EF6",genres:"\u7C7B\u578B",info_hash:"\u4FE1\u606F\u54C8\u5E0C",info_hashes:"\u4FE1\u606F\u54C8\u5E0C",languages:"\u8BED\u8A00",leechers:"\u4E0B\u8F7D\u8005",magnet:"\u78C1\u529B\u94FE\u63A5",magnet_links:"\u78C1\u529B\u94FE\u63A5",new_tag:"\u65B0\u6807\u7B7E",order_by:"\u6392\u5E8F\u4F9D\u636E",order_direction_toggle:"\u5207\u6362\u65B9\u5411",ordering:{files_count:"\u6587\u4EF6\u6570",info_hash:"\u4FE1\u606F\u54C8\u5E0C",leechers:"\u4E0B\u8F7D\u8005",name:"\u540D\u79F0",published_at:"\u53D1\u5E03\u4E8E",relevance:"\u76F8\u5173\u6027",seeders:"\u4E0A\u4F20\u8005",size:"\u5927\u5C0F",updated_at:"\u66F4\u65B0\u4E8E"},original_release_date:"\u539F\u59CB\u53D1\u5E03\u65E5\u671F",permalink:"\u6C38\u4E45\u94FE\u63A5",poster:"\u6D77\u62A5",published:"\u5DF2\u53D1\u5E03",rating:"\u8BC4\u5206",refresh:"\u5237\u65B0\u7ED3\u679C",s_l:"S / L",search:"\u641C\u7D22",seeders:"\u4E0A\u4F20\u8005",select_all:"\u5168\u9009",showing_x_of_y_files:"\u663E\u793A{{x}}\u4E2A\uFF0C\u5171{{y}}\u4E2A\u6587\u4EF6",size:"\u5927\u5C0F",source:"\u79CD\u5B50\u6765\u6E90",summary:"\u6458\u8981",tags:{delete:"\u5220\u9664\u6807\u7B7E",delete_tip:"\u4ECE\u9009\u5B9A\u7684\u79CD\u5B50\u4E2D\u5220\u9664\u6807\u7B7E",placeholder:"\u6807\u7B7E...",put:"\u6DFB\u52A0\u6807\u7B7E",put_tip:"\u4E3A\u9009\u5B9A\u7684\u79CD\u5B50\u6DFB\u52A0\u6807\u7B7E",set:"\u8BBE\u7F6E\u6807\u7B7E",set_tip:"\u66FF\u6362\u9009\u5B9A\u79CD\u5B50\u7684\u6807\u7B7E"},title:"\u6807\u9898",toggle_drawer:"\u5207\u6362\u62BD\u5C49",votes_count_n:"{{count}}\u7968"},version:{bitmagnet_version:"bitmagnet\u7248\u672C{{version}}",unknown:"\u672A\u77E5"}};var W={ar:Ye,de:Je,en:Ze,es:$e,fr:et,hi:tt,ja:ot,nl:at,pt:rt,ru:nt,tr:st,uk:it,zh:lt};var ut=(()=>{class t{getTranslation(e){return Z(this,null,function*(){if(e in W){let o=W[e];return ct(o)}else return Promise.reject(new Error(`Translation not found: ${e}`))})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Bt=["__missing__","__fallback__"],ct=t=>Object.fromEntries(Object.entries(t).flatMap(([a,e])=>{if(typeof e=="object")e=ct(e);else if(typeof e=="string"&&Bt.includes(e))return[];return[[a,e]]}));var dt={providers:[he({eventCoalescing:!0}),xe(Qe,Se()),We("animations"),X(pe()),X(),ze({config:{availableLangs:[{id:"ar",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},{id:"de",label:"Deutsch"},{id:"en",label:"English"},{id:"es",label:"Espa\xF1ol"},{id:"fr",label:"Fran\xE7ais"},{id:"hi",label:"\u0939\u093F\u0928\u094D\u0926\u0940"},{id:"ja",label:"\u65E5\u672C\u8A9E"},{id:"nl",label:"Nederlands"},{id:"pt",label:"Portugu\xEAs"},{id:"ru",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{id:"tr",label:"T\xFCrk\xE7e"},{id:"uk",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},{id:"zh",label:"\u4E2D\u6587"}],defaultLang:"en",fallbackLang:"en",missingHandler:{useFallbackTranslation:!0},reRenderOnLangChange:!0,prodMode:!1},loader:ut}),Ae(Me())]};var Rt=new q("Browser Storage",{providedIn:"root",factory:()=>localStorage}),L=(()=>{class t{constructor(e){this.storage=e}get(e){return this.storage.getItem(e)}set(e,o){this.storage.setItem(e,o)}remove(e){this.storage.removeItem(e)}clear(){this.storage.clear()}static{this.\u0275fac=function(o){return new(o||t)(oe(Rt))}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Ht={classic:{key:"classic",label:"Classic",dark:!1},clean:{key:"clean",label:"Clean",dark:!1},neon:{key:"neon",label:"Neon",dark:!0},tundra:{key:"tundra",label:"Tundra",dark:!0}},F=Ht,_t="classic",mt="tundra";var Q="bitmagnet-theme",B=(()=>{class t{constructor(){this.document=u(D),this.browserStorage=u(L),this._window=this.document.defaultView,this.selectedThemeSubject=new $(void 0),this.selectedTheme$=this.selectedThemeSubject.asObservable(),this.themes=Object.values(F),this.getPreferredTheme=()=>this.getStoredTheme()??this.getAutoTheme(),this.getStoredTheme=()=>{let e=this.browserStorage.get(Q);return e&&e in F?e:void 0},this.getAutoTheme=()=>this.windowMatchMediaPrefersDark()?.matches?mt:_t,this.setTheme=e=>{this.setActiveTheme(e),this.setStoredTheme(this.selectedTheme??"auto")},this.setActiveTheme=e=>{e==="auto"||!(e in F)?(e=this.getAutoTheme(),this.selectedTheme=void 0):this.selectedTheme=e,this.document.documentElement.setAttribute("data-bitmagnet-theme",e),this.selectedThemeSubject.next(this.selectedTheme)},this.setStoredTheme=e=>{e==="auto"?this.browserStorage.remove(Q):this.browserStorage.set(Q,e)},this.setActiveTheme(this.getPreferredTheme()),this.windowMatchMediaPrefersDark()?.addEventListener("change",()=>{this.getStoredTheme()||this.setActiveTheme(this.getAutoTheme())})}windowMatchMediaPrefersDark(){return this._window&&this._window.matchMedia?this._window.matchMedia("(prefers-color-scheme: dark)"):void 0}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Gt=t=>({version:t});function Nt(t,a){if(t&1&&(T(0),s(1,"span",1),c(2),n(),x()),t&2){let e=a.$implicit,o=_();i(),h("matTooltip",e("version.bitmagnet_version",me(2,Gt,o.versionUnknown?e("version.unknown"):o.version))),i(),f(o.version)}}var Y="v-unknown",ht=(()=>{class t{constructor(){this.apollo=u(qe),this.version=Y,this.versionUnknown=!0}ngOnInit(){this.apollo.query({query:je}).pipe(ee(e=>e.data.version)).subscribe({next:e=>{e?(this.version=e,this.versionUnknown=!1):(this.version=Y,this.versionUnknown=!0)},error:()=>{this.version=Y}})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-version"]],standalone:!0,features:[b],decls:1,vars:0,consts:[[4,"transloco"],[1,"version",3,"matTooltip"]],template:function(o,r){o&1&&w(0,Nt,3,4,"ng-container",0)},dependencies:[I,j,E,Ie],encapsulation:2})}}return t})();var pt="bitmagnet-language",gt=(()=>{class t{constructor(){this.transloco=u(Ce),this.browserStorage=u(L),this.availableLanguages=this.transloco.getAvailableLangs(),this.transloco.setActiveLang(this.getPreferredLanguage())}getPreferredLanguage(){return this.getStoredLanguage()??this.getAutoLanguage()}getStoredLanguage(){let e=this.browserStorage.get(pt);return e&&this.transloco.isLang(e)?e:void 0}getAutoLanguage(){let e=navigator?.language?.split("-")?.[0];return this.transloco.isLang(e)?e:"en"}setLanguage(e){this.transloco.setActiveLang(e),this.browserStorage.set(pt,e)}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Kt=["element"],J=(()=>{class t{static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-theme-emitter-color"]],viewQuery:function(o,r){if(o&1&&z(Kt,5),o&2){let l;M(l=A())&&(r.element=l.first)}},inputs:{color:"color"},standalone:!0,features:[b],decls:2,vars:2,consts:[["element",""]],template:function(o,r){o&1&&d(0,"div",null,0),o&2&&v("theme-emitter-color "+r.color)},encapsulation:2})}}return t})();var Xt=["lightdark"];function Ut(t,a){if(t&1&&d(0,"app-theme-emitter-color",1),t&2){let e=a.$implicit;h("color",e)}}var ft=(()=>{class t{constructor(){this.service=u(Ue),this.themeManager=u(B),this.themeColors=Xe,this.themeManager.selectedTheme$.subscribe(()=>{this.updateThemeColors()})}ngAfterViewInit(){this.updateThemeColors()}updateThemeColors(){let e={};for(let r of this.elements??[])e[r.color]=getComputedStyle(r.element.nativeElement).color;let o=this.lightdark&&getComputedStyle(this.lightdark.nativeElement).color==="rgb(0, 0, 0)"?"dark":"light";this.service.setInfo({colors:e,type:o})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-theme-emitter"]],viewQuery:function(o,r){if(o&1&&(z(Xt,5),z(J,5)),o&2){let l;M(l=A())&&(r.lightdark=l.first),M(l=A())&&(r.elements=l)}},standalone:!0,features:[b],decls:5,vars:0,consts:[["lightdark",""],[3,"color"],[1,"theme-emitter-lightdark"]],template:function(o,r){o&1&&(T(0),S(1,Ut,1,1,"app-theme-emitter-color",1,ce),d(3,"div",2,0),x()),o&2&&(i(),C(r.themeColors))},dependencies:[J],styles:["[_nghost-%COMP%]{display:none}.theme-emitter-color.background[_ngcontent-%COMP%]{color:var(--mat-app-background-color)}.theme-emitter-color.foreground[_ngcontent-%COMP%]{color:var(--mat-app-text-color)}"]})}}return t})();var Qt=["*"],Yt=(t,a)=>a.key,Jt=(t,a)=>a.id,Zt=()=>({service:"Discord"}),$t=()=>({service:"GitHub"}),eo=()=>({service:"OpenCollective"});function to(t,a){if(t&1&&(s(0,"h1")(1,"a",22),d(2,"mat-icon",23),s(3,"span",24),c(4,"bitmagnet"),n(),d(5,"app-version"),n()(),s(6,"nav")(7,"a",25,3),d(9,"mat-icon",23),c(10),n(),s(11,"a",26,4)(13,"mat-icon"),c(14,"dashboard"),n(),c(15),n()()),t&2){let e=k(8),o=k(12),r=_().$implicit;i(7),v(e.isActive?"active":""),i(3),K(" ",r("routes.torrents")," "),i(),v(o.isActive?"active":""),i(4),K(" ",r("routes.dashboard")," ")}}function oo(t,a){if(t&1&&(s(0,"h1")(1,"a",27),d(2,"mat-icon",23),n()(),s(3,"button",28,4)(5,"mat-icon"),c(6,"dashboard"),n()()),t&2){let e=k(4),o=_().$implicit;i(3),v(e.isActive?"active":""),h("matTooltip",o("routes.dashboard"))}}function ao(t,a){if(t&1){let e=G();s(0,"a",29),N("click",function(){let r=R(e).$implicit,l=_(2);return H(l.themeManager.setTheme(r.key))}),s(1,"mat-icon"),c(2),n(),c(3),n()}if(t&2){let e=a.$implicit,o=_(2);v(e.key===o.themeManager.selectedTheme?"active":""),i(2),f(e.dark?"dark_mode":"light_mode"),i(),f(e.label)}}function ro(t,a){if(t&1){let e=G();s(0,"a",30),N("click",function(){let r=R(e).$implicit,l=_(2);return H(l.translateManager.setLanguage(r.id))}),c(1),n()}if(t&2){let e=a.$implicit,o=_().$implicit,r=_();v(e.id===r.translateManager.getPreferredLanguage()?"active":""),h("matTooltip",e.id===r.translateManager.getPreferredLanguage()?void 0:o("languages."+e.id)),i(),f(e.label)}}function no(t,a){if(t&1&&(s(0,"a",19)(1,"mat-icon"),c(2,"favorite"),n()()),t&2){let e=_().$implicit;h("matTooltip",e("layout.sponsor"))}}function so(t,a){if(t&1&&(s(0,"a",20)(1,"mat-icon"),c(2,"favorite"),n(),c(3),n()),t&2){let e=_().$implicit;h("matTooltip",e("layout.support_bitmagnet")),i(3),f(e("layout.sponsor"))}}function io(t,a){if(t&1&&(T(0),s(1,"mat-toolbar",6),w(2,to,16,6)(3,oo,7,3),d(4,"span",7)(5,"app-health-widget"),s(6,"button",8)(7,"mat-icon"),c(8,"apparel"),n()(),s(9,"mat-menu",9,0),S(11,ao,4,4,"a",10,Yt),n(),s(13,"button",11)(14,"mat-icon"),c(15,"translate"),n()(),s(16,"mat-menu",9,1),S(18,ro,2,4,"a",12,Jt),n(),s(20,"button",13),d(21,"mat-icon",14),n(),s(22,"mat-menu",9,2)(24,"a",15),c(25,"bitmagnet.io"),n(),s(26,"a",16),c(27),n(),s(28,"a",17),c(29),n(),s(30,"a",18),c(31),n()(),w(32,no,3,1,"a",19)(33,so,4,2,"a",20),n(),s(34,"div",21),_e(35),n(),d(36,"app-theme-emitter"),x()),t&2){let e=a.$implicit,o=k(10),r=k(17),l=k(23),m=_();i(2),O(m.breakpoints.sizeAtLeast("Medium")?2:3),i(4),h("matMenuTriggerFor",o)("matTooltip",e("layout.change_theme")),i(5),C(m.themeManager.themes),i(2),h("matMenuTriggerFor",r)("matTooltip",e("layout.translate")),i(5),C(m.translateManager.availableLanguages),i(2),h("matTooltip",e("layout.external_links"))("matMenuTriggerFor",l),i(7),f(e("layout.bitmagnet_on_service",P(11,Zt))),i(2),f(e("layout.bitmagnet_on_service",P(12,$t))),i(2),f(e("layout.bitmagnet_on_service",P(13,eo))),i(),O(m.breakpoints.sizeAtLeast("Medium")?33:32)}}var bt=(()=>{class t{constructor(){this.themeManager=u(B),this.translateManager=u(gt),this.breakpoints=u(Oe),this.title=u(be),this.router=u(ke),this.health=u(Ge)}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=g({type:t,selectors:[["app-layout"]],standalone:!0,features:[b],ngContentSelectors:Qt,decls:1,vars:0,consts:[["themesMenu","matMenu"],["languagesMenu","matMenu"],["externalLinksMenu","matMenu"],["linkTorrents","routerLinkActive"],["linkDashboard","routerLinkActive"],[4,"transloco"],[1,"toolbar-header"],[1,"spacer"],["mat-icon-button","","aria-label","Theme",3,"matMenuTriggerFor","matTooltip"],[1,"layout-header-menu"],["mat-menu-item","",3,"class"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","class"],["mat-icon-button","",3,"matTooltip","matMenuTriggerFor"],["svgIcon","external-link"],["mat-menu-item","","href","https://bitmagnet.io","target","_blank"],["mat-menu-item","","href","https://discord.gg/6mFNszX8qM","target","_blank"],["mat-menu-item","","href","https://github.com/bitmagnet-io/bitmagnet","target","_blank"],["mat-menu-item","","href","https://opencollective.com/bitmagnet","target","_blank"],["mat-icon-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],["mat-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],[1,"app-content"],["routerLink","torrents"],["svgIcon","magnet"],[1,"name"],["mat-button","","routerLink","torrents","routerLinkActive",""],["mat-button","","routerLink","dashboard","routerLinkActive",""],["routerLink","/torrents"],["mat-icon-button","","routerLink","dashboard","routerLinkActive","",3,"matTooltip"],["mat-menu-item","",3,"click"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click","matTooltip"]],template:function(o,r){o&1&&(de(),w(0,io,37,14,"ng-container",5))},dependencies:[I,Pe,Ee,De,Fe,Re,Be,He,Ve,j,we,Te,E,Ke,Ne,ft,ht],styles:[".mat-toolbar.toolbar-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:10;--mat-toolbar-title-text-size: 22px;--mat-toolbar-standard-height: 56px;--mat-icon-color: #fff;padding:0 20px;--mdc-text-button-label-text-size: 15px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:-2px;margin-right:20px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:4px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{margin-left:10px;margin-right:16px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] app-version[_ngcontent-%COMP%]{font-size:13px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]{margin-left:6px;--mdc-text-button-label-text-weight: bold;--mat-text-button-horizontal-padding: 12px;--mdc-text-button-container-height: 30px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{position:absolute;left:340px;top:0;height:56px;padding-top:14px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:10px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] mat-icon[data-mat-icon-name=magnet][_ngcontent-%COMP%]{margin-top:-5px;overflow:visible}.app-content[_ngcontent-%COMP%]{z-index:1}.layout-header-menu[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{font-weight:700}"]})}}return t})();var yt=(t,a)=>t.setDefaultFontSetClass("material-icons-outlined","material-symbols-outlined").addSvgIcon("magnet",a.bypassSecurityTrustResourceUrl("magnet.svg")).addSvgIcon("external-link",a.bypassSecurityTrustResourceUrl("external-link.svg")).addSvgIcon("binary",a.bypassSecurityTrustResourceUrl("binary.svg")).addSvgIcon("queue",a.bypassSecurityTrustResourceUrl("queue.svg"));var vt=(()=>{class t{constructor(e,o){this.title="bitmagnet",yt(e,o)}static{this.\u0275fac=function(o){return new(o||t)(V(Le),V(ye))}}static{this.\u0275cmp=g({type:t,selectors:[["app-root"]],standalone:!0,features:[b],decls:2,vars:0,template:function(o,r){o&1&&(s(0,"app-layout"),d(1,"router-outlet"),n())},dependencies:[ve,bt]})}}return t})();fe(vt,dt).catch(t=>console.error(t)); diff --git a/webui/dist/bitmagnet/browser/styles-G2MF5VCJ.css b/webui/dist/bitmagnet/browser/styles-G2MF5VCJ.css new file mode 100644 index 00000000..9b14d63b --- /dev/null +++ b/webui/dist/bitmagnet/browser/styles-G2MF5VCJ.css @@ -0,0 +1 @@ +@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-cyrillic-ext-400-normal-ZDADDXVC.woff2") format("woff2"),url("./media/roboto-cyrillic-ext-400-normal-3LPF5CMR.woff") format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-cyrillic-400-normal-ZSAA7UM5.woff2") format("woff2"),url("./media/roboto-cyrillic-400-normal-LBMDEO7N.woff") format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-greek-ext-400-normal-W33USUDN.woff2") format("woff2"),url("./media/roboto-greek-ext-400-normal-XVSFLYYV.woff") format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-greek-400-normal-XOLKJBVR.woff2") format("woff2"),url("./media/roboto-greek-400-normal-DTDUS3GJ.woff") format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-vietnamese-400-normal-RHIHKZKP.woff2") format("woff2"),url("./media/roboto-vietnamese-400-normal-PKET2HVX.woff") format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-latin-ext-400-normal-HADPAURF.woff2") format("woff2"),url("./media/roboto-latin-ext-400-normal-SAKQSSDU.woff") format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-latin-400-normal-JNYDHCS5.woff2") format("woff2"),url("./media/roboto-latin-400-normal-Q4ODZ3WO.woff") format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Material Icons;font-style:normal;font-display:swap;font-weight:400;src:url("./media/material-icons-latin-400-normal-LEZCGFVT.woff2") format("woff2"),url("./media/material-icons-latin-400-normal-OKHIZNFO.woff") format("woff")}@font-face{font-family:Material Icons Outlined;font-style:normal;font-display:swap;font-weight:400;src:url("./media/material-icons-outlined-latin-400-normal-7BWLPMFK.woff2") format("woff2"),url("./media/material-icons-outlined-latin-400-normal-PCUTWIDZ.woff") format("woff")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:swap;font-weight:100;src:url("./media/material-symbols-outlined-latin-100-normal-Q755U3GZ.woff2") format("woff2"),url("./media/material-symbols-outlined-latin-100-normal-KBIUMYAA.woff") format("woff")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:swap;font-weight:200;src:url("./media/material-symbols-outlined-latin-200-normal-A2Z3HCC2.woff2") format("woff2"),url("./media/material-symbols-outlined-latin-200-normal-JBR4MHAF.woff") format("woff")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:swap;font-weight:300;src:url("./media/material-symbols-outlined-latin-300-normal-QVIUYGFA.woff2") format("woff2"),url("./media/material-symbols-outlined-latin-300-normal-JTVX56JQ.woff") format("woff")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:swap;font-weight:400;src:url("./media/material-symbols-outlined-latin-400-normal-4FRPJO5X.woff2") format("woff2"),url("./media/material-symbols-outlined-latin-400-normal-CBTIXZPO.woff") format("woff")}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element,.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-app-background, transparent));color:var(--mat-app-text-color, var(--mat-app-on-background, inherit))}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html{--mat-app-background-color: #fbf8fd;--mat-app-text-color: #1b1b1f;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-ripple-color: rgba(27, 27, 31, .1);--mat-option-selected-state-label-text-color: #400014;--mat-option-label-text-color: #1b1b1f;--mat-option-hover-state-layer-color: rgba(27, 27, 31, .08);--mat-option-focus-state-layer-color: rgba(27, 27, 31, .12);--mat-option-selected-state-layer-color: #ffd9de;--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 1.25rem;--mat-option-label-text-size: 1rem;--mat-option-label-text-tracking: .006rem;--mat-option-label-text-weight: 400;--mat-optgroup-label-text-color: #46464f;--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 1.25rem;--mat-optgroup-label-text-size: .875rem;--mat-optgroup-label-text-tracking: .006rem;--mat-optgroup-label-text-weight: 500;--mat-full-pseudo-checkbox-selected-icon-color: #4355b9;--mat-full-pseudo-checkbox-selected-checkmark-color: #ffffff;--mat-full-pseudo-checkbox-unselected-icon-color: #46464f;--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fbf8fd;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: rgba(27, 27, 31, .38);--mat-full-pseudo-checkbox-disabled-selected-icon-color: rgba(27, 27, 31, .38);--mat-minimal-pseudo-checkbox-selected-checkmark-color: #4355b9;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: rgba(27, 27, 31, .38);--mdc-elevated-card-container-color: #fbf8fd;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-elevated-card-container-shape: 12px;--mdc-outlined-card-container-color: #fbf8fd;--mdc-outlined-card-outline-color: #c7c5d0;--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-shape: 12px;--mdc-outlined-card-outline-width: 1px;--mat-card-subtitle-text-color: #1b1b1f;--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 1.75rem;--mat-card-title-text-size: 1.375rem;--mat-card-title-text-tracking: 0;--mat-card-title-text-weight: 400;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 1.5rem;--mat-card-subtitle-text-size: 1rem;--mat-card-subtitle-text-tracking: .009rem;--mat-card-subtitle-text-weight: 500;--mdc-linear-progress-active-indicator-color: #4355b9;--mdc-linear-progress-track-color: #e3e1ec;--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0;--mdc-plain-tooltip-container-color: #303034;--mdc-plain-tooltip-supporting-text-color: #f3f0f4;--mdc-plain-tooltip-supporting-text-line-height: 1rem;--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: .75rem;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .025rem;--mdc-plain-tooltip-container-shape: 4px;--mdc-filled-text-field-caret-color: #4355b9;--mdc-filled-text-field-focus-active-indicator-color: #4355b9;--mdc-filled-text-field-focus-label-text-color: #4355b9;--mdc-filled-text-field-container-color: #e3e1ec;--mdc-filled-text-field-disabled-container-color: rgba(27, 27, 31, .04);--mdc-filled-text-field-label-text-color: #46464f;--mdc-filled-text-field-hover-label-text-color: #46464f;--mdc-filled-text-field-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-filled-text-field-input-text-color: #1b1b1f;--mdc-filled-text-field-disabled-input-text-color: rgba(27, 27, 31, .38);--mdc-filled-text-field-input-text-placeholder-color: #46464f;--mdc-filled-text-field-error-hover-label-text-color: #410002;--mdc-filled-text-field-error-focus-label-text-color: #ba1a1a;--mdc-filled-text-field-error-label-text-color: #ba1a1a;--mdc-filled-text-field-active-indicator-color: #46464f;--mdc-filled-text-field-disabled-active-indicator-color: rgba(27, 27, 31, .38);--mdc-filled-text-field-hover-active-indicator-color: #1b1b1f;--mdc-filled-text-field-error-active-indicator-color: #ba1a1a;--mdc-filled-text-field-error-focus-active-indicator-color: #ba1a1a;--mdc-filled-text-field-error-hover-active-indicator-color: #410002;--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 1rem;--mdc-filled-text-field-label-text-tracking: .031rem;--mdc-filled-text-field-label-text-weight: 400;--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-caret-color: #4355b9;--mdc-outlined-text-field-focus-outline-color: #4355b9;--mdc-outlined-text-field-focus-label-text-color: #4355b9;--mdc-outlined-text-field-label-text-color: #46464f;--mdc-outlined-text-field-hover-label-text-color: #1b1b1f;--mdc-outlined-text-field-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-outlined-text-field-input-text-color: #1b1b1f;--mdc-outlined-text-field-disabled-input-text-color: rgba(27, 27, 31, .38);--mdc-outlined-text-field-input-text-placeholder-color: #46464f;--mdc-outlined-text-field-error-focus-label-text-color: #ba1a1a;--mdc-outlined-text-field-error-label-text-color: #ba1a1a;--mdc-outlined-text-field-error-hover-label-text-color: #410002;--mdc-outlined-text-field-outline-color: #767680;--mdc-outlined-text-field-disabled-outline-color: rgba(27, 27, 31, .12);--mdc-outlined-text-field-hover-outline-color: #1b1b1f;--mdc-outlined-text-field-error-focus-outline-color: #ba1a1a;--mdc-outlined-text-field-error-hover-outline-color: #410002;--mdc-outlined-text-field-error-outline-color: #ba1a1a;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 1rem;--mdc-outlined-text-field-label-text-tracking: .031rem;--mdc-outlined-text-field-label-text-weight: 400;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px;--mat-form-field-focus-select-arrow-color: #4355b9;--mat-form-field-disabled-input-text-placeholder-color: rgba(27, 27, 31, .38);--mat-form-field-state-layer-color: #1b1b1f;--mat-form-field-error-text-color: #ba1a1a;--mat-form-field-select-option-text-color: #1b1b1f;--mat-form-field-select-disabled-option-text-color: rgba(27, 27, 31, .38);--mat-form-field-leading-icon-color: #46464f;--mat-form-field-disabled-leading-icon-color: rgba(27, 27, 31, .38);--mat-form-field-trailing-icon-color: #46464f;--mat-form-field-disabled-trailing-icon-color: rgba(27, 27, 31, .38);--mat-form-field-error-focus-trailing-icon-color: #ba1a1a;--mat-form-field-error-hover-trailing-icon-color: #410002;--mat-form-field-error-trailing-icon-color: #ba1a1a;--mat-form-field-enabled-select-arrow-color: #46464f;--mat-form-field-disabled-select-arrow-color: rgba(27, 27, 31, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 1.5rem;--mat-form-field-container-text-size: 1rem;--mat-form-field-container-text-tracking: .031rem;--mat-form-field-container-text-weight: 400;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 1rem;--mat-form-field-subscript-text-size: .75rem;--mat-form-field-subscript-text-tracking: .025rem;--mat-form-field-subscript-text-weight: 400;--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px;--mat-form-field-focus-state-layer-opacity: 0;--mat-select-panel-background-color: #f0edf1;--mat-select-enabled-trigger-text-color: #1b1b1f;--mat-select-disabled-trigger-text-color: rgba(27, 27, 31, .38);--mat-select-placeholder-text-color: #46464f;--mat-select-enabled-arrow-color: #46464f;--mat-select-disabled-arrow-color: rgba(27, 27, 31, .38);--mat-select-focused-arrow-color: #4355b9;--mat-select-invalid-arrow-color: #ba1a1a;--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 1.5rem;--mat-select-trigger-text-size: 1rem;--mat-select-trigger-text-tracking: .031rem;--mat-select-trigger-text-weight: 400;--mat-select-arrow-transform: translateY(-8px);--mat-select-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-autocomplete-background-color: #f0edf1;--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-dialog-container-color: #fbf8fd;--mdc-dialog-subhead-color: #1b1b1f;--mdc-dialog-supporting-text-color: #46464f;--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 2rem;--mdc-dialog-subhead-size: 1.5rem;--mdc-dialog-subhead-weight: 400;--mdc-dialog-subhead-tracking: 0;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 1.25rem;--mdc-dialog-supporting-text-size: .875rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .016rem;--mdc-dialog-container-shape: 28px;--mat-dialog-container-elevation-shadow: none;--mat-dialog-container-max-width: 560px;--mat-dialog-container-small-max-width: calc(100vw - 32px) ;--mat-dialog-container-min-width: 280px;--mat-dialog-actions-alignment: flex-end;--mat-dialog-actions-padding: 16px 24px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px 0;--mat-dialog-headline-padding: 6px 24px 13px;--mdc-chip-outline-color: #767680;--mdc-chip-disabled-outline-color: rgba(27, 27, 31, .12);--mdc-chip-focus-outline-color: #46464f;--mdc-chip-hover-state-layer-opacity: .08;--mdc-chip-selected-hover-state-layer-opacity: .08;--mdc-chip-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-chip-elevated-selected-container-color: #ffd9de;--mdc-chip-flat-disabled-selected-container-color: rgba(27, 27, 31, .12);--mdc-chip-focus-state-layer-color: #46464f;--mdc-chip-hover-state-layer-color: #46464f;--mdc-chip-selected-hover-state-layer-color: #400014;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: #400014;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #46464f;--mdc-chip-selected-label-text-color: #400014;--mdc-chip-with-icon-icon-color: #46464f;--mdc-chip-with-icon-disabled-icon-color: #1b1b1f;--mdc-chip-with-icon-selected-icon-color: #400014;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #1b1b1f;--mdc-chip-with-trailing-icon-trailing-icon-color: #46464f;--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 1.25rem;--mdc-chip-label-text-size: .875rem;--mdc-chip-label-text-tracking: .006rem;--mdc-chip-label-text-weight: 500;--mdc-chip-container-height: 32px;--mdc-chip-container-shape-radius: 8px;--mdc-chip-with-avatar-avatar-shape-radius: 24px;--mdc-chip-with-avatar-avatar-size: 24px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 1px;--mdc-chip-with-avatar-disabled-avatar-opacity: .38;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: .38;--mdc-chip-with-icon-disabled-icon-opacity: .38;--mdc-chip-elevated-container-color: transparent;--mat-chip-trailing-action-state-layer-color: #46464f;--mat-chip-selected-trailing-action-state-layer-color: #400014;--mat-chip-trailing-action-hover-state-layer-opacity: .08;--mat-chip-trailing-action-focus-state-layer-opacity: .12;--mat-chip-selected-disabled-trailing-icon-color: #1b1b1f;--mat-chip-selected-trailing-icon-color: #400014;--mat-chip-disabled-container-opacity: 1;--mat-chip-trailing-action-opacity: 1;--mat-chip-trailing-action-focus-opacity: 1;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .08;--mdc-switch-selected-pressed-state-layer-opacity: .12;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .08;--mdc-switch-unselected-pressed-state-layer-opacity: .12;--mdc-switch-selected-focus-state-layer-color: #4355b9;--mdc-switch-selected-handle-color: #ffffff;--mdc-switch-selected-hover-state-layer-color: #4355b9;--mdc-switch-selected-pressed-state-layer-color: #4355b9;--mdc-switch-selected-focus-handle-color: #dee0ff;--mdc-switch-selected-hover-handle-color: #dee0ff;--mdc-switch-selected-pressed-handle-color: #dee0ff;--mdc-switch-selected-focus-track-color: #4355b9;--mdc-switch-selected-hover-track-color: #4355b9;--mdc-switch-selected-pressed-track-color: #4355b9;--mdc-switch-selected-track-color: #4355b9;--mdc-switch-disabled-selected-handle-color: #fbf8fd;--mdc-switch-disabled-selected-icon-color: #1b1b1f;--mdc-switch-disabled-selected-track-color: #1b1b1f;--mdc-switch-disabled-unselected-handle-color: #1b1b1f;--mdc-switch-disabled-unselected-icon-color: #e3e1ec;--mdc-switch-disabled-unselected-track-color: #e3e1ec;--mdc-switch-selected-icon-color: #00105c;--mdc-switch-unselected-focus-handle-color: #46464f;--mdc-switch-unselected-focus-state-layer-color: #1b1b1f;--mdc-switch-unselected-focus-track-color: #e3e1ec;--mdc-switch-unselected-handle-color: #767680;--mdc-switch-unselected-hover-handle-color: #46464f;--mdc-switch-unselected-hover-state-layer-color: #1b1b1f;--mdc-switch-unselected-hover-track-color: #e3e1ec;--mdc-switch-unselected-icon-color: #e3e1ec;--mdc-switch-unselected-pressed-handle-color: #46464f;--mdc-switch-unselected-pressed-state-layer-color: #1b1b1f;--mdc-switch-unselected-pressed-track-color: #e3e1ec;--mdc-switch-unselected-track-color: #e3e1ec;--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-shape: 9999px;--mdc-switch-selected-icon-size: 16px;--mdc-switch-track-height: 32px;--mdc-switch-track-shape: 9999px;--mdc-switch-track-width: 52px;--mdc-switch-unselected-icon-size: 16px;--mdc-switch-state-layer-size: 40px;--mat-switch-track-outline-color: #767680;--mat-switch-disabled-unselected-track-outline-color: #1b1b1f;--mat-switch-label-text-color: #1b1b1f;--mat-switch-label-text-font: Roboto, sans-serif;--mat-switch-label-text-line-height: 1.25rem;--mat-switch-label-text-size: .875rem;--mat-switch-label-text-tracking: .016rem;--mat-switch-label-text-weight: 400;--mat-switch-disabled-selected-handle-opacity: 1;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 16px;--mat-switch-selected-handle-size: 24px;--mat-switch-pressed-handle-size: 28px;--mat-switch-with-icon-handle-size: 24px;--mat-switch-selected-handle-horizontal-margin: 0 24px;--mat-switch-selected-with-icon-handle-horizontal-margin: 0 24px;--mat-switch-selected-pressed-handle-horizontal-margin: 0 22px;--mat-switch-unselected-handle-horizontal-margin: 0 8px;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0 4px;--mat-switch-unselected-pressed-handle-horizontal-margin: 0 2px;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 0;--mat-switch-visible-track-transition: opacity 75ms;--mat-switch-hidden-track-transition: opacity 75ms;--mat-switch-track-outline-width: 2px;--mat-switch-selected-track-outline-width: 2px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 2px;--mdc-radio-disabled-selected-icon-color: #1b1b1f;--mdc-radio-disabled-unselected-icon-color: #1b1b1f;--mdc-radio-unselected-hover-icon-color: #1b1b1f;--mdc-radio-unselected-icon-color: #46464f;--mdc-radio-unselected-pressed-icon-color: #1b1b1f;--mdc-radio-selected-focus-icon-color: #4355b9;--mdc-radio-selected-hover-icon-color: #4355b9;--mdc-radio-selected-icon-color: #4355b9;--mdc-radio-selected-pressed-icon-color: #4355b9;--mdc-radio-state-layer-size: 40px;--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mat-radio-ripple-color: #1b1b1f;--mat-radio-checked-ripple-color: #4355b9;--mat-radio-disabled-label-color: rgba(27, 27, 31, .38);--mat-radio-label-text-color: #1b1b1f;--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 1.25rem;--mat-radio-label-text-size: .875rem;--mat-radio-label-text-tracking: .016rem;--mat-radio-label-text-weight: 400;--mat-radio-touch-target-display: block;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-slider-handle-color: #4355b9;--mdc-slider-focus-handle-color: #4355b9;--mdc-slider-hover-handle-color: #4355b9;--mdc-slider-active-track-color: #4355b9;--mdc-slider-inactive-track-color: #e3e1ec;--mdc-slider-with-tick-marks-inactive-container-color: #46464f;--mdc-slider-with-tick-marks-active-container-color: #ffffff;--mdc-slider-disabled-active-track-color: #1b1b1f;--mdc-slider-disabled-handle-color: #1b1b1f;--mdc-slider-disabled-inactive-track-color: #1b1b1f;--mdc-slider-label-container-color: #4355b9;--mdc-slider-label-label-text-color: #ffffff;--mdc-slider-with-overlap-handle-outline-color: #ffffff;--mdc-slider-with-tick-marks-disabled-container-color: #1b1b1f;--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: .75rem;--mdc-slider-label-label-text-line-height: 1rem;--mdc-slider-label-label-text-tracking: .031rem;--mdc-slider-label-label-text-weight: 500;--mdc-slider-active-track-height: 4px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 9999px;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .38;--mdc-slider-with-tick-marks-container-shape: 9999px;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .38;--mat-slider-ripple-color: #4355b9;--mat-slider-hover-state-layer-color: rgba(67, 85, 185, .05);--mat-slider-focus-state-layer-color: rgba(67, 85, 185, .2);--mat-slider-value-indicator-width: 28px;--mat-slider-value-indicator-height: 28px;--mat-slider-value-indicator-caret-display: none;--mat-slider-value-indicator-border-radius: 50% 50% 50% 0;--mat-slider-value-indicator-padding: 0;--mat-slider-value-indicator-text-transform: rotate(45deg);--mat-slider-value-indicator-container-transform: translateX(-50%) rotate(-45deg);--mat-slider-value-indicator-opacity: 1;--mat-menu-item-label-text-color: #1b1b1f;--mat-menu-item-icon-color: #46464f;--mat-menu-item-hover-state-layer-color: rgba(27, 27, 31, .08);--mat-menu-item-focus-state-layer-color: rgba(27, 27, 31, .12);--mat-menu-container-color: #f0edf1;--mat-menu-divider-color: #e3e1ec;--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: .875rem;--mat-menu-item-label-text-tracking: .006rem;--mat-menu-item-label-text-line-height: 1.25rem;--mat-menu-item-label-text-weight: 500;--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 8px;--mat-menu-divider-top-spacing: 8px;--mat-menu-item-spacing: 12px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 12px;--mat-menu-item-trailing-spacing: 12px;--mat-menu-item-with-icon-leading-spacing: 12px;--mat-menu-item-with-icon-trailing-spacing: 12px;--mat-menu-base-elevation-level: 2;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-leading-avatar-color: #dee0ff;--mdc-list-list-item-disabled-state-layer-color: #1b1b1f;--mdc-list-list-item-disabled-state-layer-opacity: .12;--mdc-list-list-item-label-text-color: #1b1b1f;--mdc-list-list-item-supporting-text-color: #46464f;--mdc-list-list-item-leading-icon-color: #46464f;--mdc-list-list-item-trailing-supporting-text-color: #46464f;--mdc-list-list-item-trailing-icon-color: #46464f;--mdc-list-list-item-selected-trailing-icon-color: #4355b9;--mdc-list-list-item-disabled-label-text-color: #1b1b1f;--mdc-list-list-item-disabled-leading-icon-color: #1b1b1f;--mdc-list-list-item-disabled-trailing-icon-color: #1b1b1f;--mdc-list-list-item-hover-label-text-color: #1b1b1f;--mdc-list-list-item-focus-label-text-color: #1b1b1f;--mdc-list-list-item-hover-state-layer-color: #1b1b1f;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: #1b1b1f;--mdc-list-list-item-focus-state-layer-opacity: .12;--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 1.5rem;--mdc-list-list-item-label-text-size: 1rem;--mdc-list-list-item-label-text-tracking: .031rem;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 1.25rem;--mdc-list-list-item-supporting-text-size: .875rem;--mdc-list-list-item-supporting-text-tracking: .016rem;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 1rem;--mdc-list-list-item-trailing-supporting-text-size: .688rem;--mdc-list-list-item-trailing-supporting-text-tracking: .031rem;--mdc-list-list-item-trailing-supporting-text-weight: 500;--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px;--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 9999px;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-label-text-opacity: .3;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38;--mat-list-active-indicator-color: #ffd9de;--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 16px;--mat-list-active-indicator-shape: 9999px;--mat-paginator-container-text-color: #1b1b1f;--mat-paginator-container-background-color: #fbf8fd;--mat-paginator-enabled-icon-color: #46464f;--mat-paginator-disabled-icon-color: rgba(27, 27, 31, .38);--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 1rem;--mat-paginator-container-text-size: .75rem;--mat-paginator-container-text-tracking: .025rem;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: .75rem;--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block;--mdc-secondary-navigation-tab-container-height: 48px;--mdc-tab-indicator-active-indicator-color: #4355b9;--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0;--mat-tab-header-divider-color: #e3e1ec;--mat-tab-header-pagination-icon-color: #1b1b1f;--mat-tab-header-inactive-label-text-color: #1b1b1f;--mat-tab-header-active-label-text-color: #1b1b1f;--mat-tab-header-active-ripple-color: #1b1b1f;--mat-tab-header-inactive-ripple-color: #1b1b1f;--mat-tab-header-inactive-focus-label-text-color: #1b1b1f;--mat-tab-header-inactive-hover-label-text-color: #1b1b1f;--mat-tab-header-active-focus-label-text-color: #1b1b1f;--mat-tab-header-active-hover-label-text-color: #1b1b1f;--mat-tab-header-active-focus-indicator-color: #4355b9;--mat-tab-header-active-hover-indicator-color: #4355b9;--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: .875rem;--mat-tab-header-label-text-tracking: .006rem;--mat-tab-header-label-text-line-height: 1.25rem;--mat-tab-header-label-text-weight: 500;--mat-tab-header-divider-height: 1px;--mdc-checkbox-disabled-selected-checkmark-color: #fbf8fd;--mdc-checkbox-selected-focus-state-layer-opacity: .12;--mdc-checkbox-selected-hover-state-layer-opacity: .08;--mdc-checkbox-selected-pressed-state-layer-opacity: .12;--mdc-checkbox-unselected-focus-state-layer-opacity: .12;--mdc-checkbox-unselected-hover-state-layer-opacity: .08;--mdc-checkbox-unselected-pressed-state-layer-opacity: .12;--mdc-checkbox-selected-pressed-icon-color: #4355b9;--mdc-checkbox-disabled-selected-icon-color: rgba(27, 27, 31, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(27, 27, 31, .38);--mdc-checkbox-selected-checkmark-color: #ffffff;--mdc-checkbox-selected-focus-icon-color: #4355b9;--mdc-checkbox-selected-hover-icon-color: #4355b9;--mdc-checkbox-selected-icon-color: #4355b9;--mdc-checkbox-unselected-focus-icon-color: #1b1b1f;--mdc-checkbox-unselected-hover-icon-color: #1b1b1f;--mdc-checkbox-unselected-icon-color: #46464f;--mdc-checkbox-selected-focus-state-layer-color: #4355b9;--mdc-checkbox-selected-hover-state-layer-color: #4355b9;--mdc-checkbox-selected-pressed-state-layer-color: #1b1b1f;--mdc-checkbox-unselected-focus-state-layer-color: #1b1b1f;--mdc-checkbox-unselected-hover-state-layer-color: #1b1b1f;--mdc-checkbox-unselected-pressed-state-layer-color: #4355b9;--mdc-checkbox-state-layer-size: 40px;--mat-checkbox-disabled-label-color: rgba(27, 27, 31, .38);--mat-checkbox-label-text-color: #1b1b1f;--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 1.25rem;--mat-checkbox-label-text-size: .875rem;--mat-checkbox-label-text-tracking: .016rem;--mat-checkbox-label-text-weight: 400;--mat-checkbox-touch-target-display: block;--mdc-text-button-label-text-color: #4355b9;--mdc-text-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: .875rem;--mdc-text-button-label-text-tracking: .006rem;--mdc-text-button-label-text-weight: 500;--mdc-text-button-container-height: 40px;--mdc-text-button-container-shape: 9999px;--mdc-protected-button-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-container-color: #fbf8fd;--mdc-protected-button-label-text-color: #4355b9;--mdc-protected-button-disabled-container-color: rgba(27, 27, 31, .12);--mdc-protected-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: .875rem;--mdc-protected-button-label-text-tracking: .006rem;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-container-height: 40px;--mdc-protected-button-container-shape: 9999px;--mdc-filled-button-container-color: #4355b9;--mdc-filled-button-label-text-color: #ffffff;--mdc-filled-button-disabled-container-color: rgba(27, 27, 31, .12);--mdc-filled-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: .875rem;--mdc-filled-button-label-text-tracking: .006rem;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-container-height: 40px;--mdc-filled-button-container-shape: 9999px;--mdc-outlined-button-disabled-outline-color: rgba(27, 27, 31, .12);--mdc-outlined-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-outlined-button-label-text-color: #4355b9;--mdc-outlined-button-outline-color: #767680;--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: .875rem;--mdc-outlined-button-label-text-tracking: .006rem;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-container-height: 40px;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 9999px;--mat-text-button-state-layer-color: #4355b9;--mat-text-button-disabled-state-layer-color: #46464f;--mat-text-button-ripple-color: rgba(67, 85, 185, .12);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mat-text-button-touch-target-display: block;--mat-text-button-horizontal-padding: 12px;--mat-text-button-with-icon-horizontal-padding: 16px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: -4px;--mat-protected-button-state-layer-color: #4355b9;--mat-protected-button-disabled-state-layer-color: #46464f;--mat-protected-button-ripple-color: rgba(67, 85, 185, .12);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mat-protected-button-touch-target-display: block;--mat-protected-button-horizontal-padding: 24px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -8px;--mat-filled-button-state-layer-color: #ffffff;--mat-filled-button-disabled-state-layer-color: #46464f;--mat-filled-button-ripple-color: rgba(255, 255, 255, .12);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mat-filled-button-touch-target-display: block;--mat-filled-button-horizontal-padding: 24px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -8px;--mat-outlined-button-state-layer-color: #4355b9;--mat-outlined-button-disabled-state-layer-color: #46464f;--mat-outlined-button-ripple-color: rgba(67, 85, 185, .12);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12;--mat-outlined-button-touch-target-display: block;--mat-outlined-button-horizontal-padding: 24px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -8px;--mdc-icon-button-icon-color: #46464f;--mdc-icon-button-disabled-icon-color: rgba(27, 27, 31, .38);--mdc-icon-button-state-layer-size: 40px;--mdc-icon-button-icon-size: 24px;--mat-icon-button-state-layer-color: #46464f;--mat-icon-button-disabled-state-layer-color: #46464f;--mat-icon-button-ripple-color: rgba(70, 70, 79, .12);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12;--mat-icon-button-touch-target-display: block;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: .875rem;--mdc-extended-fab-label-text-tracking: .006rem;--mdc-extended-fab-label-text-weight: 500;--mdc-extended-fab-container-height: 56px;--mdc-extended-fab-container-shape: 16px;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-color: #dee0ff;--mdc-fab-container-shape: 16px;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-container-color: #dee0ff;--mdc-fab-small-container-shape: 12px;--mat-fab-foreground-color: #00105c;--mat-fab-state-layer-color: #00105c;--mat-fab-ripple-color: rgba(0, 16, 92, .12);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(27, 27, 31, .12);--mat-fab-disabled-state-foreground-color: rgba(27, 27, 31, .38);--mat-fab-touch-target-display: block;--mat-fab-small-foreground-color: #00105c;--mat-fab-small-state-layer-color: #00105c;--mat-fab-small-ripple-color: rgba(0, 16, 92, .12);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(27, 27, 31, .12);--mat-fab-small-disabled-state-foreground-color: rgba(27, 27, 31, .38);--mdc-snackbar-container-color: #303034;--mdc-snackbar-supporting-text-color: #f3f0f4;--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 1.25rem;--mdc-snackbar-supporting-text-size: .875rem;--mdc-snackbar-supporting-text-weight: 400;--mdc-snackbar-container-shape: 4px;--mat-snack-bar-button-color: #bac3ff;--mat-table-background-color: #fbf8fd;--mat-table-header-headline-color: #1b1b1f;--mat-table-row-item-label-text-color: #1b1b1f;--mat-table-row-item-outline-color: #767680;--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 1.25rem;--mat-table-header-headline-size: .875rem;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .006rem;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 1.25rem;--mat-table-row-item-label-text-size: .875rem;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .016rem;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 1.25rem;--mat-table-footer-supporting-text-size: .875rem;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .016rem;--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px;--mat-table-row-item-outline-width: 1px;--mdc-circular-progress-active-indicator-color: #4355b9;--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px;--mat-badge-background-color: #ba1a1a;--mat-badge-text-color: #ffffff;--mat-badge-disabled-state-background-color: rgba(186, 26, 26, .38);--mat-badge-disabled-state-text-color: #ffffff;--mat-badge-text-font: Roboto, sans-serif;--mat-badge-text-size: .688rem;--mat-badge-text-weight: 500;--mat-badge-large-size-text-size: .688rem;--mat-badge-container-shape: 9999px;--mat-badge-container-size: 16px;--mat-badge-small-size-container-size: 6px;--mat-badge-large-size-container-size: 16px;--mat-badge-legacy-container-size: 16px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 16px;--mat-badge-container-offset: -12px 0;--mat-badge-small-size-container-offset: -6px 0;--mat-badge-large-size-container-offset: -12px 0;--mat-badge-container-overlap-offset: -12px;--mat-badge-small-size-container-overlap-offset: -6px;--mat-badge-large-size-container-overlap-offset: -12px;--mat-badge-container-padding: 0 4px;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0 4px;--mat-badge-small-size-text-size: 0;--mat-bottom-sheet-container-text-color: #1b1b1f;--mat-bottom-sheet-container-background-color: #f6f2f7;--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 1.5rem;--mat-bottom-sheet-container-text-size: 1rem;--mat-bottom-sheet-container-text-tracking: .031rem;--mat-bottom-sheet-container-text-weight: 400;--mat-bottom-sheet-container-shape: 28px;--mat-standard-button-toggle-hover-state-layer-opacity: .08;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-standard-button-toggle-text-color: #1b1b1f;--mat-standard-button-toggle-state-layer-color: #1b1b1f;--mat-standard-button-toggle-selected-state-background-color: #ffd9de;--mat-standard-button-toggle-selected-state-text-color: #400014;--mat-standard-button-toggle-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(27, 27, 31, .38);--mat-standard-button-toggle-disabled-selected-state-background-color: rgba(27, 27, 31, .12);--mat-standard-button-toggle-divider-color: #767680;--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 1.25rem;--mat-standard-button-toggle-label-text-size: .875rem;--mat-standard-button-toggle-label-text-tracking: .006rem;--mat-standard-button-toggle-label-text-weight: 500;--mat-standard-button-toggle-height: 40px;--mat-standard-button-toggle-shape: 9999px;--mat-standard-button-toggle-background-color: transparent;--mat-standard-button-toggle-disabled-state-background-color: transparent;--mat-datepicker-calendar-date-selected-state-text-color: #ffffff;--mat-datepicker-calendar-date-selected-state-background-color: #4355b9;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-date-today-selected-state-outline-color: #4355b9;--mat-datepicker-calendar-date-focus-state-background-color: rgba(27, 27, 31, .12);--mat-datepicker-calendar-date-hover-state-background-color: rgba(27, 27, 31, .08);--mat-datepicker-toggle-active-state-icon-color: #46464f;--mat-datepicker-calendar-date-in-range-state-background-color: #dee0ff;--mat-datepicker-calendar-date-in-comparison-range-state-background-color: #ffd7f1;--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #ffd9de;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #bc004b;--mat-datepicker-toggle-icon-color: #46464f;--mat-datepicker-calendar-body-label-text-color: #1b1b1f;--mat-datepicker-calendar-period-button-text-color: #46464f;--mat-datepicker-calendar-period-button-icon-color: #46464f;--mat-datepicker-calendar-navigation-button-icon-color: #46464f;--mat-datepicker-calendar-header-text-color: #46464f;--mat-datepicker-calendar-date-today-outline-color: #4355b9;--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-date-text-color: #1b1b1f;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-date-preview-state-outline-color: #4355b9;--mat-datepicker-range-input-separator-color: #1b1b1f;--mat-datepicker-range-input-disabled-state-separator-color: rgba(27, 27, 31, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-container-background-color: #eae7ec;--mat-datepicker-calendar-container-text-color: #1b1b1f;--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: .875rem;--mat-datepicker-calendar-body-label-text-size: .875rem;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: .875rem;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: .875rem;--mat-datepicker-calendar-header-text-weight: 500;--mat-datepicker-calendar-container-shape: 16px;--mat-datepicker-calendar-container-touch-shape: 28px;--mat-datepicker-calendar-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-divider-color: transparent;--mat-datepicker-calendar-date-outline-color: transparent;--mat-divider-color: #767680;--mat-divider-width: 1px;--mat-expansion-container-background-color: #fbf8fd;--mat-expansion-container-text-color: #1b1b1f;--mat-expansion-actions-divider-color: #767680;--mat-expansion-header-hover-state-layer-color: rgba(27, 27, 31, .08);--mat-expansion-header-focus-state-layer-color: rgba(27, 27, 31, .12);--mat-expansion-header-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-expansion-header-text-color: #1b1b1f;--mat-expansion-header-description-color: #46464f;--mat-expansion-header-indicator-color: #46464f;--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 1rem;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: 1.5rem;--mat-expansion-header-text-tracking: .009rem;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 1.5rem;--mat-expansion-container-text-size: 1rem;--mat-expansion-container-text-tracking: .031rem;--mat-expansion-container-text-weight: 400;--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px;--mat-expansion-container-shape: 12px;--mat-expansion-legacy-header-indicator-display: none;--mat-expansion-header-indicator-display: inline-block;--mat-grid-list-tile-header-primary-text-size: 400 1rem / 1.5rem Roboto, sans-serif;--mat-grid-list-tile-header-secondary-text-size: 400 .875rem / 1.25rem Roboto, sans-serif;--mat-grid-list-tile-footer-primary-text-size: 400 1rem / 1.5rem Roboto, sans-serif;--mat-grid-list-tile-footer-secondary-text-size: 400 .875rem / 1.25rem Roboto, sans-serif;--mat-icon-color: inherit;--mat-sidenav-container-background-color: #fbf8fd;--mat-sidenav-container-text-color: #46464f;--mat-sidenav-content-background-color: #fbf8fd;--mat-sidenav-content-text-color: #1b1b1f;--mat-sidenav-scrim-color: rgba(47, 48, 56, .4);--mat-sidenav-container-shape: 16px;--mat-sidenav-container-elevation-shadow: none;--mat-sidenav-container-width: 360px;--mat-sidenav-container-divider-color: transparent;--mat-stepper-header-icon-foreground-color: #fbf8fd;--mat-stepper-header-selected-state-icon-background-color: #4355b9;--mat-stepper-header-selected-state-icon-foreground-color: #ffffff;--mat-stepper-header-edit-state-icon-background-color: #4355b9;--mat-stepper-header-edit-state-icon-foreground-color: #ffffff;--mat-stepper-container-color: #fbf8fd;--mat-stepper-line-color: #767680;--mat-stepper-header-hover-state-layer-color: rgba(48, 48, 52, .08);--mat-stepper-header-focus-state-layer-color: rgba(48, 48, 52, .12);--mat-stepper-header-label-text-color: #46464f;--mat-stepper-header-optional-label-text-color: #46464f;--mat-stepper-header-selected-state-label-text-color: #46464f;--mat-stepper-header-error-state-label-text-color: #ba1a1a;--mat-stepper-header-icon-background-color: #46464f;--mat-stepper-header-error-state-icon-foreground-color: #ba1a1a;--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: .875rem;--mat-stepper-header-label-text-weight: 500;--mat-stepper-header-error-state-label-text-size: .875rem;--mat-stepper-header-selected-state-label-text-size: .875rem;--mat-stepper-header-selected-state-label-text-weight: 500;--mat-stepper-header-height: 72px;--mat-stepper-header-focus-state-layer-shape: 12px;--mat-stepper-header-hover-state-layer-shape: 12px;--mat-stepper-header-error-state-icon-background-color: transparent;--mat-sort-arrow-color: #1b1b1f;--mat-toolbar-container-background-color: #fbf8fd;--mat-toolbar-container-text-color: #1b1b1f;--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 1.75rem;--mat-toolbar-title-text-size: 1.375rem;--mat-toolbar-title-text-tracking: 0;--mat-toolbar-title-text-weight: 400;--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px;--mat-tree-container-background-color: #fbf8fd;--mat-tree-node-text-color: #1b1b1f;--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 1rem;--mat-tree-node-text-weight: 400;--mat-tree-node-min-height: 48px}.mat-theme-loaded-marker{display:none}html .health-icon-down mat-icon,html .health-icon-error mat-icon{color:#ffb4ab}html .mat-toolbar.toolbar-header{background-color:#4355b9;--mat-toolbar-container-text-color: #fff}html .mat-toolbar.toolbar-header h1{cursor:default}html .mat-toolbar.toolbar-header a{color:#fff}html .mat-toolbar.toolbar-header .mat-icon{fill:#fff}html .mat-toolbar.toolbar-header .mdc-button.active{color:#4355b9;background-color:#fffc;cursor:default}html .mat-toolbar.toolbar-header .mdc-button.active mat-icon{color:#4355b9;fill:#4355b9}html .mat-toolbar.toolbar-header .mdc-button:hover:not(.active){background-color:#fff3}html .mat-toolbar.toolbar-header .mdc-button.button-sponsor{margin-left:20px}html .mat-toolbar.toolbar-header .mdc-icon-button .mat-icon{fill:#fff}html .mat-toolbar.toolbar-header .mdc-icon-button:hover{background-color:#fff3}html .layout-header-menu a{color:#7789f0}html .layout-header-menu a.active{color:#4355b9;background-color:#0000001a}html a{color:#e61a61}html tbody tr:not(.expanded-detail-row):hover{background-color:#00000005}html button.mat-warning{background-color:#ba1a1a}html button.mat-warning:hover:not(.mat-mdc-button-disabled){background-color:#de3730}html button.mat-warning mat-icon,html button.mat-warning .mdc-button__label{color:#fff;fill:#fff}html button.mat-warning.mat-mdc-button-disabled{background-color:#410002}html button.mat-warning.mat-mdc-button-disabled mat-icon,html button.mat-warning.mat-mdc-button-disabled .mdc-button__label{color:#777;fill:#777}html app-dashboard mat-drawer nav a{--mdc-text-button-label-text-color: mat.get-theme-color( $theme, secondary, 40 )}html app-dashboard mat-drawer nav a.active{color:#ffb2be;background-color:#0000001a}html app-queue-visualize button.selected{background-color:#ffecee;color:#bc004b}html .theme-emitter-color.success-50{color:#22892f}html .theme-emitter-color.caution-50{color:#bc5d00}html .theme-emitter-color.primary-20{color:#08218a}html .theme-emitter-color.primary-40{color:#4355b9}html .theme-emitter-color.primary-50{color:#5d6fd4}html .theme-emitter-color.primary-60{color:#7789f0}html .theme-emitter-color.primary-80{color:#bac3ff}html .theme-emitter-color.secondary-20{color:#660025}html .theme-emitter-color.secondary-40{color:#bc004b}html .theme-emitter-color.secondary-50{color:#e61a61}html .theme-emitter-color.secondary-60{color:#ff4e7c}html .theme-emitter-color.secondary-80{color:#ffb2be}html .theme-emitter-color.tertiary-20{color:#44263d}html .theme-emitter-color.tertiary-40{color:#77536d}html .theme-emitter-color.tertiary-50{color:#916c86}html .theme-emitter-color.tertiary-60{color:#ac85a1}html .theme-emitter-color.tertiary-80{color:#e6bad7}html .theme-emitter-color.neutral-20{color:#303034}html .theme-emitter-color.neutral-40{color:#5f5e62}html .theme-emitter-color.neutral-50{color:#78767a}html .theme-emitter-color.neutral-60{color:#929094}html .theme-emitter-color.neutral-80{color:#c8c5ca}html .theme-emitter-color.neutral-variant-20{color:#2f3038}html .theme-emitter-color.neutral-variant-40{color:#5d5e67}html .theme-emitter-color.neutral-variant-50{color:#767680}html .theme-emitter-color.neutral-variant-60{color:#90909a}html .theme-emitter-color.neutral-variant-80{color:#c7c5d0}html .theme-emitter-color.error-20{color:#690005}html .theme-emitter-color.error-40{color:#ba1a1a}html .theme-emitter-color.error-50{color:#de3730}html .theme-emitter-color.error-60{color:#ff5449}html .theme-emitter-color.error-80{color:#ffb4ab}html .theme-emitter-lightdark else{color:#fff}html .drawer-scroll-wrapper{background-color:#dee0ffbf}@media (pointer: fine){html .drawer-content::-webkit-scrollbar-thumb{background-color:#4355b9}}html .panel-content-type li.active{color:#bc004b}html .panel-content-type li:hover:not(.active){color:#77536d}html .filtered .mat-mdc-checkbox-checked .mat-internal-form-field{color:#bc004b}html .filtered .mat-mdc-checkbox:hover:not(.mat-mdc-checkbox-checked) .mat-internal-form-field{color:#77536d}html .unfiltered{--mdc-checkbox-selected-icon-color: lightgray}html .unfiltered .mat-mdc-checkbox:hover .mat-internal-form-field{color:#77536d}html .table-torrents .mat-column-magnet .mat-icon{fill:#4355b9}html[data-bitmagnet-theme=clean]{--mat-app-background-color: #fbf8fd;--mat-app-background: #fbf8fd;--mat-expansion-container-background-color: #f3f0f4;--mat-expansion-container-shape: 2px;--mat-menu-container-color: #f3f0f4;--mat-sidenav-container-background-color: #fbf8fd;--mat-sidenav-content-background-color: #fbf8fd;--mat-table-background-color: #f3f0f4;--mdc-chip-container-shape-radius: 4px;--mdc-dialog-container-shape: 6px;--mdc-elevated-card-container-color: #f3f0f4;--mdc-elevated-card-container-shape: 6px;--mdc-fab-small-container-color: #e4e1e6;--mdc-fab-small-container-elevation-shadow: none;--mdc-fab-small-container-shape: 4px;--mdc-fab-small-focus-container-elevation-shadow: 1px 1px 2px #c8c5ca;--mdc-fab-small-hover-container-elevation-shadow: 1px 1px 2px #acaaaf;--mdc-filled-text-field-container-color: #f3f0f4;--mdc-linear-progress-track-color: #f3f0f4;--mdc-outlined-button-container-shape: 6px;--mdc-text-button-container-shape: 4px}html[data-bitmagnet-theme=clean] .mat-toolbar.toolbar-header{--mat-toolbar-container-text-color: var(--mat-app-text-color);background-color:#f3f0f4;border-bottom-color:var(--mat-table-row-item-outline-color);border-bottom-style:solid;border-bottom-width:1px}html[data-bitmagnet-theme=clean] .mat-toolbar.toolbar-header a{color:var(--mat-app-text-color)}html[data-bitmagnet-theme=clean] .mat-toolbar.toolbar-header a.active{color:#4355b9}html[data-bitmagnet-theme=clean] .mat-toolbar.toolbar-header a.active.mdc-button{background-color:#eae7ec}html[data-bitmagnet-theme=clean] .mat-toolbar.toolbar-header .mat-icon{color:var(--mat-app-text-color);fill:var(--mat-app-text-color)}html[data-bitmagnet-theme=clean] .mat-expansion-panel{box-shadow:1px 1px 2px var(--mat-table-row-item-outline-color)}html[data-bitmagnet-theme=neon]{--mat-app-background-color: #111415;--mat-app-text-color: #e1e2e4;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-ripple-color: rgba(225, 226, 228, .1);--mat-option-selected-state-label-text-color: #a5ff7a;--mat-option-label-text-color: #e1e2e4;--mat-option-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-option-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-option-selected-state-layer-color: #1e891e;--mat-optgroup-label-text-color: #dce4e9;--mat-full-pseudo-checkbox-selected-icon-color: #ffccff;--mat-full-pseudo-checkbox-selected-checkmark-color: #330033;--mat-full-pseudo-checkbox-unselected-icon-color: #dce4e9;--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #111415;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: rgba(225, 226, 228, .38);--mat-full-pseudo-checkbox-disabled-selected-icon-color: rgba(225, 226, 228, .38);--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ffccff;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: rgba(225, 226, 228, .38);--mdc-elevated-card-container-color: #111415;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: #111415;--mdc-outlined-card-outline-color: #40484c;--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: #e1e2e4;--mdc-linear-progress-active-indicator-color: #ffccff;--mdc-linear-progress-track-color: #40484c;--mdc-plain-tooltip-container-color: #e1e2e4;--mdc-plain-tooltip-supporting-text-color: #2e3132;--mdc-filled-text-field-caret-color: #ffccff;--mdc-filled-text-field-focus-active-indicator-color: #ffccff;--mdc-filled-text-field-focus-label-text-color: #ffccff;--mdc-filled-text-field-container-color: #40484c;--mdc-filled-text-field-disabled-container-color: rgba(225, 226, 228, .04);--mdc-filled-text-field-label-text-color: #dce4e9;--mdc-filled-text-field-hover-label-text-color: #dce4e9;--mdc-filled-text-field-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-filled-text-field-input-text-color: #e1e2e4;--mdc-filled-text-field-disabled-input-text-color: rgba(225, 226, 228, .38);--mdc-filled-text-field-input-text-placeholder-color: #dce4e9;--mdc-filled-text-field-error-hover-label-text-color: #fff2f2;--mdc-filled-text-field-error-focus-label-text-color: #ffe6e6;--mdc-filled-text-field-error-label-text-color: #ffe6e6;--mdc-filled-text-field-active-indicator-color: #dce4e9;--mdc-filled-text-field-disabled-active-indicator-color: rgba(225, 226, 228, .38);--mdc-filled-text-field-hover-active-indicator-color: #e1e2e4;--mdc-filled-text-field-error-active-indicator-color: #ffe6e6;--mdc-filled-text-field-error-focus-active-indicator-color: #ffe6e6;--mdc-filled-text-field-error-hover-active-indicator-color: #fff2f2;--mdc-outlined-text-field-caret-color: #ffccff;--mdc-outlined-text-field-focus-outline-color: #ffccff;--mdc-outlined-text-field-focus-label-text-color: #ffccff;--mdc-outlined-text-field-label-text-color: #dce4e9;--mdc-outlined-text-field-hover-label-text-color: #e1e2e4;--mdc-outlined-text-field-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-outlined-text-field-input-text-color: #e1e2e4;--mdc-outlined-text-field-disabled-input-text-color: rgba(225, 226, 228, .38);--mdc-outlined-text-field-input-text-placeholder-color: #dce4e9;--mdc-outlined-text-field-error-focus-label-text-color: #ffe6e6;--mdc-outlined-text-field-error-label-text-color: #ffe6e6;--mdc-outlined-text-field-error-hover-label-text-color: #fff2f2;--mdc-outlined-text-field-outline-color: #8a9297;--mdc-outlined-text-field-disabled-outline-color: rgba(225, 226, 228, .12);--mdc-outlined-text-field-hover-outline-color: #e1e2e4;--mdc-outlined-text-field-error-focus-outline-color: #ffe6e6;--mdc-outlined-text-field-error-hover-outline-color: #fff2f2;--mdc-outlined-text-field-error-outline-color: #ffe6e6;--mat-form-field-focus-select-arrow-color: #ffccff;--mat-form-field-disabled-input-text-placeholder-color: rgba(225, 226, 228, .38);--mat-form-field-state-layer-color: #e1e2e4;--mat-form-field-error-text-color: #ffe6e6;--mat-form-field-select-option-text-color: #191c1e;--mat-form-field-select-disabled-option-text-color: rgba(25, 28, 30, .38);--mat-form-field-leading-icon-color: #dce4e9;--mat-form-field-disabled-leading-icon-color: rgba(225, 226, 228, .38);--mat-form-field-trailing-icon-color: #dce4e9;--mat-form-field-disabled-trailing-icon-color: rgba(225, 226, 228, .38);--mat-form-field-error-focus-trailing-icon-color: #ffe6e6;--mat-form-field-error-hover-trailing-icon-color: #fff2f2;--mat-form-field-error-trailing-icon-color: #ffe6e6;--mat-form-field-enabled-select-arrow-color: #dce4e9;--mat-form-field-disabled-select-arrow-color: rgba(225, 226, 228, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-select-panel-background-color: #1d2022;--mat-select-enabled-trigger-text-color: #e1e2e4;--mat-select-disabled-trigger-text-color: rgba(225, 226, 228, .38);--mat-select-placeholder-text-color: #dce4e9;--mat-select-enabled-arrow-color: #dce4e9;--mat-select-disabled-arrow-color: rgba(225, 226, 228, .38);--mat-select-focused-arrow-color: #ffccff;--mat-select-invalid-arrow-color: #ffe6e6;--mat-autocomplete-background-color: #1d2022;--mdc-dialog-container-color: #111415;--mdc-dialog-subhead-color: #e1e2e4;--mdc-dialog-supporting-text-color: #dce4e9;--mdc-chip-outline-color: #8a9297;--mdc-chip-disabled-outline-color: rgba(225, 226, 228, .12);--mdc-chip-focus-outline-color: #dce4e9;--mdc-chip-hover-state-layer-opacity: .08;--mdc-chip-selected-hover-state-layer-opacity: .08;--mdc-chip-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-chip-elevated-selected-container-color: #1e891e;--mdc-chip-flat-disabled-selected-container-color: rgba(225, 226, 228, .12);--mdc-chip-focus-state-layer-color: #dce4e9;--mdc-chip-hover-state-layer-color: #dce4e9;--mdc-chip-selected-hover-state-layer-color: #a5ff7a;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: #a5ff7a;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #dce4e9;--mdc-chip-selected-label-text-color: #a5ff7a;--mdc-chip-with-icon-icon-color: #dce4e9;--mdc-chip-with-icon-disabled-icon-color: #e1e2e4;--mdc-chip-with-icon-selected-icon-color: #a5ff7a;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #e1e2e4;--mdc-chip-with-trailing-icon-trailing-icon-color: #dce4e9;--mat-chip-trailing-action-state-layer-color: #dce4e9;--mat-chip-selected-trailing-action-state-layer-color: #a5ff7a;--mat-chip-trailing-action-hover-state-layer-opacity: .08;--mat-chip-trailing-action-focus-state-layer-opacity: .12;--mat-chip-selected-disabled-trailing-icon-color: #e1e2e4;--mat-chip-selected-trailing-icon-color: #a5ff7a;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .08;--mdc-switch-selected-pressed-state-layer-opacity: .12;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .08;--mdc-switch-unselected-pressed-state-layer-opacity: .12;--mdc-switch-selected-focus-state-layer-color: #ffccff;--mdc-switch-selected-handle-color: #330033;--mdc-switch-selected-hover-state-layer-color: #ffccff;--mdc-switch-selected-pressed-state-layer-color: #ffccff;--mdc-switch-selected-focus-handle-color: #660066;--mdc-switch-selected-hover-handle-color: #660066;--mdc-switch-selected-pressed-handle-color: #660066;--mdc-switch-selected-focus-track-color: #ffccff;--mdc-switch-selected-hover-track-color: #ffccff;--mdc-switch-selected-pressed-track-color: #ffccff;--mdc-switch-selected-track-color: #ffccff;--mdc-switch-disabled-selected-handle-color: #111415;--mdc-switch-disabled-selected-icon-color: #e1e2e4;--mdc-switch-disabled-selected-track-color: #e1e2e4;--mdc-switch-disabled-unselected-handle-color: #e1e2e4;--mdc-switch-disabled-unselected-icon-color: #40484c;--mdc-switch-disabled-unselected-track-color: #40484c;--mdc-switch-selected-icon-color: #ffe6ff;--mdc-switch-unselected-focus-handle-color: #dce4e9;--mdc-switch-unselected-focus-state-layer-color: #e1e2e4;--mdc-switch-unselected-focus-track-color: #40484c;--mdc-switch-unselected-handle-color: #8a9297;--mdc-switch-unselected-hover-handle-color: #dce4e9;--mdc-switch-unselected-hover-state-layer-color: #e1e2e4;--mdc-switch-unselected-hover-track-color: #40484c;--mdc-switch-unselected-icon-color: #40484c;--mdc-switch-unselected-pressed-handle-color: #dce4e9;--mdc-switch-unselected-pressed-state-layer-color: #e1e2e4;--mdc-switch-unselected-pressed-track-color: #40484c;--mdc-switch-unselected-track-color: #40484c;--mat-switch-track-outline-color: #8a9297;--mat-switch-disabled-unselected-track-outline-color: #e1e2e4;--mat-switch-label-text-color: #e1e2e4;--mdc-radio-disabled-selected-icon-color: #e1e2e4;--mdc-radio-disabled-unselected-icon-color: #e1e2e4;--mdc-radio-unselected-hover-icon-color: #e1e2e4;--mdc-radio-unselected-icon-color: #dce4e9;--mdc-radio-unselected-pressed-icon-color: #e1e2e4;--mdc-radio-selected-focus-icon-color: #ffccff;--mdc-radio-selected-hover-icon-color: #ffccff;--mdc-radio-selected-icon-color: #ffccff;--mdc-radio-selected-pressed-icon-color: #ffccff;--mat-radio-ripple-color: #e1e2e4;--mat-radio-checked-ripple-color: #ffccff;--mat-radio-disabled-label-color: rgba(225, 226, 228, .38);--mat-radio-label-text-color: #e1e2e4;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-slider-handle-color: #ffccff;--mdc-slider-focus-handle-color: #ffccff;--mdc-slider-hover-handle-color: #ffccff;--mdc-slider-active-track-color: #ffccff;--mdc-slider-inactive-track-color: #40484c;--mdc-slider-with-tick-marks-inactive-container-color: #dce4e9;--mdc-slider-with-tick-marks-active-container-color: #330033;--mdc-slider-disabled-active-track-color: #e1e2e4;--mdc-slider-disabled-handle-color: #e1e2e4;--mdc-slider-disabled-inactive-track-color: #e1e2e4;--mdc-slider-label-container-color: #ffccff;--mdc-slider-label-label-text-color: #330033;--mdc-slider-with-overlap-handle-outline-color: #330033;--mdc-slider-with-tick-marks-disabled-container-color: #e1e2e4;--mat-slider-ripple-color: #ffccff;--mat-slider-hover-state-layer-color: rgba(255, 204, 255, .05);--mat-slider-focus-state-layer-color: rgba(255, 204, 255, .2);--mat-menu-item-label-text-color: #e1e2e4;--mat-menu-item-icon-color: #dce4e9;--mat-menu-item-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-menu-item-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-menu-container-color: #1d2022;--mat-menu-divider-color: #40484c;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-leading-avatar-color: #660066;--mdc-list-list-item-disabled-state-layer-color: #e1e2e4;--mdc-list-list-item-disabled-state-layer-opacity: .12;--mdc-list-list-item-label-text-color: #e1e2e4;--mdc-list-list-item-supporting-text-color: #dce4e9;--mdc-list-list-item-leading-icon-color: #dce4e9;--mdc-list-list-item-trailing-supporting-text-color: #dce4e9;--mdc-list-list-item-trailing-icon-color: #dce4e9;--mdc-list-list-item-selected-trailing-icon-color: #ffccff;--mdc-list-list-item-disabled-label-text-color: #e1e2e4;--mdc-list-list-item-disabled-leading-icon-color: #e1e2e4;--mdc-list-list-item-disabled-trailing-icon-color: #e1e2e4;--mdc-list-list-item-hover-label-text-color: #e1e2e4;--mdc-list-list-item-focus-label-text-color: #e1e2e4;--mdc-list-list-item-hover-state-layer-color: #e1e2e4;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: #e1e2e4;--mdc-list-list-item-focus-state-layer-opacity: .12;--mat-list-active-indicator-color: #1e891e;--mat-paginator-container-text-color: #e1e2e4;--mat-paginator-container-background-color: #111415;--mat-paginator-enabled-icon-color: #dce4e9;--mat-paginator-disabled-icon-color: rgba(225, 226, 228, .38);--mdc-tab-indicator-active-indicator-color: #ffccff;--mat-tab-header-divider-color: #40484c;--mat-tab-header-pagination-icon-color: #e1e2e4;--mat-tab-header-inactive-label-text-color: #e1e2e4;--mat-tab-header-active-label-text-color: #e1e2e4;--mat-tab-header-active-ripple-color: #e1e2e4;--mat-tab-header-inactive-ripple-color: #e1e2e4;--mat-tab-header-inactive-focus-label-text-color: #e1e2e4;--mat-tab-header-inactive-hover-label-text-color: #e1e2e4;--mat-tab-header-active-focus-label-text-color: #e1e2e4;--mat-tab-header-active-hover-label-text-color: #e1e2e4;--mat-tab-header-active-focus-indicator-color: #ffccff;--mat-tab-header-active-hover-indicator-color: #ffccff;--mdc-checkbox-disabled-selected-checkmark-color: #111415;--mdc-checkbox-selected-focus-state-layer-opacity: .12;--mdc-checkbox-selected-hover-state-layer-opacity: .08;--mdc-checkbox-selected-pressed-state-layer-opacity: .12;--mdc-checkbox-unselected-focus-state-layer-opacity: .12;--mdc-checkbox-unselected-hover-state-layer-opacity: .08;--mdc-checkbox-unselected-pressed-state-layer-opacity: .12;--mdc-checkbox-selected-pressed-icon-color: #ffccff;--mdc-checkbox-disabled-selected-icon-color: rgba(225, 226, 228, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(225, 226, 228, .38);--mdc-checkbox-selected-checkmark-color: #330033;--mdc-checkbox-selected-focus-icon-color: #ffccff;--mdc-checkbox-selected-hover-icon-color: #ffccff;--mdc-checkbox-selected-icon-color: #ffccff;--mdc-checkbox-unselected-focus-icon-color: #e1e2e4;--mdc-checkbox-unselected-hover-icon-color: #e1e2e4;--mdc-checkbox-unselected-icon-color: #dce4e9;--mdc-checkbox-selected-focus-state-layer-color: #ffccff;--mdc-checkbox-selected-hover-state-layer-color: #ffccff;--mdc-checkbox-selected-pressed-state-layer-color: #e1e2e4;--mdc-checkbox-unselected-focus-state-layer-color: #e1e2e4;--mdc-checkbox-unselected-hover-state-layer-color: #e1e2e4;--mdc-checkbox-unselected-pressed-state-layer-color: #ffccff;--mat-checkbox-disabled-label-color: rgba(225, 226, 228, .38);--mat-checkbox-label-text-color: #e1e2e4;--mdc-text-button-label-text-color: #ffccff;--mdc-text-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-protected-button-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-container-color: #111415;--mdc-protected-button-label-text-color: #ffccff;--mdc-protected-button-disabled-container-color: rgba(225, 226, 228, .12);--mdc-protected-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-filled-button-container-color: #ffccff;--mdc-filled-button-label-text-color: #330033;--mdc-filled-button-disabled-container-color: rgba(225, 226, 228, .12);--mdc-filled-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-outlined-button-disabled-outline-color: rgba(225, 226, 228, .12);--mdc-outlined-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-outlined-button-label-text-color: #ffccff;--mdc-outlined-button-outline-color: #8a9297;--mat-text-button-state-layer-color: #ffccff;--mat-text-button-disabled-state-layer-color: #dce4e9;--mat-text-button-ripple-color: rgba(255, 204, 255, .12);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mat-protected-button-state-layer-color: #ffccff;--mat-protected-button-disabled-state-layer-color: #dce4e9;--mat-protected-button-ripple-color: rgba(255, 204, 255, .12);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mat-filled-button-state-layer-color: #330033;--mat-filled-button-disabled-state-layer-color: #dce4e9;--mat-filled-button-ripple-color: rgba(51, 0, 51, .12);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mat-outlined-button-state-layer-color: #ffccff;--mat-outlined-button-disabled-state-layer-color: #dce4e9;--mat-outlined-button-ripple-color: rgba(255, 204, 255, .12);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12;--mdc-icon-button-icon-color: #dce4e9;--mdc-icon-button-disabled-icon-color: rgba(225, 226, 228, .38);--mat-icon-button-state-layer-color: #dce4e9;--mat-icon-button-disabled-state-layer-color: #dce4e9;--mat-icon-button-ripple-color: rgba(220, 228, 233, .12);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-color: #660066;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-container-color: #660066;--mat-fab-foreground-color: #ffe6ff;--mat-fab-state-layer-color: #ffe6ff;--mat-fab-ripple-color: rgba(255, 230, 255, .12);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(225, 226, 228, .12);--mat-fab-disabled-state-foreground-color: rgba(225, 226, 228, .38);--mat-fab-small-foreground-color: #ffe6ff;--mat-fab-small-state-layer-color: #ffe6ff;--mat-fab-small-ripple-color: rgba(255, 230, 255, .12);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(225, 226, 228, .12);--mat-fab-small-disabled-state-foreground-color: rgba(225, 226, 228, .38);--mdc-snackbar-container-color: #e1e2e4;--mdc-snackbar-supporting-text-color: #2e3132;--mat-snack-bar-button-color: #ff00ff;--mat-table-background-color: #111415;--mat-table-header-headline-color: #e1e2e4;--mat-table-row-item-label-text-color: #e1e2e4;--mat-table-row-item-outline-color: #8a9297;--mdc-circular-progress-active-indicator-color: #ffccff;--mat-badge-background-color: #ffe6e6;--mat-badge-text-color: #660000;--mat-badge-disabled-state-background-color: rgba(255, 230, 230, .38);--mat-badge-disabled-state-text-color: #660000;--mat-bottom-sheet-container-text-color: #e1e2e4;--mat-bottom-sheet-container-background-color: #191c1e;--mat-standard-button-toggle-hover-state-layer-opacity: .08;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-standard-button-toggle-text-color: #e1e2e4;--mat-standard-button-toggle-state-layer-color: #e1e2e4;--mat-standard-button-toggle-selected-state-background-color: #1e891e;--mat-standard-button-toggle-selected-state-text-color: #a5ff7a;--mat-standard-button-toggle-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(225, 226, 228, .38);--mat-standard-button-toggle-disabled-selected-state-background-color: rgba(225, 226, 228, .12);--mat-standard-button-toggle-divider-color: #8a9297;--mat-datepicker-calendar-date-selected-state-text-color: #330033;--mat-datepicker-calendar-date-selected-state-background-color: #ffccff;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-date-today-selected-state-outline-color: #ffccff;--mat-datepicker-calendar-date-focus-state-background-color: rgba(225, 226, 228, .12);--mat-datepicker-calendar-date-hover-state-background-color: rgba(225, 226, 228, .08);--mat-datepicker-toggle-active-state-icon-color: #dce4e9;--mat-datepicker-calendar-date-in-range-state-background-color: #660066;--mat-datepicker-calendar-date-in-comparison-range-state-background-color: #0066cc;--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #1e891e;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #8bff61;--mat-datepicker-toggle-icon-color: #dce4e9;--mat-datepicker-calendar-body-label-text-color: #e1e2e4;--mat-datepicker-calendar-period-button-text-color: #dce4e9;--mat-datepicker-calendar-period-button-icon-color: #dce4e9;--mat-datepicker-calendar-navigation-button-icon-color: #dce4e9;--mat-datepicker-calendar-header-text-color: #dce4e9;--mat-datepicker-calendar-date-today-outline-color: #ffccff;--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-date-text-color: #e1e2e4;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-date-preview-state-outline-color: #ffccff;--mat-datepicker-range-input-separator-color: #e1e2e4;--mat-datepicker-range-input-disabled-state-separator-color: rgba(225, 226, 228, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-container-background-color: #272a2c;--mat-datepicker-calendar-container-text-color: #e1e2e4;--mat-divider-color: #8a9297;--mat-expansion-container-background-color: #111415;--mat-expansion-container-text-color: #e1e2e4;--mat-expansion-actions-divider-color: #8a9297;--mat-expansion-header-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-expansion-header-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-expansion-header-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-expansion-header-text-color: #e1e2e4;--mat-expansion-header-description-color: #dce4e9;--mat-expansion-header-indicator-color: #dce4e9;--mat-sidenav-container-background-color: #111415;--mat-sidenav-container-text-color: #dce4e9;--mat-sidenav-content-background-color: #111415;--mat-sidenav-content-text-color: #e1e2e4;--mat-sidenav-scrim-color: rgba(42, 50, 54, .4);--mat-stepper-header-icon-foreground-color: #111415;--mat-stepper-header-selected-state-icon-background-color: #ffccff;--mat-stepper-header-selected-state-icon-foreground-color: #330033;--mat-stepper-header-edit-state-icon-background-color: #ffccff;--mat-stepper-header-edit-state-icon-foreground-color: #330033;--mat-stepper-container-color: #111415;--mat-stepper-line-color: #8a9297;--mat-stepper-header-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-stepper-header-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-stepper-header-label-text-color: #dce4e9;--mat-stepper-header-optional-label-text-color: #dce4e9;--mat-stepper-header-selected-state-label-text-color: #dce4e9;--mat-stepper-header-error-state-label-text-color: #ffe6e6;--mat-stepper-header-icon-background-color: #dce4e9;--mat-stepper-header-error-state-icon-foreground-color: #ffe6e6;--mat-sort-arrow-color: #e1e2e4;--mat-toolbar-container-background-color: #111415;--mat-toolbar-container-text-color: #e1e2e4;--mat-tree-container-background-color: #111415;--mat-tree-node-text-color: #e1e2e4;--mat-app-background-color: #0c0f10;--mat-app-background: #0c0f10;--mat-expansion-container-background-color: #191c1e;--mat-sidenav-container-background-color: #0c0f10;--mat-sidenav-content-background-color: #0c0f10;--mat-table-background-color: #191c1e;--mdc-elevated-card-container-color: #191c1e}html[data-bitmagnet-theme=neon] .health-icon-down mat-icon,html[data-bitmagnet-theme=neon] .health-icon-error mat-icon{color:#ffe6e6}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header{background-color:#f0f;--mat-toolbar-container-text-color: #fff}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header h1{cursor:default}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header a{color:#fff}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mat-icon{fill:#fff}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mdc-button.active{color:#f0f;background-color:#fffc;cursor:default}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mdc-button.active mat-icon{color:#f0f;fill:#f0f}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mdc-button:hover:not(.active){background-color:#fff3}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mdc-button.button-sponsor{margin-left:20px}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mdc-icon-button .mat-icon{fill:#fff}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mdc-icon-button:hover{background-color:#fff3}html[data-bitmagnet-theme=neon] .layout-header-menu a{color:#f6f}html[data-bitmagnet-theme=neon] .layout-header-menu a.active{color:#fcf;background-color:#ffffff1a}html[data-bitmagnet-theme=neon] a{color:#8bff61}html[data-bitmagnet-theme=neon] tbody tr:not(.expanded-detail-row):hover{background-color:#ffffff05}html[data-bitmagnet-theme=neon] button.mat-warning{background-color:#f33}html[data-bitmagnet-theme=neon] button.mat-warning:hover:not(.mat-mdc-button-disabled){background-color:#f66}html[data-bitmagnet-theme=neon] button.mat-warning mat-icon,html[data-bitmagnet-theme=neon] button.mat-warning .mdc-button__label{color:#fff;fill:#fff}html[data-bitmagnet-theme=neon] button.mat-warning.mat-mdc-button-disabled{background-color:#300}html[data-bitmagnet-theme=neon] button.mat-warning.mat-mdc-button-disabled mat-icon,html[data-bitmagnet-theme=neon] button.mat-warning.mat-mdc-button-disabled .mdc-button__label{color:#777;fill:#777}html[data-bitmagnet-theme=neon] app-dashboard mat-drawer nav a{--mdc-text-button-label-text-color: mat.get-theme-color( $theme, secondary, 40 )}html[data-bitmagnet-theme=neon] app-dashboard mat-drawer nav a.active{color:#8bff61;background-color:#ffffff1a}html[data-bitmagnet-theme=neon] app-queue-visualize button.selected{background-color:#1a001a}html[data-bitmagnet-theme=neon] .theme-emitter-color.success-50{color:#3f6}html[data-bitmagnet-theme=neon] .theme-emitter-color.caution-50{color:#ffd633}html[data-bitmagnet-theme=neon] .theme-emitter-color.primary-20{color:#303}html[data-bitmagnet-theme=neon] .theme-emitter-color.primary-40{color:#f0f}html[data-bitmagnet-theme=neon] .theme-emitter-color.primary-50{color:#f3f}html[data-bitmagnet-theme=neon] .theme-emitter-color.primary-60{color:#f6f}html[data-bitmagnet-theme=neon] .theme-emitter-color.primary-80{color:#fcf}html[data-bitmagnet-theme=neon] .theme-emitter-color.secondary-20{color:#145514}html[data-bitmagnet-theme=neon] .theme-emitter-color.secondary-40{color:#28bd28}html[data-bitmagnet-theme=neon] .theme-emitter-color.secondary-50{color:#3dff14}html[data-bitmagnet-theme=neon] .theme-emitter-color.secondary-60{color:#57ff2e}html[data-bitmagnet-theme=neon] .theme-emitter-color.secondary-80{color:#8bff61}html[data-bitmagnet-theme=neon] .theme-emitter-color.tertiary-20{color:#036}html[data-bitmagnet-theme=neon] .theme-emitter-color.tertiary-40{color:#00b3ff}html[data-bitmagnet-theme=neon] .theme-emitter-color.tertiary-50{color:#3cf}html[data-bitmagnet-theme=neon] .theme-emitter-color.tertiary-60{color:#66e5ff}html[data-bitmagnet-theme=neon] .theme-emitter-color.tertiary-80{color:#cff}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-20{color:#2e3132}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-40{color:#5c5f60}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-50{color:#757779}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-60{color:#8f9193}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-80{color:#c5c7c8}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-variant-20{color:#2a3236}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-variant-40{color:#586064}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-variant-50{color:#70787d}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-variant-60{color:#8a9297}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-variant-80{color:#c0c8cd}html[data-bitmagnet-theme=neon] .theme-emitter-color.error-20{color:#600}html[data-bitmagnet-theme=neon] .theme-emitter-color.error-40{color:#f33}html[data-bitmagnet-theme=neon] .theme-emitter-color.error-50{color:#f66}html[data-bitmagnet-theme=neon] .theme-emitter-color.error-60{color:#f99}html[data-bitmagnet-theme=neon] .theme-emitter-color.error-80{color:#ffe6e6}html[data-bitmagnet-theme=neon] .theme-emitter-lightdark{color:#000}html[data-bitmagnet-theme=neon] .theme-emitter-lightdark else{color:#fff}html[data-bitmagnet-theme=neon] .drawer-scroll-wrapper{background-color:#660066bf}@media (pointer: fine){html[data-bitmagnet-theme=neon] .drawer-content::-webkit-scrollbar-thumb{background-color:#fcf}}html[data-bitmagnet-theme=neon] .panel-content-type li.active{color:#8bff61}html[data-bitmagnet-theme=neon] .panel-content-type li:hover:not(.active){color:#cff}html[data-bitmagnet-theme=neon] .filtered .mat-mdc-checkbox-checked .mat-internal-form-field{color:#8bff61}html[data-bitmagnet-theme=neon] .filtered .mat-mdc-checkbox:hover:not(.mat-mdc-checkbox-checked) .mat-internal-form-field{color:#cff}html[data-bitmagnet-theme=neon] .unfiltered{--mdc-checkbox-selected-icon-color: lightgray}html[data-bitmagnet-theme=neon] .unfiltered .mat-mdc-checkbox:hover .mat-internal-form-field{color:#cff}html[data-bitmagnet-theme=neon] .table-torrents .mat-column-magnet .mat-icon{fill:#f6f}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header{--mat-toolbar-container-text-color: var(--mat-app-text-color)}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header a,html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header a.active{color:#0c0f10}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header a.active.mdc-button{background-color:#0c0f10}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mat-icon{color:#0c0f10;fill:#0c0f10}html[data-bitmagnet-theme=tundra]{--mat-app-background-color: #111415;--mat-app-text-color: #e1e2e4;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-ripple-color: rgba(225, 226, 228, .1);--mat-option-selected-state-label-text-color: #c7c766;--mat-option-label-text-color: #e1e2e4;--mat-option-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-option-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-option-selected-state-layer-color: #51511e;--mat-optgroup-label-text-color: #dce4e9;--mat-full-pseudo-checkbox-selected-icon-color: #8591cd;--mat-full-pseudo-checkbox-selected-checkmark-color: #222744;--mat-full-pseudo-checkbox-unselected-icon-color: #dce4e9;--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #111415;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: rgba(225, 226, 228, .38);--mat-full-pseudo-checkbox-disabled-selected-icon-color: rgba(225, 226, 228, .38);--mat-minimal-pseudo-checkbox-selected-checkmark-color: #8591cd;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: rgba(225, 226, 228, .38);--mdc-elevated-card-container-color: #111415;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: #111415;--mdc-outlined-card-outline-color: #40484c;--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: #e1e2e4;--mdc-linear-progress-active-indicator-color: #8591cd;--mdc-linear-progress-track-color: #40484c;--mdc-plain-tooltip-container-color: #e1e2e4;--mdc-plain-tooltip-supporting-text-color: #2e3132;--mdc-filled-text-field-caret-color: #8591cd;--mdc-filled-text-field-focus-active-indicator-color: #8591cd;--mdc-filled-text-field-focus-label-text-color: #8591cd;--mdc-filled-text-field-container-color: #40484c;--mdc-filled-text-field-disabled-container-color: rgba(225, 226, 228, .04);--mdc-filled-text-field-label-text-color: #dce4e9;--mdc-filled-text-field-hover-label-text-color: #dce4e9;--mdc-filled-text-field-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-filled-text-field-input-text-color: #e1e2e4;--mdc-filled-text-field-disabled-input-text-color: rgba(225, 226, 228, .38);--mdc-filled-text-field-input-text-placeholder-color: #dce4e9;--mdc-filled-text-field-error-hover-label-text-color: #ffdad6;--mdc-filled-text-field-error-focus-label-text-color: #ffb4ab;--mdc-filled-text-field-error-label-text-color: #ffb4ab;--mdc-filled-text-field-active-indicator-color: #dce4e9;--mdc-filled-text-field-disabled-active-indicator-color: rgba(225, 226, 228, .38);--mdc-filled-text-field-hover-active-indicator-color: #e1e2e4;--mdc-filled-text-field-error-active-indicator-color: #ffb4ab;--mdc-filled-text-field-error-focus-active-indicator-color: #ffb4ab;--mdc-filled-text-field-error-hover-active-indicator-color: #ffdad6;--mdc-outlined-text-field-caret-color: #8591cd;--mdc-outlined-text-field-focus-outline-color: #8591cd;--mdc-outlined-text-field-focus-label-text-color: #8591cd;--mdc-outlined-text-field-label-text-color: #dce4e9;--mdc-outlined-text-field-hover-label-text-color: #e1e2e4;--mdc-outlined-text-field-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-outlined-text-field-input-text-color: #e1e2e4;--mdc-outlined-text-field-disabled-input-text-color: rgba(225, 226, 228, .38);--mdc-outlined-text-field-input-text-placeholder-color: #dce4e9;--mdc-outlined-text-field-error-focus-label-text-color: #ffb4ab;--mdc-outlined-text-field-error-label-text-color: #ffb4ab;--mdc-outlined-text-field-error-hover-label-text-color: #ffdad6;--mdc-outlined-text-field-outline-color: #8a9297;--mdc-outlined-text-field-disabled-outline-color: rgba(225, 226, 228, .12);--mdc-outlined-text-field-hover-outline-color: #e1e2e4;--mdc-outlined-text-field-error-focus-outline-color: #ffb4ab;--mdc-outlined-text-field-error-hover-outline-color: #ffdad6;--mdc-outlined-text-field-error-outline-color: #ffb4ab;--mat-form-field-focus-select-arrow-color: #8591cd;--mat-form-field-disabled-input-text-placeholder-color: rgba(225, 226, 228, .38);--mat-form-field-state-layer-color: #e1e2e4;--mat-form-field-error-text-color: #ffb4ab;--mat-form-field-select-option-text-color: #191c1e;--mat-form-field-select-disabled-option-text-color: rgba(25, 28, 30, .38);--mat-form-field-leading-icon-color: #dce4e9;--mat-form-field-disabled-leading-icon-color: rgba(225, 226, 228, .38);--mat-form-field-trailing-icon-color: #dce4e9;--mat-form-field-disabled-trailing-icon-color: rgba(225, 226, 228, .38);--mat-form-field-error-focus-trailing-icon-color: #ffb4ab;--mat-form-field-error-hover-trailing-icon-color: #ffdad6;--mat-form-field-error-trailing-icon-color: #ffb4ab;--mat-form-field-enabled-select-arrow-color: #dce4e9;--mat-form-field-disabled-select-arrow-color: rgba(225, 226, 228, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-select-panel-background-color: #1d2022;--mat-select-enabled-trigger-text-color: #e1e2e4;--mat-select-disabled-trigger-text-color: rgba(225, 226, 228, .38);--mat-select-placeholder-text-color: #dce4e9;--mat-select-enabled-arrow-color: #dce4e9;--mat-select-disabled-arrow-color: rgba(225, 226, 228, .38);--mat-select-focused-arrow-color: #8591cd;--mat-select-invalid-arrow-color: #ffb4ab;--mat-autocomplete-background-color: #1d2022;--mdc-dialog-container-color: #111415;--mdc-dialog-subhead-color: #e1e2e4;--mdc-dialog-supporting-text-color: #dce4e9;--mdc-chip-outline-color: #8a9297;--mdc-chip-disabled-outline-color: rgba(225, 226, 228, .12);--mdc-chip-focus-outline-color: #dce4e9;--mdc-chip-hover-state-layer-opacity: .08;--mdc-chip-selected-hover-state-layer-opacity: .08;--mdc-chip-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-chip-elevated-selected-container-color: #51511e;--mdc-chip-flat-disabled-selected-container-color: rgba(225, 226, 228, .12);--mdc-chip-focus-state-layer-color: #dce4e9;--mdc-chip-hover-state-layer-color: #dce4e9;--mdc-chip-selected-hover-state-layer-color: #c7c766;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: #c7c766;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #dce4e9;--mdc-chip-selected-label-text-color: #c7c766;--mdc-chip-with-icon-icon-color: #dce4e9;--mdc-chip-with-icon-disabled-icon-color: #e1e2e4;--mdc-chip-with-icon-selected-icon-color: #c7c766;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #e1e2e4;--mdc-chip-with-trailing-icon-trailing-icon-color: #dce4e9;--mat-chip-trailing-action-state-layer-color: #dce4e9;--mat-chip-selected-trailing-action-state-layer-color: #c7c766;--mat-chip-trailing-action-hover-state-layer-opacity: .08;--mat-chip-trailing-action-focus-state-layer-opacity: .12;--mat-chip-selected-disabled-trailing-icon-color: #e1e2e4;--mat-chip-selected-trailing-icon-color: #c7c766;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .08;--mdc-switch-selected-pressed-state-layer-opacity: .12;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .08;--mdc-switch-unselected-pressed-state-layer-opacity: .12;--mdc-switch-selected-focus-state-layer-color: #8591cd;--mdc-switch-selected-handle-color: #222744;--mdc-switch-selected-hover-state-layer-color: #8591cd;--mdc-switch-selected-pressed-state-layer-color: #8591cd;--mdc-switch-selected-focus-handle-color: #3a4179;--mdc-switch-selected-hover-handle-color: #3a4179;--mdc-switch-selected-pressed-handle-color: #3a4179;--mdc-switch-selected-focus-track-color: #8591cd;--mdc-switch-selected-hover-track-color: #8591cd;--mdc-switch-selected-pressed-track-color: #8591cd;--mdc-switch-selected-track-color: #8591cd;--mdc-switch-disabled-selected-handle-color: #111415;--mdc-switch-disabled-selected-icon-color: #e1e2e4;--mdc-switch-disabled-selected-track-color: #e1e2e4;--mdc-switch-disabled-unselected-handle-color: #e1e2e4;--mdc-switch-disabled-unselected-icon-color: #40484c;--mdc-switch-disabled-unselected-track-color: #40484c;--mdc-switch-selected-icon-color: #99a1d7;--mdc-switch-unselected-focus-handle-color: #dce4e9;--mdc-switch-unselected-focus-state-layer-color: #e1e2e4;--mdc-switch-unselected-focus-track-color: #40484c;--mdc-switch-unselected-handle-color: #8a9297;--mdc-switch-unselected-hover-handle-color: #dce4e9;--mdc-switch-unselected-hover-state-layer-color: #e1e2e4;--mdc-switch-unselected-hover-track-color: #40484c;--mdc-switch-unselected-icon-color: #40484c;--mdc-switch-unselected-pressed-handle-color: #dce4e9;--mdc-switch-unselected-pressed-state-layer-color: #e1e2e4;--mdc-switch-unselected-pressed-track-color: #40484c;--mdc-switch-unselected-track-color: #40484c;--mat-switch-track-outline-color: #8a9297;--mat-switch-disabled-unselected-track-outline-color: #e1e2e4;--mat-switch-label-text-color: #e1e2e4;--mdc-radio-disabled-selected-icon-color: #e1e2e4;--mdc-radio-disabled-unselected-icon-color: #e1e2e4;--mdc-radio-unselected-hover-icon-color: #e1e2e4;--mdc-radio-unselected-icon-color: #dce4e9;--mdc-radio-unselected-pressed-icon-color: #e1e2e4;--mdc-radio-selected-focus-icon-color: #8591cd;--mdc-radio-selected-hover-icon-color: #8591cd;--mdc-radio-selected-icon-color: #8591cd;--mdc-radio-selected-pressed-icon-color: #8591cd;--mat-radio-ripple-color: #e1e2e4;--mat-radio-checked-ripple-color: #8591cd;--mat-radio-disabled-label-color: rgba(225, 226, 228, .38);--mat-radio-label-text-color: #e1e2e4;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-slider-handle-color: #8591cd;--mdc-slider-focus-handle-color: #8591cd;--mdc-slider-hover-handle-color: #8591cd;--mdc-slider-active-track-color: #8591cd;--mdc-slider-inactive-track-color: #40484c;--mdc-slider-with-tick-marks-inactive-container-color: #dce4e9;--mdc-slider-with-tick-marks-active-container-color: #222744;--mdc-slider-disabled-active-track-color: #e1e2e4;--mdc-slider-disabled-handle-color: #e1e2e4;--mdc-slider-disabled-inactive-track-color: #e1e2e4;--mdc-slider-label-container-color: #8591cd;--mdc-slider-label-label-text-color: #222744;--mdc-slider-with-overlap-handle-outline-color: #222744;--mdc-slider-with-tick-marks-disabled-container-color: #e1e2e4;--mat-slider-ripple-color: #8591cd;--mat-slider-hover-state-layer-color: rgba(133, 145, 205, .05);--mat-slider-focus-state-layer-color: rgba(133, 145, 205, .2);--mat-menu-item-label-text-color: #e1e2e4;--mat-menu-item-icon-color: #dce4e9;--mat-menu-item-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-menu-item-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-menu-container-color: #1d2022;--mat-menu-divider-color: #40484c;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-leading-avatar-color: #3a4179;--mdc-list-list-item-disabled-state-layer-color: #e1e2e4;--mdc-list-list-item-disabled-state-layer-opacity: .12;--mdc-list-list-item-label-text-color: #e1e2e4;--mdc-list-list-item-supporting-text-color: #dce4e9;--mdc-list-list-item-leading-icon-color: #dce4e9;--mdc-list-list-item-trailing-supporting-text-color: #dce4e9;--mdc-list-list-item-trailing-icon-color: #dce4e9;--mdc-list-list-item-selected-trailing-icon-color: #8591cd;--mdc-list-list-item-disabled-label-text-color: #e1e2e4;--mdc-list-list-item-disabled-leading-icon-color: #e1e2e4;--mdc-list-list-item-disabled-trailing-icon-color: #e1e2e4;--mdc-list-list-item-hover-label-text-color: #e1e2e4;--mdc-list-list-item-focus-label-text-color: #e1e2e4;--mdc-list-list-item-hover-state-layer-color: #e1e2e4;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: #e1e2e4;--mdc-list-list-item-focus-state-layer-opacity: .12;--mat-list-active-indicator-color: #51511e;--mat-paginator-container-text-color: #e1e2e4;--mat-paginator-container-background-color: #111415;--mat-paginator-enabled-icon-color: #dce4e9;--mat-paginator-disabled-icon-color: rgba(225, 226, 228, .38);--mdc-tab-indicator-active-indicator-color: #8591cd;--mat-tab-header-divider-color: #40484c;--mat-tab-header-pagination-icon-color: #e1e2e4;--mat-tab-header-inactive-label-text-color: #e1e2e4;--mat-tab-header-active-label-text-color: #e1e2e4;--mat-tab-header-active-ripple-color: #e1e2e4;--mat-tab-header-inactive-ripple-color: #e1e2e4;--mat-tab-header-inactive-focus-label-text-color: #e1e2e4;--mat-tab-header-inactive-hover-label-text-color: #e1e2e4;--mat-tab-header-active-focus-label-text-color: #e1e2e4;--mat-tab-header-active-hover-label-text-color: #e1e2e4;--mat-tab-header-active-focus-indicator-color: #8591cd;--mat-tab-header-active-hover-indicator-color: #8591cd;--mdc-checkbox-disabled-selected-checkmark-color: #111415;--mdc-checkbox-selected-focus-state-layer-opacity: .12;--mdc-checkbox-selected-hover-state-layer-opacity: .08;--mdc-checkbox-selected-pressed-state-layer-opacity: .12;--mdc-checkbox-unselected-focus-state-layer-opacity: .12;--mdc-checkbox-unselected-hover-state-layer-opacity: .08;--mdc-checkbox-unselected-pressed-state-layer-opacity: .12;--mdc-checkbox-selected-pressed-icon-color: #8591cd;--mdc-checkbox-disabled-selected-icon-color: rgba(225, 226, 228, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(225, 226, 228, .38);--mdc-checkbox-selected-checkmark-color: #222744;--mdc-checkbox-selected-focus-icon-color: #8591cd;--mdc-checkbox-selected-hover-icon-color: #8591cd;--mdc-checkbox-selected-icon-color: #8591cd;--mdc-checkbox-unselected-focus-icon-color: #e1e2e4;--mdc-checkbox-unselected-hover-icon-color: #e1e2e4;--mdc-checkbox-unselected-icon-color: #dce4e9;--mdc-checkbox-selected-focus-state-layer-color: #8591cd;--mdc-checkbox-selected-hover-state-layer-color: #8591cd;--mdc-checkbox-selected-pressed-state-layer-color: #e1e2e4;--mdc-checkbox-unselected-focus-state-layer-color: #e1e2e4;--mdc-checkbox-unselected-hover-state-layer-color: #e1e2e4;--mdc-checkbox-unselected-pressed-state-layer-color: #8591cd;--mat-checkbox-disabled-label-color: rgba(225, 226, 228, .38);--mat-checkbox-label-text-color: #e1e2e4;--mdc-text-button-label-text-color: #8591cd;--mdc-text-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-protected-button-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-container-color: #111415;--mdc-protected-button-label-text-color: #8591cd;--mdc-protected-button-disabled-container-color: rgba(225, 226, 228, .12);--mdc-protected-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-filled-button-container-color: #8591cd;--mdc-filled-button-label-text-color: #222744;--mdc-filled-button-disabled-container-color: rgba(225, 226, 228, .12);--mdc-filled-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-outlined-button-disabled-outline-color: rgba(225, 226, 228, .12);--mdc-outlined-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-outlined-button-label-text-color: #8591cd;--mdc-outlined-button-outline-color: #8a9297;--mat-text-button-state-layer-color: #8591cd;--mat-text-button-disabled-state-layer-color: #dce4e9;--mat-text-button-ripple-color: rgba(133, 145, 205, .12);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mat-protected-button-state-layer-color: #8591cd;--mat-protected-button-disabled-state-layer-color: #dce4e9;--mat-protected-button-ripple-color: rgba(133, 145, 205, .12);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mat-filled-button-state-layer-color: #222744;--mat-filled-button-disabled-state-layer-color: #dce4e9;--mat-filled-button-ripple-color: rgba(34, 39, 68, .12);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mat-outlined-button-state-layer-color: #8591cd;--mat-outlined-button-disabled-state-layer-color: #dce4e9;--mat-outlined-button-ripple-color: rgba(133, 145, 205, .12);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12;--mdc-icon-button-icon-color: #dce4e9;--mdc-icon-button-disabled-icon-color: rgba(225, 226, 228, .38);--mat-icon-button-state-layer-color: #dce4e9;--mat-icon-button-disabled-state-layer-color: #dce4e9;--mat-icon-button-ripple-color: rgba(220, 228, 233, .12);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-color: #3a4179;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-container-color: #3a4179;--mat-fab-foreground-color: #99a1d7;--mat-fab-state-layer-color: #99a1d7;--mat-fab-ripple-color: rgba(153, 161, 215, .12);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(225, 226, 228, .12);--mat-fab-disabled-state-foreground-color: rgba(225, 226, 228, .38);--mat-fab-small-foreground-color: #99a1d7;--mat-fab-small-state-layer-color: #99a1d7;--mat-fab-small-ripple-color: rgba(153, 161, 215, .12);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(225, 226, 228, .12);--mat-fab-small-disabled-state-foreground-color: rgba(225, 226, 228, .38);--mdc-snackbar-container-color: #e1e2e4;--mdc-snackbar-supporting-text-color: #2e3132;--mat-snack-bar-button-color: #4a529c;--mat-table-background-color: #111415;--mat-table-header-headline-color: #e1e2e4;--mat-table-row-item-label-text-color: #e1e2e4;--mat-table-row-item-outline-color: #8a9297;--mdc-circular-progress-active-indicator-color: #8591cd;--mat-badge-background-color: #ffb4ab;--mat-badge-text-color: #690005;--mat-badge-disabled-state-background-color: rgba(255, 180, 171, .38);--mat-badge-disabled-state-text-color: #690005;--mat-bottom-sheet-container-text-color: #e1e2e4;--mat-bottom-sheet-container-background-color: #191c1e;--mat-standard-button-toggle-hover-state-layer-opacity: .08;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-standard-button-toggle-text-color: #e1e2e4;--mat-standard-button-toggle-state-layer-color: #e1e2e4;--mat-standard-button-toggle-selected-state-background-color: #51511e;--mat-standard-button-toggle-selected-state-text-color: #c7c766;--mat-standard-button-toggle-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(225, 226, 228, .38);--mat-standard-button-toggle-disabled-selected-state-background-color: rgba(225, 226, 228, .12);--mat-standard-button-toggle-divider-color: #8a9297;--mat-datepicker-calendar-date-selected-state-text-color: #222744;--mat-datepicker-calendar-date-selected-state-background-color: #8591cd;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-date-today-selected-state-outline-color: #8591cd;--mat-datepicker-calendar-date-focus-state-background-color: rgba(225, 226, 228, .12);--mat-datepicker-calendar-date-hover-state-background-color: rgba(225, 226, 228, .08);--mat-datepicker-toggle-active-state-icon-color: #dce4e9;--mat-datepicker-calendar-date-in-range-state-background-color: #3a4179;--mat-datepicker-calendar-date-in-comparison-range-state-background-color: #454364;--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #51511e;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #b3b355;--mat-datepicker-toggle-icon-color: #dce4e9;--mat-datepicker-calendar-body-label-text-color: #e1e2e4;--mat-datepicker-calendar-period-button-text-color: #dce4e9;--mat-datepicker-calendar-period-button-icon-color: #dce4e9;--mat-datepicker-calendar-navigation-button-icon-color: #dce4e9;--mat-datepicker-calendar-header-text-color: #dce4e9;--mat-datepicker-calendar-date-today-outline-color: #8591cd;--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-date-text-color: #e1e2e4;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-date-preview-state-outline-color: #8591cd;--mat-datepicker-range-input-separator-color: #e1e2e4;--mat-datepicker-range-input-disabled-state-separator-color: rgba(225, 226, 228, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-container-background-color: #272a2c;--mat-datepicker-calendar-container-text-color: #e1e2e4;--mat-divider-color: #8a9297;--mat-expansion-container-background-color: #111415;--mat-expansion-container-text-color: #e1e2e4;--mat-expansion-actions-divider-color: #8a9297;--mat-expansion-header-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-expansion-header-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-expansion-header-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-expansion-header-text-color: #e1e2e4;--mat-expansion-header-description-color: #dce4e9;--mat-expansion-header-indicator-color: #dce4e9;--mat-sidenav-container-background-color: #111415;--mat-sidenav-container-text-color: #dce4e9;--mat-sidenav-content-background-color: #111415;--mat-sidenav-content-text-color: #e1e2e4;--mat-sidenav-scrim-color: rgba(42, 50, 54, .4);--mat-stepper-header-icon-foreground-color: #111415;--mat-stepper-header-selected-state-icon-background-color: #8591cd;--mat-stepper-header-selected-state-icon-foreground-color: #222744;--mat-stepper-header-edit-state-icon-background-color: #8591cd;--mat-stepper-header-edit-state-icon-foreground-color: #222744;--mat-stepper-container-color: #111415;--mat-stepper-line-color: #8a9297;--mat-stepper-header-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-stepper-header-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-stepper-header-label-text-color: #dce4e9;--mat-stepper-header-optional-label-text-color: #dce4e9;--mat-stepper-header-selected-state-label-text-color: #dce4e9;--mat-stepper-header-error-state-label-text-color: #ffb4ab;--mat-stepper-header-icon-background-color: #dce4e9;--mat-stepper-header-error-state-icon-foreground-color: #ffb4ab;--mat-sort-arrow-color: #e1e2e4;--mat-toolbar-container-background-color: #111415;--mat-toolbar-container-text-color: #e1e2e4;--mat-tree-container-background-color: #111415;--mat-tree-node-text-color: #e1e2e4;--mat-sidenav-content-background-color: #0d0f19;--mat-sidenav-container-background-color: #0d0f19;--mat-app-background-color: #0d0f19;--mat-app-background: #0d0f19;--mat-fab-small-foreground-color: var(--mat-app-text-color);--mat-table-background-color: #141726;--mat-expansion-container-background-color: #141726;--mdc-elevated-card-container-color: #141726;--mat-toolbar-container-background-color: #222744}html[data-bitmagnet-theme=tundra] .health-icon-down mat-icon,html[data-bitmagnet-theme=tundra] .health-icon-error mat-icon{color:#ffb4ab}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header{background-color:#4a529c;--mat-toolbar-container-text-color: #fff}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header h1{cursor:default}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header a{color:#fff}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mat-icon{fill:#fff}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mdc-button.active{color:#4a529c;background-color:#fffc;cursor:default}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mdc-button.active mat-icon{color:#4a529c;fill:#4a529c}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mdc-button:hover:not(.active){background-color:#fff3}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mdc-button.button-sponsor{margin-left:20px}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mdc-icon-button .mat-icon{fill:#fff}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mdc-icon-button:hover{background-color:#fff3}html[data-bitmagnet-theme=tundra] .layout-header-menu a{color:#6a75b6}html[data-bitmagnet-theme=tundra] .layout-header-menu a.active{color:#8591cd;background-color:#ffffff1a}html[data-bitmagnet-theme=tundra] a{color:#b3b355}html[data-bitmagnet-theme=tundra] tbody tr:not(.expanded-detail-row):hover{background-color:#ffffff05}html[data-bitmagnet-theme=tundra] button.mat-warning{background-color:#ba1a1a}html[data-bitmagnet-theme=tundra] button.mat-warning:hover:not(.mat-mdc-button-disabled){background-color:#de3730}html[data-bitmagnet-theme=tundra] button.mat-warning mat-icon,html[data-bitmagnet-theme=tundra] button.mat-warning .mdc-button__label{color:#fff;fill:#fff}html[data-bitmagnet-theme=tundra] button.mat-warning.mat-mdc-button-disabled{background-color:#410002}html[data-bitmagnet-theme=tundra] button.mat-warning.mat-mdc-button-disabled mat-icon,html[data-bitmagnet-theme=tundra] button.mat-warning.mat-mdc-button-disabled .mdc-button__label{color:#777;fill:#777}html[data-bitmagnet-theme=tundra] app-dashboard mat-drawer nav a{--mdc-text-button-label-text-color: mat.get-theme-color( $theme, secondary, 40 )}html[data-bitmagnet-theme=tundra] app-dashboard mat-drawer nav a.active{color:#b3b355;background-color:#ffffff1a}html[data-bitmagnet-theme=tundra] app-queue-visualize button.selected{background-color:#141726}html[data-bitmagnet-theme=tundra] .theme-emitter-color.success-50{color:#22892f}html[data-bitmagnet-theme=tundra] .theme-emitter-color.caution-50{color:#bc5d00}html[data-bitmagnet-theme=tundra] .theme-emitter-color.primary-20{color:#222744}html[data-bitmagnet-theme=tundra] .theme-emitter-color.primary-40{color:#4a529c}html[data-bitmagnet-theme=tundra] .theme-emitter-color.primary-50{color:#5963b0}html[data-bitmagnet-theme=tundra] .theme-emitter-color.primary-60{color:#6a75b6}html[data-bitmagnet-theme=tundra] .theme-emitter-color.primary-80{color:#8591cd}html[data-bitmagnet-theme=tundra] .theme-emitter-color.secondary-20{color:#3c3c13}html[data-bitmagnet-theme=tundra] .theme-emitter-color.secondary-40{color:#666628}html[data-bitmagnet-theme=tundra] .theme-emitter-color.secondary-50{color:#7a7a30}html[data-bitmagnet-theme=tundra] .theme-emitter-color.secondary-60{color:#8e8e39}html[data-bitmagnet-theme=tundra] .theme-emitter-color.secondary-80{color:#b3b355}html[data-bitmagnet-theme=tundra] .theme-emitter-color.tertiary-20{color:#2e2d4d}html[data-bitmagnet-theme=tundra] .theme-emitter-color.tertiary-40{color:#5d5b7d}html[data-bitmagnet-theme=tundra] .theme-emitter-color.tertiary-50{color:#767397}html[data-bitmagnet-theme=tundra] .theme-emitter-color.tertiary-60{color:#8f8db2}html[data-bitmagnet-theme=tundra] .theme-emitter-color.tertiary-80{color:#c6c2ea}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-20{color:#2e3132}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-40{color:#5c5f60}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-50{color:#757779}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-60{color:#8f9193}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-80{color:#c5c7c8}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-variant-20{color:#2a3236}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-variant-40{color:#586064}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-variant-50{color:#70787d}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-variant-60{color:#8a9297}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-variant-80{color:#c0c8cd}html[data-bitmagnet-theme=tundra] .theme-emitter-color.error-20{color:#690005}html[data-bitmagnet-theme=tundra] .theme-emitter-color.error-40{color:#ba1a1a}html[data-bitmagnet-theme=tundra] .theme-emitter-color.error-50{color:#de3730}html[data-bitmagnet-theme=tundra] .theme-emitter-color.error-60{color:#ff5449}html[data-bitmagnet-theme=tundra] .theme-emitter-color.error-80{color:#ffb4ab}html[data-bitmagnet-theme=tundra] .theme-emitter-lightdark{color:#000}html[data-bitmagnet-theme=tundra] .theme-emitter-lightdark else{color:#fff}html[data-bitmagnet-theme=tundra] .drawer-scroll-wrapper{background-color:#3a4179bf}@media (pointer: fine){html[data-bitmagnet-theme=tundra] .drawer-content::-webkit-scrollbar-thumb{background-color:#8591cd}}html[data-bitmagnet-theme=tundra] .panel-content-type li.active{color:#b3b355}html[data-bitmagnet-theme=tundra] .panel-content-type li:hover:not(.active){color:#c6c2ea}html[data-bitmagnet-theme=tundra] .filtered .mat-mdc-checkbox-checked .mat-internal-form-field{color:#b3b355}html[data-bitmagnet-theme=tundra] .filtered .mat-mdc-checkbox:hover:not(.mat-mdc-checkbox-checked) .mat-internal-form-field{color:#c6c2ea}html[data-bitmagnet-theme=tundra] .unfiltered{--mdc-checkbox-selected-icon-color: lightgray}html[data-bitmagnet-theme=tundra] .unfiltered .mat-mdc-checkbox:hover .mat-internal-form-field{color:#c6c2ea}html[data-bitmagnet-theme=tundra] .table-torrents .mat-column-magnet .mat-icon{fill:#6a75b6}html,body{height:100%}body{margin:0;font-family:Roboto,Helvetica Neue,sans-serif}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.material-icons-outlined{font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.material-symbols-outlined{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mat-icon{fill:var(--mat-icon-color)}.spacer{display:inline-flex;flex:1 1 auto}.drawer-container{min-height:100vh}.drawer{width:340px;padding:0 8px;box-sizing:border-box}mat-drawer-content{padding-right:16px;overflow:visible;padding-bottom:20px} diff --git a/webui/dist/bitmagnet/browser/styles-RRNC7ICR.css b/webui/dist/bitmagnet/browser/styles-RRNC7ICR.css deleted file mode 100644 index c8bd7e26..00000000 --- a/webui/dist/bitmagnet/browser/styles-RRNC7ICR.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-cyrillic-ext-400-normal-ZDADDXVC.woff2") format("woff2"),url("./media/roboto-cyrillic-ext-400-normal-3LPF5CMR.woff") format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-cyrillic-400-normal-ZSAA7UM5.woff2") format("woff2"),url("./media/roboto-cyrillic-400-normal-LBMDEO7N.woff") format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-greek-ext-400-normal-W33USUDN.woff2") format("woff2"),url("./media/roboto-greek-ext-400-normal-XVSFLYYV.woff") format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-greek-400-normal-XOLKJBVR.woff2") format("woff2"),url("./media/roboto-greek-400-normal-DTDUS3GJ.woff") format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-vietnamese-400-normal-RHIHKZKP.woff2") format("woff2"),url("./media/roboto-vietnamese-400-normal-PKET2HVX.woff") format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-latin-ext-400-normal-HADPAURF.woff2") format("woff2"),url("./media/roboto-latin-ext-400-normal-SAKQSSDU.woff") format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url("./media/roboto-latin-400-normal-JNYDHCS5.woff2") format("woff2"),url("./media/roboto-latin-400-normal-Q4ODZ3WO.woff") format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Material Icons;font-style:normal;font-display:swap;font-weight:400;src:url("./media/material-icons-latin-400-normal-LEZCGFVT.woff2") format("woff2"),url("./media/material-icons-latin-400-normal-OKHIZNFO.woff") format("woff")}@font-face{font-family:Material Icons Outlined;font-style:normal;font-display:swap;font-weight:400;src:url("./media/material-icons-outlined-latin-400-normal-7BWLPMFK.woff2") format("woff2"),url("./media/material-icons-outlined-latin-400-normal-PCUTWIDZ.woff") format("woff")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:swap;font-weight:100;src:url("./media/material-symbols-outlined-latin-100-normal-Q755U3GZ.woff2") format("woff2"),url("./media/material-symbols-outlined-latin-100-normal-KBIUMYAA.woff") format("woff")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:swap;font-weight:200;src:url("./media/material-symbols-outlined-latin-200-normal-A2Z3HCC2.woff2") format("woff2"),url("./media/material-symbols-outlined-latin-200-normal-JBR4MHAF.woff") format("woff")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:swap;font-weight:300;src:url("./media/material-symbols-outlined-latin-300-normal-QVIUYGFA.woff2") format("woff2"),url("./media/material-symbols-outlined-latin-300-normal-JTVX56JQ.woff") format("woff")}@font-face{font-family:Material Symbols Outlined;font-style:normal;font-display:swap;font-weight:400;src:url("./media/material-symbols-outlined-latin-400-normal-4FRPJO5X.woff2") format("woff2"),url("./media/material-symbols-outlined-latin-400-normal-CBTIXZPO.woff") format("woff")}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element,.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, var(--mat-app-background, transparent));color:var(--mat-app-text-color, var(--mat-app-on-background, inherit))}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}html{--mat-app-background-color: #fbf8fd;--mat-app-text-color: #1b1b1f;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-ripple-color: rgba(27, 27, 31, .1);--mat-option-selected-state-label-text-color: #400014;--mat-option-label-text-color: #1b1b1f;--mat-option-hover-state-layer-color: rgba(27, 27, 31, .08);--mat-option-focus-state-layer-color: rgba(27, 27, 31, .12);--mat-option-selected-state-layer-color: #ffd9de;--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 1.25rem;--mat-option-label-text-size: 1rem;--mat-option-label-text-tracking: .006rem;--mat-option-label-text-weight: 400;--mat-optgroup-label-text-color: #46464f;--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 1.25rem;--mat-optgroup-label-text-size: .875rem;--mat-optgroup-label-text-tracking: .006rem;--mat-optgroup-label-text-weight: 500;--mat-full-pseudo-checkbox-selected-icon-color: #4355b9;--mat-full-pseudo-checkbox-selected-checkmark-color: #ffffff;--mat-full-pseudo-checkbox-unselected-icon-color: #46464f;--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fbf8fd;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: rgba(27, 27, 31, .38);--mat-full-pseudo-checkbox-disabled-selected-icon-color: rgba(27, 27, 31, .38);--mat-minimal-pseudo-checkbox-selected-checkmark-color: #4355b9;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: rgba(27, 27, 31, .38);--mdc-elevated-card-container-color: #fbf8fd;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-elevated-card-container-shape: 12px;--mdc-outlined-card-container-color: #fbf8fd;--mdc-outlined-card-outline-color: #c7c5d0;--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-shape: 12px;--mdc-outlined-card-outline-width: 1px;--mat-card-subtitle-text-color: #1b1b1f;--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 1.75rem;--mat-card-title-text-size: 1.375rem;--mat-card-title-text-tracking: 0;--mat-card-title-text-weight: 400;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 1.5rem;--mat-card-subtitle-text-size: 1rem;--mat-card-subtitle-text-tracking: .009rem;--mat-card-subtitle-text-weight: 500;--mdc-linear-progress-active-indicator-color: #4355b9;--mdc-linear-progress-track-color: #e3e1ec;--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0;--mdc-plain-tooltip-container-color: #303034;--mdc-plain-tooltip-supporting-text-color: #f3f0f4;--mdc-plain-tooltip-supporting-text-line-height: 1rem;--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: .75rem;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .025rem;--mdc-plain-tooltip-container-shape: 4px;--mdc-filled-text-field-caret-color: #4355b9;--mdc-filled-text-field-focus-active-indicator-color: #4355b9;--mdc-filled-text-field-focus-label-text-color: #4355b9;--mdc-filled-text-field-container-color: #e3e1ec;--mdc-filled-text-field-disabled-container-color: rgba(27, 27, 31, .04);--mdc-filled-text-field-label-text-color: #46464f;--mdc-filled-text-field-hover-label-text-color: #46464f;--mdc-filled-text-field-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-filled-text-field-input-text-color: #1b1b1f;--mdc-filled-text-field-disabled-input-text-color: rgba(27, 27, 31, .38);--mdc-filled-text-field-input-text-placeholder-color: #46464f;--mdc-filled-text-field-error-hover-label-text-color: #410002;--mdc-filled-text-field-error-focus-label-text-color: #ba1a1a;--mdc-filled-text-field-error-label-text-color: #ba1a1a;--mdc-filled-text-field-active-indicator-color: #46464f;--mdc-filled-text-field-disabled-active-indicator-color: rgba(27, 27, 31, .38);--mdc-filled-text-field-hover-active-indicator-color: #1b1b1f;--mdc-filled-text-field-error-active-indicator-color: #ba1a1a;--mdc-filled-text-field-error-focus-active-indicator-color: #ba1a1a;--mdc-filled-text-field-error-hover-active-indicator-color: #410002;--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 1rem;--mdc-filled-text-field-label-text-tracking: .031rem;--mdc-filled-text-field-label-text-weight: 400;--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-caret-color: #4355b9;--mdc-outlined-text-field-focus-outline-color: #4355b9;--mdc-outlined-text-field-focus-label-text-color: #4355b9;--mdc-outlined-text-field-label-text-color: #46464f;--mdc-outlined-text-field-hover-label-text-color: #1b1b1f;--mdc-outlined-text-field-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-outlined-text-field-input-text-color: #1b1b1f;--mdc-outlined-text-field-disabled-input-text-color: rgba(27, 27, 31, .38);--mdc-outlined-text-field-input-text-placeholder-color: #46464f;--mdc-outlined-text-field-error-focus-label-text-color: #ba1a1a;--mdc-outlined-text-field-error-label-text-color: #ba1a1a;--mdc-outlined-text-field-error-hover-label-text-color: #410002;--mdc-outlined-text-field-outline-color: #767680;--mdc-outlined-text-field-disabled-outline-color: rgba(27, 27, 31, .12);--mdc-outlined-text-field-hover-outline-color: #1b1b1f;--mdc-outlined-text-field-error-focus-outline-color: #ba1a1a;--mdc-outlined-text-field-error-hover-outline-color: #410002;--mdc-outlined-text-field-error-outline-color: #ba1a1a;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 1rem;--mdc-outlined-text-field-label-text-tracking: .031rem;--mdc-outlined-text-field-label-text-weight: 400;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px;--mat-form-field-focus-select-arrow-color: #4355b9;--mat-form-field-disabled-input-text-placeholder-color: rgba(27, 27, 31, .38);--mat-form-field-state-layer-color: #1b1b1f;--mat-form-field-error-text-color: #ba1a1a;--mat-form-field-select-option-text-color: #1b1b1f;--mat-form-field-select-disabled-option-text-color: rgba(27, 27, 31, .38);--mat-form-field-leading-icon-color: #46464f;--mat-form-field-disabled-leading-icon-color: rgba(27, 27, 31, .38);--mat-form-field-trailing-icon-color: #46464f;--mat-form-field-disabled-trailing-icon-color: rgba(27, 27, 31, .38);--mat-form-field-error-focus-trailing-icon-color: #ba1a1a;--mat-form-field-error-hover-trailing-icon-color: #410002;--mat-form-field-error-trailing-icon-color: #ba1a1a;--mat-form-field-enabled-select-arrow-color: #46464f;--mat-form-field-disabled-select-arrow-color: rgba(27, 27, 31, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 1.5rem;--mat-form-field-container-text-size: 1rem;--mat-form-field-container-text-tracking: .031rem;--mat-form-field-container-text-weight: 400;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 1rem;--mat-form-field-subscript-text-size: .75rem;--mat-form-field-subscript-text-tracking: .025rem;--mat-form-field-subscript-text-weight: 400;--mat-form-field-container-height: 56px;--mat-form-field-filled-label-display: block;--mat-form-field-container-vertical-padding: 16px;--mat-form-field-filled-with-label-container-padding-top: 24px;--mat-form-field-filled-with-label-container-padding-bottom: 8px;--mat-form-field-focus-state-layer-opacity: 0;--mat-select-panel-background-color: #f0edf1;--mat-select-enabled-trigger-text-color: #1b1b1f;--mat-select-disabled-trigger-text-color: rgba(27, 27, 31, .38);--mat-select-placeholder-text-color: #46464f;--mat-select-enabled-arrow-color: #46464f;--mat-select-disabled-arrow-color: rgba(27, 27, 31, .38);--mat-select-focused-arrow-color: #4355b9;--mat-select-invalid-arrow-color: #ba1a1a;--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 1.5rem;--mat-select-trigger-text-size: 1rem;--mat-select-trigger-text-tracking: .031rem;--mat-select-trigger-text-weight: 400;--mat-select-arrow-transform: translateY(-8px);--mat-select-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-autocomplete-background-color: #f0edf1;--mat-autocomplete-container-shape: 4px;--mat-autocomplete-container-elevation-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mdc-dialog-container-color: #fbf8fd;--mdc-dialog-subhead-color: #1b1b1f;--mdc-dialog-supporting-text-color: #46464f;--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 2rem;--mdc-dialog-subhead-size: 1.5rem;--mdc-dialog-subhead-weight: 400;--mdc-dialog-subhead-tracking: 0;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 1.25rem;--mdc-dialog-supporting-text-size: .875rem;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .016rem;--mdc-dialog-container-shape: 28px;--mat-dialog-container-elevation-shadow: none;--mat-dialog-container-max-width: 560px;--mat-dialog-container-small-max-width: calc(100vw - 32px) ;--mat-dialog-container-min-width: 280px;--mat-dialog-actions-alignment: flex-end;--mat-dialog-actions-padding: 16px 24px;--mat-dialog-content-padding: 20px 24px;--mat-dialog-with-actions-content-padding: 20px 24px 0;--mat-dialog-headline-padding: 6px 24px 13px;--mdc-chip-outline-color: #767680;--mdc-chip-disabled-outline-color: rgba(27, 27, 31, .12);--mdc-chip-focus-outline-color: #46464f;--mdc-chip-hover-state-layer-opacity: .08;--mdc-chip-selected-hover-state-layer-opacity: .08;--mdc-chip-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-chip-elevated-selected-container-color: #ffd9de;--mdc-chip-flat-disabled-selected-container-color: rgba(27, 27, 31, .12);--mdc-chip-focus-state-layer-color: #46464f;--mdc-chip-hover-state-layer-color: #46464f;--mdc-chip-selected-hover-state-layer-color: #400014;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: #400014;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #46464f;--mdc-chip-selected-label-text-color: #400014;--mdc-chip-with-icon-icon-color: #46464f;--mdc-chip-with-icon-disabled-icon-color: #1b1b1f;--mdc-chip-with-icon-selected-icon-color: #400014;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #1b1b1f;--mdc-chip-with-trailing-icon-trailing-icon-color: #46464f;--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 1.25rem;--mdc-chip-label-text-size: .875rem;--mdc-chip-label-text-tracking: .006rem;--mdc-chip-label-text-weight: 500;--mdc-chip-container-height: 32px;--mdc-chip-container-shape-radius: 8px;--mdc-chip-with-avatar-avatar-shape-radius: 24px;--mdc-chip-with-avatar-avatar-size: 24px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-outline-width: 1px;--mdc-chip-with-avatar-disabled-avatar-opacity: .38;--mdc-chip-flat-selected-outline-width: 0;--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity: .38;--mdc-chip-with-icon-disabled-icon-opacity: .38;--mdc-chip-elevated-container-color: transparent;--mat-chip-trailing-action-state-layer-color: #46464f;--mat-chip-selected-trailing-action-state-layer-color: #400014;--mat-chip-trailing-action-hover-state-layer-opacity: .08;--mat-chip-trailing-action-focus-state-layer-opacity: .12;--mat-chip-selected-disabled-trailing-icon-color: #1b1b1f;--mat-chip-selected-trailing-icon-color: #400014;--mat-chip-disabled-container-opacity: 1;--mat-chip-trailing-action-opacity: 1;--mat-chip-trailing-action-focus-opacity: 1;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .08;--mdc-switch-selected-pressed-state-layer-opacity: .12;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .08;--mdc-switch-unselected-pressed-state-layer-opacity: .12;--mdc-switch-selected-focus-state-layer-color: #4355b9;--mdc-switch-selected-handle-color: #ffffff;--mdc-switch-selected-hover-state-layer-color: #4355b9;--mdc-switch-selected-pressed-state-layer-color: #4355b9;--mdc-switch-selected-focus-handle-color: #dee0ff;--mdc-switch-selected-hover-handle-color: #dee0ff;--mdc-switch-selected-pressed-handle-color: #dee0ff;--mdc-switch-selected-focus-track-color: #4355b9;--mdc-switch-selected-hover-track-color: #4355b9;--mdc-switch-selected-pressed-track-color: #4355b9;--mdc-switch-selected-track-color: #4355b9;--mdc-switch-disabled-selected-handle-color: #fbf8fd;--mdc-switch-disabled-selected-icon-color: #1b1b1f;--mdc-switch-disabled-selected-track-color: #1b1b1f;--mdc-switch-disabled-unselected-handle-color: #1b1b1f;--mdc-switch-disabled-unselected-icon-color: #e3e1ec;--mdc-switch-disabled-unselected-track-color: #e3e1ec;--mdc-switch-selected-icon-color: #00105c;--mdc-switch-unselected-focus-handle-color: #46464f;--mdc-switch-unselected-focus-state-layer-color: #1b1b1f;--mdc-switch-unselected-focus-track-color: #e3e1ec;--mdc-switch-unselected-handle-color: #767680;--mdc-switch-unselected-hover-handle-color: #46464f;--mdc-switch-unselected-hover-state-layer-color: #1b1b1f;--mdc-switch-unselected-hover-track-color: #e3e1ec;--mdc-switch-unselected-icon-color: #e3e1ec;--mdc-switch-unselected-pressed-handle-color: #46464f;--mdc-switch-unselected-pressed-state-layer-color: #1b1b1f;--mdc-switch-unselected-pressed-track-color: #e3e1ec;--mdc-switch-unselected-track-color: #e3e1ec;--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-shape: 9999px;--mdc-switch-selected-icon-size: 16px;--mdc-switch-track-height: 32px;--mdc-switch-track-shape: 9999px;--mdc-switch-track-width: 52px;--mdc-switch-unselected-icon-size: 16px;--mdc-switch-state-layer-size: 40px;--mat-switch-track-outline-color: #767680;--mat-switch-disabled-unselected-track-outline-color: #1b1b1f;--mat-switch-label-text-color: #1b1b1f;--mat-switch-label-text-font: Roboto, sans-serif;--mat-switch-label-text-line-height: 1.25rem;--mat-switch-label-text-size: .875rem;--mat-switch-label-text-tracking: .016rem;--mat-switch-label-text-weight: 400;--mat-switch-disabled-selected-handle-opacity: 1;--mat-switch-disabled-unselected-handle-opacity: .38;--mat-switch-unselected-handle-size: 16px;--mat-switch-selected-handle-size: 24px;--mat-switch-pressed-handle-size: 28px;--mat-switch-with-icon-handle-size: 24px;--mat-switch-selected-handle-horizontal-margin: 0 24px;--mat-switch-selected-with-icon-handle-horizontal-margin: 0 24px;--mat-switch-selected-pressed-handle-horizontal-margin: 0 22px;--mat-switch-unselected-handle-horizontal-margin: 0 8px;--mat-switch-unselected-with-icon-handle-horizontal-margin: 0 4px;--mat-switch-unselected-pressed-handle-horizontal-margin: 0 2px;--mat-switch-visible-track-opacity: 1;--mat-switch-hidden-track-opacity: 0;--mat-switch-visible-track-transition: opacity 75ms;--mat-switch-hidden-track-transition: opacity 75ms;--mat-switch-track-outline-width: 2px;--mat-switch-selected-track-outline-width: 2px;--mat-switch-selected-track-outline-color: transparent;--mat-switch-disabled-unselected-track-outline-width: 2px;--mdc-radio-disabled-selected-icon-color: #1b1b1f;--mdc-radio-disabled-unselected-icon-color: #1b1b1f;--mdc-radio-unselected-hover-icon-color: #1b1b1f;--mdc-radio-unselected-icon-color: #46464f;--mdc-radio-unselected-pressed-icon-color: #1b1b1f;--mdc-radio-selected-focus-icon-color: #4355b9;--mdc-radio-selected-hover-icon-color: #4355b9;--mdc-radio-selected-icon-color: #4355b9;--mdc-radio-selected-pressed-icon-color: #4355b9;--mdc-radio-state-layer-size: 40px;--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mat-radio-ripple-color: #1b1b1f;--mat-radio-checked-ripple-color: #4355b9;--mat-radio-disabled-label-color: rgba(27, 27, 31, .38);--mat-radio-label-text-color: #1b1b1f;--mat-radio-label-text-font: Roboto, sans-serif;--mat-radio-label-text-line-height: 1.25rem;--mat-radio-label-text-size: .875rem;--mat-radio-label-text-tracking: .016rem;--mat-radio-label-text-weight: 400;--mat-radio-touch-target-display: block;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-slider-handle-color: #4355b9;--mdc-slider-focus-handle-color: #4355b9;--mdc-slider-hover-handle-color: #4355b9;--mdc-slider-active-track-color: #4355b9;--mdc-slider-inactive-track-color: #e3e1ec;--mdc-slider-with-tick-marks-inactive-container-color: #46464f;--mdc-slider-with-tick-marks-active-container-color: #ffffff;--mdc-slider-disabled-active-track-color: #1b1b1f;--mdc-slider-disabled-handle-color: #1b1b1f;--mdc-slider-disabled-inactive-track-color: #1b1b1f;--mdc-slider-label-container-color: #4355b9;--mdc-slider-label-label-text-color: #ffffff;--mdc-slider-with-overlap-handle-outline-color: #ffffff;--mdc-slider-with-tick-marks-disabled-container-color: #1b1b1f;--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: .75rem;--mdc-slider-label-label-text-line-height: 1rem;--mdc-slider-label-label-text-tracking: .031rem;--mdc-slider-label-label-text-weight: 500;--mdc-slider-active-track-height: 4px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 9999px;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .38;--mdc-slider-with-tick-marks-container-shape: 9999px;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .38;--mat-slider-ripple-color: #4355b9;--mat-slider-hover-state-layer-color: rgba(67, 85, 185, .05);--mat-slider-focus-state-layer-color: rgba(67, 85, 185, .2);--mat-slider-value-indicator-width: 28px;--mat-slider-value-indicator-height: 28px;--mat-slider-value-indicator-caret-display: none;--mat-slider-value-indicator-border-radius: 50% 50% 50% 0;--mat-slider-value-indicator-padding: 0;--mat-slider-value-indicator-text-transform: rotate(45deg);--mat-slider-value-indicator-container-transform: translateX(-50%) rotate(-45deg);--mat-slider-value-indicator-opacity: 1;--mat-menu-item-label-text-color: #1b1b1f;--mat-menu-item-icon-color: #46464f;--mat-menu-item-hover-state-layer-color: rgba(27, 27, 31, .08);--mat-menu-item-focus-state-layer-color: rgba(27, 27, 31, .12);--mat-menu-container-color: #f0edf1;--mat-menu-divider-color: #e3e1ec;--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: .875rem;--mat-menu-item-label-text-tracking: .006rem;--mat-menu-item-label-text-line-height: 1.25rem;--mat-menu-item-label-text-weight: 500;--mat-menu-container-shape: 4px;--mat-menu-divider-bottom-spacing: 8px;--mat-menu-divider-top-spacing: 8px;--mat-menu-item-spacing: 12px;--mat-menu-item-icon-size: 24px;--mat-menu-item-leading-spacing: 12px;--mat-menu-item-trailing-spacing: 12px;--mat-menu-item-with-icon-leading-spacing: 12px;--mat-menu-item-with-icon-trailing-spacing: 12px;--mat-menu-base-elevation-level: 2;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-leading-avatar-color: #dee0ff;--mdc-list-list-item-disabled-state-layer-color: #1b1b1f;--mdc-list-list-item-disabled-state-layer-opacity: .12;--mdc-list-list-item-label-text-color: #1b1b1f;--mdc-list-list-item-supporting-text-color: #46464f;--mdc-list-list-item-leading-icon-color: #46464f;--mdc-list-list-item-trailing-supporting-text-color: #46464f;--mdc-list-list-item-trailing-icon-color: #46464f;--mdc-list-list-item-selected-trailing-icon-color: #4355b9;--mdc-list-list-item-disabled-label-text-color: #1b1b1f;--mdc-list-list-item-disabled-leading-icon-color: #1b1b1f;--mdc-list-list-item-disabled-trailing-icon-color: #1b1b1f;--mdc-list-list-item-hover-label-text-color: #1b1b1f;--mdc-list-list-item-focus-label-text-color: #1b1b1f;--mdc-list-list-item-hover-state-layer-color: #1b1b1f;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: #1b1b1f;--mdc-list-list-item-focus-state-layer-opacity: .12;--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 1.5rem;--mdc-list-list-item-label-text-size: 1rem;--mdc-list-list-item-label-text-tracking: .031rem;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 1.25rem;--mdc-list-list-item-supporting-text-size: .875rem;--mdc-list-list-item-supporting-text-tracking: .016rem;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 1rem;--mdc-list-list-item-trailing-supporting-text-size: .688rem;--mdc-list-list-item-trailing-supporting-text-tracking: .031rem;--mdc-list-list-item-trailing-supporting-text-weight: 500;--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px;--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 9999px;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-label-text-opacity: .3;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38;--mat-list-active-indicator-color: #ffd9de;--mat-list-list-item-leading-icon-start-space: 16px;--mat-list-list-item-leading-icon-end-space: 16px;--mat-list-active-indicator-shape: 9999px;--mat-paginator-container-text-color: #1b1b1f;--mat-paginator-container-background-color: #fbf8fd;--mat-paginator-enabled-icon-color: #46464f;--mat-paginator-disabled-icon-color: rgba(27, 27, 31, .38);--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 1rem;--mat-paginator-container-text-size: .75rem;--mat-paginator-container-text-tracking: .025rem;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: .75rem;--mat-paginator-container-size: 56px;--mat-paginator-form-field-container-height: 40px;--mat-paginator-form-field-container-vertical-padding: 8px;--mat-paginator-touch-target-display: block;--mdc-secondary-navigation-tab-container-height: 48px;--mdc-tab-indicator-active-indicator-color: #4355b9;--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0;--mat-tab-header-divider-color: #e3e1ec;--mat-tab-header-pagination-icon-color: #1b1b1f;--mat-tab-header-inactive-label-text-color: #1b1b1f;--mat-tab-header-active-label-text-color: #1b1b1f;--mat-tab-header-active-ripple-color: #1b1b1f;--mat-tab-header-inactive-ripple-color: #1b1b1f;--mat-tab-header-inactive-focus-label-text-color: #1b1b1f;--mat-tab-header-inactive-hover-label-text-color: #1b1b1f;--mat-tab-header-active-focus-label-text-color: #1b1b1f;--mat-tab-header-active-hover-label-text-color: #1b1b1f;--mat-tab-header-active-focus-indicator-color: #4355b9;--mat-tab-header-active-hover-indicator-color: #4355b9;--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: .875rem;--mat-tab-header-label-text-tracking: .006rem;--mat-tab-header-label-text-line-height: 1.25rem;--mat-tab-header-label-text-weight: 500;--mat-tab-header-divider-height: 1px;--mdc-checkbox-disabled-selected-checkmark-color: #fbf8fd;--mdc-checkbox-selected-focus-state-layer-opacity: .12;--mdc-checkbox-selected-hover-state-layer-opacity: .08;--mdc-checkbox-selected-pressed-state-layer-opacity: .12;--mdc-checkbox-unselected-focus-state-layer-opacity: .12;--mdc-checkbox-unselected-hover-state-layer-opacity: .08;--mdc-checkbox-unselected-pressed-state-layer-opacity: .12;--mdc-checkbox-selected-pressed-icon-color: #4355b9;--mdc-checkbox-disabled-selected-icon-color: rgba(27, 27, 31, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(27, 27, 31, .38);--mdc-checkbox-selected-checkmark-color: #ffffff;--mdc-checkbox-selected-focus-icon-color: #4355b9;--mdc-checkbox-selected-hover-icon-color: #4355b9;--mdc-checkbox-selected-icon-color: #4355b9;--mdc-checkbox-unselected-focus-icon-color: #1b1b1f;--mdc-checkbox-unselected-hover-icon-color: #1b1b1f;--mdc-checkbox-unselected-icon-color: #46464f;--mdc-checkbox-selected-focus-state-layer-color: #4355b9;--mdc-checkbox-selected-hover-state-layer-color: #4355b9;--mdc-checkbox-selected-pressed-state-layer-color: #1b1b1f;--mdc-checkbox-unselected-focus-state-layer-color: #1b1b1f;--mdc-checkbox-unselected-hover-state-layer-color: #1b1b1f;--mdc-checkbox-unselected-pressed-state-layer-color: #4355b9;--mdc-checkbox-state-layer-size: 40px;--mat-checkbox-disabled-label-color: rgba(27, 27, 31, .38);--mat-checkbox-label-text-color: #1b1b1f;--mat-checkbox-label-text-font: Roboto, sans-serif;--mat-checkbox-label-text-line-height: 1.25rem;--mat-checkbox-label-text-size: .875rem;--mat-checkbox-label-text-tracking: .016rem;--mat-checkbox-label-text-weight: 400;--mat-checkbox-touch-target-display: block;--mdc-text-button-label-text-color: #4355b9;--mdc-text-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: .875rem;--mdc-text-button-label-text-tracking: .006rem;--mdc-text-button-label-text-weight: 500;--mdc-text-button-container-height: 40px;--mdc-text-button-container-shape: 9999px;--mdc-protected-button-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-container-color: #fbf8fd;--mdc-protected-button-label-text-color: #4355b9;--mdc-protected-button-disabled-container-color: rgba(27, 27, 31, .12);--mdc-protected-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: .875rem;--mdc-protected-button-label-text-tracking: .006rem;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-container-height: 40px;--mdc-protected-button-container-shape: 9999px;--mdc-filled-button-container-color: #4355b9;--mdc-filled-button-label-text-color: #ffffff;--mdc-filled-button-disabled-container-color: rgba(27, 27, 31, .12);--mdc-filled-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: .875rem;--mdc-filled-button-label-text-tracking: .006rem;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-container-height: 40px;--mdc-filled-button-container-shape: 9999px;--mdc-outlined-button-disabled-outline-color: rgba(27, 27, 31, .12);--mdc-outlined-button-disabled-label-text-color: rgba(27, 27, 31, .38);--mdc-outlined-button-label-text-color: #4355b9;--mdc-outlined-button-outline-color: #767680;--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: .875rem;--mdc-outlined-button-label-text-tracking: .006rem;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-container-height: 40px;--mdc-outlined-button-outline-width: 1px;--mdc-outlined-button-container-shape: 9999px;--mat-text-button-state-layer-color: #4355b9;--mat-text-button-disabled-state-layer-color: #46464f;--mat-text-button-ripple-color: rgba(67, 85, 185, .12);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mat-text-button-touch-target-display: block;--mat-text-button-horizontal-padding: 12px;--mat-text-button-with-icon-horizontal-padding: 16px;--mat-text-button-icon-spacing: 8px;--mat-text-button-icon-offset: -4px;--mat-protected-button-state-layer-color: #4355b9;--mat-protected-button-disabled-state-layer-color: #46464f;--mat-protected-button-ripple-color: rgba(67, 85, 185, .12);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mat-protected-button-touch-target-display: block;--mat-protected-button-horizontal-padding: 24px;--mat-protected-button-icon-spacing: 8px;--mat-protected-button-icon-offset: -8px;--mat-filled-button-state-layer-color: #ffffff;--mat-filled-button-disabled-state-layer-color: #46464f;--mat-filled-button-ripple-color: rgba(255, 255, 255, .12);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mat-filled-button-touch-target-display: block;--mat-filled-button-horizontal-padding: 24px;--mat-filled-button-icon-spacing: 8px;--mat-filled-button-icon-offset: -8px;--mat-outlined-button-state-layer-color: #4355b9;--mat-outlined-button-disabled-state-layer-color: #46464f;--mat-outlined-button-ripple-color: rgba(67, 85, 185, .12);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12;--mat-outlined-button-touch-target-display: block;--mat-outlined-button-horizontal-padding: 24px;--mat-outlined-button-icon-spacing: 8px;--mat-outlined-button-icon-offset: -8px;--mdc-icon-button-icon-color: #46464f;--mdc-icon-button-disabled-icon-color: rgba(27, 27, 31, .38);--mdc-icon-button-state-layer-size: 40px;--mdc-icon-button-icon-size: 24px;--mat-icon-button-state-layer-color: #46464f;--mat-icon-button-disabled-state-layer-color: #46464f;--mat-icon-button-ripple-color: rgba(70, 70, 79, .12);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12;--mat-icon-button-touch-target-display: block;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: .875rem;--mdc-extended-fab-label-text-tracking: .006rem;--mdc-extended-fab-label-text-weight: 500;--mdc-extended-fab-container-height: 56px;--mdc-extended-fab-container-shape: 16px;--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-color: #dee0ff;--mdc-fab-container-shape: 16px;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-container-color: #dee0ff;--mdc-fab-small-container-shape: 12px;--mat-fab-foreground-color: #00105c;--mat-fab-state-layer-color: #00105c;--mat-fab-ripple-color: rgba(0, 16, 92, .12);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(27, 27, 31, .12);--mat-fab-disabled-state-foreground-color: rgba(27, 27, 31, .38);--mat-fab-touch-target-display: block;--mat-fab-small-foreground-color: #00105c;--mat-fab-small-state-layer-color: #00105c;--mat-fab-small-ripple-color: rgba(0, 16, 92, .12);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(27, 27, 31, .12);--mat-fab-small-disabled-state-foreground-color: rgba(27, 27, 31, .38);--mdc-snackbar-container-color: #303034;--mdc-snackbar-supporting-text-color: #f3f0f4;--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 1.25rem;--mdc-snackbar-supporting-text-size: .875rem;--mdc-snackbar-supporting-text-weight: 400;--mdc-snackbar-container-shape: 4px;--mat-snack-bar-button-color: #bac3ff;--mat-table-background-color: #fbf8fd;--mat-table-header-headline-color: #1b1b1f;--mat-table-row-item-label-text-color: #1b1b1f;--mat-table-row-item-outline-color: #767680;--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 1.25rem;--mat-table-header-headline-size: .875rem;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .006rem;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 1.25rem;--mat-table-row-item-label-text-size: .875rem;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .016rem;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 1.25rem;--mat-table-footer-supporting-text-size: .875rem;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .016rem;--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px;--mat-table-row-item-outline-width: 1px;--mdc-circular-progress-active-indicator-color: #4355b9;--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px;--mat-badge-background-color: #ba1a1a;--mat-badge-text-color: #ffffff;--mat-badge-disabled-state-background-color: rgba(186, 26, 26, .38);--mat-badge-disabled-state-text-color: #ffffff;--mat-badge-text-font: Roboto, sans-serif;--mat-badge-text-size: .688rem;--mat-badge-text-weight: 500;--mat-badge-large-size-text-size: .688rem;--mat-badge-container-shape: 9999px;--mat-badge-container-size: 16px;--mat-badge-small-size-container-size: 6px;--mat-badge-large-size-container-size: 16px;--mat-badge-legacy-container-size: 16px;--mat-badge-legacy-small-size-container-size: 16px;--mat-badge-legacy-large-size-container-size: 16px;--mat-badge-container-offset: -12px 0;--mat-badge-small-size-container-offset: -6px 0;--mat-badge-large-size-container-offset: -12px 0;--mat-badge-container-overlap-offset: -12px;--mat-badge-small-size-container-overlap-offset: -6px;--mat-badge-large-size-container-overlap-offset: -12px;--mat-badge-container-padding: 0 4px;--mat-badge-small-size-container-padding: 0;--mat-badge-large-size-container-padding: 0 4px;--mat-badge-small-size-text-size: 0;--mat-bottom-sheet-container-text-color: #1b1b1f;--mat-bottom-sheet-container-background-color: #f6f2f7;--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 1.5rem;--mat-bottom-sheet-container-text-size: 1rem;--mat-bottom-sheet-container-text-tracking: .031rem;--mat-bottom-sheet-container-text-weight: 400;--mat-bottom-sheet-container-shape: 28px;--mat-standard-button-toggle-hover-state-layer-opacity: .08;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-standard-button-toggle-text-color: #1b1b1f;--mat-standard-button-toggle-state-layer-color: #1b1b1f;--mat-standard-button-toggle-selected-state-background-color: #ffd9de;--mat-standard-button-toggle-selected-state-text-color: #400014;--mat-standard-button-toggle-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(27, 27, 31, .38);--mat-standard-button-toggle-disabled-selected-state-background-color: rgba(27, 27, 31, .12);--mat-standard-button-toggle-divider-color: #767680;--mat-standard-button-toggle-label-text-font: Roboto, sans-serif;--mat-standard-button-toggle-label-text-line-height: 1.25rem;--mat-standard-button-toggle-label-text-size: .875rem;--mat-standard-button-toggle-label-text-tracking: .006rem;--mat-standard-button-toggle-label-text-weight: 500;--mat-standard-button-toggle-height: 40px;--mat-standard-button-toggle-shape: 9999px;--mat-standard-button-toggle-background-color: transparent;--mat-standard-button-toggle-disabled-state-background-color: transparent;--mat-datepicker-calendar-date-selected-state-text-color: #ffffff;--mat-datepicker-calendar-date-selected-state-background-color: #4355b9;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-date-today-selected-state-outline-color: #4355b9;--mat-datepicker-calendar-date-focus-state-background-color: rgba(27, 27, 31, .12);--mat-datepicker-calendar-date-hover-state-background-color: rgba(27, 27, 31, .08);--mat-datepicker-toggle-active-state-icon-color: #46464f;--mat-datepicker-calendar-date-in-range-state-background-color: #dee0ff;--mat-datepicker-calendar-date-in-comparison-range-state-background-color: #ffd7f1;--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #ffd9de;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #bc004b;--mat-datepicker-toggle-icon-color: #46464f;--mat-datepicker-calendar-body-label-text-color: #1b1b1f;--mat-datepicker-calendar-period-button-text-color: #46464f;--mat-datepicker-calendar-period-button-icon-color: #46464f;--mat-datepicker-calendar-navigation-button-icon-color: #46464f;--mat-datepicker-calendar-header-text-color: #46464f;--mat-datepicker-calendar-date-today-outline-color: #4355b9;--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-date-text-color: #1b1b1f;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-date-preview-state-outline-color: #4355b9;--mat-datepicker-range-input-separator-color: #1b1b1f;--mat-datepicker-range-input-disabled-state-separator-color: rgba(27, 27, 31, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-datepicker-calendar-container-background-color: #eae7ec;--mat-datepicker-calendar-container-text-color: #1b1b1f;--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: .875rem;--mat-datepicker-calendar-body-label-text-size: .875rem;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: .875rem;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: .875rem;--mat-datepicker-calendar-header-text-weight: 500;--mat-datepicker-calendar-container-shape: 16px;--mat-datepicker-calendar-container-touch-shape: 28px;--mat-datepicker-calendar-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-container-touch-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-divider-color: transparent;--mat-datepicker-calendar-date-outline-color: transparent;--mat-divider-color: #767680;--mat-divider-width: 1px;--mat-expansion-container-background-color: #fbf8fd;--mat-expansion-container-text-color: #1b1b1f;--mat-expansion-actions-divider-color: #767680;--mat-expansion-header-hover-state-layer-color: rgba(27, 27, 31, .08);--mat-expansion-header-focus-state-layer-color: rgba(27, 27, 31, .12);--mat-expansion-header-disabled-state-text-color: rgba(27, 27, 31, .38);--mat-expansion-header-text-color: #1b1b1f;--mat-expansion-header-description-color: #46464f;--mat-expansion-header-indicator-color: #46464f;--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 1rem;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: 1.5rem;--mat-expansion-header-text-tracking: .009rem;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 1.5rem;--mat-expansion-container-text-size: 1rem;--mat-expansion-container-text-tracking: .031rem;--mat-expansion-container-text-weight: 400;--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px;--mat-expansion-container-shape: 12px;--mat-expansion-legacy-header-indicator-display: none;--mat-expansion-header-indicator-display: inline-block;--mat-grid-list-tile-header-primary-text-size: 400 1rem / 1.5rem Roboto, sans-serif;--mat-grid-list-tile-header-secondary-text-size: 400 .875rem / 1.25rem Roboto, sans-serif;--mat-grid-list-tile-footer-primary-text-size: 400 1rem / 1.5rem Roboto, sans-serif;--mat-grid-list-tile-footer-secondary-text-size: 400 .875rem / 1.25rem Roboto, sans-serif;--mat-icon-color: inherit;--mat-sidenav-container-background-color: #fbf8fd;--mat-sidenav-container-text-color: #46464f;--mat-sidenav-content-background-color: #fbf8fd;--mat-sidenav-content-text-color: #1b1b1f;--mat-sidenav-scrim-color: rgba(47, 48, 56, .4);--mat-sidenav-container-shape: 16px;--mat-sidenav-container-elevation-shadow: none;--mat-sidenav-container-width: 360px;--mat-sidenav-container-divider-color: transparent;--mat-stepper-header-icon-foreground-color: #fbf8fd;--mat-stepper-header-selected-state-icon-background-color: #4355b9;--mat-stepper-header-selected-state-icon-foreground-color: #ffffff;--mat-stepper-header-edit-state-icon-background-color: #4355b9;--mat-stepper-header-edit-state-icon-foreground-color: #ffffff;--mat-stepper-container-color: #fbf8fd;--mat-stepper-line-color: #767680;--mat-stepper-header-hover-state-layer-color: rgba(48, 48, 52, .08);--mat-stepper-header-focus-state-layer-color: rgba(48, 48, 52, .12);--mat-stepper-header-label-text-color: #46464f;--mat-stepper-header-optional-label-text-color: #46464f;--mat-stepper-header-selected-state-label-text-color: #46464f;--mat-stepper-header-error-state-label-text-color: #ba1a1a;--mat-stepper-header-icon-background-color: #46464f;--mat-stepper-header-error-state-icon-foreground-color: #ba1a1a;--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: .875rem;--mat-stepper-header-label-text-weight: 500;--mat-stepper-header-error-state-label-text-size: .875rem;--mat-stepper-header-selected-state-label-text-size: .875rem;--mat-stepper-header-selected-state-label-text-weight: 500;--mat-stepper-header-height: 72px;--mat-stepper-header-focus-state-layer-shape: 12px;--mat-stepper-header-hover-state-layer-shape: 12px;--mat-stepper-header-error-state-icon-background-color: transparent;--mat-sort-arrow-color: #1b1b1f;--mat-toolbar-container-background-color: #fbf8fd;--mat-toolbar-container-text-color: #1b1b1f;--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 1.75rem;--mat-toolbar-title-text-size: 1.375rem;--mat-toolbar-title-text-tracking: 0;--mat-toolbar-title-text-weight: 400;--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px;--mat-tree-container-background-color: #fbf8fd;--mat-tree-node-text-color: #1b1b1f;--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 1rem;--mat-tree-node-text-weight: 400;--mat-tree-node-min-height: 48px}.mat-theme-loaded-marker{display:none}html .health-icon-down mat-icon,html .health-icon-error mat-icon{color:#ffb4ab}html .mat-toolbar.toolbar-header{background-color:#4355b9;--mat-toolbar-container-text-color: #fff}html .mat-toolbar.toolbar-header h1{cursor:default}html .mat-toolbar.toolbar-header a{color:#fff}html .mat-toolbar.toolbar-header .mat-icon{fill:#fff}html .mat-toolbar.toolbar-header .mdc-button.active{color:#4355b9;background-color:#fffc;cursor:default}html .mat-toolbar.toolbar-header .mdc-button.active mat-icon{color:#4355b9;fill:#4355b9}html .mat-toolbar.toolbar-header .mdc-button:hover:not(.active){background-color:#fff3}html .mat-toolbar.toolbar-header .mdc-button.button-sponsor{margin-left:20px}html .mat-toolbar.toolbar-header .mdc-icon-button .mat-icon{fill:#fff}html .mat-toolbar.toolbar-header .mdc-icon-button:hover{background-color:#fff3}html .layout-header-menu a{color:#7789f0}html .layout-header-menu a.active{color:#4355b9;background-color:#0000001a}html a{color:#e61a61}html tbody tr:not(.expanded-detail-row):hover{background-color:#00000005}html app-dashboard mat-drawer nav a{--mdc-text-button-label-text-color: mat.get-theme-color( $theme, secondary, 40 )}html app-dashboard mat-drawer nav a.active{color:#ffb2be;background-color:#0000001a}html app-queue-visualize button.selected{background-color:#ffecee;color:#bc004b}html .theme-emitter-color.success-50{color:#22892f}html .theme-emitter-color.caution-50{color:#bc5d00}html .theme-emitter-color.primary-20{color:#08218a}html .theme-emitter-color.primary-40{color:#4355b9}html .theme-emitter-color.primary-50{color:#5d6fd4}html .theme-emitter-color.primary-60{color:#7789f0}html .theme-emitter-color.primary-80{color:#bac3ff}html .theme-emitter-color.secondary-20{color:#660025}html .theme-emitter-color.secondary-40{color:#bc004b}html .theme-emitter-color.secondary-50{color:#e61a61}html .theme-emitter-color.secondary-60{color:#ff4e7c}html .theme-emitter-color.secondary-80{color:#ffb2be}html .theme-emitter-color.tertiary-20{color:#44263d}html .theme-emitter-color.tertiary-40{color:#77536d}html .theme-emitter-color.tertiary-50{color:#916c86}html .theme-emitter-color.tertiary-60{color:#ac85a1}html .theme-emitter-color.tertiary-80{color:#e6bad7}html .theme-emitter-color.neutral-20{color:#303034}html .theme-emitter-color.neutral-40{color:#5f5e62}html .theme-emitter-color.neutral-50{color:#78767a}html .theme-emitter-color.neutral-60{color:#929094}html .theme-emitter-color.neutral-80{color:#c8c5ca}html .theme-emitter-color.neutral-variant-20{color:#2f3038}html .theme-emitter-color.neutral-variant-40{color:#5d5e67}html .theme-emitter-color.neutral-variant-50{color:#767680}html .theme-emitter-color.neutral-variant-60{color:#90909a}html .theme-emitter-color.neutral-variant-80{color:#c7c5d0}html .theme-emitter-color.error-20{color:#690005}html .theme-emitter-color.error-40{color:#ba1a1a}html .theme-emitter-color.error-50{color:#de3730}html .theme-emitter-color.error-60{color:#ff5449}html .theme-emitter-color.error-80{color:#ffb4ab}html .theme-emitter-lightdark else{color:#fff}html .drawer-scroll-wrapper{background-color:#dee0ffbf}@media (pointer: fine){html .drawer-content::-webkit-scrollbar-thumb{background-color:#4355b9}}html .panel-content-type li.active{color:#bc004b}html .panel-content-type li:hover:not(.active){color:#77536d}html .filtered .mat-mdc-checkbox-checked .mat-internal-form-field{color:#bc004b}html .filtered .mat-mdc-checkbox:hover:not(.mat-mdc-checkbox-checked) .mat-internal-form-field{color:#77536d}html .unfiltered{--mdc-checkbox-selected-icon-color: lightgray}html .unfiltered .mat-mdc-checkbox:hover .mat-internal-form-field{color:#77536d}html .table-torrents .mat-column-magnet .mat-icon{fill:#4355b9}html[data-bitmagnet-theme=clean]{--mat-app-background-color: #fbf8fd;--mat-app-background: #fbf8fd;--mat-expansion-container-background-color: #f3f0f4;--mat-expansion-container-shape: 2px;--mat-menu-container-color: #f3f0f4;--mat-sidenav-container-background-color: #fbf8fd;--mat-sidenav-content-background-color: #fbf8fd;--mat-table-background-color: #f3f0f4;--mdc-chip-container-shape-radius: 4px;--mdc-dialog-container-shape: 6px;--mdc-elevated-card-container-color: #f3f0f4;--mdc-elevated-card-container-shape: 6px;--mdc-fab-small-container-color: #e4e1e6;--mdc-fab-small-container-elevation-shadow: none;--mdc-fab-small-container-shape: 4px;--mdc-fab-small-focus-container-elevation-shadow: 1px 1px 2px #c8c5ca;--mdc-fab-small-hover-container-elevation-shadow: 1px 1px 2px #acaaaf;--mdc-filled-text-field-container-color: #f3f0f4;--mdc-linear-progress-track-color: #f3f0f4;--mdc-outlined-button-container-shape: 6px;--mdc-text-button-container-shape: 4px}html[data-bitmagnet-theme=clean] .mat-toolbar.toolbar-header{--mat-toolbar-container-text-color: var(--mat-app-text-color);background-color:#f3f0f4;border-bottom-color:var(--mat-table-row-item-outline-color);border-bottom-style:solid;border-bottom-width:1px}html[data-bitmagnet-theme=clean] .mat-toolbar.toolbar-header a{color:var(--mat-app-text-color)}html[data-bitmagnet-theme=clean] .mat-toolbar.toolbar-header a.active{color:#4355b9}html[data-bitmagnet-theme=clean] .mat-toolbar.toolbar-header a.active.mdc-button{background-color:#eae7ec}html[data-bitmagnet-theme=clean] .mat-toolbar.toolbar-header .mat-icon{color:var(--mat-app-text-color);fill:var(--mat-app-text-color)}html[data-bitmagnet-theme=clean] .mat-expansion-panel{box-shadow:1px 1px 2px var(--mat-table-row-item-outline-color)}html[data-bitmagnet-theme=neon]{--mat-app-background-color: #111415;--mat-app-text-color: #e1e2e4;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-ripple-color: rgba(225, 226, 228, .1);--mat-option-selected-state-label-text-color: #a5ff7a;--mat-option-label-text-color: #e1e2e4;--mat-option-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-option-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-option-selected-state-layer-color: #1e891e;--mat-optgroup-label-text-color: #dce4e9;--mat-full-pseudo-checkbox-selected-icon-color: #ffccff;--mat-full-pseudo-checkbox-selected-checkmark-color: #330033;--mat-full-pseudo-checkbox-unselected-icon-color: #dce4e9;--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #111415;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: rgba(225, 226, 228, .38);--mat-full-pseudo-checkbox-disabled-selected-icon-color: rgba(225, 226, 228, .38);--mat-minimal-pseudo-checkbox-selected-checkmark-color: #ffccff;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: rgba(225, 226, 228, .38);--mdc-elevated-card-container-color: #111415;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: #111415;--mdc-outlined-card-outline-color: #40484c;--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: #e1e2e4;--mdc-linear-progress-active-indicator-color: #ffccff;--mdc-linear-progress-track-color: #40484c;--mdc-plain-tooltip-container-color: #e1e2e4;--mdc-plain-tooltip-supporting-text-color: #2e3132;--mdc-filled-text-field-caret-color: #ffccff;--mdc-filled-text-field-focus-active-indicator-color: #ffccff;--mdc-filled-text-field-focus-label-text-color: #ffccff;--mdc-filled-text-field-container-color: #40484c;--mdc-filled-text-field-disabled-container-color: rgba(225, 226, 228, .04);--mdc-filled-text-field-label-text-color: #dce4e9;--mdc-filled-text-field-hover-label-text-color: #dce4e9;--mdc-filled-text-field-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-filled-text-field-input-text-color: #e1e2e4;--mdc-filled-text-field-disabled-input-text-color: rgba(225, 226, 228, .38);--mdc-filled-text-field-input-text-placeholder-color: #dce4e9;--mdc-filled-text-field-error-hover-label-text-color: #fff2f2;--mdc-filled-text-field-error-focus-label-text-color: #ffe6e6;--mdc-filled-text-field-error-label-text-color: #ffe6e6;--mdc-filled-text-field-active-indicator-color: #dce4e9;--mdc-filled-text-field-disabled-active-indicator-color: rgba(225, 226, 228, .38);--mdc-filled-text-field-hover-active-indicator-color: #e1e2e4;--mdc-filled-text-field-error-active-indicator-color: #ffe6e6;--mdc-filled-text-field-error-focus-active-indicator-color: #ffe6e6;--mdc-filled-text-field-error-hover-active-indicator-color: #fff2f2;--mdc-outlined-text-field-caret-color: #ffccff;--mdc-outlined-text-field-focus-outline-color: #ffccff;--mdc-outlined-text-field-focus-label-text-color: #ffccff;--mdc-outlined-text-field-label-text-color: #dce4e9;--mdc-outlined-text-field-hover-label-text-color: #e1e2e4;--mdc-outlined-text-field-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-outlined-text-field-input-text-color: #e1e2e4;--mdc-outlined-text-field-disabled-input-text-color: rgba(225, 226, 228, .38);--mdc-outlined-text-field-input-text-placeholder-color: #dce4e9;--mdc-outlined-text-field-error-focus-label-text-color: #ffe6e6;--mdc-outlined-text-field-error-label-text-color: #ffe6e6;--mdc-outlined-text-field-error-hover-label-text-color: #fff2f2;--mdc-outlined-text-field-outline-color: #8a9297;--mdc-outlined-text-field-disabled-outline-color: rgba(225, 226, 228, .12);--mdc-outlined-text-field-hover-outline-color: #e1e2e4;--mdc-outlined-text-field-error-focus-outline-color: #ffe6e6;--mdc-outlined-text-field-error-hover-outline-color: #fff2f2;--mdc-outlined-text-field-error-outline-color: #ffe6e6;--mat-form-field-focus-select-arrow-color: #ffccff;--mat-form-field-disabled-input-text-placeholder-color: rgba(225, 226, 228, .38);--mat-form-field-state-layer-color: #e1e2e4;--mat-form-field-error-text-color: #ffe6e6;--mat-form-field-select-option-text-color: #191c1e;--mat-form-field-select-disabled-option-text-color: rgba(25, 28, 30, .38);--mat-form-field-leading-icon-color: #dce4e9;--mat-form-field-disabled-leading-icon-color: rgba(225, 226, 228, .38);--mat-form-field-trailing-icon-color: #dce4e9;--mat-form-field-disabled-trailing-icon-color: rgba(225, 226, 228, .38);--mat-form-field-error-focus-trailing-icon-color: #ffe6e6;--mat-form-field-error-hover-trailing-icon-color: #fff2f2;--mat-form-field-error-trailing-icon-color: #ffe6e6;--mat-form-field-enabled-select-arrow-color: #dce4e9;--mat-form-field-disabled-select-arrow-color: rgba(225, 226, 228, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-select-panel-background-color: #1d2022;--mat-select-enabled-trigger-text-color: #e1e2e4;--mat-select-disabled-trigger-text-color: rgba(225, 226, 228, .38);--mat-select-placeholder-text-color: #dce4e9;--mat-select-enabled-arrow-color: #dce4e9;--mat-select-disabled-arrow-color: rgba(225, 226, 228, .38);--mat-select-focused-arrow-color: #ffccff;--mat-select-invalid-arrow-color: #ffe6e6;--mat-autocomplete-background-color: #1d2022;--mdc-dialog-container-color: #111415;--mdc-dialog-subhead-color: #e1e2e4;--mdc-dialog-supporting-text-color: #dce4e9;--mdc-chip-outline-color: #8a9297;--mdc-chip-disabled-outline-color: rgba(225, 226, 228, .12);--mdc-chip-focus-outline-color: #dce4e9;--mdc-chip-hover-state-layer-opacity: .08;--mdc-chip-selected-hover-state-layer-opacity: .08;--mdc-chip-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-chip-elevated-selected-container-color: #1e891e;--mdc-chip-flat-disabled-selected-container-color: rgba(225, 226, 228, .12);--mdc-chip-focus-state-layer-color: #dce4e9;--mdc-chip-hover-state-layer-color: #dce4e9;--mdc-chip-selected-hover-state-layer-color: #a5ff7a;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: #a5ff7a;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #dce4e9;--mdc-chip-selected-label-text-color: #a5ff7a;--mdc-chip-with-icon-icon-color: #dce4e9;--mdc-chip-with-icon-disabled-icon-color: #e1e2e4;--mdc-chip-with-icon-selected-icon-color: #a5ff7a;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #e1e2e4;--mdc-chip-with-trailing-icon-trailing-icon-color: #dce4e9;--mat-chip-trailing-action-state-layer-color: #dce4e9;--mat-chip-selected-trailing-action-state-layer-color: #a5ff7a;--mat-chip-trailing-action-hover-state-layer-opacity: .08;--mat-chip-trailing-action-focus-state-layer-opacity: .12;--mat-chip-selected-disabled-trailing-icon-color: #e1e2e4;--mat-chip-selected-trailing-icon-color: #a5ff7a;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .08;--mdc-switch-selected-pressed-state-layer-opacity: .12;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .08;--mdc-switch-unselected-pressed-state-layer-opacity: .12;--mdc-switch-selected-focus-state-layer-color: #ffccff;--mdc-switch-selected-handle-color: #330033;--mdc-switch-selected-hover-state-layer-color: #ffccff;--mdc-switch-selected-pressed-state-layer-color: #ffccff;--mdc-switch-selected-focus-handle-color: #660066;--mdc-switch-selected-hover-handle-color: #660066;--mdc-switch-selected-pressed-handle-color: #660066;--mdc-switch-selected-focus-track-color: #ffccff;--mdc-switch-selected-hover-track-color: #ffccff;--mdc-switch-selected-pressed-track-color: #ffccff;--mdc-switch-selected-track-color: #ffccff;--mdc-switch-disabled-selected-handle-color: #111415;--mdc-switch-disabled-selected-icon-color: #e1e2e4;--mdc-switch-disabled-selected-track-color: #e1e2e4;--mdc-switch-disabled-unselected-handle-color: #e1e2e4;--mdc-switch-disabled-unselected-icon-color: #40484c;--mdc-switch-disabled-unselected-track-color: #40484c;--mdc-switch-selected-icon-color: #ffe6ff;--mdc-switch-unselected-focus-handle-color: #dce4e9;--mdc-switch-unselected-focus-state-layer-color: #e1e2e4;--mdc-switch-unselected-focus-track-color: #40484c;--mdc-switch-unselected-handle-color: #8a9297;--mdc-switch-unselected-hover-handle-color: #dce4e9;--mdc-switch-unselected-hover-state-layer-color: #e1e2e4;--mdc-switch-unselected-hover-track-color: #40484c;--mdc-switch-unselected-icon-color: #40484c;--mdc-switch-unselected-pressed-handle-color: #dce4e9;--mdc-switch-unselected-pressed-state-layer-color: #e1e2e4;--mdc-switch-unselected-pressed-track-color: #40484c;--mdc-switch-unselected-track-color: #40484c;--mat-switch-track-outline-color: #8a9297;--mat-switch-disabled-unselected-track-outline-color: #e1e2e4;--mat-switch-label-text-color: #e1e2e4;--mdc-radio-disabled-selected-icon-color: #e1e2e4;--mdc-radio-disabled-unselected-icon-color: #e1e2e4;--mdc-radio-unselected-hover-icon-color: #e1e2e4;--mdc-radio-unselected-icon-color: #dce4e9;--mdc-radio-unselected-pressed-icon-color: #e1e2e4;--mdc-radio-selected-focus-icon-color: #ffccff;--mdc-radio-selected-hover-icon-color: #ffccff;--mdc-radio-selected-icon-color: #ffccff;--mdc-radio-selected-pressed-icon-color: #ffccff;--mat-radio-ripple-color: #e1e2e4;--mat-radio-checked-ripple-color: #ffccff;--mat-radio-disabled-label-color: rgba(225, 226, 228, .38);--mat-radio-label-text-color: #e1e2e4;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-slider-handle-color: #ffccff;--mdc-slider-focus-handle-color: #ffccff;--mdc-slider-hover-handle-color: #ffccff;--mdc-slider-active-track-color: #ffccff;--mdc-slider-inactive-track-color: #40484c;--mdc-slider-with-tick-marks-inactive-container-color: #dce4e9;--mdc-slider-with-tick-marks-active-container-color: #330033;--mdc-slider-disabled-active-track-color: #e1e2e4;--mdc-slider-disabled-handle-color: #e1e2e4;--mdc-slider-disabled-inactive-track-color: #e1e2e4;--mdc-slider-label-container-color: #ffccff;--mdc-slider-label-label-text-color: #330033;--mdc-slider-with-overlap-handle-outline-color: #330033;--mdc-slider-with-tick-marks-disabled-container-color: #e1e2e4;--mat-slider-ripple-color: #ffccff;--mat-slider-hover-state-layer-color: rgba(255, 204, 255, .05);--mat-slider-focus-state-layer-color: rgba(255, 204, 255, .2);--mat-menu-item-label-text-color: #e1e2e4;--mat-menu-item-icon-color: #dce4e9;--mat-menu-item-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-menu-item-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-menu-container-color: #1d2022;--mat-menu-divider-color: #40484c;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-leading-avatar-color: #660066;--mdc-list-list-item-disabled-state-layer-color: #e1e2e4;--mdc-list-list-item-disabled-state-layer-opacity: .12;--mdc-list-list-item-label-text-color: #e1e2e4;--mdc-list-list-item-supporting-text-color: #dce4e9;--mdc-list-list-item-leading-icon-color: #dce4e9;--mdc-list-list-item-trailing-supporting-text-color: #dce4e9;--mdc-list-list-item-trailing-icon-color: #dce4e9;--mdc-list-list-item-selected-trailing-icon-color: #ffccff;--mdc-list-list-item-disabled-label-text-color: #e1e2e4;--mdc-list-list-item-disabled-leading-icon-color: #e1e2e4;--mdc-list-list-item-disabled-trailing-icon-color: #e1e2e4;--mdc-list-list-item-hover-label-text-color: #e1e2e4;--mdc-list-list-item-focus-label-text-color: #e1e2e4;--mdc-list-list-item-hover-state-layer-color: #e1e2e4;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: #e1e2e4;--mdc-list-list-item-focus-state-layer-opacity: .12;--mat-list-active-indicator-color: #1e891e;--mat-paginator-container-text-color: #e1e2e4;--mat-paginator-container-background-color: #111415;--mat-paginator-enabled-icon-color: #dce4e9;--mat-paginator-disabled-icon-color: rgba(225, 226, 228, .38);--mdc-tab-indicator-active-indicator-color: #ffccff;--mat-tab-header-divider-color: #40484c;--mat-tab-header-pagination-icon-color: #e1e2e4;--mat-tab-header-inactive-label-text-color: #e1e2e4;--mat-tab-header-active-label-text-color: #e1e2e4;--mat-tab-header-active-ripple-color: #e1e2e4;--mat-tab-header-inactive-ripple-color: #e1e2e4;--mat-tab-header-inactive-focus-label-text-color: #e1e2e4;--mat-tab-header-inactive-hover-label-text-color: #e1e2e4;--mat-tab-header-active-focus-label-text-color: #e1e2e4;--mat-tab-header-active-hover-label-text-color: #e1e2e4;--mat-tab-header-active-focus-indicator-color: #ffccff;--mat-tab-header-active-hover-indicator-color: #ffccff;--mdc-checkbox-disabled-selected-checkmark-color: #111415;--mdc-checkbox-selected-focus-state-layer-opacity: .12;--mdc-checkbox-selected-hover-state-layer-opacity: .08;--mdc-checkbox-selected-pressed-state-layer-opacity: .12;--mdc-checkbox-unselected-focus-state-layer-opacity: .12;--mdc-checkbox-unselected-hover-state-layer-opacity: .08;--mdc-checkbox-unselected-pressed-state-layer-opacity: .12;--mdc-checkbox-selected-pressed-icon-color: #ffccff;--mdc-checkbox-disabled-selected-icon-color: rgba(225, 226, 228, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(225, 226, 228, .38);--mdc-checkbox-selected-checkmark-color: #330033;--mdc-checkbox-selected-focus-icon-color: #ffccff;--mdc-checkbox-selected-hover-icon-color: #ffccff;--mdc-checkbox-selected-icon-color: #ffccff;--mdc-checkbox-unselected-focus-icon-color: #e1e2e4;--mdc-checkbox-unselected-hover-icon-color: #e1e2e4;--mdc-checkbox-unselected-icon-color: #dce4e9;--mdc-checkbox-selected-focus-state-layer-color: #ffccff;--mdc-checkbox-selected-hover-state-layer-color: #ffccff;--mdc-checkbox-selected-pressed-state-layer-color: #e1e2e4;--mdc-checkbox-unselected-focus-state-layer-color: #e1e2e4;--mdc-checkbox-unselected-hover-state-layer-color: #e1e2e4;--mdc-checkbox-unselected-pressed-state-layer-color: #ffccff;--mat-checkbox-disabled-label-color: rgba(225, 226, 228, .38);--mat-checkbox-label-text-color: #e1e2e4;--mdc-text-button-label-text-color: #ffccff;--mdc-text-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-protected-button-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-container-color: #111415;--mdc-protected-button-label-text-color: #ffccff;--mdc-protected-button-disabled-container-color: rgba(225, 226, 228, .12);--mdc-protected-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-filled-button-container-color: #ffccff;--mdc-filled-button-label-text-color: #330033;--mdc-filled-button-disabled-container-color: rgba(225, 226, 228, .12);--mdc-filled-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-outlined-button-disabled-outline-color: rgba(225, 226, 228, .12);--mdc-outlined-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-outlined-button-label-text-color: #ffccff;--mdc-outlined-button-outline-color: #8a9297;--mat-text-button-state-layer-color: #ffccff;--mat-text-button-disabled-state-layer-color: #dce4e9;--mat-text-button-ripple-color: rgba(255, 204, 255, .12);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mat-protected-button-state-layer-color: #ffccff;--mat-protected-button-disabled-state-layer-color: #dce4e9;--mat-protected-button-ripple-color: rgba(255, 204, 255, .12);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mat-filled-button-state-layer-color: #330033;--mat-filled-button-disabled-state-layer-color: #dce4e9;--mat-filled-button-ripple-color: rgba(51, 0, 51, .12);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mat-outlined-button-state-layer-color: #ffccff;--mat-outlined-button-disabled-state-layer-color: #dce4e9;--mat-outlined-button-ripple-color: rgba(255, 204, 255, .12);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12;--mdc-icon-button-icon-color: #dce4e9;--mdc-icon-button-disabled-icon-color: rgba(225, 226, 228, .38);--mat-icon-button-state-layer-color: #dce4e9;--mat-icon-button-disabled-state-layer-color: #dce4e9;--mat-icon-button-ripple-color: rgba(220, 228, 233, .12);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-color: #660066;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-container-color: #660066;--mat-fab-foreground-color: #ffe6ff;--mat-fab-state-layer-color: #ffe6ff;--mat-fab-ripple-color: rgba(255, 230, 255, .12);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(225, 226, 228, .12);--mat-fab-disabled-state-foreground-color: rgba(225, 226, 228, .38);--mat-fab-small-foreground-color: #ffe6ff;--mat-fab-small-state-layer-color: #ffe6ff;--mat-fab-small-ripple-color: rgba(255, 230, 255, .12);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(225, 226, 228, .12);--mat-fab-small-disabled-state-foreground-color: rgba(225, 226, 228, .38);--mdc-snackbar-container-color: #e1e2e4;--mdc-snackbar-supporting-text-color: #2e3132;--mat-snack-bar-button-color: #ff00ff;--mat-table-background-color: #111415;--mat-table-header-headline-color: #e1e2e4;--mat-table-row-item-label-text-color: #e1e2e4;--mat-table-row-item-outline-color: #8a9297;--mdc-circular-progress-active-indicator-color: #ffccff;--mat-badge-background-color: #ffe6e6;--mat-badge-text-color: #660000;--mat-badge-disabled-state-background-color: rgba(255, 230, 230, .38);--mat-badge-disabled-state-text-color: #660000;--mat-bottom-sheet-container-text-color: #e1e2e4;--mat-bottom-sheet-container-background-color: #191c1e;--mat-standard-button-toggle-hover-state-layer-opacity: .08;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-standard-button-toggle-text-color: #e1e2e4;--mat-standard-button-toggle-state-layer-color: #e1e2e4;--mat-standard-button-toggle-selected-state-background-color: #1e891e;--mat-standard-button-toggle-selected-state-text-color: #a5ff7a;--mat-standard-button-toggle-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(225, 226, 228, .38);--mat-standard-button-toggle-disabled-selected-state-background-color: rgba(225, 226, 228, .12);--mat-standard-button-toggle-divider-color: #8a9297;--mat-datepicker-calendar-date-selected-state-text-color: #330033;--mat-datepicker-calendar-date-selected-state-background-color: #ffccff;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-date-today-selected-state-outline-color: #ffccff;--mat-datepicker-calendar-date-focus-state-background-color: rgba(225, 226, 228, .12);--mat-datepicker-calendar-date-hover-state-background-color: rgba(225, 226, 228, .08);--mat-datepicker-toggle-active-state-icon-color: #dce4e9;--mat-datepicker-calendar-date-in-range-state-background-color: #660066;--mat-datepicker-calendar-date-in-comparison-range-state-background-color: #0066cc;--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #1e891e;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #8bff61;--mat-datepicker-toggle-icon-color: #dce4e9;--mat-datepicker-calendar-body-label-text-color: #e1e2e4;--mat-datepicker-calendar-period-button-text-color: #dce4e9;--mat-datepicker-calendar-period-button-icon-color: #dce4e9;--mat-datepicker-calendar-navigation-button-icon-color: #dce4e9;--mat-datepicker-calendar-header-text-color: #dce4e9;--mat-datepicker-calendar-date-today-outline-color: #ffccff;--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-date-text-color: #e1e2e4;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-date-preview-state-outline-color: #ffccff;--mat-datepicker-range-input-separator-color: #e1e2e4;--mat-datepicker-range-input-disabled-state-separator-color: rgba(225, 226, 228, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-container-background-color: #272a2c;--mat-datepicker-calendar-container-text-color: #e1e2e4;--mat-divider-color: #8a9297;--mat-expansion-container-background-color: #111415;--mat-expansion-container-text-color: #e1e2e4;--mat-expansion-actions-divider-color: #8a9297;--mat-expansion-header-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-expansion-header-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-expansion-header-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-expansion-header-text-color: #e1e2e4;--mat-expansion-header-description-color: #dce4e9;--mat-expansion-header-indicator-color: #dce4e9;--mat-sidenav-container-background-color: #111415;--mat-sidenav-container-text-color: #dce4e9;--mat-sidenav-content-background-color: #111415;--mat-sidenav-content-text-color: #e1e2e4;--mat-sidenav-scrim-color: rgba(42, 50, 54, .4);--mat-stepper-header-icon-foreground-color: #111415;--mat-stepper-header-selected-state-icon-background-color: #ffccff;--mat-stepper-header-selected-state-icon-foreground-color: #330033;--mat-stepper-header-edit-state-icon-background-color: #ffccff;--mat-stepper-header-edit-state-icon-foreground-color: #330033;--mat-stepper-container-color: #111415;--mat-stepper-line-color: #8a9297;--mat-stepper-header-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-stepper-header-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-stepper-header-label-text-color: #dce4e9;--mat-stepper-header-optional-label-text-color: #dce4e9;--mat-stepper-header-selected-state-label-text-color: #dce4e9;--mat-stepper-header-error-state-label-text-color: #ffe6e6;--mat-stepper-header-icon-background-color: #dce4e9;--mat-stepper-header-error-state-icon-foreground-color: #ffe6e6;--mat-sort-arrow-color: #e1e2e4;--mat-toolbar-container-background-color: #111415;--mat-toolbar-container-text-color: #e1e2e4;--mat-tree-container-background-color: #111415;--mat-tree-node-text-color: #e1e2e4;--mat-app-background-color: #0c0f10;--mat-app-background: #0c0f10;--mat-expansion-container-background-color: #191c1e;--mat-sidenav-container-background-color: #0c0f10;--mat-sidenav-content-background-color: #0c0f10;--mat-table-background-color: #191c1e;--mdc-elevated-card-container-color: #191c1e}html[data-bitmagnet-theme=neon] .health-icon-down mat-icon,html[data-bitmagnet-theme=neon] .health-icon-error mat-icon{color:#ffe6e6}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header{background-color:#f0f;--mat-toolbar-container-text-color: #fff}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header h1{cursor:default}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header a{color:#fff}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mat-icon{fill:#fff}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mdc-button.active{color:#f0f;background-color:#fffc;cursor:default}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mdc-button.active mat-icon{color:#f0f;fill:#f0f}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mdc-button:hover:not(.active){background-color:#fff3}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mdc-button.button-sponsor{margin-left:20px}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mdc-icon-button .mat-icon{fill:#fff}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mdc-icon-button:hover{background-color:#fff3}html[data-bitmagnet-theme=neon] .layout-header-menu a{color:#f6f}html[data-bitmagnet-theme=neon] .layout-header-menu a.active{color:#fcf;background-color:#ffffff1a}html[data-bitmagnet-theme=neon] a{color:#8bff61}html[data-bitmagnet-theme=neon] tbody tr:not(.expanded-detail-row):hover{background-color:#ffffff05}html[data-bitmagnet-theme=neon] app-dashboard mat-drawer nav a{--mdc-text-button-label-text-color: mat.get-theme-color( $theme, secondary, 40 )}html[data-bitmagnet-theme=neon] app-dashboard mat-drawer nav a.active{color:#8bff61;background-color:#ffffff1a}html[data-bitmagnet-theme=neon] app-queue-visualize button.selected{background-color:#1a001a}html[data-bitmagnet-theme=neon] .theme-emitter-color.success-50{color:#3f6}html[data-bitmagnet-theme=neon] .theme-emitter-color.caution-50{color:#ffd633}html[data-bitmagnet-theme=neon] .theme-emitter-color.primary-20{color:#303}html[data-bitmagnet-theme=neon] .theme-emitter-color.primary-40{color:#f0f}html[data-bitmagnet-theme=neon] .theme-emitter-color.primary-50{color:#f3f}html[data-bitmagnet-theme=neon] .theme-emitter-color.primary-60{color:#f6f}html[data-bitmagnet-theme=neon] .theme-emitter-color.primary-80{color:#fcf}html[data-bitmagnet-theme=neon] .theme-emitter-color.secondary-20{color:#145514}html[data-bitmagnet-theme=neon] .theme-emitter-color.secondary-40{color:#28bd28}html[data-bitmagnet-theme=neon] .theme-emitter-color.secondary-50{color:#3dff14}html[data-bitmagnet-theme=neon] .theme-emitter-color.secondary-60{color:#57ff2e}html[data-bitmagnet-theme=neon] .theme-emitter-color.secondary-80{color:#8bff61}html[data-bitmagnet-theme=neon] .theme-emitter-color.tertiary-20{color:#036}html[data-bitmagnet-theme=neon] .theme-emitter-color.tertiary-40{color:#00b3ff}html[data-bitmagnet-theme=neon] .theme-emitter-color.tertiary-50{color:#3cf}html[data-bitmagnet-theme=neon] .theme-emitter-color.tertiary-60{color:#66e5ff}html[data-bitmagnet-theme=neon] .theme-emitter-color.tertiary-80{color:#cff}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-20{color:#2e3132}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-40{color:#5c5f60}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-50{color:#757779}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-60{color:#8f9193}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-80{color:#c5c7c8}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-variant-20{color:#2a3236}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-variant-40{color:#586064}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-variant-50{color:#70787d}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-variant-60{color:#8a9297}html[data-bitmagnet-theme=neon] .theme-emitter-color.neutral-variant-80{color:#c0c8cd}html[data-bitmagnet-theme=neon] .theme-emitter-color.error-20{color:#600}html[data-bitmagnet-theme=neon] .theme-emitter-color.error-40{color:#f33}html[data-bitmagnet-theme=neon] .theme-emitter-color.error-50{color:#f66}html[data-bitmagnet-theme=neon] .theme-emitter-color.error-60{color:#f99}html[data-bitmagnet-theme=neon] .theme-emitter-color.error-80{color:#ffe6e6}html[data-bitmagnet-theme=neon] .theme-emitter-lightdark{color:#000}html[data-bitmagnet-theme=neon] .theme-emitter-lightdark else{color:#fff}html[data-bitmagnet-theme=neon] .drawer-scroll-wrapper{background-color:#660066bf}@media (pointer: fine){html[data-bitmagnet-theme=neon] .drawer-content::-webkit-scrollbar-thumb{background-color:#fcf}}html[data-bitmagnet-theme=neon] .panel-content-type li.active{color:#8bff61}html[data-bitmagnet-theme=neon] .panel-content-type li:hover:not(.active){color:#cff}html[data-bitmagnet-theme=neon] .filtered .mat-mdc-checkbox-checked .mat-internal-form-field{color:#8bff61}html[data-bitmagnet-theme=neon] .filtered .mat-mdc-checkbox:hover:not(.mat-mdc-checkbox-checked) .mat-internal-form-field{color:#cff}html[data-bitmagnet-theme=neon] .unfiltered{--mdc-checkbox-selected-icon-color: lightgray}html[data-bitmagnet-theme=neon] .unfiltered .mat-mdc-checkbox:hover .mat-internal-form-field{color:#cff}html[data-bitmagnet-theme=neon] .table-torrents .mat-column-magnet .mat-icon{fill:#f6f}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header{--mat-toolbar-container-text-color: var(--mat-app-text-color)}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header a,html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header a.active{color:#0c0f10}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header a.active.mdc-button{background-color:#0c0f10}html[data-bitmagnet-theme=neon] .mat-toolbar.toolbar-header .mat-icon{color:#0c0f10;fill:#0c0f10}html[data-bitmagnet-theme=tundra]{--mat-app-background-color: #111415;--mat-app-text-color: #e1e2e4;--mat-app-elevation-shadow-level-0: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4: 0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7: 0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9: 0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10: 0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11: 0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13: 0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14: 0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15: 0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16: 0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17: 0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18: 0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19: 0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21: 0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22: 0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23: 0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-ripple-color: rgba(225, 226, 228, .1);--mat-option-selected-state-label-text-color: #c7c766;--mat-option-label-text-color: #e1e2e4;--mat-option-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-option-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-option-selected-state-layer-color: #51511e;--mat-optgroup-label-text-color: #dce4e9;--mat-full-pseudo-checkbox-selected-icon-color: #8591cd;--mat-full-pseudo-checkbox-selected-checkmark-color: #222744;--mat-full-pseudo-checkbox-unselected-icon-color: #dce4e9;--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #111415;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: rgba(225, 226, 228, .38);--mat-full-pseudo-checkbox-disabled-selected-icon-color: rgba(225, 226, 228, .38);--mat-minimal-pseudo-checkbox-selected-checkmark-color: #8591cd;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: rgba(225, 226, 228, .38);--mdc-elevated-card-container-color: #111415;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: #111415;--mdc-outlined-card-outline-color: #40484c;--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: #e1e2e4;--mdc-linear-progress-active-indicator-color: #8591cd;--mdc-linear-progress-track-color: #40484c;--mdc-plain-tooltip-container-color: #e1e2e4;--mdc-plain-tooltip-supporting-text-color: #2e3132;--mdc-filled-text-field-caret-color: #8591cd;--mdc-filled-text-field-focus-active-indicator-color: #8591cd;--mdc-filled-text-field-focus-label-text-color: #8591cd;--mdc-filled-text-field-container-color: #40484c;--mdc-filled-text-field-disabled-container-color: rgba(225, 226, 228, .04);--mdc-filled-text-field-label-text-color: #dce4e9;--mdc-filled-text-field-hover-label-text-color: #dce4e9;--mdc-filled-text-field-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-filled-text-field-input-text-color: #e1e2e4;--mdc-filled-text-field-disabled-input-text-color: rgba(225, 226, 228, .38);--mdc-filled-text-field-input-text-placeholder-color: #dce4e9;--mdc-filled-text-field-error-hover-label-text-color: #ffdad6;--mdc-filled-text-field-error-focus-label-text-color: #ffb4ab;--mdc-filled-text-field-error-label-text-color: #ffb4ab;--mdc-filled-text-field-active-indicator-color: #dce4e9;--mdc-filled-text-field-disabled-active-indicator-color: rgba(225, 226, 228, .38);--mdc-filled-text-field-hover-active-indicator-color: #e1e2e4;--mdc-filled-text-field-error-active-indicator-color: #ffb4ab;--mdc-filled-text-field-error-focus-active-indicator-color: #ffb4ab;--mdc-filled-text-field-error-hover-active-indicator-color: #ffdad6;--mdc-outlined-text-field-caret-color: #8591cd;--mdc-outlined-text-field-focus-outline-color: #8591cd;--mdc-outlined-text-field-focus-label-text-color: #8591cd;--mdc-outlined-text-field-label-text-color: #dce4e9;--mdc-outlined-text-field-hover-label-text-color: #e1e2e4;--mdc-outlined-text-field-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-outlined-text-field-input-text-color: #e1e2e4;--mdc-outlined-text-field-disabled-input-text-color: rgba(225, 226, 228, .38);--mdc-outlined-text-field-input-text-placeholder-color: #dce4e9;--mdc-outlined-text-field-error-focus-label-text-color: #ffb4ab;--mdc-outlined-text-field-error-label-text-color: #ffb4ab;--mdc-outlined-text-field-error-hover-label-text-color: #ffdad6;--mdc-outlined-text-field-outline-color: #8a9297;--mdc-outlined-text-field-disabled-outline-color: rgba(225, 226, 228, .12);--mdc-outlined-text-field-hover-outline-color: #e1e2e4;--mdc-outlined-text-field-error-focus-outline-color: #ffb4ab;--mdc-outlined-text-field-error-hover-outline-color: #ffdad6;--mdc-outlined-text-field-error-outline-color: #ffb4ab;--mat-form-field-focus-select-arrow-color: #8591cd;--mat-form-field-disabled-input-text-placeholder-color: rgba(225, 226, 228, .38);--mat-form-field-state-layer-color: #e1e2e4;--mat-form-field-error-text-color: #ffb4ab;--mat-form-field-select-option-text-color: #191c1e;--mat-form-field-select-disabled-option-text-color: rgba(25, 28, 30, .38);--mat-form-field-leading-icon-color: #dce4e9;--mat-form-field-disabled-leading-icon-color: rgba(225, 226, 228, .38);--mat-form-field-trailing-icon-color: #dce4e9;--mat-form-field-disabled-trailing-icon-color: rgba(225, 226, 228, .38);--mat-form-field-error-focus-trailing-icon-color: #ffb4ab;--mat-form-field-error-hover-trailing-icon-color: #ffdad6;--mat-form-field-error-trailing-icon-color: #ffb4ab;--mat-form-field-enabled-select-arrow-color: #dce4e9;--mat-form-field-disabled-select-arrow-color: rgba(225, 226, 228, .38);--mat-form-field-hover-state-layer-opacity: .08;--mat-select-panel-background-color: #1d2022;--mat-select-enabled-trigger-text-color: #e1e2e4;--mat-select-disabled-trigger-text-color: rgba(225, 226, 228, .38);--mat-select-placeholder-text-color: #dce4e9;--mat-select-enabled-arrow-color: #dce4e9;--mat-select-disabled-arrow-color: rgba(225, 226, 228, .38);--mat-select-focused-arrow-color: #8591cd;--mat-select-invalid-arrow-color: #ffb4ab;--mat-autocomplete-background-color: #1d2022;--mdc-dialog-container-color: #111415;--mdc-dialog-subhead-color: #e1e2e4;--mdc-dialog-supporting-text-color: #dce4e9;--mdc-chip-outline-color: #8a9297;--mdc-chip-disabled-outline-color: rgba(225, 226, 228, .12);--mdc-chip-focus-outline-color: #dce4e9;--mdc-chip-hover-state-layer-opacity: .08;--mdc-chip-selected-hover-state-layer-opacity: .08;--mdc-chip-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-chip-elevated-selected-container-color: #51511e;--mdc-chip-flat-disabled-selected-container-color: rgba(225, 226, 228, .12);--mdc-chip-focus-state-layer-color: #dce4e9;--mdc-chip-hover-state-layer-color: #dce4e9;--mdc-chip-selected-hover-state-layer-color: #c7c766;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-selected-focus-state-layer-color: #c7c766;--mdc-chip-selected-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #dce4e9;--mdc-chip-selected-label-text-color: #c7c766;--mdc-chip-with-icon-icon-color: #dce4e9;--mdc-chip-with-icon-disabled-icon-color: #e1e2e4;--mdc-chip-with-icon-selected-icon-color: #c7c766;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #e1e2e4;--mdc-chip-with-trailing-icon-trailing-icon-color: #dce4e9;--mat-chip-trailing-action-state-layer-color: #dce4e9;--mat-chip-selected-trailing-action-state-layer-color: #c7c766;--mat-chip-trailing-action-hover-state-layer-opacity: .08;--mat-chip-trailing-action-focus-state-layer-opacity: .12;--mat-chip-selected-disabled-trailing-icon-color: #e1e2e4;--mat-chip-selected-trailing-icon-color: #c7c766;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .08;--mdc-switch-selected-pressed-state-layer-opacity: .12;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .08;--mdc-switch-unselected-pressed-state-layer-opacity: .12;--mdc-switch-selected-focus-state-layer-color: #8591cd;--mdc-switch-selected-handle-color: #222744;--mdc-switch-selected-hover-state-layer-color: #8591cd;--mdc-switch-selected-pressed-state-layer-color: #8591cd;--mdc-switch-selected-focus-handle-color: #3a4179;--mdc-switch-selected-hover-handle-color: #3a4179;--mdc-switch-selected-pressed-handle-color: #3a4179;--mdc-switch-selected-focus-track-color: #8591cd;--mdc-switch-selected-hover-track-color: #8591cd;--mdc-switch-selected-pressed-track-color: #8591cd;--mdc-switch-selected-track-color: #8591cd;--mdc-switch-disabled-selected-handle-color: #111415;--mdc-switch-disabled-selected-icon-color: #e1e2e4;--mdc-switch-disabled-selected-track-color: #e1e2e4;--mdc-switch-disabled-unselected-handle-color: #e1e2e4;--mdc-switch-disabled-unselected-icon-color: #40484c;--mdc-switch-disabled-unselected-track-color: #40484c;--mdc-switch-selected-icon-color: #99a1d7;--mdc-switch-unselected-focus-handle-color: #dce4e9;--mdc-switch-unselected-focus-state-layer-color: #e1e2e4;--mdc-switch-unselected-focus-track-color: #40484c;--mdc-switch-unselected-handle-color: #8a9297;--mdc-switch-unselected-hover-handle-color: #dce4e9;--mdc-switch-unselected-hover-state-layer-color: #e1e2e4;--mdc-switch-unselected-hover-track-color: #40484c;--mdc-switch-unselected-icon-color: #40484c;--mdc-switch-unselected-pressed-handle-color: #dce4e9;--mdc-switch-unselected-pressed-state-layer-color: #e1e2e4;--mdc-switch-unselected-pressed-track-color: #40484c;--mdc-switch-unselected-track-color: #40484c;--mat-switch-track-outline-color: #8a9297;--mat-switch-disabled-unselected-track-outline-color: #e1e2e4;--mat-switch-label-text-color: #e1e2e4;--mdc-radio-disabled-selected-icon-color: #e1e2e4;--mdc-radio-disabled-unselected-icon-color: #e1e2e4;--mdc-radio-unselected-hover-icon-color: #e1e2e4;--mdc-radio-unselected-icon-color: #dce4e9;--mdc-radio-unselected-pressed-icon-color: #e1e2e4;--mdc-radio-selected-focus-icon-color: #8591cd;--mdc-radio-selected-hover-icon-color: #8591cd;--mdc-radio-selected-icon-color: #8591cd;--mdc-radio-selected-pressed-icon-color: #8591cd;--mat-radio-ripple-color: #e1e2e4;--mat-radio-checked-ripple-color: #8591cd;--mat-radio-disabled-label-color: rgba(225, 226, 228, .38);--mat-radio-label-text-color: #e1e2e4;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-slider-handle-color: #8591cd;--mdc-slider-focus-handle-color: #8591cd;--mdc-slider-hover-handle-color: #8591cd;--mdc-slider-active-track-color: #8591cd;--mdc-slider-inactive-track-color: #40484c;--mdc-slider-with-tick-marks-inactive-container-color: #dce4e9;--mdc-slider-with-tick-marks-active-container-color: #222744;--mdc-slider-disabled-active-track-color: #e1e2e4;--mdc-slider-disabled-handle-color: #e1e2e4;--mdc-slider-disabled-inactive-track-color: #e1e2e4;--mdc-slider-label-container-color: #8591cd;--mdc-slider-label-label-text-color: #222744;--mdc-slider-with-overlap-handle-outline-color: #222744;--mdc-slider-with-tick-marks-disabled-container-color: #e1e2e4;--mat-slider-ripple-color: #8591cd;--mat-slider-hover-state-layer-color: rgba(133, 145, 205, .05);--mat-slider-focus-state-layer-color: rgba(133, 145, 205, .2);--mat-menu-item-label-text-color: #e1e2e4;--mat-menu-item-icon-color: #dce4e9;--mat-menu-item-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-menu-item-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-menu-container-color: #1d2022;--mat-menu-divider-color: #40484c;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-leading-avatar-color: #3a4179;--mdc-list-list-item-disabled-state-layer-color: #e1e2e4;--mdc-list-list-item-disabled-state-layer-opacity: .12;--mdc-list-list-item-label-text-color: #e1e2e4;--mdc-list-list-item-supporting-text-color: #dce4e9;--mdc-list-list-item-leading-icon-color: #dce4e9;--mdc-list-list-item-trailing-supporting-text-color: #dce4e9;--mdc-list-list-item-trailing-icon-color: #dce4e9;--mdc-list-list-item-selected-trailing-icon-color: #8591cd;--mdc-list-list-item-disabled-label-text-color: #e1e2e4;--mdc-list-list-item-disabled-leading-icon-color: #e1e2e4;--mdc-list-list-item-disabled-trailing-icon-color: #e1e2e4;--mdc-list-list-item-hover-label-text-color: #e1e2e4;--mdc-list-list-item-focus-label-text-color: #e1e2e4;--mdc-list-list-item-hover-state-layer-color: #e1e2e4;--mdc-list-list-item-hover-state-layer-opacity: .08;--mdc-list-list-item-focus-state-layer-color: #e1e2e4;--mdc-list-list-item-focus-state-layer-opacity: .12;--mat-list-active-indicator-color: #51511e;--mat-paginator-container-text-color: #e1e2e4;--mat-paginator-container-background-color: #111415;--mat-paginator-enabled-icon-color: #dce4e9;--mat-paginator-disabled-icon-color: rgba(225, 226, 228, .38);--mdc-tab-indicator-active-indicator-color: #8591cd;--mat-tab-header-divider-color: #40484c;--mat-tab-header-pagination-icon-color: #e1e2e4;--mat-tab-header-inactive-label-text-color: #e1e2e4;--mat-tab-header-active-label-text-color: #e1e2e4;--mat-tab-header-active-ripple-color: #e1e2e4;--mat-tab-header-inactive-ripple-color: #e1e2e4;--mat-tab-header-inactive-focus-label-text-color: #e1e2e4;--mat-tab-header-inactive-hover-label-text-color: #e1e2e4;--mat-tab-header-active-focus-label-text-color: #e1e2e4;--mat-tab-header-active-hover-label-text-color: #e1e2e4;--mat-tab-header-active-focus-indicator-color: #8591cd;--mat-tab-header-active-hover-indicator-color: #8591cd;--mdc-checkbox-disabled-selected-checkmark-color: #111415;--mdc-checkbox-selected-focus-state-layer-opacity: .12;--mdc-checkbox-selected-hover-state-layer-opacity: .08;--mdc-checkbox-selected-pressed-state-layer-opacity: .12;--mdc-checkbox-unselected-focus-state-layer-opacity: .12;--mdc-checkbox-unselected-hover-state-layer-opacity: .08;--mdc-checkbox-unselected-pressed-state-layer-opacity: .12;--mdc-checkbox-selected-pressed-icon-color: #8591cd;--mdc-checkbox-disabled-selected-icon-color: rgba(225, 226, 228, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(225, 226, 228, .38);--mdc-checkbox-selected-checkmark-color: #222744;--mdc-checkbox-selected-focus-icon-color: #8591cd;--mdc-checkbox-selected-hover-icon-color: #8591cd;--mdc-checkbox-selected-icon-color: #8591cd;--mdc-checkbox-unselected-focus-icon-color: #e1e2e4;--mdc-checkbox-unselected-hover-icon-color: #e1e2e4;--mdc-checkbox-unselected-icon-color: #dce4e9;--mdc-checkbox-selected-focus-state-layer-color: #8591cd;--mdc-checkbox-selected-hover-state-layer-color: #8591cd;--mdc-checkbox-selected-pressed-state-layer-color: #e1e2e4;--mdc-checkbox-unselected-focus-state-layer-color: #e1e2e4;--mdc-checkbox-unselected-hover-state-layer-color: #e1e2e4;--mdc-checkbox-unselected-pressed-state-layer-color: #8591cd;--mat-checkbox-disabled-label-color: rgba(225, 226, 228, .38);--mat-checkbox-label-text-color: #e1e2e4;--mdc-text-button-label-text-color: #8591cd;--mdc-text-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-protected-button-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-disabled-container-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-protected-button-focus-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-hover-container-elevation-shadow: 0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mdc-protected-button-pressed-container-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-protected-button-container-color: #111415;--mdc-protected-button-label-text-color: #8591cd;--mdc-protected-button-disabled-container-color: rgba(225, 226, 228, .12);--mdc-protected-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-filled-button-container-color: #8591cd;--mdc-filled-button-label-text-color: #222744;--mdc-filled-button-disabled-container-color: rgba(225, 226, 228, .12);--mdc-filled-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-outlined-button-disabled-outline-color: rgba(225, 226, 228, .12);--mdc-outlined-button-disabled-label-text-color: rgba(225, 226, 228, .38);--mdc-outlined-button-label-text-color: #8591cd;--mdc-outlined-button-outline-color: #8a9297;--mat-text-button-state-layer-color: #8591cd;--mat-text-button-disabled-state-layer-color: #dce4e9;--mat-text-button-ripple-color: rgba(133, 145, 205, .12);--mat-text-button-hover-state-layer-opacity: .08;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12;--mat-protected-button-state-layer-color: #8591cd;--mat-protected-button-disabled-state-layer-color: #dce4e9;--mat-protected-button-ripple-color: rgba(133, 145, 205, .12);--mat-protected-button-hover-state-layer-opacity: .08;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;--mat-filled-button-state-layer-color: #222744;--mat-filled-button-disabled-state-layer-color: #dce4e9;--mat-filled-button-ripple-color: rgba(34, 39, 68, .12);--mat-filled-button-hover-state-layer-opacity: .08;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12;--mat-outlined-button-state-layer-color: #8591cd;--mat-outlined-button-disabled-state-layer-color: #dce4e9;--mat-outlined-button-ripple-color: rgba(133, 145, 205, .12);--mat-outlined-button-hover-state-layer-opacity: .08;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12;--mdc-icon-button-icon-color: #dce4e9;--mdc-icon-button-disabled-icon-color: rgba(225, 226, 228, .38);--mat-icon-button-state-layer-color: #dce4e9;--mat-icon-button-disabled-state-layer-color: #dce4e9;--mat-icon-button-ripple-color: rgba(220, 228, 233, .12);--mat-icon-button-hover-state-layer-opacity: .08;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12;--mdc-extended-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-extended-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-extended-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-container-color: #3a4179;--mdc-fab-small-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-focus-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-hover-container-elevation-shadow: 0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mdc-fab-small-pressed-container-elevation-shadow: 0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mdc-fab-small-container-color: #3a4179;--mat-fab-foreground-color: #99a1d7;--mat-fab-state-layer-color: #99a1d7;--mat-fab-ripple-color: rgba(153, 161, 215, .12);--mat-fab-hover-state-layer-opacity: .08;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(225, 226, 228, .12);--mat-fab-disabled-state-foreground-color: rgba(225, 226, 228, .38);--mat-fab-small-foreground-color: #99a1d7;--mat-fab-small-state-layer-color: #99a1d7;--mat-fab-small-ripple-color: rgba(153, 161, 215, .12);--mat-fab-small-hover-state-layer-opacity: .08;--mat-fab-small-focus-state-layer-opacity: .12;--mat-fab-small-pressed-state-layer-opacity: .12;--mat-fab-small-disabled-state-container-color: rgba(225, 226, 228, .12);--mat-fab-small-disabled-state-foreground-color: rgba(225, 226, 228, .38);--mdc-snackbar-container-color: #e1e2e4;--mdc-snackbar-supporting-text-color: #2e3132;--mat-snack-bar-button-color: #4a529c;--mat-table-background-color: #111415;--mat-table-header-headline-color: #e1e2e4;--mat-table-row-item-label-text-color: #e1e2e4;--mat-table-row-item-outline-color: #8a9297;--mdc-circular-progress-active-indicator-color: #8591cd;--mat-badge-background-color: #ffb4ab;--mat-badge-text-color: #690005;--mat-badge-disabled-state-background-color: rgba(255, 180, 171, .38);--mat-badge-disabled-state-text-color: #690005;--mat-bottom-sheet-container-text-color: #e1e2e4;--mat-bottom-sheet-container-background-color: #191c1e;--mat-standard-button-toggle-hover-state-layer-opacity: .08;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-standard-button-toggle-text-color: #e1e2e4;--mat-standard-button-toggle-state-layer-color: #e1e2e4;--mat-standard-button-toggle-selected-state-background-color: #51511e;--mat-standard-button-toggle-selected-state-text-color: #c7c766;--mat-standard-button-toggle-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(225, 226, 228, .38);--mat-standard-button-toggle-disabled-selected-state-background-color: rgba(225, 226, 228, .12);--mat-standard-button-toggle-divider-color: #8a9297;--mat-datepicker-calendar-date-selected-state-text-color: #222744;--mat-datepicker-calendar-date-selected-state-background-color: #8591cd;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-date-today-selected-state-outline-color: #8591cd;--mat-datepicker-calendar-date-focus-state-background-color: rgba(225, 226, 228, .12);--mat-datepicker-calendar-date-hover-state-background-color: rgba(225, 226, 228, .08);--mat-datepicker-toggle-active-state-icon-color: #dce4e9;--mat-datepicker-calendar-date-in-range-state-background-color: #3a4179;--mat-datepicker-calendar-date-in-comparison-range-state-background-color: #454364;--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #51511e;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #b3b355;--mat-datepicker-toggle-icon-color: #dce4e9;--mat-datepicker-calendar-body-label-text-color: #e1e2e4;--mat-datepicker-calendar-period-button-text-color: #dce4e9;--mat-datepicker-calendar-period-button-icon-color: #dce4e9;--mat-datepicker-calendar-navigation-button-icon-color: #dce4e9;--mat-datepicker-calendar-header-text-color: #dce4e9;--mat-datepicker-calendar-date-today-outline-color: #8591cd;--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-date-text-color: #e1e2e4;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-date-preview-state-outline-color: #8591cd;--mat-datepicker-range-input-separator-color: #e1e2e4;--mat-datepicker-range-input-disabled-state-separator-color: rgba(225, 226, 228, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-datepicker-calendar-container-background-color: #272a2c;--mat-datepicker-calendar-container-text-color: #e1e2e4;--mat-divider-color: #8a9297;--mat-expansion-container-background-color: #111415;--mat-expansion-container-text-color: #e1e2e4;--mat-expansion-actions-divider-color: #8a9297;--mat-expansion-header-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-expansion-header-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-expansion-header-disabled-state-text-color: rgba(225, 226, 228, .38);--mat-expansion-header-text-color: #e1e2e4;--mat-expansion-header-description-color: #dce4e9;--mat-expansion-header-indicator-color: #dce4e9;--mat-sidenav-container-background-color: #111415;--mat-sidenav-container-text-color: #dce4e9;--mat-sidenav-content-background-color: #111415;--mat-sidenav-content-text-color: #e1e2e4;--mat-sidenav-scrim-color: rgba(42, 50, 54, .4);--mat-stepper-header-icon-foreground-color: #111415;--mat-stepper-header-selected-state-icon-background-color: #8591cd;--mat-stepper-header-selected-state-icon-foreground-color: #222744;--mat-stepper-header-edit-state-icon-background-color: #8591cd;--mat-stepper-header-edit-state-icon-foreground-color: #222744;--mat-stepper-container-color: #111415;--mat-stepper-line-color: #8a9297;--mat-stepper-header-hover-state-layer-color: rgba(225, 226, 228, .08);--mat-stepper-header-focus-state-layer-color: rgba(225, 226, 228, .12);--mat-stepper-header-label-text-color: #dce4e9;--mat-stepper-header-optional-label-text-color: #dce4e9;--mat-stepper-header-selected-state-label-text-color: #dce4e9;--mat-stepper-header-error-state-label-text-color: #ffb4ab;--mat-stepper-header-icon-background-color: #dce4e9;--mat-stepper-header-error-state-icon-foreground-color: #ffb4ab;--mat-sort-arrow-color: #e1e2e4;--mat-toolbar-container-background-color: #111415;--mat-toolbar-container-text-color: #e1e2e4;--mat-tree-container-background-color: #111415;--mat-tree-node-text-color: #e1e2e4;--mat-sidenav-content-background-color: #0d0f19;--mat-sidenav-container-background-color: #0d0f19;--mat-app-background-color: #0d0f19;--mat-app-background: #0d0f19;--mat-fab-small-foreground-color: var(--mat-app-text-color);--mat-table-background-color: #141726;--mat-expansion-container-background-color: #141726;--mdc-elevated-card-container-color: #141726;--mat-toolbar-container-background-color: #222744}html[data-bitmagnet-theme=tundra] .health-icon-down mat-icon,html[data-bitmagnet-theme=tundra] .health-icon-error mat-icon{color:#ffb4ab}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header{background-color:#4a529c;--mat-toolbar-container-text-color: #fff}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header h1{cursor:default}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header a{color:#fff}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mat-icon{fill:#fff}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mdc-button.active{color:#4a529c;background-color:#fffc;cursor:default}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mdc-button.active mat-icon{color:#4a529c;fill:#4a529c}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mdc-button:hover:not(.active){background-color:#fff3}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mdc-button.button-sponsor{margin-left:20px}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mdc-icon-button .mat-icon{fill:#fff}html[data-bitmagnet-theme=tundra] .mat-toolbar.toolbar-header .mdc-icon-button:hover{background-color:#fff3}html[data-bitmagnet-theme=tundra] .layout-header-menu a{color:#6a75b6}html[data-bitmagnet-theme=tundra] .layout-header-menu a.active{color:#8591cd;background-color:#ffffff1a}html[data-bitmagnet-theme=tundra] a{color:#b3b355}html[data-bitmagnet-theme=tundra] tbody tr:not(.expanded-detail-row):hover{background-color:#ffffff05}html[data-bitmagnet-theme=tundra] app-dashboard mat-drawer nav a{--mdc-text-button-label-text-color: mat.get-theme-color( $theme, secondary, 40 )}html[data-bitmagnet-theme=tundra] app-dashboard mat-drawer nav a.active{color:#b3b355;background-color:#ffffff1a}html[data-bitmagnet-theme=tundra] app-queue-visualize button.selected{background-color:#141726}html[data-bitmagnet-theme=tundra] .theme-emitter-color.success-50{color:#22892f}html[data-bitmagnet-theme=tundra] .theme-emitter-color.caution-50{color:#bc5d00}html[data-bitmagnet-theme=tundra] .theme-emitter-color.primary-20{color:#222744}html[data-bitmagnet-theme=tundra] .theme-emitter-color.primary-40{color:#4a529c}html[data-bitmagnet-theme=tundra] .theme-emitter-color.primary-50{color:#5963b0}html[data-bitmagnet-theme=tundra] .theme-emitter-color.primary-60{color:#6a75b6}html[data-bitmagnet-theme=tundra] .theme-emitter-color.primary-80{color:#8591cd}html[data-bitmagnet-theme=tundra] .theme-emitter-color.secondary-20{color:#3c3c13}html[data-bitmagnet-theme=tundra] .theme-emitter-color.secondary-40{color:#666628}html[data-bitmagnet-theme=tundra] .theme-emitter-color.secondary-50{color:#7a7a30}html[data-bitmagnet-theme=tundra] .theme-emitter-color.secondary-60{color:#8e8e39}html[data-bitmagnet-theme=tundra] .theme-emitter-color.secondary-80{color:#b3b355}html[data-bitmagnet-theme=tundra] .theme-emitter-color.tertiary-20{color:#2e2d4d}html[data-bitmagnet-theme=tundra] .theme-emitter-color.tertiary-40{color:#5d5b7d}html[data-bitmagnet-theme=tundra] .theme-emitter-color.tertiary-50{color:#767397}html[data-bitmagnet-theme=tundra] .theme-emitter-color.tertiary-60{color:#8f8db2}html[data-bitmagnet-theme=tundra] .theme-emitter-color.tertiary-80{color:#c6c2ea}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-20{color:#2e3132}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-40{color:#5c5f60}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-50{color:#757779}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-60{color:#8f9193}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-80{color:#c5c7c8}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-variant-20{color:#2a3236}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-variant-40{color:#586064}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-variant-50{color:#70787d}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-variant-60{color:#8a9297}html[data-bitmagnet-theme=tundra] .theme-emitter-color.neutral-variant-80{color:#c0c8cd}html[data-bitmagnet-theme=tundra] .theme-emitter-color.error-20{color:#690005}html[data-bitmagnet-theme=tundra] .theme-emitter-color.error-40{color:#ba1a1a}html[data-bitmagnet-theme=tundra] .theme-emitter-color.error-50{color:#de3730}html[data-bitmagnet-theme=tundra] .theme-emitter-color.error-60{color:#ff5449}html[data-bitmagnet-theme=tundra] .theme-emitter-color.error-80{color:#ffb4ab}html[data-bitmagnet-theme=tundra] .theme-emitter-lightdark{color:#000}html[data-bitmagnet-theme=tundra] .theme-emitter-lightdark else{color:#fff}html[data-bitmagnet-theme=tundra] .drawer-scroll-wrapper{background-color:#3a4179bf}@media (pointer: fine){html[data-bitmagnet-theme=tundra] .drawer-content::-webkit-scrollbar-thumb{background-color:#8591cd}}html[data-bitmagnet-theme=tundra] .panel-content-type li.active{color:#b3b355}html[data-bitmagnet-theme=tundra] .panel-content-type li:hover:not(.active){color:#c6c2ea}html[data-bitmagnet-theme=tundra] .filtered .mat-mdc-checkbox-checked .mat-internal-form-field{color:#b3b355}html[data-bitmagnet-theme=tundra] .filtered .mat-mdc-checkbox:hover:not(.mat-mdc-checkbox-checked) .mat-internal-form-field{color:#c6c2ea}html[data-bitmagnet-theme=tundra] .unfiltered{--mdc-checkbox-selected-icon-color: lightgray}html[data-bitmagnet-theme=tundra] .unfiltered .mat-mdc-checkbox:hover .mat-internal-form-field{color:#c6c2ea}html[data-bitmagnet-theme=tundra] .table-torrents .mat-column-magnet .mat-icon{fill:#6a75b6}html,body{height:100%}body{margin:0;font-family:Roboto,Helvetica Neue,sans-serif}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.material-icons-outlined{font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.material-symbols-outlined{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mat-icon{fill:var(--mat-icon-color)}.spacer{display:inline-flex;flex:1 1 auto}.drawer-container{min-height:100vh}.drawer{width:340px;padding:0 8px;box-sizing:border-box}mat-drawer-content{padding-right:16px;overflow:visible;padding-bottom:20px} From 44b9ea9363d32fbc971c2f0811a8765c347e1ecf Mon Sep 17 00:00:00 2001 From: rraymondgh Date: Thu, 27 Mar 2025 18:23:34 +0000 Subject: [PATCH 09/14] fix merge breaks and linting --- internal/client/client.go | 18 +++++++++--------- internal/client/clientfx/module.go | 2 +- internal/client/qbittorrent.go | 6 ++---- internal/client/transmission.go | 12 +++++++----- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/internal/client/client.go b/internal/client/client.go index a020c221..fcd5238e 100644 --- a/internal/client/client.go +++ b/internal/client/client.go @@ -23,37 +23,36 @@ type clientWorker interface { download(ctx context.Context, content *content) error } -type commonClient struct { +type CommonClient struct { config *Config search search.Search client clientWorker } -func New(cfg *Config, search search.Search) commonClient { - cc := commonClient{ +func New(cfg *Config, search search.Search) CommonClient { + cc := CommonClient{ config: cfg, search: search, } return cc - } -func (c commonClient) downloadCategory(contentType model.ContentType) string { +func (c CommonClient) downloadCategory(contentType model.ContentType) string { category := c.config.Categories[contentType] if category == "" { category = c.config.DefaultCategory } + return category } -func (c commonClient) AddInfoHashes(ctx context.Context, req AddInfoHashesRequest) error { - +func (c CommonClient) AddInfoHashes(ctx context.Context, req AddInfoHashesRequest) error { switch c.config.DownloadClient { case gen.ClientIDTransmission: - c.client = transmissionClient{commonClient: c} + c.client = transmissionClient{CommonClient: c} case gen.ClientIDQBittorrent: - c.client = qBitClient{commonClient: c} + c.client = qBitClient{CommonClient: c} default: return fmt.Errorf("not implemented %s", c.config.DownloadClient) } @@ -67,6 +66,7 @@ func (c commonClient) AddInfoHashes(ctx context.Context, req AddInfoHashesReques search.HydrateTorrentContentTorrent(), q.Limit(uint(len(req.InfoHashes))), } + sr, err := c.search.TorrentContent(ctx, options...) if err != nil { return err diff --git a/internal/client/clientfx/module.go b/internal/client/clientfx/module.go index e5bb1872..fa157479 100644 --- a/internal/client/clientfx/module.go +++ b/internal/client/clientfx/module.go @@ -1,8 +1,8 @@ package clientfx import ( - "github.com/bitmagnet-io/bitmagnet/internal/boilerplate/config/configfx" "github.com/bitmagnet-io/bitmagnet/internal/client" + "github.com/bitmagnet-io/bitmagnet/internal/config/configfx" "go.uber.org/fx" ) diff --git a/internal/client/qbittorrent.go b/internal/client/qbittorrent.go index 08ed2f78..dd00e16a 100644 --- a/internal/client/qbittorrent.go +++ b/internal/client/qbittorrent.go @@ -8,11 +8,10 @@ import ( ) type qBitClient struct { - commonClient + CommonClient } func (c qBitClient) download(ctx context.Context, content *content) error { - qb := qbittorrent.NewClient(qbittorrent.Config{ Host: fmt.Sprintf("http://%v:%v/", c.config.Qbittorrent.Host, c.config.Qbittorrent.Port), Username: c.config.Qbittorrent.Username, @@ -35,7 +34,7 @@ func (c qBitClient) download(ctx context.Context, content *content) error { err = qb.AddTorrentFromUrlCtx( ctx, - item.Torrent.MagnetUri(), + item.Torrent.MagnetURI(), map[string]string{ "savepath": fmt.Sprintf("%v/%v", pref.SavePath, category), "category": category, @@ -47,5 +46,4 @@ func (c qBitClient) download(ctx context.Context, content *content) error { } return nil - } diff --git a/internal/client/transmission.go b/internal/client/transmission.go index 955cc5c2..8e94cb48 100644 --- a/internal/client/transmission.go +++ b/internal/client/transmission.go @@ -9,15 +9,16 @@ import ( ) type transmissionClient struct { - commonClient + CommonClient } func (c transmissionClient) download(ctx context.Context, content *content) error { - - endpoint, err := url.Parse(fmt.Sprintf("http://%v:%v/transmission/rpc", c.config.Transmission.Host, c.config.Transmission.Port)) + endpoint, err := url.Parse( + fmt.Sprintf("http://%v:%v/transmission/rpc", c.config.Transmission.Host, c.config.Transmission.Port)) if err != nil { return err } + tbt, err := transmissionrpc.New(endpoint, nil) if err != nil { return err @@ -27,12 +28,13 @@ func (c transmissionClient) download(ctx context.Context, content *content) erro if err != nil { return err } + for _, item := range *content { category := c.downloadCategory(item.Content.Type) dir := *settings.DownloadDir + "/" + category - magnet := item.Torrent.MagnetUri() + magnet := item.Torrent.MagnetURI() _, err = tbt.TorrentAdd(ctx, transmissionrpc.TorrentAddPayload{ Filename: &magnet, DownloadDir: &dir, @@ -42,6 +44,6 @@ func (c transmissionClient) download(ctx context.Context, content *content) erro return err } } - return nil + return nil } From 43ec8d487d7506258e7fbf3ebe0988314b071974 Mon Sep 17 00:00:00 2001 From: rraymondgh Date: Tue, 13 May 2025 19:44:32 +0000 Subject: [PATCH 10/14] fix linting and merge breaks --- internal/client/transmission.go | 2 +- internal/gql/gqlfx/module.go | 1 - webui/dist/bitmagnet/browser/index.html | 2 +- webui/dist/bitmagnet/browser/main-4Q4K3KKY.js | 1 + webui/dist/bitmagnet/browser/main-BAOK3W2A.js | 1 - webui/dist/bitmagnet/browser/main-YOE5FKIP.js | 1 - 6 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 webui/dist/bitmagnet/browser/main-4Q4K3KKY.js delete mode 100644 webui/dist/bitmagnet/browser/main-BAOK3W2A.js delete mode 100644 webui/dist/bitmagnet/browser/main-YOE5FKIP.js diff --git a/internal/client/transmission.go b/internal/client/transmission.go index 8e94cb48..f3b380f8 100644 --- a/internal/client/transmission.go +++ b/internal/client/transmission.go @@ -35,11 +35,11 @@ func (c transmissionClient) download(ctx context.Context, content *content) erro dir := *settings.DownloadDir + "/" + category magnet := item.Torrent.MagnetURI() + _, err = tbt.TorrentAdd(ctx, transmissionrpc.TorrentAddPayload{ Filename: &magnet, DownloadDir: &dir, }) - if err != nil { return err } diff --git a/internal/gql/gqlfx/module.go b/internal/gql/gqlfx/module.go index 919ed896..a88744be 100644 --- a/internal/gql/gqlfx/module.go +++ b/internal/gql/gqlfx/module.go @@ -3,7 +3,6 @@ package gqlfx import ( "github.com/99designs/gqlgen/graphql" "github.com/bitmagnet-io/bitmagnet/internal/blocking" - "github.com/bitmagnet-io/bitmagnet/internal/client" "github.com/bitmagnet-io/bitmagnet/internal/database/dao" "github.com/bitmagnet-io/bitmagnet/internal/database/search" diff --git a/webui/dist/bitmagnet/browser/index.html b/webui/dist/bitmagnet/browser/index.html index fb728c87..6458f8d1 100644 --- a/webui/dist/bitmagnet/browser/index.html +++ b/webui/dist/bitmagnet/browser/index.html @@ -9,5 +9,5 @@ - + diff --git a/webui/dist/bitmagnet/browser/main-4Q4K3KKY.js b/webui/dist/bitmagnet/browser/main-4Q4K3KKY.js new file mode 100644 index 00000000..a0831c5d --- /dev/null +++ b/webui/dist/bitmagnet/browser/main-4Q4K3KKY.js @@ -0,0 +1 @@ +import{a as Ne,b as Ke,d as mt,e as ht}from"./chunk-Y7K23DTG.js";import{a as ct}from"./chunk-P4IGP6ZM.js";import{a as ut,c as dt,d as _t}from"./chunk-EBLD3IWA.js";import{Aa as it,Da as lt,Ea as Q,N as tt,P as at,_a as U,a as Oe,b as X,c as Ge,d as Xe,e as Qe,f as Ue,g as We,h as Je,i as Ye,u as Ze,va as rt,w as $e,wa as ot,x as et,ya as nt,za as st}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import{a as ne,b as Ae,c as se,d as qe,e as Ee,f as De,g as Ie,h as je,j as Fe,k as Le,l as Be,m as Re,n as He,o as Ve}from"./chunk-CMNWCZJM.js";import{$b as h,B as ge,Cb as q,Ea as Z,Fa as $,Gc as ze,Hb as g,Kb as S,Mb as te,Nb as Se,Oa as ye,Ob as L,Pb as B,Qb as i,Rb as s,Sb as m,Tb as E,Tc as K,Ub as D,Wa as ve,Wb as ae,Zb as re,a as A,ac as Ce,bc as Me,d as he,ec as R,fc as H,gc as V,h as F,ia as fe,jc as z,ka as p,kb as l,kc as _,l as pe,lb as ee,lc as b,mb as ke,mc as oe,na as O,ob as xe,pa as G,pc as y,qa as c,qb as we,qc as N,rc as Pe,tb as Te,ua as f,ya as be}from"./chunk-Z3WUIYN5.js";var Xt="@",Qt=(()=>{class t{constructor(e,a,o,n,u){this.doc=e,this.delegate=a,this.zone=o,this.animationType=n,this.moduleImpl=u,this._rendererFactoryPromise=null,this.scheduler=c(xe,{optional:!0}),this.loadingSchedulerFn=c(Ut,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-KZMLKX77.js").then(o=>o),a;return this.loadingSchedulerFn?a=this.loadingSchedulerFn(e):a=e(),a.catch(o=>{throw new fe(5300,!1)}).then(({\u0275createEngine:o,\u0275AnimationRendererFactory:n})=>{this._engine=o(this.animationType,this.doc);let u=new n(this.delegate,this._engine,this.zone);return this.delegate=u,u})}createRenderer(e,a){let o=this.delegate.createRenderer(e,a);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let n=new ie(o);return a?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(u=>{let x=u.createRenderer(e,a);n.use(x),this.scheduler?.notify(10)}).catch(u=>{n.use(o)}),n}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static{this.\u0275fac=function(a){ke()}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac})}}return t})(),ie=class{constructor(r){this.delegate=r,this.replay=[],this.\u0275type=1}use(r){if(this.delegate=r,this.replay!==null){for(let e of this.replay)e(r);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(r,e){return this.delegate.createElement(r,e)}createComment(r){return this.delegate.createComment(r)}createText(r){return this.delegate.createText(r)}get destroyNode(){return this.delegate.destroyNode}appendChild(r,e){this.delegate.appendChild(r,e)}insertBefore(r,e,a,o){this.delegate.insertBefore(r,e,a,o)}removeChild(r,e,a){this.delegate.removeChild(r,e,a)}selectRootElement(r,e){return this.delegate.selectRootElement(r,e)}parentNode(r){return this.delegate.parentNode(r)}nextSibling(r){return this.delegate.nextSibling(r)}setAttribute(r,e,a,o){this.delegate.setAttribute(r,e,a,o)}removeAttribute(r,e,a){this.delegate.removeAttribute(r,e,a)}addClass(r,e){this.delegate.addClass(r,e)}removeClass(r,e){this.delegate.removeClass(r,e)}setStyle(r,e,a,o){this.delegate.setStyle(r,e,a,o)}removeStyle(r,e,a){this.delegate.removeStyle(r,e,a)}setProperty(r,e,a){this.shouldReplay(e)&&this.replay.push(o=>o.setProperty(r,e,a)),this.delegate.setProperty(r,e,a)}setValue(r,e){this.delegate.setValue(r,e)}listen(r,e,a){return this.shouldReplay(e)&&this.replay.push(o=>o.listen(r,e,a)),this.delegate.listen(r,e,a)}shouldReplay(r){return this.replay!==null&&r.startsWith(Xt)}},Ut=new O("");function pt(t="animations"){return Te("NgAsyncAnimations"),be([{provide:we,useFactory:(r,e,a)=>new Qt(r,e,a,t),deps:[K,Ee,ye]},{provide:ve,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Wt=(t,r,e)=>{let a=["POST","PUT","PATCH"].indexOf(t.method.toUpperCase())!==-1,o=d=>["variables","extensions"].indexOf(d.toLowerCase())!==-1,n=t.body.length,u=t.options&&t.options.useMultipart,x;if(u){if(n)return new F(d=>d.error(new Error("File upload is not available when combined with Batching")));if(!a)return new F(d=>d.error(new Error("File upload is not available when GET is used")));if(!e)return new F(d=>d.error(new Error(`To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink's options`)));x=e(t.body),u=!!x.files.size}let w={};if(n){if(!a)return new F(d=>d.error(new Error("Batching is not available for GET requests")));w={body:t.body}}else{let d=u?x.clone:t.body;a?w={body:d}:w={params:Object.keys(t.body).reduce((C,k)=>{let M=t.body[k];return C[k]=o(k)?JSON.stringify(M):M,C},{})}}if(u&&a){let d=new FormData;d.append("operations",JSON.stringify(w.body));let j={},C=x.files,k=0;C.forEach(M=>{j[++k]=M}),d.append("map",JSON.stringify(j)),k=0,C.forEach((M,T)=>{d.append(++k+"",T,T.name)}),w.body=d}return r.request(t.method,t.url,A(A({observe:"response",responseType:"json",reportProgress:!1},w),t.options))},Jt=(t,r)=>t&&r?r.keys().reduce((a,o)=>a.set(o,r.getAll(o)),t):r||t;function Yt(...t){return t.find(r=>typeof r<"u")}function Zt(t){let r=t.headers&&t.headers instanceof ne?t.headers:new ne(t.headers);if(t.clientAwareness){let{name:e,version:a}=t.clientAwareness;e&&!r.has("apollographql-client-name")&&(r=r.set("apollographql-client-name",e)),a&&!r.has("apollographql-client-version")&&(r=r.set("apollographql-client-version",a))}return r}var $t={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function I(t,r,e){return Yt(t[e],r[e],$t[e])}var le=class extends Ue{httpClient;options;requester;print=Xe;constructor(r,e){super(),this.httpClient=r,this.options=e,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=a=>new Qe(o=>{let n=a.getContext(),u=I(n,this.options,"method"),x=I(n,this.options,"includeQuery"),w=I(n,this.options,"includeExtensions"),d=I(n,this.options,"uri"),j=I(n,this.options,"withCredentials"),C=I(n,this.options,"useMultipart"),k=this.options.useGETForQueries===!0,M=a.query.definitions.some(P=>P.kind==="OperationDefinition"&&P.operation==="query");k&&M&&(u="GET");let T={method:u,url:typeof d=="function"?d(a):d,body:{operationName:a.operationName,variables:a.variables},options:{withCredentials:j,useMultipart:C,headers:this.options.headers}};w&&(T.body.extensions=a.extensions),x&&(T.body.query=this.print(a.query));let Kt=Zt(n);T.options.headers=Jt(T.options.headers,Kt);let me=Wt(T,this.httpClient,this.options.extractFiles).subscribe({next:P=>{a.setContext({response:P}),o.next(P.body)},error:P=>o.error(P),complete:()=>o.complete()});return()=>{me.closed||me.unsubscribe()}})}request(r){return this.requester(r)}},gt=(()=>{class t{httpClient;constructor(e){this.httpClient=e}create(e){return new le(this.httpClient,e)}static \u0275fac=function(a){return new(a||t)(G(Ae))};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ft=window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/graphql";var bt={content_types:{plural:{all:"\u0627\u0644\u0643\u0644",audiobook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0635\u0648\u062A\u064A\u0629",comic:"\u0627\u0644\u0642\u0635\u0635 \u0627\u0644\u0645\u0635\u0648\u0631\u0629",ebook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u0629",game:"\u0627\u0644\u0623\u0644\u0639\u0627\u0628",movie:"\u0627\u0644\u0623\u0641\u0644\u0627\u0645",music:"\u0627\u0644\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0644\u0641\u0627\u0632",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"},singular:{audiobook:"\u0643\u062A\u0627\u0628 \u0635\u0648\u062A\u064A",comic:"\u0642\u0635\u0629 \u0645\u0635\u0648\u0631\u0629",ebook:"\u0643\u062A\u0627\u0628 \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",game:"\u0644\u0639\u0628\u0629",movie:"\u0641\u064A\u0644\u0645",music:"\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0644\u0641\u0632\u064A\u0648\u0646\u064A",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"}},dashboard:{event:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",failed:"\u0641\u0634\u0644",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",updated:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B"},interval:{all:"\u0627\u0644\u0643\u0644",days:"\u064A\u0648\u0645",days_1:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",hours:"\u0633\u0627\u0639\u0629",hours_1:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",hours_12:"12 \u0633\u0627\u0639\u0629",hours_6:"6 \u0633\u0627\u0639\u0629",minutes:"\u062F\u0642\u064A\u0642\u0629",minutes_1:"1 \u062F\u0642\u064A\u0642\u0629",minutes_15:"15 \u062F\u0642\u0627\u0626\u0642",minutes_30:"30 \u062F\u0642\u0627\u0626\u0642",minutes_5:"5 \u062F\u0642\u0627\u0626\u0642",off:"\u0625\u064A\u0642\u0627\u0641",seconds_10:"10 \u062B\u0648\u0627\u0646\u064A",seconds_30:"30 \u062B\u0627\u0646\u064A\u0629",weeks_1:"1 \u0623\u0633\u0628\u0648\u0639"},metrics:{event:"\u062D\u062F\u062B",resolution:"\u0627\u0644\u062F\u0642\u0629",throughput:"\u0645\u0639\u062F\u0644 \u0627\u0644\u0646\u0642\u0644",timeframe:"\u0627\u0644\u0625\u0637\u0627\u0631 \u0627\u0644\u0632\u0645\u0646\u064A",toggle_legend:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0623\u0633\u0637\u0648\u0631\u0629"},queues:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",created_at:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621 \u0641\u064A",enqueue_jobs:"\u0625\u062F\u0631\u0627\u062C \u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",enqueue_torrent_processing_batch:"\u0625\u062F\u0631\u0627\u062C \u062F\u0641\u0639\u0629 \u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",failed:"\u0641\u0634\u0644",force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",jobs_enqueued:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0645\u062F\u0631\u062C\u0629 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",latency:"\u0627\u0644\u062A\u0623\u062E\u064A\u0631",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",payload:"\u0627\u0644\u062D\u0645\u0648\u0644\u0629",pending:"\u0642\u064A\u062F \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",priority:"\u0627\u0644\u0623\u0648\u0644\u0648\u064A\u0629",process_orphaned_torrents_only:"\u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u064A\u062A\u064A\u0645 \u0641\u0642\u0637",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",purge_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0648\u0638\u0627\u0626\u0641",purge_queue_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue_purged:"\u062A\u0645 \u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",ran_at:"\u062A\u0645 \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u0641\u064A",retry:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",total_counts_by_status:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u0639\u062F \u062D\u0633\u0628 \u0627\u0644\u062D\u0627\u0644\u0629"}},facets:{content_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u062D\u062A\u0648\u0649",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",genre:"\u0627\u0644\u0646\u0648\u0639",language:"\u0627\u0644\u0644\u063A\u0629",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",status:"\u0627\u0644\u062D\u0627\u0644\u0629",torrent_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",torrent_tag:"\u0639\u0644\u0627\u0645\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",video_resolution:"\u062F\u0642\u0629 \u0627\u0644\u0641\u064A\u062F\u064A\u0648",video_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u0641\u064A\u062F\u064A\u0648"},file_types:{archive:"\u0623\u0631\u0634\u064A\u0641",audio:"\u0635\u0648\u062A",data:"\u0628\u064A\u0627\u0646\u0627\u062A",document:"\u0648\u062B\u064A\u0642\u0629",image:"\u0635\u0648\u0631\u0629",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",subtitles:"\u062A\u0631\u062C\u0645\u0627\u062A",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",video:"\u0641\u064A\u062F\u064A\u0648"},general:{all:"\u0627\u0644\u0643\u0644",dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",none:"\u0644\u0627 \u0634\u064A\u0621",page_not_found:"\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629",refresh:"\u062A\u062D\u062F\u064A\u062B",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},health:{bitmagnet_is_status:"bitmagnet \u0647\u0648 {{status}}",check_failed_with_error:"\u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u0642\u0642 \u0645\u0639 \u062E\u0637\u0623",component:"\u0645\u0643\u0648\u0646",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",status:"\u0627\u0644\u062D\u0627\u0644\u0629",statuses:{degraded:"\u0645\u062A\u062F\u0647\u0648\u0631",down:"\u0645\u0639\u0637\u0644",error:"\u062E\u0637\u0623",inactive:"\u063A\u064A\u0631 \u0646\u0634\u0637",started:"\u0628\u062F\u0623",unknown:"\u0645\u0639\u0644\u0642",up:"\u0646\u0634\u0637"},summary:"\u0645\u0644\u062E\u0635 \u0627\u0644\u0635\u062D\u0629",worker:"\u0639\u0627\u0645\u0644",workers:{dht_crawler:"\u0632\u0627\u062D\u0641 DHT",http_server:"\u062E\u0627\u062F\u0645 HTTP",queue_server:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0637\u0627\u0628\u0648\u0631"}},languages:{af:"\u0627\u0644\u0623\u0641\u0631\u064A\u0643\u0627\u0646\u064A\u0629",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",az:"\u0627\u0644\u0623\u0630\u0631\u0628\u064A\u062C\u0627\u0646\u064A\u0629",be:"\u0627\u0644\u0628\u064A\u0644\u0627\u0631\u0648\u0633\u064A\u0629",bg:"\u0627\u0644\u0628\u0644\u063A\u0627\u0631\u064A\u0629",bs:"\u0627\u0644\u0628\u0648\u0633\u0646\u064A\u0629",ca:"\u0627\u0644\u0643\u0627\u062A\u0627\u0644\u0627\u0646\u064A\u0629",ce:"\u0627\u0644\u0634\u064A\u0634\u0627\u0646\u064A\u0629",co:"\u0627\u0644\u0643\u0648\u0631\u0633\u064A\u0643\u064A\u0629",cs:"\u0627\u0644\u062A\u0634\u064A\u0643\u064A\u0629",cy:"\u0627\u0644\u0648\u064A\u0644\u0632\u064A\u0629",da:"\u0627\u0644\u062F\u0627\u0646\u0645\u0627\u0631\u0643\u064A\u0629",de:"\u0627\u0644\u0623\u0644\u0645\u0627\u0646\u064A\u0629",el:"\u0627\u0644\u064A\u0648\u0646\u0627\u0646\u064A\u0629",en:"\u0627\u0644\u0625\u0646\u062C\u0644\u064A\u0632\u064A\u0629",es:"\u0627\u0644\u0625\u0633\u0628\u0627\u0646\u064A\u0629",et:"\u0627\u0644\u0625\u0633\u062A\u0648\u0646\u064A\u0629",eu:"\u0627\u0644\u0628\u0627\u0633\u0643\u064A\u0629",fa:"\u0627\u0644\u0641\u0627\u0631\u0633\u064A\u0629",fi:"\u0627\u0644\u0641\u0646\u0644\u0646\u062F\u064A\u0629",fr:"\u0627\u0644\u0641\u0631\u0646\u0633\u064A\u0629",he:"\u0627\u0644\u0639\u0628\u0631\u064A\u0629",hi:"\u0627\u0644\u0647\u0646\u062F\u064A\u0629",hr:"\u0627\u0644\u0643\u0631\u0648\u0627\u062A\u064A\u0629",hu:"\u0627\u0644\u0647\u0646\u063A\u0627\u0631\u064A\u0629",hy:"\u0627\u0644\u0623\u0631\u0645\u0646\u064A\u0629",id:"\u0627\u0644\u0625\u0646\u062F\u0648\u0646\u064A\u0633\u064A\u0629",is:"\u0627\u0644\u0623\u064A\u0633\u0644\u0646\u062F\u064A\u0629",it:"\u0627\u0644\u0625\u064A\u0637\u0627\u0644\u064A\u0629",ja:"\u0627\u0644\u064A\u0627\u0628\u0627\u0646\u064A\u0629",ka:"\u0627\u0644\u062C\u0648\u0631\u062C\u064A\u0629",ko:"\u0627\u0644\u0643\u0648\u0631\u064A\u0629",ku:"\u0627\u0644\u0643\u0631\u062F\u064A\u0629",lt:"\u0627\u0644\u0644\u064A\u062A\u0648\u0627\u0646\u064A\u0629",lv:"\u0627\u0644\u0644\u0627\u062A\u0641\u064A\u0629",mi:"\u0627\u0644\u0645\u0627\u0648\u0631\u064A\u0629",mk:"\u0627\u0644\u0645\u0642\u062F\u0648\u0646\u064A\u0629",ml:"\u0627\u0644\u0645\u0627\u0644\u0627\u064A\u0627\u0644\u0627\u0645\u064A\u0629",mn:"\u0627\u0644\u0645\u0646\u063A\u0648\u0644\u064A\u0629",ms:"\u0627\u0644\u0645\u0644\u0627\u064A\u0648\u064A\u0629",mt:"\u0627\u0644\u0645\u0627\u0644\u0637\u064A\u0629",nl:"\u0627\u0644\u0647\u0648\u0644\u0646\u062F\u064A\u0629",no:"\u0627\u0644\u0646\u0631\u0648\u064A\u062C\u064A\u0629",pl:"\u0627\u0644\u0628\u0648\u0644\u0646\u062F\u064A\u0629",pt:"\u0627\u0644\u0628\u0631\u062A\u063A\u0627\u0644\u064A\u0629",ro:"\u0627\u0644\u0631\u0648\u0645\u0627\u0646\u064A\u0629",ru:"\u0627\u0644\u0631\u0648\u0633\u064A\u0629",sa:"\u0627\u0644\u0633\u0646\u0633\u0643\u0631\u064A\u062A\u064A\u0629",sk:"\u0627\u0644\u0633\u0644\u0648\u0641\u0627\u0643\u064A\u0629",sl:"\u0627\u0644\u0633\u0644\u0648\u0641\u064A\u0646\u064A\u0629",sm:"\u0627\u0644\u0633\u0627\u0645\u0648\u064A\u0629",so:"\u0627\u0644\u0635\u0648\u0645\u0627\u0644\u064A\u0629",sr:"\u0627\u0644\u0635\u0631\u0628\u064A\u0629",sv:"\u0627\u0644\u0633\u0648\u064A\u062F\u064A\u0629",ta:"\u0627\u0644\u062A\u0627\u0645\u064A\u0644\u064A\u0629",th:"\u0627\u0644\u062A\u0627\u064A\u0644\u0627\u0646\u062F\u064A\u0629",tr:"\u0627\u0644\u062A\u0631\u0643\u064A\u0629",uk:"\u0627\u0644\u0623\u0648\u0643\u0631\u0627\u0646\u064A\u0629",vi:"\u0627\u0644\u0641\u064A\u062A\u0646\u0627\u0645\u064A\u0629",yi:"\u0627\u0644\u064A\u062F\u064A\u0634\u064A\u0629",zh:"\u0627\u0644\u0635\u064A\u0646\u064A\u0629",zu:"\u0627\u0644\u0632\u0648\u0644\u0648"},layout:{bitmagnet_on_service:"bitmagnet \u0639\u0644\u0649 {{service}}",change_theme:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0633\u0645\u0629",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",sponsor:"\u0627\u0644\u0631\u0627\u0639\u064A",support_bitmagnet:"\u062F\u0639\u0645 bitmagnet",translate:"\u062A\u0631\u062C\u0645\u0629"},paginator:{first_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u0648\u0644\u0649",items_per_page:"\u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0644\u0643\u0644 \u0635\u0641\u062D\u0629",last_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u062E\u064A\u0631\u0629",next_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629",page_x:"\u0627\u0644\u0635\u0641\u062D\u0629 {{x}}",previous_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",x_to_y:"{{x}} \u0625\u0644\u0649 {{y}}",x_to_y_of_z:"{{x}} \u0625\u0644\u0649 {{y}} \u0645\u0646 {{z}}"},routes:{admin:"\u0627\u0644\u0645\u0633\u0624\u0648\u0644",dashboard:"\u0644\u0648\u062D\u0629 \u0627\u0644\u062A\u062D\u0643\u0645",home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",jobs:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",torrents:"\u0627\u0644\u062A\u0648\u0631\u0646\u062A",visualize:"\u062A\u0635\u0648\u0631"},torrents:{classification:"\u0627\u0644\u062A\u0635\u0646\u064A\u0641",clear_search:"\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B",copy:"\u0646\u0633\u062E",copy_to_clipboard:"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629",delete:"\u062D\u0630\u0641",delete_action_cannot_be_undone:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u0627\u0644\u062A\u0631\u0627\u062C\u0639 \u0639\u0646 \u0647\u0630\u0627 \u0627\u0644\u0625\u062C\u0631\u0627\u0621",delete_are_you_sure:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062D\u0630\u0641 \u0647\u0630\u0627 \u0627\u0644\u062A\u0648\u0631\u0646\u062A\u061F",deselect_all:"\u0625\u0644\u063A\u0627\u0621 \u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",download:"\u062A\u0646\u0632\u064A\u0644",download_confirm:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0645\u0646 \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062A\u0646\u0632\u064A\u0644 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629\u061F",edit_tags:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",episodes:"\u0627\u0644\u062D\u0644\u0642\u0627\u062A",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",file_index:"\u0641\u0647\u0631\u0633 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",file_path:"\u0645\u0633\u0627\u0631 \u0627\u0644\u0645\u0644\u0641",file_size:"\u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",files:"\u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_count_n:"{{count}} \u0645\u0644\u0641\u0627\u062A",files_no_info:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0646 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_single:"\u0645\u0644\u0641 \u0648\u0627\u062D\u062F",genres:"\u0627\u0644\u0623\u0646\u0648\u0627\u0639",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",info_hashes:"\u062A\u062C\u0632\u0626\u0627\u062A \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",languages:"\u0627\u0644\u0644\u063A\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",magnet:"\u0645\u063A\u0646\u0627\u0637\u064A\u0633",magnet_links:"\u0631\u0648\u0627\u0628\u0637 \u0645\u063A\u0646\u0627\u0637\u064A\u0633\u064A\u0629",new_tag:"\u0639\u0644\u0627\u0645\u0629 \u062C\u062F\u064A\u062F\u0629",order_by:"\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628",order_direction_toggle:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0627\u062A\u062C\u0627\u0647",ordering:{files_count:"\u0639\u062F\u062F \u0627\u0644\u0645\u0644\u0641\u0627\u062A",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",name:"\u0627\u0644\u0627\u0633\u0645",published_at:"\u0646\u0634\u0631 \u0641\u064A",relevance:"\u0627\u0644\u0635\u0644\u0629",seeders:"\u0627\u0644\u0645\u0632\u0627\u0631\u0639\u0648\u0646",size:"\u0627\u0644\u062D\u062C\u0645",updated_at:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0641\u064A"},original_release_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0635\u062F\u0627\u0631 \u0627\u0644\u0623\u0635\u0644\u064A",permalink:"\u0631\u0627\u0628\u0637 \u062F\u0627\u0626\u0645",poster:"\u0645\u0644\u0635\u0642",published:"\u0645\u0646\u0634\u0648\u0631",rating:"\u0627\u0644\u062A\u0642\u064A\u064A\u0645",refresh:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u062A\u0627\u0626\u062C",reprocess:{force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",reprocess:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629"},s_l:"S / L",search:"\u0628\u062D\u062B",seeders:"\u0627\u0644\u0628\u0627\u0630\u0631\u0648\u0646",select_all:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",showing_x_of_y_files:"\u0639\u0631\u0636 {{x}} \u0645\u0646 {{y}} \u0645\u0644\u0641\u0627\u062A",size:"\u0627\u0644\u062D\u062C\u0645",source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",summary:"\u0627\u0644\u0645\u0644\u062E\u0635",tags:{delete:"\u062D\u0630\u0641 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",delete_tip:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0645\u0646 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",placeholder:"\u0627\u0644\u0639\u0644\u0627\u0645\u0629...",put:"\u0648\u0636\u0639 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",put_tip:"\u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0625\u0644\u0649 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",set:"\u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",set_tip:"\u0627\u0633\u062A\u0628\u062F\u0627\u0644 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0641\u064A \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629"},title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",toggle_drawer:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u062F\u0631\u062C",votes_count_n:"{{count}} \u0623\u0635\u0648\u0627\u062A"},version:{bitmagnet_version:"\u0625\u0635\u062F\u0627\u0631 bitmagnet {{version}}",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641"}};var yt={content_types:{plural:{all:"Tot",audiobook:"Audiollibres",comic:"C\xF2mics",ebook:"Llibres electr\xF2nics",movie:"Pel\xB7l\xEDcules",music:"M\xFAsica",null:"Desconegut",software:"Programari",tv_show:"Programes de TV",xxx:"XXX"},singular:{audiobook:"Audiollibre",comic:"C\xF2mic",ebook:"Llibre electr\xF2nic",movie:"Pel\xB7l\xEDcula",music:"M\xFAsica",software:"Desconegut",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{interval:{all:"Tot",days:"Dies",days_1:"1 dia",hours:"Hores",hours_1:"1 hora",hours_12:"12 hores",hours_6:"6 hores",minutes:"Minuts",minutes_1:"1 minut",minutes_15:"15 minuts",minutes_30:"30 minuts",minutes_5:"5 minuts",off:"Apagat",seconds_10:"10 segons",seconds_30:"30 segons",weeks_1:"1 setmana"},metrics:{event:"Esdeveniment",resolution:"Resoluci\xF3",throughput:"Rendiment",timeframe:"Per\xEDode de temps",toggle_legend:"Mostra o oculta la llegenda"},queues:{created:"Creat",created_at:"Creaci\xF3",enqueue_jobs:"Encua les tasques",enqueue_torrent_processing_batch:"Encua el lot de processament de torrents",failed:"Fallat",jobs_enqueued:"Tasques encuades",latency:"Lat\xE8ncia",payload:"Contingut",priority:"Prioritat",process_orphaned_torrents_only:"Processa nom\xE9s els torrents orfes",processed:"Processat",purge_jobs:"Purga les tasques",purge_queue_jobs:"Purga les cues de tasques",queue:"Cua",queue_purged:"Cua purgada",queues:"Cues",ran_at:"Executat a",total_counts_by_status:"Recompte total per estat"}},facets:{content_type:"Tipus de Contingut",file_type:"Tipus de Fitxer",genre:"G\xE8nere",language:"Idioma",torrent_source:"Origen del Torrent",torrent_tag:"Etiqueta del Torrent",video_resolution:"Resoluci\xF3 del V\xEDdeo",video_source:"Origen del V\xEDdeo"},file_types:{archive:"Arxiu",audio:"\xC0udio",data:"Dades",document:"Document",image:"Imatge",software:"Programari",subtitles:"Subt\xEDtols",unknown:"Desconegut",video:"V\xEDdeo"},general:{all:"Tot",dismiss:"Descarta",error:"Error",none:"Cap",page_not_found:"P\xE0gina no trobada",refresh:"Actualitza",status:"Estat"},health:{bitmagnet_is_status:"bitmagnet est\xE0 {{status}}",check_failed_with_error:"Ha fallat la comprovaci\xF3 amb un error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},statuses:{degraded:"Degradat",down:"Caigut",error:"Error",inactive:"Inactiu",started:"Iniciat",unknown:"Pendent",up:"Actiu"},summary:"Resum de salut",worker:"Treballador",workers:{dht_crawler:"Rastrejador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de cues"}},languages:{af:"Afrikaans",ar:"\xC0rab",az:"\xC0zeri",be:"Belar\xFAs",bg:"B\xFAlgar",bs:"Bosni\xE0",ca:"Catal\xE0",ce:"Txetx\xE8",co:"Cors",cs:"Txec",cy:"Gal\xB7l\xE8s",da:"Dan\xE8s",de:"Alemany",el:"Grec",en:"Angl\xE8s",es:"Castell\xE0",et:"Estoni\xE0",eu:"Basc",fa:"Persa",fi:"Fin\xE8s",fr:"Franc\xE8s",he:"Hebreu",hi:"Hindi",hr:"Croat",hu:"Hongar\xE8s",hy:"Armeni",id:"Indonesi",is:"Island\xE8s",it:"Itali\xE0",ja:"Japon\xE8s",ka:"Georgi\xE0",ko:"Core\xE0",ku:"Kurd",lt:"Litu\xE0",lv:"Let\xF3",mi:"Maori",mk:"Maced\xF2nic",ml:"Malai\xE0lam",mn:"Mongol",ms:"Malai",mt:"Malt\xE8s",nl:"Neerland\xE8s",no:"Noruec",pl:"Polon\xE8s",pt:"Portugu\xE8s",ro:"Roman\xE8s",ru:"Rus",sa:"S\xE0nscrit",sk:"Eslovac",sl:"Eslov\xE8",sm:"Samo\xE0",so:"Somali",sr:"Serbi",sv:"Suec",ta:"T\xE0mil",th:"Tailand\xE8s",tr:"Turc",uk:"Ucra\xEFn\xE8s",vi:"Vietnamita",yi:"\xCDdix",zh:"Xin\xE8s",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet a {{service}}",change_theme:"Canviar el tema",external_links:"Enlla\xE7os externs",sponsor:"Patrocina",support_bitmagnet:"Ajuda a bitmagnet",translate:"Tradueix"},paginator:{first_page:"Primera p\xE0gina",last_page:"Elements per p\xE0gina",next_page:"P\xE0gina seg\xFCent",page_x:"P\xE0gina {{x}}",previous_page:"P\xE0gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administraci\xF3",dashboard:"Tauler de control",home:"Inici",jobs:"Tasques",queues:"Cues",torrents:"Torrents",visualize:"Visualitza"},torrents:{classification:"Classificaci\xF3",clear_search:"Esborrar la cerca",copy:"Copiar",copy_to_clipboard:"Copia al porta-retalls",delete:"Esborrar",delete_action_cannot_be_undone:"Aquesta acci\xF3 no es pot desfer",delete_are_you_sure:"Est\xE0s segur que vols esborrar aquest torrent?",deselect_all:"Desselecciona-ho tot",edit_tags:"Edita l'etiqueta",episodes:"Episodis",external_links:"Enlla\xE7os externs",file_index:"\xCDndex del fitxer",file_path:"Cam\xED del fitxer",file_size:"Mida del fitxer",file_type:"Tipus de fitxer",files:"Fitxers",files_no_info:"{{count}} fitxers",genres:"G\xE8neres",info_hash:"Informaci\xF3 del resum",info_hashes:"Informaci\xF3 dels resums",languages:"Idiomes",leechers:"Sangoneres",magnet:"Magnet",magnet_links:"Enlla\xE7os magnet",new_tag:"Etiqueta nova",order_by:"Ordenar per",order_direction_toggle:"Commuta la direcci\xF3",ordering:{files_count:"Recompte de fitxers",info_hash:"Informaci\xF3 del resum",leechers:"Sangoneres",name:"Nom",published_at:"Publicat el",relevance:"Rellev\xE0ncia",seeders:"Sembradors",size:"Mida",updated_at:"Actualitzat el"},original_release_date:"Data de llan\xE7ament original",permalink:"Enlla\xE7 permanent",poster:"P\xF2ster",published:"Publicat",rating:"Valoraci\xF3",refresh:"Actualitza els resultats",reprocess:{force_rematch:"For\xE7ar nova coincid\xE8ncia del contingut ja coincident",match_content_by_external_api_search:"Fes coincidir el contingut a trav\xE9s d'una cerca d'API externa",match_content_by_local_search:"Fes conicidir a trav\xE9s d'una cerca local",reprocess:"Tornar a processar"},s_l:"S / S",search:"Cerca",seeders:"Sembradors",select_all:"Seleccionar-ho tot",showing_x_of_y_files:"Mostrant {{x}} de {{y}} fitxers",size:"Mida",source:"Origen del torrent",summary:"Resum",tags:{delete:"Esborrar etiquetes",delete_tip:"Esborrar etiquetes dels torrents seleccionats",placeholder:"Etiqueta...",put:"Afegeix etiquetes",put_tip:"Afegeix etiquetes als torrents seleccionats",set:"Reempla\xE7a etiquetes",set_tip:"Reempla\xE7a les etiquetes dels torrents seleccionats"},title:"T\xEDtol",toggle_drawer:"Mostra o oculta el calaix",votes_count_n:"{{count}} vots"},version:{bitmagnet_version:"versi\xF3 de bitmagnet {{version}}",unknown:"desconegut"}};var vt={content_types:{plural:{all:"Alle",audiobook:"H\xF6rb\xFCcher",comic:"Comics",ebook:"E-B\xFCcher",game:"Spiele",movie:"Filme",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Shows",xxx:"XXX"},singular:{audiobook:"H\xF6rbuch",comic:"Comic",ebook:"E-Buch",game:"Spiel",movie:"Film",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Show",xxx:"XXX"}},dashboard:{event:{created:"Erstellt",failed:"Fehlgeschlagen",processed:"Verarbeitet",updated:"Aktualisiert"},interval:{all:"Alle",days:"Tage",days_1:"1 Tag",hours:"Stunden",hours_1:"1 Stunde",hours_12:"12 Stunden",hours_6:"6 Stunden",minutes:"Minuten",minutes_1:"1 Minute",minutes_15:"15 Minuten",minutes_30:"30 Minuten",minutes_5:"5 Minuten",off:"Aus",seconds_10:"10 Sekunden",seconds_30:"30 Sekunden",weeks_1:"1 Woche"},metrics:{event:"Ereignis",resolution:"Aufl\xF6sung",throughput:"Durchsatz",timeframe:"Zeitrahmen",toggle_legend:"Legende umschalten"},queues:{created:"Erstellt",created_at:"Erstellt am",enqueue_jobs:"Jobs einreihen",enqueue_torrent_processing_batch:"Torrent-Verarbeitungsbatch einreihen",failed:"Fehlgeschlagen",force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",jobs_enqueued:"Jobs eingereiht",latency:"Latenz",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",payload:"Nutzlast",pending:"Ausstehend",priority:"Priorit\xE4t",process_orphaned_torrents_only:"Nur verwaiste Torrents verarbeiten",processed:"Verarbeitet",purge_jobs:"Jobs bereinigen",purge_queue_jobs:"Warteschlangen-Jobs bereinigen",queue:"Warteschlange",queue_purged:"Warteschlange bereinigt",queues:"Warteschlangen",ran_at:"Ausgef\xFChrt am",retry:"Erneut versuchen",total_counts_by_status:"Gesamtanzahl nach Status"}},facets:{content_type:"Inhaltstyp",file_type:"Dateityp",genre:"Genre",language:"Sprache",queue:"Warteschlange",status:"Status",torrent_source:"Torrent-Quelle",torrent_tag:"Torrent-Tag",video_resolution:"Videoaufl\xF6sung",video_source:"Videoquelle"},file_types:{archive:"Archiv",audio:"Audio",data:"Daten",document:"Dokument",image:"Bild",software:"Software",subtitles:"Untertitel",unknown:"Unbekannt",video:"Video"},general:{all:"Alle",dismiss:"Verwerfen",error:"Fehler",none:"Keine",page_not_found:"Seite nicht gefunden",refresh:"Aktualisieren",status:"Status"},health:{bitmagnet_is_status:"bitmagnet ist {{status}}",check_failed_with_error:"\xDCberpr\xFCfung mit Fehler fehlgeschlagen",component:"Komponente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Verwerfen",error:"Fehler",status:"Status",statuses:{degraded:"Verschlechtert",down:"Aus",error:"Fehler",inactive:"Inaktiv",started:"Gestartet",unknown:"Ausstehend",up:"An"},summary:"Gesundheits\xFCbersicht",worker:"Arbeiter",workers:{dht_crawler:"DHT-Crawler",http_server:"HTTP-Server",queue_server:"Warteschlangen-Server"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Aserbaidschanisch",be:"Wei\xDFrussisch",bg:"Bulgarisch",bs:"Bosnisch",ca:"Katalanisch",ce:"Tschetschenisch",co:"Korsisch",cs:"Tschechisch",cy:"Walisisch",da:"D\xE4nisch",de:"Deutsch",el:"Griechisch",en:"Englisch",es:"Spanisch",et:"Estnisch",eu:"Baskisch",fa:"Persisch",fi:"Finnisch",fr:"Franz\xF6sisch",he:"Hebr\xE4isch",hi:"Hindi",hr:"Kroatisch",hu:"Ungarisch",hy:"Armenisch",id:"Indonesisch",is:"Isl\xE4ndisch",it:"Italienisch",ja:"Japanisch",ka:"Georgisch",ko:"Koreanisch",ku:"Kurdisch",lt:"Litauisch",lv:"Lettisch",mi:"Maori",mk:"Mazedonisch",ml:"Malayalam",mn:"Mongolisch",ms:"Malaiisch",mt:"Maltesisch",nl:"Niederl\xE4ndisch",no:"Norwegisch",pl:"Polnisch",pt:"Portugiesisch",ro:"Rum\xE4nisch",ru:"Russisch",sa:"Sanskrit",sk:"Slowakisch",sl:"Slowenisch",sm:"Samoanisch",so:"Somalisch",sr:"Serbisch",sv:"Schwedisch",ta:"Tamil",th:"Thai",tr:"T\xFCrkisch",uk:"Ukrainisch",vi:"Vietnamesisch",yi:"Jiddisch",zh:"Chinesisch",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet auf {{service}}",change_theme:"Thema \xE4ndern",external_links:"Externe Links",sponsor:"Sponsor",support_bitmagnet:"bitmagnet unterst\xFCtzen",translate:"\xDCbersetzen"},paginator:{first_page:"Erste Seite",items_per_page:"Artikel pro Seite",last_page:"Letzte Seite",next_page:"N\xE4chste Seite",page_x:"Seite {{x}}",previous_page:"Vorherige Seite",x_to_y:"{{x}} bis {{y}}",x_to_y_of_z:"{{x}} bis {{y}} von {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Startseite",jobs:"Aufgaben",queues:"Warteschlangen",torrents:"Torrents",visualize:"Visualisieren"},torrents:{classification:"Klassifizierung",clear_search:"Suche l\xF6schen",copy:"Kopieren",copy_to_clipboard:"In die Zwischenablage kopieren",delete:"L\xF6schen",delete_action_cannot_be_undone:"Diese Aktion kann nicht r\xFCckg\xE4ngig gemacht werden",delete_are_you_sure:"Sind Sie sicher, dass Sie diesen Torrent l\xF6schen m\xF6chten?",deselect_all:"Alle abw\xE4hlen",download:"Herunterladen",download_confirm:"M\xF6chten Sie die ausgew\xE4hlten Torrents wirklich herunterladen?",edit_tags:"Tags bearbeiten",episodes:"Episoden",external_links:"Externe Links",file_index:"Dateiindex",file_path:"Dateipfad",file_size:"Dateigr\xF6\xDFe",file_type:"Dateityp",files:"Dateien",files_count_n:"{{count}} Dateien",files_no_info:"Keine Dateiinformationen verf\xFCgbar",files_single:"Einzelne Datei",genres:"Genres",info_hash:"Info-Hash",info_hashes:"Info-Hashes",languages:"Sprachen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-Links",new_tag:"Neuer Tag",order_by:"Sortieren nach",order_direction_toggle:"Richtung umschalten",ordering:{files_count:"Dateienanzahl",info_hash:"Info-Hash",leechers:"Leechers",name:"Name",published_at:"Ver\xF6ffentlicht am",relevance:"Relevanz",seeders:"Seeders",size:"Gr\xF6\xDFe",updated_at:"Aktualisiert am"},original_release_date:"Originales Ver\xF6ffentlichungsdatum",permalink:"Permalink",poster:"Poster",published:"Ver\xF6ffentlicht",rating:"Bewertung",refresh:"Ergebnisse aktualisieren",reprocess:{force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",reprocess:"Erneut verarbeiten"},s_l:"S / L",search:"Suche",seeders:"Seeders",select_all:"Alle ausw\xE4hlen",showing_x_of_y_files:"{{x}} von {{y}} Dateien anzeigen",size:"Gr\xF6\xDFe",source:"Torrent-Quelle",summary:"Zusammenfassung",tags:{delete:"Tags l\xF6schen",delete_tip:"Tags aus den ausgew\xE4hlten Torrents entfernen",placeholder:"Tag...",put:"Tags setzen",put_tip:"Tags zu den ausgew\xE4hlten Torrents hinzuf\xFCgen",set:"Tags setzen",set_tip:"Tags der ausgew\xE4hlten Torrents ersetzen"},title:"Titel",toggle_drawer:"Schublade umschalten",votes_count_n:"{{count}} Stimmen"},version:{bitmagnet_version:"bitmagnet Version {{version}}",unknown:"unbekannt"}};var kt={content_types:{plural:{all:"All",audiobook:"Audiobooks",comic:"Comics",ebook:"E-Books",game:"Games",movie:"Movies",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Shows",xxx:"XXX"},singular:{audiobook:"Audiobook",comic:"Comic",ebook:"E-Book",game:"Game",movie:"Movie",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Show",xxx:"XXX"}},dashboard:{event:{created:"Created",failed:"Failed",processed:"Processed",updated:"Updated"},interval:{all:"All",days:"Days",days_1:"1 day",hours:"Hours",hours_1:"1 hour",hours_12:"12 hours",hours_6:"6 hours",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"Off",seconds_10:"10 seconds",seconds_30:"30 seconds",weeks_1:"1 week"},metrics:{event:"Event",resolution:"Resolution",throughput:"Throughput",timeframe:"Timeframe",toggle_legend:"Toggle legend"},queues:{created:"Created",created_at:"Created at",enqueue_jobs:"Enqueue jobs",enqueue_torrent_processing_batch:"Enqueue Torrent Processing Batch",failed:"Failed",jobs_enqueued:"Jobs enqueued",latency:"Latency",payload:"Payload",pending:"Pending",priority:"Priority",process_orphaned_torrents_only:"Process orphaned torrents only",processed:"Processed",purge_jobs:"Purge jobs",purge_queue_jobs:"Purge queue jobs",queue:"Queue",queue_purged:"Queue purged",queues:"Queues",ran_at:"Ran at",retry:"Retry",total_counts_by_status:"Total counts by status"}},facets:{content_type:"Content Type",file_type:"File Type",genre:"Genre",language:"Language",queue:"Queue",status:"Status",torrent_source:"Torrent Source",torrent_tag:"Torrent Tag",video_resolution:"Video Resolution",video_source:"Video Source"},file_types:{archive:"Archive",audio:"Audio",data:"Data",document:"Document",image:"Image",software:"Software",subtitles:"Subtitles",unknown:"Unknown",video:"Video"},general:{all:"All",dismiss:"Dismiss",error:"Error",none:"None",page_not_found:"Page not found",refresh:"Refresh",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Check failed with error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Dismiss",error:"Error",status:"Status",statuses:{degraded:"Degraded",down:"Down",error:"Error",inactive:"Inactive",started:"Started",unknown:"Pending",up:"Up"},summary:"Health summary",worker:"Worker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Queue server"}},languages:{af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bs:"Bosnian",ca:"Catalan",ce:"Chechen",co:"Corsican",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",hy:"Armenian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",ms:"Malay",mt:"Maltese",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sa:"Sanskrit",sk:"Slovak",sl:"Slovenian",sm:"Samoan",so:"Somali",sr:"Serbian",sv:"Swedish",ta:"Tamil",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",yi:"Yiddish",zh:"Chinese",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet on {{service}}",change_theme:"Change theme",external_links:"External links",sponsor:"Sponsor",support_bitmagnet:"Support bitmagnet",translate:"Translate"},paginator:{first_page:"First page",items_per_page:"Items per page",last_page:"Last page",next_page:"Next page",page_x:"Page {{x}}",previous_page:"Previous page",x_to_y:"{{x}} to {{y}}",x_to_y_of_z:"{{x}} to {{y}} of {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Home",jobs:"Jobs",queues:"Queues",torrents:"Torrents",visualize:"Visualize"},torrents:{classification:"Classification",clear_search:"Clear Search",copy:"Copy",copy_to_clipboard:"Copy to clipboard",delete:"Delete",delete_action_cannot_be_undone:"This action cannot be undone",delete_are_you_sure:"Are you sure you want to delete this torrent?",deselect_all:"Deselect All",download:"Download",download_confirm:"Are you sure you want to download the selected torrents?",edit_tags:"Edit tags",episodes:"Episodes",external_links:"External links",file_index:"File index",file_path:"File path",file_size:"File size",file_type:"File type",files:"Files",files_count_n:"{{count}} files",files_no_info:"No files information available",files_single:"Single file",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Languages",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet links",new_tag:"New tag",order_by:"Order by",order_direction_toggle:"Toggle direction",ordering:{files_count:"Files count",info_hash:"Info hash",leechers:"Leechers",name:"Name",published_at:"Published at",relevance:"Relevance",seeders:"Seeders",size:"Size",updated_at:"Updated at"},original_release_date:"Original release date",permalink:"Permalink",poster:"Poster",published:"Published",rating:"Rating",refresh:"Refresh results",reprocess:{force_rematch:"Force rematch of already matched content",match_content_by_external_api_search:"Match content by external API search",match_content_by_local_search:"Match content by local search",reprocess:"Reprocess"},s_l:"S / L",search:"Search",seeders:"Seeders",select_all:"Select All",showing_x_of_y_files:"Showing {{x}} of {{y}} files",size:"Size",source:"Torrent Source",summary:"Summary",tags:{delete:"Delete tags",delete_tip:"Remove tags from the selected torrents",placeholder:"Tag...",put:"Put tags",put_tip:"Add tags to the selected torrents",set:"Set tags",set_tip:"Replace tags of the selected torrents"},title:"Title",toggle_drawer:"Toggle Drawer",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"bitmagnet version {{version}}",unknown:"unknown"}};var xt={content_types:{plural:{all:"Todos",audiobook:"Audiolibros",comic:"C\xF3mics",ebook:"E-Libros",game:"Juegos",movie:"Pel\xEDculas",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolibro",comic:"C\xF3mic",ebook:"E-Libro",game:"Juego",movie:"Pel\xEDcula",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Creado",failed:"Fallido",processed:"Procesado",updated:"Actualizado"},interval:{all:"Todos",days:"D\xEDas",days_1:"1 d\xEDa",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Apagado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resoluci\xF3n",throughput:"Rendimiento",timeframe:"Periodo de tiempo",toggle_legend:"Alternar leyenda"},queues:{created:"Creado",created_at:"Creado en",enqueue_jobs:"Encolar trabajos",enqueue_torrent_processing_batch:"Encolar lote de procesamiento de torrents",failed:"Fallido",force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",jobs_enqueued:"Trabajos encolados",latency:"Latencia",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",payload:"Carga \xFAtil",pending:"Pendiente",priority:"Prioridad",process_orphaned_torrents_only:"Procesar solo torrents hu\xE9rfanos",processed:"Procesado",purge_jobs:"Purgar trabajos",purge_queue_jobs:"Purgar trabajos de la cola",queue:"Cola",queue_purged:"Cola purgada",queues:"Colas",ran_at:"Ejecutado en",retry:"Reintentar",total_counts_by_status:"Recuento total por estado"}},facets:{content_type:"Tipo de contenido",file_type:"Tipo de archivo",genre:"G\xE9nero",language:"Idioma",queue:"Cola",status:"Estado",torrent_source:"Fuente del torrent",torrent_tag:"Etiqueta del torrent",video_resolution:"Resoluci\xF3n de video",video_source:"Fuente de video"},file_types:{archive:"Archivo",audio:"Audio",data:"Datos",document:"Documento",image:"Imagen",software:"Software",subtitles:"Subt\xEDtulos",unknown:"Desconocido",video:"Video"},general:{all:"Todos",dismiss:"Descartar",error:"Error",none:"Ninguno",page_not_found:"P\xE1gina no encontrada",refresh:"Actualizar",status:"Estado"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"La verificaci\xF3n fall\xF3 con error",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Descartar",error:"Error",status:"Estado",statuses:{degraded:"Degradado",down:"Ca\xEDdo",error:"Error",inactive:"Inactivo",started:"Iniciado",unknown:"Pendiente",up:"Activo"},summary:"Resumen de salud",worker:"Trabajador",workers:{dht_crawler:"Rastreador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de colas"}},languages:{af:"Afrik\xE1ans",ar:"\xC1rabe",az:"Azerbaiyano",be:"Bielorruso",bg:"B\xFAlgaro",bs:"Bosnio",ca:"Catal\xE1n",ce:"Checheno",co:"Corso",cs:"Checo",cy:"Gal\xE9s",da:"Dan\xE9s",de:"Alem\xE1n",el:"Griego",en:"Ingl\xE9s",es:"Espa\xF1ol",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finland\xE9s",fr:"Franc\xE9s",he:"Hebreo",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Armenio",id:"Indonesio",is:"Island\xE9s",it:"Italiano",ja:"Japon\xE9s",ka:"Georgiano",ko:"Coreano",ku:"Kurdo",lt:"Lituano",lv:"Let\xF3n",mi:"Maor\xED",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",ms:"Malayo",mt:"Malt\xE9s",nl:"Neerland\xE9s",no:"Noruego",pl:"Polaco",pt:"Portugu\xE9s",ro:"Rumano",ru:"Ruso",sa:"S\xE1nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somal\xED",sr:"Serbio",sv:"Sueco",ta:"Tamil",th:"Tailand\xE9s",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"Yidis",zh:"Chino",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet en {{service}}",change_theme:"Cambiar tema",external_links:"Enlaces externos",sponsor:"Patrocinador",support_bitmagnet:"Apoyar bitmagnet",translate:"Traducir"},paginator:{first_page:"Primera p\xE1gina",items_per_page:"Elementos por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"P\xE1gina siguiente",page_x:"P\xE1gina {{x}}",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Admin",dashboard:"Tablero",home:"Inicio",jobs:"Trabajos",queues:"Colas",torrents:"Torrents",visualize:"Visualizar"},torrents:{classification:"Clasificaci\xF3n",clear_search:"Borrar b\xFAsqueda",copy:"Copiar",copy_to_clipboard:"Copiar al portapapeles",delete:"Eliminar",delete_action_cannot_be_undone:"Esta acci\xF3n no se puede deshacer",delete_are_you_sure:"\xBFEst\xE1 seguro de que desea eliminar este torrent?",deselect_all:"Deseleccionar todo",download:"Descargar",download_confirm:"\xBFEst\xE1s seguro de que deseas descargar los torrents seleccionados?",edit_tags:"Editar etiquetas",episodes:"Episodios",external_links:"Enlaces externos",file_index:"\xCDndice de archivos",file_path:"Ruta del archivo",file_size:"Tama\xF1o del archivo",file_type:"Tipo de archivo",files:"Archivos",files_count_n:"{{count}} archivos",files_no_info:"No hay informaci\xF3n de archivos disponible",files_single:"Archivo \xFAnico",genres:"G\xE9neros",info_hash:"Hash de informaci\xF3n",info_hashes:"Hashes de informaci\xF3n",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Enlaces Magnet",new_tag:"Nueva etiqueta",order_by:"Ordenar por",order_direction_toggle:"Alternar direcci\xF3n",ordering:{files_count:"Recuento de archivos",info_hash:"Hash de informaci\xF3n",leechers:"Leechers",name:"Nombre",published_at:"Publicado en",relevance:"Relevancia",seeders:"Seeders",size:"Tama\xF1o",updated_at:"Actualizado en"},original_release_date:"Fecha de lanzamiento original",permalink:"Enlace permanente",poster:"P\xF3ster",published:"Publicado",rating:"Calificaci\xF3n",refresh:"Actualizar resultados",reprocess:{force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",reprocess:"Volver a procesar"},s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Seleccionar todo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} archivos",size:"Tama\xF1o",source:"Fuente del torrent",summary:"Resumen",tags:{delete:"Eliminar etiquetas",delete_tip:"Eliminar etiquetas de los torrents seleccionados",placeholder:"Etiqueta...",put:"Poner etiquetas",put_tip:"A\xF1adir etiquetas a los torrents seleccionados",set:"Establecer etiquetas",set_tip:"Reemplazar etiquetas de los torrents seleccionados"},title:"T\xEDtulo",toggle_drawer:"Alternar caj\xF3n",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"versi\xF3n de bitmagnet {{version}}",unknown:"desconocido"}};var wt={content_types:{plural:{all:"Tous",audiobook:"Livres audio",comic:"Bandes dessin\xE9es",ebook:"E-livres",game:"Jeux",movie:"Films",music:"Musique",null:"Inconnu",software:"Logiciels",tv_show:"S\xE9ries TV",xxx:"XXX"},singular:{audiobook:"Livre audio",comic:"Bande dessin\xE9e",ebook:"E-livre",game:"Jeu",movie:"Film",music:"Musique",null:"Inconnu",software:"Logiciel",tv_show:"S\xE9rie TV",xxx:"XXX"}},dashboard:{event:{created:"Cr\xE9\xE9",failed:"\xC9chou\xE9",processed:"Trait\xE9",updated:"Mis \xE0 jour"},interval:{all:"Tous",days:"Jours",days_1:"1 jour",hours:"Heures",hours_1:"1 heure",hours_12:"12 heures",hours_6:"6 heures",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"D\xE9sactiv\xE9",seconds_10:"10 secondes",seconds_30:"30 secondes",weeks_1:"1 semaine"},metrics:{event:"\xC9v\xE9nement",resolution:"R\xE9solution",throughput:"D\xE9bit",timeframe:"P\xE9riode",toggle_legend:"Basculer la l\xE9gende"},queues:{created:"Cr\xE9\xE9",created_at:"Cr\xE9\xE9 \xE0",enqueue_jobs:"Mettre les taches en file d'attente",enqueue_torrent_processing_batch:"Mettre le traitement des torrents en file d'attente",failed:"\xC9chou\xE9",force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",jobs_enqueued:"T\xE2ches en attente",latency:"Latence",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",payload:"Charge utile",pending:"En attente",priority:"Priorit\xE9",process_orphaned_torrents_only:"Traiter uniquement les torrents orphelins",processed:"Trait\xE9",purge_jobs:"Purger les t\xE2ches",purge_queue_jobs:"Purger les t\xE2ches de la file d'attente",queue:"File d'attente",queue_purged:"File d'attente purg\xE9e",queues:"Files d'attente",ran_at:"Ex\xE9cut\xE9 \xE0",retry:"R\xE9essayer",total_counts_by_status:"Totaux par statut"}},facets:{content_type:"Type de contenu",file_type:"Type de fichier",genre:"Genre",language:"Langue",queue:"File d'attente",status:"Statut",torrent_source:"Source du torrent",torrent_tag:"Tag du torrent",video_resolution:"R\xE9solution vid\xE9o",video_source:"Source vid\xE9o"},file_types:{archive:"Archive",audio:"Audio",data:"Donn\xE9es",document:"Document",image:"Image",software:"Logiciel",subtitles:"Sous-titres",unknown:"Inconnu",video:"Vid\xE9o"},general:{all:"Tous",dismiss:"Fermer",error:"Erreur",none:"Aucun",page_not_found:"Page non trouv\xE9e",refresh:"Rafra\xEEchir",status:"Statut"},health:{bitmagnet_is_status:"bitmagnet est {{status}}",check_failed_with_error:"V\xE9rification \xE9chou\xE9e avec erreur",component:"Composant",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fermer",error:"Erreur",status:"Statut",statuses:{degraded:"D\xE9grad\xE9",down:"Hors ligne",error:"Erreur",inactive:"Inactif",started:"D\xE9marr\xE9",unknown:"En attente",up:"En ligne"},summary:"R\xE9sum\xE9 de la sant\xE9",worker:"Travailleur",workers:{dht_crawler:"Explorateur DHT",http_server:"Serveur HTTP",queue_server:"Serveur de file d'attente"}},languages:{af:"Afrikaans",ar:"Arabe",az:"Azerba\xEFdjanais",be:"Bi\xE9lorusse",bg:"Bulgare",bs:"Bosniaque",ca:"Catalan",ce:"Tch\xE9tch\xE8ne",co:"Corse",cs:"Tch\xE8que",cy:"Gallois",da:"Danois",de:"Allemand",el:"Grec",en:"Anglais",es:"Espagnol",et:"Estonien",eu:"Basque",fa:"Persan",fi:"Finnois",fr:"Fran\xE7ais",he:"H\xE9breu",hi:"Hindi",hr:"Croate",hu:"Hongrois",hy:"Arm\xE9nien",id:"Indon\xE9sien",is:"Islandais",it:"Italien",ja:"Japonais",ka:"G\xE9orgien",ko:"Cor\xE9en",ku:"Kurde",lt:"Lituanien",lv:"Letton",mi:"Maori",mk:"Mac\xE9donien",ml:"Malayalam",mn:"Mongol",ms:"Malais",mt:"Maltais",nl:"N\xE9erlandais",no:"Norv\xE9gien",pl:"Polonais",pt:"Portugais",ro:"Roumain",ru:"Russe",sa:"Sanskrit",sk:"Slovaque",sl:"Slov\xE8ne",sm:"Samoan",so:"Somali",sr:"Serbe",sv:"Su\xE9dois",ta:"Tamoul",th:"Tha\xEF",tr:"Turc",uk:"Ukrainien",vi:"Vietnamien",yi:"Yiddish",zh:"Chinois",zu:"Zoulou"},layout:{bitmagnet_on_service:"bitmagnet sur {{service}}",change_theme:"Changer de th\xE8me",external_links:"Liens externes",sponsor:"Sponsor",support_bitmagnet:"Soutenir bitmagnet",translate:"Traduire"},paginator:{first_page:"Premi\xE8re page",items_per_page:"Articles par page",last_page:"Derni\xE8re page",next_page:"Page suivante",page_x:"Page {{x}}",previous_page:"Page pr\xE9c\xE9dente",x_to_y:"{{x}} \xE0 {{y}}",x_to_y_of_z:"{{x}} \xE0 {{y}} sur {{z}}"},routes:{admin:"Admin",dashboard:"Tableau de bord",home:"Accueil",jobs:"T\xE2ches",queues:"Files d'attente",torrents:"Torrents",visualize:"Visualiser"},torrents:{classification:"Classification",clear_search:"Effacer la recherche",copy:"Copier",copy_to_clipboard:"Copier dans le presse-papiers",delete:"Supprimer",delete_action_cannot_be_undone:"Cette action ne peut pas \xEAtre annul\xE9e",delete_are_you_sure:"\xCAtes-vous s\xFBr de vouloir supprimer ce torrent?",deselect_all:"Tout d\xE9s\xE9lectionner",download:"T\xE9l\xE9charger",download_confirm:"\xCAtes-vous s\xFBr de vouloir t\xE9l\xE9charger les torrents s\xE9lectionn\xE9s ?",edit_tags:"Modifier les tags",episodes:"\xC9pisodes",external_links:"Liens externes",file_index:"Index de fichier",file_path:"Chemin de fichier",file_size:"Taille de fichier",file_type:"Type de fichier",files:"Fichiers",files_count_n:"{{count}} fichiers",files_no_info:"Aucune information sur les fichiers disponible",files_single:"Fichier unique",genres:"Genres",info_hash:"Hash d'info",info_hashes:"Hashes d'info",languages:"Langues",leechers:"Leechers",magnet:"Magnet",magnet_links:"Liens Magnet",new_tag:"Nouveau tag",order_by:"Trier par",order_direction_toggle:"Inverser le sens",ordering:{files_count:"Nombre de fichiers",info_hash:"Hash d'info",leechers:"Leechers",name:"Nom",published_at:"Publi\xE9 \xE0",relevance:"Pertinence",seeders:"Seeders",size:"Taille",updated_at:"Mis \xE0 jour \xE0"},original_release_date:"Date de sortie originale",permalink:"Permalien",poster:"Affiche",published:"Publi\xE9",rating:"\xC9valuation",refresh:"Rafra\xEEchir les r\xE9sultats",reprocess:{force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",reprocess:"Retraitement"},s_l:"S / L",search:"Rechercher",seeders:"Seeders",select_all:"Tout s\xE9lectionner",showing_x_of_y_files:"Affichage de {{x}} sur {{y}} fichiers",size:"Taille",source:"Source du torrent",summary:"R\xE9sum\xE9",tags:{delete:"Supprimer les tags",delete_tip:"Supprimer les tags des torrents s\xE9lectionn\xE9s",placeholder:"Tag...",put:"Mettre des tags",put_tip:"Ajouter des tags aux torrents s\xE9lectionn\xE9s",set:"D\xE9finir des tags",set_tip:"Remplacer les tags des torrents s\xE9lectionn\xE9s"},title:"Titre",toggle_drawer:"Basculer le tiroir",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"version bitmagnet {{version}}",unknown:"inconnu"}};var Tt={content_types:{plural:{all:"\u0938\u092D\u0940",audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915\u094D\u0938",comic:"\u0915\u0949\u092E\u093F\u0915\u094D\u0938",ebook:"\u0908-\u092C\u0941\u0915\u094D\u0938",game:"\u0917\u0947\u092E\u094D\u0938",movie:"\u092B\u093C\u093F\u0932\u094D\u092E\u0947\u0902",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"},singular:{audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915",comic:"\u0915\u0949\u092E\u093F\u0915",ebook:"\u0908-\u092C\u0941\u0915",game:"\u0917\u0947\u092E",movie:"\u092B\u093C\u093F\u0932\u094D\u092E",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"}},dashboard:{event:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",failed:"\u0905\u0938\u092B\u0932",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",updated:"\u0905\u092A\u0921\u0947\u091F \u0915\u093F\u092F\u093E \u0917\u092F\u093E"},interval:{all:"\u0938\u092D\u0940",days:"\u0926\u093F\u0928",days_1:"1 \u0926\u093F\u0928",hours:"\u0918\u0902\u091F\u0947",hours_1:"1 \u0918\u0902\u091F\u093E",hours_12:"12 \u0918\u0902\u091F\u0947",hours_6:"6 \u0918\u0902\u091F\u0947",minutes:"\u092E\u093F\u0928\u091F",minutes_1:"1 \u092E\u093F\u0928\u091F",minutes_15:"15 \u092E\u093F\u0928\u091F",minutes_30:"30 \u092E\u093F\u0928\u091F",minutes_5:"5 \u092E\u093F\u0928\u091F",off:"\u092C\u0902\u0926",seconds_10:"10 \u0938\u0947\u0915\u0902\u0921",seconds_30:"30 \u0938\u0947\u0915\u0902\u0921",weeks_1:"1 \u0938\u092A\u094D\u0924\u093E\u0939"},metrics:{event:"\u0918\u091F\u0928\u093E",resolution:"\u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",throughput:"\u0925\u094D\u0930\u0942\u092A\u0941\u091F",timeframe:"\u0938\u092E\u092F \u0938\u0940\u092E\u093E",toggle_legend:"\u0932\u0940\u091C\u0947\u0902\u0921 \u091F\u0949\u0917\u0932 \u0915\u0930\u0947\u0902"},queues:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",created_at:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",enqueue_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",enqueue_torrent_processing_batch:"\u091F\u094B\u0930\u0947\u0902\u091F \u092A\u094D\u0930\u094B\u0938\u0947\u0938\u093F\u0902\u0917 \u092C\u0948\u091A \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",failed:"\u0905\u0938\u092B\u0932",force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",jobs_enqueued:"\u091C\u0949\u092C\u094D\u0938 \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u0908 \u0917\u0908\u0902",latency:"\u0932\u0947\u091F\u0947\u0902\u0938\u0940",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",payload:"\u092A\u0947\u0932\u094B\u0921",pending:"\u092C\u0915\u093E\u092F\u093E",priority:"\u092A\u094D\u0930\u093E\u0925\u092E\u093F\u0915\u0924\u093E",process_orphaned_torrents_only:"\u0915\u0947\u0935\u0932 \u0905\u0928\u093E\u0925 \u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938 \u0915\u094B \u092A\u094D\u0930\u094B\u0938\u0947\u0938 \u0915\u0930\u0947\u0902",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",purge_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",purge_queue_jobs:"\u0915\u0924\u093E\u0930 \u0915\u0947 \u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",queue:"\u0915\u0924\u093E\u0930",queue_purged:"\u0915\u0924\u093E\u0930 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u093F\u092F\u093E \u0917\u092F\u093E",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",ran_at:"\u091A\u0932\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",retry:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",total_counts_by_status:"\u0938\u094D\u0925\u093F\u0924\u093F \u0926\u094D\u0935\u093E\u0930\u093E \u0915\u0941\u0932 \u0917\u0923\u0928\u093E"}},facets:{content_type:"\u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u092A\u094D\u0930\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",genre:"\u0936\u0948\u0932\u0940",language:"\u092D\u093E\u0937\u093E",queue:"\u0915\u0924\u093E\u0930",status:"\u0938\u094D\u0925\u093F\u0924\u093F",torrent_source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",torrent_tag:"\u091F\u094B\u0930\u0947\u0902\u091F \u091F\u0948\u0917",video_resolution:"\u0935\u0940\u0921\u093F\u092F\u094B \u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",video_source:"\u0935\u0940\u0921\u093F\u092F\u094B \u0938\u094D\u0930\u094B\u0924"},file_types:{archive:"\u0906\u0930\u094D\u0915\u093E\u0907\u0935",audio:"\u0911\u0921\u093F\u092F\u094B",data:"\u0921\u0947\u091F\u093E",document:"\u0926\u0938\u094D\u0924\u093E\u0935\u0947\u091C\u093C",image:"\u091B\u0935\u093F",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",subtitles:"\u0909\u092A\u0936\u0940\u0930\u094D\u0937\u0915",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924",video:"\u0935\u0940\u0921\u093F\u092F\u094B"},general:{all:"\u0938\u092D\u0940",dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",none:"\u0915\u094B\u0908 \u0928\u0939\u0940\u0902",page_not_found:"\u092A\u0943\u0937\u094D\u0920 \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E",refresh:"\u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",status:"\u0938\u094D\u0925\u093F\u0924\u093F"},health:{bitmagnet_is_status:"bitmagnet {{status}} \u0939\u0948",check_failed_with_error:"\u0924\u094D\u0930\u0941\u091F\u093F \u0915\u0947 \u0938\u093E\u0925 \u091C\u093E\u0902\u091A \u0935\u093F\u092B\u0932",component:"\u0918\u091F\u0915",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",status:"\u0938\u094D\u0925\u093F\u0924\u093F",statuses:{degraded:"\u0915\u094D\u0937\u0940\u0923",down:"\u092C\u0902\u0926",error:"\u0924\u094D\u0930\u0941\u091F\u093F",inactive:"\u0928\u093F\u0937\u094D\u0915\u094D\u0930\u093F\u092F",started:"\u0936\u0941\u0930\u0942 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",unknown:"\u0932\u0902\u092C\u093F\u0924",up:"\u091A\u093E\u0932\u0942"},summary:"\u0938\u094D\u0935\u093E\u0938\u094D\u0925\u094D\u092F \u0938\u093E\u0930\u093E\u0902\u0936",worker:"\u0915\u093E\u0930\u094D\u092F\u0915\u0930\u094D\u0924\u093E",workers:{dht_crawler:"DHT \u0915\u094D\u0930\u0949\u0932\u0930",http_server:"HTTP \u0938\u0930\u094D\u0935\u0930",queue_server:"\u0915\u0924\u093E\u0930 \u0938\u0930\u094D\u0935\u0930"}},languages:{af:"\u0905\u092B\u094D\u0930\u0940\u0915\u0940",ar:"\u0905\u0930\u092C\u0940",az:"\u0905\u091C\u093C\u0947\u0930\u0940",be:"\u092C\u0947\u0932\u093E\u0930\u0942\u0938\u0940",bg:"\u092C\u0941\u0932\u094D\u0917\u093E\u0930\u093F\u092F\u093E\u0908",bs:"\u092C\u094B\u0938\u094D\u0928\u093F\u092F\u093E\u0908",ca:"\u0915\u0948\u091F\u0932\u0928",ce:"\u091A\u0947\u091A\u0947\u0928",co:"\u0915\u094B\u0930\u094D\u0938\u093F\u0915\u0928",cs:"\u091A\u0947\u0915",cy:"\u0935\u0947\u0932\u094D\u0936",da:"\u0921\u0947\u0928\u093F\u0936",de:"\u091C\u0930\u094D\u092E\u0928",el:"\u0917\u094D\u0930\u0940\u0915",en:"\u0905\u0902\u0917\u094D\u0930\u0947\u091C\u0940",es:"\u0938\u094D\u092A\u0948\u0928\u093F\u0936",et:"\u090F\u0938\u094D\u0924\u094B\u0928\u093F\u092F\u093E\u0908",eu:"\u092C\u093E\u0938\u094D\u0915",fa:"\u092B\u093E\u0930\u0938\u0940",fi:"\u092B\u093C\u093F\u0928\u093F\u0936",fr:"\u092B\u094D\u0930\u0947\u0902\u091A",he:"\u0939\u093F\u092C\u094D\u0930\u0942",hi:"\u0939\u093F\u0902\u0926\u0940",hr:"\u0915\u094D\u0930\u094B\u090F\u0936\u093F\u092F\u093E\u0908",hu:"\u0939\u0902\u0917\u0947\u0930\u093F\u092F\u0928",hy:"\u0906\u0930\u094D\u092E\u0947\u0928\u093F\u092F\u093E\u0908",id:"\u0907\u0902\u0921\u094B\u0928\u0947\u0936\u093F\u092F\u093E\u0908",is:"\u0906\u0907\u0938\u0932\u0948\u0902\u0921\u093F\u0915",it:"\u0907\u0924\u093E\u0932\u0935\u0940",ja:"\u091C\u093E\u092A\u093E\u0928\u0940",ka:"\u091C\u0949\u0930\u094D\u091C\u093F\u092F\u093E\u0908",ko:"\u0915\u094B\u0930\u093F\u092F\u093E\u0908",ku:"\u0915\u0941\u0930\u094D\u0926\u0940",lt:"\u0932\u093F\u0925\u0941\u0906\u0928\u093F\u092F\u093E\u0908",lv:"\u0932\u093E\u0924\u0935\u093F\u092F\u093E\u0908",mi:"\u092E\u093E\u0913\u0930\u0940",mk:"\u092E\u0948\u0938\u093F\u0921\u094B\u0928\u093F\u092F\u093E\u0908",ml:"\u092E\u0932\u092F\u093E\u0932\u092E",mn:"\u092E\u0902\u0917\u094B\u0932\u093F\u092F\u093E\u0908",ms:"\u092E\u0932\u092F",mt:"\u092E\u093E\u0932\u094D\u091F\u0940\u091C\u093C",nl:"\u0921\u091A",no:"\u0928\u0949\u0930\u094D\u0935\u0947\u091C\u093F\u092F\u0928",pl:"\u092A\u094B\u0932\u093F\u0936",pt:"\u092A\u0941\u0930\u094D\u0924\u0917\u093E\u0932\u0940",ro:"\u0930\u094B\u092E\u093E\u0928\u093F\u092F\u093E\u0908",ru:"\u0930\u0942\u0938\u0940",sa:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924",sk:"\u0938\u094D\u0932\u094B\u0935\u093E\u0915",sl:"\u0938\u094D\u0932\u094B\u0935\u0947\u0928\u093F\u092F\u093E\u0908",sm:"\u0938\u093E\u092E\u094B\u0928",so:"\u0938\u094B\u092E\u093E\u0932\u0940",sr:"\u0938\u0930\u094D\u092C\u093F\u092F\u093E\u0908",sv:"\u0938\u094D\u0935\u0940\u0921\u093F\u0936",ta:"\u0924\u092E\u093F\u0932",th:"\u0925\u093E\u0908",tr:"\u0924\u0941\u0930\u094D\u0915\u0940",uk:"\u092F\u0942\u0915\u094D\u0930\u0947\u0928\u0940",vi:"\u0935\u093F\u092F\u0924\u0928\u093E\u092E\u0940",yi:"\u092F\u093F\u0926\u094D\u0926\u093F\u0936",zh:"\u091A\u0940\u0928\u0940",zu:"\u091C\u093C\u0941\u0932\u0941"},layout:{bitmagnet_on_service:"{{service}} \u092A\u0930 bitmagnet",change_theme:"\u0925\u0940\u092E \u092C\u0926\u0932\u0947\u0902",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",sponsor:"\u092A\u094D\u0930\u093E\u092F\u094B\u091C\u0915",support_bitmagnet:"bitmagnet \u0915\u094B \u0938\u092E\u0930\u094D\u0925\u0928 \u0926\u0947\u0902",translate:"\u0905\u0928\u0941\u0935\u093E\u0926 \u0915\u0930\u0947\u0902"},paginator:{first_page:"\u092A\u0939\u0932\u093E \u092A\u0943\u0937\u094D\u0920",items_per_page:"\u092A\u094D\u0930\u0924\u093F \u092A\u0943\u0937\u094D\u0920 \u0906\u0907\u091F\u092E",last_page:"\u0905\u0902\u0924\u093F\u092E \u092A\u0943\u0937\u094D\u0920",next_page:"\u0905\u0917\u0932\u093E \u092A\u0943\u0937\u094D\u0920",page_x:"\u092A\u0943\u0937\u094D\u0920 {{x}}",previous_page:"\u092A\u093F\u091B\u0932\u093E \u092A\u0943\u0937\u094D\u0920",x_to_y:"{{x}} \u0938\u0947 {{y}} \u0924\u0915",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u0938\u0947 {{y}} \u0924\u0915 {{z}} \u092E\u0947\u0902"},routes:{admin:"\u092A\u094D\u0930\u0936\u093E\u0938\u0915",dashboard:"\u0921\u0948\u0936\u092C\u094B\u0930\u094D\u0921",home:"\u0939\u094B\u092E",jobs:"\u0928\u094C\u0915\u0930\u093F\u092F\u093E\u0902",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",torrents:"\u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938",visualize:"\u0926\u0943\u0936\u094D\u092F \u0915\u0930\u0947\u0902"},torrents:{classification:"\u0935\u0930\u094D\u0917\u0940\u0915\u0930\u0923",clear_search:"\u0916\u094B\u091C \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",copy:"\u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",copy_to_clipboard:"\u0915\u094D\u0932\u093F\u092A\u092C\u094B\u0930\u094D\u0921 \u092E\u0947\u0902 \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",delete:"\u0939\u091F\u093E\u090F\u0902",delete_action_cannot_be_undone:"\u092F\u0939 \u0915\u094D\u0930\u093F\u092F\u093E \u092A\u0942\u0930\u094D\u0935\u0935\u0924 \u0928\u0939\u0940\u0902 \u0915\u0940 \u091C\u093E \u0938\u0915\u0924\u0940",delete_are_you_sure:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u0907\u0938 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u094B \u0939\u091F\u093E\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",deselect_all:"\u0938\u092D\u0940 \u0915\u094B \u0905\u091A\u092F\u0928\u093F\u0924 \u0915\u0930\u0947\u0902",download:"\u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0947\u0902",download_confirm:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",edit_tags:"\u091F\u0948\u0917 \u0938\u0902\u092A\u093E\u0926\u093F\u0924 \u0915\u0930\u0947\u0902",episodes:"\u090F\u092A\u093F\u0938\u094B\u0921\u094D\u0938",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",file_index:"\u092B\u093C\u093E\u0907\u0932 \u0938\u0942\u091A\u0915\u093E\u0902\u0915",file_path:"\u092B\u093C\u093E\u0907\u0932 \u092A\u0925",file_size:"\u092B\u093C\u093E\u0907\u0932 \u0906\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",files:"\u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_count_n:"{{count}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_no_info:"\u0915\u094B\u0908 \u092B\u093C\u093E\u0907\u0932 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948",files_single:"\u090F\u0915\u0932 \u092B\u093C\u093E\u0907\u0932",genres:"\u0936\u0948\u0932\u093F\u092F\u093E\u0901",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",info_hashes:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936\u0947\u091C",languages:"\u092D\u093E\u0937\u093E\u090F\u0901",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",magnet:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F",magnet_links:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F \u0932\u093F\u0902\u0915",new_tag:"\u0928\u092F\u093E \u091F\u0948\u0917",order_by:"\u0915\u094D\u0930\u092E\u092C\u0926\u094D\u0927 \u0915\u0930\u0947\u0902",order_direction_toggle:"\u0926\u093F\u0936\u093E \u092C\u0926\u0932\u0947\u0902",ordering:{files_count:"\u092B\u093C\u093E\u0907\u0932\u094B\u0902 \u0915\u0940 \u0938\u0902\u0916\u094D\u092F\u093E",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",name:"\u0928\u093E\u092E",published_at:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924 \u0938\u092E\u092F",relevance:"\u092A\u094D\u0930\u093E\u0938\u0902\u0917\u093F\u0915\u0924\u093E",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",size:"\u0906\u0915\u093E\u0930",updated_at:"\u0905\u092A\u0921\u0947\u091F \u0938\u092E\u092F"},original_release_date:"\u092E\u0942\u0932 \u0930\u093F\u0932\u0940\u091C\u093C \u0924\u093F\u0925\u093F",permalink:"\u0938\u094D\u0925\u093E\u092F\u0940 \u0932\u093F\u0902\u0915",poster:"\u092A\u094B\u0938\u094D\u091F\u0930",published:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924",rating:"\u0930\u0947\u091F\u093F\u0902\u0917",refresh:"\u092A\u0930\u093F\u0923\u093E\u092E \u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",reprocess:{force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",reprocess:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u0915\u094D\u0930\u093F\u092F\u093E \u0915\u0930\u0947\u0902"},s_l:"S / L",search:"\u0916\u094B\u091C",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",select_all:"\u0938\u092D\u0940 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",showing_x_of_y_files:"{{x}} \u092E\u0947\u0902 \u0938\u0947 {{y}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902 \u0926\u093F\u0916\u093E \u0930\u0939\u093E \u0939\u0948",size:"\u0906\u0915\u093E\u0930",source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",summary:"\u0938\u093E\u0930\u093E\u0902\u0936",tags:{delete:"\u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",delete_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0938\u0947 \u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",placeholder:"\u091F\u0948\u0917...",put:"\u091F\u0948\u0917 \u0921\u093E\u0932\u0947\u0902",put_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u092E\u0947\u0902 \u091F\u0948\u0917 \u091C\u094B\u0921\u093C\u0947\u0902",set:"\u091F\u0948\u0917 \u0938\u0947\u091F \u0915\u0930\u0947\u0902",set_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u0947 \u091F\u0948\u0917 \u092C\u0926\u0932\u0947\u0902"},title:"\u0936\u0940\u0930\u094D\u0937\u0915",toggle_drawer:"\u0921\u094D\u0930\u0949\u0905\u0930 \u092C\u0926\u0932\u0947\u0902",votes_count_n:"{{count}} \u0935\u094B\u091F"},version:{bitmagnet_version:"bitmagnet \u0938\u0902\u0938\u094D\u0915\u0930\u0923 {{version}}",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924"}};var St={content_types:{plural:{all:"\u3059\u3079\u3066",audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",game:"\u30B2\u30FC\u30E0",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"},singular:{audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",game:"\u30B2\u30FC\u30E0",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"}},dashboard:{event:{created:"\u4F5C\u6210\u6E08\u307F",failed:"\u5931\u6557",processed:"\u51E6\u7406\u6E08\u307F",updated:"\u66F4\u65B0\u6E08\u307F"},interval:{all:"\u3059\u3079\u3066",days:"\u65E5",days_1:"1\u65E5",hours:"\u6642\u9593",hours_1:"1\u6642\u9593",hours_12:"12\u6642\u9593",hours_6:"6\u6642\u9593",minutes:"\u5206",minutes_1:"1\u5206",minutes_15:"15\u5206",minutes_30:"30\u5206",minutes_5:"5\u5206",off:"\u30AA\u30D5",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u9031\u9593"},metrics:{event:"\u30A4\u30D9\u30F3\u30C8",resolution:"\u89E3\u50CF\u5EA6",throughput:"\u30B9\u30EB\u30FC\u30D7\u30C3\u30C8",timeframe:"\u671F\u9593",toggle_legend:"\u51E1\u4F8B\u3092\u5207\u308A\u66FF\u3048"},queues:{created:"\u4F5C\u6210\u6E08\u307F",created_at:"\u4F5C\u6210\u65E5\u6642",enqueue_jobs:"\u30B8\u30E7\u30D6\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",enqueue_torrent_processing_batch:"\u30C8\u30EC\u30F3\u30C8\u51E6\u7406\u30D0\u30C3\u30C1\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",failed:"\u5931\u6557",force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",jobs_enqueued:"\u30AD\u30E5\u30FC\u306B\u8FFD\u52A0\u3055\u308C\u305F\u30B8\u30E7\u30D6",latency:"\u30EC\u30A4\u30C6\u30F3\u30B7",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",payload:"\u30DA\u30A4\u30ED\u30FC\u30C9",pending:"\u4FDD\u7559\u4E2D",priority:"\u512A\u5148\u9806\u4F4D",process_orphaned_torrents_only:"\u5B64\u7ACB\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u307F\u51E6\u7406\u3059\u308B",processed:"\u51E6\u7406\u6E08\u307F",purge_jobs:"\u30B8\u30E7\u30D6\u3092\u524A\u9664",purge_queue_jobs:"\u30AD\u30E5\u30FC\u5185\u306E\u30B8\u30E7\u30D6\u3092\u524A\u9664",queue:"\u30AD\u30E5\u30FC",queue_purged:"\u30AD\u30E5\u30FC\u304C\u30AF\u30EA\u30A2\u3055\u308C\u307E\u3057\u305F",queues:"\u30AD\u30E5\u30FC",ran_at:"\u5B9F\u884C\u6642\u523B",retry:"\u518D\u8A66\u884C",total_counts_by_status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3054\u3068\u306E\u7DCF\u6570"}},facets:{content_type:"\u30B3\u30F3\u30C6\u30F3\u30C4\u30BF\u30A4\u30D7",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",genre:"\u30B8\u30E3\u30F3\u30EB",language:"\u8A00\u8A9E",queue:"\u30AD\u30E5\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",torrent_source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",torrent_tag:"\u30C8\u30EC\u30F3\u30C8\u30BF\u30B0",video_resolution:"\u30D3\u30C7\u30AA\u89E3\u50CF\u5EA6",video_source:"\u30D3\u30C7\u30AA\u30BD\u30FC\u30B9"},file_types:{archive:"\u30A2\u30FC\u30AB\u30A4\u30D6",audio:"\u30AA\u30FC\u30C7\u30A3\u30AA",data:"\u30C7\u30FC\u30BF",document:"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8",image:"\u753B\u50CF",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",subtitles:"\u5B57\u5E55",unknown:"\u4E0D\u660E",video:"\u30D3\u30C7\u30AA"},general:{all:"\u3059\u3079\u3066",dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",none:"\u306A\u3057",page_not_found:"\u30DA\u30FC\u30B8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",refresh:"\u66F4\u65B0",status:"\u30B9\u30C6\u30FC\u30BF\u30B9"},health:{bitmagnet_is_status:"bitmagnet\u306F{{status}}\u3067\u3059",check_failed_with_error:"\u30A8\u30E9\u30FC\u3067\u30C1\u30A7\u30C3\u30AF\u306B\u5931\u6557\u3057\u307E\u3057\u305F",component:"\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",statuses:{degraded:"\u4F4E\u4E0B",down:"\u505C\u6B62",error:"\u30A8\u30E9\u30FC",inactive:"\u975E\u30A2\u30AF\u30C6\u30A3\u30D6",started:"\u958B\u59CB",unknown:"\u4FDD\u7559\u4E2D",up:"\u7A3C\u50CD\u4E2D"},summary:"\u5065\u5EB7\u72B6\u614B\u306E\u6982\u8981",worker:"\u30EF\u30FC\u30AB\u30FC",workers:{dht_crawler:"DHT\u30AF\u30ED\u30FC\u30E9\u30FC",http_server:"HTTP\u30B5\u30FC\u30D0\u30FC",queue_server:"\u30AD\u30E5\u30FC\u30B5\u30FC\u30D0\u30FC"}},languages:{af:"\u30A2\u30D5\u30EA\u30AB\u30FC\u30F3\u30B9\u8A9E",ar:"\u30A2\u30E9\u30D3\u30A2\u8A9E",az:"\u30A2\u30BC\u30EB\u30D0\u30A4\u30B8\u30E3\u30F3\u8A9E",be:"\u30D9\u30E9\u30EB\u30FC\u30B7\u8A9E",bg:"\u30D6\u30EB\u30AC\u30EA\u30A2\u8A9E",bs:"\u30DC\u30B9\u30CB\u30A2\u8A9E",ca:"\u30AB\u30BF\u30EB\u30FC\u30CB\u30E3\u8A9E",ce:"\u30C1\u30A7\u30C1\u30A7\u30F3\u8A9E",co:"\u30B3\u30EB\u30B7\u30AB\u8A9E",cs:"\u30C1\u30A7\u30B3\u8A9E",cy:"\u30A6\u30A7\u30FC\u30EB\u30BA\u8A9E",da:"\u30C7\u30F3\u30DE\u30FC\u30AF\u8A9E",de:"\u30C9\u30A4\u30C4\u8A9E",el:"\u30AE\u30EA\u30B7\u30E3\u8A9E",en:"\u82F1\u8A9E",es:"\u30B9\u30DA\u30A4\u30F3\u8A9E",et:"\u30A8\u30B9\u30C8\u30CB\u30A2\u8A9E",eu:"\u30D0\u30B9\u30AF\u8A9E",fa:"\u30DA\u30EB\u30B7\u30E3\u8A9E",fi:"\u30D5\u30A3\u30F3\u30E9\u30F3\u30C9\u8A9E",fr:"\u30D5\u30E9\u30F3\u30B9\u8A9E",he:"\u30D8\u30D6\u30E9\u30A4\u8A9E",hi:"\u30D2\u30F3\u30C7\u30A3\u30FC\u8A9E",hr:"\u30AF\u30ED\u30A2\u30C1\u30A2\u8A9E",hu:"\u30CF\u30F3\u30AC\u30EA\u30FC\u8A9E",hy:"\u30A2\u30EB\u30E1\u30CB\u30A2\u8A9E",id:"\u30A4\u30F3\u30C9\u30CD\u30B7\u30A2\u8A9E",is:"\u30A2\u30A4\u30B9\u30E9\u30F3\u30C9\u8A9E",it:"\u30A4\u30BF\u30EA\u30A2\u8A9E",ja:"\u65E5\u672C\u8A9E",ka:"\u30B0\u30EB\u30B8\u30A2\u8A9E",ko:"\u97D3\u56FD\u8A9E",ku:"\u30AF\u30EB\u30C9\u8A9E",lt:"\u30EA\u30C8\u30A2\u30CB\u30A2\u8A9E",lv:"\u30E9\u30C8\u30D3\u30A2\u8A9E",mi:"\u30DE\u30AA\u30EA\u8A9E",mk:"\u30DE\u30B1\u30C9\u30CB\u30A2\u8A9E",ml:"\u30DE\u30E9\u30E4\u30FC\u30E9\u30E0\u8A9E",mn:"\u30E2\u30F3\u30B4\u30EB\u8A9E",ms:"\u30DE\u30EC\u30FC\u8A9E",mt:"\u30DE\u30EB\u30BF\u8A9E",nl:"\u30AA\u30E9\u30F3\u30C0\u8A9E",no:"\u30CE\u30EB\u30A6\u30A7\u30FC\u8A9E",pl:"\u30DD\u30FC\u30E9\u30F3\u30C9\u8A9E",pt:"\u30DD\u30EB\u30C8\u30AC\u30EB\u8A9E",ro:"\u30EB\u30FC\u30DE\u30CB\u30A2\u8A9E",ru:"\u30ED\u30B7\u30A2\u8A9E",sa:"\u30B5\u30F3\u30B9\u30AF\u30EA\u30C3\u30C8",sk:"\u30B9\u30ED\u30D0\u30AD\u30A2\u8A9E",sl:"\u30B9\u30ED\u30D9\u30CB\u30A2\u8A9E",sm:"\u30B5\u30E2\u30A2\u8A9E",so:"\u30BD\u30DE\u30EA\u8A9E",sr:"\u30BB\u30EB\u30D3\u30A2\u8A9E",sv:"\u30B9\u30A6\u30A7\u30FC\u30C7\u30F3\u8A9E",ta:"\u30BF\u30DF\u30EB\u8A9E",th:"\u30BF\u30A4\u8A9E",tr:"\u30C8\u30EB\u30B3\u8A9E",uk:"\u30A6\u30AF\u30E9\u30A4\u30CA\u8A9E",vi:"\u30D9\u30C8\u30CA\u30E0\u8A9E",yi:"\u30A4\u30C7\u30A3\u30C3\u30B7\u30E5\u8A9E",zh:"\u4E2D\u56FD\u8A9E",zu:"\u30BA\u30FC\u30EB\u30FC\u8A9E"},layout:{bitmagnet_on_service:"{{service}}\u306Ebitmagnet",change_theme:"\u30C6\u30FC\u30DE\u3092\u5909\u66F4",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",sponsor:"\u30B9\u30DD\u30F3\u30B5\u30FC",support_bitmagnet:"bitmagnet\u3092\u30B5\u30DD\u30FC\u30C8",translate:"\u7FFB\u8A33\u3059\u308B"},paginator:{first_page:"\u6700\u521D\u306E\u30DA\u30FC\u30B8",items_per_page:"\u30DA\u30FC\u30B8\u3042\u305F\u308A\u306E\u9805\u76EE\u6570",last_page:"\u6700\u5F8C\u306E\u30DA\u30FC\u30B8",next_page:"\u6B21\u306E\u30DA\u30FC\u30B8",page_x:"\u30DA\u30FC\u30B8 {{x}}",previous_page:"\u524D\u306E\u30DA\u30FC\u30B8",x_to_y:"{{x}} \u304B\u3089 {{y}} \u307E\u3067",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u304B\u3089 {{y}} \u307E\u3067\u306E {{z}}"},routes:{admin:"\u7BA1\u7406\u8005",dashboard:"\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",home:"\u30DB\u30FC\u30E0",jobs:"\u30B8\u30E7\u30D6",queues:"\u30AD\u30E5\u30FC",torrents:"\u30C8\u30EC\u30F3\u30C8",visualize:"\u53EF\u8996\u5316"},torrents:{classification:"\u5206\u985E",clear_search:"\u691C\u7D22\u3092\u30AF\u30EA\u30A2",copy:"\u30B3\u30D4\u30FC",copy_to_clipboard:"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC",delete:"\u524A\u9664",delete_action_cannot_be_undone:"\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093",delete_are_you_sure:"\u3053\u306E\u30C8\u30EC\u30F3\u30C8\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",deselect_all:"\u3059\u3079\u3066\u306E\u9078\u629E\u3092\u89E3\u9664",download:"\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",download_confirm:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B?",edit_tags:"\u30BF\u30B0\u3092\u7DE8\u96C6",episodes:"\u30A8\u30D4\u30BD\u30FC\u30C9",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",file_index:"\u30D5\u30A1\u30A4\u30EB\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9",file_path:"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9",file_size:"\u30D5\u30A1\u30A4\u30EB\u30B5\u30A4\u30BA",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",files:"\u30D5\u30A1\u30A4\u30EB",files_count_n:"{{count}} \u4EF6\u306E\u30D5\u30A1\u30A4\u30EB",files_no_info:"\u30D5\u30A1\u30A4\u30EB\u60C5\u5831\u306F\u3042\u308A\u307E\u305B\u3093",files_single:"\u5358\u4E00\u30D5\u30A1\u30A4\u30EB",genres:"\u30B8\u30E3\u30F3\u30EB",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",info_hashes:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",languages:"\u8A00\u8A9E",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",magnet:"\u30DE\u30B0\u30CD\u30C3\u30C8",magnet_links:"\u30DE\u30B0\u30CD\u30C3\u30C8\u30EA\u30F3\u30AF",new_tag:"\u65B0\u3057\u3044\u30BF\u30B0",order_by:"\u4E26\u3073\u66FF\u3048",order_direction_toggle:"\u4E26\u3073\u9806\u3092\u5207\u308A\u66FF\u3048",ordering:{files_count:"\u30D5\u30A1\u30A4\u30EB\u6570",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",name:"\u540D\u524D",published_at:"\u516C\u958B\u65E5\u6642",relevance:"\u95A2\u9023\u6027",seeders:"\u30B7\u30FC\u30C0\u30FC",size:"\u30B5\u30A4\u30BA",updated_at:"\u66F4\u65B0\u65E5\u6642"},original_release_date:"\u30AA\u30EA\u30B8\u30CA\u30EB\u306E\u767A\u58F2\u65E5",permalink:"\u30D1\u30FC\u30DE\u30EA\u30F3\u30AF",poster:"\u30DD\u30B9\u30BF\u30FC",published:"\u516C\u958B\u6E08\u307F",rating:"\u8A55\u4FA1",refresh:"\u7D50\u679C\u3092\u66F4\u65B0",reprocess:{force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",reprocess:"\u518D\u51E6\u7406"},s_l:"S / L",search:"\u691C\u7D22",seeders:"\u30B7\u30FC\u30C0\u30FC",select_all:"\u3059\u3079\u3066\u9078\u629E",showing_x_of_y_files:"{{x}} \u4EF6\u4E2D {{y}} \u4EF6\u8868\u793A",size:"\u30B5\u30A4\u30BA",source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",summary:"\u6982\u8981",tags:{delete:"\u30BF\u30B0\u3092\u524A\u9664",delete_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u304B\u3089\u30BF\u30B0\u3092\u524A\u9664",placeholder:"\u30BF\u30B0...",put:"\u30BF\u30B0\u3092\u4ED8\u3051\u308B",put_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306B\u30BF\u30B0\u3092\u8FFD\u52A0\u3059\u308B",set:"\u30BF\u30B0\u3092\u8A2D\u5B9A\u3059\u308B",set_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u30BF\u30B0\u3092\u7F6E\u304D\u63DB\u3048\u308B"},title:"\u30BF\u30A4\u30C8\u30EB",toggle_drawer:"\u5F15\u304D\u51FA\u3057\u3092\u5207\u308A\u66FF\u3048",votes_count_n:"{{count}} \u7968"},version:{bitmagnet_version:"bitmagnet\u30D0\u30FC\u30B8\u30E7\u30F3 {{version}}",unknown:"\u4E0D\u660E"}};var Ct={content_types:{plural:{all:"Alle",audiobook:"Audioboeken",comic:"Strips",ebook:"E-Boeken",game:"Spellen",movie:"Films",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma's",xxx:"XXX"},singular:{audiobook:"Audioboek",comic:"Strip",ebook:"E-Book",game:"Spel",movie:"Film",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma",xxx:"XXX"}},dashboard:{event:{created:"Gemaakt",failed:"Mislukt",processed:"Verwerkt",updated:"Bijgewerkt"},interval:{all:"Alle",days:"Dagen",days_1:"1 dag",hours:"Uren",hours_1:"1 uur",hours_12:"12 uur",hours_6:"6 uur",minutes:"Minuten",minutes_1:"1 minuut",minutes_15:"15 minuten",minutes_30:"30 minuten",minutes_5:"5 minuten",off:"Uit",seconds_10:"10 seconden",seconds_30:"30 seconden",weeks_1:"1 week"},metrics:{event:"Gebeurtenis",resolution:"Resolutie",throughput:"Doorvoer",timeframe:"Tijdsperiode",toggle_legend:"Legenda in-/uitschakelen"},queues:{created:"Gemaakt",created_at:"Gemaakt op",enqueue_jobs:"Voeg taken toe aan wachtrij",enqueue_torrent_processing_batch:"Torrentverwerkingsbatch toevoegen",failed:"Mislukt",force_rematch:"Forceer nieuwe match van al gematchte inhoud",jobs_enqueued:"Taken in wachtrij gezet",latency:"Latentie",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",payload:"Inhoud",pending:"In afwachting",priority:"Prioriteit",process_orphaned_torrents_only:"Verwerk alleen verweesde torrents",processed:"Verwerkt",purge_jobs:"Wis taken",purge_queue_jobs:"Wis wachtrijtaken",queue:"Wachtrij",queue_purged:"Wachtrij gewist",queues:"Wachtrijen",ran_at:"Uitgevoerd op",retry:"Opnieuw proberen",total_counts_by_status:"Totaal aantal per status"}},facets:{content_type:"Inhoudstype",file_type:"Bestandstype",genre:"Genre",language:"Taal",queue:"Wachtrij",status:"Status",torrent_source:"Torrentbron",torrent_tag:"Torrenttag",video_resolution:"Videoresolutie",video_source:"Videobron"},file_types:{archive:"Archief",audio:"Audio",data:"Data",document:"Document",image:"Afbeelding",software:"Software",subtitles:"Ondertitels",unknown:"Onbekend",video:"Video"},general:{all:"Alle",dismiss:"Sluiten",error:"Fout",none:"Geen",page_not_found:"Pagina niet gevonden",refresh:"Verversen",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Controle mislukt met foutmelding",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Sluiten",error:"Fout",status:"Status",statuses:{degraded:"Verlaagd",down:"Niet beschikbaar",error:"Fout",inactive:"Inactief",started:"Gestart",unknown:"Onbekend",up:"Beschikbaar"},summary:"Gezondheidsrapport",worker:"Werker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Wachtrijserver"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Azerbeidzjaans",be:"Wit-Russisch",bg:"Bulgaars",bs:"Bosnisch",ca:"Catalaans",ce:"Tsjetsjeens",co:"Corsicaans",cs:"Tsjechisch",cy:"Welsh",da:"Deens",de:"Duits",el:"Grieks",en:"Engels",es:"Spaans",et:"Ests",eu:"Baskisch",fa:"Perzisch",fi:"Fins",fr:"Frans",he:"Hebreeuws",hi:"Hindi",hr:"Kroatisch",hu:"Hongaars",hy:"Armeens",id:"Indonesisch",is:"IJslands",it:"Italiaans",ja:"Japans",ka:"Georgisch",ko:"Koreaans",ku:"Koerdisch",lt:"Litouws",lv:"Lets",mi:"Maori",mk:"Macedonisch",ml:"Malayalam",mn:"Mongools",ms:"Maleis",mt:"Maltees",nl:"Nederlands",no:"Noors",pl:"Pools",pt:"Portugees",ro:"Roemeens",ru:"Russisch",sa:"Sanskriet",sk:"Slowaaks",sl:"Sloveens",sm:"Samoaans",so:"Somalisch",sr:"Servisch",sv:"Zweeds",ta:"Tamil",th:"Thais",tr:"Turks",uk:"Oekra\xEFens",vi:"Vietnamees",yi:"Jiddisch",zh:"Chinees",zu:"Zoeloe"},layout:{bitmagnet_on_service:"bitmagnet op {{service}}",change_theme:"Wijzig thema",external_links:"Externe links",sponsor:"Sponsor",support_bitmagnet:"Ondersteun bitmagnet",translate:"Vertalen"},paginator:{first_page:"Eerste pagina",items_per_page:"Items per pagina",last_page:"Laatste pagina",next_page:"Volgende pagina",page_x:"Pagina {{x}}",previous_page:"Vorige pagina",x_to_y:"{{x}} tot {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} tot {{y}} van {{z}}"},routes:{admin:"Beheerder",dashboard:"Dashboard",home:"Home",jobs:"Taken",queues:"Wachtrijen",torrents:"Torrents",visualize:"Visualiseren"},torrents:{classification:"Classificatie",clear_search:"Zoekopdracht wissen",copy:"Kopi\xEBren",copy_to_clipboard:"Kopi\xEBren naar klembord",delete:"Verwijderen",delete_action_cannot_be_undone:"Deze actie kan niet ongedaan worden gemaakt",delete_are_you_sure:"Weet u zeker dat u deze torrent wilt verwijderen?",deselect_all:"Deselecteer alles",download:"Downloaden",download_confirm:"Weet u zeker dat u de geselecteerde torrents wilt downloaden?",edit_tags:"Tags bewerken",episodes:"Afleveringen",external_links:"Externe links",file_index:"Bestandsindex",file_path:"Bestandspad",file_size:"Bestandsgrootte",file_type:"Bestandstype",files:"Bestanden",files_count_n:"{{count}} bestanden",files_no_info:"Geen informatie over bestanden beschikbaar",files_single:"Enkel bestand",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Talen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-links",new_tag:"Nieuwe tag",order_by:"Sorteren op",order_direction_toggle:"Richting omkeren",ordering:{files_count:"Aantal bestanden",info_hash:"Info hash",leechers:"Leechers",name:"Naam",published_at:"Gepubliceerd op",relevance:"Relevantie",seeders:"Seeders",size:"Grootte",updated_at:"Bijgewerkt op"},original_release_date:"Oorspronkelijke releasedatum",permalink:"Permalink",poster:"Poster",published:"Gepubliceerd",rating:"Beoordeling",refresh:"Vernieuw resultaten",reprocess:{force_rematch:"Forceer nieuwe match van al gematchte inhoud",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",reprocess:"Opnieuw verwerken"},s_l:"S / L",search:"Zoeken",seeders:"Seeders",select_all:"Alles selecteren",showing_x_of_y_files:"{{x}} van {{y}} bestanden weergegeven",size:"Grootte",source:"Torrentbron",summary:"Samenvatting",tags:{delete:"Tags verwijderen",delete_tip:"Tags verwijderen van de geselecteerde torrents",placeholder:"Tag...",put:"Tags plaatsen",put_tip:"Tags toevoegen aan de geselecteerde torrents",set:"Tags instellen",set_tip:"Tags van de geselecteerde torrents vervangen"},title:"Titel",toggle_drawer:"Zijpaneel in-/uitschakelen",votes_count_n:"{{count}} stemmen"},version:{bitmagnet_version:"bitmagnet versie {{version}}",unknown:"onbekend"}};var Mt={content_types:{plural:{all:"Todos",audiobook:"Audiolivros",comic:"Quadrinhos",ebook:"E-books",game:"Jogos",movie:"Filmes",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolivro",comic:"Quadrinho",ebook:"E-book",game:"Jogo",movie:"Filme",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Criado",failed:"Falhou",processed:"Processado",updated:"Atualizado"},interval:{all:"Todos",days:"Dias",days_1:"1 dia",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Desligado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resolu\xE7\xE3o",throughput:"Taxa de transfer\xEAncia",timeframe:"Intervalo de tempo",toggle_legend:"Alternar legenda"},queues:{created:"Criado",created_at:"Criado em",enqueue_jobs:"Enfileirar trabalhos",enqueue_torrent_processing_batch:"Enfileirar lote de processamento de torrents",failed:"Falhou",force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",jobs_enqueued:"Trabalhos enfileirados",latency:"Lat\xEAncia",match_content_by_external_api_search:"Correspond\xEAncia de conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Correspond\xEAncia de conte\xFAdo por pesquisa local",payload:"Carga \xFAtil",pending:"Pendente",priority:"Prioridade",process_orphaned_torrents_only:"Processar apenas torrents \xF3rf\xE3os",processed:"Processado",purge_jobs:"Limpar trabalhos",purge_queue_jobs:"Limpar trabalhos da fila",queue:"Fila",queue_purged:"Fila limpa",queues:"Filas",ran_at:"Executado em",retry:"Tentar novamente",total_counts_by_status:"Contagens totais por status"}},facets:{content_type:"Tipo de Conte\xFAdo",file_type:"Tipo de Arquivo",genre:"G\xEAnero",language:"Idioma",queue:"Fila",status:"Status",torrent_source:"Fonte do Torrent",torrent_tag:"Tag do Torrent",video_resolution:"Resolu\xE7\xE3o de V\xEDdeo",video_source:"Fonte de V\xEDdeo"},file_types:{archive:"Arquivo",audio:"\xC1udio",data:"Dados",document:"Documento",image:"Imagem",software:"Software",subtitles:"Legendas",unknown:"Desconhecido",video:"V\xEDdeo"},general:{all:"Todos",dismiss:"Fechar",error:"Erro",none:"Nenhum",page_not_found:"P\xE1gina n\xE3o encontrada",refresh:"Atualizar",status:"Status"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"Verifica\xE7\xE3o falhou com erro",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fechar",error:"Erro",status:"Status",statuses:{degraded:"Degradado",down:"Fora do ar",error:"Erro",inactive:"Inativo",started:"Iniciado",unknown:"Pendente",up:"Funcionando"},summary:"Resumo de Sa\xFAde",worker:"Trabalhador",workers:{dht_crawler:"Rastreamento DHT",http_server:"Servidor HTTP",queue_server:"Servidor de Fila"}},languages:{af:"Afric\xE2ner",ar:"\xC1rabe",az:"Azeri",be:"Bielorrusso",bg:"B\xFAlgaro",bs:"B\xF3snio",ca:"Catal\xE3o",ce:"Checheno",co:"Corso",cs:"Tcheco",cy:"Gal\xEAs",da:"Dinamarqu\xEAs",de:"Alem\xE3o",el:"Grego",en:"Ingl\xEAs",es:"Espanhol",et:"Estoniano",eu:"Basco",fa:"Persa",fi:"Finland\xEAs",fr:"Franc\xEAs",he:"Hebraico",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Arm\xEAnio",id:"Indon\xE9sio",is:"Island\xEAs",it:"Italiano",ja:"Japon\xEAs",ka:"Georgiano",ko:"Coreano",ku:"Curdo",lt:"Lituano",lv:"Let\xE3o",mi:"Maori",mk:"Maced\xF4nio",ml:"Malaiala",mn:"Mongol",ms:"Malaio",mt:"Malt\xEAs",nl:"Holand\xEAs",no:"Noruegu\xEAs",pl:"Polon\xEAs",pt:"Portugu\xEAs",ro:"Romeno",ru:"Russo",sa:"S\xE2nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somali",sr:"S\xE9rvio",sv:"Sueco",ta:"T\xE2mil",th:"Tailand\xEAs",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"I\xEDdiche",zh:"Chin\xEAs",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet em {{service}}",change_theme:"Alterar tema",external_links:"Links externos",sponsor:"Patrocinador",support_bitmagnet:"Apoiar bitmagnet",translate:"Traduzir"},paginator:{first_page:"Primeira p\xE1gina",items_per_page:"Itens por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"Pr\xF3xima p\xE1gina",page_x:"P\xE1gina {{x}}",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administra\xE7\xE3o",dashboard:"Painel",home:"In\xEDcio",jobs:"Tarefas",queues:"Filas",torrents:"Torrents",visualize:"Visualizar"},torrents:{classification:"Classifica\xE7\xE3o",clear_search:"Limpar Pesquisa",copy:"Copiar",copy_to_clipboard:"Copiar para a \xE1rea de transfer\xEAncia",delete:"Excluir",delete_action_cannot_be_undone:"Esta a\xE7\xE3o n\xE3o pode ser desfeita",delete_are_you_sure:"Tem certeza de que deseja excluir este torrent?",deselect_all:"Desmarcar todos",download:"Baixar",download_confirm:"Tem certeza de que deseja baixar os torrents selecionados?",edit_tags:"Editar tags",episodes:"Epis\xF3dios",external_links:"Links externos",file_index:"\xCDndice de arquivo",file_path:"Caminho do arquivo",file_size:"Tamanho do arquivo",file_type:"Tipo de arquivo",files:"Arquivos",files_count_n:"{{count}} arquivos",files_no_info:"Sem informa\xE7\xF5es de arquivos dispon\xEDveis",files_single:"Arquivo \xFAnico",genres:"G\xEAneros",info_hash:"Hash de informa\xE7\xE3o",info_hashes:"Hashes de informa\xE7\xE3o",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Links magnet",new_tag:"Nova tag",order_by:"Ordenar por",order_direction_toggle:"Inverter dire\xE7\xE3o",ordering:{files_count:"Contagem de arquivos",info_hash:"Hash de informa\xE7\xE3o",leechers:"Leechers",name:"Nome",published_at:"Publicado em",relevance:"Relev\xE2ncia",seeders:"Seeders",size:"Tamanho",updated_at:"Atualizado em"},original_release_date:"Data de lan\xE7amento original",permalink:"Link permanente",poster:"P\xF4ster",published:"Publicado",rating:"Classifica\xE7\xE3o",refresh:"Atualizar resultados",reprocess:{force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",match_content_by_external_api_search:"Corresponder conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Corresponder conte\xFAdo por pesquisa local",reprocess:"Reprocessar"},s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Selecionar tudo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} arquivos",size:"Tamanho",source:"Fonte do torrent",summary:"Resumo",tags:{delete:"Excluir tags",delete_tip:"Remover tags dos torrents selecionados",placeholder:"Tag...",put:"Colocar tags",put_tip:"Adicionar tags aos torrents selecionados",set:"Definir tags",set_tip:"Substituir tags dos torrents selecionados"},title:"T\xEDtulo",toggle_drawer:"Alternar gaveta",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"Vers\xE3o do bitmagnet {{version}}",unknown:"desconhecido"}};var Pt={content_types:{plural:{all:"\u0412\u0441\u0435",audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0438\u043A\u0441\u044B",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0435 \u043A\u043D\u0438\u0433\u0438",game:"\u0418\u0433\u0440\u044B",movie:"\u0424\u0438\u043B\u044C\u043C\u044B",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0438\u043A\u0441",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043A\u043D\u0438\u0433\u0430",game:"\u0418\u0433\u0440\u0430",movie:"\u0424\u0438\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",updated:"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0412\u0441\u0435",days:"\u0414\u043D\u0438",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0427\u0430\u0441\u044B",hours_1:"1 \u0447\u0430\u0441",hours_12:"12 \u0447\u0430\u0441\u043E\u0432",hours_6:"6 \u0447\u0430\u0441\u043E\u0432",minutes:"\u041C\u0438\u043D\u0443\u0442\u044B",minutes_1:"1 \u043C\u0438\u043D\u0443\u0442\u0430",minutes_15:"15 \u043C\u0438\u043D\u0443\u0442",minutes_30:"30 \u043C\u0438\u043D\u0443\u0442",minutes_5:"5 \u043C\u0438\u043D\u0443\u0442",off:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u043D\u0435\u0434\u0435\u043B\u044F"},metrics:{event:"\u0421\u043E\u0431\u044B\u0442\u0438\u0435",resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C",timeframe:"\u041F\u0435\u0440\u0438\u043E\u0434 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",toggle_legend:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043B\u0435\u0433\u0435\u043D\u0434\u0443"},queues:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",created_at:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E \u0432",enqueue_jobs:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",enqueue_torrent_processing_batch:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0430\u0440\u0442\u0438\u044E \u0434\u043B\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",jobs_enqueued:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",latency:"\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",payload:"\u0414\u0430\u043D\u043D\u044B\u0435",pending:"\u0412 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0438",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \xAB\u043E\u0441\u0438\u0440\u043E\u0442\u0435\u0432\u0448\u0438\u0435\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u043E\u0447\u0435\u0440\u0435\u0434\u0438",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",queue_purged:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",ran_at:"\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0432",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",total_counts_by_status:"\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",genre:"\u0416\u0430\u043D\u0440",language:"\u042F\u0437\u044B\u043A",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0432\u0438\u0434\u0435\u043E",video_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0432\u0438\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0438\u0432",audio:"\u0410\u0443\u0434\u0438\u043E",data:"\u0414\u0430\u043D\u043D\u044B\u0435",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",video:"\u0412\u0438\u0434\u0435\u043E"},general:{all:"\u0412\u0441\u0435",dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",none:"\u041D\u0435\u0442",page_not_found:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0421\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",down:"\u041D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",error:"\u041E\u0448\u0438\u0431\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u0435\u043D",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",up:"\u0420\u0430\u0431\u043E\u0442\u0430\u0435\u0442"},summary:"\u0421\u0432\u043E\u0434\u043A\u0430 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F",worker:"\u0420\u0430\u0431\u043E\u0447\u0438\u0439",workers:{dht_crawler:"DHT \u043E\u0431\u0445\u043E\u0434\u0447\u0438\u043A",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u043E\u0447\u0435\u0440\u0435\u0434\u0435\u0439"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u043A\u0438\u0439",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u043A\u0438\u0439",be:"\u0411\u0435\u043B\u043E\u0440\u0443\u0441\u0441\u043A\u0438\u0439",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u043A\u0438\u0439",bs:"\u0411\u043E\u0441\u043D\u0438\u0439\u0441\u043A\u0438\u0439",ca:"\u041A\u0430\u0442\u0430\u043B\u0430\u043D\u0441\u043A\u0438\u0439",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u043A\u0438\u0439",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u043A\u0438\u0439",cs:"\u0427\u0435\u0448\u0441\u043A\u0438\u0439",cy:"\u0412\u0430\u043B\u043B\u0438\u0439\u0441\u043A\u0438\u0439",da:"\u0414\u0430\u0442\u0441\u043A\u0438\u0439",de:"\u041D\u0435\u043C\u0435\u0446\u043A\u0438\u0439",el:"\u0413\u0440\u0435\u0447\u0435\u0441\u043A\u0438\u0439",en:"\u0410\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u0438\u0439",es:"\u0418\u0441\u043F\u0430\u043D\u0441\u043A\u0438\u0439",et:"\u042D\u0441\u0442\u043E\u043D\u0441\u043A\u0438\u0439",eu:"\u0411\u0430\u0441\u043A\u0441\u043A\u0438\u0439",fa:"\u041F\u0435\u0440\u0441\u0438\u0434\u0441\u043A\u0438\u0439",fi:"\u0424\u0438\u043D\u0441\u043A\u0438\u0439",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u0441\u043A\u0438\u0439",he:"\u0418\u0432\u0440\u0438\u0442",hi:"\u0425\u0438\u043D\u0434\u0438",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u043A\u0438\u0439",hu:"\u0412\u0435\u043D\u0433\u0435\u0440\u0441\u043A\u0438\u0439",hy:"\u0410\u0440\u043C\u044F\u043D\u0441\u043A\u0438\u0439",id:"\u0418\u043D\u0434\u043E\u043D\u0435\u0437\u0438\u0439\u0441\u043A\u0438\u0439",is:"\u0418\u0441\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",it:"\u0418\u0442\u0430\u043B\u044C\u044F\u043D\u0441\u043A\u0438\u0439",ja:"\u042F\u043F\u043E\u043D\u0441\u043A\u0438\u0439",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u043A\u0438\u0439",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u043A\u0438\u0439",ku:"\u041A\u0443\u0440\u0434\u0441\u043A\u0438\u0439",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u043A\u0438\u0439",lv:"\u041B\u0430\u0442\u044B\u0448\u0441\u043A\u0438\u0439",mi:"\u041C\u0430\u043E\u0440\u0438",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438\u0439",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u043A\u0438\u0439",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u043A\u0438\u0439",mt:"\u041C\u0430\u043B\u044C\u0442\u0438\u0439\u0441\u043A\u0438\u0439",nl:"\u041D\u0438\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",no:"\u041D\u043E\u0440\u0432\u0435\u0436\u0441\u043A\u0438\u0439",pl:"\u041F\u043E\u043B\u044C\u0441\u043A\u0438\u0439",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u043A\u0438\u0439",ro:"\u0420\u0443\u043C\u044B\u043D\u0441\u043A\u0438\u0439",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u043A\u0438\u0439",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u043A\u0438\u0439",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u043A\u0438\u0439",so:"\u0421\u043E\u043C\u0430\u043B\u0438\u0439\u0441\u043A\u0438\u0439",sr:"\u0421\u0435\u0440\u0431\u0441\u043A\u0438\u0439",sv:"\u0428\u0432\u0435\u0434\u0441\u043A\u0438\u0439",ta:"\u0422\u0430\u043C\u0438\u043B\u044C\u0441\u043A\u0438\u0439",th:"\u0422\u0430\u0439\u0441\u043A\u0438\u0439",tr:"\u0422\u0443\u0440\u0435\u0446\u043A\u0438\u0439",uk:"\u0423\u043A\u0440\u0430\u0438\u043D\u0441\u043A\u0438\u0439",vi:"\u0412\u044C\u0435\u0442\u043D\u0430\u043C\u0441\u043A\u0438\u0439",yi:"\u0418\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u043A\u0438\u0439",zu:"\u0417\u0443\u043B\u0443\u0441\u0441\u043A\u0438\u0439"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u043C\u0443",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044C bitmagnet",translate:"\u041F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0432\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",items_per_page:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",last_page:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",next_page:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",page_x:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 {{x}}",previous_page:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0438\u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F",home:"\u0413\u043B\u0430\u0432\u043D\u0430\u044F",jobs:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u044B",visualize:"\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F"},torrents:{classification:"\u041A\u043B\u0430\u0441\u0441\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A",copy:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",copy_to_clipboard:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",delete_action_cannot_be_undone:"\u042D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",delete_are_you_sure:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0421\u043D\u044F\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435",download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C",download_confirm:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B?",edit_tags:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u0433\u0438",episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",file_index:"\u0418\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0430",file_path:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",files:"\u0424\u0430\u0439\u043B\u044B",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u043E\u0432",files_no_info:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0444\u0430\u0439\u043B\u0430\u0445 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u044B",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",info_hashes:"\u0425\u044D\u0448\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",languages:"\u042F\u0437\u044B\u043A\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442 \u0441\u0441\u044B\u043B\u043A\u0438",new_tag:"\u041D\u043E\u0432\u044B\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E",order_direction_toggle:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",ordering:{files_count:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0444\u0430\u0439\u043B\u043E\u0432",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",name:"\u0418\u043C\u044F",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u044C",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",size:"\u0420\u0430\u0437\u043C\u0435\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F"},original_release_date:"\u041E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u0432\u044B\u043F\u0443\u0441\u043A\u0430",permalink:"\u041F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u0430\u044F \u0441\u0441\u044B\u043B\u043A\u0430",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B",reprocess:{force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",reprocess:"\u041F\u0435\u0440\u0435\u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C"},s_l:"S / L",search:"\u041F\u043E\u0438\u0441\u043A",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",select_all:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0438\u0437 {{y}} \u0444\u0430\u0439\u043B\u043E\u0432",size:"\u0420\u0430\u0437\u043C\u0435\u0440",source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0421\u0432\u043E\u0434\u043A\u0430",tags:{delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438",delete_tip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0438\u0437 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",placeholder:"\u0422\u0435\u0433...",put:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u043A \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430\u043C",set:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432"},title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",toggle_drawer:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u043E\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0438\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}};var zt={content_types:{plural:{all:"T\xFCm\xFC",audiobook:"Sesli Kitaplar",comic:"\xC7izgi Romanlar",ebook:"E-Kitaplar",game:"Oyunlar",movie:"Filmler",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Programlar\u0131",xxx:"XXX"},singular:{audiobook:"Sesli Kitap",comic:"\xC7izgi Roman",ebook:"E-Kitap",game:"Oyun",movie:"Film",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Program\u0131",xxx:"XXX"}},dashboard:{event:{created:"Olu\u015Fturuldu",failed:"Ba\u015Far\u0131s\u0131z",processed:"\u0130\u015Flendi",updated:"G\xFCncellendi"},interval:{all:"T\xFCm\xFC",days:"G\xFCnler",days_1:"1 g\xFCn",hours:"Saatler",hours_1:"1 saat",hours_12:"12 saat",hours_6:"6 saat",minutes:"Dakikalar",minutes_1:"1 dakika",minutes_15:"15 dakika",minutes_30:"30 dakika",minutes_5:"5 dakika",off:"Kapal\u0131",seconds_10:"10 saniye",seconds_30:"30 saniye",weeks_1:"1 hafta"},metrics:{event:"Olay",resolution:"\xC7\xF6z\xFCn\xFCrl\xFCk",throughput:"Verim",timeframe:"Zaman Dilimi",toggle_legend:"Efsaneyi De\u011Fi\u015Ftir"},queues:{created:"Olu\u015Fturuldu",created_at:"Olu\u015Fturulma tarihi",enqueue_jobs:"\u0130\u015Fleri Kuyru\u011Fa Al",enqueue_torrent_processing_batch:"Torrent \u0130\u015Fleme Paketini Kuyru\u011Fa Al",failed:"Ba\u015Far\u0131s\u0131z",force_rematch:"E\u015Fle\u015Fmi\u015F i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",jobs_enqueued:"Kuyru\u011Fa Al\u0131nan \u0130\u015Fler",latency:"Gecikme",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",payload:"Veri Y\xFCk\xFC",pending:"Beklemede",priority:"\xD6ncelik",process_orphaned_torrents_only:"Sadece sahipsiz torrentleri i\u015Fle",processed:"\u0130\u015Flendi",purge_jobs:"\u0130\u015Fleri Temizle",purge_queue_jobs:"Kuyruk \u0130\u015Flerini Temizle",queue:"Kuyruk",queue_purged:"Kuyruk Temizlendi",queues:"Kuyruklar",ran_at:"\xC7al\u0131\u015Ft\u0131r\u0131ld\u0131",retry:"Tekrar Dene",total_counts_by_status:"Duruma G\xF6re Toplam Say\u0131lar"}},facets:{content_type:"\u0130\xE7erik T\xFCr\xFC",file_type:"Dosya T\xFCr\xFC",genre:"T\xFCr",language:"Dil",queue:"Kuyruk",status:"Durum",torrent_source:"Torrent Kayna\u011F\u0131",torrent_tag:"Torrent Etiketi",video_resolution:"Video \xC7\xF6z\xFCn\xFCrl\xFC\u011F\xFC",video_source:"Video Kayna\u011F\u0131"},file_types:{archive:"Ar\u015Fiv",audio:"Ses",data:"Veri",document:"Belge",image:"G\xF6r\xFCnt\xFC",software:"Yaz\u0131l\u0131m",subtitles:"Altyaz\u0131lar",unknown:"Bilinmiyor",video:"Video"},general:{all:"T\xFCm\xFC",dismiss:"Kapat",error:"Hata",none:"Hi\xE7biri",page_not_found:"Sayfa Bulunamad\u0131",refresh:"Yenile",status:"Durum"},health:{bitmagnet_is_status:"bitmagnet durumu {{status}}",check_failed_with_error:"Hata ile kontrol ba\u015Far\u0131s\u0131z oldu",component:"Bile\u015Fen",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Kapat",error:"Hata",status:"Durum",statuses:{degraded:"Azalm\u0131\u015F",down:"Kapal\u0131",error:"Hata",inactive:"Etkin de\u011Fil",started:"Ba\u015Flad\u0131",unknown:"Bilinmiyor",up:"\xC7al\u0131\u015F\u0131yor"},summary:"Sa\u011Fl\u0131k \xD6zeti",worker:"\u0130\u015F\xE7i",workers:{dht_crawler:"DHT taray\u0131c\u0131",http_server:"HTTP sunucusu",queue_server:"Kuyruk sunucusu"}},languages:{af:"Afrikanca",ar:"Arap\xE7a",az:"Azerice",be:"Beyaz Rus\xE7a",bg:"Bulgarca",bs:"Bo\u015Fnak\xE7a",ca:"Katalanca",ce:"\xC7e\xE7ence",co:"Korsikaca",cs:"\xC7ek\xE7e",cy:"Galce",da:"Danca",de:"Almanca",el:"Yunanca",en:"\u0130ngilizce",es:"\u0130spanyolca",et:"Estonca",eu:"Bask\xE7a",fa:"Fars\xE7a",fi:"Fince",fr:"Frans\u0131zca",he:"\u0130branice",hi:"Hint\xE7e",hr:"H\u0131rvat\xE7a",hu:"Macarca",hy:"Ermenice",id:"Endonezce",is:"\u0130zlandaca",it:"\u0130talyanca",ja:"Japonca",ka:"G\xFCrc\xFCce",ko:"Korece",ku:"K\xFCrt\xE7e",lt:"Litvanca",lv:"Letonca",mi:"Maorice",mk:"Makedonca",ml:"Malayalamca",mn:"Mo\u011Folca",ms:"Malayca",mt:"Maltaca",nl:"Flemenk\xE7e",no:"Norve\xE7\xE7e",pl:"Leh\xE7e",pt:"Portekizce",ro:"Romence",ru:"Rus\xE7a",sa:"Sanskrit\xE7e",sk:"Slovak\xE7a",sl:"Slovence",sm:"Samoaca",so:"Somalice",sr:"S\u0131rp\xE7a",sv:"\u0130sve\xE7\xE7e",ta:"Tamilce",th:"Tayca",tr:"T\xFCrk\xE7e",uk:"Ukraynaca",vi:"Vietnamca",yi:"Yidi\u015F",zh:"\xC7ince",zu:"Zuluca"},layout:{bitmagnet_on_service:"{{service}} \xFCzerinde bitmagnet",change_theme:"Temay\u0131 De\u011Fi\u015Ftir",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",sponsor:"Sponsor",support_bitmagnet:"bitmagnet'i Destekle",translate:"\xC7evir"},paginator:{first_page:"\u0130lk Sayfa",items_per_page:"Sayfa ba\u015F\u0131na \xF6\u011Fe",last_page:"Son Sayfa",next_page:"Sonraki Sayfa",page_x:"{{x}}. Sayfa",previous_page:"\xD6nceki Sayfa",x_to_y:"{{x}} - {{y}} aras\u0131",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} ile {{y}} aras\u0131, toplam {{z}}"},routes:{admin:"Y\xF6netici",dashboard:"Kontrol Paneli",home:"Ana Sayfa",jobs:"G\xF6revler",queues:"Kuyruklar",torrents:"Torrentler",visualize:"G\xF6rselle\u015Ftir"},torrents:{classification:"S\u0131n\u0131fland\u0131rma",clear_search:"Aramay\u0131 Temizle",copy:"Kopyala",copy_to_clipboard:"Panoya Kopyala",delete:"Sil",delete_action_cannot_be_undone:"Bu i\u015Flem geri al\u0131namaz",delete_are_you_sure:"Bu torrent'i silmek istedi\u011Finizden emin misiniz?",deselect_all:"T\xFCm Se\xE7imleri Kald\u0131r",download:"\u0130ndir",download_confirm:"Se\xE7ilen torrentleri indirmek istedi\u011Finizden emin misiniz?",edit_tags:"Etiketleri D\xFCzenle",episodes:"B\xF6l\xFCmler",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",file_index:"Dosya Dizini",file_path:"Dosya Yolu",file_size:"Dosya Boyutu",file_type:"Dosya T\xFCr\xFC",files:"Dosyalar",files_count_n:"{{count}} dosya",files_no_info:"Dosya bilgisi mevcut de\u011Fil",files_single:"Tek dosya",genres:"T\xFCrler",info_hash:"Bilgi hash'i",info_hashes:"Bilgi hash'leri",languages:"Diller",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet Ba\u011Flant\u0131lar",new_tag:"Yeni etiket",order_by:"S\u0131ralama \xF6l\xE7\xFCt\xFC",order_direction_toggle:"Y\xF6n\xFC de\u011Fi\u015Ftir",ordering:{files_count:"Dosya say\u0131s\u0131",info_hash:"Bilgi hash'i",leechers:"Leechers",name:"Ad",published_at:"Yay\u0131nlanma tarihi",relevance:"Alaka d\xFCzeyi",seeders:"Seeders",size:"Boyut",updated_at:"G\xFCncellenme tarihi"},original_release_date:"Orijinal \xE7\u0131k\u0131\u015F tarihi",permalink:"Kal\u0131c\u0131 Ba\u011Flant\u0131",poster:"Poster",published:"Yay\u0131nland\u0131",rating:"Puan",refresh:"Sonu\xE7lar\u0131 Yenile",reprocess:{force_rematch:"Zaten e\u015Fle\u015Fen i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",reprocess:"Yeniden i\u015Fle"},s_l:"S / L",search:"Ara",seeders:"Seeders",select_all:"T\xFCm\xFCn\xFC Se\xE7",showing_x_of_y_files:"{{y}} dosyan\u0131n {{x}} tanesi g\xF6steriliyor",size:"Boyut",source:"Torrent Kayna\u011F\u0131",summary:"\xD6zet",tags:{delete:"Etiketleri sil",delete_tip:"Se\xE7ili torrentlerden etiketleri kald\u0131r",placeholder:"Etiket...",put:"Etiket koy",put_tip:"Se\xE7ili torrentlere etiket ekle",set:"Etiketleri ayarla",set_tip:"Se\xE7ili torrentlerin etiketlerini de\u011Fi\u015Ftir"},title:"Ba\u015Fl\u0131k",toggle_drawer:"\xC7ekmeceyi A\xE7/Kapat",votes_count_n:"{{count}} oy"},version:{bitmagnet_version:"bitmagnet versiyonu {{version}}",unknown:"bilinmiyor"}};var At={content_types:{plural:{all:"\u0423\u0441\u0456",audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0456\u043A\u0441\u0438",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0456 \u043A\u043D\u0438\u0433\u0438",game:"\u0406\u0433\u0440\u0438",movie:"\u0424\u0456\u043B\u044C\u043C\u0438",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0456\u043A\u0441",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043A\u043D\u0438\u0433\u0430",game:"\u0413\u0440\u0430",movie:"\u0424\u0456\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",updated:"\u041E\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0423\u0441\u0456",days:"\u0414\u043D\u0456",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0413\u043E\u0434\u0438\u043D\u0438",hours_1:"1 \u0433\u043E\u0434\u0438\u043D\u0430",hours_12:"12 \u0433\u043E\u0434\u0438\u043D",hours_6:"6 \u0433\u043E\u0434\u0438\u043D",minutes:"\u0425\u0432\u0438\u043B\u0438\u043D\u0438",minutes_1:"1 \u0445\u0432\u0438\u043B\u0438\u043D\u0430",minutes_15:"15 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_30:"30 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_5:"5 \u0445\u0432\u0438\u043B\u0438\u043D",off:"\u0412\u0438\u043C\u043A\u043D\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u0442\u0438\u0436\u0434\u0435\u043D\u044C"},metrics:{event:"\u041F\u043E\u0434\u0456\u044F",resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",timeframe:"\u041F\u0440\u043E\u043C\u0456\u0436\u043E\u043A \u0447\u0430\u0441\u0443",toggle_legend:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043B\u0435\u0433\u0435\u043D\u0434\u0443"},queues:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",created_at:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E \u043E",enqueue_jobs:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E \u0447\u0435\u0440\u0433\u0438",enqueue_torrent_processing_batch:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043F\u0430\u043A\u0435\u0442 \u0434\u043B\u044F \u043E\u0431\u0440\u043E\u0431\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",jobs_enqueued:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E\u0434\u0430\u043D\u043E \u0432 \u0447\u0435\u0440\u0433\u0443",latency:"\u0417\u0430\u0442\u0440\u0438\u043C\u043A\u0430",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",payload:"\u0414\u0430\u043D\u0456",pending:"\u0412 \u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u043D\u0456",priority:"\u041F\u0440\u0456\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u043E\u0431\u043B\u044F\u0442\u0438 \u043B\u0438\u0448\u0435 \xAB\u0441\u0438\u0440\u043E\u0442\u043B\u0438\u0432\u0456\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0447\u0435\u0440\u0433\u0438",queue:"\u0427\u0435\u0440\u0433\u0430",queue_purged:"\u0427\u0435\u0440\u0433\u0430 \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u0427\u0435\u0440\u0433\u0438",ran_at:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E \u043E",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438",total_counts_by_status:"\u0417\u0430\u0433\u0430\u043B\u044C\u043D\u0430 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0437\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C\u0438"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",genre:"\u0416\u0430\u043D\u0440",language:"\u041C\u043E\u0432\u0430",queue:"\u0427\u0435\u0440\u0433\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C \u0432\u0456\u0434\u0435\u043E",video_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0432\u0456\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0456\u0432",audio:"\u0410\u0443\u0434\u0456\u043E",data:"\u0414\u0430\u043D\u0456",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u0438",unknown:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",video:"\u0412\u0456\u0434\u0435\u043E"},general:{all:"\u0423\u0441\u0456",dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",none:"\u041D\u0435\u043C\u0430\u0454",page_not_found:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u043E\u044E",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0417\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u0456\u0441\u0442\u044C",down:"\u041D\u0435 \u043F\u0440\u0430\u0446\u044E\u0454",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u0438\u0439",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F",up:"\u041F\u0440\u0430\u0446\u044E\u0454"},summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F \u0441\u0442\u0430\u043D\u0443",worker:"\u041F\u0440\u0430\u0446\u0456\u0432\u043D\u0438\u043A",workers:{dht_crawler:"DHT \u0441\u043A\u0430\u043D\u0435\u0440",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u0447\u0435\u0440\u0433\u0438"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u044C\u043A\u0430",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0456\u043B\u043E\u0440\u0443\u0441\u044C\u043A\u0430",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u044C\u043A\u0430",bs:"\u0411\u043E\u0441\u043D\u0456\u0439\u0441\u044C\u043A\u0430",ca:"\u041A\u0430\u0442\u0430\u043B\u043E\u043D\u0441\u044C\u043A\u0430",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u044C\u043A\u0430",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u044C\u043A\u0430",cs:"\u0427\u0435\u0441\u044C\u043A\u0430",cy:"\u0412\u0430\u043B\u043B\u0456\u0439\u0441\u044C\u043A\u0430",da:"\u0414\u0430\u043D\u0441\u044C\u043A\u0430",de:"\u041D\u0456\u043C\u0435\u0446\u044C\u043A\u0430",el:"\u0413\u0440\u0435\u0446\u044C\u043A\u0430",en:"\u0410\u043D\u0433\u043B\u0456\u0439\u0441\u044C\u043A\u0430",es:"\u0406\u0441\u043F\u0430\u043D\u0441\u044C\u043A\u0430",et:"\u0415\u0441\u0442\u043E\u043D\u0441\u044C\u043A\u0430",eu:"\u0411\u0430\u0441\u043A\u0441\u044C\u043A\u0430",fa:"\u041F\u0435\u0440\u0441\u044C\u043A\u0430",fi:"\u0424\u0456\u043D\u0441\u044C\u043A\u0430",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u044C\u043A\u0430",he:"\u0406\u0432\u0440\u0438\u0442",hi:"\u0425\u0456\u043D\u0434\u0456",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u044C\u043A\u0430",hu:"\u0423\u0433\u043E\u0440\u0441\u044C\u043A\u0430",hy:"\u0412\u0456\u0440\u043C\u0435\u043D\u0441\u044C\u043A\u0430",id:"\u0406\u043D\u0434\u043E\u043D\u0435\u0437\u0456\u0439\u0441\u044C\u043A\u0430",is:"\u0406\u0441\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",it:"\u0406\u0442\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",ja:"\u042F\u043F\u043E\u043D\u0441\u044C\u043A\u0430",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u044C\u043A\u0430",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u044C\u043A\u0430",ku:"\u041A\u0443\u0440\u0434\u0441\u044C\u043A\u0430",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u044C\u043A\u0430",lv:"\u041B\u0430\u0442\u0438\u0441\u044C\u043A\u0430",mi:"\u041C\u0430\u043E\u0440\u0456",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u044C\u043A\u0430",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u044C\u043A\u0430",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u044C\u043A\u0430",mt:"\u041C\u0430\u043B\u044C\u0442\u0456\u0439\u0441\u044C\u043A\u0430",nl:"\u041D\u0456\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",no:"\u041D\u043E\u0440\u0432\u0435\u0437\u044C\u043A\u0430",pl:"\u041F\u043E\u043B\u044C\u0441\u044C\u043A\u0430",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u044C\u043A\u0430",ro:"\u0420\u0443\u043C\u0443\u043D\u0441\u044C\u043A\u0430",ru:"\u0420\u043E\u0441\u0456\u0439\u0441\u044C\u043A\u0430",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u044C\u043A\u0430",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u044C\u043A\u0430",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u044C\u043A\u0430",so:"\u0421\u043E\u043C\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",sr:"\u0421\u0435\u0440\u0431\u0441\u044C\u043A\u0430",sv:"\u0428\u0432\u0435\u0434\u0441\u044C\u043A\u0430",ta:"\u0422\u0430\u043C\u0456\u043B\u044C\u0441\u044C\u043A\u0430",th:"\u0422\u0430\u0439\u0441\u044C\u043A\u0430",tr:"\u0422\u0443\u0440\u0435\u0446\u044C\u043A\u0430",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",vi:"\u0412'\u0454\u0442\u043D\u0430\u043C\u0441\u044C\u043A\u0430",yi:"\u0407\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u044C\u043A\u0430",zu:"\u0417\u0443\u043B\u0443\u0441\u044C\u043A\u0430"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u043C\u0443",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u0456\u0434\u0442\u0440\u0438\u043C\u0430\u0442\u0438 bitmagnet",translate:"\u041F\u0435\u0440\u0435\u043A\u043B\u0430\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0448\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",items_per_page:"\u0415\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u0446\u0456",last_page:"\u041E\u0441\u0442\u0430\u043D\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",next_page:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",page_x:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 {{x}}",previous_page:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_y:"__\u043F\u0440\u043E\u043F\u0430\u0432__",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0456\u043D\u043D\u044F",home:"\u0413\u043E\u043B\u043E\u0432\u043D\u0430",jobs:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F",queues:"\u0427\u0435\u0440\u0433\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u0438",visualize:"\u0412\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0443\u0432\u0430\u0442\u0438"},torrents:{classification:"\u041A\u043B\u0430\u0441\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u044F",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043F\u043E\u0448\u0443\u043A",copy:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438",copy_to_clipboard:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0456\u043D\u0443",delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",delete_action_cannot_be_undone:"\u0426\u044E \u0434\u0456\u044E \u043D\u0435 \u043C\u043E\u0436\u043D\u0430 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438",delete_are_you_sure:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u0435\u0439 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0417\u043D\u044F\u0442\u0438 \u0432\u0438\u0434\u0456\u043B\u0435\u043D\u043D\u044F",download:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438",download_confirm:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0456 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438?",edit_tags:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u0435\u0433\u0438",episodes:"\u0415\u043F\u0456\u0437\u043E\u0434\u0438",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",file_index:"\u0406\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0443",file_path:"\u0428\u043B\u044F\u0445 \u0434\u043E \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u043E\u0437\u043C\u0456\u0440 \u0444\u0430\u0439\u043B\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",files:"\u0424\u0430\u0439\u043B\u0438",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u0456\u0432",files_no_info:"\u0406\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F \u043F\u0440\u043E \u0444\u0430\u0439\u043B\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u0438",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",info_hashes:"\u0425\u0435\u0448\u0456 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",languages:"\u041C\u043E\u0432\u0438",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442-\u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",new_tag:"\u041D\u043E\u0432\u0438\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430",order_direction_toggle:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043D\u0430\u043F\u0440\u044F\u043C\u043E\u043A",ordering:{files_count:"\u041A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0444\u0430\u0439\u043B\u0456\u0432",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",name:"\u041D\u0430\u0437\u0432\u0430",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0456\u043A\u0430\u0446\u0456\u0457",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0456\u0441\u0442\u044C",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",size:"\u0420\u043E\u0437\u043C\u0456\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F"},original_release_date:"\u0414\u0430\u0442\u0430 \u043E\u0440\u0438\u0433\u0456\u043D\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043F\u0443\u0441\u043A\u0443",permalink:"\u041F\u043E\u0441\u0442\u0456\u0439\u043D\u0435 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438",reprocess:{force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",reprocess:"\u041F\u0435\u0440\u0435\u0440\u043E\u0431\u0438\u0442\u0438"},s_l:"S / L",search:"\u041F\u043E\u0448\u0443\u043A",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",select_all:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0456",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0437 {{y}} \u0444\u0430\u0439\u043B\u0456\u0432",size:"\u0420\u043E\u0437\u043C\u0456\u0440",source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F",tags:{delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",delete_tip:"\u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0442\u0435\u0433\u0438 \u0437 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",placeholder:"\u0422\u0435\u0433\u0438...",put:"\u0421\u0442\u0430\u0432\u0442\u0435 \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0434\u0430\u0439\u0442\u0435 \u0442\u0435\u0433\u0438 \u0434\u043E \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",set:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u0433\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432"},title:"\u041D\u0430\u0437\u0432\u0430",toggle_drawer:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u0456\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0456\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0432\u0456\u0434\u043E\u043C\u043E"}};var qt={content_types:{plural:{all:"\u5168\u90E8",audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",game:"\u6E38\u620F",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"},singular:{audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",game:"\u6E38\u620F",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"}},dashboard:{event:{created:"\u5DF2\u521B\u5EFA",failed:"\u5931\u8D25",processed:"\u5DF2\u5904\u7406",updated:"\u5DF2\u66F4\u65B0"},interval:{all:"\u5168\u90E8",days:"\u5929",days_1:"1\u5929",hours:"\u5C0F\u65F6",hours_1:"1\u5C0F\u65F6",hours_12:"12\u5C0F\u65F6",hours_6:"6\u5C0F\u65F6",minutes:"\u5206\u949F",minutes_1:"1\u5206\u949F",minutes_15:"15\u5206\u949F",minutes_30:"30\u5206\u949F",minutes_5:"5\u5206\u949F",off:"\u5173\u95ED",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u5468"},metrics:{event:"\u4E8B\u4EF6",resolution:"\u5206\u8FA8\u7387",throughput:"\u541E\u5410\u91CF",timeframe:"\u65F6\u95F4\u8303\u56F4",toggle_legend:"\u5207\u6362\u56FE\u4F8B"},queues:{created:"\u5DF2\u521B\u5EFA",created_at:"\u521B\u5EFA\u4E8E",enqueue_jobs:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",enqueue_torrent_processing_batch:"\u52A0\u5165\u961F\u5217\u7684\u79CD\u5B50\u5904\u7406\u6279\u6B21",failed:"\u5931\u8D25",force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",jobs_enqueued:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",latency:"\u5EF6\u8FDF",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",payload:"\u6709\u6548\u8F7D\u8377",pending:"\u5F85\u5904\u7406",priority:"\u4F18\u5148\u7EA7",process_orphaned_torrents_only:"\u4EC5\u5904\u7406\u5B64\u7ACB\u7684\u79CD\u5B50",processed:"\u5DF2\u5904\u7406",purge_jobs:"\u6E05\u9664\u4EFB\u52A1",purge_queue_jobs:"\u6E05\u9664\u961F\u5217\u4EFB\u52A1",queue:"\u961F\u5217",queue_purged:"\u961F\u5217\u5DF2\u6E05\u9664",queues:"\u961F\u5217",ran_at:"\u8FD0\u884C\u4E8E",retry:"\u91CD\u8BD5",total_counts_by_status:"\u6309\u72B6\u6001\u7EDF\u8BA1\u603B\u6570"}},facets:{content_type:"\u5185\u5BB9\u7C7B\u578B",file_type:"\u6587\u4EF6\u7C7B\u578B",genre:"\u7C7B\u578B",language:"\u8BED\u8A00",queue:"\u961F\u5217",status:"\u72B6\u6001",torrent_source:"\u79CD\u5B50\u6765\u6E90",torrent_tag:"\u79CD\u5B50\u6807\u7B7E",video_resolution:"\u89C6\u9891\u5206\u8FA8\u7387",video_source:"\u89C6\u9891\u6765\u6E90"},file_types:{archive:"\u6863\u6848",audio:"\u97F3\u9891",data:"\u6570\u636E",document:"\u6587\u6863",image:"\u56FE\u50CF",software:"\u8F6F\u4EF6",subtitles:"\u5B57\u5E55",unknown:"\u672A\u77E5",video:"\u89C6\u9891"},general:{all:"\u5168\u90E8",dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",none:"\u65E0",page_not_found:"\u9875\u9762\u672A\u627E\u5230",refresh:"\u5237\u65B0",status:"\u72B6\u6001"},health:{bitmagnet_is_status:"bitmagnet\u662F{{status}}",check_failed_with_error:"\u68C0\u67E5\u5931\u8D25\uFF0C\u9519\u8BEF",component:"\u7EC4\u4EF6",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",status:"\u72B6\u6001",statuses:{degraded:"\u964D\u7EA7",down:"\u5173\u95ED",error:"\u9519\u8BEF",inactive:"\u4E0D\u6D3B\u8DC3",started:"\u5DF2\u542F\u52A8",unknown:"\u672A\u77E5",up:"\u8FD0\u884C\u4E2D"},summary:"\u5065\u5EB7\u6982\u8FF0",worker:"\u5DE5\u4F5C\u8005",workers:{dht_crawler:"DHT\u722C\u866B",http_server:"HTTP\u670D\u52A1\u5668",queue_server:"\u961F\u5217\u670D\u52A1\u5668"}},languages:{af:"\u5357\u975E\u8377\u5170\u8BED",ar:"\u963F\u62C9\u4F2F\u8BED",az:"\u963F\u585E\u62DC\u7586\u8BED",be:"\u767D\u4FC4\u7F57\u65AF\u8BED",bg:"\u4FDD\u52A0\u5229\u4E9A\u8BED",bs:"\u6CE2\u65AF\u5C3C\u4E9A\u8BED",ca:"\u52A0\u6CF0\u7F57\u5C3C\u4E9A\u8BED",ce:"\u8F66\u81E3\u8BED",co:"\u79D1\u897F\u5609\u8BED",cs:"\u6377\u514B\u8BED",cy:"\u5A01\u5C14\u58EB\u8BED",da:"\u4E39\u9EA6\u8BED",de:"\u5FB7\u8BED",el:"\u5E0C\u814A\u8BED",en:"\u82F1\u8BED",es:"\u897F\u73ED\u7259\u8BED",et:"\u7231\u6C99\u5C3C\u4E9A\u8BED",eu:"\u5DF4\u65AF\u514B\u8BED",fa:"\u6CE2\u65AF\u8BED",fi:"\u82AC\u5170\u8BED",fr:"\u6CD5\u8BED",he:"\u5E0C\u4F2F\u6765\u8BED",hi:"\u5370\u5730\u8BED",hr:"\u514B\u7F57\u5730\u4E9A\u8BED",hu:"\u5308\u7259\u5229\u8BED",hy:"\u4E9A\u7F8E\u5C3C\u4E9A\u8BED",id:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u8BED",is:"\u51B0\u5C9B\u8BED",it:"\u610F\u5927\u5229\u8BED",ja:"\u65E5\u8BED",ka:"\u683C\u9C81\u5409\u4E9A\u8BED",ko:"\u97E9\u8BED",ku:"\u5E93\u5C14\u5FB7\u8BED",lt:"\u7ACB\u9676\u5B9B\u8BED",lv:"\u62C9\u8131\u7EF4\u4E9A\u8BED",mi:"\u6BDB\u5229\u8BED",mk:"\u9A6C\u5176\u987F\u8BED",ml:"\u9A6C\u62C9\u96C5\u62C9\u59C6\u8BED",mn:"\u8499\u53E4\u8BED",ms:"\u9A6C\u6765\u8BED",mt:"\u9A6C\u8033\u4ED6\u8BED",nl:"\u8377\u5170\u8BED",no:"\u632A\u5A01\u8BED",pl:"\u6CE2\u5170\u8BED",pt:"\u8461\u8404\u7259\u8BED",ro:"\u7F57\u9A6C\u5C3C\u4E9A\u8BED",ru:"\u4FC4\u8BED",sa:"\u68B5\u8BED",sk:"\u65AF\u6D1B\u4F10\u514B\u8BED",sl:"\u65AF\u6D1B\u6587\u5C3C\u4E9A\u8BED",sm:"\u8428\u6469\u4E9A\u8BED",so:"\u7D22\u9A6C\u91CC\u8BED",sr:"\u585E\u5C14\u7EF4\u4E9A\u8BED",sv:"\u745E\u5178\u8BED",ta:"\u6CF0\u7C73\u5C14\u8BED",th:"\u6CF0\u8BED",tr:"\u571F\u8033\u5176\u8BED",uk:"\u4E4C\u514B\u5170\u8BED",vi:"\u8D8A\u5357\u8BED",yi:"\u610F\u7B2C\u7EEA\u8BED",zh:"\u4E2D\u6587",zu:"\u7956\u9C81\u8BED"},layout:{bitmagnet_on_service:"bitmagnet\u5728{{service}}",change_theme:"\u66F4\u6539\u4E3B\u9898",external_links:"\u5916\u90E8\u94FE\u63A5",sponsor:"\u8D5E\u52A9\u5546",support_bitmagnet:"\u652F\u6301bitmagnet",translate:"\u7FFB\u8BD1"},paginator:{first_page:"\u7B2C\u4E00\u9875",items_per_page:"\u6BCF\u9875\u9879\u76EE\u6570",last_page:"\u6700\u540E\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",page_x:"\u7B2C{{x}}\u9875",previous_page:"\u4E0A\u4E00\u9875",x_to_y:"{{x}}\u5230{{y}}",x_to_y_of_z:"{{x}}\u5230{{y}}\uFF0C\u5171{{z}}"},routes:{admin:"\u7BA1\u7406\u5458",dashboard:"\u4EEA\u8868\u76D8",home:"\u9996\u9875",jobs:"\u4EFB\u52A1",queues:"\u961F\u5217",torrents:"\u79CD\u5B50",visualize:"\u53EF\u89C6\u5316"},torrents:{classification:"\u5206\u7C7B",clear_search:"\u6E05\u9664\u641C\u7D22",copy:"\u590D\u5236",copy_to_clipboard:"\u590D\u5236\u5230\u526A\u8D34\u677F",delete:"\u5220\u9664",delete_action_cannot_be_undone:"\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500",delete_are_you_sure:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u6B64\u79CD\u5B50\u5417\uFF1F",deselect_all:"\u53D6\u6D88\u5168\u9009",download:"\u4E0B\u8F7D",download_confirm:"\u60A8\u786E\u5B9A\u8981\u4E0B\u8F7D\u9009\u5B9A\u7684\u79CD\u5B50\u5417\uFF1F",edit_tags:"\u7F16\u8F91\u6807\u7B7E",episodes:"\u5267\u96C6",external_links:"\u5916\u90E8\u94FE\u63A5",file_index:"\u6587\u4EF6\u7D22\u5F15",file_path:"\u6587\u4EF6\u8DEF\u5F84",file_size:"\u6587\u4EF6\u5927\u5C0F",file_type:"\u6587\u4EF6\u7C7B\u578B",files:"\u6587\u4EF6",files_count_n:"{{count}}\u4E2A\u6587\u4EF6",files_no_info:"\u65E0\u6587\u4EF6\u4FE1\u606F",files_single:"\u5355\u4E2A\u6587\u4EF6",genres:"\u7C7B\u578B",info_hash:"\u4FE1\u606F\u54C8\u5E0C",info_hashes:"\u4FE1\u606F\u54C8\u5E0C",languages:"\u8BED\u8A00",leechers:"\u4E0B\u8F7D\u8005",magnet:"\u78C1\u529B\u94FE\u63A5",magnet_links:"\u78C1\u529B\u94FE\u63A5",new_tag:"\u65B0\u6807\u7B7E",order_by:"\u6392\u5E8F\u4F9D\u636E",order_direction_toggle:"\u5207\u6362\u65B9\u5411",ordering:{files_count:"\u6587\u4EF6\u6570",info_hash:"\u4FE1\u606F\u54C8\u5E0C",leechers:"\u4E0B\u8F7D\u8005",name:"\u540D\u79F0",published_at:"\u53D1\u5E03\u4E8E",relevance:"\u76F8\u5173\u6027",seeders:"\u4E0A\u4F20\u8005",size:"\u5927\u5C0F",updated_at:"\u66F4\u65B0\u4E8E"},original_release_date:"\u539F\u59CB\u53D1\u5E03\u65E5\u671F",permalink:"\u6C38\u4E45\u94FE\u63A5",poster:"\u6D77\u62A5",published:"\u5DF2\u53D1\u5E03",rating:"\u8BC4\u5206",refresh:"\u5237\u65B0\u7ED3\u679C",reprocess:{force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",reprocess:"\u91CD\u65B0\u5904\u7406"},s_l:"S / L",search:"\u641C\u7D22",seeders:"\u4E0A\u4F20\u8005",select_all:"\u5168\u9009",showing_x_of_y_files:"\u663E\u793A{{x}}\u4E2A\uFF0C\u5171{{y}}\u4E2A\u6587\u4EF6",size:"\u5927\u5C0F",source:"\u79CD\u5B50\u6765\u6E90",summary:"\u6458\u8981",tags:{delete:"\u5220\u9664\u6807\u7B7E",delete_tip:"\u4ECE\u9009\u5B9A\u7684\u79CD\u5B50\u4E2D\u5220\u9664\u6807\u7B7E",placeholder:"\u6807\u7B7E...",put:"\u6DFB\u52A0\u6807\u7B7E",put_tip:"\u4E3A\u9009\u5B9A\u7684\u79CD\u5B50\u6DFB\u52A0\u6807\u7B7E",set:"\u8BBE\u7F6E\u6807\u7B7E",set_tip:"\u66FF\u6362\u9009\u5B9A\u79CD\u5B50\u7684\u6807\u7B7E"},title:"\u6807\u9898",toggle_drawer:"\u5207\u6362\u62BD\u5C49",votes_count_n:"{{count}}\u7968"},version:{bitmagnet_version:"bitmagnet\u7248\u672C{{version}}",unknown:"\u672A\u77E5"}};var ce={ar:bt,ca:yt,de:vt,en:kt,es:xt,fr:wt,hi:Tt,ja:St,nl:Ct,pt:Mt,ru:Pt,tr:zt,uk:At,zh:qt};var Et=(()=>{class t{getTranslation(e){return he(this,null,function*(){if(e in ce){let a=ce[e];return Dt(a)}else return Promise.reject(new Error(`Translation not found: ${e}`))})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ha=["__missing__","__fallback__"],Dt=t=>Object.fromEntries(Object.entries(t).flatMap(([r,e])=>{if(typeof e=="object")e=Dt(e);else if(typeof e=="string"&&ha.includes(e))return[];return[[r,e]]}));var It=[{path:"",pathMatch:"full",redirectTo:"torrents"},{path:"torrents",loadComponent:()=>import("./chunk-772YMJAF.js").then(t=>t.TorrentsComponent),children:[{path:"",loadComponent:()=>import("./chunk-E7M2745X.js").then(t=>t.TorrentsSearchComponent)},{path:"permalink/:infoHash",loadComponent:()=>import("./chunk-DZT5WVMO.js").then(t=>t.TorrentPermalinkComponent)}]},{path:"dashboard",loadComponent:()=>import("./chunk-ISB6LSNT.js").then(t=>t.DashboardComponent),children:[{path:"",loadComponent:()=>import("./chunk-WMBLMVKT.js").then(t=>t.DashboardHomeComponent)},{path:"queues",pathMatch:"full",redirectTo:"queues/visualize"},{path:"queues",loadComponent:()=>import("./chunk-BFXZYWVF.js").then(t=>t.QueueDashboardComponent),children:[{path:"visualize",loadComponent:()=>import("./chunk-OUPXCRLE.js").then(t=>t.QueueVisualizeComponent)},{path:"jobs",loadComponent:()=>import("./chunk-7SFHH767.js").then(t=>t.QueueJobsComponent)},{path:"admin",loadComponent:()=>import("./chunk-3IKCDSDW.js").then(t=>t.QueueAdminComponent)}]},{path:"torrents",loadComponent:()=>import("./chunk-SF7T53WL.js").then(t=>t.TorrentsDashboardComponent)}]},{path:"**",loadComponent:()=>import("./chunk-NJLU6UWE.js").then(t=>t.NotFoundComponent)}];var jt={providers:[ze({eventCoalescing:!0}),He(It,Ve()),pt("animations"),se(qe()),se(),Ye(()=>({link:c(gt).create({uri:ft}),cache:new We({typePolicies:{Query:{fields:{search:{merge(r,e){return A(A({},r),e)}}}}}})})),Ge({config:{availableLangs:[{id:"ar",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},{id:"ca",label:"Catal\xE0"},{id:"de",label:"Deutsch"},{id:"en",label:"English"},{id:"es",label:"Espa\xF1ol"},{id:"fr",label:"Fran\xE7ais"},{id:"hi",label:"\u0939\u093F\u0928\u094D\u0926\u0940"},{id:"ja",label:"\u65E5\u672C\u8A9E"},{id:"nl",label:"Nederlands"},{id:"pt",label:"Portugu\xEAs"},{id:"ru",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{id:"tr",label:"T\xFCrk\xE7e"},{id:"uk",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},{id:"zh",label:"\u4E2D\u6587"}],defaultLang:"en",fallbackLang:"en",missingHandler:{useFallbackTranslation:!0},reRenderOnLangChange:!0,prodMode:!1},loader:Et}),Ke(Ne())]};var pa=new O("Browser Storage",{providedIn:"root",factory:()=>localStorage}),W=(()=>{class t{constructor(e){this.storage=e}get(e){return this.storage.getItem(e)}set(e,a){this.storage.setItem(e,a)}remove(e){this.storage.removeItem(e)}clear(){this.storage.clear()}static{this.\u0275fac=function(a){return new(a||t)(G(pa))}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ga={classic:{key:"classic",label:"Classic",dark:!1},clean:{key:"clean",label:"Clean",dark:!1},neon:{key:"neon",label:"Neon",dark:!0},tundra:{key:"tundra",label:"Tundra",dark:!0}},J=ga,Ft="classic",Lt="tundra";var ue="bitmagnet-theme",Y=(()=>{class t{constructor(){this.document=c(K),this.browserStorage=c(W),this._window=this.document.defaultView,this.selectedThemeSubject=new pe(void 0),this.selectedTheme$=this.selectedThemeSubject.asObservable(),this.themes=Object.values(J),this.getPreferredTheme=()=>this.getStoredTheme()??this.getAutoTheme(),this.getStoredTheme=()=>{let e=this.browserStorage.get(ue);return e&&e in J?e:void 0},this.getAutoTheme=()=>this.windowMatchMediaPrefersDark()?.matches?Lt:Ft,this.setTheme=e=>{this.setActiveTheme(e),this.setStoredTheme(this.selectedTheme??"auto")},this.setActiveTheme=e=>{e==="auto"||!(e in J)?(e=this.getAutoTheme(),this.selectedTheme=void 0):this.selectedTheme=e,this.document.documentElement.setAttribute("data-bitmagnet-theme",e),this.selectedThemeSubject.next(this.selectedTheme)},this.setStoredTheme=e=>{e==="auto"?this.browserStorage.remove(ue):this.browserStorage.set(ue,e)},this.setActiveTheme(this.getPreferredTheme()),this.windowMatchMediaPrefersDark()?.addEventListener("change",()=>{this.getStoredTheme()||this.setActiveTheme(this.getAutoTheme())})}windowMatchMediaPrefersDark(){return this._window&&this._window.matchMedia?this._window.matchMedia("(prefers-color-scheme: dark)"):void 0}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ya=t=>({version:t});function va(t,r){if(t&1&&(E(0),i(1,"span",1),_(2),s(),D()),t&2){let e=r.$implicit,a=h();l(),g("matTooltip",e("version.bitmagnet_version",Pe(2,ya,a.versionUnknown?e("version.unknown"):a.version))),l(),b(a.version)}}var de="v-unknown",Bt=(()=>{class t{constructor(){this.apollo=c(Je),this.version=de,this.versionUnknown=!0}ngOnInit(){this.apollo.query({query:tt}).pipe(ge(e=>e.data.version)).subscribe({next:e=>{e?(this.version=e,this.versionUnknown=!1):(this.version=de,this.versionUnknown=!0)},error:()=>{this.version=de}})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-version"]],standalone:!0,features:[y],decls:1,vars:0,consts:[[4,"transloco"],[1,"version",3,"matTooltip"]],template:function(a,o){a&1&&q(0,va,3,4,"ng-container",0)},dependencies:[U,Q,X,at],encapsulation:2})}}return t})();var Rt="bitmagnet-language",Ht=(()=>{class t{constructor(){this.transloco=c(Oe),this.browserStorage=c(W),this.availableLanguages=this.transloco.getAvailableLangs(),this.transloco.setActiveLang(this.getPreferredLanguage())}getPreferredLanguage(){return this.getStoredLanguage()??this.getAutoLanguage()}getStoredLanguage(){let e=this.browserStorage.get(Rt);return e&&this.transloco.isLang(e)?e:void 0}getAutoLanguage(){let e=navigator?.language?.split("-")?.[0];return this.transloco.isLang(e)?e:"en"}setLanguage(e){this.transloco.setActiveLang(e),this.browserStorage.set(Rt,e)}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ka=["element"],_e=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-theme-emitter-color"]],viewQuery:function(a,o){if(a&1&&R(ka,5),a&2){let n;H(n=V())&&(o.element=n.first)}},inputs:{color:"color"},standalone:!0,features:[y],decls:2,vars:2,consts:[["element",""]],template:function(a,o){a&1&&m(0,"div",null,0),a&2&&S("theme-emitter-color "+o.color)},encapsulation:2})}}return t})();var xa=["lightdark"];function wa(t,r){if(t&1&&m(0,"app-theme-emitter-color",1),t&2){let e=r.$implicit;g("color",e)}}var Vt=(()=>{class t{constructor(){this.service=c(ht),this.themeManager=c(Y),this.themeColors=mt,this.themeManager.selectedTheme$.subscribe(()=>{this.updateThemeColors()})}ngAfterViewInit(){this.updateThemeColors()}updateThemeColors(){let e={};for(let o of this.elements??[])e[o.color]=getComputedStyle(o.element.nativeElement).color;let a=this.lightdark&&getComputedStyle(this.lightdark.nativeElement).color==="rgb(0, 0, 0)"?"dark":"light";this.service.setInfo({colors:e,type:a})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-theme-emitter"]],viewQuery:function(a,o){if(a&1&&(R(xa,5),R(_e,5)),a&2){let n;H(n=V())&&(o.lightdark=n.first),H(n=V())&&(o.elements=n)}},standalone:!0,features:[y],decls:5,vars:0,consts:[["lightdark",""],[3,"color"],[1,"theme-emitter-lightdark"]],template:function(a,o){a&1&&(E(0),L(1,wa,1,1,"app-theme-emitter-color",1,Se),m(3,"div",2,0),D()),a&2&&(l(),B(o.themeColors))},dependencies:[_e],styles:["[_nghost-%COMP%]{display:none}.theme-emitter-color.background[_ngcontent-%COMP%]{color:var(--mat-app-background-color)}.theme-emitter-color.foreground[_ngcontent-%COMP%]{color:var(--mat-app-text-color)}"]})}}return t})();var Sa=["*"],Ca=(t,r)=>r.key,Ma=(t,r)=>r.id,Pa=()=>({service:"Discord"}),za=()=>({service:"GitHub"}),Aa=()=>({service:"OpenCollective"});function qa(t,r){if(t&1&&(i(0,"h1")(1,"a",22),m(2,"mat-icon",23),i(3,"span",24),_(4,"bitmagnet"),s(),m(5,"app-version"),s()(),i(6,"nav")(7,"a",25,3),m(9,"mat-icon",23),_(10),s(),i(11,"a",26,4)(13,"mat-icon"),_(14,"dashboard"),s(),_(15),s()()),t&2){let e=z(8),a=z(12),o=h().$implicit;l(7),S(e.isActive?"active":""),l(3),oe(" ",o("routes.torrents")," "),l(),S(a.isActive?"active":""),l(4),oe(" ",o("routes.dashboard")," ")}}function Ea(t,r){if(t&1&&(i(0,"h1")(1,"a",27),m(2,"mat-icon",23),s()(),i(3,"button",28,4)(5,"mat-icon"),_(6,"dashboard"),s()()),t&2){let e=z(4),a=h().$implicit;l(3),S(e.isActive?"active":""),g("matTooltip",a("routes.dashboard"))}}function Da(t,r){if(t&1){let e=ae();i(0,"a",29),re("click",function(){let o=Z(e).$implicit,n=h(2);return $(n.themeManager.setTheme(o.key))}),i(1,"mat-icon"),_(2),s(),_(3),s()}if(t&2){let e=r.$implicit,a=h(2);S(e.key===a.themeManager.selectedTheme?"active":""),l(2),b(e.dark?"dark_mode":"light_mode"),l(),b(e.label)}}function Ia(t,r){if(t&1){let e=ae();i(0,"a",30),re("click",function(){let o=Z(e).$implicit,n=h(2);return $(n.translateManager.setLanguage(o.id))}),_(1),s()}if(t&2){let e=r.$implicit,a=h().$implicit,o=h();S(e.id===o.translateManager.getPreferredLanguage()?"active":""),g("matTooltip",e.id===o.translateManager.getPreferredLanguage()?void 0:a("languages."+e.id)),l(),b(e.label)}}function ja(t,r){if(t&1&&(i(0,"a",19)(1,"mat-icon"),_(2,"favorite"),s()()),t&2){let e=h().$implicit;g("matTooltip",e("layout.sponsor"))}}function Fa(t,r){if(t&1&&(i(0,"a",20)(1,"mat-icon"),_(2,"favorite"),s(),_(3),s()),t&2){let e=h().$implicit;g("matTooltip",e("layout.support_bitmagnet")),l(3),b(e("layout.sponsor"))}}function La(t,r){if(t&1&&(E(0),i(1,"mat-toolbar",6),q(2,qa,16,6)(3,Ea,7,3),m(4,"span",7)(5,"app-health-widget"),i(6,"button",8)(7,"mat-icon"),_(8,"apparel"),s()(),i(9,"mat-menu",9,0),L(11,Da,4,4,"a",10,Ca),s(),i(13,"button",11)(14,"mat-icon"),_(15,"translate"),s()(),i(16,"mat-menu",9,1),L(18,Ia,2,4,"a",12,Ma),s(),i(20,"button",13),m(21,"mat-icon",14),s(),i(22,"mat-menu",9,2)(24,"a",15),_(25,"bitmagnet.io"),s(),i(26,"a",16),_(27),s(),i(28,"a",17),_(29),s(),i(30,"a",18),_(31),s()(),q(32,ja,3,1,"a",19)(33,Fa,4,2,"a",20),s(),i(34,"div",21),Me(35),s(),m(36,"app-theme-emitter"),D()),t&2){let e=r.$implicit,a=z(10),o=z(17),n=z(23),u=h();l(2),te(u.breakpoints.sizeAtLeast("Medium")?2:3),l(4),g("matMenuTriggerFor",a)("matTooltip",e("layout.change_theme")),l(5),B(u.themeManager.themes),l(2),g("matMenuTriggerFor",o)("matTooltip",e("layout.translate")),l(5),B(u.translateManager.availableLanguages),l(2),g("matTooltip",e("layout.external_links"))("matMenuTriggerFor",n),l(7),b(e("layout.bitmagnet_on_service",N(11,Pa))),l(2),b(e("layout.bitmagnet_on_service",N(12,za))),l(2),b(e("layout.bitmagnet_on_service",N(13,Aa))),l(),te(u.breakpoints.sizeAtLeast("Medium")?33:32)}}var Ot=(()=>{class t{constructor(){this.themeManager=c(Y),this.translateManager=c(Ht),this.breakpoints=c(ct),this.title=c(Ie),this.router=c(Le),this.health=c(ut)}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-layout"]],standalone:!0,features:[y],ngContentSelectors:Sa,decls:1,vars:0,consts:[["themesMenu","matMenu"],["languagesMenu","matMenu"],["externalLinksMenu","matMenu"],["linkTorrents","routerLinkActive"],["linkDashboard","routerLinkActive"],[4,"transloco"],[1,"toolbar-header"],[1,"spacer"],["mat-icon-button","","aria-label","Theme",3,"matMenuTriggerFor","matTooltip"],[1,"layout-header-menu"],["mat-menu-item","",3,"class"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","class"],["mat-icon-button","",3,"matTooltip","matMenuTriggerFor"],["svgIcon","external-link"],["mat-menu-item","","href","https://bitmagnet.io","target","_blank"],["mat-menu-item","","href","https://discord.gg/6mFNszX8qM","target","_blank"],["mat-menu-item","","href","https://github.com/bitmagnet-io/bitmagnet","target","_blank"],["mat-menu-item","","href","https://opencollective.com/bitmagnet","target","_blank"],["mat-icon-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],["mat-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],[1,"app-content"],["routerLink","torrents"],["svgIcon","magnet"],[1,"name"],["mat-button","","routerLink","torrents","routerLinkActive",""],["mat-button","","routerLink","dashboard","routerLinkActive",""],["routerLink","/torrents"],["mat-icon-button","","routerLink","dashboard","routerLinkActive","",3,"matTooltip"],["mat-menu-item","",3,"click"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click","matTooltip"]],template:function(a,o){a&1&&(Ce(),q(0,La,37,14,"ng-container",5))},dependencies:[U,Ze,et,$e,ot,st,nt,it,lt,Q,Be,Re,X,_t,dt,Vt,Bt],styles:[".mat-toolbar.toolbar-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:10;--mat-toolbar-title-text-size: 22px;--mat-toolbar-standard-height: 56px;--mat-icon-color: #fff;padding:0 20px;--mdc-text-button-label-text-size: 15px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:-2px;margin-right:20px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:4px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{margin-left:10px;margin-right:16px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] app-version[_ngcontent-%COMP%]{font-size:13px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]{margin-left:6px;--mdc-text-button-label-text-weight: bold;--mat-text-button-horizontal-padding: 12px;--mdc-text-button-container-height: 30px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{position:absolute;left:340px;top:0;height:56px;padding-top:14px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:10px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] mat-icon[data-mat-icon-name=magnet][_ngcontent-%COMP%]{margin-top:-5px;overflow:visible}.app-content[_ngcontent-%COMP%]{z-index:1;padding-bottom:10px}.layout-header-menu[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{font-weight:700}"]})}}return t})();var Gt=(t,r)=>t.setDefaultFontSetClass("material-icons-outlined","material-symbols-outlined").addSvgIcon("magnet",r.bypassSecurityTrustResourceUrl("magnet.svg")).addSvgIcon("external-link",r.bypassSecurityTrustResourceUrl("external-link.svg")).addSvgIcon("binary",r.bypassSecurityTrustResourceUrl("binary.svg")).addSvgIcon("queue",r.bypassSecurityTrustResourceUrl("queue.svg"));var Nt=(()=>{class t{constructor(e,a){this.title="bitmagnet",Gt(e,a)}static{this.\u0275fac=function(a){return new(a||t)(ee(rt),ee(je))}}static{this.\u0275cmp=f({type:t,selectors:[["app-root"]],standalone:!0,features:[y],decls:2,vars:0,template:function(a,o){a&1&&(i(0,"app-layout"),m(1,"router-outlet"),s())},dependencies:[Fe,Ot]})}}return t})();De(Nt,jt).catch(t=>console.error(t)); diff --git a/webui/dist/bitmagnet/browser/main-BAOK3W2A.js b/webui/dist/bitmagnet/browser/main-BAOK3W2A.js deleted file mode 100644 index 0e84f634..00000000 --- a/webui/dist/bitmagnet/browser/main-BAOK3W2A.js +++ /dev/null @@ -1 +0,0 @@ -import{a as Ne,b as Ke,d as mt,e as ht}from"./chunk-Y7K23DTG.js";import{a as ct}from"./chunk-P4IGP6ZM.js";import{a as ut,c as dt,d as _t}from"./chunk-EBLD3IWA.js";import{Aa as it,Da as lt,Ea as Q,N as tt,P as ot,_a as U,a as Ve,b as X,c as Ge,d as Xe,e as Qe,f as Ue,g as We,h as Je,i as Ye,u as Ze,va as rt,w as $e,wa as at,x as et,ya as nt,za as st}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import{a as ne,b as Pe,c as se,d as qe,e as Ee,f as De,g as Ie,h as je,j as Fe,k as Le,l as Be,m as He,n as Re,o as Oe}from"./chunk-CMNWCZJM.js";import{$b as h,B as ge,Cb as q,Ea as Z,Fa as $,Gc as Ae,Hb as g,Kb as S,Mb as te,Nb as Se,Oa as ye,Ob as L,Pb as B,Qb as i,Rb as s,Sb as m,Tb as E,Tc as K,Ub as D,Wa as ve,Wb as oe,Zb as re,a as P,ac as Ce,bc as Me,d as he,ec as H,fc as R,gc as O,h as F,ia as fe,jc as A,ka as p,kb as l,kc as _,l as pe,lb as ee,lc as b,mb as ke,mc as ae,na as V,ob as xe,pa as G,pc as y,qa as c,qb as we,qc as N,rc as ze,tb as Te,ua as f,ya as be}from"./chunk-Z3WUIYN5.js";var Kt="@",Xt=(()=>{class t{constructor(e,o,a,n,u){this.doc=e,this.delegate=o,this.zone=a,this.animationType=n,this.moduleImpl=u,this._rendererFactoryPromise=null,this.scheduler=c(xe,{optional:!0}),this.loadingSchedulerFn=c(Qt,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-KZMLKX77.js").then(a=>a),o;return this.loadingSchedulerFn?o=this.loadingSchedulerFn(e):o=e(),o.catch(a=>{throw new fe(5300,!1)}).then(({\u0275createEngine:a,\u0275AnimationRendererFactory:n})=>{this._engine=a(this.animationType,this.doc);let u=new n(this.delegate,this._engine,this.zone);return this.delegate=u,u})}createRenderer(e,o){let a=this.delegate.createRenderer(e,o);if(a.\u0275type===0)return a;typeof a.throwOnSyntheticProps=="boolean"&&(a.throwOnSyntheticProps=!1);let n=new ie(a);return o?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(u=>{let x=u.createRenderer(e,o);n.use(x),this.scheduler?.notify(10)}).catch(u=>{n.use(a)}),n}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static{this.\u0275fac=function(o){ke()}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac})}}return t})(),ie=class{constructor(r){this.delegate=r,this.replay=[],this.\u0275type=1}use(r){if(this.delegate=r,this.replay!==null){for(let e of this.replay)e(r);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(r,e){return this.delegate.createElement(r,e)}createComment(r){return this.delegate.createComment(r)}createText(r){return this.delegate.createText(r)}get destroyNode(){return this.delegate.destroyNode}appendChild(r,e){this.delegate.appendChild(r,e)}insertBefore(r,e,o,a){this.delegate.insertBefore(r,e,o,a)}removeChild(r,e,o){this.delegate.removeChild(r,e,o)}selectRootElement(r,e){return this.delegate.selectRootElement(r,e)}parentNode(r){return this.delegate.parentNode(r)}nextSibling(r){return this.delegate.nextSibling(r)}setAttribute(r,e,o,a){this.delegate.setAttribute(r,e,o,a)}removeAttribute(r,e,o){this.delegate.removeAttribute(r,e,o)}addClass(r,e){this.delegate.addClass(r,e)}removeClass(r,e){this.delegate.removeClass(r,e)}setStyle(r,e,o,a){this.delegate.setStyle(r,e,o,a)}removeStyle(r,e,o){this.delegate.removeStyle(r,e,o)}setProperty(r,e,o){this.shouldReplay(e)&&this.replay.push(a=>a.setProperty(r,e,o)),this.delegate.setProperty(r,e,o)}setValue(r,e){this.delegate.setValue(r,e)}listen(r,e,o){return this.shouldReplay(e)&&this.replay.push(a=>a.listen(r,e,o)),this.delegate.listen(r,e,o)}shouldReplay(r){return this.replay!==null&&r.startsWith(Kt)}},Qt=new V("");function pt(t="animations"){return Te("NgAsyncAnimations"),be([{provide:we,useFactory:(r,e,o)=>new Xt(r,e,o,t),deps:[K,Ee,ye]},{provide:ve,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Ut=(t,r,e)=>{let o=["POST","PUT","PATCH"].indexOf(t.method.toUpperCase())!==-1,a=d=>["variables","extensions"].indexOf(d.toLowerCase())!==-1,n=t.body.length,u=t.options&&t.options.useMultipart,x;if(u){if(n)return new F(d=>d.error(new Error("File upload is not available when combined with Batching")));if(!o)return new F(d=>d.error(new Error("File upload is not available when GET is used")));if(!e)return new F(d=>d.error(new Error(`To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink's options`)));x=e(t.body),u=!!x.files.size}let w={};if(n){if(!o)return new F(d=>d.error(new Error("Batching is not available for GET requests")));w={body:t.body}}else{let d=u?x.clone:t.body;o?w={body:d}:w={params:Object.keys(t.body).reduce((C,k)=>{let M=t.body[k];return C[k]=a(k)?JSON.stringify(M):M,C},{})}}if(u&&o){let d=new FormData;d.append("operations",JSON.stringify(w.body));let j={},C=x.files,k=0;C.forEach(M=>{j[++k]=M}),d.append("map",JSON.stringify(j)),k=0,C.forEach((M,T)=>{d.append(++k+"",T,T.name)}),w.body=d}return r.request(t.method,t.url,P(P({observe:"response",responseType:"json",reportProgress:!1},w),t.options))},Wt=(t,r)=>t&&r?r.keys().reduce((o,a)=>o.set(a,r.getAll(a)),t):r||t;function Jt(...t){return t.find(r=>typeof r<"u")}function Yt(t){let r=t.headers&&t.headers instanceof ne?t.headers:new ne(t.headers);if(t.clientAwareness){let{name:e,version:o}=t.clientAwareness;e&&!r.has("apollographql-client-name")&&(r=r.set("apollographql-client-name",e)),o&&!r.has("apollographql-client-version")&&(r=r.set("apollographql-client-version",o))}return r}var Zt={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function I(t,r,e){return Jt(t[e],r[e],Zt[e])}var le=class extends Ue{httpClient;options;requester;print=Xe;constructor(r,e){super(),this.httpClient=r,this.options=e,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=o=>new Qe(a=>{let n=o.getContext(),u=I(n,this.options,"method"),x=I(n,this.options,"includeQuery"),w=I(n,this.options,"includeExtensions"),d=I(n,this.options,"uri"),j=I(n,this.options,"withCredentials"),C=I(n,this.options,"useMultipart"),k=this.options.useGETForQueries===!0,M=o.query.definitions.some(z=>z.kind==="OperationDefinition"&&z.operation==="query");k&&M&&(u="GET");let T={method:u,url:typeof d=="function"?d(o):d,body:{operationName:o.operationName,variables:o.variables},options:{withCredentials:j,useMultipart:C,headers:this.options.headers}};w&&(T.body.extensions=o.extensions),x&&(T.body.query=this.print(o.query));let Nt=Yt(n);T.options.headers=Wt(T.options.headers,Nt);let me=Ut(T,this.httpClient,this.options.extractFiles).subscribe({next:z=>{o.setContext({response:z}),a.next(z.body)},error:z=>a.error(z),complete:()=>a.complete()});return()=>{me.closed||me.unsubscribe()}})}request(r){return this.requester(r)}},gt=(()=>{class t{httpClient;constructor(e){this.httpClient=e}create(e){return new le(this.httpClient,e)}static \u0275fac=function(o){return new(o||t)(G(Pe))};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ft=window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/graphql";var bt={content_types:{plural:{all:"\u0627\u0644\u0643\u0644",audiobook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0635\u0648\u062A\u064A\u0629",comic:"\u0627\u0644\u0642\u0635\u0635 \u0627\u0644\u0645\u0635\u0648\u0631\u0629",ebook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u0629",game:"\u0627\u0644\u0623\u0644\u0639\u0627\u0628",movie:"\u0627\u0644\u0623\u0641\u0644\u0627\u0645",music:"\u0627\u0644\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0644\u0641\u0627\u0632",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"},singular:{audiobook:"\u0643\u062A\u0627\u0628 \u0635\u0648\u062A\u064A",comic:"\u0642\u0635\u0629 \u0645\u0635\u0648\u0631\u0629",ebook:"\u0643\u062A\u0627\u0628 \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",game:"\u0644\u0639\u0628\u0629",movie:"\u0641\u064A\u0644\u0645",music:"\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0644\u0641\u0632\u064A\u0648\u0646\u064A",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"}},dashboard:{event:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",failed:"\u0641\u0634\u0644",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",updated:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B"},interval:{all:"\u0627\u0644\u0643\u0644",days:"\u064A\u0648\u0645",days_1:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",hours:"\u0633\u0627\u0639\u0629",hours_1:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",hours_12:"12 \u0633\u0627\u0639\u0629",hours_6:"6 \u0633\u0627\u0639\u0629",minutes:"\u062F\u0642\u064A\u0642\u0629",minutes_1:"1 \u062F\u0642\u064A\u0642\u0629",minutes_15:"15 \u062F\u0642\u0627\u0626\u0642",minutes_30:"30 \u062F\u0642\u0627\u0626\u0642",minutes_5:"5 \u062F\u0642\u0627\u0626\u0642",off:"\u0625\u064A\u0642\u0627\u0641",seconds_10:"10 \u062B\u0648\u0627\u0646\u064A",seconds_30:"30 \u062B\u0627\u0646\u064A\u0629",weeks_1:"1 \u0623\u0633\u0628\u0648\u0639"},metrics:{event:"\u062D\u062F\u062B",resolution:"\u0627\u0644\u062F\u0642\u0629",throughput:"\u0645\u0639\u062F\u0644 \u0627\u0644\u0646\u0642\u0644",timeframe:"\u0627\u0644\u0625\u0637\u0627\u0631 \u0627\u0644\u0632\u0645\u0646\u064A",toggle_legend:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0623\u0633\u0637\u0648\u0631\u0629"},queues:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",created_at:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621 \u0641\u064A",enqueue_jobs:"\u0625\u062F\u0631\u0627\u062C \u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",enqueue_torrent_processing_batch:"\u0625\u062F\u0631\u0627\u062C \u062F\u0641\u0639\u0629 \u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",failed:"\u0641\u0634\u0644",force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",jobs_enqueued:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0645\u062F\u0631\u062C\u0629 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",latency:"\u0627\u0644\u062A\u0623\u062E\u064A\u0631",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",payload:"\u0627\u0644\u062D\u0645\u0648\u0644\u0629",pending:"\u0642\u064A\u062F \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",priority:"\u0627\u0644\u0623\u0648\u0644\u0648\u064A\u0629",process_orphaned_torrents_only:"\u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u064A\u062A\u064A\u0645 \u0641\u0642\u0637",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",purge_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0648\u0638\u0627\u0626\u0641",purge_queue_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue_purged:"\u062A\u0645 \u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",ran_at:"\u062A\u0645 \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u0641\u064A",retry:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",total_counts_by_status:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u0639\u062F \u062D\u0633\u0628 \u0627\u0644\u062D\u0627\u0644\u0629"}},facets:{content_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u062D\u062A\u0648\u0649",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",genre:"\u0627\u0644\u0646\u0648\u0639",language:"\u0627\u0644\u0644\u063A\u0629",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",status:"\u0627\u0644\u062D\u0627\u0644\u0629",torrent_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",torrent_tag:"\u0639\u0644\u0627\u0645\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",video_resolution:"\u062F\u0642\u0629 \u0627\u0644\u0641\u064A\u062F\u064A\u0648",video_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u0641\u064A\u062F\u064A\u0648"},file_types:{archive:"\u0623\u0631\u0634\u064A\u0641",audio:"\u0635\u0648\u062A",data:"\u0628\u064A\u0627\u0646\u0627\u062A",document:"\u0648\u062B\u064A\u0642\u0629",image:"\u0635\u0648\u0631\u0629",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",subtitles:"\u062A\u0631\u062C\u0645\u0627\u062A",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",video:"\u0641\u064A\u062F\u064A\u0648"},general:{all:"\u0627\u0644\u0643\u0644",dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",none:"\u0644\u0627 \u0634\u064A\u0621",page_not_found:"\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629",refresh:"\u062A\u062D\u062F\u064A\u062B",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},health:{bitmagnet_is_status:"bitmagnet \u0647\u0648 {{status}}",check_failed_with_error:"\u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u0642\u0642 \u0645\u0639 \u062E\u0637\u0623",component:"\u0645\u0643\u0648\u0646",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",status:"\u0627\u0644\u062D\u0627\u0644\u0629",statuses:{degraded:"\u0645\u062A\u062F\u0647\u0648\u0631",down:"\u0645\u0639\u0637\u0644",error:"\u062E\u0637\u0623",inactive:"\u063A\u064A\u0631 \u0646\u0634\u0637",started:"\u0628\u062F\u0623",unknown:"\u0645\u0639\u0644\u0642",up:"\u0646\u0634\u0637"},summary:"\u0645\u0644\u062E\u0635 \u0627\u0644\u0635\u062D\u0629",worker:"\u0639\u0627\u0645\u0644",workers:{dht_crawler:"\u0632\u0627\u062D\u0641 DHT",http_server:"\u062E\u0627\u062F\u0645 HTTP",queue_server:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0637\u0627\u0628\u0648\u0631"}},languages:{af:"\u0627\u0644\u0623\u0641\u0631\u064A\u0643\u0627\u0646\u064A\u0629",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",az:"\u0627\u0644\u0623\u0630\u0631\u0628\u064A\u062C\u0627\u0646\u064A\u0629",be:"\u0627\u0644\u0628\u064A\u0644\u0627\u0631\u0648\u0633\u064A\u0629",bg:"\u0627\u0644\u0628\u0644\u063A\u0627\u0631\u064A\u0629",bs:"\u0627\u0644\u0628\u0648\u0633\u0646\u064A\u0629",ca:"\u0627\u0644\u0643\u0627\u062A\u0627\u0644\u0627\u0646\u064A\u0629",ce:"\u0627\u0644\u0634\u064A\u0634\u0627\u0646\u064A\u0629",co:"\u0627\u0644\u0643\u0648\u0631\u0633\u064A\u0643\u064A\u0629",cs:"\u0627\u0644\u062A\u0634\u064A\u0643\u064A\u0629",cy:"\u0627\u0644\u0648\u064A\u0644\u0632\u064A\u0629",da:"\u0627\u0644\u062F\u0627\u0646\u0645\u0627\u0631\u0643\u064A\u0629",de:"\u0627\u0644\u0623\u0644\u0645\u0627\u0646\u064A\u0629",el:"\u0627\u0644\u064A\u0648\u0646\u0627\u0646\u064A\u0629",en:"\u0627\u0644\u0625\u0646\u062C\u0644\u064A\u0632\u064A\u0629",es:"\u0627\u0644\u0625\u0633\u0628\u0627\u0646\u064A\u0629",et:"\u0627\u0644\u0625\u0633\u062A\u0648\u0646\u064A\u0629",eu:"\u0627\u0644\u0628\u0627\u0633\u0643\u064A\u0629",fa:"\u0627\u0644\u0641\u0627\u0631\u0633\u064A\u0629",fi:"\u0627\u0644\u0641\u0646\u0644\u0646\u062F\u064A\u0629",fr:"\u0627\u0644\u0641\u0631\u0646\u0633\u064A\u0629",he:"\u0627\u0644\u0639\u0628\u0631\u064A\u0629",hi:"\u0627\u0644\u0647\u0646\u062F\u064A\u0629",hr:"\u0627\u0644\u0643\u0631\u0648\u0627\u062A\u064A\u0629",hu:"\u0627\u0644\u0647\u0646\u063A\u0627\u0631\u064A\u0629",hy:"\u0627\u0644\u0623\u0631\u0645\u0646\u064A\u0629",id:"\u0627\u0644\u0625\u0646\u062F\u0648\u0646\u064A\u0633\u064A\u0629",is:"\u0627\u0644\u0623\u064A\u0633\u0644\u0646\u062F\u064A\u0629",it:"\u0627\u0644\u0625\u064A\u0637\u0627\u0644\u064A\u0629",ja:"\u0627\u0644\u064A\u0627\u0628\u0627\u0646\u064A\u0629",ka:"\u0627\u0644\u062C\u0648\u0631\u062C\u064A\u0629",ko:"\u0627\u0644\u0643\u0648\u0631\u064A\u0629",ku:"\u0627\u0644\u0643\u0631\u062F\u064A\u0629",lt:"\u0627\u0644\u0644\u064A\u062A\u0648\u0627\u0646\u064A\u0629",lv:"\u0627\u0644\u0644\u0627\u062A\u0641\u064A\u0629",mi:"\u0627\u0644\u0645\u0627\u0648\u0631\u064A\u0629",mk:"\u0627\u0644\u0645\u0642\u062F\u0648\u0646\u064A\u0629",ml:"\u0627\u0644\u0645\u0627\u0644\u0627\u064A\u0627\u0644\u0627\u0645\u064A\u0629",mn:"\u0627\u0644\u0645\u0646\u063A\u0648\u0644\u064A\u0629",ms:"\u0627\u0644\u0645\u0644\u0627\u064A\u0648\u064A\u0629",mt:"\u0627\u0644\u0645\u0627\u0644\u0637\u064A\u0629",nl:"\u0627\u0644\u0647\u0648\u0644\u0646\u062F\u064A\u0629",no:"\u0627\u0644\u0646\u0631\u0648\u064A\u062C\u064A\u0629",pl:"\u0627\u0644\u0628\u0648\u0644\u0646\u062F\u064A\u0629",pt:"\u0627\u0644\u0628\u0631\u062A\u063A\u0627\u0644\u064A\u0629",ro:"\u0627\u0644\u0631\u0648\u0645\u0627\u0646\u064A\u0629",ru:"\u0627\u0644\u0631\u0648\u0633\u064A\u0629",sa:"\u0627\u0644\u0633\u0646\u0633\u0643\u0631\u064A\u062A\u064A\u0629",sk:"\u0627\u0644\u0633\u0644\u0648\u0641\u0627\u0643\u064A\u0629",sl:"\u0627\u0644\u0633\u0644\u0648\u0641\u064A\u0646\u064A\u0629",sm:"\u0627\u0644\u0633\u0627\u0645\u0648\u064A\u0629",so:"\u0627\u0644\u0635\u0648\u0645\u0627\u0644\u064A\u0629",sr:"\u0627\u0644\u0635\u0631\u0628\u064A\u0629",sv:"\u0627\u0644\u0633\u0648\u064A\u062F\u064A\u0629",ta:"\u0627\u0644\u062A\u0627\u0645\u064A\u0644\u064A\u0629",th:"\u0627\u0644\u062A\u0627\u064A\u0644\u0627\u0646\u062F\u064A\u0629",tr:"\u0627\u0644\u062A\u0631\u0643\u064A\u0629",uk:"\u0627\u0644\u0623\u0648\u0643\u0631\u0627\u0646\u064A\u0629",vi:"\u0627\u0644\u0641\u064A\u062A\u0646\u0627\u0645\u064A\u0629",yi:"\u0627\u0644\u064A\u062F\u064A\u0634\u064A\u0629",zh:"\u0627\u0644\u0635\u064A\u0646\u064A\u0629",zu:"\u0627\u0644\u0632\u0648\u0644\u0648"},layout:{bitmagnet_on_service:"bitmagnet \u0639\u0644\u0649 {{service}}",change_theme:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0633\u0645\u0629",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",sponsor:"\u0627\u0644\u0631\u0627\u0639\u064A",support_bitmagnet:"\u062F\u0639\u0645 bitmagnet",translate:"\u062A\u0631\u062C\u0645\u0629"},paginator:{first_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u0648\u0644\u0649",items_per_page:"\u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0644\u0643\u0644 \u0635\u0641\u062D\u0629",last_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u062E\u064A\u0631\u0629",next_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629",page_x:"\u0627\u0644\u0635\u0641\u062D\u0629 {{x}}",previous_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",x_to_y:"{{x}} \u0625\u0644\u0649 {{y}}",x_to_y_of_z:"{{x}} \u0625\u0644\u0649 {{y}} \u0645\u0646 {{z}}"},routes:{admin:"\u0627\u0644\u0645\u0633\u0624\u0648\u0644",dashboard:"\u0644\u0648\u062D\u0629 \u0627\u0644\u062A\u062D\u0643\u0645",home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",jobs:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",torrents:"\u0627\u0644\u062A\u0648\u0631\u0646\u062A",visualize:"\u062A\u0635\u0648\u0631"},torrents:{classification:"\u0627\u0644\u062A\u0635\u0646\u064A\u0641",clear_search:"\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B",copy:"\u0646\u0633\u062E",copy_to_clipboard:"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629",delete:"\u062D\u0630\u0641",delete_action_cannot_be_undone:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u0627\u0644\u062A\u0631\u0627\u062C\u0639 \u0639\u0646 \u0647\u0630\u0627 \u0627\u0644\u0625\u062C\u0631\u0627\u0621",delete_are_you_sure:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062D\u0630\u0641 \u0647\u0630\u0627 \u0627\u0644\u062A\u0648\u0631\u0646\u062A\u061F",deselect_all:"\u0625\u0644\u063A\u0627\u0621 \u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",download:"\u062A\u0646\u0632\u064A\u0644",download_confirm:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0645\u0646 \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062A\u0646\u0632\u064A\u0644 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629\u061F",edit_tags:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",episodes:"\u0627\u0644\u062D\u0644\u0642\u0627\u062A",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",file_index:"\u0641\u0647\u0631\u0633 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",file_path:"\u0645\u0633\u0627\u0631 \u0627\u0644\u0645\u0644\u0641",file_size:"\u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",files:"\u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_count_n:"{{count}} \u0645\u0644\u0641\u0627\u062A",files_no_info:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0646 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_single:"\u0645\u0644\u0641 \u0648\u0627\u062D\u062F",genres:"\u0627\u0644\u0623\u0646\u0648\u0627\u0639",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",info_hashes:"\u062A\u062C\u0632\u0626\u0627\u062A \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",languages:"\u0627\u0644\u0644\u063A\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",magnet:"\u0645\u063A\u0646\u0627\u0637\u064A\u0633",magnet_links:"\u0631\u0648\u0627\u0628\u0637 \u0645\u063A\u0646\u0627\u0637\u064A\u0633\u064A\u0629",new_tag:"\u0639\u0644\u0627\u0645\u0629 \u062C\u062F\u064A\u062F\u0629",order_by:"\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628",order_direction_toggle:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0627\u062A\u062C\u0627\u0647",ordering:{files_count:"\u0639\u062F\u062F \u0627\u0644\u0645\u0644\u0641\u0627\u062A",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",name:"\u0627\u0644\u0627\u0633\u0645",published_at:"\u0646\u0634\u0631 \u0641\u064A",relevance:"\u0627\u0644\u0635\u0644\u0629",seeders:"\u0627\u0644\u0645\u0632\u0627\u0631\u0639\u0648\u0646",size:"\u0627\u0644\u062D\u062C\u0645",updated_at:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0641\u064A"},original_release_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0635\u062F\u0627\u0631 \u0627\u0644\u0623\u0635\u0644\u064A",permalink:"\u0631\u0627\u0628\u0637 \u062F\u0627\u0626\u0645",poster:"\u0645\u0644\u0635\u0642",published:"\u0645\u0646\u0634\u0648\u0631",rating:"\u0627\u0644\u062A\u0642\u064A\u064A\u0645",refresh:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u062A\u0627\u0626\u062C",reprocess:{force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",reprocess:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629"},s_l:"S / L",search:"\u0628\u062D\u062B",seeders:"\u0627\u0644\u0628\u0627\u0630\u0631\u0648\u0646",select_all:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",showing_x_of_y_files:"\u0639\u0631\u0636 {{x}} \u0645\u0646 {{y}} \u0645\u0644\u0641\u0627\u062A",size:"\u0627\u0644\u062D\u062C\u0645",source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",summary:"\u0627\u0644\u0645\u0644\u062E\u0635",tags:{delete:"\u062D\u0630\u0641 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",delete_tip:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0645\u0646 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",placeholder:"\u0627\u0644\u0639\u0644\u0627\u0645\u0629...",put:"\u0648\u0636\u0639 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",put_tip:"\u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0625\u0644\u0649 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",set:"\u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",set_tip:"\u0627\u0633\u062A\u0628\u062F\u0627\u0644 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0641\u064A \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629"},title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",toggle_drawer:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u062F\u0631\u062C",votes_count_n:"{{count}} \u0623\u0635\u0648\u0627\u062A"},version:{bitmagnet_version:"\u0625\u0635\u062F\u0627\u0631 bitmagnet {{version}}",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641"}};var yt={content_types:{plural:{all:"Alle",audiobook:"H\xF6rb\xFCcher",comic:"Comics",ebook:"E-B\xFCcher",game:"Spiele",movie:"Filme",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Shows",xxx:"XXX"},singular:{audiobook:"H\xF6rbuch",comic:"Comic",ebook:"E-Buch",game:"Spiel",movie:"Film",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Show",xxx:"XXX"}},dashboard:{event:{created:"Erstellt",failed:"Fehlgeschlagen",processed:"Verarbeitet",updated:"Aktualisiert"},interval:{all:"Alle",days:"Tage",days_1:"1 Tag",hours:"Stunden",hours_1:"1 Stunde",hours_12:"12 Stunden",hours_6:"6 Stunden",minutes:"Minuten",minutes_1:"1 Minute",minutes_15:"15 Minuten",minutes_30:"30 Minuten",minutes_5:"5 Minuten",off:"Aus",seconds_10:"10 Sekunden",seconds_30:"30 Sekunden",weeks_1:"1 Woche"},metrics:{event:"Ereignis",resolution:"Aufl\xF6sung",throughput:"Durchsatz",timeframe:"Zeitrahmen",toggle_legend:"Legende umschalten"},queues:{created:"Erstellt",created_at:"Erstellt am",enqueue_jobs:"Jobs einreihen",enqueue_torrent_processing_batch:"Torrent-Verarbeitungsbatch einreihen",failed:"Fehlgeschlagen",force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",jobs_enqueued:"Jobs eingereiht",latency:"Latenz",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",payload:"Nutzlast",pending:"Ausstehend",priority:"Priorit\xE4t",process_orphaned_torrents_only:"Nur verwaiste Torrents verarbeiten",processed:"Verarbeitet",purge_jobs:"Jobs bereinigen",purge_queue_jobs:"Warteschlangen-Jobs bereinigen",queue:"Warteschlange",queue_purged:"Warteschlange bereinigt",queues:"Warteschlangen",ran_at:"Ausgef\xFChrt am",retry:"Erneut versuchen",total_counts_by_status:"Gesamtanzahl nach Status"}},facets:{content_type:"Inhaltstyp",file_type:"Dateityp",genre:"Genre",language:"Sprache",queue:"Warteschlange",status:"Status",torrent_source:"Torrent-Quelle",torrent_tag:"Torrent-Tag",video_resolution:"Videoaufl\xF6sung",video_source:"Videoquelle"},file_types:{archive:"Archiv",audio:"Audio",data:"Daten",document:"Dokument",image:"Bild",software:"Software",subtitles:"Untertitel",unknown:"Unbekannt",video:"Video"},general:{all:"Alle",dismiss:"Verwerfen",error:"Fehler",none:"Keine",page_not_found:"Seite nicht gefunden",refresh:"Aktualisieren",status:"Status"},health:{bitmagnet_is_status:"bitmagnet ist {{status}}",check_failed_with_error:"\xDCberpr\xFCfung mit Fehler fehlgeschlagen",component:"Komponente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Verwerfen",error:"Fehler",status:"Status",statuses:{degraded:"Verschlechtert",down:"Aus",error:"Fehler",inactive:"Inaktiv",started:"Gestartet",unknown:"Ausstehend",up:"An"},summary:"Gesundheits\xFCbersicht",worker:"Arbeiter",workers:{dht_crawler:"DHT-Crawler",http_server:"HTTP-Server",queue_server:"Warteschlangen-Server"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Aserbaidschanisch",be:"Wei\xDFrussisch",bg:"Bulgarisch",bs:"Bosnisch",ca:"Katalanisch",ce:"Tschetschenisch",co:"Korsisch",cs:"Tschechisch",cy:"Walisisch",da:"D\xE4nisch",de:"Deutsch",el:"Griechisch",en:"Englisch",es:"Spanisch",et:"Estnisch",eu:"Baskisch",fa:"Persisch",fi:"Finnisch",fr:"Franz\xF6sisch",he:"Hebr\xE4isch",hi:"Hindi",hr:"Kroatisch",hu:"Ungarisch",hy:"Armenisch",id:"Indonesisch",is:"Isl\xE4ndisch",it:"Italienisch",ja:"Japanisch",ka:"Georgisch",ko:"Koreanisch",ku:"Kurdisch",lt:"Litauisch",lv:"Lettisch",mi:"Maori",mk:"Mazedonisch",ml:"Malayalam",mn:"Mongolisch",ms:"Malaiisch",mt:"Maltesisch",nl:"Niederl\xE4ndisch",no:"Norwegisch",pl:"Polnisch",pt:"Portugiesisch",ro:"Rum\xE4nisch",ru:"Russisch",sa:"Sanskrit",sk:"Slowakisch",sl:"Slowenisch",sm:"Samoanisch",so:"Somalisch",sr:"Serbisch",sv:"Schwedisch",ta:"Tamil",th:"Thai",tr:"T\xFCrkisch",uk:"Ukrainisch",vi:"Vietnamesisch",yi:"Jiddisch",zh:"Chinesisch",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet auf {{service}}",change_theme:"Thema \xE4ndern",external_links:"Externe Links",sponsor:"Sponsor",support_bitmagnet:"bitmagnet unterst\xFCtzen",translate:"\xDCbersetzen"},paginator:{first_page:"Erste Seite",items_per_page:"Artikel pro Seite",last_page:"Letzte Seite",next_page:"N\xE4chste Seite",page_x:"Seite {{x}}",previous_page:"Vorherige Seite",x_to_y:"{{x}} bis {{y}}",x_to_y_of_z:"{{x}} bis {{y}} von {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Startseite",jobs:"Aufgaben",queues:"Warteschlangen",torrents:"Torrents",visualize:"Visualisieren"},torrents:{classification:"Klassifizierung",clear_search:"Suche l\xF6schen",copy:"Kopieren",copy_to_clipboard:"In die Zwischenablage kopieren",delete:"L\xF6schen",delete_action_cannot_be_undone:"Diese Aktion kann nicht r\xFCckg\xE4ngig gemacht werden",delete_are_you_sure:"Sind Sie sicher, dass Sie diesen Torrent l\xF6schen m\xF6chten?",deselect_all:"Alle abw\xE4hlen",download:"Herunterladen",download_confirm:"M\xF6chten Sie die ausgew\xE4hlten Torrents wirklich herunterladen?",edit_tags:"Tags bearbeiten",episodes:"Episoden",external_links:"Externe Links",file_index:"Dateiindex",file_path:"Dateipfad",file_size:"Dateigr\xF6\xDFe",file_type:"Dateityp",files:"Dateien",files_count_n:"{{count}} Dateien",files_no_info:"Keine Dateiinformationen verf\xFCgbar",files_single:"Einzelne Datei",genres:"Genres",info_hash:"Info-Hash",info_hashes:"Info-Hashes",languages:"Sprachen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-Links",new_tag:"Neuer Tag",order_by:"Sortieren nach",order_direction_toggle:"Richtung umschalten",ordering:{files_count:"Dateienanzahl",info_hash:"Info-Hash",leechers:"Leechers",name:"Name",published_at:"Ver\xF6ffentlicht am",relevance:"Relevanz",seeders:"Seeders",size:"Gr\xF6\xDFe",updated_at:"Aktualisiert am"},original_release_date:"Originales Ver\xF6ffentlichungsdatum",permalink:"Permalink",poster:"Poster",published:"Ver\xF6ffentlicht",rating:"Bewertung",refresh:"Ergebnisse aktualisieren",reprocess:{force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",reprocess:"Erneut verarbeiten"},s_l:"S / L",search:"Suche",seeders:"Seeders",select_all:"Alle ausw\xE4hlen",showing_x_of_y_files:"{{x}} von {{y}} Dateien anzeigen",size:"Gr\xF6\xDFe",source:"Torrent-Quelle",summary:"Zusammenfassung",tags:{delete:"Tags l\xF6schen",delete_tip:"Tags aus den ausgew\xE4hlten Torrents entfernen",placeholder:"Tag...",put:"Tags setzen",put_tip:"Tags zu den ausgew\xE4hlten Torrents hinzuf\xFCgen",set:"Tags setzen",set_tip:"Tags der ausgew\xE4hlten Torrents ersetzen"},title:"Titel",toggle_drawer:"Schublade umschalten",votes_count_n:"{{count}} Stimmen"},version:{bitmagnet_version:"bitmagnet Version {{version}}",unknown:"unbekannt"}};var vt={content_types:{plural:{all:"All",audiobook:"Audiobooks",comic:"Comics",ebook:"E-Books",game:"Games",movie:"Movies",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Shows",xxx:"XXX"},singular:{audiobook:"Audiobook",comic:"Comic",ebook:"E-Book",game:"Game",movie:"Movie",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Show",xxx:"XXX"}},dashboard:{event:{created:"Created",failed:"Failed",processed:"Processed",updated:"Updated"},interval:{all:"All",days:"Days",days_1:"1 day",hours:"Hours",hours_1:"1 hour",hours_12:"12 hours",hours_6:"6 hours",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"Off",seconds_10:"10 seconds",seconds_30:"30 seconds",weeks_1:"1 week"},metrics:{event:"Event",resolution:"Resolution",throughput:"Throughput",timeframe:"Timeframe",toggle_legend:"Toggle legend"},queues:{created:"Created",created_at:"Created at",enqueue_jobs:"Enqueue jobs",enqueue_torrent_processing_batch:"Enqueue Torrent Processing Batch",failed:"Failed",jobs_enqueued:"Jobs enqueued",latency:"Latency",payload:"Payload",pending:"Pending",priority:"Priority",process_orphaned_torrents_only:"Process orphaned torrents only",processed:"Processed",purge_jobs:"Purge jobs",purge_queue_jobs:"Purge queue jobs",queue:"Queue",queue_purged:"Queue purged",queues:"Queues",ran_at:"Ran at",retry:"Retry",total_counts_by_status:"Total counts by status"}},facets:{content_type:"Content Type",file_type:"File Type",genre:"Genre",language:"Language",queue:"Queue",status:"Status",torrent_source:"Torrent Source",torrent_tag:"Torrent Tag",video_resolution:"Video Resolution",video_source:"Video Source"},file_types:{archive:"Archive",audio:"Audio",data:"Data",document:"Document",image:"Image",software:"Software",subtitles:"Subtitles",unknown:"Unknown",video:"Video"},general:{all:"All",dismiss:"Dismiss",error:"Error",none:"None",page_not_found:"Page not found",refresh:"Refresh",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Check failed with error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Dismiss",error:"Error",status:"Status",statuses:{degraded:"Degraded",down:"Down",error:"Error",inactive:"Inactive",started:"Started",unknown:"Pending",up:"Up"},summary:"Health summary",worker:"Worker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Queue server"}},languages:{af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bs:"Bosnian",ca:"Catalan",ce:"Chechen",co:"Corsican",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",hy:"Armenian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",ms:"Malay",mt:"Maltese",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sa:"Sanskrit",sk:"Slovak",sl:"Slovenian",sm:"Samoan",so:"Somali",sr:"Serbian",sv:"Swedish",ta:"Tamil",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",yi:"Yiddish",zh:"Chinese",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet on {{service}}",change_theme:"Change theme",external_links:"External links",sponsor:"Sponsor",support_bitmagnet:"Support bitmagnet",translate:"Translate"},paginator:{first_page:"First page",items_per_page:"Items per page",last_page:"Last page",next_page:"Next page",page_x:"Page {{x}}",previous_page:"Previous page",x_to_y:"{{x}} to {{y}}",x_to_y_of_z:"{{x}} to {{y}} of {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Home",jobs:"Jobs",queues:"Queues",torrents:"Torrents",visualize:"Visualize"},torrents:{classification:"Classification",clear_search:"Clear Search",copy:"Copy",copy_to_clipboard:"Copy to clipboard",delete:"Delete",delete_action_cannot_be_undone:"This action cannot be undone",delete_are_you_sure:"Are you sure you want to delete this torrent?",deselect_all:"Deselect All",download:"Download",download_confirm:"Are you sure you want to download the selected torrents?",edit_tags:"Edit tags",episodes:"Episodes",external_links:"External links",file_index:"File index",file_path:"File path",file_size:"File size",file_type:"File type",files:"Files",files_count_n:"{{count}} files",files_no_info:"No files information available",files_single:"Single file",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Languages",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet links",new_tag:"New tag",order_by:"Order by",order_direction_toggle:"Toggle direction",ordering:{files_count:"Files count",info_hash:"Info hash",leechers:"Leechers",name:"Name",published_at:"Published at",relevance:"Relevance",seeders:"Seeders",size:"Size",updated_at:"Updated at"},original_release_date:"Original release date",permalink:"Permalink",poster:"Poster",published:"Published",rating:"Rating",refresh:"Refresh results",reprocess:{force_rematch:"Force rematch of already matched content",match_content_by_external_api_search:"Match content by external API search",match_content_by_local_search:"Match content by local search",reprocess:"Reprocess"},s_l:"S / L",search:"Search",seeders:"Seeders",select_all:"Select All",showing_x_of_y_files:"Showing {{x}} of {{y}} files",size:"Size",source:"Torrent Source",summary:"Summary",tags:{delete:"Delete tags",delete_tip:"Remove tags from the selected torrents",placeholder:"Tag...",put:"Put tags",put_tip:"Add tags to the selected torrents",set:"Set tags",set_tip:"Replace tags of the selected torrents"},title:"Title",toggle_drawer:"Toggle Drawer",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"bitmagnet version {{version}}",unknown:"unknown"}};var kt={content_types:{plural:{all:"Todos",audiobook:"Audiolibros",comic:"C\xF3mics",ebook:"E-Libros",game:"Juegos",movie:"Pel\xEDculas",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolibro",comic:"C\xF3mic",ebook:"E-Libro",game:"Juego",movie:"Pel\xEDcula",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Creado",failed:"Fallido",processed:"Procesado",updated:"Actualizado"},interval:{all:"Todos",days:"D\xEDas",days_1:"1 d\xEDa",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Apagado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resoluci\xF3n",throughput:"Rendimiento",timeframe:"Periodo de tiempo",toggle_legend:"Alternar leyenda"},queues:{created:"Creado",created_at:"Creado en",enqueue_jobs:"Encolar trabajos",enqueue_torrent_processing_batch:"Encolar lote de procesamiento de torrents",failed:"Fallido",force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",jobs_enqueued:"Trabajos encolados",latency:"Latencia",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",payload:"Carga \xFAtil",pending:"Pendiente",priority:"Prioridad",process_orphaned_torrents_only:"Procesar solo torrents hu\xE9rfanos",processed:"Procesado",purge_jobs:"Purgar trabajos",purge_queue_jobs:"Purgar trabajos de la cola",queue:"Cola",queue_purged:"Cola purgada",queues:"Colas",ran_at:"Ejecutado en",retry:"Reintentar",total_counts_by_status:"Recuento total por estado"}},facets:{content_type:"Tipo de contenido",file_type:"Tipo de archivo",genre:"G\xE9nero",language:"Idioma",queue:"Cola",status:"Estado",torrent_source:"Fuente del torrent",torrent_tag:"Etiqueta del torrent",video_resolution:"Resoluci\xF3n de video",video_source:"Fuente de video"},file_types:{archive:"Archivo",audio:"Audio",data:"Datos",document:"Documento",image:"Imagen",software:"Software",subtitles:"Subt\xEDtulos",unknown:"Desconocido",video:"Video"},general:{all:"Todos",dismiss:"Descartar",error:"Error",none:"Ninguno",page_not_found:"P\xE1gina no encontrada",refresh:"Actualizar",status:"Estado"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"La verificaci\xF3n fall\xF3 con error",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Descartar",error:"Error",status:"Estado",statuses:{degraded:"Degradado",down:"Ca\xEDdo",error:"Error",inactive:"Inactivo",started:"Iniciado",unknown:"Pendiente",up:"Activo"},summary:"Resumen de salud",worker:"Trabajador",workers:{dht_crawler:"Rastreador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de colas"}},languages:{af:"Afrik\xE1ans",ar:"\xC1rabe",az:"Azerbaiyano",be:"Bielorruso",bg:"B\xFAlgaro",bs:"Bosnio",ca:"Catal\xE1n",ce:"Checheno",co:"Corso",cs:"Checo",cy:"Gal\xE9s",da:"Dan\xE9s",de:"Alem\xE1n",el:"Griego",en:"Ingl\xE9s",es:"Espa\xF1ol",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finland\xE9s",fr:"Franc\xE9s",he:"Hebreo",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Armenio",id:"Indonesio",is:"Island\xE9s",it:"Italiano",ja:"Japon\xE9s",ka:"Georgiano",ko:"Coreano",ku:"Kurdo",lt:"Lituano",lv:"Let\xF3n",mi:"Maor\xED",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",ms:"Malayo",mt:"Malt\xE9s",nl:"Neerland\xE9s",no:"Noruego",pl:"Polaco",pt:"Portugu\xE9s",ro:"Rumano",ru:"Ruso",sa:"S\xE1nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somal\xED",sr:"Serbio",sv:"Sueco",ta:"Tamil",th:"Tailand\xE9s",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"Yidis",zh:"Chino",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet en {{service}}",change_theme:"Cambiar tema",external_links:"Enlaces externos",sponsor:"Patrocinador",support_bitmagnet:"Apoyar bitmagnet",translate:"Traducir"},paginator:{first_page:"Primera p\xE1gina",items_per_page:"Elementos por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"P\xE1gina siguiente",page_x:"P\xE1gina {{x}}",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Admin",dashboard:"Tablero",home:"Inicio",jobs:"Trabajos",queues:"Colas",torrents:"Torrents",visualize:"Visualizar"},torrents:{classification:"Clasificaci\xF3n",clear_search:"Borrar b\xFAsqueda",copy:"Copiar",copy_to_clipboard:"Copiar al portapapeles",delete:"Eliminar",delete_action_cannot_be_undone:"Esta acci\xF3n no se puede deshacer",delete_are_you_sure:"\xBFEst\xE1 seguro de que desea eliminar este torrent?",deselect_all:"Deseleccionar todo",download:"Descargar",download_confirm:"\xBFEst\xE1s seguro de que deseas descargar los torrents seleccionados?",edit_tags:"Editar etiquetas",episodes:"Episodios",external_links:"Enlaces externos",file_index:"\xCDndice de archivos",file_path:"Ruta del archivo",file_size:"Tama\xF1o del archivo",file_type:"Tipo de archivo",files:"Archivos",files_count_n:"{{count}} archivos",files_no_info:"No hay informaci\xF3n de archivos disponible",files_single:"Archivo \xFAnico",genres:"G\xE9neros",info_hash:"Hash de informaci\xF3n",info_hashes:"Hashes de informaci\xF3n",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Enlaces Magnet",new_tag:"Nueva etiqueta",order_by:"Ordenar por",order_direction_toggle:"Alternar direcci\xF3n",ordering:{files_count:"Recuento de archivos",info_hash:"Hash de informaci\xF3n",leechers:"Leechers",name:"Nombre",published_at:"Publicado en",relevance:"Relevancia",seeders:"Seeders",size:"Tama\xF1o",updated_at:"Actualizado en"},original_release_date:"Fecha de lanzamiento original",permalink:"Enlace permanente",poster:"P\xF3ster",published:"Publicado",rating:"Calificaci\xF3n",refresh:"Actualizar resultados",reprocess:{force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",reprocess:"Volver a procesar"},s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Seleccionar todo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} archivos",size:"Tama\xF1o",source:"Fuente del torrent",summary:"Resumen",tags:{delete:"Eliminar etiquetas",delete_tip:"Eliminar etiquetas de los torrents seleccionados",placeholder:"Etiqueta...",put:"Poner etiquetas",put_tip:"A\xF1adir etiquetas a los torrents seleccionados",set:"Establecer etiquetas",set_tip:"Reemplazar etiquetas de los torrents seleccionados"},title:"T\xEDtulo",toggle_drawer:"Alternar caj\xF3n",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"versi\xF3n de bitmagnet {{version}}",unknown:"desconocido"}};var xt={content_types:{plural:{all:"Tous",audiobook:"Livres audio",comic:"Bandes dessin\xE9es",ebook:"E-livres",game:"Jeux",movie:"Films",music:"Musique",null:"Inconnu",software:"Logiciels",tv_show:"S\xE9ries TV",xxx:"XXX"},singular:{audiobook:"Livre audio",comic:"Bande dessin\xE9e",ebook:"E-livre",game:"Jeu",movie:"Film",music:"Musique",null:"Inconnu",software:"Logiciel",tv_show:"S\xE9rie TV",xxx:"XXX"}},dashboard:{event:{created:"Cr\xE9\xE9",failed:"\xC9chou\xE9",processed:"Trait\xE9",updated:"Mis \xE0 jour"},interval:{all:"Tous",days:"Jours",days_1:"1 jour",hours:"Heures",hours_1:"1 heure",hours_12:"12 heures",hours_6:"6 heures",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"D\xE9sactiv\xE9",seconds_10:"10 secondes",seconds_30:"30 secondes",weeks_1:"1 semaine"},metrics:{event:"\xC9v\xE9nement",resolution:"R\xE9solution",throughput:"D\xE9bit",timeframe:"P\xE9riode",toggle_legend:"Basculer la l\xE9gende"},queues:{created:"Cr\xE9\xE9",created_at:"Cr\xE9\xE9 \xE0",enqueue_jobs:"Mettre les taches en file d'attente",enqueue_torrent_processing_batch:"Mettre le traitement des torrents en file d'attente",failed:"\xC9chou\xE9",force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",jobs_enqueued:"T\xE2ches en attente",latency:"Latence",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",payload:"Charge utile",pending:"En attente",priority:"Priorit\xE9",process_orphaned_torrents_only:"Traiter uniquement les torrents orphelins",processed:"Trait\xE9",purge_jobs:"Purger les t\xE2ches",purge_queue_jobs:"Purger les t\xE2ches de la file d'attente",queue:"File d'attente",queue_purged:"File d'attente purg\xE9e",queues:"Files d'attente",ran_at:"Ex\xE9cut\xE9 \xE0",retry:"R\xE9essayer",total_counts_by_status:"Totaux par statut"}},facets:{content_type:"Type de contenu",file_type:"Type de fichier",genre:"Genre",language:"Langue",queue:"File d'attente",status:"Statut",torrent_source:"Source du torrent",torrent_tag:"Tag du torrent",video_resolution:"R\xE9solution vid\xE9o",video_source:"Source vid\xE9o"},file_types:{archive:"Archive",audio:"Audio",data:"Donn\xE9es",document:"Document",image:"Image",software:"Logiciel",subtitles:"Sous-titres",unknown:"Inconnu",video:"Vid\xE9o"},general:{all:"Tous",dismiss:"Fermer",error:"Erreur",none:"Aucun",page_not_found:"Page non trouv\xE9e",refresh:"Rafra\xEEchir",status:"Statut"},health:{bitmagnet_is_status:"bitmagnet est {{status}}",check_failed_with_error:"V\xE9rification \xE9chou\xE9e avec erreur",component:"Composant",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fermer",error:"Erreur",status:"Statut",statuses:{degraded:"D\xE9grad\xE9",down:"Hors ligne",error:"Erreur",inactive:"Inactif",started:"D\xE9marr\xE9",unknown:"En attente",up:"En ligne"},summary:"R\xE9sum\xE9 de la sant\xE9",worker:"Travailleur",workers:{dht_crawler:"Explorateur DHT",http_server:"Serveur HTTP",queue_server:"Serveur de file d'attente"}},languages:{af:"Afrikaans",ar:"Arabe",az:"Azerba\xEFdjanais",be:"Bi\xE9lorusse",bg:"Bulgare",bs:"Bosniaque",ca:"Catalan",ce:"Tch\xE9tch\xE8ne",co:"Corse",cs:"Tch\xE8que",cy:"Gallois",da:"Danois",de:"Allemand",el:"Grec",en:"Anglais",es:"Espagnol",et:"Estonien",eu:"Basque",fa:"Persan",fi:"Finnois",fr:"Fran\xE7ais",he:"H\xE9breu",hi:"Hindi",hr:"Croate",hu:"Hongrois",hy:"Arm\xE9nien",id:"Indon\xE9sien",is:"Islandais",it:"Italien",ja:"Japonais",ka:"G\xE9orgien",ko:"Cor\xE9en",ku:"Kurde",lt:"Lituanien",lv:"Letton",mi:"Maori",mk:"Mac\xE9donien",ml:"Malayalam",mn:"Mongol",ms:"Malais",mt:"Maltais",nl:"N\xE9erlandais",no:"Norv\xE9gien",pl:"Polonais",pt:"Portugais",ro:"Roumain",ru:"Russe",sa:"Sanskrit",sk:"Slovaque",sl:"Slov\xE8ne",sm:"Samoan",so:"Somali",sr:"Serbe",sv:"Su\xE9dois",ta:"Tamoul",th:"Tha\xEF",tr:"Turc",uk:"Ukrainien",vi:"Vietnamien",yi:"Yiddish",zh:"Chinois",zu:"Zoulou"},layout:{bitmagnet_on_service:"bitmagnet sur {{service}}",change_theme:"Changer de th\xE8me",external_links:"Liens externes",sponsor:"Sponsor",support_bitmagnet:"Soutenir bitmagnet",translate:"Traduire"},paginator:{first_page:"Premi\xE8re page",items_per_page:"Articles par page",last_page:"Derni\xE8re page",next_page:"Page suivante",page_x:"Page {{x}}",previous_page:"Page pr\xE9c\xE9dente",x_to_y:"{{x}} \xE0 {{y}}",x_to_y_of_z:"{{x}} \xE0 {{y}} sur {{z}}"},routes:{admin:"Admin",dashboard:"Tableau de bord",home:"Accueil",jobs:"T\xE2ches",queues:"Files d'attente",torrents:"Torrents",visualize:"Visualiser"},torrents:{classification:"Classification",clear_search:"Effacer la recherche",copy:"Copier",copy_to_clipboard:"Copier dans le presse-papiers",delete:"Supprimer",delete_action_cannot_be_undone:"Cette action ne peut pas \xEAtre annul\xE9e",delete_are_you_sure:"\xCAtes-vous s\xFBr de vouloir supprimer ce torrent?",deselect_all:"Tout d\xE9s\xE9lectionner",download:"T\xE9l\xE9charger",download_confirm:"\xCAtes-vous s\xFBr de vouloir t\xE9l\xE9charger les torrents s\xE9lectionn\xE9s ?",edit_tags:"Modifier les tags",episodes:"\xC9pisodes",external_links:"Liens externes",file_index:"Index de fichier",file_path:"Chemin de fichier",file_size:"Taille de fichier",file_type:"Type de fichier",files:"Fichiers",files_count_n:"{{count}} fichiers",files_no_info:"Aucune information sur les fichiers disponible",files_single:"Fichier unique",genres:"Genres",info_hash:"Hash d'info",info_hashes:"Hashes d'info",languages:"Langues",leechers:"Leechers",magnet:"Magnet",magnet_links:"Liens Magnet",new_tag:"Nouveau tag",order_by:"Trier par",order_direction_toggle:"Inverser le sens",ordering:{files_count:"Nombre de fichiers",info_hash:"Hash d'info",leechers:"Leechers",name:"Nom",published_at:"Publi\xE9 \xE0",relevance:"Pertinence",seeders:"Seeders",size:"Taille",updated_at:"Mis \xE0 jour \xE0"},original_release_date:"Date de sortie originale",permalink:"Permalien",poster:"Affiche",published:"Publi\xE9",rating:"\xC9valuation",refresh:"Rafra\xEEchir les r\xE9sultats",reprocess:{force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",reprocess:"Retraitement"},s_l:"S / L",search:"Rechercher",seeders:"Seeders",select_all:"Tout s\xE9lectionner",showing_x_of_y_files:"Affichage de {{x}} sur {{y}} fichiers",size:"Taille",source:"Source du torrent",summary:"R\xE9sum\xE9",tags:{delete:"Supprimer les tags",delete_tip:"Supprimer les tags des torrents s\xE9lectionn\xE9s",placeholder:"Tag...",put:"Mettre des tags",put_tip:"Ajouter des tags aux torrents s\xE9lectionn\xE9s",set:"D\xE9finir des tags",set_tip:"Remplacer les tags des torrents s\xE9lectionn\xE9s"},title:"Titre",toggle_drawer:"Basculer le tiroir",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"version bitmagnet {{version}}",unknown:"inconnu"}};var wt={content_types:{plural:{all:"\u0938\u092D\u0940",audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915\u094D\u0938",comic:"\u0915\u0949\u092E\u093F\u0915\u094D\u0938",ebook:"\u0908-\u092C\u0941\u0915\u094D\u0938",game:"\u0917\u0947\u092E\u094D\u0938",movie:"\u092B\u093C\u093F\u0932\u094D\u092E\u0947\u0902",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"},singular:{audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915",comic:"\u0915\u0949\u092E\u093F\u0915",ebook:"\u0908-\u092C\u0941\u0915",game:"\u0917\u0947\u092E",movie:"\u092B\u093C\u093F\u0932\u094D\u092E",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"}},dashboard:{event:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",failed:"\u0905\u0938\u092B\u0932",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",updated:"\u0905\u092A\u0921\u0947\u091F \u0915\u093F\u092F\u093E \u0917\u092F\u093E"},interval:{all:"\u0938\u092D\u0940",days:"\u0926\u093F\u0928",days_1:"1 \u0926\u093F\u0928",hours:"\u0918\u0902\u091F\u0947",hours_1:"1 \u0918\u0902\u091F\u093E",hours_12:"12 \u0918\u0902\u091F\u0947",hours_6:"6 \u0918\u0902\u091F\u0947",minutes:"\u092E\u093F\u0928\u091F",minutes_1:"1 \u092E\u093F\u0928\u091F",minutes_15:"15 \u092E\u093F\u0928\u091F",minutes_30:"30 \u092E\u093F\u0928\u091F",minutes_5:"5 \u092E\u093F\u0928\u091F",off:"\u092C\u0902\u0926",seconds_10:"10 \u0938\u0947\u0915\u0902\u0921",seconds_30:"30 \u0938\u0947\u0915\u0902\u0921",weeks_1:"1 \u0938\u092A\u094D\u0924\u093E\u0939"},metrics:{event:"\u0918\u091F\u0928\u093E",resolution:"\u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",throughput:"\u0925\u094D\u0930\u0942\u092A\u0941\u091F",timeframe:"\u0938\u092E\u092F \u0938\u0940\u092E\u093E",toggle_legend:"\u0932\u0940\u091C\u0947\u0902\u0921 \u091F\u0949\u0917\u0932 \u0915\u0930\u0947\u0902"},queues:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",created_at:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",enqueue_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",enqueue_torrent_processing_batch:"\u091F\u094B\u0930\u0947\u0902\u091F \u092A\u094D\u0930\u094B\u0938\u0947\u0938\u093F\u0902\u0917 \u092C\u0948\u091A \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",failed:"\u0905\u0938\u092B\u0932",force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",jobs_enqueued:"\u091C\u0949\u092C\u094D\u0938 \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u0908 \u0917\u0908\u0902",latency:"\u0932\u0947\u091F\u0947\u0902\u0938\u0940",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",payload:"\u092A\u0947\u0932\u094B\u0921",pending:"\u092C\u0915\u093E\u092F\u093E",priority:"\u092A\u094D\u0930\u093E\u0925\u092E\u093F\u0915\u0924\u093E",process_orphaned_torrents_only:"\u0915\u0947\u0935\u0932 \u0905\u0928\u093E\u0925 \u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938 \u0915\u094B \u092A\u094D\u0930\u094B\u0938\u0947\u0938 \u0915\u0930\u0947\u0902",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",purge_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",purge_queue_jobs:"\u0915\u0924\u093E\u0930 \u0915\u0947 \u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",queue:"\u0915\u0924\u093E\u0930",queue_purged:"\u0915\u0924\u093E\u0930 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u093F\u092F\u093E \u0917\u092F\u093E",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",ran_at:"\u091A\u0932\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",retry:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",total_counts_by_status:"\u0938\u094D\u0925\u093F\u0924\u093F \u0926\u094D\u0935\u093E\u0930\u093E \u0915\u0941\u0932 \u0917\u0923\u0928\u093E"}},facets:{content_type:"\u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u092A\u094D\u0930\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",genre:"\u0936\u0948\u0932\u0940",language:"\u092D\u093E\u0937\u093E",queue:"\u0915\u0924\u093E\u0930",status:"\u0938\u094D\u0925\u093F\u0924\u093F",torrent_source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",torrent_tag:"\u091F\u094B\u0930\u0947\u0902\u091F \u091F\u0948\u0917",video_resolution:"\u0935\u0940\u0921\u093F\u092F\u094B \u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",video_source:"\u0935\u0940\u0921\u093F\u092F\u094B \u0938\u094D\u0930\u094B\u0924"},file_types:{archive:"\u0906\u0930\u094D\u0915\u093E\u0907\u0935",audio:"\u0911\u0921\u093F\u092F\u094B",data:"\u0921\u0947\u091F\u093E",document:"\u0926\u0938\u094D\u0924\u093E\u0935\u0947\u091C\u093C",image:"\u091B\u0935\u093F",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",subtitles:"\u0909\u092A\u0936\u0940\u0930\u094D\u0937\u0915",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924",video:"\u0935\u0940\u0921\u093F\u092F\u094B"},general:{all:"\u0938\u092D\u0940",dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",none:"\u0915\u094B\u0908 \u0928\u0939\u0940\u0902",page_not_found:"\u092A\u0943\u0937\u094D\u0920 \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E",refresh:"\u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",status:"\u0938\u094D\u0925\u093F\u0924\u093F"},health:{bitmagnet_is_status:"bitmagnet {{status}} \u0939\u0948",check_failed_with_error:"\u0924\u094D\u0930\u0941\u091F\u093F \u0915\u0947 \u0938\u093E\u0925 \u091C\u093E\u0902\u091A \u0935\u093F\u092B\u0932",component:"\u0918\u091F\u0915",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",status:"\u0938\u094D\u0925\u093F\u0924\u093F",statuses:{degraded:"\u0915\u094D\u0937\u0940\u0923",down:"\u092C\u0902\u0926",error:"\u0924\u094D\u0930\u0941\u091F\u093F",inactive:"\u0928\u093F\u0937\u094D\u0915\u094D\u0930\u093F\u092F",started:"\u0936\u0941\u0930\u0942 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",unknown:"\u0932\u0902\u092C\u093F\u0924",up:"\u091A\u093E\u0932\u0942"},summary:"\u0938\u094D\u0935\u093E\u0938\u094D\u0925\u094D\u092F \u0938\u093E\u0930\u093E\u0902\u0936",worker:"\u0915\u093E\u0930\u094D\u092F\u0915\u0930\u094D\u0924\u093E",workers:{dht_crawler:"DHT \u0915\u094D\u0930\u0949\u0932\u0930",http_server:"HTTP \u0938\u0930\u094D\u0935\u0930",queue_server:"\u0915\u0924\u093E\u0930 \u0938\u0930\u094D\u0935\u0930"}},languages:{af:"\u0905\u092B\u094D\u0930\u0940\u0915\u0940",ar:"\u0905\u0930\u092C\u0940",az:"\u0905\u091C\u093C\u0947\u0930\u0940",be:"\u092C\u0947\u0932\u093E\u0930\u0942\u0938\u0940",bg:"\u092C\u0941\u0932\u094D\u0917\u093E\u0930\u093F\u092F\u093E\u0908",bs:"\u092C\u094B\u0938\u094D\u0928\u093F\u092F\u093E\u0908",ca:"\u0915\u0948\u091F\u0932\u0928",ce:"\u091A\u0947\u091A\u0947\u0928",co:"\u0915\u094B\u0930\u094D\u0938\u093F\u0915\u0928",cs:"\u091A\u0947\u0915",cy:"\u0935\u0947\u0932\u094D\u0936",da:"\u0921\u0947\u0928\u093F\u0936",de:"\u091C\u0930\u094D\u092E\u0928",el:"\u0917\u094D\u0930\u0940\u0915",en:"\u0905\u0902\u0917\u094D\u0930\u0947\u091C\u0940",es:"\u0938\u094D\u092A\u0948\u0928\u093F\u0936",et:"\u090F\u0938\u094D\u0924\u094B\u0928\u093F\u092F\u093E\u0908",eu:"\u092C\u093E\u0938\u094D\u0915",fa:"\u092B\u093E\u0930\u0938\u0940",fi:"\u092B\u093C\u093F\u0928\u093F\u0936",fr:"\u092B\u094D\u0930\u0947\u0902\u091A",he:"\u0939\u093F\u092C\u094D\u0930\u0942",hi:"\u0939\u093F\u0902\u0926\u0940",hr:"\u0915\u094D\u0930\u094B\u090F\u0936\u093F\u092F\u093E\u0908",hu:"\u0939\u0902\u0917\u0947\u0930\u093F\u092F\u0928",hy:"\u0906\u0930\u094D\u092E\u0947\u0928\u093F\u092F\u093E\u0908",id:"\u0907\u0902\u0921\u094B\u0928\u0947\u0936\u093F\u092F\u093E\u0908",is:"\u0906\u0907\u0938\u0932\u0948\u0902\u0921\u093F\u0915",it:"\u0907\u0924\u093E\u0932\u0935\u0940",ja:"\u091C\u093E\u092A\u093E\u0928\u0940",ka:"\u091C\u0949\u0930\u094D\u091C\u093F\u092F\u093E\u0908",ko:"\u0915\u094B\u0930\u093F\u092F\u093E\u0908",ku:"\u0915\u0941\u0930\u094D\u0926\u0940",lt:"\u0932\u093F\u0925\u0941\u0906\u0928\u093F\u092F\u093E\u0908",lv:"\u0932\u093E\u0924\u0935\u093F\u092F\u093E\u0908",mi:"\u092E\u093E\u0913\u0930\u0940",mk:"\u092E\u0948\u0938\u093F\u0921\u094B\u0928\u093F\u092F\u093E\u0908",ml:"\u092E\u0932\u092F\u093E\u0932\u092E",mn:"\u092E\u0902\u0917\u094B\u0932\u093F\u092F\u093E\u0908",ms:"\u092E\u0932\u092F",mt:"\u092E\u093E\u0932\u094D\u091F\u0940\u091C\u093C",nl:"\u0921\u091A",no:"\u0928\u0949\u0930\u094D\u0935\u0947\u091C\u093F\u092F\u0928",pl:"\u092A\u094B\u0932\u093F\u0936",pt:"\u092A\u0941\u0930\u094D\u0924\u0917\u093E\u0932\u0940",ro:"\u0930\u094B\u092E\u093E\u0928\u093F\u092F\u093E\u0908",ru:"\u0930\u0942\u0938\u0940",sa:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924",sk:"\u0938\u094D\u0932\u094B\u0935\u093E\u0915",sl:"\u0938\u094D\u0932\u094B\u0935\u0947\u0928\u093F\u092F\u093E\u0908",sm:"\u0938\u093E\u092E\u094B\u0928",so:"\u0938\u094B\u092E\u093E\u0932\u0940",sr:"\u0938\u0930\u094D\u092C\u093F\u092F\u093E\u0908",sv:"\u0938\u094D\u0935\u0940\u0921\u093F\u0936",ta:"\u0924\u092E\u093F\u0932",th:"\u0925\u093E\u0908",tr:"\u0924\u0941\u0930\u094D\u0915\u0940",uk:"\u092F\u0942\u0915\u094D\u0930\u0947\u0928\u0940",vi:"\u0935\u093F\u092F\u0924\u0928\u093E\u092E\u0940",yi:"\u092F\u093F\u0926\u094D\u0926\u093F\u0936",zh:"\u091A\u0940\u0928\u0940",zu:"\u091C\u093C\u0941\u0932\u0941"},layout:{bitmagnet_on_service:"{{service}} \u092A\u0930 bitmagnet",change_theme:"\u0925\u0940\u092E \u092C\u0926\u0932\u0947\u0902",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",sponsor:"\u092A\u094D\u0930\u093E\u092F\u094B\u091C\u0915",support_bitmagnet:"bitmagnet \u0915\u094B \u0938\u092E\u0930\u094D\u0925\u0928 \u0926\u0947\u0902",translate:"\u0905\u0928\u0941\u0935\u093E\u0926 \u0915\u0930\u0947\u0902"},paginator:{first_page:"\u092A\u0939\u0932\u093E \u092A\u0943\u0937\u094D\u0920",items_per_page:"\u092A\u094D\u0930\u0924\u093F \u092A\u0943\u0937\u094D\u0920 \u0906\u0907\u091F\u092E",last_page:"\u0905\u0902\u0924\u093F\u092E \u092A\u0943\u0937\u094D\u0920",next_page:"\u0905\u0917\u0932\u093E \u092A\u0943\u0937\u094D\u0920",page_x:"\u092A\u0943\u0937\u094D\u0920 {{x}}",previous_page:"\u092A\u093F\u091B\u0932\u093E \u092A\u0943\u0937\u094D\u0920",x_to_y:"{{x}} \u0938\u0947 {{y}} \u0924\u0915",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u0938\u0947 {{y}} \u0924\u0915 {{z}} \u092E\u0947\u0902"},routes:{admin:"\u092A\u094D\u0930\u0936\u093E\u0938\u0915",dashboard:"\u0921\u0948\u0936\u092C\u094B\u0930\u094D\u0921",home:"\u0939\u094B\u092E",jobs:"\u0928\u094C\u0915\u0930\u093F\u092F\u093E\u0902",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",torrents:"\u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938",visualize:"\u0926\u0943\u0936\u094D\u092F \u0915\u0930\u0947\u0902"},torrents:{classification:"\u0935\u0930\u094D\u0917\u0940\u0915\u0930\u0923",clear_search:"\u0916\u094B\u091C \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",copy:"\u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",copy_to_clipboard:"\u0915\u094D\u0932\u093F\u092A\u092C\u094B\u0930\u094D\u0921 \u092E\u0947\u0902 \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",delete:"\u0939\u091F\u093E\u090F\u0902",delete_action_cannot_be_undone:"\u092F\u0939 \u0915\u094D\u0930\u093F\u092F\u093E \u092A\u0942\u0930\u094D\u0935\u0935\u0924 \u0928\u0939\u0940\u0902 \u0915\u0940 \u091C\u093E \u0938\u0915\u0924\u0940",delete_are_you_sure:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u0907\u0938 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u094B \u0939\u091F\u093E\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",deselect_all:"\u0938\u092D\u0940 \u0915\u094B \u0905\u091A\u092F\u0928\u093F\u0924 \u0915\u0930\u0947\u0902",download:"\u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0947\u0902",download_confirm:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",edit_tags:"\u091F\u0948\u0917 \u0938\u0902\u092A\u093E\u0926\u093F\u0924 \u0915\u0930\u0947\u0902",episodes:"\u090F\u092A\u093F\u0938\u094B\u0921\u094D\u0938",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",file_index:"\u092B\u093C\u093E\u0907\u0932 \u0938\u0942\u091A\u0915\u093E\u0902\u0915",file_path:"\u092B\u093C\u093E\u0907\u0932 \u092A\u0925",file_size:"\u092B\u093C\u093E\u0907\u0932 \u0906\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",files:"\u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_count_n:"{{count}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_no_info:"\u0915\u094B\u0908 \u092B\u093C\u093E\u0907\u0932 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948",files_single:"\u090F\u0915\u0932 \u092B\u093C\u093E\u0907\u0932",genres:"\u0936\u0948\u0932\u093F\u092F\u093E\u0901",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",info_hashes:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936\u0947\u091C",languages:"\u092D\u093E\u0937\u093E\u090F\u0901",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",magnet:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F",magnet_links:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F \u0932\u093F\u0902\u0915",new_tag:"\u0928\u092F\u093E \u091F\u0948\u0917",order_by:"\u0915\u094D\u0930\u092E\u092C\u0926\u094D\u0927 \u0915\u0930\u0947\u0902",order_direction_toggle:"\u0926\u093F\u0936\u093E \u092C\u0926\u0932\u0947\u0902",ordering:{files_count:"\u092B\u093C\u093E\u0907\u0932\u094B\u0902 \u0915\u0940 \u0938\u0902\u0916\u094D\u092F\u093E",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",name:"\u0928\u093E\u092E",published_at:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924 \u0938\u092E\u092F",relevance:"\u092A\u094D\u0930\u093E\u0938\u0902\u0917\u093F\u0915\u0924\u093E",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",size:"\u0906\u0915\u093E\u0930",updated_at:"\u0905\u092A\u0921\u0947\u091F \u0938\u092E\u092F"},original_release_date:"\u092E\u0942\u0932 \u0930\u093F\u0932\u0940\u091C\u093C \u0924\u093F\u0925\u093F",permalink:"\u0938\u094D\u0925\u093E\u092F\u0940 \u0932\u093F\u0902\u0915",poster:"\u092A\u094B\u0938\u094D\u091F\u0930",published:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924",rating:"\u0930\u0947\u091F\u093F\u0902\u0917",refresh:"\u092A\u0930\u093F\u0923\u093E\u092E \u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",reprocess:{force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",reprocess:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u0915\u094D\u0930\u093F\u092F\u093E \u0915\u0930\u0947\u0902"},s_l:"S / L",search:"\u0916\u094B\u091C",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",select_all:"\u0938\u092D\u0940 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",showing_x_of_y_files:"{{x}} \u092E\u0947\u0902 \u0938\u0947 {{y}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902 \u0926\u093F\u0916\u093E \u0930\u0939\u093E \u0939\u0948",size:"\u0906\u0915\u093E\u0930",source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",summary:"\u0938\u093E\u0930\u093E\u0902\u0936",tags:{delete:"\u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",delete_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0938\u0947 \u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",placeholder:"\u091F\u0948\u0917...",put:"\u091F\u0948\u0917 \u0921\u093E\u0932\u0947\u0902",put_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u092E\u0947\u0902 \u091F\u0948\u0917 \u091C\u094B\u0921\u093C\u0947\u0902",set:"\u091F\u0948\u0917 \u0938\u0947\u091F \u0915\u0930\u0947\u0902",set_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u0947 \u091F\u0948\u0917 \u092C\u0926\u0932\u0947\u0902"},title:"\u0936\u0940\u0930\u094D\u0937\u0915",toggle_drawer:"\u0921\u094D\u0930\u0949\u0905\u0930 \u092C\u0926\u0932\u0947\u0902",votes_count_n:"{{count}} \u0935\u094B\u091F"},version:{bitmagnet_version:"bitmagnet \u0938\u0902\u0938\u094D\u0915\u0930\u0923 {{version}}",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924"}};var Tt={content_types:{plural:{all:"\u3059\u3079\u3066",audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",game:"\u30B2\u30FC\u30E0",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"},singular:{audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",game:"\u30B2\u30FC\u30E0",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"}},dashboard:{event:{created:"\u4F5C\u6210\u6E08\u307F",failed:"\u5931\u6557",processed:"\u51E6\u7406\u6E08\u307F",updated:"\u66F4\u65B0\u6E08\u307F"},interval:{all:"\u3059\u3079\u3066",days:"\u65E5",days_1:"1\u65E5",hours:"\u6642\u9593",hours_1:"1\u6642\u9593",hours_12:"12\u6642\u9593",hours_6:"6\u6642\u9593",minutes:"\u5206",minutes_1:"1\u5206",minutes_15:"15\u5206",minutes_30:"30\u5206",minutes_5:"5\u5206",off:"\u30AA\u30D5",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u9031\u9593"},metrics:{event:"\u30A4\u30D9\u30F3\u30C8",resolution:"\u89E3\u50CF\u5EA6",throughput:"\u30B9\u30EB\u30FC\u30D7\u30C3\u30C8",timeframe:"\u671F\u9593",toggle_legend:"\u51E1\u4F8B\u3092\u5207\u308A\u66FF\u3048"},queues:{created:"\u4F5C\u6210\u6E08\u307F",created_at:"\u4F5C\u6210\u65E5\u6642",enqueue_jobs:"\u30B8\u30E7\u30D6\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",enqueue_torrent_processing_batch:"\u30C8\u30EC\u30F3\u30C8\u51E6\u7406\u30D0\u30C3\u30C1\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",failed:"\u5931\u6557",force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",jobs_enqueued:"\u30AD\u30E5\u30FC\u306B\u8FFD\u52A0\u3055\u308C\u305F\u30B8\u30E7\u30D6",latency:"\u30EC\u30A4\u30C6\u30F3\u30B7",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",payload:"\u30DA\u30A4\u30ED\u30FC\u30C9",pending:"\u4FDD\u7559\u4E2D",priority:"\u512A\u5148\u9806\u4F4D",process_orphaned_torrents_only:"\u5B64\u7ACB\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u307F\u51E6\u7406\u3059\u308B",processed:"\u51E6\u7406\u6E08\u307F",purge_jobs:"\u30B8\u30E7\u30D6\u3092\u524A\u9664",purge_queue_jobs:"\u30AD\u30E5\u30FC\u5185\u306E\u30B8\u30E7\u30D6\u3092\u524A\u9664",queue:"\u30AD\u30E5\u30FC",queue_purged:"\u30AD\u30E5\u30FC\u304C\u30AF\u30EA\u30A2\u3055\u308C\u307E\u3057\u305F",queues:"\u30AD\u30E5\u30FC",ran_at:"\u5B9F\u884C\u6642\u523B",retry:"\u518D\u8A66\u884C",total_counts_by_status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3054\u3068\u306E\u7DCF\u6570"}},facets:{content_type:"\u30B3\u30F3\u30C6\u30F3\u30C4\u30BF\u30A4\u30D7",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",genre:"\u30B8\u30E3\u30F3\u30EB",language:"\u8A00\u8A9E",queue:"\u30AD\u30E5\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",torrent_source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",torrent_tag:"\u30C8\u30EC\u30F3\u30C8\u30BF\u30B0",video_resolution:"\u30D3\u30C7\u30AA\u89E3\u50CF\u5EA6",video_source:"\u30D3\u30C7\u30AA\u30BD\u30FC\u30B9"},file_types:{archive:"\u30A2\u30FC\u30AB\u30A4\u30D6",audio:"\u30AA\u30FC\u30C7\u30A3\u30AA",data:"\u30C7\u30FC\u30BF",document:"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8",image:"\u753B\u50CF",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",subtitles:"\u5B57\u5E55",unknown:"\u4E0D\u660E",video:"\u30D3\u30C7\u30AA"},general:{all:"\u3059\u3079\u3066",dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",none:"\u306A\u3057",page_not_found:"\u30DA\u30FC\u30B8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",refresh:"\u66F4\u65B0",status:"\u30B9\u30C6\u30FC\u30BF\u30B9"},health:{bitmagnet_is_status:"bitmagnet\u306F{{status}}\u3067\u3059",check_failed_with_error:"\u30A8\u30E9\u30FC\u3067\u30C1\u30A7\u30C3\u30AF\u306B\u5931\u6557\u3057\u307E\u3057\u305F",component:"\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",statuses:{degraded:"\u4F4E\u4E0B",down:"\u505C\u6B62",error:"\u30A8\u30E9\u30FC",inactive:"\u975E\u30A2\u30AF\u30C6\u30A3\u30D6",started:"\u958B\u59CB",unknown:"\u4FDD\u7559\u4E2D",up:"\u7A3C\u50CD\u4E2D"},summary:"\u5065\u5EB7\u72B6\u614B\u306E\u6982\u8981",worker:"\u30EF\u30FC\u30AB\u30FC",workers:{dht_crawler:"DHT\u30AF\u30ED\u30FC\u30E9\u30FC",http_server:"HTTP\u30B5\u30FC\u30D0\u30FC",queue_server:"\u30AD\u30E5\u30FC\u30B5\u30FC\u30D0\u30FC"}},languages:{af:"\u30A2\u30D5\u30EA\u30AB\u30FC\u30F3\u30B9\u8A9E",ar:"\u30A2\u30E9\u30D3\u30A2\u8A9E",az:"\u30A2\u30BC\u30EB\u30D0\u30A4\u30B8\u30E3\u30F3\u8A9E",be:"\u30D9\u30E9\u30EB\u30FC\u30B7\u8A9E",bg:"\u30D6\u30EB\u30AC\u30EA\u30A2\u8A9E",bs:"\u30DC\u30B9\u30CB\u30A2\u8A9E",ca:"\u30AB\u30BF\u30EB\u30FC\u30CB\u30E3\u8A9E",ce:"\u30C1\u30A7\u30C1\u30A7\u30F3\u8A9E",co:"\u30B3\u30EB\u30B7\u30AB\u8A9E",cs:"\u30C1\u30A7\u30B3\u8A9E",cy:"\u30A6\u30A7\u30FC\u30EB\u30BA\u8A9E",da:"\u30C7\u30F3\u30DE\u30FC\u30AF\u8A9E",de:"\u30C9\u30A4\u30C4\u8A9E",el:"\u30AE\u30EA\u30B7\u30E3\u8A9E",en:"\u82F1\u8A9E",es:"\u30B9\u30DA\u30A4\u30F3\u8A9E",et:"\u30A8\u30B9\u30C8\u30CB\u30A2\u8A9E",eu:"\u30D0\u30B9\u30AF\u8A9E",fa:"\u30DA\u30EB\u30B7\u30E3\u8A9E",fi:"\u30D5\u30A3\u30F3\u30E9\u30F3\u30C9\u8A9E",fr:"\u30D5\u30E9\u30F3\u30B9\u8A9E",he:"\u30D8\u30D6\u30E9\u30A4\u8A9E",hi:"\u30D2\u30F3\u30C7\u30A3\u30FC\u8A9E",hr:"\u30AF\u30ED\u30A2\u30C1\u30A2\u8A9E",hu:"\u30CF\u30F3\u30AC\u30EA\u30FC\u8A9E",hy:"\u30A2\u30EB\u30E1\u30CB\u30A2\u8A9E",id:"\u30A4\u30F3\u30C9\u30CD\u30B7\u30A2\u8A9E",is:"\u30A2\u30A4\u30B9\u30E9\u30F3\u30C9\u8A9E",it:"\u30A4\u30BF\u30EA\u30A2\u8A9E",ja:"\u65E5\u672C\u8A9E",ka:"\u30B0\u30EB\u30B8\u30A2\u8A9E",ko:"\u97D3\u56FD\u8A9E",ku:"\u30AF\u30EB\u30C9\u8A9E",lt:"\u30EA\u30C8\u30A2\u30CB\u30A2\u8A9E",lv:"\u30E9\u30C8\u30D3\u30A2\u8A9E",mi:"\u30DE\u30AA\u30EA\u8A9E",mk:"\u30DE\u30B1\u30C9\u30CB\u30A2\u8A9E",ml:"\u30DE\u30E9\u30E4\u30FC\u30E9\u30E0\u8A9E",mn:"\u30E2\u30F3\u30B4\u30EB\u8A9E",ms:"\u30DE\u30EC\u30FC\u8A9E",mt:"\u30DE\u30EB\u30BF\u8A9E",nl:"\u30AA\u30E9\u30F3\u30C0\u8A9E",no:"\u30CE\u30EB\u30A6\u30A7\u30FC\u8A9E",pl:"\u30DD\u30FC\u30E9\u30F3\u30C9\u8A9E",pt:"\u30DD\u30EB\u30C8\u30AC\u30EB\u8A9E",ro:"\u30EB\u30FC\u30DE\u30CB\u30A2\u8A9E",ru:"\u30ED\u30B7\u30A2\u8A9E",sa:"\u30B5\u30F3\u30B9\u30AF\u30EA\u30C3\u30C8",sk:"\u30B9\u30ED\u30D0\u30AD\u30A2\u8A9E",sl:"\u30B9\u30ED\u30D9\u30CB\u30A2\u8A9E",sm:"\u30B5\u30E2\u30A2\u8A9E",so:"\u30BD\u30DE\u30EA\u8A9E",sr:"\u30BB\u30EB\u30D3\u30A2\u8A9E",sv:"\u30B9\u30A6\u30A7\u30FC\u30C7\u30F3\u8A9E",ta:"\u30BF\u30DF\u30EB\u8A9E",th:"\u30BF\u30A4\u8A9E",tr:"\u30C8\u30EB\u30B3\u8A9E",uk:"\u30A6\u30AF\u30E9\u30A4\u30CA\u8A9E",vi:"\u30D9\u30C8\u30CA\u30E0\u8A9E",yi:"\u30A4\u30C7\u30A3\u30C3\u30B7\u30E5\u8A9E",zh:"\u4E2D\u56FD\u8A9E",zu:"\u30BA\u30FC\u30EB\u30FC\u8A9E"},layout:{bitmagnet_on_service:"{{service}}\u306Ebitmagnet",change_theme:"\u30C6\u30FC\u30DE\u3092\u5909\u66F4",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",sponsor:"\u30B9\u30DD\u30F3\u30B5\u30FC",support_bitmagnet:"bitmagnet\u3092\u30B5\u30DD\u30FC\u30C8",translate:"\u7FFB\u8A33\u3059\u308B"},paginator:{first_page:"\u6700\u521D\u306E\u30DA\u30FC\u30B8",items_per_page:"\u30DA\u30FC\u30B8\u3042\u305F\u308A\u306E\u9805\u76EE\u6570",last_page:"\u6700\u5F8C\u306E\u30DA\u30FC\u30B8",next_page:"\u6B21\u306E\u30DA\u30FC\u30B8",page_x:"\u30DA\u30FC\u30B8 {{x}}",previous_page:"\u524D\u306E\u30DA\u30FC\u30B8",x_to_y:"{{x}} \u304B\u3089 {{y}} \u307E\u3067",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u304B\u3089 {{y}} \u307E\u3067\u306E {{z}}"},routes:{admin:"\u7BA1\u7406\u8005",dashboard:"\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",home:"\u30DB\u30FC\u30E0",jobs:"\u30B8\u30E7\u30D6",queues:"\u30AD\u30E5\u30FC",torrents:"\u30C8\u30EC\u30F3\u30C8",visualize:"\u53EF\u8996\u5316"},torrents:{classification:"\u5206\u985E",clear_search:"\u691C\u7D22\u3092\u30AF\u30EA\u30A2",copy:"\u30B3\u30D4\u30FC",copy_to_clipboard:"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC",delete:"\u524A\u9664",delete_action_cannot_be_undone:"\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093",delete_are_you_sure:"\u3053\u306E\u30C8\u30EC\u30F3\u30C8\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",deselect_all:"\u3059\u3079\u3066\u306E\u9078\u629E\u3092\u89E3\u9664",download:"\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",download_confirm:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B?",edit_tags:"\u30BF\u30B0\u3092\u7DE8\u96C6",episodes:"\u30A8\u30D4\u30BD\u30FC\u30C9",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",file_index:"\u30D5\u30A1\u30A4\u30EB\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9",file_path:"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9",file_size:"\u30D5\u30A1\u30A4\u30EB\u30B5\u30A4\u30BA",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",files:"\u30D5\u30A1\u30A4\u30EB",files_count_n:"{{count}} \u4EF6\u306E\u30D5\u30A1\u30A4\u30EB",files_no_info:"\u30D5\u30A1\u30A4\u30EB\u60C5\u5831\u306F\u3042\u308A\u307E\u305B\u3093",files_single:"\u5358\u4E00\u30D5\u30A1\u30A4\u30EB",genres:"\u30B8\u30E3\u30F3\u30EB",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",info_hashes:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",languages:"\u8A00\u8A9E",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",magnet:"\u30DE\u30B0\u30CD\u30C3\u30C8",magnet_links:"\u30DE\u30B0\u30CD\u30C3\u30C8\u30EA\u30F3\u30AF",new_tag:"\u65B0\u3057\u3044\u30BF\u30B0",order_by:"\u4E26\u3073\u66FF\u3048",order_direction_toggle:"\u4E26\u3073\u9806\u3092\u5207\u308A\u66FF\u3048",ordering:{files_count:"\u30D5\u30A1\u30A4\u30EB\u6570",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",name:"\u540D\u524D",published_at:"\u516C\u958B\u65E5\u6642",relevance:"\u95A2\u9023\u6027",seeders:"\u30B7\u30FC\u30C0\u30FC",size:"\u30B5\u30A4\u30BA",updated_at:"\u66F4\u65B0\u65E5\u6642"},original_release_date:"\u30AA\u30EA\u30B8\u30CA\u30EB\u306E\u767A\u58F2\u65E5",permalink:"\u30D1\u30FC\u30DE\u30EA\u30F3\u30AF",poster:"\u30DD\u30B9\u30BF\u30FC",published:"\u516C\u958B\u6E08\u307F",rating:"\u8A55\u4FA1",refresh:"\u7D50\u679C\u3092\u66F4\u65B0",reprocess:{force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",reprocess:"\u518D\u51E6\u7406"},s_l:"S / L",search:"\u691C\u7D22",seeders:"\u30B7\u30FC\u30C0\u30FC",select_all:"\u3059\u3079\u3066\u9078\u629E",showing_x_of_y_files:"{{x}} \u4EF6\u4E2D {{y}} \u4EF6\u8868\u793A",size:"\u30B5\u30A4\u30BA",source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",summary:"\u6982\u8981",tags:{delete:"\u30BF\u30B0\u3092\u524A\u9664",delete_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u304B\u3089\u30BF\u30B0\u3092\u524A\u9664",placeholder:"\u30BF\u30B0...",put:"\u30BF\u30B0\u3092\u4ED8\u3051\u308B",put_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306B\u30BF\u30B0\u3092\u8FFD\u52A0\u3059\u308B",set:"\u30BF\u30B0\u3092\u8A2D\u5B9A\u3059\u308B",set_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u30BF\u30B0\u3092\u7F6E\u304D\u63DB\u3048\u308B"},title:"\u30BF\u30A4\u30C8\u30EB",toggle_drawer:"\u5F15\u304D\u51FA\u3057\u3092\u5207\u308A\u66FF\u3048",votes_count_n:"{{count}} \u7968"},version:{bitmagnet_version:"bitmagnet\u30D0\u30FC\u30B8\u30E7\u30F3 {{version}}",unknown:"\u4E0D\u660E"}};var St={content_types:{plural:{all:"Alle",audiobook:"Audioboeken",comic:"Strips",ebook:"E-Boeken",game:"Spellen",movie:"Films",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma's",xxx:"XXX"},singular:{audiobook:"Audioboek",comic:"Strip",ebook:"E-Book",game:"Spel",movie:"Film",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma",xxx:"XXX"}},dashboard:{event:{created:"Gemaakt",failed:"Mislukt",processed:"Verwerkt",updated:"Bijgewerkt"},interval:{all:"Alle",days:"Dagen",days_1:"1 dag",hours:"Uren",hours_1:"1 uur",hours_12:"12 uur",hours_6:"6 uur",minutes:"Minuten",minutes_1:"1 minuut",minutes_15:"15 minuten",minutes_30:"30 minuten",minutes_5:"5 minuten",off:"Uit",seconds_10:"10 seconden",seconds_30:"30 seconden",weeks_1:"1 week"},metrics:{event:"Gebeurtenis",resolution:"Resolutie",throughput:"Doorvoer",timeframe:"Tijdsperiode",toggle_legend:"Legenda in-/uitschakelen"},queues:{created:"Gemaakt",created_at:"Gemaakt op",enqueue_jobs:"Voeg taken toe aan wachtrij",enqueue_torrent_processing_batch:"Torrentverwerkingsbatch toevoegen",failed:"Mislukt",force_rematch:"Forceer nieuwe match van al gematchte inhoud",jobs_enqueued:"Taken in wachtrij gezet",latency:"Latentie",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",payload:"Inhoud",pending:"In afwachting",priority:"Prioriteit",process_orphaned_torrents_only:"Verwerk alleen verweesde torrents",processed:"Verwerkt",purge_jobs:"Wis taken",purge_queue_jobs:"Wis wachtrijtaken",queue:"Wachtrij",queue_purged:"Wachtrij gewist",queues:"Wachtrijen",ran_at:"Uitgevoerd op",retry:"Opnieuw proberen",total_counts_by_status:"Totaal aantal per status"}},facets:{content_type:"Inhoudstype",file_type:"Bestandstype",genre:"Genre",language:"Taal",queue:"Wachtrij",status:"Status",torrent_source:"Torrentbron",torrent_tag:"Torrenttag",video_resolution:"Videoresolutie",video_source:"Videobron"},file_types:{archive:"Archief",audio:"Audio",data:"Data",document:"Document",image:"Afbeelding",software:"Software",subtitles:"Ondertitels",unknown:"Onbekend",video:"Video"},general:{all:"Alle",dismiss:"Sluiten",error:"Fout",none:"Geen",page_not_found:"Pagina niet gevonden",refresh:"Verversen",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Controle mislukt met foutmelding",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Sluiten",error:"Fout",status:"Status",statuses:{degraded:"Verlaagd",down:"Niet beschikbaar",error:"Fout",inactive:"Inactief",started:"Gestart",unknown:"Onbekend",up:"Beschikbaar"},summary:"Gezondheidsrapport",worker:"Werker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Wachtrijserver"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Azerbeidzjaans",be:"Wit-Russisch",bg:"Bulgaars",bs:"Bosnisch",ca:"Catalaans",ce:"Tsjetsjeens",co:"Corsicaans",cs:"Tsjechisch",cy:"Welsh",da:"Deens",de:"Duits",el:"Grieks",en:"Engels",es:"Spaans",et:"Ests",eu:"Baskisch",fa:"Perzisch",fi:"Fins",fr:"Frans",he:"Hebreeuws",hi:"Hindi",hr:"Kroatisch",hu:"Hongaars",hy:"Armeens",id:"Indonesisch",is:"IJslands",it:"Italiaans",ja:"Japans",ka:"Georgisch",ko:"Koreaans",ku:"Koerdisch",lt:"Litouws",lv:"Lets",mi:"Maori",mk:"Macedonisch",ml:"Malayalam",mn:"Mongools",ms:"Maleis",mt:"Maltees",nl:"Nederlands",no:"Noors",pl:"Pools",pt:"Portugees",ro:"Roemeens",ru:"Russisch",sa:"Sanskriet",sk:"Slowaaks",sl:"Sloveens",sm:"Samoaans",so:"Somalisch",sr:"Servisch",sv:"Zweeds",ta:"Tamil",th:"Thais",tr:"Turks",uk:"Oekra\xEFens",vi:"Vietnamees",yi:"Jiddisch",zh:"Chinees",zu:"Zoeloe"},layout:{bitmagnet_on_service:"bitmagnet op {{service}}",change_theme:"Wijzig thema",external_links:"Externe links",sponsor:"Sponsor",support_bitmagnet:"Ondersteun bitmagnet",translate:"Vertalen"},paginator:{first_page:"Eerste pagina",items_per_page:"Items per pagina",last_page:"Laatste pagina",next_page:"Volgende pagina",page_x:"Pagina {{x}}",previous_page:"Vorige pagina",x_to_y:"{{x}} tot {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} tot {{y}} van {{z}}"},routes:{admin:"Beheerder",dashboard:"Dashboard",home:"Home",jobs:"Taken",queues:"Wachtrijen",torrents:"Torrents",visualize:"Visualiseren"},torrents:{classification:"Classificatie",clear_search:"Zoekopdracht wissen",copy:"Kopi\xEBren",copy_to_clipboard:"Kopi\xEBren naar klembord",delete:"Verwijderen",delete_action_cannot_be_undone:"Deze actie kan niet ongedaan worden gemaakt",delete_are_you_sure:"Weet u zeker dat u deze torrent wilt verwijderen?",deselect_all:"Deselecteer alles",download:"Downloaden",download_confirm:"Weet u zeker dat u de geselecteerde torrents wilt downloaden?",edit_tags:"Tags bewerken",episodes:"Afleveringen",external_links:"Externe links",file_index:"Bestandsindex",file_path:"Bestandspad",file_size:"Bestandsgrootte",file_type:"Bestandstype",files:"Bestanden",files_count_n:"{{count}} bestanden",files_no_info:"Geen informatie over bestanden beschikbaar",files_single:"Enkel bestand",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Talen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-links",new_tag:"Nieuwe tag",order_by:"Sorteren op",order_direction_toggle:"Richting omkeren",ordering:{files_count:"Aantal bestanden",info_hash:"Info hash",leechers:"Leechers",name:"Naam",published_at:"Gepubliceerd op",relevance:"Relevantie",seeders:"Seeders",size:"Grootte",updated_at:"Bijgewerkt op"},original_release_date:"Oorspronkelijke releasedatum",permalink:"Permalink",poster:"Poster",published:"Gepubliceerd",rating:"Beoordeling",refresh:"Vernieuw resultaten",reprocess:{force_rematch:"Forceer nieuwe match van al gematchte inhoud",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",reprocess:"Opnieuw verwerken"},s_l:"S / L",search:"Zoeken",seeders:"Seeders",select_all:"Alles selecteren",showing_x_of_y_files:"{{x}} van {{y}} bestanden weergegeven",size:"Grootte",source:"Torrentbron",summary:"Samenvatting",tags:{delete:"Tags verwijderen",delete_tip:"Tags verwijderen van de geselecteerde torrents",placeholder:"Tag...",put:"Tags plaatsen",put_tip:"Tags toevoegen aan de geselecteerde torrents",set:"Tags instellen",set_tip:"Tags van de geselecteerde torrents vervangen"},title:"Titel",toggle_drawer:"Zijpaneel in-/uitschakelen",votes_count_n:"{{count}} stemmen"},version:{bitmagnet_version:"bitmagnet versie {{version}}",unknown:"onbekend"}};var Ct={content_types:{plural:{all:"Todos",audiobook:"Audiolivros",comic:"Quadrinhos",ebook:"E-books",game:"Jogos",movie:"Filmes",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolivro",comic:"Quadrinho",ebook:"E-book",game:"Jogo",movie:"Filme",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Criado",failed:"Falhou",processed:"Processado",updated:"Atualizado"},interval:{all:"Todos",days:"Dias",days_1:"1 dia",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Desligado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resolu\xE7\xE3o",throughput:"Taxa de transfer\xEAncia",timeframe:"Intervalo de tempo",toggle_legend:"Alternar legenda"},queues:{created:"Criado",created_at:"Criado em",enqueue_jobs:"Enfileirar trabalhos",enqueue_torrent_processing_batch:"Enfileirar lote de processamento de torrents",failed:"Falhou",force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",jobs_enqueued:"Trabalhos enfileirados",latency:"Lat\xEAncia",match_content_by_external_api_search:"Correspond\xEAncia de conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Correspond\xEAncia de conte\xFAdo por pesquisa local",payload:"Carga \xFAtil",pending:"Pendente",priority:"Prioridade",process_orphaned_torrents_only:"Processar apenas torrents \xF3rf\xE3os",processed:"Processado",purge_jobs:"Limpar trabalhos",purge_queue_jobs:"Limpar trabalhos da fila",queue:"Fila",queue_purged:"Fila limpa",queues:"Filas",ran_at:"Executado em",retry:"Tentar novamente",total_counts_by_status:"Contagens totais por status"}},facets:{content_type:"Tipo de Conte\xFAdo",file_type:"Tipo de Arquivo",genre:"G\xEAnero",language:"Idioma",queue:"Fila",status:"Status",torrent_source:"Fonte do Torrent",torrent_tag:"Tag do Torrent",video_resolution:"Resolu\xE7\xE3o de V\xEDdeo",video_source:"Fonte de V\xEDdeo"},file_types:{archive:"Arquivo",audio:"\xC1udio",data:"Dados",document:"Documento",image:"Imagem",software:"Software",subtitles:"Legendas",unknown:"Desconhecido",video:"V\xEDdeo"},general:{all:"Todos",dismiss:"Fechar",error:"Erro",none:"Nenhum",page_not_found:"P\xE1gina n\xE3o encontrada",refresh:"Atualizar",status:"Status"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"Verifica\xE7\xE3o falhou com erro",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fechar",error:"Erro",status:"Status",statuses:{degraded:"Degradado",down:"Fora do ar",error:"Erro",inactive:"Inativo",started:"Iniciado",unknown:"Pendente",up:"Funcionando"},summary:"Resumo de Sa\xFAde",worker:"Trabalhador",workers:{dht_crawler:"Rastreamento DHT",http_server:"Servidor HTTP",queue_server:"Servidor de Fila"}},languages:{af:"Afric\xE2ner",ar:"\xC1rabe",az:"Azeri",be:"Bielorrusso",bg:"B\xFAlgaro",bs:"B\xF3snio",ca:"Catal\xE3o",ce:"Checheno",co:"Corso",cs:"Tcheco",cy:"Gal\xEAs",da:"Dinamarqu\xEAs",de:"Alem\xE3o",el:"Grego",en:"Ingl\xEAs",es:"Espanhol",et:"Estoniano",eu:"Basco",fa:"Persa",fi:"Finland\xEAs",fr:"Franc\xEAs",he:"Hebraico",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Arm\xEAnio",id:"Indon\xE9sio",is:"Island\xEAs",it:"Italiano",ja:"Japon\xEAs",ka:"Georgiano",ko:"Coreano",ku:"Curdo",lt:"Lituano",lv:"Let\xE3o",mi:"Maori",mk:"Maced\xF4nio",ml:"Malaiala",mn:"Mongol",ms:"Malaio",mt:"Malt\xEAs",nl:"Holand\xEAs",no:"Noruegu\xEAs",pl:"Polon\xEAs",pt:"Portugu\xEAs",ro:"Romeno",ru:"Russo",sa:"S\xE2nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somali",sr:"S\xE9rvio",sv:"Sueco",ta:"T\xE2mil",th:"Tailand\xEAs",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"I\xEDdiche",zh:"Chin\xEAs",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet em {{service}}",change_theme:"Alterar tema",external_links:"Links externos",sponsor:"Patrocinador",support_bitmagnet:"Apoiar bitmagnet",translate:"Traduzir"},paginator:{first_page:"Primeira p\xE1gina",items_per_page:"Itens por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"Pr\xF3xima p\xE1gina",page_x:"P\xE1gina {{x}}",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administra\xE7\xE3o",dashboard:"Painel",home:"In\xEDcio",jobs:"Tarefas",queues:"Filas",torrents:"Torrents",visualize:"Visualizar"},torrents:{classification:"Classifica\xE7\xE3o",clear_search:"Limpar Pesquisa",copy:"Copiar",copy_to_clipboard:"Copiar para a \xE1rea de transfer\xEAncia",delete:"Excluir",delete_action_cannot_be_undone:"Esta a\xE7\xE3o n\xE3o pode ser desfeita",delete_are_you_sure:"Tem certeza de que deseja excluir este torrent?",deselect_all:"Desmarcar todos",download:"Baixar",download_confirm:"Tem certeza de que deseja baixar os torrents selecionados?",edit_tags:"Editar tags",episodes:"Epis\xF3dios",external_links:"Links externos",file_index:"\xCDndice de arquivo",file_path:"Caminho do arquivo",file_size:"Tamanho do arquivo",file_type:"Tipo de arquivo",files:"Arquivos",files_count_n:"{{count}} arquivos",files_no_info:"Sem informa\xE7\xF5es de arquivos dispon\xEDveis",files_single:"Arquivo \xFAnico",genres:"G\xEAneros",info_hash:"Hash de informa\xE7\xE3o",info_hashes:"Hashes de informa\xE7\xE3o",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Links magnet",new_tag:"Nova tag",order_by:"Ordenar por",order_direction_toggle:"Inverter dire\xE7\xE3o",ordering:{files_count:"Contagem de arquivos",info_hash:"Hash de informa\xE7\xE3o",leechers:"Leechers",name:"Nome",published_at:"Publicado em",relevance:"Relev\xE2ncia",seeders:"Seeders",size:"Tamanho",updated_at:"Atualizado em"},original_release_date:"Data de lan\xE7amento original",permalink:"Link permanente",poster:"P\xF4ster",published:"Publicado",rating:"Classifica\xE7\xE3o",refresh:"Atualizar resultados",reprocess:{force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",match_content_by_external_api_search:"Corresponder conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Corresponder conte\xFAdo por pesquisa local",reprocess:"Reprocessar"},s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Selecionar tudo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} arquivos",size:"Tamanho",source:"Fonte do torrent",summary:"Resumo",tags:{delete:"Excluir tags",delete_tip:"Remover tags dos torrents selecionados",placeholder:"Tag...",put:"Colocar tags",put_tip:"Adicionar tags aos torrents selecionados",set:"Definir tags",set_tip:"Substituir tags dos torrents selecionados"},title:"T\xEDtulo",toggle_drawer:"Alternar gaveta",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"Vers\xE3o do bitmagnet {{version}}",unknown:"desconhecido"}};var Mt={content_types:{plural:{all:"\u0412\u0441\u0435",audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0438\u043A\u0441\u044B",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0435 \u043A\u043D\u0438\u0433\u0438",game:"\u0418\u0433\u0440\u044B",movie:"\u0424\u0438\u043B\u044C\u043C\u044B",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0438\u043A\u0441",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043A\u043D\u0438\u0433\u0430",game:"\u0418\u0433\u0440\u0430",movie:"\u0424\u0438\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",updated:"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0412\u0441\u0435",days:"\u0414\u043D\u0438",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0427\u0430\u0441\u044B",hours_1:"1 \u0447\u0430\u0441",hours_12:"12 \u0447\u0430\u0441\u043E\u0432",hours_6:"6 \u0447\u0430\u0441\u043E\u0432",minutes:"\u041C\u0438\u043D\u0443\u0442\u044B",minutes_1:"1 \u043C\u0438\u043D\u0443\u0442\u0430",minutes_15:"15 \u043C\u0438\u043D\u0443\u0442",minutes_30:"30 \u043C\u0438\u043D\u0443\u0442",minutes_5:"5 \u043C\u0438\u043D\u0443\u0442",off:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u043D\u0435\u0434\u0435\u043B\u044F"},metrics:{event:"\u0421\u043E\u0431\u044B\u0442\u0438\u0435",resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C",timeframe:"\u041F\u0435\u0440\u0438\u043E\u0434 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",toggle_legend:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043B\u0435\u0433\u0435\u043D\u0434\u0443"},queues:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",created_at:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E \u0432",enqueue_jobs:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",enqueue_torrent_processing_batch:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0430\u0440\u0442\u0438\u044E \u0434\u043B\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",jobs_enqueued:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",latency:"\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",payload:"\u0414\u0430\u043D\u043D\u044B\u0435",pending:"\u0412 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0438",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \xAB\u043E\u0441\u0438\u0440\u043E\u0442\u0435\u0432\u0448\u0438\u0435\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u043E\u0447\u0435\u0440\u0435\u0434\u0438",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",queue_purged:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",ran_at:"\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0432",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",total_counts_by_status:"\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",genre:"\u0416\u0430\u043D\u0440",language:"\u042F\u0437\u044B\u043A",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0432\u0438\u0434\u0435\u043E",video_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0432\u0438\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0438\u0432",audio:"\u0410\u0443\u0434\u0438\u043E",data:"\u0414\u0430\u043D\u043D\u044B\u0435",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",video:"\u0412\u0438\u0434\u0435\u043E"},general:{all:"\u0412\u0441\u0435",dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",none:"\u041D\u0435\u0442",page_not_found:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0421\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",down:"\u041D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",error:"\u041E\u0448\u0438\u0431\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u0435\u043D",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",up:"\u0420\u0430\u0431\u043E\u0442\u0430\u0435\u0442"},summary:"\u0421\u0432\u043E\u0434\u043A\u0430 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F",worker:"\u0420\u0430\u0431\u043E\u0447\u0438\u0439",workers:{dht_crawler:"DHT \u043E\u0431\u0445\u043E\u0434\u0447\u0438\u043A",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u043E\u0447\u0435\u0440\u0435\u0434\u0435\u0439"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u043A\u0438\u0439",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u043A\u0438\u0439",be:"\u0411\u0435\u043B\u043E\u0440\u0443\u0441\u0441\u043A\u0438\u0439",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u043A\u0438\u0439",bs:"\u0411\u043E\u0441\u043D\u0438\u0439\u0441\u043A\u0438\u0439",ca:"\u041A\u0430\u0442\u0430\u043B\u0430\u043D\u0441\u043A\u0438\u0439",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u043A\u0438\u0439",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u043A\u0438\u0439",cs:"\u0427\u0435\u0448\u0441\u043A\u0438\u0439",cy:"\u0412\u0430\u043B\u043B\u0438\u0439\u0441\u043A\u0438\u0439",da:"\u0414\u0430\u0442\u0441\u043A\u0438\u0439",de:"\u041D\u0435\u043C\u0435\u0446\u043A\u0438\u0439",el:"\u0413\u0440\u0435\u0447\u0435\u0441\u043A\u0438\u0439",en:"\u0410\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u0438\u0439",es:"\u0418\u0441\u043F\u0430\u043D\u0441\u043A\u0438\u0439",et:"\u042D\u0441\u0442\u043E\u043D\u0441\u043A\u0438\u0439",eu:"\u0411\u0430\u0441\u043A\u0441\u043A\u0438\u0439",fa:"\u041F\u0435\u0440\u0441\u0438\u0434\u0441\u043A\u0438\u0439",fi:"\u0424\u0438\u043D\u0441\u043A\u0438\u0439",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u0441\u043A\u0438\u0439",he:"\u0418\u0432\u0440\u0438\u0442",hi:"\u0425\u0438\u043D\u0434\u0438",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u043A\u0438\u0439",hu:"\u0412\u0435\u043D\u0433\u0435\u0440\u0441\u043A\u0438\u0439",hy:"\u0410\u0440\u043C\u044F\u043D\u0441\u043A\u0438\u0439",id:"\u0418\u043D\u0434\u043E\u043D\u0435\u0437\u0438\u0439\u0441\u043A\u0438\u0439",is:"\u0418\u0441\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",it:"\u0418\u0442\u0430\u043B\u044C\u044F\u043D\u0441\u043A\u0438\u0439",ja:"\u042F\u043F\u043E\u043D\u0441\u043A\u0438\u0439",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u043A\u0438\u0439",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u043A\u0438\u0439",ku:"\u041A\u0443\u0440\u0434\u0441\u043A\u0438\u0439",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u043A\u0438\u0439",lv:"\u041B\u0430\u0442\u044B\u0448\u0441\u043A\u0438\u0439",mi:"\u041C\u0430\u043E\u0440\u0438",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438\u0439",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u043A\u0438\u0439",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u043A\u0438\u0439",mt:"\u041C\u0430\u043B\u044C\u0442\u0438\u0439\u0441\u043A\u0438\u0439",nl:"\u041D\u0438\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",no:"\u041D\u043E\u0440\u0432\u0435\u0436\u0441\u043A\u0438\u0439",pl:"\u041F\u043E\u043B\u044C\u0441\u043A\u0438\u0439",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u043A\u0438\u0439",ro:"\u0420\u0443\u043C\u044B\u043D\u0441\u043A\u0438\u0439",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u043A\u0438\u0439",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u043A\u0438\u0439",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u043A\u0438\u0439",so:"\u0421\u043E\u043C\u0430\u043B\u0438\u0439\u0441\u043A\u0438\u0439",sr:"\u0421\u0435\u0440\u0431\u0441\u043A\u0438\u0439",sv:"\u0428\u0432\u0435\u0434\u0441\u043A\u0438\u0439",ta:"\u0422\u0430\u043C\u0438\u043B\u044C\u0441\u043A\u0438\u0439",th:"\u0422\u0430\u0439\u0441\u043A\u0438\u0439",tr:"\u0422\u0443\u0440\u0435\u0446\u043A\u0438\u0439",uk:"\u0423\u043A\u0440\u0430\u0438\u043D\u0441\u043A\u0438\u0439",vi:"\u0412\u044C\u0435\u0442\u043D\u0430\u043C\u0441\u043A\u0438\u0439",yi:"\u0418\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u043A\u0438\u0439",zu:"\u0417\u0443\u043B\u0443\u0441\u0441\u043A\u0438\u0439"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u043C\u0443",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044C bitmagnet",translate:"\u041F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0432\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",items_per_page:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",last_page:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",next_page:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",page_x:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 {{x}}",previous_page:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0438\u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F",home:"\u0413\u043B\u0430\u0432\u043D\u0430\u044F",jobs:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u044B",visualize:"\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F"},torrents:{classification:"\u041A\u043B\u0430\u0441\u0441\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A",copy:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",copy_to_clipboard:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",delete_action_cannot_be_undone:"\u042D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",delete_are_you_sure:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0421\u043D\u044F\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435",download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C",download_confirm:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B?",edit_tags:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u0433\u0438",episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",file_index:"\u0418\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0430",file_path:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",files:"\u0424\u0430\u0439\u043B\u044B",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u043E\u0432",files_no_info:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0444\u0430\u0439\u043B\u0430\u0445 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u044B",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",info_hashes:"\u0425\u044D\u0448\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",languages:"\u042F\u0437\u044B\u043A\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442 \u0441\u0441\u044B\u043B\u043A\u0438",new_tag:"\u041D\u043E\u0432\u044B\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E",order_direction_toggle:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",ordering:{files_count:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0444\u0430\u0439\u043B\u043E\u0432",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",name:"\u0418\u043C\u044F",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u044C",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",size:"\u0420\u0430\u0437\u043C\u0435\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F"},original_release_date:"\u041E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u0432\u044B\u043F\u0443\u0441\u043A\u0430",permalink:"\u041F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u0430\u044F \u0441\u0441\u044B\u043B\u043A\u0430",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B",reprocess:{force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",reprocess:"\u041F\u0435\u0440\u0435\u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C"},s_l:"S / L",search:"\u041F\u043E\u0438\u0441\u043A",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",select_all:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0438\u0437 {{y}} \u0444\u0430\u0439\u043B\u043E\u0432",size:"\u0420\u0430\u0437\u043C\u0435\u0440",source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0421\u0432\u043E\u0434\u043A\u0430",tags:{delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438",delete_tip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0438\u0437 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",placeholder:"\u0422\u0435\u0433...",put:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u043A \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430\u043C",set:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432"},title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",toggle_drawer:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u043E\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0438\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}};var zt={content_types:{plural:{all:"T\xFCm\xFC",audiobook:"Sesli Kitaplar",comic:"\xC7izgi Romanlar",ebook:"E-Kitaplar",game:"Oyunlar",movie:"Filmler",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Programlar\u0131",xxx:"XXX"},singular:{audiobook:"Sesli Kitap",comic:"\xC7izgi Roman",ebook:"E-Kitap",game:"Oyun",movie:"Film",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Program\u0131",xxx:"XXX"}},dashboard:{event:{created:"Olu\u015Fturuldu",failed:"Ba\u015Far\u0131s\u0131z",processed:"\u0130\u015Flendi",updated:"G\xFCncellendi"},interval:{all:"T\xFCm\xFC",days:"G\xFCnler",days_1:"1 g\xFCn",hours:"Saatler",hours_1:"1 saat",hours_12:"12 saat",hours_6:"6 saat",minutes:"Dakikalar",minutes_1:"1 dakika",minutes_15:"15 dakika",minutes_30:"30 dakika",minutes_5:"5 dakika",off:"Kapal\u0131",seconds_10:"10 saniye",seconds_30:"30 saniye",weeks_1:"1 hafta"},metrics:{event:"Olay",resolution:"\xC7\xF6z\xFCn\xFCrl\xFCk",throughput:"Verim",timeframe:"Zaman Dilimi",toggle_legend:"Efsaneyi De\u011Fi\u015Ftir"},queues:{created:"Olu\u015Fturuldu",created_at:"Olu\u015Fturulma tarihi",enqueue_jobs:"\u0130\u015Fleri Kuyru\u011Fa Al",enqueue_torrent_processing_batch:"Torrent \u0130\u015Fleme Paketini Kuyru\u011Fa Al",failed:"Ba\u015Far\u0131s\u0131z",force_rematch:"E\u015Fle\u015Fmi\u015F i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",jobs_enqueued:"Kuyru\u011Fa Al\u0131nan \u0130\u015Fler",latency:"Gecikme",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",payload:"Veri Y\xFCk\xFC",pending:"Beklemede",priority:"\xD6ncelik",process_orphaned_torrents_only:"Sadece sahipsiz torrentleri i\u015Fle",processed:"\u0130\u015Flendi",purge_jobs:"\u0130\u015Fleri Temizle",purge_queue_jobs:"Kuyruk \u0130\u015Flerini Temizle",queue:"Kuyruk",queue_purged:"Kuyruk Temizlendi",queues:"Kuyruklar",ran_at:"\xC7al\u0131\u015Ft\u0131r\u0131ld\u0131",retry:"Tekrar Dene",total_counts_by_status:"Duruma G\xF6re Toplam Say\u0131lar"}},facets:{content_type:"\u0130\xE7erik T\xFCr\xFC",file_type:"Dosya T\xFCr\xFC",genre:"T\xFCr",language:"Dil",queue:"Kuyruk",status:"Durum",torrent_source:"Torrent Kayna\u011F\u0131",torrent_tag:"Torrent Etiketi",video_resolution:"Video \xC7\xF6z\xFCn\xFCrl\xFC\u011F\xFC",video_source:"Video Kayna\u011F\u0131"},file_types:{archive:"Ar\u015Fiv",audio:"Ses",data:"Veri",document:"Belge",image:"G\xF6r\xFCnt\xFC",software:"Yaz\u0131l\u0131m",subtitles:"Altyaz\u0131lar",unknown:"Bilinmiyor",video:"Video"},general:{all:"T\xFCm\xFC",dismiss:"Kapat",error:"Hata",none:"Hi\xE7biri",page_not_found:"Sayfa Bulunamad\u0131",refresh:"Yenile",status:"Durum"},health:{bitmagnet_is_status:"bitmagnet durumu {{status}}",check_failed_with_error:"Hata ile kontrol ba\u015Far\u0131s\u0131z oldu",component:"Bile\u015Fen",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Kapat",error:"Hata",status:"Durum",statuses:{degraded:"Azalm\u0131\u015F",down:"Kapal\u0131",error:"Hata",inactive:"Etkin de\u011Fil",started:"Ba\u015Flad\u0131",unknown:"Bilinmiyor",up:"\xC7al\u0131\u015F\u0131yor"},summary:"Sa\u011Fl\u0131k \xD6zeti",worker:"\u0130\u015F\xE7i",workers:{dht_crawler:"DHT taray\u0131c\u0131",http_server:"HTTP sunucusu",queue_server:"Kuyruk sunucusu"}},languages:{af:"Afrikanca",ar:"Arap\xE7a",az:"Azerice",be:"Beyaz Rus\xE7a",bg:"Bulgarca",bs:"Bo\u015Fnak\xE7a",ca:"Katalanca",ce:"\xC7e\xE7ence",co:"Korsikaca",cs:"\xC7ek\xE7e",cy:"Galce",da:"Danca",de:"Almanca",el:"Yunanca",en:"\u0130ngilizce",es:"\u0130spanyolca",et:"Estonca",eu:"Bask\xE7a",fa:"Fars\xE7a",fi:"Fince",fr:"Frans\u0131zca",he:"\u0130branice",hi:"Hint\xE7e",hr:"H\u0131rvat\xE7a",hu:"Macarca",hy:"Ermenice",id:"Endonezce",is:"\u0130zlandaca",it:"\u0130talyanca",ja:"Japonca",ka:"G\xFCrc\xFCce",ko:"Korece",ku:"K\xFCrt\xE7e",lt:"Litvanca",lv:"Letonca",mi:"Maorice",mk:"Makedonca",ml:"Malayalamca",mn:"Mo\u011Folca",ms:"Malayca",mt:"Maltaca",nl:"Flemenk\xE7e",no:"Norve\xE7\xE7e",pl:"Leh\xE7e",pt:"Portekizce",ro:"Romence",ru:"Rus\xE7a",sa:"Sanskrit\xE7e",sk:"Slovak\xE7a",sl:"Slovence",sm:"Samoaca",so:"Somalice",sr:"S\u0131rp\xE7a",sv:"\u0130sve\xE7\xE7e",ta:"Tamilce",th:"Tayca",tr:"T\xFCrk\xE7e",uk:"Ukraynaca",vi:"Vietnamca",yi:"Yidi\u015F",zh:"\xC7ince",zu:"Zuluca"},layout:{bitmagnet_on_service:"{{service}} \xFCzerinde bitmagnet",change_theme:"Temay\u0131 De\u011Fi\u015Ftir",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",sponsor:"Sponsor",support_bitmagnet:"bitmagnet'i Destekle",translate:"\xC7evir"},paginator:{first_page:"\u0130lk Sayfa",items_per_page:"Sayfa ba\u015F\u0131na \xF6\u011Fe",last_page:"Son Sayfa",next_page:"Sonraki Sayfa",page_x:"{{x}}. Sayfa",previous_page:"\xD6nceki Sayfa",x_to_y:"{{x}} - {{y}} aras\u0131",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} ile {{y}} aras\u0131, toplam {{z}}"},routes:{admin:"Y\xF6netici",dashboard:"Kontrol Paneli",home:"Ana Sayfa",jobs:"G\xF6revler",queues:"Kuyruklar",torrents:"Torrentler",visualize:"G\xF6rselle\u015Ftir"},torrents:{classification:"S\u0131n\u0131fland\u0131rma",clear_search:"Aramay\u0131 Temizle",copy:"Kopyala",copy_to_clipboard:"Panoya Kopyala",delete:"Sil",delete_action_cannot_be_undone:"Bu i\u015Flem geri al\u0131namaz",delete_are_you_sure:"Bu torrent'i silmek istedi\u011Finizden emin misiniz?",deselect_all:"T\xFCm Se\xE7imleri Kald\u0131r",download:"\u0130ndir",download_confirm:"Se\xE7ilen torrentleri indirmek istedi\u011Finizden emin misiniz?",edit_tags:"Etiketleri D\xFCzenle",episodes:"B\xF6l\xFCmler",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",file_index:"Dosya Dizini",file_path:"Dosya Yolu",file_size:"Dosya Boyutu",file_type:"Dosya T\xFCr\xFC",files:"Dosyalar",files_count_n:"{{count}} dosya",files_no_info:"Dosya bilgisi mevcut de\u011Fil",files_single:"Tek dosya",genres:"T\xFCrler",info_hash:"Bilgi hash'i",info_hashes:"Bilgi hash'leri",languages:"Diller",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet Ba\u011Flant\u0131lar",new_tag:"Yeni etiket",order_by:"S\u0131ralama \xF6l\xE7\xFCt\xFC",order_direction_toggle:"Y\xF6n\xFC de\u011Fi\u015Ftir",ordering:{files_count:"Dosya say\u0131s\u0131",info_hash:"Bilgi hash'i",leechers:"Leechers",name:"Ad",published_at:"Yay\u0131nlanma tarihi",relevance:"Alaka d\xFCzeyi",seeders:"Seeders",size:"Boyut",updated_at:"G\xFCncellenme tarihi"},original_release_date:"Orijinal \xE7\u0131k\u0131\u015F tarihi",permalink:"Kal\u0131c\u0131 Ba\u011Flant\u0131",poster:"Poster",published:"Yay\u0131nland\u0131",rating:"Puan",refresh:"Sonu\xE7lar\u0131 Yenile",reprocess:{force_rematch:"Zaten e\u015Fle\u015Fen i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",reprocess:"Yeniden i\u015Fle"},s_l:"S / L",search:"Ara",seeders:"Seeders",select_all:"T\xFCm\xFCn\xFC Se\xE7",showing_x_of_y_files:"{{y}} dosyan\u0131n {{x}} tanesi g\xF6steriliyor",size:"Boyut",source:"Torrent Kayna\u011F\u0131",summary:"\xD6zet",tags:{delete:"Etiketleri sil",delete_tip:"Se\xE7ili torrentlerden etiketleri kald\u0131r",placeholder:"Etiket...",put:"Etiket koy",put_tip:"Se\xE7ili torrentlere etiket ekle",set:"Etiketleri ayarla",set_tip:"Se\xE7ili torrentlerin etiketlerini de\u011Fi\u015Ftir"},title:"Ba\u015Fl\u0131k",toggle_drawer:"\xC7ekmeceyi A\xE7/Kapat",votes_count_n:"{{count}} oy"},version:{bitmagnet_version:"bitmagnet versiyonu {{version}}",unknown:"bilinmiyor"}};var At={content_types:{plural:{all:"\u0423\u0441\u0456",audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0456\u043A\u0441\u0438",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0456 \u043A\u043D\u0438\u0433\u0438",game:"\u0406\u0433\u0440\u0438",movie:"\u0424\u0456\u043B\u044C\u043C\u0438",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0456\u043A\u0441",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043A\u043D\u0438\u0433\u0430",game:"\u0413\u0440\u0430",movie:"\u0424\u0456\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",updated:"\u041E\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0423\u0441\u0456",days:"\u0414\u043D\u0456",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0413\u043E\u0434\u0438\u043D\u0438",hours_1:"1 \u0433\u043E\u0434\u0438\u043D\u0430",hours_12:"12 \u0433\u043E\u0434\u0438\u043D",hours_6:"6 \u0433\u043E\u0434\u0438\u043D",minutes:"\u0425\u0432\u0438\u043B\u0438\u043D\u0438",minutes_1:"1 \u0445\u0432\u0438\u043B\u0438\u043D\u0430",minutes_15:"15 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_30:"30 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_5:"5 \u0445\u0432\u0438\u043B\u0438\u043D",off:"\u0412\u0438\u043C\u043A\u043D\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u0442\u0438\u0436\u0434\u0435\u043D\u044C"},metrics:{event:"\u041F\u043E\u0434\u0456\u044F",resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",timeframe:"\u041F\u0440\u043E\u043C\u0456\u0436\u043E\u043A \u0447\u0430\u0441\u0443",toggle_legend:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043B\u0435\u0433\u0435\u043D\u0434\u0443"},queues:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",created_at:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E \u043E",enqueue_jobs:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E \u0447\u0435\u0440\u0433\u0438",enqueue_torrent_processing_batch:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043F\u0430\u043A\u0435\u0442 \u0434\u043B\u044F \u043E\u0431\u0440\u043E\u0431\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",jobs_enqueued:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E\u0434\u0430\u043D\u043E \u0432 \u0447\u0435\u0440\u0433\u0443",latency:"\u0417\u0430\u0442\u0440\u0438\u043C\u043A\u0430",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",payload:"\u0414\u0430\u043D\u0456",pending:"\u0412 \u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u043D\u0456",priority:"\u041F\u0440\u0456\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u043E\u0431\u043B\u044F\u0442\u0438 \u043B\u0438\u0448\u0435 \xAB\u0441\u0438\u0440\u043E\u0442\u043B\u0438\u0432\u0456\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0447\u0435\u0440\u0433\u0438",queue:"\u0427\u0435\u0440\u0433\u0430",queue_purged:"\u0427\u0435\u0440\u0433\u0430 \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u0427\u0435\u0440\u0433\u0438",ran_at:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E \u043E",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438",total_counts_by_status:"\u0417\u0430\u0433\u0430\u043B\u044C\u043D\u0430 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0437\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C\u0438"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",genre:"\u0416\u0430\u043D\u0440",language:"\u041C\u043E\u0432\u0430",queue:"\u0427\u0435\u0440\u0433\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C \u0432\u0456\u0434\u0435\u043E",video_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0432\u0456\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0456\u0432",audio:"\u0410\u0443\u0434\u0456\u043E",data:"\u0414\u0430\u043D\u0456",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u0438",unknown:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",video:"\u0412\u0456\u0434\u0435\u043E"},general:{all:"\u0423\u0441\u0456",dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",none:"\u041D\u0435\u043C\u0430\u0454",page_not_found:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u043E\u044E",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0417\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u0456\u0441\u0442\u044C",down:"\u041D\u0435 \u043F\u0440\u0430\u0446\u044E\u0454",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u0438\u0439",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F",up:"\u041F\u0440\u0430\u0446\u044E\u0454"},summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F \u0441\u0442\u0430\u043D\u0443",worker:"\u041F\u0440\u0430\u0446\u0456\u0432\u043D\u0438\u043A",workers:{dht_crawler:"DHT \u0441\u043A\u0430\u043D\u0435\u0440",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u0447\u0435\u0440\u0433\u0438"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u044C\u043A\u0430",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0456\u043B\u043E\u0440\u0443\u0441\u044C\u043A\u0430",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u044C\u043A\u0430",bs:"\u0411\u043E\u0441\u043D\u0456\u0439\u0441\u044C\u043A\u0430",ca:"\u041A\u0430\u0442\u0430\u043B\u043E\u043D\u0441\u044C\u043A\u0430",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u044C\u043A\u0430",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u044C\u043A\u0430",cs:"\u0427\u0435\u0441\u044C\u043A\u0430",cy:"\u0412\u0430\u043B\u043B\u0456\u0439\u0441\u044C\u043A\u0430",da:"\u0414\u0430\u043D\u0441\u044C\u043A\u0430",de:"\u041D\u0456\u043C\u0435\u0446\u044C\u043A\u0430",el:"\u0413\u0440\u0435\u0446\u044C\u043A\u0430",en:"\u0410\u043D\u0433\u043B\u0456\u0439\u0441\u044C\u043A\u0430",es:"\u0406\u0441\u043F\u0430\u043D\u0441\u044C\u043A\u0430",et:"\u0415\u0441\u0442\u043E\u043D\u0441\u044C\u043A\u0430",eu:"\u0411\u0430\u0441\u043A\u0441\u044C\u043A\u0430",fa:"\u041F\u0435\u0440\u0441\u044C\u043A\u0430",fi:"\u0424\u0456\u043D\u0441\u044C\u043A\u0430",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u044C\u043A\u0430",he:"\u0406\u0432\u0440\u0438\u0442",hi:"\u0425\u0456\u043D\u0434\u0456",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u044C\u043A\u0430",hu:"\u0423\u0433\u043E\u0440\u0441\u044C\u043A\u0430",hy:"\u0412\u0456\u0440\u043C\u0435\u043D\u0441\u044C\u043A\u0430",id:"\u0406\u043D\u0434\u043E\u043D\u0435\u0437\u0456\u0439\u0441\u044C\u043A\u0430",is:"\u0406\u0441\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",it:"\u0406\u0442\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",ja:"\u042F\u043F\u043E\u043D\u0441\u044C\u043A\u0430",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u044C\u043A\u0430",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u044C\u043A\u0430",ku:"\u041A\u0443\u0440\u0434\u0441\u044C\u043A\u0430",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u044C\u043A\u0430",lv:"\u041B\u0430\u0442\u0438\u0441\u044C\u043A\u0430",mi:"\u041C\u0430\u043E\u0440\u0456",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u044C\u043A\u0430",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u044C\u043A\u0430",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u044C\u043A\u0430",mt:"\u041C\u0430\u043B\u044C\u0442\u0456\u0439\u0441\u044C\u043A\u0430",nl:"\u041D\u0456\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",no:"\u041D\u043E\u0440\u0432\u0435\u0437\u044C\u043A\u0430",pl:"\u041F\u043E\u043B\u044C\u0441\u044C\u043A\u0430",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u044C\u043A\u0430",ro:"\u0420\u0443\u043C\u0443\u043D\u0441\u044C\u043A\u0430",ru:"\u0420\u043E\u0441\u0456\u0439\u0441\u044C\u043A\u0430",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u044C\u043A\u0430",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u044C\u043A\u0430",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u044C\u043A\u0430",so:"\u0421\u043E\u043C\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",sr:"\u0421\u0435\u0440\u0431\u0441\u044C\u043A\u0430",sv:"\u0428\u0432\u0435\u0434\u0441\u044C\u043A\u0430",ta:"\u0422\u0430\u043C\u0456\u043B\u044C\u0441\u044C\u043A\u0430",th:"\u0422\u0430\u0439\u0441\u044C\u043A\u0430",tr:"\u0422\u0443\u0440\u0435\u0446\u044C\u043A\u0430",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",vi:"\u0412'\u0454\u0442\u043D\u0430\u043C\u0441\u044C\u043A\u0430",yi:"\u0407\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u044C\u043A\u0430",zu:"\u0417\u0443\u043B\u0443\u0441\u044C\u043A\u0430"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u043C\u0443",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u0456\u0434\u0442\u0440\u0438\u043C\u0430\u0442\u0438 bitmagnet",translate:"\u041F\u0435\u0440\u0435\u043A\u043B\u0430\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0448\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",items_per_page:"\u0415\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u0446\u0456",last_page:"\u041E\u0441\u0442\u0430\u043D\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",next_page:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",page_x:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 {{x}}",previous_page:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_y:"__\u043F\u0440\u043E\u043F\u0430\u0432__",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0456\u043D\u043D\u044F",home:"\u0413\u043E\u043B\u043E\u0432\u043D\u0430",jobs:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F",queues:"\u0427\u0435\u0440\u0433\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u0438",visualize:"\u0412\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0443\u0432\u0430\u0442\u0438"},torrents:{classification:"\u041A\u043B\u0430\u0441\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u044F",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043F\u043E\u0448\u0443\u043A",copy:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438",copy_to_clipboard:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0456\u043D\u0443",delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",delete_action_cannot_be_undone:"\u0426\u044E \u0434\u0456\u044E \u043D\u0435 \u043C\u043E\u0436\u043D\u0430 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438",delete_are_you_sure:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u0435\u0439 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0417\u043D\u044F\u0442\u0438 \u0432\u0438\u0434\u0456\u043B\u0435\u043D\u043D\u044F",download:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438",download_confirm:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0456 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438?",edit_tags:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u0435\u0433\u0438",episodes:"\u0415\u043F\u0456\u0437\u043E\u0434\u0438",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",file_index:"\u0406\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0443",file_path:"\u0428\u043B\u044F\u0445 \u0434\u043E \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u043E\u0437\u043C\u0456\u0440 \u0444\u0430\u0439\u043B\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",files:"\u0424\u0430\u0439\u043B\u0438",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u0456\u0432",files_no_info:"\u0406\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F \u043F\u0440\u043E \u0444\u0430\u0439\u043B\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u0438",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",info_hashes:"\u0425\u0435\u0448\u0456 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",languages:"\u041C\u043E\u0432\u0438",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442-\u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",new_tag:"\u041D\u043E\u0432\u0438\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430",order_direction_toggle:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043D\u0430\u043F\u0440\u044F\u043C\u043E\u043A",ordering:{files_count:"\u041A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0444\u0430\u0439\u043B\u0456\u0432",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",name:"\u041D\u0430\u0437\u0432\u0430",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0456\u043A\u0430\u0446\u0456\u0457",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0456\u0441\u0442\u044C",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",size:"\u0420\u043E\u0437\u043C\u0456\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F"},original_release_date:"\u0414\u0430\u0442\u0430 \u043E\u0440\u0438\u0433\u0456\u043D\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043F\u0443\u0441\u043A\u0443",permalink:"\u041F\u043E\u0441\u0442\u0456\u0439\u043D\u0435 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438",reprocess:{force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",reprocess:"\u041F\u0435\u0440\u0435\u0440\u043E\u0431\u0438\u0442\u0438"},s_l:"S / L",search:"\u041F\u043E\u0448\u0443\u043A",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",select_all:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0456",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0437 {{y}} \u0444\u0430\u0439\u043B\u0456\u0432",size:"\u0420\u043E\u0437\u043C\u0456\u0440",source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F",tags:{delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",delete_tip:"\u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0442\u0435\u0433\u0438 \u0437 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",placeholder:"\u0422\u0435\u0433\u0438...",put:"\u0421\u0442\u0430\u0432\u0442\u0435 \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0434\u0430\u0439\u0442\u0435 \u0442\u0435\u0433\u0438 \u0434\u043E \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",set:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u0433\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432"},title:"\u041D\u0430\u0437\u0432\u0430",toggle_drawer:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u0456\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0456\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0432\u0456\u0434\u043E\u043C\u043E"}};var Pt={content_types:{plural:{all:"\u5168\u90E8",audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",game:"\u6E38\u620F",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"},singular:{audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",game:"\u6E38\u620F",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"}},dashboard:{event:{created:"\u5DF2\u521B\u5EFA",failed:"\u5931\u8D25",processed:"\u5DF2\u5904\u7406",updated:"\u5DF2\u66F4\u65B0"},interval:{all:"\u5168\u90E8",days:"\u5929",days_1:"1\u5929",hours:"\u5C0F\u65F6",hours_1:"1\u5C0F\u65F6",hours_12:"12\u5C0F\u65F6",hours_6:"6\u5C0F\u65F6",minutes:"\u5206\u949F",minutes_1:"1\u5206\u949F",minutes_15:"15\u5206\u949F",minutes_30:"30\u5206\u949F",minutes_5:"5\u5206\u949F",off:"\u5173\u95ED",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u5468"},metrics:{event:"\u4E8B\u4EF6",resolution:"\u5206\u8FA8\u7387",throughput:"\u541E\u5410\u91CF",timeframe:"\u65F6\u95F4\u8303\u56F4",toggle_legend:"\u5207\u6362\u56FE\u4F8B"},queues:{created:"\u5DF2\u521B\u5EFA",created_at:"\u521B\u5EFA\u4E8E",enqueue_jobs:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",enqueue_torrent_processing_batch:"\u52A0\u5165\u961F\u5217\u7684\u79CD\u5B50\u5904\u7406\u6279\u6B21",failed:"\u5931\u8D25",force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",jobs_enqueued:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",latency:"\u5EF6\u8FDF",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",payload:"\u6709\u6548\u8F7D\u8377",pending:"\u5F85\u5904\u7406",priority:"\u4F18\u5148\u7EA7",process_orphaned_torrents_only:"\u4EC5\u5904\u7406\u5B64\u7ACB\u7684\u79CD\u5B50",processed:"\u5DF2\u5904\u7406",purge_jobs:"\u6E05\u9664\u4EFB\u52A1",purge_queue_jobs:"\u6E05\u9664\u961F\u5217\u4EFB\u52A1",queue:"\u961F\u5217",queue_purged:"\u961F\u5217\u5DF2\u6E05\u9664",queues:"\u961F\u5217",ran_at:"\u8FD0\u884C\u4E8E",retry:"\u91CD\u8BD5",total_counts_by_status:"\u6309\u72B6\u6001\u7EDF\u8BA1\u603B\u6570"}},facets:{content_type:"\u5185\u5BB9\u7C7B\u578B",file_type:"\u6587\u4EF6\u7C7B\u578B",genre:"\u7C7B\u578B",language:"\u8BED\u8A00",queue:"\u961F\u5217",status:"\u72B6\u6001",torrent_source:"\u79CD\u5B50\u6765\u6E90",torrent_tag:"\u79CD\u5B50\u6807\u7B7E",video_resolution:"\u89C6\u9891\u5206\u8FA8\u7387",video_source:"\u89C6\u9891\u6765\u6E90"},file_types:{archive:"\u6863\u6848",audio:"\u97F3\u9891",data:"\u6570\u636E",document:"\u6587\u6863",image:"\u56FE\u50CF",software:"\u8F6F\u4EF6",subtitles:"\u5B57\u5E55",unknown:"\u672A\u77E5",video:"\u89C6\u9891"},general:{all:"\u5168\u90E8",dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",none:"\u65E0",page_not_found:"\u9875\u9762\u672A\u627E\u5230",refresh:"\u5237\u65B0",status:"\u72B6\u6001"},health:{bitmagnet_is_status:"bitmagnet\u662F{{status}}",check_failed_with_error:"\u68C0\u67E5\u5931\u8D25\uFF0C\u9519\u8BEF",component:"\u7EC4\u4EF6",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",status:"\u72B6\u6001",statuses:{degraded:"\u964D\u7EA7",down:"\u5173\u95ED",error:"\u9519\u8BEF",inactive:"\u4E0D\u6D3B\u8DC3",started:"\u5DF2\u542F\u52A8",unknown:"\u672A\u77E5",up:"\u8FD0\u884C\u4E2D"},summary:"\u5065\u5EB7\u6982\u8FF0",worker:"\u5DE5\u4F5C\u8005",workers:{dht_crawler:"DHT\u722C\u866B",http_server:"HTTP\u670D\u52A1\u5668",queue_server:"\u961F\u5217\u670D\u52A1\u5668"}},languages:{af:"\u5357\u975E\u8377\u5170\u8BED",ar:"\u963F\u62C9\u4F2F\u8BED",az:"\u963F\u585E\u62DC\u7586\u8BED",be:"\u767D\u4FC4\u7F57\u65AF\u8BED",bg:"\u4FDD\u52A0\u5229\u4E9A\u8BED",bs:"\u6CE2\u65AF\u5C3C\u4E9A\u8BED",ca:"\u52A0\u6CF0\u7F57\u5C3C\u4E9A\u8BED",ce:"\u8F66\u81E3\u8BED",co:"\u79D1\u897F\u5609\u8BED",cs:"\u6377\u514B\u8BED",cy:"\u5A01\u5C14\u58EB\u8BED",da:"\u4E39\u9EA6\u8BED",de:"\u5FB7\u8BED",el:"\u5E0C\u814A\u8BED",en:"\u82F1\u8BED",es:"\u897F\u73ED\u7259\u8BED",et:"\u7231\u6C99\u5C3C\u4E9A\u8BED",eu:"\u5DF4\u65AF\u514B\u8BED",fa:"\u6CE2\u65AF\u8BED",fi:"\u82AC\u5170\u8BED",fr:"\u6CD5\u8BED",he:"\u5E0C\u4F2F\u6765\u8BED",hi:"\u5370\u5730\u8BED",hr:"\u514B\u7F57\u5730\u4E9A\u8BED",hu:"\u5308\u7259\u5229\u8BED",hy:"\u4E9A\u7F8E\u5C3C\u4E9A\u8BED",id:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u8BED",is:"\u51B0\u5C9B\u8BED",it:"\u610F\u5927\u5229\u8BED",ja:"\u65E5\u8BED",ka:"\u683C\u9C81\u5409\u4E9A\u8BED",ko:"\u97E9\u8BED",ku:"\u5E93\u5C14\u5FB7\u8BED",lt:"\u7ACB\u9676\u5B9B\u8BED",lv:"\u62C9\u8131\u7EF4\u4E9A\u8BED",mi:"\u6BDB\u5229\u8BED",mk:"\u9A6C\u5176\u987F\u8BED",ml:"\u9A6C\u62C9\u96C5\u62C9\u59C6\u8BED",mn:"\u8499\u53E4\u8BED",ms:"\u9A6C\u6765\u8BED",mt:"\u9A6C\u8033\u4ED6\u8BED",nl:"\u8377\u5170\u8BED",no:"\u632A\u5A01\u8BED",pl:"\u6CE2\u5170\u8BED",pt:"\u8461\u8404\u7259\u8BED",ro:"\u7F57\u9A6C\u5C3C\u4E9A\u8BED",ru:"\u4FC4\u8BED",sa:"\u68B5\u8BED",sk:"\u65AF\u6D1B\u4F10\u514B\u8BED",sl:"\u65AF\u6D1B\u6587\u5C3C\u4E9A\u8BED",sm:"\u8428\u6469\u4E9A\u8BED",so:"\u7D22\u9A6C\u91CC\u8BED",sr:"\u585E\u5C14\u7EF4\u4E9A\u8BED",sv:"\u745E\u5178\u8BED",ta:"\u6CF0\u7C73\u5C14\u8BED",th:"\u6CF0\u8BED",tr:"\u571F\u8033\u5176\u8BED",uk:"\u4E4C\u514B\u5170\u8BED",vi:"\u8D8A\u5357\u8BED",yi:"\u610F\u7B2C\u7EEA\u8BED",zh:"\u4E2D\u6587",zu:"\u7956\u9C81\u8BED"},layout:{bitmagnet_on_service:"bitmagnet\u5728{{service}}",change_theme:"\u66F4\u6539\u4E3B\u9898",external_links:"\u5916\u90E8\u94FE\u63A5",sponsor:"\u8D5E\u52A9\u5546",support_bitmagnet:"\u652F\u6301bitmagnet",translate:"\u7FFB\u8BD1"},paginator:{first_page:"\u7B2C\u4E00\u9875",items_per_page:"\u6BCF\u9875\u9879\u76EE\u6570",last_page:"\u6700\u540E\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",page_x:"\u7B2C{{x}}\u9875",previous_page:"\u4E0A\u4E00\u9875",x_to_y:"{{x}}\u5230{{y}}",x_to_y_of_z:"{{x}}\u5230{{y}}\uFF0C\u5171{{z}}"},routes:{admin:"\u7BA1\u7406\u5458",dashboard:"\u4EEA\u8868\u76D8",home:"\u9996\u9875",jobs:"\u4EFB\u52A1",queues:"\u961F\u5217",torrents:"\u79CD\u5B50",visualize:"\u53EF\u89C6\u5316"},torrents:{classification:"\u5206\u7C7B",clear_search:"\u6E05\u9664\u641C\u7D22",copy:"\u590D\u5236",copy_to_clipboard:"\u590D\u5236\u5230\u526A\u8D34\u677F",delete:"\u5220\u9664",delete_action_cannot_be_undone:"\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500",delete_are_you_sure:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u6B64\u79CD\u5B50\u5417\uFF1F",deselect_all:"\u53D6\u6D88\u5168\u9009",download:"\u4E0B\u8F7D",download_confirm:"\u60A8\u786E\u5B9A\u8981\u4E0B\u8F7D\u9009\u5B9A\u7684\u79CD\u5B50\u5417\uFF1F",edit_tags:"\u7F16\u8F91\u6807\u7B7E",episodes:"\u5267\u96C6",external_links:"\u5916\u90E8\u94FE\u63A5",file_index:"\u6587\u4EF6\u7D22\u5F15",file_path:"\u6587\u4EF6\u8DEF\u5F84",file_size:"\u6587\u4EF6\u5927\u5C0F",file_type:"\u6587\u4EF6\u7C7B\u578B",files:"\u6587\u4EF6",files_count_n:"{{count}}\u4E2A\u6587\u4EF6",files_no_info:"\u65E0\u6587\u4EF6\u4FE1\u606F",files_single:"\u5355\u4E2A\u6587\u4EF6",genres:"\u7C7B\u578B",info_hash:"\u4FE1\u606F\u54C8\u5E0C",info_hashes:"\u4FE1\u606F\u54C8\u5E0C",languages:"\u8BED\u8A00",leechers:"\u4E0B\u8F7D\u8005",magnet:"\u78C1\u529B\u94FE\u63A5",magnet_links:"\u78C1\u529B\u94FE\u63A5",new_tag:"\u65B0\u6807\u7B7E",order_by:"\u6392\u5E8F\u4F9D\u636E",order_direction_toggle:"\u5207\u6362\u65B9\u5411",ordering:{files_count:"\u6587\u4EF6\u6570",info_hash:"\u4FE1\u606F\u54C8\u5E0C",leechers:"\u4E0B\u8F7D\u8005",name:"\u540D\u79F0",published_at:"\u53D1\u5E03\u4E8E",relevance:"\u76F8\u5173\u6027",seeders:"\u4E0A\u4F20\u8005",size:"\u5927\u5C0F",updated_at:"\u66F4\u65B0\u4E8E"},original_release_date:"\u539F\u59CB\u53D1\u5E03\u65E5\u671F",permalink:"\u6C38\u4E45\u94FE\u63A5",poster:"\u6D77\u62A5",published:"\u5DF2\u53D1\u5E03",rating:"\u8BC4\u5206",refresh:"\u5237\u65B0\u7ED3\u679C",reprocess:{force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",reprocess:"\u91CD\u65B0\u5904\u7406"},s_l:"S / L",search:"\u641C\u7D22",seeders:"\u4E0A\u4F20\u8005",select_all:"\u5168\u9009",showing_x_of_y_files:"\u663E\u793A{{x}}\u4E2A\uFF0C\u5171{{y}}\u4E2A\u6587\u4EF6",size:"\u5927\u5C0F",source:"\u79CD\u5B50\u6765\u6E90",summary:"\u6458\u8981",tags:{delete:"\u5220\u9664\u6807\u7B7E",delete_tip:"\u4ECE\u9009\u5B9A\u7684\u79CD\u5B50\u4E2D\u5220\u9664\u6807\u7B7E",placeholder:"\u6807\u7B7E...",put:"\u6DFB\u52A0\u6807\u7B7E",put_tip:"\u4E3A\u9009\u5B9A\u7684\u79CD\u5B50\u6DFB\u52A0\u6807\u7B7E",set:"\u8BBE\u7F6E\u6807\u7B7E",set_tip:"\u66FF\u6362\u9009\u5B9A\u79CD\u5B50\u7684\u6807\u7B7E"},title:"\u6807\u9898",toggle_drawer:"\u5207\u6362\u62BD\u5C49",votes_count_n:"{{count}}\u7968"},version:{bitmagnet_version:"bitmagnet\u7248\u672C{{version}}",unknown:"\u672A\u77E5"}};var ce={ar:bt,de:yt,en:vt,es:kt,fr:xt,hi:wt,ja:Tt,nl:St,pt:Ct,ru:Mt,tr:zt,uk:At,zh:Pt};var qt=(()=>{class t{getTranslation(e){return he(this,null,function*(){if(e in ce){let o=ce[e];return Et(o)}else return Promise.reject(new Error(`Translation not found: ${e}`))})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),mo=["__missing__","__fallback__"],Et=t=>Object.fromEntries(Object.entries(t).flatMap(([r,e])=>{if(typeof e=="object")e=Et(e);else if(typeof e=="string"&&mo.includes(e))return[];return[[r,e]]}));var Dt=[{path:"",pathMatch:"full",redirectTo:"torrents"},{path:"torrents",loadComponent:()=>import("./chunk-772YMJAF.js").then(t=>t.TorrentsComponent),children:[{path:"",loadComponent:()=>import("./chunk-E7M2745X.js").then(t=>t.TorrentsSearchComponent)},{path:"permalink/:infoHash",loadComponent:()=>import("./chunk-DZT5WVMO.js").then(t=>t.TorrentPermalinkComponent)}]},{path:"dashboard",loadComponent:()=>import("./chunk-ISB6LSNT.js").then(t=>t.DashboardComponent),children:[{path:"",loadComponent:()=>import("./chunk-WMBLMVKT.js").then(t=>t.DashboardHomeComponent)},{path:"queues",pathMatch:"full",redirectTo:"queues/visualize"},{path:"queues",loadComponent:()=>import("./chunk-BFXZYWVF.js").then(t=>t.QueueDashboardComponent),children:[{path:"visualize",loadComponent:()=>import("./chunk-OUPXCRLE.js").then(t=>t.QueueVisualizeComponent)},{path:"jobs",loadComponent:()=>import("./chunk-7SFHH767.js").then(t=>t.QueueJobsComponent)},{path:"admin",loadComponent:()=>import("./chunk-3IKCDSDW.js").then(t=>t.QueueAdminComponent)}]},{path:"torrents",loadComponent:()=>import("./chunk-SF7T53WL.js").then(t=>t.TorrentsDashboardComponent)}]},{path:"**",loadComponent:()=>import("./chunk-NJLU6UWE.js").then(t=>t.NotFoundComponent)}];var It={providers:[Ae({eventCoalescing:!0}),Re(Dt,Oe()),pt("animations"),se(qe()),se(),Ye(()=>({link:c(gt).create({uri:ft}),cache:new We({typePolicies:{Query:{fields:{search:{merge(r,e){return P(P({},r),e)}}}}}})})),Ge({config:{availableLangs:[{id:"ar",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},{id:"de",label:"Deutsch"},{id:"en",label:"English"},{id:"es",label:"Espa\xF1ol"},{id:"fr",label:"Fran\xE7ais"},{id:"hi",label:"\u0939\u093F\u0928\u094D\u0926\u0940"},{id:"ja",label:"\u65E5\u672C\u8A9E"},{id:"nl",label:"Nederlands"},{id:"pt",label:"Portugu\xEAs"},{id:"ru",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{id:"tr",label:"T\xFCrk\xE7e"},{id:"uk",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},{id:"zh",label:"\u4E2D\u6587"}],defaultLang:"en",fallbackLang:"en",missingHandler:{useFallbackTranslation:!0},reRenderOnLangChange:!0,prodMode:!1},loader:qt}),Ke(Ne())]};var ho=new V("Browser Storage",{providedIn:"root",factory:()=>localStorage}),W=(()=>{class t{constructor(e){this.storage=e}get(e){return this.storage.getItem(e)}set(e,o){this.storage.setItem(e,o)}remove(e){this.storage.removeItem(e)}clear(){this.storage.clear()}static{this.\u0275fac=function(o){return new(o||t)(G(ho))}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var po={classic:{key:"classic",label:"Classic",dark:!1},clean:{key:"clean",label:"Clean",dark:!1},neon:{key:"neon",label:"Neon",dark:!0},tundra:{key:"tundra",label:"Tundra",dark:!0}},J=po,jt="classic",Ft="tundra";var ue="bitmagnet-theme",Y=(()=>{class t{constructor(){this.document=c(K),this.browserStorage=c(W),this._window=this.document.defaultView,this.selectedThemeSubject=new pe(void 0),this.selectedTheme$=this.selectedThemeSubject.asObservable(),this.themes=Object.values(J),this.getPreferredTheme=()=>this.getStoredTheme()??this.getAutoTheme(),this.getStoredTheme=()=>{let e=this.browserStorage.get(ue);return e&&e in J?e:void 0},this.getAutoTheme=()=>this.windowMatchMediaPrefersDark()?.matches?Ft:jt,this.setTheme=e=>{this.setActiveTheme(e),this.setStoredTheme(this.selectedTheme??"auto")},this.setActiveTheme=e=>{e==="auto"||!(e in J)?(e=this.getAutoTheme(),this.selectedTheme=void 0):this.selectedTheme=e,this.document.documentElement.setAttribute("data-bitmagnet-theme",e),this.selectedThemeSubject.next(this.selectedTheme)},this.setStoredTheme=e=>{e==="auto"?this.browserStorage.remove(ue):this.browserStorage.set(ue,e)},this.setActiveTheme(this.getPreferredTheme()),this.windowMatchMediaPrefersDark()?.addEventListener("change",()=>{this.getStoredTheme()||this.setActiveTheme(this.getAutoTheme())})}windowMatchMediaPrefersDark(){return this._window&&this._window.matchMedia?this._window.matchMedia("(prefers-color-scheme: dark)"):void 0}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var bo=t=>({version:t});function yo(t,r){if(t&1&&(E(0),i(1,"span",1),_(2),s(),D()),t&2){let e=r.$implicit,o=h();l(),g("matTooltip",e("version.bitmagnet_version",ze(2,bo,o.versionUnknown?e("version.unknown"):o.version))),l(),b(o.version)}}var de="v-unknown",Lt=(()=>{class t{constructor(){this.apollo=c(Je),this.version=de,this.versionUnknown=!0}ngOnInit(){this.apollo.query({query:tt}).pipe(ge(e=>e.data.version)).subscribe({next:e=>{e?(this.version=e,this.versionUnknown=!1):(this.version=de,this.versionUnknown=!0)},error:()=>{this.version=de}})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-version"]],standalone:!0,features:[y],decls:1,vars:0,consts:[[4,"transloco"],[1,"version",3,"matTooltip"]],template:function(o,a){o&1&&q(0,yo,3,4,"ng-container",0)},dependencies:[U,Q,X,ot],encapsulation:2})}}return t})();var Bt="bitmagnet-language",Ht=(()=>{class t{constructor(){this.transloco=c(Ve),this.browserStorage=c(W),this.availableLanguages=this.transloco.getAvailableLangs(),this.transloco.setActiveLang(this.getPreferredLanguage())}getPreferredLanguage(){return this.getStoredLanguage()??this.getAutoLanguage()}getStoredLanguage(){let e=this.browserStorage.get(Bt);return e&&this.transloco.isLang(e)?e:void 0}getAutoLanguage(){let e=navigator?.language?.split("-")?.[0];return this.transloco.isLang(e)?e:"en"}setLanguage(e){this.transloco.setActiveLang(e),this.browserStorage.set(Bt,e)}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var vo=["element"],_e=(()=>{class t{static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-theme-emitter-color"]],viewQuery:function(o,a){if(o&1&&H(vo,5),o&2){let n;R(n=O())&&(a.element=n.first)}},inputs:{color:"color"},standalone:!0,features:[y],decls:2,vars:2,consts:[["element",""]],template:function(o,a){o&1&&m(0,"div",null,0),o&2&&S("theme-emitter-color "+a.color)},encapsulation:2})}}return t})();var ko=["lightdark"];function xo(t,r){if(t&1&&m(0,"app-theme-emitter-color",1),t&2){let e=r.$implicit;g("color",e)}}var Rt=(()=>{class t{constructor(){this.service=c(ht),this.themeManager=c(Y),this.themeColors=mt,this.themeManager.selectedTheme$.subscribe(()=>{this.updateThemeColors()})}ngAfterViewInit(){this.updateThemeColors()}updateThemeColors(){let e={};for(let a of this.elements??[])e[a.color]=getComputedStyle(a.element.nativeElement).color;let o=this.lightdark&&getComputedStyle(this.lightdark.nativeElement).color==="rgb(0, 0, 0)"?"dark":"light";this.service.setInfo({colors:e,type:o})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-theme-emitter"]],viewQuery:function(o,a){if(o&1&&(H(ko,5),H(_e,5)),o&2){let n;R(n=O())&&(a.lightdark=n.first),R(n=O())&&(a.elements=n)}},standalone:!0,features:[y],decls:5,vars:0,consts:[["lightdark",""],[3,"color"],[1,"theme-emitter-lightdark"]],template:function(o,a){o&1&&(E(0),L(1,xo,1,1,"app-theme-emitter-color",1,Se),m(3,"div",2,0),D()),o&2&&(l(),B(a.themeColors))},dependencies:[_e],styles:["[_nghost-%COMP%]{display:none}.theme-emitter-color.background[_ngcontent-%COMP%]{color:var(--mat-app-background-color)}.theme-emitter-color.foreground[_ngcontent-%COMP%]{color:var(--mat-app-text-color)}"]})}}return t})();var To=["*"],So=(t,r)=>r.key,Co=(t,r)=>r.id,Mo=()=>({service:"Discord"}),zo=()=>({service:"GitHub"}),Ao=()=>({service:"OpenCollective"});function Po(t,r){if(t&1&&(i(0,"h1")(1,"a",22),m(2,"mat-icon",23),i(3,"span",24),_(4,"bitmagnet"),s(),m(5,"app-version"),s()(),i(6,"nav")(7,"a",25,3),m(9,"mat-icon",23),_(10),s(),i(11,"a",26,4)(13,"mat-icon"),_(14,"dashboard"),s(),_(15),s()()),t&2){let e=A(8),o=A(12),a=h().$implicit;l(7),S(e.isActive?"active":""),l(3),ae(" ",a("routes.torrents")," "),l(),S(o.isActive?"active":""),l(4),ae(" ",a("routes.dashboard")," ")}}function qo(t,r){if(t&1&&(i(0,"h1")(1,"a",27),m(2,"mat-icon",23),s()(),i(3,"button",28,4)(5,"mat-icon"),_(6,"dashboard"),s()()),t&2){let e=A(4),o=h().$implicit;l(3),S(e.isActive?"active":""),g("matTooltip",o("routes.dashboard"))}}function Eo(t,r){if(t&1){let e=oe();i(0,"a",29),re("click",function(){let a=Z(e).$implicit,n=h(2);return $(n.themeManager.setTheme(a.key))}),i(1,"mat-icon"),_(2),s(),_(3),s()}if(t&2){let e=r.$implicit,o=h(2);S(e.key===o.themeManager.selectedTheme?"active":""),l(2),b(e.dark?"dark_mode":"light_mode"),l(),b(e.label)}}function Do(t,r){if(t&1){let e=oe();i(0,"a",30),re("click",function(){let a=Z(e).$implicit,n=h(2);return $(n.translateManager.setLanguage(a.id))}),_(1),s()}if(t&2){let e=r.$implicit,o=h().$implicit,a=h();S(e.id===a.translateManager.getPreferredLanguage()?"active":""),g("matTooltip",e.id===a.translateManager.getPreferredLanguage()?void 0:o("languages."+e.id)),l(),b(e.label)}}function Io(t,r){if(t&1&&(i(0,"a",19)(1,"mat-icon"),_(2,"favorite"),s()()),t&2){let e=h().$implicit;g("matTooltip",e("layout.sponsor"))}}function jo(t,r){if(t&1&&(i(0,"a",20)(1,"mat-icon"),_(2,"favorite"),s(),_(3),s()),t&2){let e=h().$implicit;g("matTooltip",e("layout.support_bitmagnet")),l(3),b(e("layout.sponsor"))}}function Fo(t,r){if(t&1&&(E(0),i(1,"mat-toolbar",6),q(2,Po,16,6)(3,qo,7,3),m(4,"span",7)(5,"app-health-widget"),i(6,"button",8)(7,"mat-icon"),_(8,"apparel"),s()(),i(9,"mat-menu",9,0),L(11,Eo,4,4,"a",10,So),s(),i(13,"button",11)(14,"mat-icon"),_(15,"translate"),s()(),i(16,"mat-menu",9,1),L(18,Do,2,4,"a",12,Co),s(),i(20,"button",13),m(21,"mat-icon",14),s(),i(22,"mat-menu",9,2)(24,"a",15),_(25,"bitmagnet.io"),s(),i(26,"a",16),_(27),s(),i(28,"a",17),_(29),s(),i(30,"a",18),_(31),s()(),q(32,Io,3,1,"a",19)(33,jo,4,2,"a",20),s(),i(34,"div",21),Me(35),s(),m(36,"app-theme-emitter"),D()),t&2){let e=r.$implicit,o=A(10),a=A(17),n=A(23),u=h();l(2),te(u.breakpoints.sizeAtLeast("Medium")?2:3),l(4),g("matMenuTriggerFor",o)("matTooltip",e("layout.change_theme")),l(5),B(u.themeManager.themes),l(2),g("matMenuTriggerFor",a)("matTooltip",e("layout.translate")),l(5),B(u.translateManager.availableLanguages),l(2),g("matTooltip",e("layout.external_links"))("matMenuTriggerFor",n),l(7),b(e("layout.bitmagnet_on_service",N(11,Mo))),l(2),b(e("layout.bitmagnet_on_service",N(12,zo))),l(2),b(e("layout.bitmagnet_on_service",N(13,Ao))),l(),te(u.breakpoints.sizeAtLeast("Medium")?33:32)}}var Ot=(()=>{class t{constructor(){this.themeManager=c(Y),this.translateManager=c(Ht),this.breakpoints=c(ct),this.title=c(Ie),this.router=c(Le),this.health=c(ut)}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-layout"]],standalone:!0,features:[y],ngContentSelectors:To,decls:1,vars:0,consts:[["themesMenu","matMenu"],["languagesMenu","matMenu"],["externalLinksMenu","matMenu"],["linkTorrents","routerLinkActive"],["linkDashboard","routerLinkActive"],[4,"transloco"],[1,"toolbar-header"],[1,"spacer"],["mat-icon-button","","aria-label","Theme",3,"matMenuTriggerFor","matTooltip"],[1,"layout-header-menu"],["mat-menu-item","",3,"class"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","class"],["mat-icon-button","",3,"matTooltip","matMenuTriggerFor"],["svgIcon","external-link"],["mat-menu-item","","href","https://bitmagnet.io","target","_blank"],["mat-menu-item","","href","https://discord.gg/6mFNszX8qM","target","_blank"],["mat-menu-item","","href","https://github.com/bitmagnet-io/bitmagnet","target","_blank"],["mat-menu-item","","href","https://opencollective.com/bitmagnet","target","_blank"],["mat-icon-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],["mat-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],[1,"app-content"],["routerLink","torrents"],["svgIcon","magnet"],[1,"name"],["mat-button","","routerLink","torrents","routerLinkActive",""],["mat-button","","routerLink","dashboard","routerLinkActive",""],["routerLink","/torrents"],["mat-icon-button","","routerLink","dashboard","routerLinkActive","",3,"matTooltip"],["mat-menu-item","",3,"click"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click","matTooltip"]],template:function(o,a){o&1&&(Ce(),q(0,Fo,37,14,"ng-container",5))},dependencies:[U,Ze,et,$e,at,st,nt,it,lt,Q,Be,He,X,_t,dt,Rt,Lt],styles:[".mat-toolbar.toolbar-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:10;--mat-toolbar-title-text-size: 22px;--mat-toolbar-standard-height: 56px;--mat-icon-color: #fff;padding:0 20px;--mdc-text-button-label-text-size: 15px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:-2px;margin-right:20px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:4px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{margin-left:10px;margin-right:16px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] app-version[_ngcontent-%COMP%]{font-size:13px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]{margin-left:6px;--mdc-text-button-label-text-weight: bold;--mat-text-button-horizontal-padding: 12px;--mdc-text-button-container-height: 30px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{position:absolute;left:340px;top:0;height:56px;padding-top:14px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:10px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] mat-icon[data-mat-icon-name=magnet][_ngcontent-%COMP%]{margin-top:-5px;overflow:visible}.app-content[_ngcontent-%COMP%]{z-index:1;padding-bottom:10px}.layout-header-menu[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{font-weight:700}"]})}}return t})();var Vt=(t,r)=>t.setDefaultFontSetClass("material-icons-outlined","material-symbols-outlined").addSvgIcon("magnet",r.bypassSecurityTrustResourceUrl("magnet.svg")).addSvgIcon("external-link",r.bypassSecurityTrustResourceUrl("external-link.svg")).addSvgIcon("binary",r.bypassSecurityTrustResourceUrl("binary.svg")).addSvgIcon("queue",r.bypassSecurityTrustResourceUrl("queue.svg"));var Gt=(()=>{class t{constructor(e,o){this.title="bitmagnet",Vt(e,o)}static{this.\u0275fac=function(o){return new(o||t)(ee(rt),ee(je))}}static{this.\u0275cmp=f({type:t,selectors:[["app-root"]],standalone:!0,features:[y],decls:2,vars:0,template:function(o,a){o&1&&(i(0,"app-layout"),m(1,"router-outlet"),s())},dependencies:[Fe,Ot]})}}return t})();De(Gt,It).catch(t=>console.error(t)); diff --git a/webui/dist/bitmagnet/browser/main-YOE5FKIP.js b/webui/dist/bitmagnet/browser/main-YOE5FKIP.js deleted file mode 100644 index f2596da9..00000000 --- a/webui/dist/bitmagnet/browser/main-YOE5FKIP.js +++ /dev/null @@ -1 +0,0 @@ -import{a as Ne,b as Ke,d as mt,e as ht}from"./chunk-Y7K23DTG.js";import{a as ct}from"./chunk-2RM4KZLJ.js";import{a as ut,c as dt,d as _t}from"./chunk-NZ7CQNHZ.js";import{Aa as it,Da as lt,Ea as Q,N as tt,P as at,_a as U,a as Oe,b as X,c as Ge,d as Xe,e as Qe,f as Ue,g as Je,h as We,i as Ye,u as Ze,va as rt,w as $e,wa as ot,x as et,ya as nt,za as st}from"./chunk-6SW7H33Q.js";import"./chunk-6XXA7HXI.js";import{a as ne,b as ze,c as se,d as qe,e as Ee,f as De,g as Ie,h as je,j as Fe,k as Le,l as Be,m as Re,n as He,o as Ve}from"./chunk-CMNWCZJM.js";import{$b as h,B as ge,Cb as q,Ea as Z,Fa as $,Gc as Ae,Hb as g,Kb as S,Mb as te,Nb as Se,Oa as ye,Ob as L,Pb as B,Qb as i,Rb as s,Sb as m,Tb as E,Tc as K,Ub as D,Wa as ve,Wb as ae,Zb as re,a as z,ac as Ce,bc as Me,d as he,ec as R,fc as H,gc as V,h as F,ia as fe,jc as A,ka as p,kb as l,kc as _,l as pe,lb as ee,lc as b,mb as ke,mc as oe,na as O,ob as xe,pa as G,pc as y,qa as c,qb as we,qc as N,rc as Pe,tb as Te,ua as f,ya as be}from"./chunk-Z3WUIYN5.js";var Xt="@",Qt=(()=>{class t{constructor(e,a,o,n,u){this.doc=e,this.delegate=a,this.zone=o,this.animationType=n,this.moduleImpl=u,this._rendererFactoryPromise=null,this.scheduler=c(xe,{optional:!0}),this.loadingSchedulerFn=c(Ut,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-KZMLKX77.js").then(o=>o),a;return this.loadingSchedulerFn?a=this.loadingSchedulerFn(e):a=e(),a.catch(o=>{throw new fe(5300,!1)}).then(({\u0275createEngine:o,\u0275AnimationRendererFactory:n})=>{this._engine=o(this.animationType,this.doc);let u=new n(this.delegate,this._engine,this.zone);return this.delegate=u,u})}createRenderer(e,a){let o=this.delegate.createRenderer(e,a);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let n=new ie(o);return a?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(u=>{let x=u.createRenderer(e,a);n.use(x),this.scheduler?.notify(10)}).catch(u=>{n.use(o)}),n}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static{this.\u0275fac=function(a){ke()}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac})}}return t})(),ie=class{constructor(r){this.delegate=r,this.replay=[],this.\u0275type=1}use(r){if(this.delegate=r,this.replay!==null){for(let e of this.replay)e(r);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(r,e){return this.delegate.createElement(r,e)}createComment(r){return this.delegate.createComment(r)}createText(r){return this.delegate.createText(r)}get destroyNode(){return this.delegate.destroyNode}appendChild(r,e){this.delegate.appendChild(r,e)}insertBefore(r,e,a,o){this.delegate.insertBefore(r,e,a,o)}removeChild(r,e,a){this.delegate.removeChild(r,e,a)}selectRootElement(r,e){return this.delegate.selectRootElement(r,e)}parentNode(r){return this.delegate.parentNode(r)}nextSibling(r){return this.delegate.nextSibling(r)}setAttribute(r,e,a,o){this.delegate.setAttribute(r,e,a,o)}removeAttribute(r,e,a){this.delegate.removeAttribute(r,e,a)}addClass(r,e){this.delegate.addClass(r,e)}removeClass(r,e){this.delegate.removeClass(r,e)}setStyle(r,e,a,o){this.delegate.setStyle(r,e,a,o)}removeStyle(r,e,a){this.delegate.removeStyle(r,e,a)}setProperty(r,e,a){this.shouldReplay(e)&&this.replay.push(o=>o.setProperty(r,e,a)),this.delegate.setProperty(r,e,a)}setValue(r,e){this.delegate.setValue(r,e)}listen(r,e,a){return this.shouldReplay(e)&&this.replay.push(o=>o.listen(r,e,a)),this.delegate.listen(r,e,a)}shouldReplay(r){return this.replay!==null&&r.startsWith(Xt)}},Ut=new O("");function pt(t="animations"){return Te("NgAsyncAnimations"),be([{provide:we,useFactory:(r,e,a)=>new Qt(r,e,a,t),deps:[K,Ee,ye]},{provide:ve,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Jt=(t,r,e)=>{let a=["POST","PUT","PATCH"].indexOf(t.method.toUpperCase())!==-1,o=d=>["variables","extensions"].indexOf(d.toLowerCase())!==-1,n=t.body.length,u=t.options&&t.options.useMultipart,x;if(u){if(n)return new F(d=>d.error(new Error("File upload is not available when combined with Batching")));if(!a)return new F(d=>d.error(new Error("File upload is not available when GET is used")));if(!e)return new F(d=>d.error(new Error(`To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink's options`)));x=e(t.body),u=!!x.files.size}let w={};if(n){if(!a)return new F(d=>d.error(new Error("Batching is not available for GET requests")));w={body:t.body}}else{let d=u?x.clone:t.body;a?w={body:d}:w={params:Object.keys(t.body).reduce((C,k)=>{let M=t.body[k];return C[k]=o(k)?JSON.stringify(M):M,C},{})}}if(u&&a){let d=new FormData;d.append("operations",JSON.stringify(w.body));let j={},C=x.files,k=0;C.forEach(M=>{j[++k]=M}),d.append("map",JSON.stringify(j)),k=0,C.forEach((M,T)=>{d.append(++k+"",T,T.name)}),w.body=d}return r.request(t.method,t.url,z(z({observe:"response",responseType:"json",reportProgress:!1},w),t.options))},Wt=(t,r)=>t&&r?r.keys().reduce((a,o)=>a.set(o,r.getAll(o)),t):r||t;function Yt(...t){return t.find(r=>typeof r<"u")}function Zt(t){let r=t.headers&&t.headers instanceof ne?t.headers:new ne(t.headers);if(t.clientAwareness){let{name:e,version:a}=t.clientAwareness;e&&!r.has("apollographql-client-name")&&(r=r.set("apollographql-client-name",e)),a&&!r.has("apollographql-client-version")&&(r=r.set("apollographql-client-version",a))}return r}var $t={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function I(t,r,e){return Yt(t[e],r[e],$t[e])}var le=class extends Ue{httpClient;options;requester;print=Xe;constructor(r,e){super(),this.httpClient=r,this.options=e,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=a=>new Qe(o=>{let n=a.getContext(),u=I(n,this.options,"method"),x=I(n,this.options,"includeQuery"),w=I(n,this.options,"includeExtensions"),d=I(n,this.options,"uri"),j=I(n,this.options,"withCredentials"),C=I(n,this.options,"useMultipart"),k=this.options.useGETForQueries===!0,M=a.query.definitions.some(P=>P.kind==="OperationDefinition"&&P.operation==="query");k&&M&&(u="GET");let T={method:u,url:typeof d=="function"?d(a):d,body:{operationName:a.operationName,variables:a.variables},options:{withCredentials:j,useMultipart:C,headers:this.options.headers}};w&&(T.body.extensions=a.extensions),x&&(T.body.query=this.print(a.query));let Kt=Zt(n);T.options.headers=Wt(T.options.headers,Kt);let me=Jt(T,this.httpClient,this.options.extractFiles).subscribe({next:P=>{a.setContext({response:P}),o.next(P.body)},error:P=>o.error(P),complete:()=>o.complete()});return()=>{me.closed||me.unsubscribe()}})}request(r){return this.requester(r)}},gt=(()=>{class t{httpClient;constructor(e){this.httpClient=e}create(e){return new le(this.httpClient,e)}static \u0275fac=function(a){return new(a||t)(G(ze))};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ft=window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/graphql";var bt={content_types:{plural:{all:"\u0627\u0644\u0643\u0644",audiobook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0635\u0648\u062A\u064A\u0629",comic:"\u0627\u0644\u0642\u0635\u0635 \u0627\u0644\u0645\u0635\u0648\u0631\u0629",ebook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u0629",game:"\u0627\u0644\u0623\u0644\u0639\u0627\u0628",movie:"\u0627\u0644\u0623\u0641\u0644\u0627\u0645",music:"\u0627\u0644\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0644\u0641\u0627\u0632",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"},singular:{audiobook:"\u0643\u062A\u0627\u0628 \u0635\u0648\u062A\u064A",comic:"\u0642\u0635\u0629 \u0645\u0635\u0648\u0631\u0629",ebook:"\u0643\u062A\u0627\u0628 \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",game:"\u0644\u0639\u0628\u0629",movie:"\u0641\u064A\u0644\u0645",music:"\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0644\u0641\u0632\u064A\u0648\u0646\u064A",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"}},dashboard:{event:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",failed:"\u0641\u0634\u0644",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",updated:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B"},interval:{all:"\u0627\u0644\u0643\u0644",days:"\u064A\u0648\u0645",days_1:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",hours:"\u0633\u0627\u0639\u0629",hours_1:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",hours_12:"12 \u0633\u0627\u0639\u0629",hours_6:"6 \u0633\u0627\u0639\u0629",minutes:"\u062F\u0642\u064A\u0642\u0629",minutes_1:"1 \u062F\u0642\u064A\u0642\u0629",minutes_15:"15 \u062F\u0642\u0627\u0626\u0642",minutes_30:"30 \u062F\u0642\u0627\u0626\u0642",minutes_5:"5 \u062F\u0642\u0627\u0626\u0642",off:"\u0625\u064A\u0642\u0627\u0641",seconds_10:"10 \u062B\u0648\u0627\u0646\u064A",seconds_30:"30 \u062B\u0627\u0646\u064A\u0629",weeks_1:"1 \u0623\u0633\u0628\u0648\u0639"},metrics:{event:"\u062D\u062F\u062B",resolution:"\u0627\u0644\u062F\u0642\u0629",throughput:"\u0645\u0639\u062F\u0644 \u0627\u0644\u0646\u0642\u0644",timeframe:"\u0627\u0644\u0625\u0637\u0627\u0631 \u0627\u0644\u0632\u0645\u0646\u064A",toggle_legend:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0623\u0633\u0637\u0648\u0631\u0629"},queues:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",created_at:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621 \u0641\u064A",enqueue_jobs:"\u0625\u062F\u0631\u0627\u062C \u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",enqueue_torrent_processing_batch:"\u0625\u062F\u0631\u0627\u062C \u062F\u0641\u0639\u0629 \u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",failed:"\u0641\u0634\u0644",force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",jobs_enqueued:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0645\u062F\u0631\u062C\u0629 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",latency:"\u0627\u0644\u062A\u0623\u062E\u064A\u0631",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",payload:"\u0627\u0644\u062D\u0645\u0648\u0644\u0629",pending:"\u0642\u064A\u062F \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",priority:"\u0627\u0644\u0623\u0648\u0644\u0648\u064A\u0629",process_orphaned_torrents_only:"\u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u064A\u062A\u064A\u0645 \u0641\u0642\u0637",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",purge_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0648\u0638\u0627\u0626\u0641",purge_queue_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue_purged:"\u062A\u0645 \u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",ran_at:"\u062A\u0645 \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u0641\u064A",retry:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",total_counts_by_status:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u0639\u062F \u062D\u0633\u0628 \u0627\u0644\u062D\u0627\u0644\u0629"}},facets:{content_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u062D\u062A\u0648\u0649",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",genre:"\u0627\u0644\u0646\u0648\u0639",language:"\u0627\u0644\u0644\u063A\u0629",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",status:"\u0627\u0644\u062D\u0627\u0644\u0629",torrent_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",torrent_tag:"\u0639\u0644\u0627\u0645\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",video_resolution:"\u062F\u0642\u0629 \u0627\u0644\u0641\u064A\u062F\u064A\u0648",video_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u0641\u064A\u062F\u064A\u0648"},file_types:{archive:"\u0623\u0631\u0634\u064A\u0641",audio:"\u0635\u0648\u062A",data:"\u0628\u064A\u0627\u0646\u0627\u062A",document:"\u0648\u062B\u064A\u0642\u0629",image:"\u0635\u0648\u0631\u0629",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",subtitles:"\u062A\u0631\u062C\u0645\u0627\u062A",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",video:"\u0641\u064A\u062F\u064A\u0648"},general:{all:"\u0627\u0644\u0643\u0644",dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",none:"\u0644\u0627 \u0634\u064A\u0621",page_not_found:"\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629",refresh:"\u062A\u062D\u062F\u064A\u062B",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},health:{bitmagnet_is_status:"bitmagnet \u0647\u0648 {{status}}",check_failed_with_error:"\u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u0642\u0642 \u0645\u0639 \u062E\u0637\u0623",component:"\u0645\u0643\u0648\u0646",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",status:"\u0627\u0644\u062D\u0627\u0644\u0629",statuses:{degraded:"\u0645\u062A\u062F\u0647\u0648\u0631",down:"\u0645\u0639\u0637\u0644",error:"\u062E\u0637\u0623",inactive:"\u063A\u064A\u0631 \u0646\u0634\u0637",started:"\u0628\u062F\u0623",unknown:"\u0645\u0639\u0644\u0642",up:"\u0646\u0634\u0637"},summary:"\u0645\u0644\u062E\u0635 \u0627\u0644\u0635\u062D\u0629",worker:"\u0639\u0627\u0645\u0644",workers:{dht_crawler:"\u0632\u0627\u062D\u0641 DHT",http_server:"\u062E\u0627\u062F\u0645 HTTP",queue_server:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0637\u0627\u0628\u0648\u0631"}},languages:{af:"\u0627\u0644\u0623\u0641\u0631\u064A\u0643\u0627\u0646\u064A\u0629",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",az:"\u0627\u0644\u0623\u0630\u0631\u0628\u064A\u062C\u0627\u0646\u064A\u0629",be:"\u0627\u0644\u0628\u064A\u0644\u0627\u0631\u0648\u0633\u064A\u0629",bg:"\u0627\u0644\u0628\u0644\u063A\u0627\u0631\u064A\u0629",bs:"\u0627\u0644\u0628\u0648\u0633\u0646\u064A\u0629",ca:"\u0627\u0644\u0643\u0627\u062A\u0627\u0644\u0627\u0646\u064A\u0629",ce:"\u0627\u0644\u0634\u064A\u0634\u0627\u0646\u064A\u0629",co:"\u0627\u0644\u0643\u0648\u0631\u0633\u064A\u0643\u064A\u0629",cs:"\u0627\u0644\u062A\u0634\u064A\u0643\u064A\u0629",cy:"\u0627\u0644\u0648\u064A\u0644\u0632\u064A\u0629",da:"\u0627\u0644\u062F\u0627\u0646\u0645\u0627\u0631\u0643\u064A\u0629",de:"\u0627\u0644\u0623\u0644\u0645\u0627\u0646\u064A\u0629",el:"\u0627\u0644\u064A\u0648\u0646\u0627\u0646\u064A\u0629",en:"\u0627\u0644\u0625\u0646\u062C\u0644\u064A\u0632\u064A\u0629",es:"\u0627\u0644\u0625\u0633\u0628\u0627\u0646\u064A\u0629",et:"\u0627\u0644\u0625\u0633\u062A\u0648\u0646\u064A\u0629",eu:"\u0627\u0644\u0628\u0627\u0633\u0643\u064A\u0629",fa:"\u0627\u0644\u0641\u0627\u0631\u0633\u064A\u0629",fi:"\u0627\u0644\u0641\u0646\u0644\u0646\u062F\u064A\u0629",fr:"\u0627\u0644\u0641\u0631\u0646\u0633\u064A\u0629",he:"\u0627\u0644\u0639\u0628\u0631\u064A\u0629",hi:"\u0627\u0644\u0647\u0646\u062F\u064A\u0629",hr:"\u0627\u0644\u0643\u0631\u0648\u0627\u062A\u064A\u0629",hu:"\u0627\u0644\u0647\u0646\u063A\u0627\u0631\u064A\u0629",hy:"\u0627\u0644\u0623\u0631\u0645\u0646\u064A\u0629",id:"\u0627\u0644\u0625\u0646\u062F\u0648\u0646\u064A\u0633\u064A\u0629",is:"\u0627\u0644\u0623\u064A\u0633\u0644\u0646\u062F\u064A\u0629",it:"\u0627\u0644\u0625\u064A\u0637\u0627\u0644\u064A\u0629",ja:"\u0627\u0644\u064A\u0627\u0628\u0627\u0646\u064A\u0629",ka:"\u0627\u0644\u062C\u0648\u0631\u062C\u064A\u0629",ko:"\u0627\u0644\u0643\u0648\u0631\u064A\u0629",ku:"\u0627\u0644\u0643\u0631\u062F\u064A\u0629",lt:"\u0627\u0644\u0644\u064A\u062A\u0648\u0627\u0646\u064A\u0629",lv:"\u0627\u0644\u0644\u0627\u062A\u0641\u064A\u0629",mi:"\u0627\u0644\u0645\u0627\u0648\u0631\u064A\u0629",mk:"\u0627\u0644\u0645\u0642\u062F\u0648\u0646\u064A\u0629",ml:"\u0627\u0644\u0645\u0627\u0644\u0627\u064A\u0627\u0644\u0627\u0645\u064A\u0629",mn:"\u0627\u0644\u0645\u0646\u063A\u0648\u0644\u064A\u0629",ms:"\u0627\u0644\u0645\u0644\u0627\u064A\u0648\u064A\u0629",mt:"\u0627\u0644\u0645\u0627\u0644\u0637\u064A\u0629",nl:"\u0627\u0644\u0647\u0648\u0644\u0646\u062F\u064A\u0629",no:"\u0627\u0644\u0646\u0631\u0648\u064A\u062C\u064A\u0629",pl:"\u0627\u0644\u0628\u0648\u0644\u0646\u062F\u064A\u0629",pt:"\u0627\u0644\u0628\u0631\u062A\u063A\u0627\u0644\u064A\u0629",ro:"\u0627\u0644\u0631\u0648\u0645\u0627\u0646\u064A\u0629",ru:"\u0627\u0644\u0631\u0648\u0633\u064A\u0629",sa:"\u0627\u0644\u0633\u0646\u0633\u0643\u0631\u064A\u062A\u064A\u0629",sk:"\u0627\u0644\u0633\u0644\u0648\u0641\u0627\u0643\u064A\u0629",sl:"\u0627\u0644\u0633\u0644\u0648\u0641\u064A\u0646\u064A\u0629",sm:"\u0627\u0644\u0633\u0627\u0645\u0648\u064A\u0629",so:"\u0627\u0644\u0635\u0648\u0645\u0627\u0644\u064A\u0629",sr:"\u0627\u0644\u0635\u0631\u0628\u064A\u0629",sv:"\u0627\u0644\u0633\u0648\u064A\u062F\u064A\u0629",ta:"\u0627\u0644\u062A\u0627\u0645\u064A\u0644\u064A\u0629",th:"\u0627\u0644\u062A\u0627\u064A\u0644\u0627\u0646\u062F\u064A\u0629",tr:"\u0627\u0644\u062A\u0631\u0643\u064A\u0629",uk:"\u0627\u0644\u0623\u0648\u0643\u0631\u0627\u0646\u064A\u0629",vi:"\u0627\u0644\u0641\u064A\u062A\u0646\u0627\u0645\u064A\u0629",yi:"\u0627\u0644\u064A\u062F\u064A\u0634\u064A\u0629",zh:"\u0627\u0644\u0635\u064A\u0646\u064A\u0629",zu:"\u0627\u0644\u0632\u0648\u0644\u0648"},layout:{bitmagnet_on_service:"bitmagnet \u0639\u0644\u0649 {{service}}",change_theme:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0633\u0645\u0629",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",sponsor:"\u0627\u0644\u0631\u0627\u0639\u064A",support_bitmagnet:"\u062F\u0639\u0645 bitmagnet",translate:"\u062A\u0631\u062C\u0645\u0629"},paginator:{first_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u0648\u0644\u0649",items_per_page:"\u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0644\u0643\u0644 \u0635\u0641\u062D\u0629",last_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u062E\u064A\u0631\u0629",next_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629",page_x:"\u0627\u0644\u0635\u0641\u062D\u0629 {{x}}",previous_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",x_to_y:"{{x}} \u0625\u0644\u0649 {{y}}",x_to_y_of_z:"{{x}} \u0625\u0644\u0649 {{y}} \u0645\u0646 {{z}}"},routes:{admin:"\u0627\u0644\u0645\u0633\u0624\u0648\u0644",dashboard:"\u0644\u0648\u062D\u0629 \u0627\u0644\u062A\u062D\u0643\u0645",home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",jobs:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",torrents:"\u0627\u0644\u062A\u0648\u0631\u0646\u062A",visualize:"\u062A\u0635\u0648\u0631"},torrents:{classification:"\u0627\u0644\u062A\u0635\u0646\u064A\u0641",clear_search:"\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B",copy:"\u0646\u0633\u062E",copy_to_clipboard:"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629",delete:"\u062D\u0630\u0641",delete_action_cannot_be_undone:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u0627\u0644\u062A\u0631\u0627\u062C\u0639 \u0639\u0646 \u0647\u0630\u0627 \u0627\u0644\u0625\u062C\u0631\u0627\u0621",delete_are_you_sure:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062D\u0630\u0641 \u0647\u0630\u0627 \u0627\u0644\u062A\u0648\u0631\u0646\u062A\u061F",deselect_all:"\u0625\u0644\u063A\u0627\u0621 \u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",edit_tags:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",episodes:"\u0627\u0644\u062D\u0644\u0642\u0627\u062A",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",file_index:"\u0641\u0647\u0631\u0633 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",file_path:"\u0645\u0633\u0627\u0631 \u0627\u0644\u0645\u0644\u0641",file_size:"\u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",files:"\u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_count_n:"{{count}} \u0645\u0644\u0641\u0627\u062A",files_no_info:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0646 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_single:"\u0645\u0644\u0641 \u0648\u0627\u062D\u062F",genres:"\u0627\u0644\u0623\u0646\u0648\u0627\u0639",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",info_hashes:"\u062A\u062C\u0632\u0626\u0627\u062A \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",languages:"\u0627\u0644\u0644\u063A\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",magnet:"\u0645\u063A\u0646\u0627\u0637\u064A\u0633",magnet_links:"\u0631\u0648\u0627\u0628\u0637 \u0645\u063A\u0646\u0627\u0637\u064A\u0633\u064A\u0629",new_tag:"\u0639\u0644\u0627\u0645\u0629 \u062C\u062F\u064A\u062F\u0629",order_by:"\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628",order_direction_toggle:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0627\u062A\u062C\u0627\u0647",ordering:{files_count:"\u0639\u062F\u062F \u0627\u0644\u0645\u0644\u0641\u0627\u062A",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",name:"\u0627\u0644\u0627\u0633\u0645",published_at:"\u0646\u0634\u0631 \u0641\u064A",relevance:"\u0627\u0644\u0635\u0644\u0629",seeders:"\u0627\u0644\u0645\u0632\u0627\u0631\u0639\u0648\u0646",size:"\u0627\u0644\u062D\u062C\u0645",updated_at:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0641\u064A"},original_release_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0635\u062F\u0627\u0631 \u0627\u0644\u0623\u0635\u0644\u064A",permalink:"\u0631\u0627\u0628\u0637 \u062F\u0627\u0626\u0645",poster:"\u0645\u0644\u0635\u0642",published:"\u0645\u0646\u0634\u0648\u0631",rating:"\u0627\u0644\u062A\u0642\u064A\u064A\u0645",refresh:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u062A\u0627\u0626\u062C",reprocess:{force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",reprocess:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629"},s_l:"S / L",search:"\u0628\u062D\u062B",seeders:"\u0627\u0644\u0628\u0627\u0630\u0631\u0648\u0646",select_all:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",showing_x_of_y_files:"\u0639\u0631\u0636 {{x}} \u0645\u0646 {{y}} \u0645\u0644\u0641\u0627\u062A",size:"\u0627\u0644\u062D\u062C\u0645",source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",summary:"\u0627\u0644\u0645\u0644\u062E\u0635",tags:{delete:"\u062D\u0630\u0641 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",delete_tip:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0645\u0646 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",placeholder:"\u0627\u0644\u0639\u0644\u0627\u0645\u0629...",put:"\u0648\u0636\u0639 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",put_tip:"\u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0625\u0644\u0649 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",set:"\u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",set_tip:"\u0627\u0633\u062A\u0628\u062F\u0627\u0644 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0641\u064A \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629"},title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",toggle_drawer:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u062F\u0631\u062C",votes_count_n:"{{count}} \u0623\u0635\u0648\u0627\u062A"},version:{bitmagnet_version:"\u0625\u0635\u062F\u0627\u0631 bitmagnet {{version}}",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641"}};var yt={content_types:{plural:{all:"Tot",audiobook:"Audiollibres",comic:"C\xF2mics",ebook:"Llibres electr\xF2nics",movie:"Pel\xB7l\xEDcules",music:"M\xFAsica",null:"Desconegut",software:"Programari",tv_show:"Programes de TV",xxx:"XXX"},singular:{audiobook:"Audiollibre",comic:"C\xF2mic",ebook:"Llibre electr\xF2nic",movie:"Pel\xB7l\xEDcula",music:"M\xFAsica",software:"Desconegut",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{interval:{all:"Tot",days:"Dies",days_1:"1 dia",hours:"Hores",hours_1:"1 hora",hours_12:"12 hores",hours_6:"6 hores",minutes:"Minuts",minutes_1:"1 minut",minutes_15:"15 minuts",minutes_30:"30 minuts",minutes_5:"5 minuts",off:"Apagat",seconds_10:"10 segons",seconds_30:"30 segons",weeks_1:"1 setmana"},metrics:{event:"Esdeveniment",resolution:"Resoluci\xF3",throughput:"Rendiment",timeframe:"Per\xEDode de temps",toggle_legend:"Mostra o oculta la llegenda"},queues:{created:"Creat",created_at:"Creaci\xF3",enqueue_jobs:"Encua les tasques",enqueue_torrent_processing_batch:"Encua el lot de processament de torrents",failed:"Fallat",jobs_enqueued:"Tasques encuades",latency:"Lat\xE8ncia",payload:"Contingut",priority:"Prioritat",process_orphaned_torrents_only:"Processa nom\xE9s els torrents orfes",processed:"Processat",purge_jobs:"Purga les tasques",purge_queue_jobs:"Purga les cues de tasques",queue:"Cua",queue_purged:"Cua purgada",queues:"Cues",ran_at:"Executat a",total_counts_by_status:"Recompte total per estat"}},facets:{content_type:"Tipus de Contingut",file_type:"Tipus de Fitxer",genre:"G\xE8nere",language:"Idioma",torrent_source:"Origen del Torrent",torrent_tag:"Etiqueta del Torrent",video_resolution:"Resoluci\xF3 del V\xEDdeo",video_source:"Origen del V\xEDdeo"},file_types:{archive:"Arxiu",audio:"\xC0udio",data:"Dades",document:"Document",image:"Imatge",software:"Programari",subtitles:"Subt\xEDtols",unknown:"Desconegut",video:"V\xEDdeo"},general:{all:"Tot",dismiss:"Descarta",error:"Error",none:"Cap",page_not_found:"P\xE0gina no trobada",refresh:"Actualitza",status:"Estat"},health:{bitmagnet_is_status:"bitmagnet est\xE0 {{status}}",check_failed_with_error:"Ha fallat la comprovaci\xF3 amb un error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},statuses:{degraded:"Degradat",down:"Caigut",error:"Error",inactive:"Inactiu",started:"Iniciat",unknown:"Pendent",up:"Actiu"},summary:"Resum de salut",worker:"Treballador",workers:{dht_crawler:"Rastrejador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de cues"}},languages:{af:"Afrikaans",ar:"\xC0rab",az:"\xC0zeri",be:"Belar\xFAs",bg:"B\xFAlgar",bs:"Bosni\xE0",ca:"Catal\xE0",ce:"Txetx\xE8",co:"Cors",cs:"Txec",cy:"Gal\xB7l\xE8s",da:"Dan\xE8s",de:"Alemany",el:"Grec",en:"Angl\xE8s",es:"Castell\xE0",et:"Estoni\xE0",eu:"Basc",fa:"Persa",fi:"Fin\xE8s",fr:"Franc\xE8s",he:"Hebreu",hi:"Hindi",hr:"Croat",hu:"Hongar\xE8s",hy:"Armeni",id:"Indonesi",is:"Island\xE8s",it:"Itali\xE0",ja:"Japon\xE8s",ka:"Georgi\xE0",ko:"Core\xE0",ku:"Kurd",lt:"Litu\xE0",lv:"Let\xF3",mi:"Maori",mk:"Maced\xF2nic",ml:"Malai\xE0lam",mn:"Mongol",ms:"Malai",mt:"Malt\xE8s",nl:"Neerland\xE8s",no:"Noruec",pl:"Polon\xE8s",pt:"Portugu\xE8s",ro:"Roman\xE8s",ru:"Rus",sa:"S\xE0nscrit",sk:"Eslovac",sl:"Eslov\xE8",sm:"Samo\xE0",so:"Somali",sr:"Serbi",sv:"Suec",ta:"T\xE0mil",th:"Tailand\xE8s",tr:"Turc",uk:"Ucra\xEFn\xE8s",vi:"Vietnamita",yi:"\xCDdix",zh:"Xin\xE8s",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet a {{service}}",change_theme:"Canviar el tema",external_links:"Enlla\xE7os externs",sponsor:"Patrocina",support_bitmagnet:"Ajuda a bitmagnet",translate:"Tradueix"},paginator:{first_page:"Primera p\xE0gina",last_page:"Elements per p\xE0gina",next_page:"P\xE0gina seg\xFCent",page_x:"P\xE0gina {{x}}",previous_page:"P\xE0gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administraci\xF3",dashboard:"Tauler de control",home:"Inici",jobs:"Tasques",queues:"Cues",torrents:"Torrents",visualize:"Visualitza"},torrents:{classification:"Classificaci\xF3",clear_search:"Esborrar la cerca",copy:"Copiar",copy_to_clipboard:"Copia al porta-retalls",delete:"Esborrar",delete_action_cannot_be_undone:"Aquesta acci\xF3 no es pot desfer",delete_are_you_sure:"Est\xE0s segur que vols esborrar aquest torrent?",deselect_all:"Desselecciona-ho tot",edit_tags:"Edita l'etiqueta",episodes:"Episodis",external_links:"Enlla\xE7os externs",file_index:"\xCDndex del fitxer",file_path:"Cam\xED del fitxer",file_size:"Mida del fitxer",file_type:"Tipus de fitxer",files:"Fitxers",files_no_info:"{{count}} fitxers",genres:"G\xE8neres",info_hash:"Informaci\xF3 del resum",info_hashes:"Informaci\xF3 dels resums",languages:"Idiomes",leechers:"Sangoneres",magnet:"Magnet",magnet_links:"Enlla\xE7os magnet",new_tag:"Etiqueta nova",order_by:"Ordenar per",order_direction_toggle:"Commuta la direcci\xF3",ordering:{files_count:"Recompte de fitxers",info_hash:"Informaci\xF3 del resum",leechers:"Sangoneres",name:"Nom",published_at:"Publicat el",relevance:"Rellev\xE0ncia",seeders:"Sembradors",size:"Mida",updated_at:"Actualitzat el"},original_release_date:"Data de llan\xE7ament original",permalink:"Enlla\xE7 permanent",poster:"P\xF2ster",published:"Publicat",rating:"Valoraci\xF3",refresh:"Actualitza els resultats",reprocess:{force_rematch:"For\xE7ar nova coincid\xE8ncia del contingut ja coincident",match_content_by_external_api_search:"Fes coincidir el contingut a trav\xE9s d'una cerca d'API externa",match_content_by_local_search:"Fes conicidir a trav\xE9s d'una cerca local",reprocess:"Tornar a processar"},s_l:"S / S",search:"Cerca",seeders:"Sembradors",select_all:"Seleccionar-ho tot",showing_x_of_y_files:"Mostrant {{x}} de {{y}} fitxers",size:"Mida",source:"Origen del torrent",summary:"Resum",tags:{delete:"Esborrar etiquetes",delete_tip:"Esborrar etiquetes dels torrents seleccionats",placeholder:"Etiqueta...",put:"Afegeix etiquetes",put_tip:"Afegeix etiquetes als torrents seleccionats",set:"Reempla\xE7a etiquetes",set_tip:"Reempla\xE7a les etiquetes dels torrents seleccionats"},title:"T\xEDtol",toggle_drawer:"Mostra o oculta el calaix",votes_count_n:"{{count}} vots"},version:{bitmagnet_version:"versi\xF3 de bitmagnet {{version}}",unknown:"desconegut"}};var vt={content_types:{plural:{all:"Alle",audiobook:"H\xF6rb\xFCcher",comic:"Comics",ebook:"E-B\xFCcher",game:"Spiele",movie:"Filme",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Shows",xxx:"XXX"},singular:{audiobook:"H\xF6rbuch",comic:"Comic",ebook:"E-Buch",game:"Spiel",movie:"Film",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Show",xxx:"XXX"}},dashboard:{event:{created:"Erstellt",failed:"Fehlgeschlagen",processed:"Verarbeitet",updated:"Aktualisiert"},interval:{all:"Alle",days:"Tage",days_1:"1 Tag",hours:"Stunden",hours_1:"1 Stunde",hours_12:"12 Stunden",hours_6:"6 Stunden",minutes:"Minuten",minutes_1:"1 Minute",minutes_15:"15 Minuten",minutes_30:"30 Minuten",minutes_5:"5 Minuten",off:"Aus",seconds_10:"10 Sekunden",seconds_30:"30 Sekunden",weeks_1:"1 Woche"},metrics:{event:"Ereignis",resolution:"Aufl\xF6sung",throughput:"Durchsatz",timeframe:"Zeitrahmen",toggle_legend:"Legende umschalten"},queues:{created:"Erstellt",created_at:"Erstellt am",enqueue_jobs:"Jobs einreihen",enqueue_torrent_processing_batch:"Torrent-Verarbeitungsbatch einreihen",failed:"Fehlgeschlagen",force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",jobs_enqueued:"Jobs eingereiht",latency:"Latenz",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",payload:"Nutzlast",pending:"Ausstehend",priority:"Priorit\xE4t",process_orphaned_torrents_only:"Nur verwaiste Torrents verarbeiten",processed:"Verarbeitet",purge_jobs:"Jobs bereinigen",purge_queue_jobs:"Warteschlangen-Jobs bereinigen",queue:"Warteschlange",queue_purged:"Warteschlange bereinigt",queues:"Warteschlangen",ran_at:"Ausgef\xFChrt am",retry:"Erneut versuchen",total_counts_by_status:"Gesamtanzahl nach Status"}},facets:{content_type:"Inhaltstyp",file_type:"Dateityp",genre:"Genre",language:"Sprache",queue:"Warteschlange",status:"Status",torrent_source:"Torrent-Quelle",torrent_tag:"Torrent-Tag",video_resolution:"Videoaufl\xF6sung",video_source:"Videoquelle"},file_types:{archive:"Archiv",audio:"Audio",data:"Daten",document:"Dokument",image:"Bild",software:"Software",subtitles:"Untertitel",unknown:"Unbekannt",video:"Video"},general:{all:"Alle",dismiss:"Verwerfen",error:"Fehler",none:"Keine",page_not_found:"Seite nicht gefunden",refresh:"Aktualisieren",status:"Status"},health:{bitmagnet_is_status:"bitmagnet ist {{status}}",check_failed_with_error:"\xDCberpr\xFCfung mit Fehler fehlgeschlagen",component:"Komponente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Verwerfen",error:"Fehler",status:"Status",statuses:{degraded:"Verschlechtert",down:"Aus",error:"Fehler",inactive:"Inaktiv",started:"Gestartet",unknown:"Ausstehend",up:"An"},summary:"Gesundheits\xFCbersicht",worker:"Arbeiter",workers:{dht_crawler:"DHT-Crawler",http_server:"HTTP-Server",queue_server:"Warteschlangen-Server"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Aserbaidschanisch",be:"Wei\xDFrussisch",bg:"Bulgarisch",bs:"Bosnisch",ca:"Katalanisch",ce:"Tschetschenisch",co:"Korsisch",cs:"Tschechisch",cy:"Walisisch",da:"D\xE4nisch",de:"Deutsch",el:"Griechisch",en:"Englisch",es:"Spanisch",et:"Estnisch",eu:"Baskisch",fa:"Persisch",fi:"Finnisch",fr:"Franz\xF6sisch",he:"Hebr\xE4isch",hi:"Hindi",hr:"Kroatisch",hu:"Ungarisch",hy:"Armenisch",id:"Indonesisch",is:"Isl\xE4ndisch",it:"Italienisch",ja:"Japanisch",ka:"Georgisch",ko:"Koreanisch",ku:"Kurdisch",lt:"Litauisch",lv:"Lettisch",mi:"Maori",mk:"Mazedonisch",ml:"Malayalam",mn:"Mongolisch",ms:"Malaiisch",mt:"Maltesisch",nl:"Niederl\xE4ndisch",no:"Norwegisch",pl:"Polnisch",pt:"Portugiesisch",ro:"Rum\xE4nisch",ru:"Russisch",sa:"Sanskrit",sk:"Slowakisch",sl:"Slowenisch",sm:"Samoanisch",so:"Somalisch",sr:"Serbisch",sv:"Schwedisch",ta:"Tamil",th:"Thai",tr:"T\xFCrkisch",uk:"Ukrainisch",vi:"Vietnamesisch",yi:"Jiddisch",zh:"Chinesisch",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet auf {{service}}",change_theme:"Thema \xE4ndern",external_links:"Externe Links",sponsor:"Sponsor",support_bitmagnet:"bitmagnet unterst\xFCtzen",translate:"\xDCbersetzen"},paginator:{first_page:"Erste Seite",items_per_page:"Artikel pro Seite",last_page:"Letzte Seite",next_page:"N\xE4chste Seite",page_x:"Seite {{x}}",previous_page:"Vorherige Seite",x_to_y:"{{x}} bis {{y}}",x_to_y_of_z:"{{x}} bis {{y}} von {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Startseite",jobs:"Aufgaben",queues:"Warteschlangen",torrents:"Torrents",visualize:"Visualisieren"},torrents:{classification:"Klassifizierung",clear_search:"Suche l\xF6schen",copy:"Kopieren",copy_to_clipboard:"In die Zwischenablage kopieren",delete:"L\xF6schen",delete_action_cannot_be_undone:"Diese Aktion kann nicht r\xFCckg\xE4ngig gemacht werden",delete_are_you_sure:"Sind Sie sicher, dass Sie diesen Torrent l\xF6schen m\xF6chten?",deselect_all:"Alle abw\xE4hlen",edit_tags:"Tags bearbeiten",episodes:"Episoden",external_links:"Externe Links",file_index:"Dateiindex",file_path:"Dateipfad",file_size:"Dateigr\xF6\xDFe",file_type:"Dateityp",files:"Dateien",files_count_n:"{{count}} Dateien",files_no_info:"Keine Dateiinformationen verf\xFCgbar",files_single:"Einzelne Datei",genres:"Genres",info_hash:"Info-Hash",info_hashes:"Info-Hashes",languages:"Sprachen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-Links",new_tag:"Neuer Tag",order_by:"Sortieren nach",order_direction_toggle:"Richtung umschalten",ordering:{files_count:"Dateienanzahl",info_hash:"Info-Hash",leechers:"Leechers",name:"Name",published_at:"Ver\xF6ffentlicht am",relevance:"Relevanz",seeders:"Seeders",size:"Gr\xF6\xDFe",updated_at:"Aktualisiert am"},original_release_date:"Originales Ver\xF6ffentlichungsdatum",permalink:"Permalink",poster:"Poster",published:"Ver\xF6ffentlicht",rating:"Bewertung",refresh:"Ergebnisse aktualisieren",reprocess:{force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",reprocess:"Erneut verarbeiten"},s_l:"S / L",search:"Suche",seeders:"Seeders",select_all:"Alle ausw\xE4hlen",showing_x_of_y_files:"{{x}} von {{y}} Dateien anzeigen",size:"Gr\xF6\xDFe",source:"Torrent-Quelle",summary:"Zusammenfassung",tags:{delete:"Tags l\xF6schen",delete_tip:"Tags aus den ausgew\xE4hlten Torrents entfernen",placeholder:"Tag...",put:"Tags setzen",put_tip:"Tags zu den ausgew\xE4hlten Torrents hinzuf\xFCgen",set:"Tags setzen",set_tip:"Tags der ausgew\xE4hlten Torrents ersetzen"},title:"Titel",toggle_drawer:"Schublade umschalten",votes_count_n:"{{count}} Stimmen"},version:{bitmagnet_version:"bitmagnet Version {{version}}",unknown:"unbekannt"}};var kt={content_types:{plural:{all:"All",audiobook:"Audiobooks",comic:"Comics",ebook:"E-Books",game:"Games",movie:"Movies",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Shows",xxx:"XXX"},singular:{audiobook:"Audiobook",comic:"Comic",ebook:"E-Book",game:"Game",movie:"Movie",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Show",xxx:"XXX"}},dashboard:{event:{created:"Created",failed:"Failed",processed:"Processed",updated:"Updated"},interval:{all:"All",days:"Days",days_1:"1 day",hours:"Hours",hours_1:"1 hour",hours_12:"12 hours",hours_6:"6 hours",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"Off",seconds_10:"10 seconds",seconds_30:"30 seconds",weeks_1:"1 week"},metrics:{event:"Event",resolution:"Resolution",throughput:"Throughput",timeframe:"Timeframe",toggle_legend:"Toggle legend"},queues:{created:"Created",created_at:"Created at",enqueue_jobs:"Enqueue jobs",enqueue_torrent_processing_batch:"Enqueue Torrent Processing Batch",failed:"Failed",jobs_enqueued:"Jobs enqueued",latency:"Latency",payload:"Payload",pending:"Pending",priority:"Priority",process_orphaned_torrents_only:"Process orphaned torrents only",processed:"Processed",purge_jobs:"Purge jobs",purge_queue_jobs:"Purge queue jobs",queue:"Queue",queue_purged:"Queue purged",queues:"Queues",ran_at:"Ran at",retry:"Retry",total_counts_by_status:"Total counts by status"}},facets:{content_type:"Content Type",file_type:"File Type",genre:"Genre",language:"Language",queue:"Queue",status:"Status",torrent_source:"Torrent Source",torrent_tag:"Torrent Tag",video_resolution:"Video Resolution",video_source:"Video Source"},file_types:{archive:"Archive",audio:"Audio",data:"Data",document:"Document",image:"Image",software:"Software",subtitles:"Subtitles",unknown:"Unknown",video:"Video"},general:{all:"All",dismiss:"Dismiss",error:"Error",none:"None",page_not_found:"Page not found",refresh:"Refresh",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Check failed with error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Dismiss",error:"Error",status:"Status",statuses:{degraded:"Degraded",down:"Down",error:"Error",inactive:"Inactive",started:"Started",unknown:"Pending",up:"Up"},summary:"Health summary",worker:"Worker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Queue server"}},languages:{af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bs:"Bosnian",ca:"Catalan",ce:"Chechen",co:"Corsican",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",hy:"Armenian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",ms:"Malay",mt:"Maltese",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sa:"Sanskrit",sk:"Slovak",sl:"Slovenian",sm:"Samoan",so:"Somali",sr:"Serbian",sv:"Swedish",ta:"Tamil",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",yi:"Yiddish",zh:"Chinese",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet on {{service}}",change_theme:"Change theme",external_links:"External links",sponsor:"Sponsor",support_bitmagnet:"Support bitmagnet",translate:"Translate"},paginator:{first_page:"First page",items_per_page:"Items per page",last_page:"Last page",next_page:"Next page",page_x:"Page {{x}}",previous_page:"Previous page",x_to_y:"{{x}} to {{y}}",x_to_y_of_z:"{{x}} to {{y}} of {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Home",jobs:"Jobs",queues:"Queues",torrents:"Torrents",visualize:"Visualize"},torrents:{classification:"Classification",clear_search:"Clear Search",copy:"Copy",copy_to_clipboard:"Copy to clipboard",delete:"Delete",delete_action_cannot_be_undone:"This action cannot be undone",delete_are_you_sure:"Are you sure you want to delete this torrent?",deselect_all:"Deselect All",edit_tags:"Edit tags",episodes:"Episodes",external_links:"External links",file_index:"File index",file_path:"File path",file_size:"File size",file_type:"File type",files:"Files",files_count_n:"{{count}} files",files_no_info:"No files information available",files_single:"Single file",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Languages",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet links",new_tag:"New tag",order_by:"Order by",order_direction_toggle:"Toggle direction",ordering:{files_count:"Files count",info_hash:"Info hash",leechers:"Leechers",name:"Name",published_at:"Published at",relevance:"Relevance",seeders:"Seeders",size:"Size",updated_at:"Updated at"},original_release_date:"Original release date",permalink:"Permalink",poster:"Poster",published:"Published",rating:"Rating",refresh:"Refresh results",reprocess:{force_rematch:"Force rematch of already matched content",match_content_by_external_api_search:"Match content by external API search",match_content_by_local_search:"Match content by local search",reprocess:"Reprocess"},s_l:"S / L",search:"Search",seeders:"Seeders",select_all:"Select All",showing_x_of_y_files:"Showing {{x}} of {{y}} files",size:"Size",source:"Torrent Source",summary:"Summary",tags:{delete:"Delete tags",delete_tip:"Remove tags from the selected torrents",placeholder:"Tag...",put:"Put tags",put_tip:"Add tags to the selected torrents",set:"Set tags",set_tip:"Replace tags of the selected torrents"},title:"Title",toggle_drawer:"Toggle Drawer",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"bitmagnet version {{version}}",unknown:"unknown"}};var xt={content_types:{plural:{all:"Todos",audiobook:"Audiolibros",comic:"C\xF3mics",ebook:"E-Libros",game:"Juegos",movie:"Pel\xEDculas",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolibro",comic:"C\xF3mic",ebook:"E-Libro",game:"Juego",movie:"Pel\xEDcula",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Creado",failed:"Fallido",processed:"Procesado",updated:"Actualizado"},interval:{all:"Todos",days:"D\xEDas",days_1:"1 d\xEDa",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Apagado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resoluci\xF3n",throughput:"Rendimiento",timeframe:"Periodo de tiempo",toggle_legend:"Alternar leyenda"},queues:{created:"Creado",created_at:"Creado en",enqueue_jobs:"Encolar trabajos",enqueue_torrent_processing_batch:"Encolar lote de procesamiento de torrents",failed:"Fallido",force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",jobs_enqueued:"Trabajos encolados",latency:"Latencia",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",payload:"Carga \xFAtil",pending:"Pendiente",priority:"Prioridad",process_orphaned_torrents_only:"Procesar solo torrents hu\xE9rfanos",processed:"Procesado",purge_jobs:"Purgar trabajos",purge_queue_jobs:"Purgar trabajos de la cola",queue:"Cola",queue_purged:"Cola purgada",queues:"Colas",ran_at:"Ejecutado en",retry:"Reintentar",total_counts_by_status:"Recuento total por estado"}},facets:{content_type:"Tipo de contenido",file_type:"Tipo de archivo",genre:"G\xE9nero",language:"Idioma",queue:"Cola",status:"Estado",torrent_source:"Fuente del torrent",torrent_tag:"Etiqueta del torrent",video_resolution:"Resoluci\xF3n de video",video_source:"Fuente de video"},file_types:{archive:"Archivo",audio:"Audio",data:"Datos",document:"Documento",image:"Imagen",software:"Software",subtitles:"Subt\xEDtulos",unknown:"Desconocido",video:"Video"},general:{all:"Todos",dismiss:"Descartar",error:"Error",none:"Ninguno",page_not_found:"P\xE1gina no encontrada",refresh:"Actualizar",status:"Estado"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"La verificaci\xF3n fall\xF3 con error",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Descartar",error:"Error",status:"Estado",statuses:{degraded:"Degradado",down:"Ca\xEDdo",error:"Error",inactive:"Inactivo",started:"Iniciado",unknown:"Pendiente",up:"Activo"},summary:"Resumen de salud",worker:"Trabajador",workers:{dht_crawler:"Rastreador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de colas"}},languages:{af:"Afrik\xE1ans",ar:"\xC1rabe",az:"Azerbaiyano",be:"Bielorruso",bg:"B\xFAlgaro",bs:"Bosnio",ca:"Catal\xE1n",ce:"Checheno",co:"Corso",cs:"Checo",cy:"Gal\xE9s",da:"Dan\xE9s",de:"Alem\xE1n",el:"Griego",en:"Ingl\xE9s",es:"Espa\xF1ol",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finland\xE9s",fr:"Franc\xE9s",he:"Hebreo",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Armenio",id:"Indonesio",is:"Island\xE9s",it:"Italiano",ja:"Japon\xE9s",ka:"Georgiano",ko:"Coreano",ku:"Kurdo",lt:"Lituano",lv:"Let\xF3n",mi:"Maor\xED",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",ms:"Malayo",mt:"Malt\xE9s",nl:"Neerland\xE9s",no:"Noruego",pl:"Polaco",pt:"Portugu\xE9s",ro:"Rumano",ru:"Ruso",sa:"S\xE1nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somal\xED",sr:"Serbio",sv:"Sueco",ta:"Tamil",th:"Tailand\xE9s",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"Yidis",zh:"Chino",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet en {{service}}",change_theme:"Cambiar tema",external_links:"Enlaces externos",sponsor:"Patrocinador",support_bitmagnet:"Apoyar bitmagnet",translate:"Traducir"},paginator:{first_page:"Primera p\xE1gina",items_per_page:"Elementos por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"P\xE1gina siguiente",page_x:"P\xE1gina {{x}}",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Admin",dashboard:"Tablero",home:"Inicio",jobs:"Trabajos",queues:"Colas",torrents:"Torrents",visualize:"Visualizar"},torrents:{classification:"Clasificaci\xF3n",clear_search:"Borrar b\xFAsqueda",copy:"Copiar",copy_to_clipboard:"Copiar al portapapeles",delete:"Eliminar",delete_action_cannot_be_undone:"Esta acci\xF3n no se puede deshacer",delete_are_you_sure:"\xBFEst\xE1 seguro de que desea eliminar este torrent?",deselect_all:"Deseleccionar todo",edit_tags:"Editar etiquetas",episodes:"Episodios",external_links:"Enlaces externos",file_index:"\xCDndice de archivos",file_path:"Ruta del archivo",file_size:"Tama\xF1o del archivo",file_type:"Tipo de archivo",files:"Archivos",files_count_n:"{{count}} archivos",files_no_info:"No hay informaci\xF3n de archivos disponible",files_single:"Archivo \xFAnico",genres:"G\xE9neros",info_hash:"Hash de informaci\xF3n",info_hashes:"Hashes de informaci\xF3n",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Enlaces Magnet",new_tag:"Nueva etiqueta",order_by:"Ordenar por",order_direction_toggle:"Alternar direcci\xF3n",ordering:{files_count:"Recuento de archivos",info_hash:"Hash de informaci\xF3n",leechers:"Leechers",name:"Nombre",published_at:"Publicado en",relevance:"Relevancia",seeders:"Seeders",size:"Tama\xF1o",updated_at:"Actualizado en"},original_release_date:"Fecha de lanzamiento original",permalink:"Enlace permanente",poster:"P\xF3ster",published:"Publicado",rating:"Calificaci\xF3n",refresh:"Actualizar resultados",reprocess:{force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",reprocess:"Volver a procesar"},s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Seleccionar todo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} archivos",size:"Tama\xF1o",source:"Fuente del torrent",summary:"Resumen",tags:{delete:"Eliminar etiquetas",delete_tip:"Eliminar etiquetas de los torrents seleccionados",placeholder:"Etiqueta...",put:"Poner etiquetas",put_tip:"A\xF1adir etiquetas a los torrents seleccionados",set:"Establecer etiquetas",set_tip:"Reemplazar etiquetas de los torrents seleccionados"},title:"T\xEDtulo",toggle_drawer:"Alternar caj\xF3n",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"versi\xF3n de bitmagnet {{version}}",unknown:"desconocido"}};var wt={content_types:{plural:{all:"Tous",audiobook:"Livres audio",comic:"Bandes dessin\xE9es",ebook:"E-livres",game:"Jeux",movie:"Films",music:"Musique",null:"Inconnu",software:"Logiciels",tv_show:"S\xE9ries TV",xxx:"XXX"},singular:{audiobook:"Livre audio",comic:"Bande dessin\xE9e",ebook:"E-livre",game:"Jeu",movie:"Film",music:"Musique",null:"Inconnu",software:"Logiciel",tv_show:"S\xE9rie TV",xxx:"XXX"}},dashboard:{event:{created:"Cr\xE9\xE9",failed:"\xC9chou\xE9",processed:"Trait\xE9",updated:"Mis \xE0 jour"},interval:{all:"Tous",days:"Jours",days_1:"1 jour",hours:"Heures",hours_1:"1 heure",hours_12:"12 heures",hours_6:"6 heures",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"D\xE9sactiv\xE9",seconds_10:"10 secondes",seconds_30:"30 secondes",weeks_1:"1 semaine"},metrics:{event:"\xC9v\xE9nement",resolution:"R\xE9solution",throughput:"D\xE9bit",timeframe:"P\xE9riode",toggle_legend:"Basculer la l\xE9gende"},queues:{created:"Cr\xE9\xE9",created_at:"Cr\xE9\xE9 \xE0",enqueue_jobs:"Mettre les taches en file d'attente",enqueue_torrent_processing_batch:"Mettre le traitement des torrents en file d'attente",failed:"\xC9chou\xE9",force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",jobs_enqueued:"T\xE2ches en attente",latency:"Latence",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",payload:"Charge utile",pending:"En attente",priority:"Priorit\xE9",process_orphaned_torrents_only:"Traiter uniquement les torrents orphelins",processed:"Trait\xE9",purge_jobs:"Purger les t\xE2ches",purge_queue_jobs:"Purger les t\xE2ches de la file d'attente",queue:"File d'attente",queue_purged:"File d'attente purg\xE9e",queues:"Files d'attente",ran_at:"Ex\xE9cut\xE9 \xE0",retry:"R\xE9essayer",total_counts_by_status:"Totaux par statut"}},facets:{content_type:"Type de contenu",file_type:"Type de fichier",genre:"Genre",language:"Langue",queue:"File d'attente",status:"Statut",torrent_source:"Source du torrent",torrent_tag:"Tag du torrent",video_resolution:"R\xE9solution vid\xE9o",video_source:"Source vid\xE9o"},file_types:{archive:"Archive",audio:"Audio",data:"Donn\xE9es",document:"Document",image:"Image",software:"Logiciel",subtitles:"Sous-titres",unknown:"Inconnu",video:"Vid\xE9o"},general:{all:"Tous",dismiss:"Fermer",error:"Erreur",none:"Aucun",page_not_found:"Page non trouv\xE9e",refresh:"Rafra\xEEchir",status:"Statut"},health:{bitmagnet_is_status:"bitmagnet est {{status}}",check_failed_with_error:"V\xE9rification \xE9chou\xE9e avec erreur",component:"Composant",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fermer",error:"Erreur",status:"Statut",statuses:{degraded:"D\xE9grad\xE9",down:"Hors ligne",error:"Erreur",inactive:"Inactif",started:"D\xE9marr\xE9",unknown:"En attente",up:"En ligne"},summary:"R\xE9sum\xE9 de la sant\xE9",worker:"Travailleur",workers:{dht_crawler:"Explorateur DHT",http_server:"Serveur HTTP",queue_server:"Serveur de file d'attente"}},languages:{af:"Afrikaans",ar:"Arabe",az:"Azerba\xEFdjanais",be:"Bi\xE9lorusse",bg:"Bulgare",bs:"Bosniaque",ca:"Catalan",ce:"Tch\xE9tch\xE8ne",co:"Corse",cs:"Tch\xE8que",cy:"Gallois",da:"Danois",de:"Allemand",el:"Grec",en:"Anglais",es:"Espagnol",et:"Estonien",eu:"Basque",fa:"Persan",fi:"Finnois",fr:"Fran\xE7ais",he:"H\xE9breu",hi:"Hindi",hr:"Croate",hu:"Hongrois",hy:"Arm\xE9nien",id:"Indon\xE9sien",is:"Islandais",it:"Italien",ja:"Japonais",ka:"G\xE9orgien",ko:"Cor\xE9en",ku:"Kurde",lt:"Lituanien",lv:"Letton",mi:"Maori",mk:"Mac\xE9donien",ml:"Malayalam",mn:"Mongol",ms:"Malais",mt:"Maltais",nl:"N\xE9erlandais",no:"Norv\xE9gien",pl:"Polonais",pt:"Portugais",ro:"Roumain",ru:"Russe",sa:"Sanskrit",sk:"Slovaque",sl:"Slov\xE8ne",sm:"Samoan",so:"Somali",sr:"Serbe",sv:"Su\xE9dois",ta:"Tamoul",th:"Tha\xEF",tr:"Turc",uk:"Ukrainien",vi:"Vietnamien",yi:"Yiddish",zh:"Chinois",zu:"Zoulou"},layout:{bitmagnet_on_service:"bitmagnet sur {{service}}",change_theme:"Changer de th\xE8me",external_links:"Liens externes",sponsor:"Sponsor",support_bitmagnet:"Soutenir bitmagnet",translate:"Traduire"},paginator:{first_page:"Premi\xE8re page",items_per_page:"Articles par page",last_page:"Derni\xE8re page",next_page:"Page suivante",page_x:"Page {{x}}",previous_page:"Page pr\xE9c\xE9dente",x_to_y:"{{x}} \xE0 {{y}}",x_to_y_of_z:"{{x}} \xE0 {{y}} sur {{z}}"},routes:{admin:"Admin",dashboard:"Tableau de bord",home:"Accueil",jobs:"T\xE2ches",queues:"Files d'attente",torrents:"Torrents",visualize:"Visualiser"},torrents:{classification:"Classification",clear_search:"Effacer la recherche",copy:"Copier",copy_to_clipboard:"Copier dans le presse-papiers",delete:"Supprimer",delete_action_cannot_be_undone:"Cette action ne peut pas \xEAtre annul\xE9e",delete_are_you_sure:"\xCAtes-vous s\xFBr de vouloir supprimer ce torrent?",deselect_all:"Tout d\xE9s\xE9lectionner",edit_tags:"Modifier les tags",episodes:"\xC9pisodes",external_links:"Liens externes",file_index:"Index de fichier",file_path:"Chemin de fichier",file_size:"Taille de fichier",file_type:"Type de fichier",files:"Fichiers",files_count_n:"{{count}} fichiers",files_no_info:"Aucune information sur les fichiers disponible",files_single:"Fichier unique",genres:"Genres",info_hash:"Hash d'info",info_hashes:"Hashes d'info",languages:"Langues",leechers:"Leechers",magnet:"Magnet",magnet_links:"Liens Magnet",new_tag:"Nouveau tag",order_by:"Trier par",order_direction_toggle:"Inverser le sens",ordering:{files_count:"Nombre de fichiers",info_hash:"Hash d'info",leechers:"Leechers",name:"Nom",published_at:"Publi\xE9 \xE0",relevance:"Pertinence",seeders:"Seeders",size:"Taille",updated_at:"Mis \xE0 jour \xE0"},original_release_date:"Date de sortie originale",permalink:"Permalien",poster:"Affiche",published:"Publi\xE9",rating:"\xC9valuation",refresh:"Rafra\xEEchir les r\xE9sultats",reprocess:{force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",reprocess:"Retraitement"},s_l:"S / L",search:"Rechercher",seeders:"Seeders",select_all:"Tout s\xE9lectionner",showing_x_of_y_files:"Affichage de {{x}} sur {{y}} fichiers",size:"Taille",source:"Source du torrent",summary:"R\xE9sum\xE9",tags:{delete:"Supprimer les tags",delete_tip:"Supprimer les tags des torrents s\xE9lectionn\xE9s",placeholder:"Tag...",put:"Mettre des tags",put_tip:"Ajouter des tags aux torrents s\xE9lectionn\xE9s",set:"D\xE9finir des tags",set_tip:"Remplacer les tags des torrents s\xE9lectionn\xE9s"},title:"Titre",toggle_drawer:"Basculer le tiroir",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"version bitmagnet {{version}}",unknown:"inconnu"}};var Tt={content_types:{plural:{all:"\u0938\u092D\u0940",audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915\u094D\u0938",comic:"\u0915\u0949\u092E\u093F\u0915\u094D\u0938",ebook:"\u0908-\u092C\u0941\u0915\u094D\u0938",game:"\u0917\u0947\u092E\u094D\u0938",movie:"\u092B\u093C\u093F\u0932\u094D\u092E\u0947\u0902",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"},singular:{audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915",comic:"\u0915\u0949\u092E\u093F\u0915",ebook:"\u0908-\u092C\u0941\u0915",game:"\u0917\u0947\u092E",movie:"\u092B\u093C\u093F\u0932\u094D\u092E",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"}},dashboard:{event:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",failed:"\u0905\u0938\u092B\u0932",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",updated:"\u0905\u092A\u0921\u0947\u091F \u0915\u093F\u092F\u093E \u0917\u092F\u093E"},interval:{all:"\u0938\u092D\u0940",days:"\u0926\u093F\u0928",days_1:"1 \u0926\u093F\u0928",hours:"\u0918\u0902\u091F\u0947",hours_1:"1 \u0918\u0902\u091F\u093E",hours_12:"12 \u0918\u0902\u091F\u0947",hours_6:"6 \u0918\u0902\u091F\u0947",minutes:"\u092E\u093F\u0928\u091F",minutes_1:"1 \u092E\u093F\u0928\u091F",minutes_15:"15 \u092E\u093F\u0928\u091F",minutes_30:"30 \u092E\u093F\u0928\u091F",minutes_5:"5 \u092E\u093F\u0928\u091F",off:"\u092C\u0902\u0926",seconds_10:"10 \u0938\u0947\u0915\u0902\u0921",seconds_30:"30 \u0938\u0947\u0915\u0902\u0921",weeks_1:"1 \u0938\u092A\u094D\u0924\u093E\u0939"},metrics:{event:"\u0918\u091F\u0928\u093E",resolution:"\u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",throughput:"\u0925\u094D\u0930\u0942\u092A\u0941\u091F",timeframe:"\u0938\u092E\u092F \u0938\u0940\u092E\u093E",toggle_legend:"\u0932\u0940\u091C\u0947\u0902\u0921 \u091F\u0949\u0917\u0932 \u0915\u0930\u0947\u0902"},queues:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",created_at:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",enqueue_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",enqueue_torrent_processing_batch:"\u091F\u094B\u0930\u0947\u0902\u091F \u092A\u094D\u0930\u094B\u0938\u0947\u0938\u093F\u0902\u0917 \u092C\u0948\u091A \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",failed:"\u0905\u0938\u092B\u0932",force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",jobs_enqueued:"\u091C\u0949\u092C\u094D\u0938 \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u0908 \u0917\u0908\u0902",latency:"\u0932\u0947\u091F\u0947\u0902\u0938\u0940",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",payload:"\u092A\u0947\u0932\u094B\u0921",pending:"\u092C\u0915\u093E\u092F\u093E",priority:"\u092A\u094D\u0930\u093E\u0925\u092E\u093F\u0915\u0924\u093E",process_orphaned_torrents_only:"\u0915\u0947\u0935\u0932 \u0905\u0928\u093E\u0925 \u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938 \u0915\u094B \u092A\u094D\u0930\u094B\u0938\u0947\u0938 \u0915\u0930\u0947\u0902",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",purge_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",purge_queue_jobs:"\u0915\u0924\u093E\u0930 \u0915\u0947 \u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",queue:"\u0915\u0924\u093E\u0930",queue_purged:"\u0915\u0924\u093E\u0930 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u093F\u092F\u093E \u0917\u092F\u093E",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",ran_at:"\u091A\u0932\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",retry:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",total_counts_by_status:"\u0938\u094D\u0925\u093F\u0924\u093F \u0926\u094D\u0935\u093E\u0930\u093E \u0915\u0941\u0932 \u0917\u0923\u0928\u093E"}},facets:{content_type:"\u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u092A\u094D\u0930\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",genre:"\u0936\u0948\u0932\u0940",language:"\u092D\u093E\u0937\u093E",queue:"\u0915\u0924\u093E\u0930",status:"\u0938\u094D\u0925\u093F\u0924\u093F",torrent_source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",torrent_tag:"\u091F\u094B\u0930\u0947\u0902\u091F \u091F\u0948\u0917",video_resolution:"\u0935\u0940\u0921\u093F\u092F\u094B \u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",video_source:"\u0935\u0940\u0921\u093F\u092F\u094B \u0938\u094D\u0930\u094B\u0924"},file_types:{archive:"\u0906\u0930\u094D\u0915\u093E\u0907\u0935",audio:"\u0911\u0921\u093F\u092F\u094B",data:"\u0921\u0947\u091F\u093E",document:"\u0926\u0938\u094D\u0924\u093E\u0935\u0947\u091C\u093C",image:"\u091B\u0935\u093F",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",subtitles:"\u0909\u092A\u0936\u0940\u0930\u094D\u0937\u0915",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924",video:"\u0935\u0940\u0921\u093F\u092F\u094B"},general:{all:"\u0938\u092D\u0940",dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",none:"\u0915\u094B\u0908 \u0928\u0939\u0940\u0902",page_not_found:"\u092A\u0943\u0937\u094D\u0920 \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E",refresh:"\u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",status:"\u0938\u094D\u0925\u093F\u0924\u093F"},health:{bitmagnet_is_status:"bitmagnet {{status}} \u0939\u0948",check_failed_with_error:"\u0924\u094D\u0930\u0941\u091F\u093F \u0915\u0947 \u0938\u093E\u0925 \u091C\u093E\u0902\u091A \u0935\u093F\u092B\u0932",component:"\u0918\u091F\u0915",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",status:"\u0938\u094D\u0925\u093F\u0924\u093F",statuses:{degraded:"\u0915\u094D\u0937\u0940\u0923",down:"\u092C\u0902\u0926",error:"\u0924\u094D\u0930\u0941\u091F\u093F",inactive:"\u0928\u093F\u0937\u094D\u0915\u094D\u0930\u093F\u092F",started:"\u0936\u0941\u0930\u0942 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",unknown:"\u0932\u0902\u092C\u093F\u0924",up:"\u091A\u093E\u0932\u0942"},summary:"\u0938\u094D\u0935\u093E\u0938\u094D\u0925\u094D\u092F \u0938\u093E\u0930\u093E\u0902\u0936",worker:"\u0915\u093E\u0930\u094D\u092F\u0915\u0930\u094D\u0924\u093E",workers:{dht_crawler:"DHT \u0915\u094D\u0930\u0949\u0932\u0930",http_server:"HTTP \u0938\u0930\u094D\u0935\u0930",queue_server:"\u0915\u0924\u093E\u0930 \u0938\u0930\u094D\u0935\u0930"}},languages:{af:"\u0905\u092B\u094D\u0930\u0940\u0915\u0940",ar:"\u0905\u0930\u092C\u0940",az:"\u0905\u091C\u093C\u0947\u0930\u0940",be:"\u092C\u0947\u0932\u093E\u0930\u0942\u0938\u0940",bg:"\u092C\u0941\u0932\u094D\u0917\u093E\u0930\u093F\u092F\u093E\u0908",bs:"\u092C\u094B\u0938\u094D\u0928\u093F\u092F\u093E\u0908",ca:"\u0915\u0948\u091F\u0932\u0928",ce:"\u091A\u0947\u091A\u0947\u0928",co:"\u0915\u094B\u0930\u094D\u0938\u093F\u0915\u0928",cs:"\u091A\u0947\u0915",cy:"\u0935\u0947\u0932\u094D\u0936",da:"\u0921\u0947\u0928\u093F\u0936",de:"\u091C\u0930\u094D\u092E\u0928",el:"\u0917\u094D\u0930\u0940\u0915",en:"\u0905\u0902\u0917\u094D\u0930\u0947\u091C\u0940",es:"\u0938\u094D\u092A\u0948\u0928\u093F\u0936",et:"\u090F\u0938\u094D\u0924\u094B\u0928\u093F\u092F\u093E\u0908",eu:"\u092C\u093E\u0938\u094D\u0915",fa:"\u092B\u093E\u0930\u0938\u0940",fi:"\u092B\u093C\u093F\u0928\u093F\u0936",fr:"\u092B\u094D\u0930\u0947\u0902\u091A",he:"\u0939\u093F\u092C\u094D\u0930\u0942",hi:"\u0939\u093F\u0902\u0926\u0940",hr:"\u0915\u094D\u0930\u094B\u090F\u0936\u093F\u092F\u093E\u0908",hu:"\u0939\u0902\u0917\u0947\u0930\u093F\u092F\u0928",hy:"\u0906\u0930\u094D\u092E\u0947\u0928\u093F\u092F\u093E\u0908",id:"\u0907\u0902\u0921\u094B\u0928\u0947\u0936\u093F\u092F\u093E\u0908",is:"\u0906\u0907\u0938\u0932\u0948\u0902\u0921\u093F\u0915",it:"\u0907\u0924\u093E\u0932\u0935\u0940",ja:"\u091C\u093E\u092A\u093E\u0928\u0940",ka:"\u091C\u0949\u0930\u094D\u091C\u093F\u092F\u093E\u0908",ko:"\u0915\u094B\u0930\u093F\u092F\u093E\u0908",ku:"\u0915\u0941\u0930\u094D\u0926\u0940",lt:"\u0932\u093F\u0925\u0941\u0906\u0928\u093F\u092F\u093E\u0908",lv:"\u0932\u093E\u0924\u0935\u093F\u092F\u093E\u0908",mi:"\u092E\u093E\u0913\u0930\u0940",mk:"\u092E\u0948\u0938\u093F\u0921\u094B\u0928\u093F\u092F\u093E\u0908",ml:"\u092E\u0932\u092F\u093E\u0932\u092E",mn:"\u092E\u0902\u0917\u094B\u0932\u093F\u092F\u093E\u0908",ms:"\u092E\u0932\u092F",mt:"\u092E\u093E\u0932\u094D\u091F\u0940\u091C\u093C",nl:"\u0921\u091A",no:"\u0928\u0949\u0930\u094D\u0935\u0947\u091C\u093F\u092F\u0928",pl:"\u092A\u094B\u0932\u093F\u0936",pt:"\u092A\u0941\u0930\u094D\u0924\u0917\u093E\u0932\u0940",ro:"\u0930\u094B\u092E\u093E\u0928\u093F\u092F\u093E\u0908",ru:"\u0930\u0942\u0938\u0940",sa:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924",sk:"\u0938\u094D\u0932\u094B\u0935\u093E\u0915",sl:"\u0938\u094D\u0932\u094B\u0935\u0947\u0928\u093F\u092F\u093E\u0908",sm:"\u0938\u093E\u092E\u094B\u0928",so:"\u0938\u094B\u092E\u093E\u0932\u0940",sr:"\u0938\u0930\u094D\u092C\u093F\u092F\u093E\u0908",sv:"\u0938\u094D\u0935\u0940\u0921\u093F\u0936",ta:"\u0924\u092E\u093F\u0932",th:"\u0925\u093E\u0908",tr:"\u0924\u0941\u0930\u094D\u0915\u0940",uk:"\u092F\u0942\u0915\u094D\u0930\u0947\u0928\u0940",vi:"\u0935\u093F\u092F\u0924\u0928\u093E\u092E\u0940",yi:"\u092F\u093F\u0926\u094D\u0926\u093F\u0936",zh:"\u091A\u0940\u0928\u0940",zu:"\u091C\u093C\u0941\u0932\u0941"},layout:{bitmagnet_on_service:"{{service}} \u092A\u0930 bitmagnet",change_theme:"\u0925\u0940\u092E \u092C\u0926\u0932\u0947\u0902",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",sponsor:"\u092A\u094D\u0930\u093E\u092F\u094B\u091C\u0915",support_bitmagnet:"bitmagnet \u0915\u094B \u0938\u092E\u0930\u094D\u0925\u0928 \u0926\u0947\u0902",translate:"\u0905\u0928\u0941\u0935\u093E\u0926 \u0915\u0930\u0947\u0902"},paginator:{first_page:"\u092A\u0939\u0932\u093E \u092A\u0943\u0937\u094D\u0920",items_per_page:"\u092A\u094D\u0930\u0924\u093F \u092A\u0943\u0937\u094D\u0920 \u0906\u0907\u091F\u092E",last_page:"\u0905\u0902\u0924\u093F\u092E \u092A\u0943\u0937\u094D\u0920",next_page:"\u0905\u0917\u0932\u093E \u092A\u0943\u0937\u094D\u0920",page_x:"\u092A\u0943\u0937\u094D\u0920 {{x}}",previous_page:"\u092A\u093F\u091B\u0932\u093E \u092A\u0943\u0937\u094D\u0920",x_to_y:"{{x}} \u0938\u0947 {{y}} \u0924\u0915",x_to_y_of_z:"{{x}} \u0938\u0947 {{y}} \u0924\u0915 {{z}} \u092E\u0947\u0902"},routes:{admin:"\u092A\u094D\u0930\u0936\u093E\u0938\u0915",dashboard:"\u0921\u0948\u0936\u092C\u094B\u0930\u094D\u0921",home:"\u0939\u094B\u092E",jobs:"\u0928\u094C\u0915\u0930\u093F\u092F\u093E\u0902",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",torrents:"\u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938",visualize:"\u0926\u0943\u0936\u094D\u092F \u0915\u0930\u0947\u0902"},torrents:{classification:"\u0935\u0930\u094D\u0917\u0940\u0915\u0930\u0923",clear_search:"\u0916\u094B\u091C \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",copy:"\u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",copy_to_clipboard:"\u0915\u094D\u0932\u093F\u092A\u092C\u094B\u0930\u094D\u0921 \u092E\u0947\u0902 \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",delete:"\u0939\u091F\u093E\u090F\u0902",delete_action_cannot_be_undone:"\u092F\u0939 \u0915\u094D\u0930\u093F\u092F\u093E \u092A\u0942\u0930\u094D\u0935\u0935\u0924 \u0928\u0939\u0940\u0902 \u0915\u0940 \u091C\u093E \u0938\u0915\u0924\u0940",delete_are_you_sure:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u0907\u0938 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u094B \u0939\u091F\u093E\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",deselect_all:"\u0938\u092D\u0940 \u0915\u094B \u0905\u091A\u092F\u0928\u093F\u0924 \u0915\u0930\u0947\u0902",edit_tags:"\u091F\u0948\u0917 \u0938\u0902\u092A\u093E\u0926\u093F\u0924 \u0915\u0930\u0947\u0902",episodes:"\u090F\u092A\u093F\u0938\u094B\u0921\u094D\u0938",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",file_index:"\u092B\u093C\u093E\u0907\u0932 \u0938\u0942\u091A\u0915\u093E\u0902\u0915",file_path:"\u092B\u093C\u093E\u0907\u0932 \u092A\u0925",file_size:"\u092B\u093C\u093E\u0907\u0932 \u0906\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",files:"\u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_count_n:"{{count}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_no_info:"\u0915\u094B\u0908 \u092B\u093C\u093E\u0907\u0932 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948",files_single:"\u090F\u0915\u0932 \u092B\u093C\u093E\u0907\u0932",genres:"\u0936\u0948\u0932\u093F\u092F\u093E\u0901",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",info_hashes:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936\u0947\u091C",languages:"\u092D\u093E\u0937\u093E\u090F\u0901",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",magnet:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F",magnet_links:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F \u0932\u093F\u0902\u0915",new_tag:"\u0928\u092F\u093E \u091F\u0948\u0917",order_by:"\u0915\u094D\u0930\u092E\u092C\u0926\u094D\u0927 \u0915\u0930\u0947\u0902",order_direction_toggle:"\u0926\u093F\u0936\u093E \u092C\u0926\u0932\u0947\u0902",ordering:{files_count:"\u092B\u093C\u093E\u0907\u0932\u094B\u0902 \u0915\u0940 \u0938\u0902\u0916\u094D\u092F\u093E",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",name:"\u0928\u093E\u092E",published_at:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924 \u0938\u092E\u092F",relevance:"\u092A\u094D\u0930\u093E\u0938\u0902\u0917\u093F\u0915\u0924\u093E",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",size:"\u0906\u0915\u093E\u0930",updated_at:"\u0905\u092A\u0921\u0947\u091F \u0938\u092E\u092F"},original_release_date:"\u092E\u0942\u0932 \u0930\u093F\u0932\u0940\u091C\u093C \u0924\u093F\u0925\u093F",permalink:"\u0938\u094D\u0925\u093E\u092F\u0940 \u0932\u093F\u0902\u0915",poster:"\u092A\u094B\u0938\u094D\u091F\u0930",published:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924",rating:"\u0930\u0947\u091F\u093F\u0902\u0917",refresh:"\u092A\u0930\u093F\u0923\u093E\u092E \u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",reprocess:{force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",reprocess:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u0915\u094D\u0930\u093F\u092F\u093E \u0915\u0930\u0947\u0902"},s_l:"S / L",search:"\u0916\u094B\u091C",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",select_all:"\u0938\u092D\u0940 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",showing_x_of_y_files:"{{x}} \u092E\u0947\u0902 \u0938\u0947 {{y}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902 \u0926\u093F\u0916\u093E \u0930\u0939\u093E \u0939\u0948",size:"\u0906\u0915\u093E\u0930",source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",summary:"\u0938\u093E\u0930\u093E\u0902\u0936",tags:{delete:"\u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",delete_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0938\u0947 \u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",placeholder:"\u091F\u0948\u0917...",put:"\u091F\u0948\u0917 \u0921\u093E\u0932\u0947\u0902",put_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u092E\u0947\u0902 \u091F\u0948\u0917 \u091C\u094B\u0921\u093C\u0947\u0902",set:"\u091F\u0948\u0917 \u0938\u0947\u091F \u0915\u0930\u0947\u0902",set_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u0947 \u091F\u0948\u0917 \u092C\u0926\u0932\u0947\u0902"},title:"\u0936\u0940\u0930\u094D\u0937\u0915",toggle_drawer:"\u0921\u094D\u0930\u0949\u0905\u0930 \u092C\u0926\u0932\u0947\u0902",votes_count_n:"{{count}} \u0935\u094B\u091F"},version:{bitmagnet_version:"bitmagnet \u0938\u0902\u0938\u094D\u0915\u0930\u0923 {{version}}",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924"}};var St={content_types:{plural:{all:"\u3059\u3079\u3066",audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",game:"\u30B2\u30FC\u30E0",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"},singular:{audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",game:"\u30B2\u30FC\u30E0",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"}},dashboard:{event:{created:"\u4F5C\u6210\u6E08\u307F",failed:"\u5931\u6557",processed:"\u51E6\u7406\u6E08\u307F",updated:"\u66F4\u65B0\u6E08\u307F"},interval:{all:"\u3059\u3079\u3066",days:"\u65E5",days_1:"1\u65E5",hours:"\u6642\u9593",hours_1:"1\u6642\u9593",hours_12:"12\u6642\u9593",hours_6:"6\u6642\u9593",minutes:"\u5206",minutes_1:"1\u5206",minutes_15:"15\u5206",minutes_30:"30\u5206",minutes_5:"5\u5206",off:"\u30AA\u30D5",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u9031\u9593"},metrics:{event:"\u30A4\u30D9\u30F3\u30C8",resolution:"\u89E3\u50CF\u5EA6",throughput:"\u30B9\u30EB\u30FC\u30D7\u30C3\u30C8",timeframe:"\u671F\u9593",toggle_legend:"\u51E1\u4F8B\u3092\u5207\u308A\u66FF\u3048"},queues:{created:"\u4F5C\u6210\u6E08\u307F",created_at:"\u4F5C\u6210\u65E5\u6642",enqueue_jobs:"\u30B8\u30E7\u30D6\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",enqueue_torrent_processing_batch:"\u30C8\u30EC\u30F3\u30C8\u51E6\u7406\u30D0\u30C3\u30C1\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",failed:"\u5931\u6557",force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",jobs_enqueued:"\u30AD\u30E5\u30FC\u306B\u8FFD\u52A0\u3055\u308C\u305F\u30B8\u30E7\u30D6",latency:"\u30EC\u30A4\u30C6\u30F3\u30B7",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",payload:"\u30DA\u30A4\u30ED\u30FC\u30C9",pending:"\u4FDD\u7559\u4E2D",priority:"\u512A\u5148\u9806\u4F4D",process_orphaned_torrents_only:"\u5B64\u7ACB\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u307F\u51E6\u7406\u3059\u308B",processed:"\u51E6\u7406\u6E08\u307F",purge_jobs:"\u30B8\u30E7\u30D6\u3092\u524A\u9664",purge_queue_jobs:"\u30AD\u30E5\u30FC\u5185\u306E\u30B8\u30E7\u30D6\u3092\u524A\u9664",queue:"\u30AD\u30E5\u30FC",queue_purged:"\u30AD\u30E5\u30FC\u304C\u30AF\u30EA\u30A2\u3055\u308C\u307E\u3057\u305F",queues:"\u30AD\u30E5\u30FC",ran_at:"\u5B9F\u884C\u6642\u523B",retry:"\u518D\u8A66\u884C",total_counts_by_status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3054\u3068\u306E\u7DCF\u6570"}},facets:{content_type:"\u30B3\u30F3\u30C6\u30F3\u30C4\u30BF\u30A4\u30D7",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",genre:"\u30B8\u30E3\u30F3\u30EB",language:"\u8A00\u8A9E",queue:"\u30AD\u30E5\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",torrent_source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",torrent_tag:"\u30C8\u30EC\u30F3\u30C8\u30BF\u30B0",video_resolution:"\u30D3\u30C7\u30AA\u89E3\u50CF\u5EA6",video_source:"\u30D3\u30C7\u30AA\u30BD\u30FC\u30B9"},file_types:{archive:"\u30A2\u30FC\u30AB\u30A4\u30D6",audio:"\u30AA\u30FC\u30C7\u30A3\u30AA",data:"\u30C7\u30FC\u30BF",document:"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8",image:"\u753B\u50CF",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",subtitles:"\u5B57\u5E55",unknown:"\u4E0D\u660E",video:"\u30D3\u30C7\u30AA"},general:{all:"\u3059\u3079\u3066",dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",none:"\u306A\u3057",page_not_found:"\u30DA\u30FC\u30B8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",refresh:"\u66F4\u65B0",status:"\u30B9\u30C6\u30FC\u30BF\u30B9"},health:{bitmagnet_is_status:"bitmagnet\u306F{{status}}\u3067\u3059",check_failed_with_error:"\u30A8\u30E9\u30FC\u3067\u30C1\u30A7\u30C3\u30AF\u306B\u5931\u6557\u3057\u307E\u3057\u305F",component:"\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",statuses:{degraded:"\u4F4E\u4E0B",down:"\u505C\u6B62",error:"\u30A8\u30E9\u30FC",inactive:"\u975E\u30A2\u30AF\u30C6\u30A3\u30D6",started:"\u958B\u59CB",unknown:"\u4FDD\u7559\u4E2D",up:"\u7A3C\u50CD\u4E2D"},summary:"\u5065\u5EB7\u72B6\u614B\u306E\u6982\u8981",worker:"\u30EF\u30FC\u30AB\u30FC",workers:{dht_crawler:"DHT\u30AF\u30ED\u30FC\u30E9\u30FC",http_server:"HTTP\u30B5\u30FC\u30D0\u30FC",queue_server:"\u30AD\u30E5\u30FC\u30B5\u30FC\u30D0\u30FC"}},languages:{af:"\u30A2\u30D5\u30EA\u30AB\u30FC\u30F3\u30B9\u8A9E",ar:"\u30A2\u30E9\u30D3\u30A2\u8A9E",az:"\u30A2\u30BC\u30EB\u30D0\u30A4\u30B8\u30E3\u30F3\u8A9E",be:"\u30D9\u30E9\u30EB\u30FC\u30B7\u8A9E",bg:"\u30D6\u30EB\u30AC\u30EA\u30A2\u8A9E",bs:"\u30DC\u30B9\u30CB\u30A2\u8A9E",ca:"\u30AB\u30BF\u30EB\u30FC\u30CB\u30E3\u8A9E",ce:"\u30C1\u30A7\u30C1\u30A7\u30F3\u8A9E",co:"\u30B3\u30EB\u30B7\u30AB\u8A9E",cs:"\u30C1\u30A7\u30B3\u8A9E",cy:"\u30A6\u30A7\u30FC\u30EB\u30BA\u8A9E",da:"\u30C7\u30F3\u30DE\u30FC\u30AF\u8A9E",de:"\u30C9\u30A4\u30C4\u8A9E",el:"\u30AE\u30EA\u30B7\u30E3\u8A9E",en:"\u82F1\u8A9E",es:"\u30B9\u30DA\u30A4\u30F3\u8A9E",et:"\u30A8\u30B9\u30C8\u30CB\u30A2\u8A9E",eu:"\u30D0\u30B9\u30AF\u8A9E",fa:"\u30DA\u30EB\u30B7\u30E3\u8A9E",fi:"\u30D5\u30A3\u30F3\u30E9\u30F3\u30C9\u8A9E",fr:"\u30D5\u30E9\u30F3\u30B9\u8A9E",he:"\u30D8\u30D6\u30E9\u30A4\u8A9E",hi:"\u30D2\u30F3\u30C7\u30A3\u30FC\u8A9E",hr:"\u30AF\u30ED\u30A2\u30C1\u30A2\u8A9E",hu:"\u30CF\u30F3\u30AC\u30EA\u30FC\u8A9E",hy:"\u30A2\u30EB\u30E1\u30CB\u30A2\u8A9E",id:"\u30A4\u30F3\u30C9\u30CD\u30B7\u30A2\u8A9E",is:"\u30A2\u30A4\u30B9\u30E9\u30F3\u30C9\u8A9E",it:"\u30A4\u30BF\u30EA\u30A2\u8A9E",ja:"\u65E5\u672C\u8A9E",ka:"\u30B0\u30EB\u30B8\u30A2\u8A9E",ko:"\u97D3\u56FD\u8A9E",ku:"\u30AF\u30EB\u30C9\u8A9E",lt:"\u30EA\u30C8\u30A2\u30CB\u30A2\u8A9E",lv:"\u30E9\u30C8\u30D3\u30A2\u8A9E",mi:"\u30DE\u30AA\u30EA\u8A9E",mk:"\u30DE\u30B1\u30C9\u30CB\u30A2\u8A9E",ml:"\u30DE\u30E9\u30E4\u30FC\u30E9\u30E0\u8A9E",mn:"\u30E2\u30F3\u30B4\u30EB\u8A9E",ms:"\u30DE\u30EC\u30FC\u8A9E",mt:"\u30DE\u30EB\u30BF\u8A9E",nl:"\u30AA\u30E9\u30F3\u30C0\u8A9E",no:"\u30CE\u30EB\u30A6\u30A7\u30FC\u8A9E",pl:"\u30DD\u30FC\u30E9\u30F3\u30C9\u8A9E",pt:"\u30DD\u30EB\u30C8\u30AC\u30EB\u8A9E",ro:"\u30EB\u30FC\u30DE\u30CB\u30A2\u8A9E",ru:"\u30ED\u30B7\u30A2\u8A9E",sa:"\u30B5\u30F3\u30B9\u30AF\u30EA\u30C3\u30C8",sk:"\u30B9\u30ED\u30D0\u30AD\u30A2\u8A9E",sl:"\u30B9\u30ED\u30D9\u30CB\u30A2\u8A9E",sm:"\u30B5\u30E2\u30A2\u8A9E",so:"\u30BD\u30DE\u30EA\u8A9E",sr:"\u30BB\u30EB\u30D3\u30A2\u8A9E",sv:"\u30B9\u30A6\u30A7\u30FC\u30C7\u30F3\u8A9E",ta:"\u30BF\u30DF\u30EB\u8A9E",th:"\u30BF\u30A4\u8A9E",tr:"\u30C8\u30EB\u30B3\u8A9E",uk:"\u30A6\u30AF\u30E9\u30A4\u30CA\u8A9E",vi:"\u30D9\u30C8\u30CA\u30E0\u8A9E",yi:"\u30A4\u30C7\u30A3\u30C3\u30B7\u30E5\u8A9E",zh:"\u4E2D\u56FD\u8A9E",zu:"\u30BA\u30FC\u30EB\u30FC\u8A9E"},layout:{bitmagnet_on_service:"{{service}}\u306Ebitmagnet",change_theme:"\u30C6\u30FC\u30DE\u3092\u5909\u66F4",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",sponsor:"\u30B9\u30DD\u30F3\u30B5\u30FC",support_bitmagnet:"bitmagnet\u3092\u30B5\u30DD\u30FC\u30C8",translate:"\u7FFB\u8A33\u3059\u308B"},paginator:{first_page:"\u6700\u521D\u306E\u30DA\u30FC\u30B8",items_per_page:"\u30DA\u30FC\u30B8\u3042\u305F\u308A\u306E\u9805\u76EE\u6570",last_page:"\u6700\u5F8C\u306E\u30DA\u30FC\u30B8",next_page:"\u6B21\u306E\u30DA\u30FC\u30B8",page_x:"\u30DA\u30FC\u30B8 {{x}}",previous_page:"\u524D\u306E\u30DA\u30FC\u30B8",x_to_y:"{{x}} \u304B\u3089 {{y}} \u307E\u3067",x_to_y_of_z:"{{x}} \u304B\u3089 {{y}} \u307E\u3067\u306E {{z}}"},routes:{admin:"\u7BA1\u7406\u8005",dashboard:"\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",home:"\u30DB\u30FC\u30E0",jobs:"\u30B8\u30E7\u30D6",queues:"\u30AD\u30E5\u30FC",torrents:"\u30C8\u30EC\u30F3\u30C8",visualize:"\u53EF\u8996\u5316"},torrents:{classification:"\u5206\u985E",clear_search:"\u691C\u7D22\u3092\u30AF\u30EA\u30A2",copy:"\u30B3\u30D4\u30FC",copy_to_clipboard:"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC",delete:"\u524A\u9664",delete_action_cannot_be_undone:"\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093",delete_are_you_sure:"\u3053\u306E\u30C8\u30EC\u30F3\u30C8\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",deselect_all:"\u3059\u3079\u3066\u306E\u9078\u629E\u3092\u89E3\u9664",edit_tags:"\u30BF\u30B0\u3092\u7DE8\u96C6",episodes:"\u30A8\u30D4\u30BD\u30FC\u30C9",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",file_index:"\u30D5\u30A1\u30A4\u30EB\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9",file_path:"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9",file_size:"\u30D5\u30A1\u30A4\u30EB\u30B5\u30A4\u30BA",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",files:"\u30D5\u30A1\u30A4\u30EB",files_count_n:"{{count}} \u4EF6\u306E\u30D5\u30A1\u30A4\u30EB",files_no_info:"\u30D5\u30A1\u30A4\u30EB\u60C5\u5831\u306F\u3042\u308A\u307E\u305B\u3093",files_single:"\u5358\u4E00\u30D5\u30A1\u30A4\u30EB",genres:"\u30B8\u30E3\u30F3\u30EB",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",info_hashes:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",languages:"\u8A00\u8A9E",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",magnet:"\u30DE\u30B0\u30CD\u30C3\u30C8",magnet_links:"\u30DE\u30B0\u30CD\u30C3\u30C8\u30EA\u30F3\u30AF",new_tag:"\u65B0\u3057\u3044\u30BF\u30B0",order_by:"\u4E26\u3073\u66FF\u3048",order_direction_toggle:"\u4E26\u3073\u9806\u3092\u5207\u308A\u66FF\u3048",ordering:{files_count:"\u30D5\u30A1\u30A4\u30EB\u6570",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",name:"\u540D\u524D",published_at:"\u516C\u958B\u65E5\u6642",relevance:"\u95A2\u9023\u6027",seeders:"\u30B7\u30FC\u30C0\u30FC",size:"\u30B5\u30A4\u30BA",updated_at:"\u66F4\u65B0\u65E5\u6642"},original_release_date:"\u30AA\u30EA\u30B8\u30CA\u30EB\u306E\u767A\u58F2\u65E5",permalink:"\u30D1\u30FC\u30DE\u30EA\u30F3\u30AF",poster:"\u30DD\u30B9\u30BF\u30FC",published:"\u516C\u958B\u6E08\u307F",rating:"\u8A55\u4FA1",refresh:"\u7D50\u679C\u3092\u66F4\u65B0",reprocess:{force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",reprocess:"\u518D\u51E6\u7406"},s_l:"S / L",search:"\u691C\u7D22",seeders:"\u30B7\u30FC\u30C0\u30FC",select_all:"\u3059\u3079\u3066\u9078\u629E",showing_x_of_y_files:"{{x}} \u4EF6\u4E2D {{y}} \u4EF6\u8868\u793A",size:"\u30B5\u30A4\u30BA",source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",summary:"\u6982\u8981",tags:{delete:"\u30BF\u30B0\u3092\u524A\u9664",delete_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u304B\u3089\u30BF\u30B0\u3092\u524A\u9664",placeholder:"\u30BF\u30B0...",put:"\u30BF\u30B0\u3092\u4ED8\u3051\u308B",put_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306B\u30BF\u30B0\u3092\u8FFD\u52A0\u3059\u308B",set:"\u30BF\u30B0\u3092\u8A2D\u5B9A\u3059\u308B",set_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u30BF\u30B0\u3092\u7F6E\u304D\u63DB\u3048\u308B"},title:"\u30BF\u30A4\u30C8\u30EB",toggle_drawer:"\u5F15\u304D\u51FA\u3057\u3092\u5207\u308A\u66FF\u3048",votes_count_n:"{{count}} \u7968"},version:{bitmagnet_version:"bitmagnet\u30D0\u30FC\u30B8\u30E7\u30F3 {{version}}",unknown:"\u4E0D\u660E"}};var Ct={content_types:{plural:{all:"Alle",audiobook:"Audioboeken",comic:"Strips",ebook:"E-Boeken",game:"Spellen",movie:"Films",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma's",xxx:"XXX"},singular:{audiobook:"Audioboek",comic:"Strip",ebook:"E-Book",game:"Spel",movie:"Film",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma",xxx:"XXX"}},dashboard:{event:{created:"Gemaakt",failed:"Mislukt",processed:"Verwerkt",updated:"Bijgewerkt"},interval:{all:"Alle",days:"Dagen",days_1:"1 dag",hours:"Uren",hours_1:"1 uur",hours_12:"12 uur",hours_6:"6 uur",minutes:"Minuten",minutes_1:"1 minuut",minutes_15:"15 minuten",minutes_30:"30 minuten",minutes_5:"5 minuten",off:"Uit",seconds_10:"10 seconden",seconds_30:"30 seconden",weeks_1:"1 week"},metrics:{event:"Gebeurtenis",resolution:"Resolutie",throughput:"Doorvoer",timeframe:"Tijdsperiode",toggle_legend:"Legenda in-/uitschakelen"},queues:{created:"Gemaakt",created_at:"Gemaakt op",enqueue_jobs:"Voeg taken toe aan wachtrij",enqueue_torrent_processing_batch:"Torrentverwerkingsbatch toevoegen",failed:"Mislukt",force_rematch:"Forceer nieuwe match van al gematchte inhoud",jobs_enqueued:"Taken in wachtrij gezet",latency:"Latentie",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",payload:"Inhoud",pending:"In afwachting",priority:"Prioriteit",process_orphaned_torrents_only:"Verwerk alleen verweesde torrents",processed:"Verwerkt",purge_jobs:"Wis taken",purge_queue_jobs:"Wis wachtrijtaken",queue:"Wachtrij",queue_purged:"Wachtrij gewist",queues:"Wachtrijen",ran_at:"Uitgevoerd op",retry:"Opnieuw proberen",total_counts_by_status:"Totaal aantal per status"}},facets:{content_type:"Inhoudstype",file_type:"Bestandstype",genre:"Genre",language:"Taal",queue:"Wachtrij",status:"Status",torrent_source:"Torrentbron",torrent_tag:"Torrenttag",video_resolution:"Videoresolutie",video_source:"Videobron"},file_types:{archive:"Archief",audio:"Audio",data:"Data",document:"Document",image:"Afbeelding",software:"Software",subtitles:"Ondertitels",unknown:"Onbekend",video:"Video"},general:{all:"Alle",dismiss:"Sluiten",error:"Fout",none:"Geen",page_not_found:"Pagina niet gevonden",refresh:"Verversen",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Controle mislukt met foutmelding",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Sluiten",error:"Fout",status:"Status",statuses:{degraded:"Verlaagd",down:"Niet beschikbaar",error:"Fout",inactive:"Inactief",started:"Gestart",unknown:"Onbekend",up:"Beschikbaar"},summary:"Gezondheidsrapport",worker:"Werker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Wachtrijserver"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Azerbeidzjaans",be:"Wit-Russisch",bg:"Bulgaars",bs:"Bosnisch",ca:"Catalaans",ce:"Tsjetsjeens",co:"Corsicaans",cs:"Tsjechisch",cy:"Welsh",da:"Deens",de:"Duits",el:"Grieks",en:"Engels",es:"Spaans",et:"Ests",eu:"Baskisch",fa:"Perzisch",fi:"Fins",fr:"Frans",he:"Hebreeuws",hi:"Hindi",hr:"Kroatisch",hu:"Hongaars",hy:"Armeens",id:"Indonesisch",is:"IJslands",it:"Italiaans",ja:"Japans",ka:"Georgisch",ko:"Koreaans",ku:"Koerdisch",lt:"Litouws",lv:"Lets",mi:"Maori",mk:"Macedonisch",ml:"Malayalam",mn:"Mongools",ms:"Maleis",mt:"Maltees",nl:"Nederlands",no:"Noors",pl:"Pools",pt:"Portugees",ro:"Roemeens",ru:"Russisch",sa:"Sanskriet",sk:"Slowaaks",sl:"Sloveens",sm:"Samoaans",so:"Somalisch",sr:"Servisch",sv:"Zweeds",ta:"Tamil",th:"Thais",tr:"Turks",uk:"Oekra\xEFens",vi:"Vietnamees",yi:"Jiddisch",zh:"Chinees",zu:"Zoeloe"},layout:{bitmagnet_on_service:"bitmagnet op {{service}}",change_theme:"Wijzig thema",external_links:"Externe links",sponsor:"Sponsor",support_bitmagnet:"Ondersteun bitmagnet",translate:"Vertalen"},paginator:{first_page:"Eerste pagina",items_per_page:"Items per pagina",last_page:"Laatste pagina",next_page:"Volgende pagina",page_x:"Pagina {{x}}",previous_page:"Vorige pagina",x_to_y:"{{x}} tot {{y}}",x_to_y_of_z:"{{x}} tot {{y}} van {{z}}"},routes:{admin:"Beheerder",dashboard:"Dashboard",home:"Home",jobs:"Taken",queues:"Wachtrijen",torrents:"Torrents",visualize:"Visualiseren"},torrents:{classification:"Classificatie",clear_search:"Zoekopdracht wissen",copy:"Kopi\xEBren",copy_to_clipboard:"Kopi\xEBren naar klembord",delete:"Verwijderen",delete_action_cannot_be_undone:"Deze actie kan niet ongedaan worden gemaakt",delete_are_you_sure:"Weet u zeker dat u deze torrent wilt verwijderen?",deselect_all:"Deselecteer alles",edit_tags:"Tags bewerken",episodes:"Afleveringen",external_links:"Externe links",file_index:"Bestandsindex",file_path:"Bestandspad",file_size:"Bestandsgrootte",file_type:"Bestandstype",files:"Bestanden",files_count_n:"{{count}} bestanden",files_no_info:"Geen informatie over bestanden beschikbaar",files_single:"Enkel bestand",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Talen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-links",new_tag:"Nieuwe tag",order_by:"Sorteren op",order_direction_toggle:"Richting omkeren",ordering:{files_count:"Aantal bestanden",info_hash:"Info hash",leechers:"Leechers",name:"Naam",published_at:"Gepubliceerd op",relevance:"Relevantie",seeders:"Seeders",size:"Grootte",updated_at:"Bijgewerkt op"},original_release_date:"Oorspronkelijke releasedatum",permalink:"Permalink",poster:"Poster",published:"Gepubliceerd",rating:"Beoordeling",refresh:"Vernieuw resultaten",reprocess:{force_rematch:"Forceer nieuwe match van al gematchte inhoud",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",reprocess:"Opnieuw verwerken"},s_l:"S / L",search:"Zoeken",seeders:"Seeders",select_all:"Alles selecteren",showing_x_of_y_files:"{{x}} van {{y}} bestanden weergegeven",size:"Grootte",source:"Torrentbron",summary:"Samenvatting",tags:{delete:"Tags verwijderen",delete_tip:"Tags verwijderen van de geselecteerde torrents",placeholder:"Tag...",put:"Tags plaatsen",put_tip:"Tags toevoegen aan de geselecteerde torrents",set:"Tags instellen",set_tip:"Tags van de geselecteerde torrents vervangen"},title:"Titel",toggle_drawer:"Zijpaneel in-/uitschakelen",votes_count_n:"{{count}} stemmen"},version:{bitmagnet_version:"bitmagnet versie {{version}}",unknown:"onbekend"}};var Mt={content_types:{plural:{all:"Todos",audiobook:"Audiolivros",comic:"Quadrinhos",ebook:"E-books",game:"Jogos",movie:"Filmes",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolivro",comic:"Quadrinho",ebook:"E-book",game:"Jogo",movie:"Filme",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Criado",failed:"Falhou",processed:"Processado",updated:"Atualizado"},interval:{all:"Todos",days:"Dias",days_1:"1 dia",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Desligado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resolu\xE7\xE3o",throughput:"Taxa de transfer\xEAncia",timeframe:"Intervalo de tempo",toggle_legend:"Alternar legenda"},queues:{created:"Criado",created_at:"Criado em",enqueue_jobs:"Enfileirar trabalhos",enqueue_torrent_processing_batch:"Enfileirar lote de processamento de torrents",failed:"Falhou",force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",jobs_enqueued:"Trabalhos enfileirados",latency:"Lat\xEAncia",match_content_by_external_api_search:"Correspond\xEAncia de conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Correspond\xEAncia de conte\xFAdo por pesquisa local",payload:"Carga \xFAtil",pending:"Pendente",priority:"Prioridade",process_orphaned_torrents_only:"Processar apenas torrents \xF3rf\xE3os",processed:"Processado",purge_jobs:"Limpar trabalhos",purge_queue_jobs:"Limpar trabalhos da fila",queue:"Fila",queue_purged:"Fila limpa",queues:"Filas",ran_at:"Executado em",retry:"Tentar novamente",total_counts_by_status:"Contagens totais por status"}},facets:{content_type:"Tipo de Conte\xFAdo",file_type:"Tipo de Arquivo",genre:"G\xEAnero",language:"Idioma",queue:"Fila",status:"Status",torrent_source:"Fonte do Torrent",torrent_tag:"Tag do Torrent",video_resolution:"Resolu\xE7\xE3o de V\xEDdeo",video_source:"Fonte de V\xEDdeo"},file_types:{archive:"Arquivo",audio:"\xC1udio",data:"Dados",document:"Documento",image:"Imagem",software:"Software",subtitles:"Legendas",unknown:"Desconhecido",video:"V\xEDdeo"},general:{all:"Todos",dismiss:"Fechar",error:"Erro",none:"Nenhum",page_not_found:"P\xE1gina n\xE3o encontrada",refresh:"Atualizar",status:"Status"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"Verifica\xE7\xE3o falhou com erro",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fechar",error:"Erro",status:"Status",statuses:{degraded:"Degradado",down:"Fora do ar",error:"Erro",inactive:"Inativo",started:"Iniciado",unknown:"Pendente",up:"Funcionando"},summary:"Resumo de Sa\xFAde",worker:"Trabalhador",workers:{dht_crawler:"Rastreamento DHT",http_server:"Servidor HTTP",queue_server:"Servidor de Fila"}},languages:{af:"Afric\xE2ner",ar:"\xC1rabe",az:"Azeri",be:"Bielorrusso",bg:"B\xFAlgaro",bs:"B\xF3snio",ca:"Catal\xE3o",ce:"Checheno",co:"Corso",cs:"Tcheco",cy:"Gal\xEAs",da:"Dinamarqu\xEAs",de:"Alem\xE3o",el:"Grego",en:"Ingl\xEAs",es:"Espanhol",et:"Estoniano",eu:"Basco",fa:"Persa",fi:"Finland\xEAs",fr:"Franc\xEAs",he:"Hebraico",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Arm\xEAnio",id:"Indon\xE9sio",is:"Island\xEAs",it:"Italiano",ja:"Japon\xEAs",ka:"Georgiano",ko:"Coreano",ku:"Curdo",lt:"Lituano",lv:"Let\xE3o",mi:"Maori",mk:"Maced\xF4nio",ml:"Malaiala",mn:"Mongol",ms:"Malaio",mt:"Malt\xEAs",nl:"Holand\xEAs",no:"Noruegu\xEAs",pl:"Polon\xEAs",pt:"Portugu\xEAs",ro:"Romeno",ru:"Russo",sa:"S\xE2nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somali",sr:"S\xE9rvio",sv:"Sueco",ta:"T\xE2mil",th:"Tailand\xEAs",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"I\xEDdiche",zh:"Chin\xEAs",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet em {{service}}",change_theme:"Alterar tema",external_links:"Links externos",sponsor:"Patrocinador",support_bitmagnet:"Apoiar bitmagnet",translate:"Traduzir"},paginator:{first_page:"Primeira p\xE1gina",items_per_page:"Itens por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"Pr\xF3xima p\xE1gina",page_x:"P\xE1gina {{x}}",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administra\xE7\xE3o",dashboard:"Painel",home:"In\xEDcio",jobs:"Tarefas",queues:"Filas",torrents:"Torrents",visualize:"Visualizar"},torrents:{classification:"Classifica\xE7\xE3o",clear_search:"Limpar Pesquisa",copy:"Copiar",copy_to_clipboard:"Copiar para a \xE1rea de transfer\xEAncia",delete:"Excluir",delete_action_cannot_be_undone:"Esta a\xE7\xE3o n\xE3o pode ser desfeita",delete_are_you_sure:"Tem certeza de que deseja excluir este torrent?",deselect_all:"Desmarcar todos",edit_tags:"Editar tags",episodes:"Epis\xF3dios",external_links:"Links externos",file_index:"\xCDndice de arquivo",file_path:"Caminho do arquivo",file_size:"Tamanho do arquivo",file_type:"Tipo de arquivo",files:"Arquivos",files_count_n:"{{count}} arquivos",files_no_info:"Sem informa\xE7\xF5es de arquivos dispon\xEDveis",files_single:"Arquivo \xFAnico",genres:"G\xEAneros",info_hash:"Hash de informa\xE7\xE3o",info_hashes:"Hashes de informa\xE7\xE3o",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Links magnet",new_tag:"Nova tag",order_by:"Ordenar por",order_direction_toggle:"Inverter dire\xE7\xE3o",ordering:{files_count:"Contagem de arquivos",info_hash:"Hash de informa\xE7\xE3o",leechers:"Leechers",name:"Nome",published_at:"Publicado em",relevance:"Relev\xE2ncia",seeders:"Seeders",size:"Tamanho",updated_at:"Atualizado em"},original_release_date:"Data de lan\xE7amento original",permalink:"Link permanente",poster:"P\xF4ster",published:"Publicado",rating:"Classifica\xE7\xE3o",refresh:"Atualizar resultados",reprocess:{force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",match_content_by_external_api_search:"Corresponder conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Corresponder conte\xFAdo por pesquisa local",reprocess:"Reprocessar"},s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Selecionar tudo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} arquivos",size:"Tamanho",source:"Fonte do torrent",summary:"Resumo",tags:{delete:"Excluir tags",delete_tip:"Remover tags dos torrents selecionados",placeholder:"Tag...",put:"Colocar tags",put_tip:"Adicionar tags aos torrents selecionados",set:"Definir tags",set_tip:"Substituir tags dos torrents selecionados"},title:"T\xEDtulo",toggle_drawer:"Alternar gaveta",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"Vers\xE3o do bitmagnet {{version}}",unknown:"desconhecido"}};var Pt={content_types:{plural:{all:"\u0412\u0441\u0435",audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0438\u043A\u0441\u044B",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0435 \u043A\u043D\u0438\u0433\u0438",game:"\u0418\u0433\u0440\u044B",movie:"\u0424\u0438\u043B\u044C\u043C\u044B",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0438\u043A\u0441",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043A\u043D\u0438\u0433\u0430",game:"\u0418\u0433\u0440\u0430",movie:"\u0424\u0438\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",updated:"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0412\u0441\u0435",days:"\u0414\u043D\u0438",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0427\u0430\u0441\u044B",hours_1:"1 \u0447\u0430\u0441",hours_12:"12 \u0447\u0430\u0441\u043E\u0432",hours_6:"6 \u0447\u0430\u0441\u043E\u0432",minutes:"\u041C\u0438\u043D\u0443\u0442\u044B",minutes_1:"1 \u043C\u0438\u043D\u0443\u0442\u0430",minutes_15:"15 \u043C\u0438\u043D\u0443\u0442",minutes_30:"30 \u043C\u0438\u043D\u0443\u0442",minutes_5:"5 \u043C\u0438\u043D\u0443\u0442",off:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u043D\u0435\u0434\u0435\u043B\u044F"},metrics:{event:"\u0421\u043E\u0431\u044B\u0442\u0438\u0435",resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C",timeframe:"\u041F\u0435\u0440\u0438\u043E\u0434 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",toggle_legend:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043B\u0435\u0433\u0435\u043D\u0434\u0443"},queues:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",created_at:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E \u0432",enqueue_jobs:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",enqueue_torrent_processing_batch:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0430\u0440\u0442\u0438\u044E \u0434\u043B\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",jobs_enqueued:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",latency:"\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",payload:"\u0414\u0430\u043D\u043D\u044B\u0435",pending:"\u0412 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0438",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \xAB\u043E\u0441\u0438\u0440\u043E\u0442\u0435\u0432\u0448\u0438\u0435\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u043E\u0447\u0435\u0440\u0435\u0434\u0438",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",queue_purged:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",ran_at:"\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0432",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",total_counts_by_status:"\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",genre:"\u0416\u0430\u043D\u0440",language:"\u042F\u0437\u044B\u043A",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0432\u0438\u0434\u0435\u043E",video_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0432\u0438\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0438\u0432",audio:"\u0410\u0443\u0434\u0438\u043E",data:"\u0414\u0430\u043D\u043D\u044B\u0435",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",video:"\u0412\u0438\u0434\u0435\u043E"},general:{all:"\u0412\u0441\u0435",dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",none:"\u041D\u0435\u0442",page_not_found:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0421\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",down:"\u041D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",error:"\u041E\u0448\u0438\u0431\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u0435\u043D",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",up:"\u0420\u0430\u0431\u043E\u0442\u0430\u0435\u0442"},summary:"\u0421\u0432\u043E\u0434\u043A\u0430 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F",worker:"\u0420\u0430\u0431\u043E\u0447\u0438\u0439",workers:{dht_crawler:"DHT \u043E\u0431\u0445\u043E\u0434\u0447\u0438\u043A",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u043E\u0447\u0435\u0440\u0435\u0434\u0435\u0439"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u043A\u0438\u0439",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u043A\u0438\u0439",be:"\u0411\u0435\u043B\u043E\u0440\u0443\u0441\u0441\u043A\u0438\u0439",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u043A\u0438\u0439",bs:"\u0411\u043E\u0441\u043D\u0438\u0439\u0441\u043A\u0438\u0439",ca:"\u041A\u0430\u0442\u0430\u043B\u0430\u043D\u0441\u043A\u0438\u0439",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u043A\u0438\u0439",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u043A\u0438\u0439",cs:"\u0427\u0435\u0448\u0441\u043A\u0438\u0439",cy:"\u0412\u0430\u043B\u043B\u0438\u0439\u0441\u043A\u0438\u0439",da:"\u0414\u0430\u0442\u0441\u043A\u0438\u0439",de:"\u041D\u0435\u043C\u0435\u0446\u043A\u0438\u0439",el:"\u0413\u0440\u0435\u0447\u0435\u0441\u043A\u0438\u0439",en:"\u0410\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u0438\u0439",es:"\u0418\u0441\u043F\u0430\u043D\u0441\u043A\u0438\u0439",et:"\u042D\u0441\u0442\u043E\u043D\u0441\u043A\u0438\u0439",eu:"\u0411\u0430\u0441\u043A\u0441\u043A\u0438\u0439",fa:"\u041F\u0435\u0440\u0441\u0438\u0434\u0441\u043A\u0438\u0439",fi:"\u0424\u0438\u043D\u0441\u043A\u0438\u0439",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u0441\u043A\u0438\u0439",he:"\u0418\u0432\u0440\u0438\u0442",hi:"\u0425\u0438\u043D\u0434\u0438",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u043A\u0438\u0439",hu:"\u0412\u0435\u043D\u0433\u0435\u0440\u0441\u043A\u0438\u0439",hy:"\u0410\u0440\u043C\u044F\u043D\u0441\u043A\u0438\u0439",id:"\u0418\u043D\u0434\u043E\u043D\u0435\u0437\u0438\u0439\u0441\u043A\u0438\u0439",is:"\u0418\u0441\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",it:"\u0418\u0442\u0430\u043B\u044C\u044F\u043D\u0441\u043A\u0438\u0439",ja:"\u042F\u043F\u043E\u043D\u0441\u043A\u0438\u0439",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u043A\u0438\u0439",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u043A\u0438\u0439",ku:"\u041A\u0443\u0440\u0434\u0441\u043A\u0438\u0439",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u043A\u0438\u0439",lv:"\u041B\u0430\u0442\u044B\u0448\u0441\u043A\u0438\u0439",mi:"\u041C\u0430\u043E\u0440\u0438",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438\u0439",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u043A\u0438\u0439",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u043A\u0438\u0439",mt:"\u041C\u0430\u043B\u044C\u0442\u0438\u0439\u0441\u043A\u0438\u0439",nl:"\u041D\u0438\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",no:"\u041D\u043E\u0440\u0432\u0435\u0436\u0441\u043A\u0438\u0439",pl:"\u041F\u043E\u043B\u044C\u0441\u043A\u0438\u0439",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u043A\u0438\u0439",ro:"\u0420\u0443\u043C\u044B\u043D\u0441\u043A\u0438\u0439",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u043A\u0438\u0439",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u043A\u0438\u0439",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u043A\u0438\u0439",so:"\u0421\u043E\u043C\u0430\u043B\u0438\u0439\u0441\u043A\u0438\u0439",sr:"\u0421\u0435\u0440\u0431\u0441\u043A\u0438\u0439",sv:"\u0428\u0432\u0435\u0434\u0441\u043A\u0438\u0439",ta:"\u0422\u0430\u043C\u0438\u043B\u044C\u0441\u043A\u0438\u0439",th:"\u0422\u0430\u0439\u0441\u043A\u0438\u0439",tr:"\u0422\u0443\u0440\u0435\u0446\u043A\u0438\u0439",uk:"\u0423\u043A\u0440\u0430\u0438\u043D\u0441\u043A\u0438\u0439",vi:"\u0412\u044C\u0435\u0442\u043D\u0430\u043C\u0441\u043A\u0438\u0439",yi:"\u0418\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u043A\u0438\u0439",zu:"\u0417\u0443\u043B\u0443\u0441\u0441\u043A\u0438\u0439"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u043C\u0443",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044C bitmagnet",translate:"\u041F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0432\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",items_per_page:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",last_page:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",next_page:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",page_x:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 {{x}}",previous_page:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0438\u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F",home:"\u0413\u043B\u0430\u0432\u043D\u0430\u044F",jobs:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u044B",visualize:"\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F"},torrents:{classification:"\u041A\u043B\u0430\u0441\u0441\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A",copy:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",copy_to_clipboard:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",delete_action_cannot_be_undone:"\u042D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",delete_are_you_sure:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0421\u043D\u044F\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435",edit_tags:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u0433\u0438",episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",file_index:"\u0418\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0430",file_path:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",files:"\u0424\u0430\u0439\u043B\u044B",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u043E\u0432",files_no_info:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0444\u0430\u0439\u043B\u0430\u0445 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u044B",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",info_hashes:"\u0425\u044D\u0448\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",languages:"\u042F\u0437\u044B\u043A\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442 \u0441\u0441\u044B\u043B\u043A\u0438",new_tag:"\u041D\u043E\u0432\u044B\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E",order_direction_toggle:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",ordering:{files_count:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0444\u0430\u0439\u043B\u043E\u0432",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",name:"\u0418\u043C\u044F",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u044C",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",size:"\u0420\u0430\u0437\u043C\u0435\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F"},original_release_date:"\u041E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u0432\u044B\u043F\u0443\u0441\u043A\u0430",permalink:"\u041F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u0430\u044F \u0441\u0441\u044B\u043B\u043A\u0430",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B",reprocess:{force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",reprocess:"\u041F\u0435\u0440\u0435\u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C"},s_l:"S / L",search:"\u041F\u043E\u0438\u0441\u043A",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",select_all:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0438\u0437 {{y}} \u0444\u0430\u0439\u043B\u043E\u0432",size:"\u0420\u0430\u0437\u043C\u0435\u0440",source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0421\u0432\u043E\u0434\u043A\u0430",tags:{delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438",delete_tip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0438\u0437 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",placeholder:"\u0422\u0435\u0433...",put:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u043A \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430\u043C",set:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432"},title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",toggle_drawer:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u043E\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0438\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}};var At={content_types:{plural:{all:"T\xFCm\xFC",audiobook:"Sesli Kitaplar",comic:"\xC7izgi Romanlar",ebook:"E-Kitaplar",game:"Oyunlar",movie:"Filmler",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Programlar\u0131",xxx:"XXX"},singular:{audiobook:"Sesli Kitap",comic:"\xC7izgi Roman",ebook:"E-Kitap",game:"Oyun",movie:"Film",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Program\u0131",xxx:"XXX"}},dashboard:{event:{created:"Olu\u015Fturuldu",failed:"Ba\u015Far\u0131s\u0131z",processed:"\u0130\u015Flendi",updated:"G\xFCncellendi"},interval:{all:"T\xFCm\xFC",days:"G\xFCnler",days_1:"1 g\xFCn",hours:"Saatler",hours_1:"1 saat",hours_12:"12 saat",hours_6:"6 saat",minutes:"Dakikalar",minutes_1:"1 dakika",minutes_15:"15 dakika",minutes_30:"30 dakika",minutes_5:"5 dakika",off:"Kapal\u0131",seconds_10:"10 saniye",seconds_30:"30 saniye",weeks_1:"1 hafta"},metrics:{event:"Olay",resolution:"\xC7\xF6z\xFCn\xFCrl\xFCk",throughput:"Verim",timeframe:"Zaman Dilimi",toggle_legend:"Efsaneyi De\u011Fi\u015Ftir"},queues:{created:"Olu\u015Fturuldu",created_at:"Olu\u015Fturulma tarihi",enqueue_jobs:"\u0130\u015Fleri Kuyru\u011Fa Al",enqueue_torrent_processing_batch:"Torrent \u0130\u015Fleme Paketini Kuyru\u011Fa Al",failed:"Ba\u015Far\u0131s\u0131z",force_rematch:"E\u015Fle\u015Fmi\u015F i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",jobs_enqueued:"Kuyru\u011Fa Al\u0131nan \u0130\u015Fler",latency:"Gecikme",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",payload:"Veri Y\xFCk\xFC",pending:"Beklemede",priority:"\xD6ncelik",process_orphaned_torrents_only:"Sadece sahipsiz torrentleri i\u015Fle",processed:"\u0130\u015Flendi",purge_jobs:"\u0130\u015Fleri Temizle",purge_queue_jobs:"Kuyruk \u0130\u015Flerini Temizle",queue:"Kuyruk",queue_purged:"Kuyruk Temizlendi",queues:"Kuyruklar",ran_at:"\xC7al\u0131\u015Ft\u0131r\u0131ld\u0131",retry:"Tekrar Dene",total_counts_by_status:"Duruma G\xF6re Toplam Say\u0131lar"}},facets:{content_type:"\u0130\xE7erik T\xFCr\xFC",file_type:"Dosya T\xFCr\xFC",genre:"T\xFCr",language:"Dil",queue:"Kuyruk",status:"Durum",torrent_source:"Torrent Kayna\u011F\u0131",torrent_tag:"Torrent Etiketi",video_resolution:"Video \xC7\xF6z\xFCn\xFCrl\xFC\u011F\xFC",video_source:"Video Kayna\u011F\u0131"},file_types:{archive:"Ar\u015Fiv",audio:"Ses",data:"Veri",document:"Belge",image:"G\xF6r\xFCnt\xFC",software:"Yaz\u0131l\u0131m",subtitles:"Altyaz\u0131lar",unknown:"Bilinmiyor",video:"Video"},general:{all:"T\xFCm\xFC",dismiss:"Kapat",error:"Hata",none:"Hi\xE7biri",page_not_found:"Sayfa Bulunamad\u0131",refresh:"Yenile",status:"Durum"},health:{bitmagnet_is_status:"bitmagnet durumu {{status}}",check_failed_with_error:"Hata ile kontrol ba\u015Far\u0131s\u0131z oldu",component:"Bile\u015Fen",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Kapat",error:"Hata",status:"Durum",statuses:{degraded:"Azalm\u0131\u015F",down:"Kapal\u0131",error:"Hata",inactive:"Etkin de\u011Fil",started:"Ba\u015Flad\u0131",unknown:"Bilinmiyor",up:"\xC7al\u0131\u015F\u0131yor"},summary:"Sa\u011Fl\u0131k \xD6zeti",worker:"\u0130\u015F\xE7i",workers:{dht_crawler:"DHT taray\u0131c\u0131",http_server:"HTTP sunucusu",queue_server:"Kuyruk sunucusu"}},languages:{af:"Afrikanca",ar:"Arap\xE7a",az:"Azerice",be:"Beyaz Rus\xE7a",bg:"Bulgarca",bs:"Bo\u015Fnak\xE7a",ca:"Katalanca",ce:"\xC7e\xE7ence",co:"Korsikaca",cs:"\xC7ek\xE7e",cy:"Galce",da:"Danca",de:"Almanca",el:"Yunanca",en:"\u0130ngilizce",es:"\u0130spanyolca",et:"Estonca",eu:"Bask\xE7a",fa:"Fars\xE7a",fi:"Fince",fr:"Frans\u0131zca",he:"\u0130branice",hi:"Hint\xE7e",hr:"H\u0131rvat\xE7a",hu:"Macarca",hy:"Ermenice",id:"Endonezce",is:"\u0130zlandaca",it:"\u0130talyanca",ja:"Japonca",ka:"G\xFCrc\xFCce",ko:"Korece",ku:"K\xFCrt\xE7e",lt:"Litvanca",lv:"Letonca",mi:"Maorice",mk:"Makedonca",ml:"Malayalamca",mn:"Mo\u011Folca",ms:"Malayca",mt:"Maltaca",nl:"Flemenk\xE7e",no:"Norve\xE7\xE7e",pl:"Leh\xE7e",pt:"Portekizce",ro:"Romence",ru:"Rus\xE7a",sa:"Sanskrit\xE7e",sk:"Slovak\xE7a",sl:"Slovence",sm:"Samoaca",so:"Somalice",sr:"S\u0131rp\xE7a",sv:"\u0130sve\xE7\xE7e",ta:"Tamilce",th:"Tayca",tr:"T\xFCrk\xE7e",uk:"Ukraynaca",vi:"Vietnamca",yi:"Yidi\u015F",zh:"\xC7ince",zu:"Zuluca"},layout:{bitmagnet_on_service:"{{service}} \xFCzerinde bitmagnet",change_theme:"Temay\u0131 De\u011Fi\u015Ftir",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",sponsor:"Sponsor",support_bitmagnet:"bitmagnet'i Destekle",translate:"\xC7evir"},paginator:{first_page:"\u0130lk Sayfa",items_per_page:"Sayfa ba\u015F\u0131na \xF6\u011Fe",last_page:"Son Sayfa",next_page:"Sonraki Sayfa",page_x:"{{x}}. Sayfa",previous_page:"\xD6nceki Sayfa",x_to_y:"{{x}} - {{y}} aras\u0131",x_to_y_of_z:"{{x}} ile {{y}} aras\u0131, toplam {{z}}"},routes:{admin:"Y\xF6netici",dashboard:"Kontrol Paneli",home:"Ana Sayfa",jobs:"G\xF6revler",queues:"Kuyruklar",torrents:"Torrentler",visualize:"G\xF6rselle\u015Ftir"},torrents:{classification:"S\u0131n\u0131fland\u0131rma",clear_search:"Aramay\u0131 Temizle",copy:"Kopyala",copy_to_clipboard:"Panoya Kopyala",delete:"Sil",delete_action_cannot_be_undone:"Bu i\u015Flem geri al\u0131namaz",delete_are_you_sure:"Bu torrent'i silmek istedi\u011Finizden emin misiniz?",deselect_all:"T\xFCm Se\xE7imleri Kald\u0131r",edit_tags:"Etiketleri D\xFCzenle",episodes:"B\xF6l\xFCmler",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",file_index:"Dosya Dizini",file_path:"Dosya Yolu",file_size:"Dosya Boyutu",file_type:"Dosya T\xFCr\xFC",files:"Dosyalar",files_count_n:"{{count}} dosya",files_no_info:"Dosya bilgisi mevcut de\u011Fil",files_single:"Tek dosya",genres:"T\xFCrler",info_hash:"Bilgi hash'i",info_hashes:"Bilgi hash'leri",languages:"Diller",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet Ba\u011Flant\u0131lar",new_tag:"Yeni etiket",order_by:"S\u0131ralama \xF6l\xE7\xFCt\xFC",order_direction_toggle:"Y\xF6n\xFC de\u011Fi\u015Ftir",ordering:{files_count:"Dosya say\u0131s\u0131",info_hash:"Bilgi hash'i",leechers:"Leechers",name:"Ad",published_at:"Yay\u0131nlanma tarihi",relevance:"Alaka d\xFCzeyi",seeders:"Seeders",size:"Boyut",updated_at:"G\xFCncellenme tarihi"},original_release_date:"Orijinal \xE7\u0131k\u0131\u015F tarihi",permalink:"Kal\u0131c\u0131 Ba\u011Flant\u0131",poster:"Poster",published:"Yay\u0131nland\u0131",rating:"Puan",refresh:"Sonu\xE7lar\u0131 Yenile",reprocess:{force_rematch:"Zaten e\u015Fle\u015Fen i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",reprocess:"Yeniden i\u015Fle"},s_l:"S / L",search:"Ara",seeders:"Seeders",select_all:"T\xFCm\xFCn\xFC Se\xE7",showing_x_of_y_files:"{{y}} dosyan\u0131n {{x}} tanesi g\xF6steriliyor",size:"Boyut",source:"Torrent Kayna\u011F\u0131",summary:"\xD6zet",tags:{delete:"Etiketleri sil",delete_tip:"Se\xE7ili torrentlerden etiketleri kald\u0131r",placeholder:"Etiket...",put:"Etiket koy",put_tip:"Se\xE7ili torrentlere etiket ekle",set:"Etiketleri ayarla",set_tip:"Se\xE7ili torrentlerin etiketlerini de\u011Fi\u015Ftir"},title:"Ba\u015Fl\u0131k",toggle_drawer:"\xC7ekmeceyi A\xE7/Kapat",votes_count_n:"{{count}} oy"},version:{bitmagnet_version:"bitmagnet versiyonu {{version}}",unknown:"bilinmiyor"}};var zt={content_types:{plural:{all:"\u0423\u0441\u0456",audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0456\u043A\u0441\u0438",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0456 \u043A\u043D\u0438\u0433\u0438",game:"\u0406\u0433\u0440\u0438",movie:"\u0424\u0456\u043B\u044C\u043C\u0438",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0456\u043A\u0441",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043A\u043D\u0438\u0433\u0430",game:"\u0413\u0440\u0430",movie:"\u0424\u0456\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",updated:"\u041E\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0423\u0441\u0456",days:"\u0414\u043D\u0456",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0413\u043E\u0434\u0438\u043D\u0438",hours_1:"1 \u0433\u043E\u0434\u0438\u043D\u0430",hours_12:"12 \u0433\u043E\u0434\u0438\u043D",hours_6:"6 \u0433\u043E\u0434\u0438\u043D",minutes:"\u0425\u0432\u0438\u043B\u0438\u043D\u0438",minutes_1:"1 \u0445\u0432\u0438\u043B\u0438\u043D\u0430",minutes_15:"15 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_30:"30 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_5:"5 \u0445\u0432\u0438\u043B\u0438\u043D",off:"\u0412\u0438\u043C\u043A\u043D\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u0442\u0438\u0436\u0434\u0435\u043D\u044C"},metrics:{event:"\u041F\u043E\u0434\u0456\u044F",resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",timeframe:"\u041F\u0440\u043E\u043C\u0456\u0436\u043E\u043A \u0447\u0430\u0441\u0443",toggle_legend:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043B\u0435\u0433\u0435\u043D\u0434\u0443"},queues:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",created_at:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E \u043E",enqueue_jobs:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E \u0447\u0435\u0440\u0433\u0438",enqueue_torrent_processing_batch:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043F\u0430\u043A\u0435\u0442 \u0434\u043B\u044F \u043E\u0431\u0440\u043E\u0431\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",jobs_enqueued:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E\u0434\u0430\u043D\u043E \u0432 \u0447\u0435\u0440\u0433\u0443",latency:"\u0417\u0430\u0442\u0440\u0438\u043C\u043A\u0430",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",payload:"\u0414\u0430\u043D\u0456",pending:"\u0412 \u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u043D\u0456",priority:"\u041F\u0440\u0456\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u043E\u0431\u043B\u044F\u0442\u0438 \u043B\u0438\u0448\u0435 \xAB\u0441\u0438\u0440\u043E\u0442\u043B\u0438\u0432\u0456\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0447\u0435\u0440\u0433\u0438",queue:"\u0427\u0435\u0440\u0433\u0430",queue_purged:"\u0427\u0435\u0440\u0433\u0430 \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u0427\u0435\u0440\u0433\u0438",ran_at:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E \u043E",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438",total_counts_by_status:"\u0417\u0430\u0433\u0430\u043B\u044C\u043D\u0430 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0437\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C\u0438"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",genre:"\u0416\u0430\u043D\u0440",language:"\u041C\u043E\u0432\u0430",queue:"\u0427\u0435\u0440\u0433\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C \u0432\u0456\u0434\u0435\u043E",video_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0432\u0456\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0456\u0432",audio:"\u0410\u0443\u0434\u0456\u043E",data:"\u0414\u0430\u043D\u0456",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u0438",unknown:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",video:"\u0412\u0456\u0434\u0435\u043E"},general:{all:"\u0423\u0441\u0456",dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",none:"\u041D\u0435\u043C\u0430\u0454",page_not_found:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u043E\u044E",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0417\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u0456\u0441\u0442\u044C",down:"\u041D\u0435 \u043F\u0440\u0430\u0446\u044E\u0454",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u0438\u0439",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F",up:"\u041F\u0440\u0430\u0446\u044E\u0454"},summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F \u0441\u0442\u0430\u043D\u0443",worker:"\u041F\u0440\u0430\u0446\u0456\u0432\u043D\u0438\u043A",workers:{dht_crawler:"DHT \u0441\u043A\u0430\u043D\u0435\u0440",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u0447\u0435\u0440\u0433\u0438"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u044C\u043A\u0430",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0456\u043B\u043E\u0440\u0443\u0441\u044C\u043A\u0430",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u044C\u043A\u0430",bs:"\u0411\u043E\u0441\u043D\u0456\u0439\u0441\u044C\u043A\u0430",ca:"\u041A\u0430\u0442\u0430\u043B\u043E\u043D\u0441\u044C\u043A\u0430",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u044C\u043A\u0430",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u044C\u043A\u0430",cs:"\u0427\u0435\u0441\u044C\u043A\u0430",cy:"\u0412\u0430\u043B\u043B\u0456\u0439\u0441\u044C\u043A\u0430",da:"\u0414\u0430\u043D\u0441\u044C\u043A\u0430",de:"\u041D\u0456\u043C\u0435\u0446\u044C\u043A\u0430",el:"\u0413\u0440\u0435\u0446\u044C\u043A\u0430",en:"\u0410\u043D\u0433\u043B\u0456\u0439\u0441\u044C\u043A\u0430",es:"\u0406\u0441\u043F\u0430\u043D\u0441\u044C\u043A\u0430",et:"\u0415\u0441\u0442\u043E\u043D\u0441\u044C\u043A\u0430",eu:"\u0411\u0430\u0441\u043A\u0441\u044C\u043A\u0430",fa:"\u041F\u0435\u0440\u0441\u044C\u043A\u0430",fi:"\u0424\u0456\u043D\u0441\u044C\u043A\u0430",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u044C\u043A\u0430",he:"\u0406\u0432\u0440\u0438\u0442",hi:"\u0425\u0456\u043D\u0434\u0456",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u044C\u043A\u0430",hu:"\u0423\u0433\u043E\u0440\u0441\u044C\u043A\u0430",hy:"\u0412\u0456\u0440\u043C\u0435\u043D\u0441\u044C\u043A\u0430",id:"\u0406\u043D\u0434\u043E\u043D\u0435\u0437\u0456\u0439\u0441\u044C\u043A\u0430",is:"\u0406\u0441\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",it:"\u0406\u0442\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",ja:"\u042F\u043F\u043E\u043D\u0441\u044C\u043A\u0430",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u044C\u043A\u0430",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u044C\u043A\u0430",ku:"\u041A\u0443\u0440\u0434\u0441\u044C\u043A\u0430",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u044C\u043A\u0430",lv:"\u041B\u0430\u0442\u0438\u0441\u044C\u043A\u0430",mi:"\u041C\u0430\u043E\u0440\u0456",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u044C\u043A\u0430",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u044C\u043A\u0430",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u044C\u043A\u0430",mt:"\u041C\u0430\u043B\u044C\u0442\u0456\u0439\u0441\u044C\u043A\u0430",nl:"\u041D\u0456\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",no:"\u041D\u043E\u0440\u0432\u0435\u0437\u044C\u043A\u0430",pl:"\u041F\u043E\u043B\u044C\u0441\u044C\u043A\u0430",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u044C\u043A\u0430",ro:"\u0420\u0443\u043C\u0443\u043D\u0441\u044C\u043A\u0430",ru:"\u0420\u043E\u0441\u0456\u0439\u0441\u044C\u043A\u0430",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u044C\u043A\u0430",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u044C\u043A\u0430",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u044C\u043A\u0430",so:"\u0421\u043E\u043C\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",sr:"\u0421\u0435\u0440\u0431\u0441\u044C\u043A\u0430",sv:"\u0428\u0432\u0435\u0434\u0441\u044C\u043A\u0430",ta:"\u0422\u0430\u043C\u0456\u043B\u044C\u0441\u044C\u043A\u0430",th:"\u0422\u0430\u0439\u0441\u044C\u043A\u0430",tr:"\u0422\u0443\u0440\u0435\u0446\u044C\u043A\u0430",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",vi:"\u0412'\u0454\u0442\u043D\u0430\u043C\u0441\u044C\u043A\u0430",yi:"\u0407\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u044C\u043A\u0430",zu:"\u0417\u0443\u043B\u0443\u0441\u044C\u043A\u0430"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u043C\u0443",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u0456\u0434\u0442\u0440\u0438\u043C\u0430\u0442\u0438 bitmagnet",translate:"\u041F\u0435\u0440\u0435\u043A\u043B\u0430\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0448\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",items_per_page:"\u0415\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u0446\u0456",last_page:"\u041E\u0441\u0442\u0430\u043D\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",next_page:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",page_x:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 {{x}}",previous_page:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0456\u043D\u043D\u044F",home:"\u0413\u043E\u043B\u043E\u0432\u043D\u0430",jobs:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F",queues:"\u0427\u0435\u0440\u0433\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u0438",visualize:"\u0412\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0443\u0432\u0430\u0442\u0438"},torrents:{classification:"\u041A\u043B\u0430\u0441\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u044F",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043F\u043E\u0448\u0443\u043A",copy:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438",copy_to_clipboard:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0456\u043D\u0443",delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",delete_action_cannot_be_undone:"\u0426\u044E \u0434\u0456\u044E \u043D\u0435 \u043C\u043E\u0436\u043D\u0430 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438",delete_are_you_sure:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u0435\u0439 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0417\u043D\u044F\u0442\u0438 \u0432\u0438\u0434\u0456\u043B\u0435\u043D\u043D\u044F",edit_tags:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u0435\u0433\u0438",episodes:"\u0415\u043F\u0456\u0437\u043E\u0434\u0438",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",file_index:"\u0406\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0443",file_path:"\u0428\u043B\u044F\u0445 \u0434\u043E \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u043E\u0437\u043C\u0456\u0440 \u0444\u0430\u0439\u043B\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",files:"\u0424\u0430\u0439\u043B\u0438",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u0456\u0432",files_no_info:"\u0406\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F \u043F\u0440\u043E \u0444\u0430\u0439\u043B\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u0438",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",info_hashes:"\u0425\u0435\u0448\u0456 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",languages:"\u041C\u043E\u0432\u0438",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442-\u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",new_tag:"\u041D\u043E\u0432\u0438\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430",order_direction_toggle:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043D\u0430\u043F\u0440\u044F\u043C\u043E\u043A",ordering:{files_count:"\u041A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0444\u0430\u0439\u043B\u0456\u0432",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",name:"\u041D\u0430\u0437\u0432\u0430",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0456\u043A\u0430\u0446\u0456\u0457",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0456\u0441\u0442\u044C",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",size:"\u0420\u043E\u0437\u043C\u0456\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F"},original_release_date:"\u0414\u0430\u0442\u0430 \u043E\u0440\u0438\u0433\u0456\u043D\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043F\u0443\u0441\u043A\u0443",permalink:"\u041F\u043E\u0441\u0442\u0456\u0439\u043D\u0435 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438",reprocess:{force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",reprocess:"\u041F\u0435\u0440\u0435\u0440\u043E\u0431\u0438\u0442\u0438"},s_l:"S / L",search:"\u041F\u043E\u0448\u0443\u043A",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",select_all:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0456",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0437 {{y}} \u0444\u0430\u0439\u043B\u0456\u0432",size:"\u0420\u043E\u0437\u043C\u0456\u0440",source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F",tags:{delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",delete_tip:"\u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0442\u0435\u0433\u0438 \u0437 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",placeholder:"\u0422\u0435\u0433\u0438...",put:"\u0421\u0442\u0430\u0432\u0442\u0435 \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0434\u0430\u0439\u0442\u0435 \u0442\u0435\u0433\u0438 \u0434\u043E \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",set:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u0433\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432"},title:"\u041D\u0430\u0437\u0432\u0430",toggle_drawer:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u0456\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0456\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0432\u0456\u0434\u043E\u043C\u043E"}};var qt={content_types:{plural:{all:"\u5168\u90E8",audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",game:"\u6E38\u620F",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"},singular:{audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",game:"\u6E38\u620F",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"}},dashboard:{event:{created:"\u5DF2\u521B\u5EFA",failed:"\u5931\u8D25",processed:"\u5DF2\u5904\u7406",updated:"\u5DF2\u66F4\u65B0"},interval:{all:"\u5168\u90E8",days:"\u5929",days_1:"1\u5929",hours:"\u5C0F\u65F6",hours_1:"1\u5C0F\u65F6",hours_12:"12\u5C0F\u65F6",hours_6:"6\u5C0F\u65F6",minutes:"\u5206\u949F",minutes_1:"1\u5206\u949F",minutes_15:"15\u5206\u949F",minutes_30:"30\u5206\u949F",minutes_5:"5\u5206\u949F",off:"\u5173\u95ED",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u5468"},metrics:{event:"\u4E8B\u4EF6",resolution:"\u5206\u8FA8\u7387",throughput:"\u541E\u5410\u91CF",timeframe:"\u65F6\u95F4\u8303\u56F4",toggle_legend:"\u5207\u6362\u56FE\u4F8B"},queues:{created:"\u5DF2\u521B\u5EFA",created_at:"\u521B\u5EFA\u4E8E",enqueue_jobs:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",enqueue_torrent_processing_batch:"\u52A0\u5165\u961F\u5217\u7684\u79CD\u5B50\u5904\u7406\u6279\u6B21",failed:"\u5931\u8D25",force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",jobs_enqueued:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",latency:"\u5EF6\u8FDF",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",payload:"\u6709\u6548\u8F7D\u8377",pending:"\u5F85\u5904\u7406",priority:"\u4F18\u5148\u7EA7",process_orphaned_torrents_only:"\u4EC5\u5904\u7406\u5B64\u7ACB\u7684\u79CD\u5B50",processed:"\u5DF2\u5904\u7406",purge_jobs:"\u6E05\u9664\u4EFB\u52A1",purge_queue_jobs:"\u6E05\u9664\u961F\u5217\u4EFB\u52A1",queue:"\u961F\u5217",queue_purged:"\u961F\u5217\u5DF2\u6E05\u9664",queues:"\u961F\u5217",ran_at:"\u8FD0\u884C\u4E8E",retry:"\u91CD\u8BD5",total_counts_by_status:"\u6309\u72B6\u6001\u7EDF\u8BA1\u603B\u6570"}},facets:{content_type:"\u5185\u5BB9\u7C7B\u578B",file_type:"\u6587\u4EF6\u7C7B\u578B",genre:"\u7C7B\u578B",language:"\u8BED\u8A00",queue:"\u961F\u5217",status:"\u72B6\u6001",torrent_source:"\u79CD\u5B50\u6765\u6E90",torrent_tag:"\u79CD\u5B50\u6807\u7B7E",video_resolution:"\u89C6\u9891\u5206\u8FA8\u7387",video_source:"\u89C6\u9891\u6765\u6E90"},file_types:{archive:"\u6863\u6848",audio:"\u97F3\u9891",data:"\u6570\u636E",document:"\u6587\u6863",image:"\u56FE\u50CF",software:"\u8F6F\u4EF6",subtitles:"\u5B57\u5E55",unknown:"\u672A\u77E5",video:"\u89C6\u9891"},general:{all:"\u5168\u90E8",dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",none:"\u65E0",page_not_found:"\u9875\u9762\u672A\u627E\u5230",refresh:"\u5237\u65B0",status:"\u72B6\u6001"},health:{bitmagnet_is_status:"bitmagnet\u662F{{status}}",check_failed_with_error:"\u68C0\u67E5\u5931\u8D25\uFF0C\u9519\u8BEF",component:"\u7EC4\u4EF6",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",status:"\u72B6\u6001",statuses:{degraded:"\u964D\u7EA7",down:"\u5173\u95ED",error:"\u9519\u8BEF",inactive:"\u4E0D\u6D3B\u8DC3",started:"\u5DF2\u542F\u52A8",unknown:"\u672A\u77E5",up:"\u8FD0\u884C\u4E2D"},summary:"\u5065\u5EB7\u6982\u8FF0",worker:"\u5DE5\u4F5C\u8005",workers:{dht_crawler:"DHT\u722C\u866B",http_server:"HTTP\u670D\u52A1\u5668",queue_server:"\u961F\u5217\u670D\u52A1\u5668"}},languages:{af:"\u5357\u975E\u8377\u5170\u8BED",ar:"\u963F\u62C9\u4F2F\u8BED",az:"\u963F\u585E\u62DC\u7586\u8BED",be:"\u767D\u4FC4\u7F57\u65AF\u8BED",bg:"\u4FDD\u52A0\u5229\u4E9A\u8BED",bs:"\u6CE2\u65AF\u5C3C\u4E9A\u8BED",ca:"\u52A0\u6CF0\u7F57\u5C3C\u4E9A\u8BED",ce:"\u8F66\u81E3\u8BED",co:"\u79D1\u897F\u5609\u8BED",cs:"\u6377\u514B\u8BED",cy:"\u5A01\u5C14\u58EB\u8BED",da:"\u4E39\u9EA6\u8BED",de:"\u5FB7\u8BED",el:"\u5E0C\u814A\u8BED",en:"\u82F1\u8BED",es:"\u897F\u73ED\u7259\u8BED",et:"\u7231\u6C99\u5C3C\u4E9A\u8BED",eu:"\u5DF4\u65AF\u514B\u8BED",fa:"\u6CE2\u65AF\u8BED",fi:"\u82AC\u5170\u8BED",fr:"\u6CD5\u8BED",he:"\u5E0C\u4F2F\u6765\u8BED",hi:"\u5370\u5730\u8BED",hr:"\u514B\u7F57\u5730\u4E9A\u8BED",hu:"\u5308\u7259\u5229\u8BED",hy:"\u4E9A\u7F8E\u5C3C\u4E9A\u8BED",id:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u8BED",is:"\u51B0\u5C9B\u8BED",it:"\u610F\u5927\u5229\u8BED",ja:"\u65E5\u8BED",ka:"\u683C\u9C81\u5409\u4E9A\u8BED",ko:"\u97E9\u8BED",ku:"\u5E93\u5C14\u5FB7\u8BED",lt:"\u7ACB\u9676\u5B9B\u8BED",lv:"\u62C9\u8131\u7EF4\u4E9A\u8BED",mi:"\u6BDB\u5229\u8BED",mk:"\u9A6C\u5176\u987F\u8BED",ml:"\u9A6C\u62C9\u96C5\u62C9\u59C6\u8BED",mn:"\u8499\u53E4\u8BED",ms:"\u9A6C\u6765\u8BED",mt:"\u9A6C\u8033\u4ED6\u8BED",nl:"\u8377\u5170\u8BED",no:"\u632A\u5A01\u8BED",pl:"\u6CE2\u5170\u8BED",pt:"\u8461\u8404\u7259\u8BED",ro:"\u7F57\u9A6C\u5C3C\u4E9A\u8BED",ru:"\u4FC4\u8BED",sa:"\u68B5\u8BED",sk:"\u65AF\u6D1B\u4F10\u514B\u8BED",sl:"\u65AF\u6D1B\u6587\u5C3C\u4E9A\u8BED",sm:"\u8428\u6469\u4E9A\u8BED",so:"\u7D22\u9A6C\u91CC\u8BED",sr:"\u585E\u5C14\u7EF4\u4E9A\u8BED",sv:"\u745E\u5178\u8BED",ta:"\u6CF0\u7C73\u5C14\u8BED",th:"\u6CF0\u8BED",tr:"\u571F\u8033\u5176\u8BED",uk:"\u4E4C\u514B\u5170\u8BED",vi:"\u8D8A\u5357\u8BED",yi:"\u610F\u7B2C\u7EEA\u8BED",zh:"\u4E2D\u6587",zu:"\u7956\u9C81\u8BED"},layout:{bitmagnet_on_service:"bitmagnet\u5728{{service}}",change_theme:"\u66F4\u6539\u4E3B\u9898",external_links:"\u5916\u90E8\u94FE\u63A5",sponsor:"\u8D5E\u52A9\u5546",support_bitmagnet:"\u652F\u6301bitmagnet",translate:"\u7FFB\u8BD1"},paginator:{first_page:"\u7B2C\u4E00\u9875",items_per_page:"\u6BCF\u9875\u9879\u76EE\u6570",last_page:"\u6700\u540E\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",page_x:"\u7B2C{{x}}\u9875",previous_page:"\u4E0A\u4E00\u9875",x_to_y:"{{x}}\u5230{{y}}",x_to_y_of_z:"{{x}}\u5230{{y}}\uFF0C\u5171{{z}}"},routes:{admin:"\u7BA1\u7406\u5458",dashboard:"\u4EEA\u8868\u76D8",home:"\u9996\u9875",jobs:"\u4EFB\u52A1",queues:"\u961F\u5217",torrents:"\u79CD\u5B50",visualize:"\u53EF\u89C6\u5316"},torrents:{classification:"\u5206\u7C7B",clear_search:"\u6E05\u9664\u641C\u7D22",copy:"\u590D\u5236",copy_to_clipboard:"\u590D\u5236\u5230\u526A\u8D34\u677F",delete:"\u5220\u9664",delete_action_cannot_be_undone:"\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500",delete_are_you_sure:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u6B64\u79CD\u5B50\u5417\uFF1F",deselect_all:"\u53D6\u6D88\u5168\u9009",edit_tags:"\u7F16\u8F91\u6807\u7B7E",episodes:"\u5267\u96C6",external_links:"\u5916\u90E8\u94FE\u63A5",file_index:"\u6587\u4EF6\u7D22\u5F15",file_path:"\u6587\u4EF6\u8DEF\u5F84",file_size:"\u6587\u4EF6\u5927\u5C0F",file_type:"\u6587\u4EF6\u7C7B\u578B",files:"\u6587\u4EF6",files_count_n:"{{count}}\u4E2A\u6587\u4EF6",files_no_info:"\u65E0\u6587\u4EF6\u4FE1\u606F",files_single:"\u5355\u4E2A\u6587\u4EF6",genres:"\u7C7B\u578B",info_hash:"\u4FE1\u606F\u54C8\u5E0C",info_hashes:"\u4FE1\u606F\u54C8\u5E0C",languages:"\u8BED\u8A00",leechers:"\u4E0B\u8F7D\u8005",magnet:"\u78C1\u529B\u94FE\u63A5",magnet_links:"\u78C1\u529B\u94FE\u63A5",new_tag:"\u65B0\u6807\u7B7E",order_by:"\u6392\u5E8F\u4F9D\u636E",order_direction_toggle:"\u5207\u6362\u65B9\u5411",ordering:{files_count:"\u6587\u4EF6\u6570",info_hash:"\u4FE1\u606F\u54C8\u5E0C",leechers:"\u4E0B\u8F7D\u8005",name:"\u540D\u79F0",published_at:"\u53D1\u5E03\u4E8E",relevance:"\u76F8\u5173\u6027",seeders:"\u4E0A\u4F20\u8005",size:"\u5927\u5C0F",updated_at:"\u66F4\u65B0\u4E8E"},original_release_date:"\u539F\u59CB\u53D1\u5E03\u65E5\u671F",permalink:"\u6C38\u4E45\u94FE\u63A5",poster:"\u6D77\u62A5",published:"\u5DF2\u53D1\u5E03",rating:"\u8BC4\u5206",refresh:"\u5237\u65B0\u7ED3\u679C",reprocess:{force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",reprocess:"\u91CD\u65B0\u5904\u7406"},s_l:"S / L",search:"\u641C\u7D22",seeders:"\u4E0A\u4F20\u8005",select_all:"\u5168\u9009",showing_x_of_y_files:"\u663E\u793A{{x}}\u4E2A\uFF0C\u5171{{y}}\u4E2A\u6587\u4EF6",size:"\u5927\u5C0F",source:"\u79CD\u5B50\u6765\u6E90",summary:"\u6458\u8981",tags:{delete:"\u5220\u9664\u6807\u7B7E",delete_tip:"\u4ECE\u9009\u5B9A\u7684\u79CD\u5B50\u4E2D\u5220\u9664\u6807\u7B7E",placeholder:"\u6807\u7B7E...",put:"\u6DFB\u52A0\u6807\u7B7E",put_tip:"\u4E3A\u9009\u5B9A\u7684\u79CD\u5B50\u6DFB\u52A0\u6807\u7B7E",set:"\u8BBE\u7F6E\u6807\u7B7E",set_tip:"\u66FF\u6362\u9009\u5B9A\u79CD\u5B50\u7684\u6807\u7B7E"},title:"\u6807\u9898",toggle_drawer:"\u5207\u6362\u62BD\u5C49",votes_count_n:"{{count}}\u7968"},version:{bitmagnet_version:"bitmagnet\u7248\u672C{{version}}",unknown:"\u672A\u77E5"}};var ce={ar:bt,ca:yt,de:vt,en:kt,es:xt,fr:wt,hi:Tt,ja:St,nl:Ct,pt:Mt,ru:Pt,tr:At,uk:zt,zh:qt};var Et=(()=>{class t{getTranslation(e){return he(this,null,function*(){if(e in ce){let a=ce[e];return Dt(a)}else return Promise.reject(new Error(`Translation not found: ${e}`))})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ha=["__missing__","__fallback__"],Dt=t=>Object.fromEntries(Object.entries(t).flatMap(([r,e])=>{if(typeof e=="object")e=Dt(e);else if(typeof e=="string"&&ha.includes(e))return[];return[[r,e]]}));var It=[{path:"",pathMatch:"full",redirectTo:"torrents"},{path:"torrents",loadComponent:()=>import("./chunk-772YMJAF.js").then(t=>t.TorrentsComponent),children:[{path:"",loadComponent:()=>import("./chunk-AK3M4LNZ.js").then(t=>t.TorrentsSearchComponent)},{path:"permalink/:infoHash",loadComponent:()=>import("./chunk-UWLKC4OZ.js").then(t=>t.TorrentPermalinkComponent)}]},{path:"dashboard",loadComponent:()=>import("./chunk-KLEG3ZS6.js").then(t=>t.DashboardComponent),children:[{path:"",loadComponent:()=>import("./chunk-LZARM4PD.js").then(t=>t.DashboardHomeComponent)},{path:"queues",pathMatch:"full",redirectTo:"queues/visualize"},{path:"queues",loadComponent:()=>import("./chunk-MNBKFTBG.js").then(t=>t.QueueDashboardComponent),children:[{path:"visualize",loadComponent:()=>import("./chunk-HMJENAG2.js").then(t=>t.QueueVisualizeComponent)},{path:"jobs",loadComponent:()=>import("./chunk-DCDP4MAT.js").then(t=>t.QueueJobsComponent)},{path:"admin",loadComponent:()=>import("./chunk-UWIIS3Y2.js").then(t=>t.QueueAdminComponent)}]},{path:"torrents",loadComponent:()=>import("./chunk-BQDFZT6D.js").then(t=>t.TorrentsDashboardComponent)}]},{path:"**",loadComponent:()=>import("./chunk-NCGQMPH7.js").then(t=>t.NotFoundComponent)}];var jt={providers:[Ae({eventCoalescing:!0}),He(It,Ve()),pt("animations"),se(qe()),se(),Ye(()=>({link:c(gt).create({uri:ft}),cache:new Je({typePolicies:{Query:{fields:{search:{merge(r,e){return z(z({},r),e)}}}}}})})),Ge({config:{availableLangs:[{id:"ar",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},{id:"ca",label:"Catal\xE0"},{id:"de",label:"Deutsch"},{id:"en",label:"English"},{id:"es",label:"Espa\xF1ol"},{id:"fr",label:"Fran\xE7ais"},{id:"hi",label:"\u0939\u093F\u0928\u094D\u0926\u0940"},{id:"ja",label:"\u65E5\u672C\u8A9E"},{id:"nl",label:"Nederlands"},{id:"pt",label:"Portugu\xEAs"},{id:"ru",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{id:"tr",label:"T\xFCrk\xE7e"},{id:"uk",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},{id:"zh",label:"\u4E2D\u6587"}],defaultLang:"en",fallbackLang:"en",missingHandler:{useFallbackTranslation:!0},reRenderOnLangChange:!0,prodMode:!1},loader:Et}),Ke(Ne())]};var pa=new O("Browser Storage",{providedIn:"root",factory:()=>localStorage}),J=(()=>{class t{constructor(e){this.storage=e}get(e){return this.storage.getItem(e)}set(e,a){this.storage.setItem(e,a)}remove(e){this.storage.removeItem(e)}clear(){this.storage.clear()}static{this.\u0275fac=function(a){return new(a||t)(G(pa))}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ga={classic:{key:"classic",label:"Classic",dark:!1},clean:{key:"clean",label:"Clean",dark:!1},neon:{key:"neon",label:"Neon",dark:!0},tundra:{key:"tundra",label:"Tundra",dark:!0}},W=ga,Ft="classic",Lt="tundra";var ue="bitmagnet-theme",Y=(()=>{class t{constructor(){this.document=c(K),this.browserStorage=c(J),this._window=this.document.defaultView,this.selectedThemeSubject=new pe(void 0),this.selectedTheme$=this.selectedThemeSubject.asObservable(),this.themes=Object.values(W),this.getPreferredTheme=()=>this.getStoredTheme()??this.getAutoTheme(),this.getStoredTheme=()=>{let e=this.browserStorage.get(ue);return e&&e in W?e:void 0},this.getAutoTheme=()=>this.windowMatchMediaPrefersDark()?.matches?Lt:Ft,this.setTheme=e=>{this.setActiveTheme(e),this.setStoredTheme(this.selectedTheme??"auto")},this.setActiveTheme=e=>{e==="auto"||!(e in W)?(e=this.getAutoTheme(),this.selectedTheme=void 0):this.selectedTheme=e,this.document.documentElement.setAttribute("data-bitmagnet-theme",e),this.selectedThemeSubject.next(this.selectedTheme)},this.setStoredTheme=e=>{e==="auto"?this.browserStorage.remove(ue):this.browserStorage.set(ue,e)},this.setActiveTheme(this.getPreferredTheme()),this.windowMatchMediaPrefersDark()?.addEventListener("change",()=>{this.getStoredTheme()||this.setActiveTheme(this.getAutoTheme())})}windowMatchMediaPrefersDark(){return this._window&&this._window.matchMedia?this._window.matchMedia("(prefers-color-scheme: dark)"):void 0}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ya=t=>({version:t});function va(t,r){if(t&1&&(E(0),i(1,"span",1),_(2),s(),D()),t&2){let e=r.$implicit,a=h();l(),g("matTooltip",e("version.bitmagnet_version",Pe(2,ya,a.versionUnknown?e("version.unknown"):a.version))),l(),b(a.version)}}var de="v-unknown",Bt=(()=>{class t{constructor(){this.apollo=c(We),this.version=de,this.versionUnknown=!0}ngOnInit(){this.apollo.query({query:tt}).pipe(ge(e=>e.data.version)).subscribe({next:e=>{e?(this.version=e,this.versionUnknown=!1):(this.version=de,this.versionUnknown=!0)},error:()=>{this.version=de}})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-version"]],standalone:!0,features:[y],decls:1,vars:0,consts:[[4,"transloco"],[1,"version",3,"matTooltip"]],template:function(a,o){a&1&&q(0,va,3,4,"ng-container",0)},dependencies:[U,Q,X,at],encapsulation:2})}}return t})();var Rt="bitmagnet-language",Ht=(()=>{class t{constructor(){this.transloco=c(Oe),this.browserStorage=c(J),this.availableLanguages=this.transloco.getAvailableLangs(),this.transloco.setActiveLang(this.getPreferredLanguage())}getPreferredLanguage(){return this.getStoredLanguage()??this.getAutoLanguage()}getStoredLanguage(){let e=this.browserStorage.get(Rt);return e&&this.transloco.isLang(e)?e:void 0}getAutoLanguage(){let e=navigator?.language?.split("-")?.[0];return this.transloco.isLang(e)?e:"en"}setLanguage(e){this.transloco.setActiveLang(e),this.browserStorage.set(Rt,e)}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ka=["element"],_e=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-theme-emitter-color"]],viewQuery:function(a,o){if(a&1&&R(ka,5),a&2){let n;H(n=V())&&(o.element=n.first)}},inputs:{color:"color"},standalone:!0,features:[y],decls:2,vars:2,consts:[["element",""]],template:function(a,o){a&1&&m(0,"div",null,0),a&2&&S("theme-emitter-color "+o.color)},encapsulation:2})}}return t})();var xa=["lightdark"];function wa(t,r){if(t&1&&m(0,"app-theme-emitter-color",1),t&2){let e=r.$implicit;g("color",e)}}var Vt=(()=>{class t{constructor(){this.service=c(ht),this.themeManager=c(Y),this.themeColors=mt,this.themeManager.selectedTheme$.subscribe(()=>{this.updateThemeColors()})}ngAfterViewInit(){this.updateThemeColors()}updateThemeColors(){let e={};for(let o of this.elements??[])e[o.color]=getComputedStyle(o.element.nativeElement).color;let a=this.lightdark&&getComputedStyle(this.lightdark.nativeElement).color==="rgb(0, 0, 0)"?"dark":"light";this.service.setInfo({colors:e,type:a})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-theme-emitter"]],viewQuery:function(a,o){if(a&1&&(R(xa,5),R(_e,5)),a&2){let n;H(n=V())&&(o.lightdark=n.first),H(n=V())&&(o.elements=n)}},standalone:!0,features:[y],decls:5,vars:0,consts:[["lightdark",""],[3,"color"],[1,"theme-emitter-lightdark"]],template:function(a,o){a&1&&(E(0),L(1,wa,1,1,"app-theme-emitter-color",1,Se),m(3,"div",2,0),D()),a&2&&(l(),B(o.themeColors))},dependencies:[_e],styles:["[_nghost-%COMP%]{display:none}.theme-emitter-color.background[_ngcontent-%COMP%]{color:var(--mat-app-background-color)}.theme-emitter-color.foreground[_ngcontent-%COMP%]{color:var(--mat-app-text-color)}"]})}}return t})();var Sa=["*"],Ca=(t,r)=>r.key,Ma=(t,r)=>r.id,Pa=()=>({service:"Discord"}),Aa=()=>({service:"GitHub"}),za=()=>({service:"OpenCollective"});function qa(t,r){if(t&1&&(i(0,"h1")(1,"a",22),m(2,"mat-icon",23),i(3,"span",24),_(4,"bitmagnet"),s(),m(5,"app-version"),s()(),i(6,"nav")(7,"a",25,3),m(9,"mat-icon",23),_(10),s(),i(11,"a",26,4)(13,"mat-icon"),_(14,"dashboard"),s(),_(15),s()()),t&2){let e=A(8),a=A(12),o=h().$implicit;l(7),S(e.isActive?"active":""),l(3),oe(" ",o("routes.torrents")," "),l(),S(a.isActive?"active":""),l(4),oe(" ",o("routes.dashboard")," ")}}function Ea(t,r){if(t&1&&(i(0,"h1")(1,"a",27),m(2,"mat-icon",23),s()(),i(3,"button",28,4)(5,"mat-icon"),_(6,"dashboard"),s()()),t&2){let e=A(4),a=h().$implicit;l(3),S(e.isActive?"active":""),g("matTooltip",a("routes.dashboard"))}}function Da(t,r){if(t&1){let e=ae();i(0,"a",29),re("click",function(){let o=Z(e).$implicit,n=h(2);return $(n.themeManager.setTheme(o.key))}),i(1,"mat-icon"),_(2),s(),_(3),s()}if(t&2){let e=r.$implicit,a=h(2);S(e.key===a.themeManager.selectedTheme?"active":""),l(2),b(e.dark?"dark_mode":"light_mode"),l(),b(e.label)}}function Ia(t,r){if(t&1){let e=ae();i(0,"a",30),re("click",function(){let o=Z(e).$implicit,n=h(2);return $(n.translateManager.setLanguage(o.id))}),_(1),s()}if(t&2){let e=r.$implicit,a=h().$implicit,o=h();S(e.id===o.translateManager.getPreferredLanguage()?"active":""),g("matTooltip",e.id===o.translateManager.getPreferredLanguage()?void 0:a("languages."+e.id)),l(),b(e.label)}}function ja(t,r){if(t&1&&(i(0,"a",19)(1,"mat-icon"),_(2,"favorite"),s()()),t&2){let e=h().$implicit;g("matTooltip",e("layout.sponsor"))}}function Fa(t,r){if(t&1&&(i(0,"a",20)(1,"mat-icon"),_(2,"favorite"),s(),_(3),s()),t&2){let e=h().$implicit;g("matTooltip",e("layout.support_bitmagnet")),l(3),b(e("layout.sponsor"))}}function La(t,r){if(t&1&&(E(0),i(1,"mat-toolbar",6),q(2,qa,16,6)(3,Ea,7,3),m(4,"span",7)(5,"app-health-widget"),i(6,"button",8)(7,"mat-icon"),_(8,"apparel"),s()(),i(9,"mat-menu",9,0),L(11,Da,4,4,"a",10,Ca),s(),i(13,"button",11)(14,"mat-icon"),_(15,"translate"),s()(),i(16,"mat-menu",9,1),L(18,Ia,2,4,"a",12,Ma),s(),i(20,"button",13),m(21,"mat-icon",14),s(),i(22,"mat-menu",9,2)(24,"a",15),_(25,"bitmagnet.io"),s(),i(26,"a",16),_(27),s(),i(28,"a",17),_(29),s(),i(30,"a",18),_(31),s()(),q(32,ja,3,1,"a",19)(33,Fa,4,2,"a",20),s(),i(34,"div",21),Me(35),s(),m(36,"app-theme-emitter"),D()),t&2){let e=r.$implicit,a=A(10),o=A(17),n=A(23),u=h();l(2),te(u.breakpoints.sizeAtLeast("Medium")?2:3),l(4),g("matMenuTriggerFor",a)("matTooltip",e("layout.change_theme")),l(5),B(u.themeManager.themes),l(2),g("matMenuTriggerFor",o)("matTooltip",e("layout.translate")),l(5),B(u.translateManager.availableLanguages),l(2),g("matTooltip",e("layout.external_links"))("matMenuTriggerFor",n),l(7),b(e("layout.bitmagnet_on_service",N(11,Pa))),l(2),b(e("layout.bitmagnet_on_service",N(12,Aa))),l(2),b(e("layout.bitmagnet_on_service",N(13,za))),l(),te(u.breakpoints.sizeAtLeast("Medium")?33:32)}}var Ot=(()=>{class t{constructor(){this.themeManager=c(Y),this.translateManager=c(Ht),this.breakpoints=c(ct),this.title=c(Ie),this.router=c(Le),this.health=c(ut)}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-layout"]],standalone:!0,features:[y],ngContentSelectors:Sa,decls:1,vars:0,consts:[["themesMenu","matMenu"],["languagesMenu","matMenu"],["externalLinksMenu","matMenu"],["linkTorrents","routerLinkActive"],["linkDashboard","routerLinkActive"],[4,"transloco"],[1,"toolbar-header"],[1,"spacer"],["mat-icon-button","","aria-label","Theme",3,"matMenuTriggerFor","matTooltip"],[1,"layout-header-menu"],["mat-menu-item","",3,"class"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","class"],["mat-icon-button","",3,"matTooltip","matMenuTriggerFor"],["svgIcon","external-link"],["mat-menu-item","","href","https://bitmagnet.io","target","_blank"],["mat-menu-item","","href","https://discord.gg/6mFNszX8qM","target","_blank"],["mat-menu-item","","href","https://github.com/bitmagnet-io/bitmagnet","target","_blank"],["mat-menu-item","","href","https://opencollective.com/bitmagnet","target","_blank"],["mat-icon-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],["mat-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],[1,"app-content"],["routerLink","torrents"],["svgIcon","magnet"],[1,"name"],["mat-button","","routerLink","torrents","routerLinkActive",""],["mat-button","","routerLink","dashboard","routerLinkActive",""],["routerLink","/torrents"],["mat-icon-button","","routerLink","dashboard","routerLinkActive","",3,"matTooltip"],["mat-menu-item","",3,"click"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click","matTooltip"]],template:function(a,o){a&1&&(Ce(),q(0,La,37,14,"ng-container",5))},dependencies:[U,Ze,et,$e,ot,st,nt,it,lt,Q,Be,Re,X,_t,dt,Vt,Bt],styles:[".mat-toolbar.toolbar-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:10;--mat-toolbar-title-text-size: 22px;--mat-toolbar-standard-height: 56px;--mat-icon-color: #fff;padding:0 20px;--mdc-text-button-label-text-size: 15px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:-2px;margin-right:20px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:4px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{margin-left:10px;margin-right:16px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] app-version[_ngcontent-%COMP%]{font-size:13px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]{margin-left:6px;--mdc-text-button-label-text-weight: bold;--mat-text-button-horizontal-padding: 12px;--mdc-text-button-container-height: 30px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{position:absolute;left:340px;top:0;height:56px;padding-top:14px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:10px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] mat-icon[data-mat-icon-name=magnet][_ngcontent-%COMP%]{margin-top:-5px;overflow:visible}.app-content[_ngcontent-%COMP%]{z-index:1;padding-bottom:10px}.layout-header-menu[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{font-weight:700}"]})}}return t})();var Gt=(t,r)=>t.setDefaultFontSetClass("material-icons-outlined","material-symbols-outlined").addSvgIcon("magnet",r.bypassSecurityTrustResourceUrl("magnet.svg")).addSvgIcon("external-link",r.bypassSecurityTrustResourceUrl("external-link.svg")).addSvgIcon("binary",r.bypassSecurityTrustResourceUrl("binary.svg")).addSvgIcon("queue",r.bypassSecurityTrustResourceUrl("queue.svg"));var Nt=(()=>{class t{constructor(e,a){this.title="bitmagnet",Gt(e,a)}static{this.\u0275fac=function(a){return new(a||t)(ee(rt),ee(je))}}static{this.\u0275cmp=f({type:t,selectors:[["app-root"]],standalone:!0,features:[y],decls:2,vars:0,template:function(a,o){a&1&&(i(0,"app-layout"),m(1,"router-outlet"),s())},dependencies:[Fe,Ot]})}}return t})();De(Nt,jt).catch(t=>console.error(t)); From 54d0dd8f9b3766ed291714158c02f200de53c296 Mon Sep 17 00:00:00 2001 From: rraymondgh Date: Sun, 25 May 2025 10:44:57 +0000 Subject: [PATCH 11/14] core qbit module (go 1.23) --- go.mod | 15 ++++++++------- go.sum | 30 ++++++++++++++++-------------- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/go.mod b/go.mod index d04f4c4c..b12ed4d9 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/anacrolix/dht/v2 v2.22.0 github.com/anacrolix/missinggo/v2 v2.8.0 github.com/anacrolix/torrent v1.58.0 - github.com/autobrr/go-qbittorrent v1.9.0 + github.com/autobrr/go-qbittorrent v1.11.0 github.com/bits-and-blooms/bloom/v3 v3.7.0 github.com/facette/natsort v0.0.0-20181210072756-2cd4dd1e2dcb github.com/frankban/quicktest v1.14.6 @@ -44,9 +44,9 @@ require ( github.com/xeipuuv/gojsonschema v1.2.0 go.uber.org/fx v1.23.0 go.uber.org/zap v1.27.0 - golang.org/x/sync v0.11.0 - golang.org/x/sys v0.30.0 - golang.org/x/text v0.22.0 + golang.org/x/sync v0.14.0 + golang.org/x/sys v0.33.0 + golang.org/x/text v0.25.0 golang.org/x/time v0.10.0 google.golang.org/protobuf v1.36.5 gopkg.in/yaml.v3 v3.0.1 @@ -58,6 +58,7 @@ require ( ) require ( + github.com/Masterminds/semver v1.5.0 // indirect github.com/go-logr/logr v1.4.2 // indirect github.com/go-task/slim-sprig/v3 v3.0.0 // indirect github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect @@ -175,11 +176,11 @@ require ( go.uber.org/dig v1.18.0 // indirect go.uber.org/multierr v1.11.0 // indirect golang.org/x/arch v0.13.0 // indirect - golang.org/x/crypto v0.33.0 // indirect + golang.org/x/crypto v0.38.0 // indirect golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect golang.org/x/mod v0.23.0 // indirect - golang.org/x/net v0.35.0 // indirect - golang.org/x/term v0.29.0 // indirect + golang.org/x/net v0.40.0 // indirect + golang.org/x/term v0.32.0 // indirect golang.org/x/tools v0.30.0 // indirect golang.org/x/tools/cmd/cover v0.1.0-deprecated // indirect google.golang.org/genproto/googleapis/api v0.0.0-20250106144421-5f5ef82da422 // indirect diff --git a/go.sum b/go.sum index c09bca97..525ae42a 100644 --- a/go.sum +++ b/go.sum @@ -15,6 +15,8 @@ github.com/DATA-DOG/go-sqlmock v1.5.2 h1:OcvFkGmslmlZibjAjaHm3L//6LiuBgolP7Oputl github.com/DATA-DOG/go-sqlmock v1.5.2/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ+JlNzwDqpNU= github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= +github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= +github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= github.com/Masterminds/semver/v3 v3.3.1 h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4= github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= github.com/Masterminds/sprig/v3 v3.3.0 h1:mQh0Yrg1XPo6vjYXgtf5OtijNAKJRNcTdOOGZe3tPhs= @@ -92,8 +94,8 @@ github.com/antlr4-go/antlr/v4 v4.13.1/go.mod h1:GKmUxMtwp6ZgGwZSva4eWPC5mS6vUAmO github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 h1:jfIu9sQUG6Ig+0+Ap1h4unLjW6YQJpKZVmUzxsD4E/Q= github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdKJDJF9BV14lnkjHmOQgcvEKgtqs5a1N3LNdJhGE= -github.com/autobrr/go-qbittorrent v1.9.0 h1:HaLueJ99D3G1cQ2r5ADVbtfwyEhekt2eQoEZ7yhAwYs= -github.com/autobrr/go-qbittorrent v1.9.0/go.mod h1:z88B3+O/1/3doQABErvIOOxE4hjpmIpulu6XzDG/q78= +github.com/autobrr/go-qbittorrent v1.11.0 h1:Xmt28ECvZYDiamabEUtDZvJxiO/NaoGjJF4mHESDXq4= +github.com/autobrr/go-qbittorrent v1.11.0/go.mod h1:sIwIdqDcFbN67tSC5p5Lp27M8/BQFoSoW5XqXyVdHF0= github.com/avast/retry-go v3.0.0+incompatible h1:4SOWQ7Qs+oroOTQOYnAHqelpCO0biHSxpiH9JdtuBj0= github.com/avast/retry-go v3.0.0+incompatible/go.mod h1:XtSnn+n/sHqQIpZ10K1qAevBhOOCWBLXXy3hyiqqBrY= github.com/benbjohnson/immutable v0.2.0/go.mod h1:uc6OHo6PN2++n98KHLxW8ef4W42ylHiQSENghE1ezxI= @@ -573,8 +575,8 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus= -golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M= +golang.org/x/crypto v0.38.0 h1:jt+WWG8IZlBnVbomuhg2Mdq0+BBQaHbtqHEFEigjUV8= +golang.org/x/crypto v0.38.0/go.mod h1:MvrbAqul58NNYPKnOra203SB9vpuZW0e+RRZV+Ggqjw= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 h1:yqrTHse8TCMW1M1ZCP+VAR/l0kKxwaAIqN/il7x4voA= golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8/go.mod h1:tujkw807nyEEAamNbDrEGzRav+ilXA7PCRAd6xsmwiU= @@ -607,8 +609,8 @@ golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96b golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns= -golang.org/x/net v0.35.0 h1:T5GQRQb2y08kTAByq9L4/bz8cipCdA8FbRTXewonqY8= -golang.org/x/net v0.35.0/go.mod h1:EglIi67kWsHKlRzzVMUD93VMSWGFOMSZgxFjparz1Qk= +golang.org/x/net v0.40.0 h1:79Xs7wF06Gbdcg4kdCCIQArK11Z1hr5POQ6+fIYHNuY= +golang.org/x/net v0.40.0/go.mod h1:y0hY0exeL2Pku80/zKK7tpntoX23cqL3Oa6njdgRtds= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -622,8 +624,8 @@ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w= -golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.14.0 h1:woo0S4Yywslg6hp4eUFjTVOyKt0RookbpAHG4c1HmhQ= +golang.org/x/sync v0.14.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -654,14 +656,14 @@ golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc= -golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw= +golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY= -golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU= -golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s= +golang.org/x/term v0.32.0 h1:DR4lr0TjUs3epypdhTOkMmuF5CDFJ/8pOnbzMZPQ7bg= +golang.org/x/term v0.32.0/go.mod h1:uZG1FhGx848Sqfsq4/DlJr3xGGsYMu/L5GW4abiaEPQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= @@ -669,8 +671,8 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM= -golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= +golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4= +golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA= golang.org/x/time v0.10.0 h1:3usCWA8tQn0L8+hFJQNgzpWbd89begxN66o1Ojdn5L4= golang.org/x/time v0.10.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= From 6d54412957cacfd1e77bfd291699ab6a502d973f Mon Sep 17 00:00:00 2001 From: rraymondgh Date: Thu, 5 Jun 2025 11:15:12 +0000 Subject: [PATCH 12/14] sendTo target concept --- Taskfile.yml | 19 - graphql/mutations/ClientSendTo.graphql | 5 + graphql/mutations/Download.graphql | 5 - graphql/queries/ClientSendToConfig.graphql | 6 + graphql/queries/DownloadClientEnabled.graphql | 5 - graphql/schema/mutation.graphqls | 6 +- graphql/schema/query.graphqls | 5 +- internal/client/client.go | 8 +- internal/client/config.go | 44 +- internal/client/qbittorrent.go | 14 +- internal/client/transmission.go | 10 +- internal/gql/gql.gen.go | 826 +++++++++++------- internal/gql/gqlmodel/client.go | 3 + internal/gql/gqlmodel/downloadclient.go | 3 - internal/gql/gqlmodel/gen/model.gen.go | 9 +- internal/gql/resolvers/mutation.resolvers.go | 25 +- internal/gql/resolvers/query.resolvers.go | 7 +- .../{chunk-P4IGP6ZM.js => chunk-4IZ4BZMF.js} | 2 +- .../{chunk-OUPXCRLE.js => chunk-5NKXLN2Y.js} | 2 +- .../{chunk-E7M2745X.js => chunk-AD44SZ3W.js} | 2 +- .../{chunk-FNMD7JET.js => chunk-AY6Y76TX.js} | 2 +- .../{chunk-SF7T53WL.js => chunk-AYWXSEWP.js} | 2 +- .../{chunk-BYSPLPNN.js => chunk-C7JZ6WBU.js} | 2 +- .../{chunk-BFXZYWVF.js => chunk-F7JDKAJX.js} | 2 +- .../{chunk-EBLD3IWA.js => chunk-GL6K5NAM.js} | 2 +- .../{chunk-7SFHH767.js => chunk-HJUFYB7B.js} | 2 +- .../{chunk-ISB6LSNT.js => chunk-JJA23WI2.js} | 2 +- .../{chunk-HZYDZMJ4.js => chunk-K5VIU67A.js} | 13 +- .../{chunk-NJLU6UWE.js => chunk-MVSJKDSJ.js} | 2 +- .../dist/bitmagnet/browser/chunk-PKY2LTNB.js | 3 + .../{chunk-ISQ7AX2Q.js => chunk-QACUPSPJ.js} | 2 +- .../{chunk-WMBLMVKT.js => chunk-QH626ZBN.js} | 2 +- .../{chunk-GLXU5TTY.js => chunk-UAJQPQWO.js} | 2 +- .../dist/bitmagnet/browser/chunk-WC5EMJNC.js | 3 - .../{chunk-3IKCDSDW.js => chunk-WUPPTVXO.js} | 2 +- .../{chunk-DZT5WVMO.js => chunk-XV4HCVW7.js} | 2 +- webui/dist/bitmagnet/browser/index.html | 2 +- webui/dist/bitmagnet/browser/main-4Q4K3KKY.js | 1 - webui/dist/bitmagnet/browser/main-U7K7XHKX.js | 1 + webui/src/app/graphql/generated/index.ts | 68 +- webui/src/app/graphql/graphql.service.ts | 26 +- webui/src/app/i18n/translations/ar.json | 6 +- webui/src/app/i18n/translations/ca.json | 20 + webui/src/app/i18n/translations/de.json | 6 +- webui/src/app/i18n/translations/en.json | 3 +- webui/src/app/i18n/translations/es.json | 6 +- webui/src/app/i18n/translations/fr.json | 6 +- webui/src/app/i18n/translations/hi.json | 7 +- webui/src/app/i18n/translations/ja.json | 7 +- webui/src/app/i18n/translations/nl.json | 7 +- webui/src/app/i18n/translations/pt.json | 7 +- webui/src/app/i18n/translations/ru.json | 7 +- webui/src/app/i18n/translations/tr.json | 7 +- webui/src/app/i18n/translations/uk.json | 7 +- webui/src/app/i18n/translations/zh.json | 6 +- .../torrents-bulk-actions.component.html | 32 +- .../torrents-bulk-actions.component.ts | 18 +- 57 files changed, 722 insertions(+), 579 deletions(-) create mode 100644 graphql/mutations/ClientSendTo.graphql delete mode 100644 graphql/mutations/Download.graphql create mode 100644 graphql/queries/ClientSendToConfig.graphql delete mode 100644 graphql/queries/DownloadClientEnabled.graphql create mode 100644 internal/gql/gqlmodel/client.go delete mode 100644 internal/gql/gqlmodel/downloadclient.go rename webui/dist/bitmagnet/browser/{chunk-P4IGP6ZM.js => chunk-4IZ4BZMF.js} (90%) rename webui/dist/bitmagnet/browser/{chunk-OUPXCRLE.js => chunk-5NKXLN2Y.js} (99%) rename webui/dist/bitmagnet/browser/{chunk-E7M2745X.js => chunk-AD44SZ3W.js} (98%) rename webui/dist/bitmagnet/browser/{chunk-FNMD7JET.js => chunk-AY6Y76TX.js} (99%) rename webui/dist/bitmagnet/browser/{chunk-SF7T53WL.js => chunk-AYWXSEWP.js} (98%) rename webui/dist/bitmagnet/browser/{chunk-BYSPLPNN.js => chunk-C7JZ6WBU.js} (99%) rename webui/dist/bitmagnet/browser/{chunk-BFXZYWVF.js => chunk-F7JDKAJX.js} (97%) rename webui/dist/bitmagnet/browser/{chunk-EBLD3IWA.js => chunk-GL6K5NAM.js} (98%) rename webui/dist/bitmagnet/browser/{chunk-7SFHH767.js => chunk-HJUFYB7B.js} (98%) rename webui/dist/bitmagnet/browser/{chunk-ISB6LSNT.js => chunk-JJA23WI2.js} (90%) rename webui/dist/bitmagnet/browser/{chunk-HZYDZMJ4.js => chunk-K5VIU67A.js} (98%) rename webui/dist/bitmagnet/browser/{chunk-NJLU6UWE.js => chunk-MVSJKDSJ.js} (94%) create mode 100644 webui/dist/bitmagnet/browser/chunk-PKY2LTNB.js rename webui/dist/bitmagnet/browser/{chunk-ISQ7AX2Q.js => chunk-QACUPSPJ.js} (99%) rename webui/dist/bitmagnet/browser/{chunk-WMBLMVKT.js => chunk-QH626ZBN.js} (92%) rename webui/dist/bitmagnet/browser/{chunk-GLXU5TTY.js => chunk-UAJQPQWO.js} (98%) delete mode 100644 webui/dist/bitmagnet/browser/chunk-WC5EMJNC.js rename webui/dist/bitmagnet/browser/{chunk-3IKCDSDW.js => chunk-WUPPTVXO.js} (98%) rename webui/dist/bitmagnet/browser/{chunk-DZT5WVMO.js => chunk-XV4HCVW7.js} (90%) delete mode 100644 webui/dist/bitmagnet/browser/main-4Q4K3KKY.js create mode 100644 webui/dist/bitmagnet/browser/main-U7K7XHKX.js diff --git a/Taskfile.yml b/Taskfile.yml index bb2c9eba..f6e5412d 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -50,25 +50,6 @@ tasks: cmds: - npm run i18n:extract - i18n-translate: - cmds: - - for: - [ - "ar", - "de", - "es", - "fr", - "hi", - "ja", - "nl", - "pt", - "ru", - "tr", - "uk", - "zh", - ] - cmd: npx i18n-auto-translation -k $API_KEY -d webui/src/app/i18n/translations -t {{ .ITEM }} - lint: cmds: # Removing golang-ci lint as the Nix package is currently broken diff --git a/graphql/mutations/ClientSendTo.graphql b/graphql/mutations/ClientSendTo.graphql new file mode 100644 index 00000000..3ffd03f5 --- /dev/null +++ b/graphql/mutations/ClientSendTo.graphql @@ -0,0 +1,5 @@ +mutation ClientSendTo($clientID: ClientID, $infoHashes: [Hash20!]!) { + client { + sendTo(clientID: $clientID, infoHashes: $infoHashes) + } +} diff --git a/graphql/mutations/Download.graphql b/graphql/mutations/Download.graphql deleted file mode 100644 index 397d426a..00000000 --- a/graphql/mutations/Download.graphql +++ /dev/null @@ -1,5 +0,0 @@ -mutation Download($infoHashes: [Hash20!]!) { - downloadclient { - download(infoHashes: $infoHashes) - } -} diff --git a/graphql/queries/ClientSendToConfig.graphql b/graphql/queries/ClientSendToConfig.graphql new file mode 100644 index 00000000..0a176491 --- /dev/null +++ b/graphql/queries/ClientSendToConfig.graphql @@ -0,0 +1,6 @@ +query SendToConfig { + sendToConfig { + enabled + sendTo + } +} diff --git a/graphql/queries/DownloadClientEnabled.graphql b/graphql/queries/DownloadClientEnabled.graphql deleted file mode 100644 index 067d83e5..00000000 --- a/graphql/queries/DownloadClientEnabled.graphql +++ /dev/null @@ -1,5 +0,0 @@ -query DownloadClientEnabled { - downloadClient { - enabled - } -} diff --git a/graphql/schema/mutation.graphqls b/graphql/schema/mutation.graphqls index 98de8c9d..5adaf88b 100644 --- a/graphql/schema/mutation.graphqls +++ b/graphql/schema/mutation.graphqls @@ -1,7 +1,7 @@ type Mutation { torrent: TorrentMutation! queue: QueueMutation! - downloadclient: DownloadClientMutation! + client: ClientMutation! } type TorrentMutation { @@ -20,6 +20,6 @@ input TorrentReprocessInput { localSearchDisabled: Boolean } -type DownloadClientMutation { - download(infoHashes: [Hash20!]): Void +type ClientMutation { + sendTo(clientID: ClientID, infoHashes: [Hash20!]): Void } diff --git a/graphql/schema/query.graphqls b/graphql/schema/query.graphqls index 9bae7c86..c0b6e5fd 100644 --- a/graphql/schema/query.graphqls +++ b/graphql/schema/query.graphqls @@ -5,7 +5,7 @@ type Query { queue: QueueQuery! torrent: TorrentQuery! torrentContent: TorrentContentQuery! - downloadClient: DownloadClientConfigQuery! + sendToConfig: ClientSendToConfigQuery! } type TorrentQuery { @@ -69,6 +69,7 @@ type HealthQuery { checks: [HealthCheck!]! } -type DownloadClientConfigQuery { +type ClientSendToConfigQuery { enabled: Boolean! + sendTo: [ClientID!]! } diff --git a/internal/client/client.go b/internal/client/client.go index fcd5238e..7b4a0f93 100644 --- a/internal/client/client.go +++ b/internal/client/client.go @@ -20,7 +20,7 @@ type content = []search.TorrentContentResultItem type clientWorker interface { AddInfoHashes(ctx context.Context, req AddInfoHashesRequest) error - download(ctx context.Context, content *content) error + sendTo(ctx context.Context, content *content) error } type CommonClient struct { @@ -48,13 +48,13 @@ func (c CommonClient) downloadCategory(contentType model.ContentType) string { } func (c CommonClient) AddInfoHashes(ctx context.Context, req AddInfoHashesRequest) error { - switch c.config.DownloadClient { + switch req.ClientID { case gen.ClientIDTransmission: c.client = transmissionClient{CommonClient: c} case gen.ClientIDQBittorrent: c.client = qBitClient{CommonClient: c} default: - return fmt.Errorf("not implemented %s", c.config.DownloadClient) + return fmt.Errorf("not implemented %s", req.ClientID) } options := []q.Option{ @@ -72,5 +72,5 @@ func (c CommonClient) AddInfoHashes(ctx context.Context, req AddInfoHashesReques return err } - return c.client.download(ctx, &sr.Items) + return c.client.sendTo(ctx, &sr.Items) } diff --git a/internal/client/config.go b/internal/client/config.go index ba818418..abb76b1f 100644 --- a/internal/client/config.go +++ b/internal/client/config.go @@ -5,7 +5,8 @@ import ( "github.com/bitmagnet-io/bitmagnet/internal/model" ) -type DownloadClient struct { +type SendTo struct { + ID string Host string Port string Username string @@ -14,27 +15,14 @@ type DownloadClient struct { type Config struct { Enabled bool - Transmission DownloadClient - Qbittorrent DownloadClient - DownloadClient gen.ClientID + SendTo []SendTo DefaultCategory string Categories map[model.ContentType]string } func NewDefaultConfig() Config { cfg := Config{ - Enabled: false, - Transmission: DownloadClient{ - Host: "localhost", - Port: "9091", - }, - Qbittorrent: DownloadClient{ - Host: "localhost", - Port: "8080", - Username: "required", - Password: "required", - }, - DownloadClient: gen.ClientIDQBittorrent, + Enabled: false, DefaultCategory: "prowlarr", } cat := make(map[model.ContentType]string) @@ -44,3 +32,27 @@ func NewDefaultConfig() Config { return cfg } + +func (c Config) GetSendTo(id gen.ClientID) (SendTo, bool) { + for _, c := range c.SendTo { + if c.ID == string(id) { + return c, true + } + } + + return SendTo{}, false +} + +func (c Config) All() []gen.ClientID { + all := make([]gen.ClientID, 0) + + for _, s := range c.SendTo { + for _, valid := range gen.AllClientID { + if s.ID == valid.String() { + all = append(all, valid) + } + } + } + + return all +} diff --git a/internal/client/qbittorrent.go b/internal/client/qbittorrent.go index dd00e16a..23c5a151 100644 --- a/internal/client/qbittorrent.go +++ b/internal/client/qbittorrent.go @@ -5,17 +5,23 @@ import ( "fmt" "github.com/autobrr/go-qbittorrent" + "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" ) type qBitClient struct { CommonClient } -func (c qBitClient) download(ctx context.Context, content *content) error { +func (c qBitClient) sendTo(ctx context.Context, content *content) error { + sendTo, ok := c.config.GetSendTo(gen.ClientIDQBittorrent) + if !ok { + return fmt.Errorf("undefined sendTo: %+v", c.config.SendTo) + } + qb := qbittorrent.NewClient(qbittorrent.Config{ - Host: fmt.Sprintf("http://%v:%v/", c.config.Qbittorrent.Host, c.config.Qbittorrent.Port), - Username: c.config.Qbittorrent.Username, - Password: c.config.Qbittorrent.Password, + Host: fmt.Sprintf("http://%v:%v/", sendTo.Host, sendTo.Port), + Username: sendTo.Username, + Password: sendTo.Password, Timeout: 1, }) diff --git a/internal/client/transmission.go b/internal/client/transmission.go index f3b380f8..fd8b915a 100644 --- a/internal/client/transmission.go +++ b/internal/client/transmission.go @@ -5,6 +5,7 @@ import ( "fmt" "net/url" + "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" "github.com/hekmon/transmissionrpc/v3" ) @@ -12,9 +13,14 @@ type transmissionClient struct { CommonClient } -func (c transmissionClient) download(ctx context.Context, content *content) error { +func (c transmissionClient) sendTo(ctx context.Context, content *content) error { + sendTo, ok := c.config.GetSendTo(gen.ClientIDTransmission) + if !ok { + return nil + } + endpoint, err := url.Parse( - fmt.Sprintf("http://%v:%v/transmission/rpc", c.config.Transmission.Host, c.config.Transmission.Port)) + fmt.Sprintf("http://%v:%v/transmission/rpc", sendTo.Host, sendTo.Port)) if err != nil { return err } diff --git a/internal/gql/gql.gen.go b/internal/gql/gql.gen.go index 730a80ed..7a38d04d 100644 --- a/internal/gql/gql.gen.go +++ b/internal/gql/gql.gen.go @@ -47,8 +47,8 @@ type Config struct { } type ResolverRoot interface { + ClientMutation() ClientMutationResolver Content() ContentResolver - DownloadClientMutation() DownloadClientMutationResolver Mutation() MutationResolver Query() QueryResolver QueueJob() QueueJobResolver @@ -63,6 +63,15 @@ type DirectiveRoot struct { } type ComplexityRoot struct { + ClientMutation struct { + SendTo func(childComplexity int, clientID *gen.ClientID, infoHashes []protocol.ID) int + } + + ClientSendToConfigQuery struct { + Enabled func(childComplexity int) int + SendTo func(childComplexity int) int + } + Content struct { Adult func(childComplexity int) int Attributes func(childComplexity int) int @@ -112,14 +121,6 @@ type ComplexityRoot struct { Value func(childComplexity int) int } - DownloadClientConfigQuery struct { - Enabled func(childComplexity int) int - } - - DownloadClientMutation struct { - Download func(childComplexity int, infoHashes []protocol.ID) int - } - Episodes struct { Label func(childComplexity int) int Seasons func(childComplexity int) int @@ -167,15 +168,15 @@ type ComplexityRoot struct { } Mutation struct { - Downloadclient func(childComplexity int) int - Queue func(childComplexity int) int - Torrent func(childComplexity int) int + Client func(childComplexity int) int + Queue func(childComplexity int) int + Torrent func(childComplexity int) int } Query struct { - DownloadClient func(childComplexity int) int Health func(childComplexity int) int Queue func(childComplexity int) int + SendToConfig func(childComplexity int) int Torrent func(childComplexity int) int TorrentContent func(childComplexity int) int Version func(childComplexity int) int @@ -442,16 +443,16 @@ type ComplexityRoot struct { } } +type ClientMutationResolver interface { + SendTo(ctx context.Context, obj *gqlmodel.ClientMutation, clientID *gen.ClientID, infoHashes []protocol.ID) (*string, error) +} type ContentResolver interface { OriginalLanguage(ctx context.Context, obj *model.Content) (*model.Language, error) } -type DownloadClientMutationResolver interface { - Download(ctx context.Context, obj *gqlmodel.DownloadClientMutation, infoHashes []protocol.ID) (*string, error) -} type MutationResolver interface { Torrent(ctx context.Context) (gqlmodel.TorrentMutation, error) Queue(ctx context.Context) (gqlmodel.QueueMutation, error) - Downloadclient(ctx context.Context) (gqlmodel.DownloadClientMutation, error) + Client(ctx context.Context) (gqlmodel.ClientMutation, error) } type QueryResolver interface { Version(ctx context.Context) (string, error) @@ -460,7 +461,7 @@ type QueryResolver interface { Queue(ctx context.Context) (gqlmodel.QueueQuery, error) Torrent(ctx context.Context) (gqlmodel.TorrentQuery, error) TorrentContent(ctx context.Context) (gqlmodel.TorrentContentQuery, error) - DownloadClient(ctx context.Context) (gen.DownloadClientConfigQuery, error) + SendToConfig(ctx context.Context) (gen.ClientSendToConfigQuery, error) } type QueueJobResolver interface { RanAt(ctx context.Context, obj *model.QueueJob) (*time.Time, error) @@ -505,6 +506,32 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in _ = ec switch typeName + "." + field { + case "ClientMutation.sendTo": + if e.complexity.ClientMutation.SendTo == nil { + break + } + + args, err := ec.field_ClientMutation_sendTo_args(context.TODO(), rawArgs) + if err != nil { + return 0, false + } + + return e.complexity.ClientMutation.SendTo(childComplexity, args["clientID"].(*gen.ClientID), args["infoHashes"].([]protocol.ID)), true + + case "ClientSendToConfigQuery.enabled": + if e.complexity.ClientSendToConfigQuery.Enabled == nil { + break + } + + return e.complexity.ClientSendToConfigQuery.Enabled(childComplexity), true + + case "ClientSendToConfigQuery.sendTo": + if e.complexity.ClientSendToConfigQuery.SendTo == nil { + break + } + + return e.complexity.ClientSendToConfigQuery.SendTo(childComplexity), true + case "Content.adult": if e.complexity.Content.Adult == nil { break @@ -764,25 +791,6 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.ContentTypeAgg.Value(childComplexity), true - case "DownloadClientConfigQuery.enabled": - if e.complexity.DownloadClientConfigQuery.Enabled == nil { - break - } - - return e.complexity.DownloadClientConfigQuery.Enabled(childComplexity), true - - case "DownloadClientMutation.download": - if e.complexity.DownloadClientMutation.Download == nil { - break - } - - args, err := ec.field_DownloadClientMutation_download_args(context.TODO(), rawArgs) - if err != nil { - return 0, false - } - - return e.complexity.DownloadClientMutation.Download(childComplexity, args["infoHashes"].([]protocol.ID)), true - case "Episodes.label": if e.complexity.Episodes.Label == nil { break @@ -937,12 +945,12 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.MetadataSource.Name(childComplexity), true - case "Mutation.downloadclient": - if e.complexity.Mutation.Downloadclient == nil { + case "Mutation.client": + if e.complexity.Mutation.Client == nil { break } - return e.complexity.Mutation.Downloadclient(childComplexity), true + return e.complexity.Mutation.Client(childComplexity), true case "Mutation.queue": if e.complexity.Mutation.Queue == nil { @@ -958,13 +966,6 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Mutation.Torrent(childComplexity), true - case "Query.downloadClient": - if e.complexity.Query.DownloadClient == nil { - break - } - - return e.complexity.Query.DownloadClient(childComplexity), true - case "Query.health": if e.complexity.Query.Health == nil { break @@ -979,6 +980,13 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return e.complexity.Query.Queue(childComplexity), true + case "Query.sendToConfig": + if e.complexity.Query.SendToConfig == nil { + break + } + + return e.complexity.Query.SendToConfig(childComplexity), true + case "Query.torrent": if e.complexity.Query.Torrent == nil { break @@ -2642,7 +2650,7 @@ type ContentCollection { {Name: "../../graphql/schema/mutation.graphqls", Input: `type Mutation { torrent: TorrentMutation! queue: QueueMutation! - downloadclient: DownloadClientMutation! + client: ClientMutation! } type TorrentMutation { @@ -2661,8 +2669,8 @@ input TorrentReprocessInput { localSearchDisabled: Boolean } -type DownloadClientMutation { - download(infoHashes: [Hash20!]): Void +type ClientMutation { + sendTo(clientID: ClientID, infoHashes: [Hash20!]): Void } `, BuiltIn: false}, {Name: "../../graphql/schema/query.graphqls", Input: `type Query { @@ -2672,7 +2680,7 @@ type DownloadClientMutation { queue: QueueQuery! torrent: TorrentQuery! torrentContent: TorrentContentQuery! - downloadClient: DownloadClientConfigQuery! + sendToConfig: ClientSendToConfigQuery! } type TorrentQuery { @@ -2736,8 +2744,9 @@ type HealthQuery { checks: [HealthCheck!]! } -type DownloadClientConfigQuery { +type ClientSendToConfigQuery { enabled: Boolean! + sendTo: [ClientID!]! } `, BuiltIn: false}, {Name: "../../graphql/schema/queue.graphqls", Input: `type QueueQuery { @@ -3051,17 +3060,40 @@ var parsedSchema = gqlparser.MustLoadSchema(sources...) // region ***************************** args.gotpl ***************************** -func (ec *executionContext) field_DownloadClientMutation_download_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { +func (ec *executionContext) field_ClientMutation_sendTo_args(ctx context.Context, rawArgs map[string]any) (map[string]any, error) { var err error args := map[string]any{} - arg0, err := ec.field_DownloadClientMutation_download_argsInfoHashes(ctx, rawArgs) + arg0, err := ec.field_ClientMutation_sendTo_argsClientID(ctx, rawArgs) if err != nil { return nil, err } - args["infoHashes"] = arg0 + args["clientID"] = arg0 + arg1, err := ec.field_ClientMutation_sendTo_argsInfoHashes(ctx, rawArgs) + if err != nil { + return nil, err + } + args["infoHashes"] = arg1 return args, nil } -func (ec *executionContext) field_DownloadClientMutation_download_argsInfoHashes( +func (ec *executionContext) field_ClientMutation_sendTo_argsClientID( + ctx context.Context, + rawArgs map[string]any, +) (*gen.ClientID, error) { + if _, ok := rawArgs["clientID"]; !ok { + var zeroVal *gen.ClientID + return zeroVal, nil + } + + ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clientID")) + if tmp, ok := rawArgs["clientID"]; ok { + return ec.unmarshalOClientID2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx, tmp) + } + + var zeroVal *gen.ClientID + return zeroVal, nil +} + +func (ec *executionContext) field_ClientMutation_sendTo_argsInfoHashes( ctx context.Context, rawArgs map[string]any, ) ([]protocol.ID, error) { @@ -3660,6 +3692,146 @@ func (ec *executionContext) field___Type_fields_argsIncludeDeprecated( // region **************************** field.gotpl ***************************** +func (ec *executionContext) _ClientMutation_sendTo(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.ClientMutation) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_ClientMutation_sendTo(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + ctx = rctx // use context from middleware stack in children + return ec.resolvers.ClientMutation().SendTo(rctx, obj, fc.Args["clientID"].(*gen.ClientID), fc.Args["infoHashes"].([]protocol.ID)) + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + return graphql.Null + } + res := resTmp.(*string) + fc.Result = res + return ec.marshalOVoid2ᚖstring(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_ClientMutation_sendTo(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "ClientMutation", + Field: field, + IsMethod: true, + IsResolver: true, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Void does not have child fields") + }, + } + defer func() { + if r := recover(); r != nil { + err = ec.Recover(ctx, r) + ec.Error(ctx, err) + } + }() + ctx = graphql.WithFieldContext(ctx, fc) + if fc.Args, err = ec.field_ClientMutation_sendTo_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { + ec.Error(ctx, err) + return fc, err + } + return fc, nil +} + +func (ec *executionContext) _ClientSendToConfigQuery_enabled(ctx context.Context, field graphql.CollectedField, obj *gen.ClientSendToConfigQuery) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_ClientSendToConfigQuery_enabled(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + ctx = rctx // use context from middleware stack in children + return obj.Enabled, nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + if !graphql.HasFieldError(ctx, fc) { + ec.Errorf(ctx, "must not be null") + } + return graphql.Null + } + res := resTmp.(bool) + fc.Result = res + return ec.marshalNBoolean2bool(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_ClientSendToConfigQuery_enabled(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "ClientSendToConfigQuery", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type Boolean does not have child fields") + }, + } + return fc, nil +} + +func (ec *executionContext) _ClientSendToConfigQuery_sendTo(ctx context.Context, field graphql.CollectedField, obj *gen.ClientSendToConfigQuery) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_ClientSendToConfigQuery_sendTo(ctx, field) + if err != nil { + return graphql.Null + } + ctx = graphql.WithFieldContext(ctx, fc) + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = graphql.Null + } + }() + resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { + ctx = rctx // use context from middleware stack in children + return obj.SendTo, nil + }) + if err != nil { + ec.Error(ctx, err) + return graphql.Null + } + if resTmp == nil { + if !graphql.HasFieldError(ctx, fc) { + ec.Errorf(ctx, "must not be null") + } + return graphql.Null + } + res := resTmp.([]gen.ClientID) + fc.Result = res + return ec.marshalNClientID2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientIDᚄ(ctx, field.Selections, res) +} + +func (ec *executionContext) fieldContext_ClientSendToConfigQuery_sendTo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { + fc = &graphql.FieldContext{ + Object: "ClientSendToConfigQuery", + Field: field, + IsMethod: false, + IsResolver: false, + Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { + return nil, errors.New("field of type ClientID does not have child fields") + }, + } + return fc, nil +} + func (ec *executionContext) _Content_type(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_type(ctx, field) if err != nil { @@ -5315,8 +5487,8 @@ func (ec *executionContext) fieldContext_ContentTypeAgg_isEstimate(_ context.Con return fc, nil } -func (ec *executionContext) _DownloadClientConfigQuery_enabled(ctx context.Context, field graphql.CollectedField, obj *gen.DownloadClientConfigQuery) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_DownloadClientConfigQuery_enabled(ctx, field) +func (ec *executionContext) _Episodes_label(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.Episodes) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_Episodes_label(ctx, field) if err != nil { return graphql.Null } @@ -5329,7 +5501,7 @@ func (ec *executionContext) _DownloadClientConfigQuery_enabled(ctx context.Conte }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children - return obj.Enabled, nil + return obj.Label, nil }) if err != nil { ec.Error(ctx, err) @@ -5341,26 +5513,26 @@ func (ec *executionContext) _DownloadClientConfigQuery_enabled(ctx context.Conte } return graphql.Null } - res := resTmp.(bool) + res := resTmp.(string) fc.Result = res - return ec.marshalNBoolean2bool(ctx, field.Selections, res) + return ec.marshalNString2string(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_DownloadClientConfigQuery_enabled(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_Episodes_label(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ - Object: "DownloadClientConfigQuery", + Object: "Episodes", Field: field, IsMethod: false, IsResolver: false, Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Boolean does not have child fields") + return nil, errors.New("field of type String does not have child fields") }, } return fc, nil } -func (ec *executionContext) _DownloadClientMutation_download(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.DownloadClientMutation) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_DownloadClientMutation_download(ctx, field) +func (ec *executionContext) _Episodes_seasons(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.Episodes) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_Episodes_seasons(ctx, field) if err != nil { return graphql.Null } @@ -5373,46 +5545,44 @@ func (ec *executionContext) _DownloadClientMutation_download(ctx context.Context }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.DownloadClientMutation().Download(rctx, obj, fc.Args["infoHashes"].([]protocol.ID)) + return obj.Seasons, nil }) if err != nil { ec.Error(ctx, err) return graphql.Null } if resTmp == nil { + if !graphql.HasFieldError(ctx, fc) { + ec.Errorf(ctx, "must not be null") + } return graphql.Null } - res := resTmp.(*string) + res := resTmp.([]model.Season) fc.Result = res - return ec.marshalOVoid2ᚖstring(ctx, field.Selections, res) + return ec.marshalNSeason2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐSeasonᚄ(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_DownloadClientMutation_download(ctx context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_Episodes_seasons(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ - Object: "DownloadClientMutation", + Object: "Episodes", Field: field, - IsMethod: true, - IsResolver: true, + IsMethod: false, + IsResolver: false, Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type Void does not have child fields") + switch field.Name { + case "season": + return ec.fieldContext_Season_season(ctx, field) + case "episodes": + return ec.fieldContext_Season_episodes(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type Season", field.Name) }, } - defer func() { - if r := recover(); r != nil { - err = ec.Recover(ctx, r) - ec.Error(ctx, err) - } - }() - ctx = graphql.WithFieldContext(ctx, fc) - if fc.Args, err = ec.field_DownloadClientMutation_download_args(ctx, field.ArgumentMap(ec.Variables)); err != nil { - ec.Error(ctx, err) - return fc, err - } return fc, nil } -func (ec *executionContext) _Episodes_label(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.Episodes) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Episodes_label(ctx, field) +func (ec *executionContext) _ExternalLink_metadataSource(ctx context.Context, field graphql.CollectedField, obj *model.ExternalLink) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_ExternalLink_metadataSource(ctx, field) if err != nil { return graphql.Null } @@ -5425,7 +5595,7 @@ func (ec *executionContext) _Episodes_label(ctx context.Context, field graphql.C }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children - return obj.Label, nil + return obj.MetadataSource, nil }) if err != nil { ec.Error(ctx, err) @@ -5437,119 +5607,25 @@ func (ec *executionContext) _Episodes_label(ctx context.Context, field graphql.C } return graphql.Null } - res := resTmp.(string) + res := resTmp.(model.MetadataSource) fc.Result = res - return ec.marshalNString2string(ctx, field.Selections, res) + return ec.marshalNMetadataSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐMetadataSource(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_Episodes_label(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_ExternalLink_metadataSource(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ - Object: "Episodes", + Object: "ExternalLink", Field: field, IsMethod: false, IsResolver: false, Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - return nil, errors.New("field of type String does not have child fields") - }, - } - return fc, nil -} - -func (ec *executionContext) _Episodes_seasons(ctx context.Context, field graphql.CollectedField, obj *gqlmodel.Episodes) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Episodes_seasons(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { - ctx = rctx // use context from middleware stack in children - return obj.Seasons, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.([]model.Season) - fc.Result = res - return ec.marshalNSeason2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐSeasonᚄ(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_Episodes_seasons(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "Episodes", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "season": - return ec.fieldContext_Season_season(ctx, field) - case "episodes": - return ec.fieldContext_Season_episodes(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type Season", field.Name) - }, - } - return fc, nil -} - -func (ec *executionContext) _ExternalLink_metadataSource(ctx context.Context, field graphql.CollectedField, obj *model.ExternalLink) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_ExternalLink_metadataSource(ctx, field) - if err != nil { - return graphql.Null - } - ctx = graphql.WithFieldContext(ctx, fc) - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = graphql.Null - } - }() - resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { - ctx = rctx // use context from middleware stack in children - return obj.MetadataSource, nil - }) - if err != nil { - ec.Error(ctx, err) - return graphql.Null - } - if resTmp == nil { - if !graphql.HasFieldError(ctx, fc) { - ec.Errorf(ctx, "must not be null") - } - return graphql.Null - } - res := resTmp.(model.MetadataSource) - fc.Result = res - return ec.marshalNMetadataSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐMetadataSource(ctx, field.Selections, res) -} - -func (ec *executionContext) fieldContext_ExternalLink_metadataSource(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { - fc = &graphql.FieldContext{ - Object: "ExternalLink", - Field: field, - IsMethod: false, - IsResolver: false, - Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { - switch field.Name { - case "key": - return ec.fieldContext_MetadataSource_key(ctx, field) - case "name": - return ec.fieldContext_MetadataSource_name(ctx, field) - } - return nil, fmt.Errorf("no field named %q was found under type MetadataSource", field.Name) + switch field.Name { + case "key": + return ec.fieldContext_MetadataSource_key(ctx, field) + case "name": + return ec.fieldContext_MetadataSource_name(ctx, field) + } + return nil, fmt.Errorf("no field named %q was found under type MetadataSource", field.Name) }, } return fc, nil @@ -6504,8 +6580,8 @@ func (ec *executionContext) fieldContext_Mutation_queue(_ context.Context, field return fc, nil } -func (ec *executionContext) _Mutation_downloadclient(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Mutation_downloadclient(ctx, field) +func (ec *executionContext) _Mutation_client(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_Mutation_client(ctx, field) if err != nil { return graphql.Null } @@ -6518,7 +6594,7 @@ func (ec *executionContext) _Mutation_downloadclient(ctx context.Context, field }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.Mutation().Downloadclient(rctx) + return ec.resolvers.Mutation().Client(rctx) }) if err != nil { ec.Error(ctx, err) @@ -6530,12 +6606,12 @@ func (ec *executionContext) _Mutation_downloadclient(ctx context.Context, field } return graphql.Null } - res := resTmp.(gqlmodel.DownloadClientMutation) + res := resTmp.(gqlmodel.ClientMutation) fc.Result = res - return ec.marshalNDownloadClientMutation2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐDownloadClientMutation(ctx, field.Selections, res) + return ec.marshalNClientMutation2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐClientMutation(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_Mutation_downloadclient(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_Mutation_client(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "Mutation", Field: field, @@ -6543,10 +6619,10 @@ func (ec *executionContext) fieldContext_Mutation_downloadclient(_ context.Conte IsResolver: true, Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { switch field.Name { - case "download": - return ec.fieldContext_DownloadClientMutation_download(ctx, field) + case "sendTo": + return ec.fieldContext_ClientMutation_sendTo(ctx, field) } - return nil, fmt.Errorf("no field named %q was found under type DownloadClientMutation", field.Name) + return nil, fmt.Errorf("no field named %q was found under type ClientMutation", field.Name) }, } return fc, nil @@ -6846,8 +6922,8 @@ func (ec *executionContext) fieldContext_Query_torrentContent(_ context.Context, return fc, nil } -func (ec *executionContext) _Query_downloadClient(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { - fc, err := ec.fieldContext_Query_downloadClient(ctx, field) +func (ec *executionContext) _Query_sendToConfig(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) { + fc, err := ec.fieldContext_Query_sendToConfig(ctx, field) if err != nil { return graphql.Null } @@ -6860,7 +6936,7 @@ func (ec *executionContext) _Query_downloadClient(ctx context.Context, field gra }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.Query().DownloadClient(rctx) + return ec.resolvers.Query().SendToConfig(rctx) }) if err != nil { ec.Error(ctx, err) @@ -6872,12 +6948,12 @@ func (ec *executionContext) _Query_downloadClient(ctx context.Context, field gra } return graphql.Null } - res := resTmp.(gen.DownloadClientConfigQuery) + res := resTmp.(gen.ClientSendToConfigQuery) fc.Result = res - return ec.marshalNDownloadClientConfigQuery2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐDownloadClientConfigQuery(ctx, field.Selections, res) + return ec.marshalNClientSendToConfigQuery2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientSendToConfigQuery(ctx, field.Selections, res) } -func (ec *executionContext) fieldContext_Query_downloadClient(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { +func (ec *executionContext) fieldContext_Query_sendToConfig(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { fc = &graphql.FieldContext{ Object: "Query", Field: field, @@ -6886,9 +6962,11 @@ func (ec *executionContext) fieldContext_Query_downloadClient(_ context.Context, Child: func(ctx context.Context, field graphql.CollectedField) (*graphql.FieldContext, error) { switch field.Name { case "enabled": - return ec.fieldContext_DownloadClientConfigQuery_enabled(ctx, field) + return ec.fieldContext_ClientSendToConfigQuery_enabled(ctx, field) + case "sendTo": + return ec.fieldContext_ClientSendToConfigQuery_sendTo(ctx, field) } - return nil, fmt.Errorf("no field named %q was found under type DownloadClientConfigQuery", field.Name) + return nil, fmt.Errorf("no field named %q was found under type ClientSendToConfigQuery", field.Name) }, } return fc, nil @@ -17355,6 +17433,117 @@ func (ec *executionContext) unmarshalInputVideoSourceFacetInput(ctx context.Cont // region **************************** object.gotpl **************************** +var clientMutationImplementors = []string{"ClientMutation"} + +func (ec *executionContext) _ClientMutation(ctx context.Context, sel ast.SelectionSet, obj *gqlmodel.ClientMutation) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, clientMutationImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("ClientMutation") + case "sendTo": + field := field + + innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + } + }() + res = ec._ClientMutation_sendTo(ctx, field, obj) + return res + } + + if field.Deferrable != nil { + dfs, ok := deferred[field.Deferrable.Label] + di := 0 + if ok { + dfs.AddField(field) + di = len(dfs.Values) - 1 + } else { + dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) + deferred[field.Deferrable.Label] = dfs + } + dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { + return innerFunc(ctx, dfs) + }) + + // don't run the out.Concurrently() call below + out.Values[i] = graphql.Null + continue + } + + out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + +var clientSendToConfigQueryImplementors = []string{"ClientSendToConfigQuery"} + +func (ec *executionContext) _ClientSendToConfigQuery(ctx context.Context, sel ast.SelectionSet, obj *gen.ClientSendToConfigQuery) graphql.Marshaler { + fields := graphql.CollectFields(ec.OperationContext, sel, clientSendToConfigQueryImplementors) + + out := graphql.NewFieldSet(fields) + deferred := make(map[string]*graphql.FieldSet) + for i, field := range fields { + switch field.Name { + case "__typename": + out.Values[i] = graphql.MarshalString("ClientSendToConfigQuery") + case "enabled": + out.Values[i] = ec._ClientSendToConfigQuery_enabled(ctx, field, obj) + if out.Values[i] == graphql.Null { + out.Invalids++ + } + case "sendTo": + out.Values[i] = ec._ClientSendToConfigQuery_sendTo(ctx, field, obj) + if out.Values[i] == graphql.Null { + out.Invalids++ + } + default: + panic("unknown field " + strconv.Quote(field.Name)) + } + } + out.Dispatch(ctx) + if out.Invalids > 0 { + return graphql.Null + } + + atomic.AddInt32(&ec.deferred, int32(len(deferred))) + + for label, dfs := range deferred { + ec.processDeferredGroup(graphql.DeferredGroup{ + Label: label, + Path: graphql.GetPath(ctx), + FieldSet: dfs, + Context: ctx, + }) + } + + return out +} + var contentImplementors = []string{"Content"} func (ec *executionContext) _Content(ctx context.Context, sel ast.SelectionSet, obj *model.Content) graphql.Marshaler { @@ -17674,112 +17863,6 @@ func (ec *executionContext) _ContentTypeAgg(ctx context.Context, sel ast.Selecti return out } -var downloadClientConfigQueryImplementors = []string{"DownloadClientConfigQuery"} - -func (ec *executionContext) _DownloadClientConfigQuery(ctx context.Context, sel ast.SelectionSet, obj *gen.DownloadClientConfigQuery) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, downloadClientConfigQueryImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("DownloadClientConfigQuery") - case "enabled": - out.Values[i] = ec._DownloadClientConfigQuery_enabled(ctx, field, obj) - if out.Values[i] == graphql.Null { - out.Invalids++ - } - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - -var downloadClientMutationImplementors = []string{"DownloadClientMutation"} - -func (ec *executionContext) _DownloadClientMutation(ctx context.Context, sel ast.SelectionSet, obj *gqlmodel.DownloadClientMutation) graphql.Marshaler { - fields := graphql.CollectFields(ec.OperationContext, sel, downloadClientMutationImplementors) - - out := graphql.NewFieldSet(fields) - deferred := make(map[string]*graphql.FieldSet) - for i, field := range fields { - switch field.Name { - case "__typename": - out.Values[i] = graphql.MarshalString("DownloadClientMutation") - case "download": - field := field - - innerFunc := func(ctx context.Context, _ *graphql.FieldSet) (res graphql.Marshaler) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - } - }() - res = ec._DownloadClientMutation_download(ctx, field, obj) - return res - } - - if field.Deferrable != nil { - dfs, ok := deferred[field.Deferrable.Label] - di := 0 - if ok { - dfs.AddField(field) - di = len(dfs.Values) - 1 - } else { - dfs = graphql.NewFieldSet([]graphql.CollectedField{field}) - deferred[field.Deferrable.Label] = dfs - } - dfs.Concurrently(di, func(ctx context.Context) graphql.Marshaler { - return innerFunc(ctx, dfs) - }) - - // don't run the out.Concurrently() call below - out.Values[i] = graphql.Null - continue - } - - out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return innerFunc(ctx, out) }) - default: - panic("unknown field " + strconv.Quote(field.Name)) - } - } - out.Dispatch(ctx) - if out.Invalids > 0 { - return graphql.Null - } - - atomic.AddInt32(&ec.deferred, int32(len(deferred))) - - for label, dfs := range deferred { - ec.processDeferredGroup(graphql.DeferredGroup{ - Label: label, - Path: graphql.GetPath(ctx), - FieldSet: dfs, - Context: ctx, - }) - } - - return out -} - var episodesImplementors = []string{"Episodes"} func (ec *executionContext) _Episodes(ctx context.Context, sel ast.SelectionSet, obj *gqlmodel.Episodes) graphql.Marshaler { @@ -18192,9 +18275,9 @@ func (ec *executionContext) _Mutation(ctx context.Context, sel ast.SelectionSet) if out.Values[i] == graphql.Null { out.Invalids++ } - case "downloadclient": + case "client": out.Values[i] = ec.OperationContext.RootResolverMiddleware(innerCtx, func(ctx context.Context) (res graphql.Marshaler) { - return ec._Mutation_downloadclient(ctx, field) + return ec._Mutation_client(ctx, field) }) if out.Values[i] == graphql.Null { out.Invalids++ @@ -18373,7 +18456,7 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr } out.Concurrently(i, func(ctx context.Context) graphql.Marshaler { return rrm(innerCtx) }) - case "downloadClient": + case "sendToConfig": field := field innerFunc := func(ctx context.Context, fs *graphql.FieldSet) (res graphql.Marshaler) { @@ -18382,7 +18465,7 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr ec.Error(ctx, ec.Recover(ctx, r)) } }() - res = ec._Query_downloadClient(ctx, field) + res = ec._Query_sendToConfig(ctx, field) if res == graphql.Null { atomic.AddUint32(&fs.Invalids, 1) } @@ -21064,6 +21147,85 @@ func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.Se return res } +func (ec *executionContext) unmarshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx context.Context, v any) (gen.ClientID, error) { + var res gen.ClientID + err := res.UnmarshalGQL(v) + return res, graphql.ErrorOnPath(ctx, err) +} + +func (ec *executionContext) marshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx context.Context, sel ast.SelectionSet, v gen.ClientID) graphql.Marshaler { + return v +} + +func (ec *executionContext) unmarshalNClientID2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientIDᚄ(ctx context.Context, v any) ([]gen.ClientID, error) { + var vSlice []any + if v != nil { + vSlice = graphql.CoerceList(v) + } + var err error + res := make([]gen.ClientID, len(vSlice)) + for i := range vSlice { + ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) + res[i], err = ec.unmarshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx, vSlice[i]) + if err != nil { + return nil, err + } + } + return res, nil +} + +func (ec *executionContext) marshalNClientID2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientIDᚄ(ctx context.Context, sel ast.SelectionSet, v []gen.ClientID) graphql.Marshaler { + ret := make(graphql.Array, len(v)) + var wg sync.WaitGroup + isLen1 := len(v) == 1 + if !isLen1 { + wg.Add(len(v)) + } + for i := range v { + i := i + fc := &graphql.FieldContext{ + Index: &i, + Result: &v[i], + } + ctx := graphql.WithFieldContext(ctx, fc) + f := func(i int) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = nil + } + }() + if !isLen1 { + defer wg.Done() + } + ret[i] = ec.marshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx, sel, v[i]) + } + if isLen1 { + f(i) + } else { + go f(i) + } + + } + wg.Wait() + + for _, e := range ret { + if e == graphql.Null { + return graphql.Null + } + } + + return ret +} + +func (ec *executionContext) marshalNClientMutation2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐClientMutation(ctx context.Context, sel ast.SelectionSet, v gqlmodel.ClientMutation) graphql.Marshaler { + return ec._ClientMutation(ctx, sel, &v) +} + +func (ec *executionContext) marshalNClientSendToConfigQuery2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientSendToConfigQuery(ctx context.Context, sel ast.SelectionSet, v gen.ClientSendToConfigQuery) graphql.Marshaler { + return ec._ClientSendToConfigQuery(ctx, sel, &v) +} + func (ec *executionContext) marshalNContentAttribute2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentAttribute(ctx context.Context, sel ast.SelectionSet, v model.ContentAttribute) graphql.Marshaler { return ec._ContentAttribute(ctx, sel, &v) } @@ -21195,14 +21357,6 @@ func (ec *executionContext) marshalNDateTime2timeᚐTime(ctx context.Context, se return res } -func (ec *executionContext) marshalNDownloadClientConfigQuery2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐDownloadClientConfigQuery(ctx context.Context, sel ast.SelectionSet, v gen.DownloadClientConfigQuery) graphql.Marshaler { - return ec._DownloadClientConfigQuery(ctx, sel, &v) -} - -func (ec *executionContext) marshalNDownloadClientMutation2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚐDownloadClientMutation(ctx context.Context, sel ast.SelectionSet, v gqlmodel.DownloadClientMutation) graphql.Marshaler { - return ec._DownloadClientMutation(ctx, sel, &v) -} - func (ec *executionContext) marshalNExternalLink2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐExternalLink(ctx context.Context, sel ast.SelectionSet, v model.ExternalLink) graphql.Marshaler { return ec._ExternalLink(ctx, sel, &v) } @@ -22498,6 +22652,22 @@ func (ec *executionContext) marshalOBoolean2ᚖbool(ctx context.Context, sel ast return res } +func (ec *executionContext) unmarshalOClientID2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx context.Context, v any) (*gen.ClientID, error) { + if v == nil { + return nil, nil + } + var res = new(gen.ClientID) + err := res.UnmarshalGQL(v) + return res, graphql.ErrorOnPath(ctx, err) +} + +func (ec *executionContext) marshalOClientID2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx context.Context, sel ast.SelectionSet, v *gen.ClientID) graphql.Marshaler { + if v == nil { + return graphql.Null + } + return v +} + func (ec *executionContext) marshalOContent2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContent(ctx context.Context, sel ast.SelectionSet, v *model.Content) graphql.Marshaler { if v == nil { return graphql.Null diff --git a/internal/gql/gqlmodel/client.go b/internal/gql/gqlmodel/client.go new file mode 100644 index 00000000..f66be420 --- /dev/null +++ b/internal/gql/gqlmodel/client.go @@ -0,0 +1,3 @@ +package gqlmodel + +type ClientMutation struct{} diff --git a/internal/gql/gqlmodel/downloadclient.go b/internal/gql/gqlmodel/downloadclient.go deleted file mode 100644 index 9f040b19..00000000 --- a/internal/gql/gqlmodel/downloadclient.go +++ /dev/null @@ -1,3 +0,0 @@ -package gqlmodel - -type DownloadClientMutation struct{} diff --git a/internal/gql/gqlmodel/gen/model.gen.go b/internal/gql/gqlmodel/gen/model.gen.go index 5218b26a..9ff0eb90 100644 --- a/internal/gql/gqlmodel/gen/model.gen.go +++ b/internal/gql/gqlmodel/gen/model.gen.go @@ -15,6 +15,11 @@ import ( "github.com/bitmagnet-io/bitmagnet/internal/protocol" ) +type ClientSendToConfigQuery struct { + Enabled bool `json:"enabled"` + SendTo []ClientID `json:"sendTo"` +} + type ContentTypeAgg struct { Value *model.ContentType `json:"value,omitempty"` Label string `json:"label"` @@ -27,10 +32,6 @@ type ContentTypeFacetInput struct { Filter graphql.Omittable[[]*model.ContentType] `json:"filter,omitempty"` } -type DownloadClientConfigQuery struct { - Enabled bool `json:"enabled"` -} - type GenreAgg struct { Value string `json:"value"` Label string `json:"label"` diff --git a/internal/gql/resolvers/mutation.resolvers.go b/internal/gql/resolvers/mutation.resolvers.go index 990a020c..ef798184 100644 --- a/internal/gql/resolvers/mutation.resolvers.go +++ b/internal/gql/resolvers/mutation.resolvers.go @@ -16,16 +16,13 @@ import ( "github.com/bitmagnet-io/bitmagnet/internal/protocol" ) -// Download is the resolver for the download field. -func (r *downloadClientMutationResolver) Download(ctx context.Context, obj *gqlmodel.DownloadClientMutation, infoHashes []protocol.ID) (*string, error) { - c := client.New(&r.ClientConfig, r.Search) - err := c.AddInfoHashes(ctx, +// SendTo is the resolver for the sendTo field. +func (r *clientMutationResolver) SendTo(ctx context.Context, obj *gqlmodel.ClientMutation, clientID *gen.ClientID, infoHashes []protocol.ID) (*string, error) { + return nil, client.New(&r.ClientConfig, r.Search).AddInfoHashes(ctx, client.AddInfoHashesRequest{ - ClientID: r.ClientConfig.DownloadClient, + ClientID: *clientID, InfoHashes: infoHashes, }) - - return nil, err } // Torrent is the resolver for the torrent field. @@ -38,9 +35,9 @@ func (r *mutationResolver) Queue(ctx context.Context) (gqlmodel.QueueMutation, e return gqlmodel.QueueMutation{QueueManager: r.QueueManager}, nil } -// Downloadclient is the resolver for the downloadclient field. -func (r *mutationResolver) Downloadclient(ctx context.Context) (gqlmodel.DownloadClientMutation, error) { - return gqlmodel.DownloadClientMutation{}, nil +// Client is the resolver for the client field. +func (r *mutationResolver) Client(ctx context.Context) (gqlmodel.ClientMutation, error) { + return gqlmodel.ClientMutation{}, nil } // Delete is the resolver for the delete field. @@ -89,10 +86,8 @@ func (r *torrentMutationResolver) Reprocess(ctx context.Context, obj *gqlmodel.T return nil, r.Processor.Process(ctx, params) } -// DownloadClientMutation returns gql.DownloadClientMutationResolver implementation. -func (r *Resolver) DownloadClientMutation() gql.DownloadClientMutationResolver { - return &downloadClientMutationResolver{r} -} +// ClientMutation returns gql.ClientMutationResolver implementation. +func (r *Resolver) ClientMutation() gql.ClientMutationResolver { return &clientMutationResolver{r} } // Mutation returns gql.MutationResolver implementation. func (r *Resolver) Mutation() gql.MutationResolver { return &mutationResolver{r} } @@ -100,6 +95,6 @@ func (r *Resolver) Mutation() gql.MutationResolver { return &mutationResolver{r} // TorrentMutation returns gql.TorrentMutationResolver implementation. func (r *Resolver) TorrentMutation() gql.TorrentMutationResolver { return &torrentMutationResolver{r} } -type downloadClientMutationResolver struct{ *Resolver } +type clientMutationResolver struct{ *Resolver } type mutationResolver struct{ *Resolver } type torrentMutationResolver struct{ *Resolver } diff --git a/internal/gql/resolvers/query.resolvers.go b/internal/gql/resolvers/query.resolvers.go index 6ba502cf..0197a5ef 100644 --- a/internal/gql/resolvers/query.resolvers.go +++ b/internal/gql/resolvers/query.resolvers.go @@ -105,10 +105,11 @@ func (r *queryResolver) TorrentContent(ctx context.Context) (gqlmodel.TorrentCon }, nil } -// DownloadClient is the resolver for the downloadClient field. -func (r *queryResolver) DownloadClient(ctx context.Context) (gen.DownloadClientConfigQuery, error) { - return gen.DownloadClientConfigQuery{ +// SendToConfig is the resolver for the sendToConfig field. +func (r *queryResolver) SendToConfig(ctx context.Context) (gen.ClientSendToConfigQuery, error) { + return gen.ClientSendToConfigQuery{ Enabled: r.ClientConfig.Enabled, + SendTo: r.ClientConfig.All(), }, nil } diff --git a/webui/dist/bitmagnet/browser/chunk-P4IGP6ZM.js b/webui/dist/bitmagnet/browser/chunk-4IZ4BZMF.js similarity index 90% rename from webui/dist/bitmagnet/browser/chunk-P4IGP6ZM.js rename to webui/dist/bitmagnet/browser/chunk-4IZ4BZMF.js index 414fa63c..6427f2de 100644 --- a/webui/dist/bitmagnet/browser/chunk-P4IGP6ZM.js +++ b/webui/dist/bitmagnet/browser/chunk-4IZ4BZMF.js @@ -1 +1 @@ -import{p as m,q as t}from"./chunk-HZYDZMJ4.js";import{B as s,ba as o,ka as n,qa as p}from"./chunk-Z3WUIYN5.js";var a=["XSmall","Small","Medium","Large","XLarge"],d=(()=>{class i{constructor(){this.breakpointObserver=p(m),this.state=this.breakpointObserver.observe([t.XSmall,t.Small,t.Medium,t.Large,t.XLarge]).pipe(s(e=>e.breakpoints),o()),this.size$=this.state.pipe(s(e=>a.find(r=>e[t[r]])??"Medium")),this.size="Medium",this.size$.subscribe(e=>{this.size=e})}sizeAtLeast(e){return a.indexOf(e)<=a.indexOf(this.size)}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=n({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();export{d as a}; +import{p as m,q as t}from"./chunk-K5VIU67A.js";import{B as s,ba as o,ka as n,qa as p}from"./chunk-Z3WUIYN5.js";var a=["XSmall","Small","Medium","Large","XLarge"],d=(()=>{class i{constructor(){this.breakpointObserver=p(m),this.state=this.breakpointObserver.observe([t.XSmall,t.Small,t.Medium,t.Large,t.XLarge]).pipe(s(e=>e.breakpoints),o()),this.size$=this.state.pipe(s(e=>a.find(r=>e[t[r]])??"Medium")),this.size="Medium",this.size$.subscribe(e=>{this.size=e})}sizeAtLeast(e){return a.indexOf(e)<=a.indexOf(this.size)}static{this.\u0275fac=function(r){return new(r||i)}}static{this.\u0275prov=n({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();export{d as a}; diff --git a/webui/dist/bitmagnet/browser/chunk-OUPXCRLE.js b/webui/dist/bitmagnet/browser/chunk-5NKXLN2Y.js similarity index 99% rename from webui/dist/bitmagnet/browser/chunk-OUPXCRLE.js rename to webui/dist/bitmagnet/browser/chunk-5NKXLN2Y.js index 2389e210..9713c7cb 100644 --- a/webui/dist/bitmagnet/browser/chunk-OUPXCRLE.js +++ b/webui/dist/bitmagnet/browser/chunk-5NKXLN2Y.js @@ -1 +1 @@ -import{a as Ue,b as Ge,c as te,d as Ke,e as Ye,f as ie,g as Je,h as We,i as j,j as Xe,k as Ze,l as et}from"./chunk-6OKZFKY7.js";import{a as Fe,b as ee,c as I}from"./chunk-BYSPLPNN.js";import{e as Z}from"./chunk-Y7K23DTG.js";import{b as He}from"./chunk-RQ2LQKI2.js";import{l as Re}from"./chunk-42PJPEMD.js";import{a as Te}from"./chunk-FNMD7JET.js";import{a as Le}from"./chunk-P4IGP6ZM.js";import{a as $e}from"./chunk-DSEDLZDW.js";import{Ba as De,Ea as Pe,Fa as Qe,J as qe,P as K,S as Ve,V as Y,W as Be,X as Oe,_ as J,_a as je,a as U,b as xe,h as ye,oa as Ee,s as Se,t as we,ta as W,ua as Ie,w as G,wa as X,xa as ze,ya as Ne,za as Ae}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{$b as d,B as le,Cb as fe,Ea as b,Fa as g,Hb as l,Kb as N,N as ue,Nb as A,Ob as D,Pb as P,Q as re,Qb as s,Rb as u,Sb as $,Tb as _e,Ub as he,Wb as ae,Zb as C,a as y,ad as Me,b as S,ka as H,kb as c,kc as f,l as Q,la as me,lc as V,mc as be,o as ce,pc as ge,qa as q,tc as Ce,ua as pe,va as de,vc as ke,wc as ve}from"./chunk-Z3WUIYN5.js";var tt=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=de({type:n})}static{this.\u0275inj=me({imports:[K,X,Ee,we,G,Y,J,W,Ae,Ne,ee]})}}return n})();var mt={pending:"primary",processed:"success",failed:"error",retry:"caution"},it=(()=>{class n{constructor(){this.themeInfo=q(Z),this.transloco=q(U)}create(e,i){let{colors:t}=this.themeInfo.info,a=Array(),r=[];if(e&&Array.from(new Set(e.queues.flatMap(v=>v.events?[v.events.earliestBucket,v.events.latestBucket]:[]))).sort().length){let v=e.queues.filter(m=>!m.isEmpty);a.push(...v.map(m=>m.queue));let h=Array();switch(e.params.event){case"created":h.push("pending");break;case"processed":h.push("processed");break;case"failed":h.push("retry","failed");break;default:h.push(...Je);break}r.push(...h.map(m=>({label:this.transloco.translate("dashboard.queues."+m),data:v.map(_=>_.statusCounts[m]),backgroundColor:t[I(mt[m],50)]})))}return{type:"bar",options:{animation:!1,responsive:!0,scales:{x:{ticks:{callback:k=>parseInt(k).toLocaleString(this.transloco.getActiveLang())}},y:{}},indexAxis:"y",plugins:{legend:{display:i.legend}}},data:{labels:a,datasets:r}}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var L="\\d+",se="".concat(L,"(?:[\\.,]").concat(L,")?"),pt="(".concat(L,"Y)?(").concat(L,"M)?(").concat(L,"W)?(").concat(L,"D)?"),dt="T(".concat(se,"H)?(").concat(se,"M)?(").concat(se,"S)?"),ft="P(?:".concat(pt,"(?:").concat(dt,")?)"),_t=["years","months","weeks","days","hours","minutes","seconds"],nt={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0},ht=new RegExp(ft),rt=function(n){let o=n.replace(/,/g,".").match(ht);if(!o)throw new RangeError("invalid duration: ".concat(n));let e=o.slice(1);if(e.filter(function(i){return i!=null}).length===0)throw new RangeError("invalid duration: ".concat(n));if(e.filter(function(i){return/\./.test(i||"")}).length>1)throw new RangeError("only the smallest unit can be fractional");return e.reduce(function(i,t,a){return Object.assign(i,{[_t[a]]:parseFloat(t||"0")||0}),i},{})},bt=function(n,o){o||(o=new Date);let e=Object.assign({},nt,n),i=o.getTime(),t=new Date(i);t.setFullYear(t.getFullYear()+e.years),t.setMonth(t.getMonth()+e.months),t.setDate(t.getDate()+e.days);let a=e.hours*3600*1e3,r=e.minutes*60*1e3;return t.setMilliseconds(t.getMilliseconds()+e.seconds*1e3+a+r),t.setDate(t.getDate()+e.weeks*7),t},at=function(n,o){o||(o=new Date);let e=Object.assign({},nt,n),i=o.getTime(),t=new Date(i),a=bt(e,t),r=o.getTimezoneOffset(),k=a.getTimezoneOffset(),v=(r-k)*60;return(a.getTime()-t.getTime())/1e3+v};var ne=class{constructor(o,e=Ke,i){this.apollo=o,this.errorsService=i,this.rawResultSubject=new Q({queue:{metrics:{buckets:[]}}}),this.resultSubject=new Q(Ye),this.result$=this.resultSubject.asObservable(),this.loadingSubject=new Q(!1),this.paramsSubject=new Q(e),this.params$=this.paramsSubject.asObservable(),this.variablesSubject=new Q(ot(e)),this.paramsSubject.pipe(re(50)).subscribe(t=>{let a=this.variablesSubject.getValue(),r=ot(t);JSON.stringify(a)!==JSON.stringify(r)?this.variablesSubject.next(r):this.resultSubject.next(ct(t,this.rawResultSubject.getValue()))}),this.variablesSubject.pipe(re(50)).subscribe(t=>this.request(t)),this.rawResultSubject.subscribe(t=>{let a=this.paramsSubject.getValue();this.resultSubject.next(ct(a,t)),this.setInterval(a.autoRefresh)})}setInterval(o){clearTimeout(this.refreshTimeout);let e=et[o??this.params.autoRefresh];e&&(this.refreshTimeout=setTimeout(()=>{this.refresh()},e*1e3))}get params(){return this.paramsSubject.getValue()}get bucketDuration(){let o=this.params.buckets.duration;return o==="AUTO"?"hour":o}get bucketMultiplier(){return this.resultSubject.getValue().params.buckets.multiplier??this.params.buckets.multiplier}get loading(){return this.loadingSubject.getValue()}setTimeframe(o){this.updateParams(e=>S(y({},e),{buckets:S(y({},e.buckets),{timeframe:o})}))}setQueue(o){this.updateParams(e=>S(y({},e),{queue:o??void 0}))}setBucketDuration(o,e){this.updateParams(i=>S(y({},i),{buckets:S(y({},i.buckets),{duration:o,multiplier:e??"AUTO"})}))}setBucketMultiplier(o){this.updateParams(e=>S(y({},e),{buckets:S(y({},e.buckets),{multiplier:o})}))}setEvent(o){this.updateParams(e=>S(y({},e),{event:o??void 0}))}setAutoRefreshInterval(o){this.updateParams(e=>S(y({},e),{autoRefresh:o}))}updateParams(o){this.paramsSubject.next(o(this.params))}refresh(){this.variablesSubject.next(this.variablesSubject.getValue())}request(o){return clearTimeout(this.refreshTimeout),this.loadingSubject.next(!0),this.apollo.query({query:qe,variables:o,fetchPolicy:"no-cache"}).pipe(le(e=>{e&&(this.loadingSubject.next(!1),this.rawResultSubject.next(e.data))})).pipe(ue(e=>(this.errorsService.addError(`Failed to load queue metrics: ${e.message}`),this.loadingSubject.next(!1),this.setInterval(),ce))).subscribe()}},ot=n=>({input:{bucketDuration:n.buckets.duration==="AUTO"?"hour":n.buckets.duration,queues:n.queue?[n.queue]:void 0,startTime:n.buckets.timeframe==="all"?void 0:new Date(new Date().getTime()-1e3*j[n.buckets.timeframe]).toISOString()}}),st=n=>Object.fromEntries(n),ct=(n,o)=>{let{bucketParams:e,earliestBucket:i,latestBucket:t}=gt(n,o),a=Object.entries(o.queue.metrics.buckets.reduce((h,m)=>{if(m.queue!==(n.queue??m.queue))return h;let _,p;if((n.event??!0)&&(_=B(m.createdAtBucket,e),i&&i.index>_.index&&(_=void 0)),m.ranAtBucket&&n.event!=="created"&&(p=B(m.ranAtBucket,e),p&&(t.indexp.index)&&(p=void 0)),m.queue!==n.queue&&!_&&(!p||m.status==="pending"))return h;let[M,w]=h[m.queue]??[Ue,[]],x=m.latency?at(rt(m.latency)):void 0;return S(y({},h),{[m.queue]:[(m.status==="pending"?_:p)?S(y({},M),{[m.status]:m.count+M[m.status]}):M,{created:_?S(y({},w.created),{[_.key]:{count:m.count+(w.created?.[_.key]?.count??0),latency:0,startTime:_.start}}):w.created,processed:p&&m.status==="processed"&&(n.event??!0)?S(y({},w.processed),{[p.key]:{count:m.count+(w.processed?.[p.key]?.count??0),latency:(w.processed?.[p.key]?.latency??0)+(x??0),startTime:p.start}}):w.processed,failed:p&&m.status==="failed"&&(n.event??!0)?S(y({},w.failed),{[p.key]:{count:m.count+(w.failed?.[p.key]?.count??0),latency:(w.failed?.[p.key]?.latency??0)+(x??0),startTime:p.start}}):w.failed}]})},{})).map(([h,[m,_]])=>{let p;if(Object.keys(_).length){let M=Array(),w=st(Array("created","processed","failed").flatMap(x=>{let O=st(Object.entries(_[x]??{}).filter(([,z])=>z?.count).sort(([z],[ut])=>parseInt(z)h.events?[h.events.earliestBucket]:[]).sort()[0],v=a.flatMap(h=>h.events?[h.events.latestBucket]:[]).sort().reverse()[0];return k&&v&&(r={earliestBucket:k,latestBucket:v}),{params:S(y({},n),{buckets:e}),queues:a,bucketSpan:r}},gt=(n,o)=>{let e=n.buckets.duration==="AUTO"?"hour":n.buckets.duration,i=n.buckets.multiplier==="AUTO"?1:n.buckets.multiplier,t=n.buckets.timeframe,a=new Date,r=B(a,{duration:e,multiplier:i}),k=t==="all"?void 0:B(a.getTime()-1e3*j[t],{duration:e,multiplier:i}),v=[...k?[k]:[],...o.queue.metrics.buckets.flatMap(_=>[B(_.createdAtBucket,{duration:e,multiplier:i}),..._.ranAtBucket?[B(_.ranAtBucket,{duration:e,multiplier:i})]:[]]),r].filter(_=>!k||_.index>=k.index).sort((_,p)=>_.index-p.index),h=v[0],m=v[v.length-1];if(n.buckets.multiplier==="AUTO"){let p=m.index-h.index;i=Math.min(60,Math.max(Math.floor(p/(20*5))*5,1))}return{bucketParams:{duration:e,multiplier:i,timeframe:t},earliestBucket:t==="all"?void 0:B(a.getTime()-1e3*j[t],{duration:e,multiplier:i}),latestBucket:B(Math.max(a.getTime(),m.start.getTime()),{duration:e,multiplier:i})}},B=(n,o)=>{let e=new Date(n),i=1e3*te[o.duration]*o.multiplier,t=Math.floor(e.getTime()/i);return{key:`${t}`,index:t,start:new Date(t*i)}};var F={created:"primary",processed:"success",failed:"error"},lt=(()=>{class n{constructor(){this.themeInfo=q(Z),this.transloco=q(U)}create(e,i){let{colors:t}=this.themeInfo.info,a=Array(),r=[];if(e){let k=e.queues.filter(p=>!p.isEmpty),v=Array.from(new Set(k.flatMap(p=>p.events?[p.events.earliestBucket,p.events.latestBucket]:[]))).sort(),h=new Date,m=e.params.buckets.timeframe==="all"?v[0]:Math.min(v[0],B(h.getTime()-1e3*j[e.params.buckets.timeframe],e.params.buckets).index),_=Math.max(v[v.length-1],B(h,e.params.buckets).index);if(v.length){for(let M=m;M<=_;M++)a.push(this.formatBucketKey(e.params.buckets,M));let p=ie.filter(M=>(e.params.event??M)===M);for(let M of k){for(let x of p){let O=Array();for(let T=m;T<=_;T++)O.push(M.events?.eventBuckets?.[x]?.entries?.[`${T}`]?.count??0);r.push({yAxisID:"yCount",label:M.queue+": "+this.transloco.translate("dashboard.queues."+x),data:O,borderColor:t[I(F[x],50)],pointBackgroundColor:t[I(F[x],20)],pointBorderColor:t[I(F[x],80)],pointHoverBackgroundColor:t[I(F[x],40)],pointHoverBorderColor:t[I(F[x],60)]})}if(["processed","failed"].filter(x=>p.includes(x)).length){let x=Array();for(let O=m;O<=_;O++){let T=["processed","failed"].filter(E=>p.includes(E)).reduce((E,R)=>{let z=M.events?.eventBuckets?.[R]?.entries?.[`${O}`];return z?.count?[(E?.[0]??0)+z.latency,(E?.[1]??0)+z.count]:E},null);x.push(T?T[0]/T[1]:null)}r.push({yAxisID:"yLatency",label:M.queue+": "+this.transloco.translate("dashboard.queues.latency"),data:x,borderColor:t["tertiary-50"],pointHoverBackgroundColor:t["tertiary-80"],pointHoverBorderColor:t["tertiary-20"]})}}}}return{type:"line",options:{animation:!1,responsive:!0,elements:{line:{tension:.5}},scales:{yCount:{position:"left",ticks:{callback:k=>parseInt(k).toLocaleString(this.transloco.getActiveLang())}},yLatency:{position:"right",ticks:{callback:this.formatDuration.bind(this)}}},plugins:{legend:{display:i.legend},decimation:{enabled:!0},tooltip:{callbacks:{label:k=>k.dataset.yAxisID==="yCount"?k.formattedValue:this.formatDuration(k.parsed.y)}}}},data:{labels:a,datasets:r}}}formatBucketKey(e,i){let t;switch(e.duration){case"day":t="d LLL";break;case"hour":t="d LLL H:00";break;case"minute":t="H:mm";break}return Fe(1e3*te[e.duration]*e.multiplier*i,t,{locale:Re(this.transloco.getActiveLang())})}formatDuration(e){if(typeof e=="string"&&(e=parseInt(e)),e===0)return"0";let i=e,t=0,a=0,r=0;return i>=60&&(t=Math.floor(i/60),i=i%60,t>=5&&(i=0,t>=60&&(a=Math.floor(t/60),t=t%60,a>=5&&(t=0,a>=24&&(r=Math.floor(a/24),a=a%24))))),He({days:r,hours:a,minutes:t,seconds:i},this.transloco.getActiveLang())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Ct=(n,o,e)=>[n,o,e];function kt(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit,i=d().$implicit;l("value",e),c(),V(i("dashboard.interval."+e))}}function vt(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit,i=d().$implicit;l("value",e),c(),V(i("dashboard.interval."+e+"s"))}}function Mt(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit;l("value",e),c(),V(e)}}function xt(n,o){if(n&1){let e=ae();s(0,"button",17),C("click",function(){let t=b(e).$implicit,a=d(2);return g(a.queueMetricsController.params.queue===t||a.queueMetricsController.setQueue(t))}),s(1,"mat-icon"),f(2),u()()}if(n&2){let e=o.$implicit,i=d(2);N(i.queueMetricsController.params.queue===e?"selected":"deselected"),l("matTooltip",e),c(2),V(i.queueMetricsController.params.queue===e?"radio_button_checked":"radio_button_unchecked")}}function yt(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit,i=d().$implicit;l("value",e),c(),V(i("dashboard.event."+e))}}function St(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit,i=d().$implicit;l("value",e),c(),V(i("dashboard.interval."+e))}}function wt(n,o){if(n&1){let e=ae();_e(0),$(1,"app-document-title",1),s(2,"mat-card")(3,"mat-card-content")(4,"mat-grid-list",2)(5,"mat-grid-tile",3)(6,"mat-card",4)(7,"mat-card-header")(8,"mat-card-title")(9,"h4"),f(10),u()()(),s(11,"mat-card-content")(12,"mat-form-field",5)(13,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setTimeframe(t))}),D(14,kt,2,2,"mat-option",7,A),u()(),s(16,"div",8)(17,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setTimeframe(t.timeframeNames[0]))}),s(18,"mat-icon"),f(19,"first_page"),u()(),s(20,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.queueMetricsController.params.buckets.timeframe)-1]))}),s(21,"mat-icon"),f(22,"navigate_before"),u()(),s(23,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.queueMetricsController.params.buckets.timeframe)+1]))}),s(24,"mat-icon"),f(25,"navigate_next"),u()(),s(26,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.length-1]))}),s(27,"mat-icon"),f(28,"last_page"),u()()()()()(),s(29,"mat-grid-tile",3)(30,"mat-card",10)(31,"mat-card-header")(32,"mat-card-title")(33,"h4"),f(34),u()()(),s(35,"mat-card-content")(36,"mat-form-field",11)(37,"input",12),ke(38,"async"),C("change",function(t){b(e);let a=d();return g(a.handleMultiplierEvent(t))}),u()(),s(39,"mat-form-field",13)(40,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setBucketDuration(t))}),D(41,vt,2,2,"mat-option",7,A),u()(),s(43,"div",8)(44,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketMultiplier(t.queueMetricsController.bucketMultiplier-1))}),s(45,"mat-icon"),f(46,"remove"),u()(),s(47,"button",14),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketMultiplier(t.queueMetricsController.bucketMultiplier+1))}),s(48,"mat-icon"),f(49,"add"),u()(),s(50,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketDuration(t.resolutionNames[0]))}),s(51,"mat-icon"),f(52,"first_page"),u()(),s(53,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.queueMetricsController.bucketDuration)-1]))}),s(54,"mat-icon"),f(55,"navigate_before"),u()(),s(56,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.queueMetricsController.bucketDuration)+1]))}),s(57,"mat-icon"),f(58,"navigate_next"),u()(),s(59,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.length-1]))}),s(60,"mat-icon"),f(61,"last_page"),u()()()()()(),s(62,"mat-grid-tile",3)(63,"mat-card")(64,"mat-card-header")(65,"mat-card-title")(66,"h4"),f(67),u()()(),s(68,"mat-card-content")(69,"mat-form-field",5)(70,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setQueue(t==="_all"?null:t))}),s(71,"mat-option",15),f(72),u(),D(73,Mt,2,2,"mat-option",7,A),u()(),s(75,"div",16)(76,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setQueue(null))}),s(77,"mat-icon",18),f(78,"workspaces"),u()(),D(79,xt,3,4,"button",19,A),u()()()(),s(81,"mat-grid-tile",3)(82,"mat-card")(83,"mat-card-header")(84,"mat-card-title")(85,"h4"),f(86),u()()(),s(87,"mat-card-content")(88,"mat-form-field",5)(89,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setEvent(t==="_all"?null:t))}),s(90,"mat-option",15),f(91,"All"),u(),D(92,yt,2,2,"mat-option",7,A),u()(),s(94,"div",16)(95,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setEvent(null))}),s(96,"mat-icon",18),f(97,"radio_button_checked"),u()(),s(98,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.params.event==="created"||t.queueMetricsController.setEvent("created"))}),s(99,"mat-icon"),f(100,"add_circle"),u()(),s(101,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.params.event==="processed"||t.queueMetricsController.setEvent("processed"))}),s(102,"mat-icon"),f(103,"check_circle"),u()(),s(104,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.params.event==="failed"||t.queueMetricsController.setEvent("failed"))}),s(105,"mat-icon"),f(106,"error"),u()()()()()(),s(107,"mat-grid-tile",3)(108,"mat-card",20)(109,"mat-card-header")(110,"mat-card-title")(111,"h4"),f(112),u()()(),s(113,"mat-card-content")(114,"mat-form-field",5)(115,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setAutoRefreshInterval(t))}),D(116,St,2,2,"mat-option",7,A),u()(),s(118,"div",16)(119,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.refresh())}),s(120,"mat-icon"),f(121,"sync"),u()()()()()()(),s(122,"div",21),$(123,"mat-progress-bar",22),u(),s(124,"mat-grid-list",2)(125,"mat-grid-tile",3),$(126,"app-chart",23),u(),s(127,"mat-grid-tile",3),$(128,"app-chart",23),u()()()(),he()}if(n&2){let e,i,t,a=o.$implicit,r=d();c(),l("parts",Ce(69,Ct,a("routes.visualize"),a("routes.queues"),a("routes.dashboard"))),c(3),l("cols",r.breakpoints.sizeAtLeast("Large")?5:r.breakpoints.sizeAtLeast("Medium")?3:r.breakpoints.sizeAtLeast("Small")?2:1),c(),l("colspan",1)("rowspan",2),c(5),V(a("dashboard.metrics.timeframe")),c(3),l("value",r.queueMetricsController.params.buckets.timeframe),c(),P(r.timeframeNames),c(3),l("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)<=0),c(3),l("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)<=0),c(3),l("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)>=r.timeframeNames.length-1),c(3),l("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)>=r.timeframeNames.length-1),c(3),l("colspan",1)("rowspan",2),c(5),be(" ",a("dashboard.metrics.resolution")," "),c(3),l("placeholder",(e=(e=ve(38,67,r.queueMetricsController.result$))==null||e.params==null||e.params.buckets==null||e.params.buckets.multiplier==null?null:e.params.buckets.multiplier.toString())!==null&&e!==void 0?e:"")("value",r.queueMetricsController.params.buckets.multiplier),c(3),l("value",r.queueMetricsController.bucketDuration),c(),P(r.resolutionNames),c(3),l("disabled",r.queueMetricsController.bucketMultiplier===1),c(6),l("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)<=0),c(3),l("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)<=0),c(3),l("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)>=r.resolutionNames.length-1),c(3),l("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)>=r.resolutionNames.length-1),c(3),l("colspan",1)("rowspan",2),c(5),V(a("dashboard.queues.queue")),c(3),l("value",(i=r.queueMetricsController.params.queue)!==null&&i!==void 0?i:"_all"),c(2),V(a("general.all")),c(),P(r.availableQueueNames),c(3),N(r.queueMetricsController.params.queue?"deselected":"selected"),l("matTooltip",a("general.all")),c(3),P(r.availableQueueNames),c(2),l("colspan",1)("rowspan",2),c(5),V(a("dashboard.metrics.event")),c(3),l("value",(t=r.queueMetricsController.params.event)!==null&&t!==void 0?t:"_all"),c(3),P(r.eventNames),c(3),N(r.queueMetricsController.params.event?"deselected":"selected"),l("matTooltip",a("general.all")),c(3),N(r.queueMetricsController.params.event==="created"?"selected":"deselected"),l("matTooltip",a("dashboard.queues.created")),c(3),N(r.queueMetricsController.params.event==="processed"?"selected":"deselected"),l("matTooltip",a("dashboard.queues.processed")),c(3),N(r.queueMetricsController.params.event==="failed"?"selected":"deselected"),l("matTooltip",a("dashboard.queues.failed")),c(3),l("colspan",1)("rowspan",2),c(5),V(a("general.refresh")),c(3),l("value",r.queueMetricsController.params.autoRefresh),c(),P(r.autoRefreshIntervalNames),c(3),l("matTooltip",a("general.refresh")),c(4),l("mode",r.queueMetricsController.loading?"indeterminate":"determinate")("value",0),c(),l("cols",r.breakpoints.sizeAtLeast("Large")?2:1),c(),l("colspan",1)("rowspan",5),c(),l("title",a("dashboard.queues.total_counts_by_status"))("adapter",r.totals)("$data",r.queueMetricsController.result$)("height",400)("width",550),c(),l("colspan",1)("rowspan",5),c(),l("title",a("dashboard.metrics.throughput"))("adapter",r.timeline)("$data",r.queueMetricsController.result$)("height",400)("width",550)}}var Di=(()=>{class n{constructor(){this.breakpoints=q(Le),this.apollo=q(ye),this.queueMetricsController=new ne(this.apollo,{buckets:{duration:"AUTO",multiplier:"AUTO",timeframe:"all"},autoRefresh:"seconds_30"},q(Te)),this.timeline=q(lt),this.totals=q(it),this.resolutionNames=Ge,this.timeframeNames=We,this.availableQueueNames=Xe,this.autoRefreshIntervalNames=Ze,this.eventNames=ie}ngOnInit(){this.queueMetricsController.result$.subscribe(e=>{if(this.queueMetricsController.params.buckets.timeframe==="all"&&this.queueMetricsController.params.buckets.duration==="AUTO"&&e.params.buckets.duration==="hour"){let i=e.bucketSpan;i&&i.latestBucket-i.earliestBucket<12&&this.queueMetricsController.setBucketDuration("minute")}})}ngOnDestroy(){this.queueMetricsController.setAutoRefreshInterval("off")}handleMultiplierEvent(e){let i=e.currentTarget.value;this.queueMetricsController.setBucketMultiplier(/^\d+$/.test(i)?parseInt(i):"AUTO")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=pe({type:n,selectors:[["app-queue-visualize"]],standalone:!0,features:[ge],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],["rowHeight","100px",3,"cols"],[3,"colspan","rowspan"],[1,"form-timeframe"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],[1,"paginator","actions"],["mat-icon-button","",3,"click","disabled"],[1,"form-resolution"],["subscriptSizing","dynamic",1,"form-input-multiplier"],["type","number","matInput","","min","1","step","1",3,"change","placeholder","value"],["subscriptSizing","dynamic",1,"form-select-duration"],["mat-icon-button","",3,"click"],["value","_all"],[1,"actions"],["mat-icon-button","",3,"click","matTooltip"],["fontSet","material-icons"],["mat-icon-button","",3,"class","matTooltip"],[1,"form-refresh"],[1,"progress-bar-container"],[3,"mode","value"],[3,"title","adapter","$data","height","width"]],template:function(i,t){i&1&&fe(0,wt,129,73,"ng-container",0)},dependencies:[je,Se,G,Y,Oe,J,Be,Ve,Ie,W,X,ze,De,Qe,Pe,xe,Me,ee,K,tt,$e],styles:[".actions[_ngcontent-%COMP%]{width:210px;padding-top:12px;--mdc-icon-button-state-layer-size: 32px}.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:22px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:0}.progress-bar-container[_ngcontent-%COMP%]{width:100%;height:10px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{min-width:190px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:16px;font-size:18px}mat-form-field[_ngcontent-%COMP%]{width:186px}.form-resolution[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:-2px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%]{width:60px;margin-right:10px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-resolution[_ngcontent-%COMP%] .form-select-duration[_ngcontent-%COMP%]{width:116px}"]})}}return n})();export{Di as QueueVisualizeComponent}; +import{a as Ue,b as Ge,c as te,d as Ke,e as Ye,f as ie,g as Je,h as We,i as j,j as Xe,k as Ze,l as et}from"./chunk-6OKZFKY7.js";import{a as Fe,b as ee,c as I}from"./chunk-C7JZ6WBU.js";import{e as Z}from"./chunk-Y7K23DTG.js";import{b as He}from"./chunk-RQ2LQKI2.js";import{l as Re}from"./chunk-42PJPEMD.js";import{a as Te}from"./chunk-AY6Y76TX.js";import{a as Le}from"./chunk-4IZ4BZMF.js";import{a as $e}from"./chunk-DSEDLZDW.js";import{Ba as De,Ea as Pe,Fa as Qe,J as qe,P as K,S as Ve,V as Y,W as Be,X as Oe,_ as J,_a as je,a as U,b as xe,h as ye,oa as Ee,s as Se,t as we,ta as W,ua as Ie,w as G,wa as X,xa as ze,ya as Ne,za as Ae}from"./chunk-K5VIU67A.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{$b as d,B as le,Cb as fe,Ea as b,Fa as g,Hb as l,Kb as N,N as ue,Nb as A,Ob as D,Pb as P,Q as re,Qb as s,Rb as u,Sb as $,Tb as _e,Ub as he,Wb as ae,Zb as C,a as y,ad as Me,b as S,ka as H,kb as c,kc as f,l as Q,la as me,lc as V,mc as be,o as ce,pc as ge,qa as q,tc as Ce,ua as pe,va as de,vc as ke,wc as ve}from"./chunk-Z3WUIYN5.js";var tt=(()=>{class n{static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275mod=de({type:n})}static{this.\u0275inj=me({imports:[K,X,Ee,we,G,Y,J,W,Ae,Ne,ee]})}}return n})();var mt={pending:"primary",processed:"success",failed:"error",retry:"caution"},it=(()=>{class n{constructor(){this.themeInfo=q(Z),this.transloco=q(U)}create(e,i){let{colors:t}=this.themeInfo.info,a=Array(),r=[];if(e&&Array.from(new Set(e.queues.flatMap(v=>v.events?[v.events.earliestBucket,v.events.latestBucket]:[]))).sort().length){let v=e.queues.filter(m=>!m.isEmpty);a.push(...v.map(m=>m.queue));let h=Array();switch(e.params.event){case"created":h.push("pending");break;case"processed":h.push("processed");break;case"failed":h.push("retry","failed");break;default:h.push(...Je);break}r.push(...h.map(m=>({label:this.transloco.translate("dashboard.queues."+m),data:v.map(_=>_.statusCounts[m]),backgroundColor:t[I(mt[m],50)]})))}return{type:"bar",options:{animation:!1,responsive:!0,scales:{x:{ticks:{callback:k=>parseInt(k).toLocaleString(this.transloco.getActiveLang())}},y:{}},indexAxis:"y",plugins:{legend:{display:i.legend}}},data:{labels:a,datasets:r}}}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var L="\\d+",se="".concat(L,"(?:[\\.,]").concat(L,")?"),pt="(".concat(L,"Y)?(").concat(L,"M)?(").concat(L,"W)?(").concat(L,"D)?"),dt="T(".concat(se,"H)?(").concat(se,"M)?(").concat(se,"S)?"),ft="P(?:".concat(pt,"(?:").concat(dt,")?)"),_t=["years","months","weeks","days","hours","minutes","seconds"],nt={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0},ht=new RegExp(ft),rt=function(n){let o=n.replace(/,/g,".").match(ht);if(!o)throw new RangeError("invalid duration: ".concat(n));let e=o.slice(1);if(e.filter(function(i){return i!=null}).length===0)throw new RangeError("invalid duration: ".concat(n));if(e.filter(function(i){return/\./.test(i||"")}).length>1)throw new RangeError("only the smallest unit can be fractional");return e.reduce(function(i,t,a){return Object.assign(i,{[_t[a]]:parseFloat(t||"0")||0}),i},{})},bt=function(n,o){o||(o=new Date);let e=Object.assign({},nt,n),i=o.getTime(),t=new Date(i);t.setFullYear(t.getFullYear()+e.years),t.setMonth(t.getMonth()+e.months),t.setDate(t.getDate()+e.days);let a=e.hours*3600*1e3,r=e.minutes*60*1e3;return t.setMilliseconds(t.getMilliseconds()+e.seconds*1e3+a+r),t.setDate(t.getDate()+e.weeks*7),t},at=function(n,o){o||(o=new Date);let e=Object.assign({},nt,n),i=o.getTime(),t=new Date(i),a=bt(e,t),r=o.getTimezoneOffset(),k=a.getTimezoneOffset(),v=(r-k)*60;return(a.getTime()-t.getTime())/1e3+v};var ne=class{constructor(o,e=Ke,i){this.apollo=o,this.errorsService=i,this.rawResultSubject=new Q({queue:{metrics:{buckets:[]}}}),this.resultSubject=new Q(Ye),this.result$=this.resultSubject.asObservable(),this.loadingSubject=new Q(!1),this.paramsSubject=new Q(e),this.params$=this.paramsSubject.asObservable(),this.variablesSubject=new Q(ot(e)),this.paramsSubject.pipe(re(50)).subscribe(t=>{let a=this.variablesSubject.getValue(),r=ot(t);JSON.stringify(a)!==JSON.stringify(r)?this.variablesSubject.next(r):this.resultSubject.next(ct(t,this.rawResultSubject.getValue()))}),this.variablesSubject.pipe(re(50)).subscribe(t=>this.request(t)),this.rawResultSubject.subscribe(t=>{let a=this.paramsSubject.getValue();this.resultSubject.next(ct(a,t)),this.setInterval(a.autoRefresh)})}setInterval(o){clearTimeout(this.refreshTimeout);let e=et[o??this.params.autoRefresh];e&&(this.refreshTimeout=setTimeout(()=>{this.refresh()},e*1e3))}get params(){return this.paramsSubject.getValue()}get bucketDuration(){let o=this.params.buckets.duration;return o==="AUTO"?"hour":o}get bucketMultiplier(){return this.resultSubject.getValue().params.buckets.multiplier??this.params.buckets.multiplier}get loading(){return this.loadingSubject.getValue()}setTimeframe(o){this.updateParams(e=>S(y({},e),{buckets:S(y({},e.buckets),{timeframe:o})}))}setQueue(o){this.updateParams(e=>S(y({},e),{queue:o??void 0}))}setBucketDuration(o,e){this.updateParams(i=>S(y({},i),{buckets:S(y({},i.buckets),{duration:o,multiplier:e??"AUTO"})}))}setBucketMultiplier(o){this.updateParams(e=>S(y({},e),{buckets:S(y({},e.buckets),{multiplier:o})}))}setEvent(o){this.updateParams(e=>S(y({},e),{event:o??void 0}))}setAutoRefreshInterval(o){this.updateParams(e=>S(y({},e),{autoRefresh:o}))}updateParams(o){this.paramsSubject.next(o(this.params))}refresh(){this.variablesSubject.next(this.variablesSubject.getValue())}request(o){return clearTimeout(this.refreshTimeout),this.loadingSubject.next(!0),this.apollo.query({query:qe,variables:o,fetchPolicy:"no-cache"}).pipe(le(e=>{e&&(this.loadingSubject.next(!1),this.rawResultSubject.next(e.data))})).pipe(ue(e=>(this.errorsService.addError(`Failed to load queue metrics: ${e.message}`),this.loadingSubject.next(!1),this.setInterval(),ce))).subscribe()}},ot=n=>({input:{bucketDuration:n.buckets.duration==="AUTO"?"hour":n.buckets.duration,queues:n.queue?[n.queue]:void 0,startTime:n.buckets.timeframe==="all"?void 0:new Date(new Date().getTime()-1e3*j[n.buckets.timeframe]).toISOString()}}),st=n=>Object.fromEntries(n),ct=(n,o)=>{let{bucketParams:e,earliestBucket:i,latestBucket:t}=gt(n,o),a=Object.entries(o.queue.metrics.buckets.reduce((h,m)=>{if(m.queue!==(n.queue??m.queue))return h;let _,p;if((n.event??!0)&&(_=B(m.createdAtBucket,e),i&&i.index>_.index&&(_=void 0)),m.ranAtBucket&&n.event!=="created"&&(p=B(m.ranAtBucket,e),p&&(t.indexp.index)&&(p=void 0)),m.queue!==n.queue&&!_&&(!p||m.status==="pending"))return h;let[M,w]=h[m.queue]??[Ue,[]],x=m.latency?at(rt(m.latency)):void 0;return S(y({},h),{[m.queue]:[(m.status==="pending"?_:p)?S(y({},M),{[m.status]:m.count+M[m.status]}):M,{created:_?S(y({},w.created),{[_.key]:{count:m.count+(w.created?.[_.key]?.count??0),latency:0,startTime:_.start}}):w.created,processed:p&&m.status==="processed"&&(n.event??!0)?S(y({},w.processed),{[p.key]:{count:m.count+(w.processed?.[p.key]?.count??0),latency:(w.processed?.[p.key]?.latency??0)+(x??0),startTime:p.start}}):w.processed,failed:p&&m.status==="failed"&&(n.event??!0)?S(y({},w.failed),{[p.key]:{count:m.count+(w.failed?.[p.key]?.count??0),latency:(w.failed?.[p.key]?.latency??0)+(x??0),startTime:p.start}}):w.failed}]})},{})).map(([h,[m,_]])=>{let p;if(Object.keys(_).length){let M=Array(),w=st(Array("created","processed","failed").flatMap(x=>{let O=st(Object.entries(_[x]??{}).filter(([,z])=>z?.count).sort(([z],[ut])=>parseInt(z)h.events?[h.events.earliestBucket]:[]).sort()[0],v=a.flatMap(h=>h.events?[h.events.latestBucket]:[]).sort().reverse()[0];return k&&v&&(r={earliestBucket:k,latestBucket:v}),{params:S(y({},n),{buckets:e}),queues:a,bucketSpan:r}},gt=(n,o)=>{let e=n.buckets.duration==="AUTO"?"hour":n.buckets.duration,i=n.buckets.multiplier==="AUTO"?1:n.buckets.multiplier,t=n.buckets.timeframe,a=new Date,r=B(a,{duration:e,multiplier:i}),k=t==="all"?void 0:B(a.getTime()-1e3*j[t],{duration:e,multiplier:i}),v=[...k?[k]:[],...o.queue.metrics.buckets.flatMap(_=>[B(_.createdAtBucket,{duration:e,multiplier:i}),..._.ranAtBucket?[B(_.ranAtBucket,{duration:e,multiplier:i})]:[]]),r].filter(_=>!k||_.index>=k.index).sort((_,p)=>_.index-p.index),h=v[0],m=v[v.length-1];if(n.buckets.multiplier==="AUTO"){let p=m.index-h.index;i=Math.min(60,Math.max(Math.floor(p/(20*5))*5,1))}return{bucketParams:{duration:e,multiplier:i,timeframe:t},earliestBucket:t==="all"?void 0:B(a.getTime()-1e3*j[t],{duration:e,multiplier:i}),latestBucket:B(Math.max(a.getTime(),m.start.getTime()),{duration:e,multiplier:i})}},B=(n,o)=>{let e=new Date(n),i=1e3*te[o.duration]*o.multiplier,t=Math.floor(e.getTime()/i);return{key:`${t}`,index:t,start:new Date(t*i)}};var F={created:"primary",processed:"success",failed:"error"},lt=(()=>{class n{constructor(){this.themeInfo=q(Z),this.transloco=q(U)}create(e,i){let{colors:t}=this.themeInfo.info,a=Array(),r=[];if(e){let k=e.queues.filter(p=>!p.isEmpty),v=Array.from(new Set(k.flatMap(p=>p.events?[p.events.earliestBucket,p.events.latestBucket]:[]))).sort(),h=new Date,m=e.params.buckets.timeframe==="all"?v[0]:Math.min(v[0],B(h.getTime()-1e3*j[e.params.buckets.timeframe],e.params.buckets).index),_=Math.max(v[v.length-1],B(h,e.params.buckets).index);if(v.length){for(let M=m;M<=_;M++)a.push(this.formatBucketKey(e.params.buckets,M));let p=ie.filter(M=>(e.params.event??M)===M);for(let M of k){for(let x of p){let O=Array();for(let T=m;T<=_;T++)O.push(M.events?.eventBuckets?.[x]?.entries?.[`${T}`]?.count??0);r.push({yAxisID:"yCount",label:M.queue+": "+this.transloco.translate("dashboard.queues."+x),data:O,borderColor:t[I(F[x],50)],pointBackgroundColor:t[I(F[x],20)],pointBorderColor:t[I(F[x],80)],pointHoverBackgroundColor:t[I(F[x],40)],pointHoverBorderColor:t[I(F[x],60)]})}if(["processed","failed"].filter(x=>p.includes(x)).length){let x=Array();for(let O=m;O<=_;O++){let T=["processed","failed"].filter(E=>p.includes(E)).reduce((E,R)=>{let z=M.events?.eventBuckets?.[R]?.entries?.[`${O}`];return z?.count?[(E?.[0]??0)+z.latency,(E?.[1]??0)+z.count]:E},null);x.push(T?T[0]/T[1]:null)}r.push({yAxisID:"yLatency",label:M.queue+": "+this.transloco.translate("dashboard.queues.latency"),data:x,borderColor:t["tertiary-50"],pointHoverBackgroundColor:t["tertiary-80"],pointHoverBorderColor:t["tertiary-20"]})}}}}return{type:"line",options:{animation:!1,responsive:!0,elements:{line:{tension:.5}},scales:{yCount:{position:"left",ticks:{callback:k=>parseInt(k).toLocaleString(this.transloco.getActiveLang())}},yLatency:{position:"right",ticks:{callback:this.formatDuration.bind(this)}}},plugins:{legend:{display:i.legend},decimation:{enabled:!0},tooltip:{callbacks:{label:k=>k.dataset.yAxisID==="yCount"?k.formattedValue:this.formatDuration(k.parsed.y)}}}},data:{labels:a,datasets:r}}}formatBucketKey(e,i){let t;switch(e.duration){case"day":t="d LLL";break;case"hour":t="d LLL H:00";break;case"minute":t="H:mm";break}return Fe(1e3*te[e.duration]*e.multiplier*i,t,{locale:Re(this.transloco.getActiveLang())})}formatDuration(e){if(typeof e=="string"&&(e=parseInt(e)),e===0)return"0";let i=e,t=0,a=0,r=0;return i>=60&&(t=Math.floor(i/60),i=i%60,t>=5&&(i=0,t>=60&&(a=Math.floor(t/60),t=t%60,a>=5&&(t=0,a>=24&&(r=Math.floor(a/24),a=a%24))))),He({days:r,hours:a,minutes:t,seconds:i},this.transloco.getActiveLang())}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275prov=H({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var Ct=(n,o,e)=>[n,o,e];function kt(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit,i=d().$implicit;l("value",e),c(),V(i("dashboard.interval."+e))}}function vt(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit,i=d().$implicit;l("value",e),c(),V(i("dashboard.interval."+e+"s"))}}function Mt(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit;l("value",e),c(),V(e)}}function xt(n,o){if(n&1){let e=ae();s(0,"button",17),C("click",function(){let t=b(e).$implicit,a=d(2);return g(a.queueMetricsController.params.queue===t||a.queueMetricsController.setQueue(t))}),s(1,"mat-icon"),f(2),u()()}if(n&2){let e=o.$implicit,i=d(2);N(i.queueMetricsController.params.queue===e?"selected":"deselected"),l("matTooltip",e),c(2),V(i.queueMetricsController.params.queue===e?"radio_button_checked":"radio_button_unchecked")}}function yt(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit,i=d().$implicit;l("value",e),c(),V(i("dashboard.event."+e))}}function St(n,o){if(n&1&&(s(0,"mat-option",7),f(1),u()),n&2){let e=o.$implicit,i=d().$implicit;l("value",e),c(),V(i("dashboard.interval."+e))}}function wt(n,o){if(n&1){let e=ae();_e(0),$(1,"app-document-title",1),s(2,"mat-card")(3,"mat-card-content")(4,"mat-grid-list",2)(5,"mat-grid-tile",3)(6,"mat-card",4)(7,"mat-card-header")(8,"mat-card-title")(9,"h4"),f(10),u()()(),s(11,"mat-card-content")(12,"mat-form-field",5)(13,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setTimeframe(t))}),D(14,kt,2,2,"mat-option",7,A),u()(),s(16,"div",8)(17,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setTimeframe(t.timeframeNames[0]))}),s(18,"mat-icon"),f(19,"first_page"),u()(),s(20,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.queueMetricsController.params.buckets.timeframe)-1]))}),s(21,"mat-icon"),f(22,"navigate_before"),u()(),s(23,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.queueMetricsController.params.buckets.timeframe)+1]))}),s(24,"mat-icon"),f(25,"navigate_next"),u()(),s(26,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.length-1]))}),s(27,"mat-icon"),f(28,"last_page"),u()()()()()(),s(29,"mat-grid-tile",3)(30,"mat-card",10)(31,"mat-card-header")(32,"mat-card-title")(33,"h4"),f(34),u()()(),s(35,"mat-card-content")(36,"mat-form-field",11)(37,"input",12),ke(38,"async"),C("change",function(t){b(e);let a=d();return g(a.handleMultiplierEvent(t))}),u()(),s(39,"mat-form-field",13)(40,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setBucketDuration(t))}),D(41,vt,2,2,"mat-option",7,A),u()(),s(43,"div",8)(44,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketMultiplier(t.queueMetricsController.bucketMultiplier-1))}),s(45,"mat-icon"),f(46,"remove"),u()(),s(47,"button",14),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketMultiplier(t.queueMetricsController.bucketMultiplier+1))}),s(48,"mat-icon"),f(49,"add"),u()(),s(50,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketDuration(t.resolutionNames[0]))}),s(51,"mat-icon"),f(52,"first_page"),u()(),s(53,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.queueMetricsController.bucketDuration)-1]))}),s(54,"mat-icon"),f(55,"navigate_before"),u()(),s(56,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.queueMetricsController.bucketDuration)+1]))}),s(57,"mat-icon"),f(58,"navigate_next"),u()(),s(59,"button",9),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.length-1]))}),s(60,"mat-icon"),f(61,"last_page"),u()()()()()(),s(62,"mat-grid-tile",3)(63,"mat-card")(64,"mat-card-header")(65,"mat-card-title")(66,"h4"),f(67),u()()(),s(68,"mat-card-content")(69,"mat-form-field",5)(70,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setQueue(t==="_all"?null:t))}),s(71,"mat-option",15),f(72),u(),D(73,Mt,2,2,"mat-option",7,A),u()(),s(75,"div",16)(76,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setQueue(null))}),s(77,"mat-icon",18),f(78,"workspaces"),u()(),D(79,xt,3,4,"button",19,A),u()()()(),s(81,"mat-grid-tile",3)(82,"mat-card")(83,"mat-card-header")(84,"mat-card-title")(85,"h4"),f(86),u()()(),s(87,"mat-card-content")(88,"mat-form-field",5)(89,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setEvent(t==="_all"?null:t))}),s(90,"mat-option",15),f(91,"All"),u(),D(92,yt,2,2,"mat-option",7,A),u()(),s(94,"div",16)(95,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.setEvent(null))}),s(96,"mat-icon",18),f(97,"radio_button_checked"),u()(),s(98,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.params.event==="created"||t.queueMetricsController.setEvent("created"))}),s(99,"mat-icon"),f(100,"add_circle"),u()(),s(101,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.params.event==="processed"||t.queueMetricsController.setEvent("processed"))}),s(102,"mat-icon"),f(103,"check_circle"),u()(),s(104,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.params.event==="failed"||t.queueMetricsController.setEvent("failed"))}),s(105,"mat-icon"),f(106,"error"),u()()()()()(),s(107,"mat-grid-tile",3)(108,"mat-card",20)(109,"mat-card-header")(110,"mat-card-title")(111,"h4"),f(112),u()()(),s(113,"mat-card-content")(114,"mat-form-field",5)(115,"mat-select",6),C("valueChange",function(t){b(e);let a=d();return g(a.queueMetricsController.setAutoRefreshInterval(t))}),D(116,St,2,2,"mat-option",7,A),u()(),s(118,"div",16)(119,"button",17),C("click",function(){b(e);let t=d();return g(t.queueMetricsController.refresh())}),s(120,"mat-icon"),f(121,"sync"),u()()()()()()(),s(122,"div",21),$(123,"mat-progress-bar",22),u(),s(124,"mat-grid-list",2)(125,"mat-grid-tile",3),$(126,"app-chart",23),u(),s(127,"mat-grid-tile",3),$(128,"app-chart",23),u()()()(),he()}if(n&2){let e,i,t,a=o.$implicit,r=d();c(),l("parts",Ce(69,Ct,a("routes.visualize"),a("routes.queues"),a("routes.dashboard"))),c(3),l("cols",r.breakpoints.sizeAtLeast("Large")?5:r.breakpoints.sizeAtLeast("Medium")?3:r.breakpoints.sizeAtLeast("Small")?2:1),c(),l("colspan",1)("rowspan",2),c(5),V(a("dashboard.metrics.timeframe")),c(3),l("value",r.queueMetricsController.params.buckets.timeframe),c(),P(r.timeframeNames),c(3),l("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)<=0),c(3),l("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)<=0),c(3),l("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)>=r.timeframeNames.length-1),c(3),l("disabled",r.timeframeNames.indexOf(r.queueMetricsController.params.buckets.timeframe)>=r.timeframeNames.length-1),c(3),l("colspan",1)("rowspan",2),c(5),be(" ",a("dashboard.metrics.resolution")," "),c(3),l("placeholder",(e=(e=ve(38,67,r.queueMetricsController.result$))==null||e.params==null||e.params.buckets==null||e.params.buckets.multiplier==null?null:e.params.buckets.multiplier.toString())!==null&&e!==void 0?e:"")("value",r.queueMetricsController.params.buckets.multiplier),c(3),l("value",r.queueMetricsController.bucketDuration),c(),P(r.resolutionNames),c(3),l("disabled",r.queueMetricsController.bucketMultiplier===1),c(6),l("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)<=0),c(3),l("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)<=0),c(3),l("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)>=r.resolutionNames.length-1),c(3),l("disabled",r.resolutionNames.indexOf(r.queueMetricsController.bucketDuration)>=r.resolutionNames.length-1),c(3),l("colspan",1)("rowspan",2),c(5),V(a("dashboard.queues.queue")),c(3),l("value",(i=r.queueMetricsController.params.queue)!==null&&i!==void 0?i:"_all"),c(2),V(a("general.all")),c(),P(r.availableQueueNames),c(3),N(r.queueMetricsController.params.queue?"deselected":"selected"),l("matTooltip",a("general.all")),c(3),P(r.availableQueueNames),c(2),l("colspan",1)("rowspan",2),c(5),V(a("dashboard.metrics.event")),c(3),l("value",(t=r.queueMetricsController.params.event)!==null&&t!==void 0?t:"_all"),c(3),P(r.eventNames),c(3),N(r.queueMetricsController.params.event?"deselected":"selected"),l("matTooltip",a("general.all")),c(3),N(r.queueMetricsController.params.event==="created"?"selected":"deselected"),l("matTooltip",a("dashboard.queues.created")),c(3),N(r.queueMetricsController.params.event==="processed"?"selected":"deselected"),l("matTooltip",a("dashboard.queues.processed")),c(3),N(r.queueMetricsController.params.event==="failed"?"selected":"deselected"),l("matTooltip",a("dashboard.queues.failed")),c(3),l("colspan",1)("rowspan",2),c(5),V(a("general.refresh")),c(3),l("value",r.queueMetricsController.params.autoRefresh),c(),P(r.autoRefreshIntervalNames),c(3),l("matTooltip",a("general.refresh")),c(4),l("mode",r.queueMetricsController.loading?"indeterminate":"determinate")("value",0),c(),l("cols",r.breakpoints.sizeAtLeast("Large")?2:1),c(),l("colspan",1)("rowspan",5),c(),l("title",a("dashboard.queues.total_counts_by_status"))("adapter",r.totals)("$data",r.queueMetricsController.result$)("height",400)("width",550),c(),l("colspan",1)("rowspan",5),c(),l("title",a("dashboard.metrics.throughput"))("adapter",r.timeline)("$data",r.queueMetricsController.result$)("height",400)("width",550)}}var Di=(()=>{class n{constructor(){this.breakpoints=q(Le),this.apollo=q(ye),this.queueMetricsController=new ne(this.apollo,{buckets:{duration:"AUTO",multiplier:"AUTO",timeframe:"all"},autoRefresh:"seconds_30"},q(Te)),this.timeline=q(lt),this.totals=q(it),this.resolutionNames=Ge,this.timeframeNames=We,this.availableQueueNames=Xe,this.autoRefreshIntervalNames=Ze,this.eventNames=ie}ngOnInit(){this.queueMetricsController.result$.subscribe(e=>{if(this.queueMetricsController.params.buckets.timeframe==="all"&&this.queueMetricsController.params.buckets.duration==="AUTO"&&e.params.buckets.duration==="hour"){let i=e.bucketSpan;i&&i.latestBucket-i.earliestBucket<12&&this.queueMetricsController.setBucketDuration("minute")}})}ngOnDestroy(){this.queueMetricsController.setAutoRefreshInterval("off")}handleMultiplierEvent(e){let i=e.currentTarget.value;this.queueMetricsController.setBucketMultiplier(/^\d+$/.test(i)?parseInt(i):"AUTO")}static{this.\u0275fac=function(i){return new(i||n)}}static{this.\u0275cmp=pe({type:n,selectors:[["app-queue-visualize"]],standalone:!0,features:[ge],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],["rowHeight","100px",3,"cols"],[3,"colspan","rowspan"],[1,"form-timeframe"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],[1,"paginator","actions"],["mat-icon-button","",3,"click","disabled"],[1,"form-resolution"],["subscriptSizing","dynamic",1,"form-input-multiplier"],["type","number","matInput","","min","1","step","1",3,"change","placeholder","value"],["subscriptSizing","dynamic",1,"form-select-duration"],["mat-icon-button","",3,"click"],["value","_all"],[1,"actions"],["mat-icon-button","",3,"click","matTooltip"],["fontSet","material-icons"],["mat-icon-button","",3,"class","matTooltip"],[1,"form-refresh"],[1,"progress-bar-container"],[3,"mode","value"],[3,"title","adapter","$data","height","width"]],template:function(i,t){i&1&&fe(0,wt,129,73,"ng-container",0)},dependencies:[je,Se,G,Y,Oe,J,Be,Ve,Ie,W,X,ze,De,Qe,Pe,xe,Me,ee,K,tt,$e],styles:[".actions[_ngcontent-%COMP%]{width:210px;padding-top:12px;--mdc-icon-button-state-layer-size: 32px}.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:22px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:0}.progress-bar-container[_ngcontent-%COMP%]{width:100%;height:10px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{min-width:190px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:16px;font-size:18px}mat-form-field[_ngcontent-%COMP%]{width:186px}.form-resolution[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:-2px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%]{width:60px;margin-right:10px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-resolution[_ngcontent-%COMP%] .form-select-duration[_ngcontent-%COMP%]{width:116px}"]})}}return n})();export{Di as QueueVisualizeComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-E7M2745X.js b/webui/dist/bitmagnet/browser/chunk-AD44SZ3W.js similarity index 98% rename from webui/dist/bitmagnet/browser/chunk-E7M2745X.js rename to webui/dist/bitmagnet/browser/chunk-AD44SZ3W.js index 6fe45899..0b4f210d 100644 --- a/webui/dist/bitmagnet/browser/chunk-E7M2745X.js +++ b/webui/dist/bitmagnet/browser/chunk-AD44SZ3W.js @@ -1 +1 @@ -import{a as je,b as Ne,c as Qe,d as Ue}from"./chunk-WC5EMJNC.js";import{d as Ae,e as T,f as Re,g as q,h as L,i as ze,j as He}from"./chunk-ISQ7AX2Q.js";import{a as Fe,b as Ve}from"./chunk-GLXU5TTY.js";import"./chunk-RQ2LQKI2.js";import{a as De,b as Le}from"./chunk-PX3TOMGC.js";import"./chunk-42PJPEMD.js";import{a as ge}from"./chunk-FNMD7JET.js";import{a as qe}from"./chunk-P4IGP6ZM.js";import{a as Be}from"./chunk-DSEDLZDW.js";import{Ea as we,Fa as Oe,Ga as Ee,Ha as ke,Ia as $e,K as fe,P as he,R as xe,S as Ce,_a as Ie,a as oe,b as re,h as ae,ha as Se,j as ce,k as le,l as se,m as pe,n as me,pa as be,qa as ye,ra as Te,s as _e,sa as ve,v as ue,w as de,wa as Me,xa as Pe}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import{i as ne,k as ie}from"./chunk-CMNWCZJM.js";import{$ as G,$b as l,B as P,Cb as h,Ea as _,Fa as u,Gb as Y,Hb as d,Kb as j,Mb as C,N as Q,O as U,Ob as k,Pb as $,Qb as s,Rb as p,Sb as V,Tb as J,Ub as K,Wb as O,Zb as g,a as f,ad as te,b as M,jc as D,kb as c,kc as m,l as E,lc as S,mc as x,o as N,pc as X,qa as w,rc as Z,ua as W,uc as ee,vc as b,wc as I,xc as F}from"./chunk-Z3WUIYN5.js";var A=(t,o)=>{let i=y(t,o)?.split(",").map(n=>n.trim()).filter(Boolean);return i?.length?Array.from(new Set(i)).sort():void 0},y=(t,o)=>typeof t[o]=="string"&&decodeURIComponent(t[o])||void 0,R=(t,o)=>{if(t&&t[o]&&/^\d+$/.test(t[o]))return parseInt(t[o])};var z={items:[],totalCount:0,totalCountIsEstimate:!1,aggregations:{}},B=class{constructor(o,e,i){this.apollo=o,this.errorsService=e,this.currentRequest=new E(0),this.loadingSubject=new E(!1),this.loading$=this.loadingSubject.asObservable(),this.result=z,this.resultSubject=new E(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(P(n=>n.items)),this.overallTotalCount$=this.resultSubject.pipe(P(n=>{let a=0,r=!1;for(let v of n.aggregations.contentType??[])a+=v.count,r=r||v.isEstimate;return{count:a,isEstimate:r}})),this.availableContentTypes$=this.resultSubject.pipe(G((n,a)=>Array.from(new Set([...n,...(a.aggregations.contentType??[]).flatMap(r=>r.value?[r.value]:[])])),[])),this.contentTypeCounts$=this.resultSubject.pipe(P(n=>Object.fromEntries((n.aggregations.contentType??[]).map(a=>[a.value,{count:a.count,isEstimate:a.isEstimate}])))),i.subscribe(n=>{this.input=n.input,this.loadResult({input:M(f({},n.input),{cached:!0})})}),this.resultSubject.subscribe(n=>{this.result=n})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}refresh(){this.loadResult({input:M(f({},this.input),{cached:!1})})}loadResult(o){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:fe,variables:o,fetchPolicy:"no-cache"}).pipe(P(n=>n.data.torrentContent.search)).pipe(Q(n=>(this.errorsService.addError(`Error loading item results: ${n.message}`),N)));this.currentSubscription=i.subscribe(n=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(n))})}};var Ge=(t,o)=>o.key,Ke=(t,o)=>o.field,We=(t,o)=>o.value,Xe=t=>({x:t}),Ze=(t,o,e,i)=>[t,o,e,i];function et(t,o){if(t&1&&(s(0,"small"),m(1),b(2,"intEstimate"),p()),t&2){let e=o;c(),x(" ",F(2,1,e.count,e.isEstimate)," ")}}function tt(t,o){if(t&1&&(s(0,"small"),m(1),b(2,"intEstimate"),p()),t&2){let e=o;c(),S(F(2,1,e.count,e.isEstimate))}}function nt(t,o){t&1&&(s(0,"small"),m(1,"0"),p())}function it(t,o){if(t&1){let e=O();s(0,"li",6),g("click",function(){_(e);let n=l().$implicit,a=l(2);return u(a.controller.selectContentType(n.key))}),s(1,"mat-icon"),m(2),p(),m(3),h(4,tt,3,4,"small"),b(5,"async"),h(6,nt,2,0,"small"),p()}if(t&2){let e,i=l().$implicit,n=l().$implicit,a=l();j(a.controls.contentType===i.key?"active":""),c(2),S(i.icon),c(),x(" ",n("content_types.plural."+i.key)," "),c(),C((e=(e=I(5,5,a.dataSource.contentTypeCounts$))==null?null:e[i.key])?4:6,e)}}function ot(t,o){if(t&1&&(h(0,it,7,7,"li",24),b(1,"async")),t&2){let e,i=o.$implicit,n=l(2);C(i.key==="null"||(e=I(1,1,n.dataSource.availableContentTypes$))!=null&&e.includes(i.key)?0:-1)}}function rt(t,o){if(t&1){let e=O();s(0,"mat-checkbox",30),g("change",function(n){let a=_(e).$implicit,r=l(3).$implicit,v=l(2);return u(n.checked?v.controller.activateFilter(r,a.value):v.controller.deactivateFilter(r,a.value))}),m(1),s(2,"small"),m(3),b(4,"intEstimate"),p()()}if(t&2){let e=o.$implicit,i=l(3).$implicit;d("checked",i.filter==null?null:i.filter.includes(e.value)),c(),x(" ",e.label," "),c(2),S(F(4,3,e.count,e.isEstimate))}}function at(t,o){if(t&1&&(s(0,"section",27),k(1,rt,5,6,"mat-checkbox",29,We),p()),t&2){let e=l(2).$implicit;c(),$(e.aggregations)}}function ct(t,o){if(t&1){let e=O();s(0,"mat-checkbox",32),g("change",function(){let n=_(e).$implicit,a=l(4).$implicit,r=l(2);return u(r.controller.activateFilter(a,n.value))}),m(1),s(2,"small"),m(3),b(4,"intEstimate"),p()()}if(t&2){let e=o.$implicit;c(),x(" ",e.label," "),c(2),S(F(4,2,e.count,e.isEstimate))}}function lt(t,o){if(t&1&&k(0,ct,5,5,"mat-checkbox",31,We),t&2){let e=l(3).$implicit;$(e.aggregations)}}function st(t,o){if(t&1&&m(0),t&2){let e=l(4).$implicit;x(" ",e("general.none")," ")}}function pt(t,o){if(t&1&&(s(0,"section",28),h(1,lt,2,0)(2,st,1,1),p()),t&2){let e=l(2).$implicit;c(),C(e.aggregations.length?1:2)}}function mt(t,o){if(t&1){let e=O();s(0,"mat-expansion-panel",26),g("opened",function(){_(e);let n=l().$implicit,a=l(2);return u(a.controller.activateFacet(n))})("closed",function(){_(e);let n=l().$implicit,a=l(2);return u(a.controller.deactivateFacet(n))}),s(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon"),m(4),p(),m(5),p()(),h(6,at,3,0,"section",27)(7,pt,3,1,"section",28),p()}if(t&2){let e=l().$implicit,i=l().$implicit;d("expanded",e.active),c(4),S(e.icon),c(),x(" ",i("facets."+e.key)," "),c(),C(e.filter!=null&&e.filter.length?6:7)}}function _t(t,o){if(t&1&&h(0,mt,8,4,"mat-expansion-panel",25),t&2){let e=o.$implicit;C(e.relevant?0:-1)}}function ut(t,o){if(t&1){let e=O();s(0,"button",18),g("click",function(){_(e);let n=l(2);return n.queryString.reset(),u(n.controller.setQueryString(null))}),s(1,"mat-icon"),m(2,"close"),p()()}if(t&2){let e=l().$implicit;d("matTooltip",e("torrents.clear_search"))}}function dt(t,o){if(t&1&&(s(0,"mat-option",33),m(1),p()),t&2){let e=l().$implicit,i=l().$implicit;d("value",e.field),c(),x(" ",i("torrents.ordering."+e.field)," ")}}function gt(t,o){if(t&1&&h(0,dt,2,2,"mat-option",33),t&2){let e=o.$implicit,i=l(2);C(e.field!="relevance"||i.queryString.value?0:-1)}}function ft(t,o){if(t&1){let e=O();J(0),V(1,"app-document-title",2),s(2,"mat-drawer-container",3)(3,"mat-drawer",4,0)(5,"mat-expansion-panel",5)(6,"mat-expansion-panel-header")(7,"mat-panel-title")(8,"mat-icon"),m(9,"interests"),p(),m(10),p()(),s(11,"section")(12,"nav")(13,"ul")(14,"li",6),g("click",function(){_(e);let n=l();return u(n.controller.selectContentType(null))}),s(15,"mat-icon",7),m(16,"emergency"),p(),m(17),h(18,et,3,4,"small"),b(19,"async"),p(),k(20,ot,2,3,null,null,Ge),p()()()(),k(22,_t,1,1,null,null,Ge),b(24,"async"),p(),s(25,"mat-drawer-content")(26,"div",8)(27,"div",9)(28,"button",10),g("click",function(){_(e);let n=D(4);return u(n.toggle())}),s(29,"mat-icon",11),m(30),p()()(),s(31,"div",12)(32,"mat-form-field",13)(33,"input",14),g("keyup.enter",function(){_(e);let n=l();return u(n.controller.setQueryString(n.queryString.value))}),p(),h(34,ut,3,1,"button",15),p()(),s(35,"div",16)(36,"mat-form-field",13)(37,"mat-label"),m(38),p(),s(39,"mat-select",17),g("valueChange",function(n){_(e);let a=l();return u(a.controller.selectOrderBy(n))}),k(40,gt,1,1,null,null,Ke),p()(),s(42,"button",18),g("click",function(){_(e);let n=l();return u(n.controller.toggleOrderByDirection())}),s(43,"mat-icon"),m(44),p()()(),s(45,"div",19)(46,"button",20),g("click",function(){_(e);let n=l();return u(n.dataSource.refresh())}),s(47,"mat-icon"),m(48,"sync"),p()()()(),V(49,"mat-divider"),s(50,"app-torrents-bulk-actions",21),g("updated",function(){_(e);let n=l();return u(n.dataSource.refresh())}),p(),V(51,"mat-divider"),s(52,"app-torrents-table",22),g("updated",function(){_(e);let n=l();return u(n.dataSource.refresh())}),p(),s(53,"app-paginator",23),g("paging",function(n){_(e);let a=l();return u(a.controller.handlePageEvent(n))}),p()()(),K()}if(t&2){let e,i,n=o.$implicit,a=D(4),r=l();c(),d("parts",ee(37,Ze,r.controls.queryString,((e=r.controls.contentType)!==null&&e!==void 0?e:"null")==="null"?null:n("content_types.plural."+r.controls.contentType),r.controls.page>1?n("paginator.page_x",Z(35,Xe,r.controls.page)):null,n("routes.torrents"))),c(2),d("mode",r.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",r.breakpoints.sizeAtLeast("Medium")),Y("role",r.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),c(2),d("expanded",r.breakpoints.sizeAtLeast("Medium")),c(5),x(" ",n("facets.content_type")," "),c(4),j(r.controls.contentType===null?"active":""),c(3),x("",n("content_types.plural.all")," "),c(),C((i=I(19,31,r.dataSource.overallTotalCount$))?18:-1,i),c(2),$(r.contentTypes),c(2),$(I(24,33,r.facets$)),c(6),d("matTooltip",n("torrents.toggle_drawer")),c(2),S(a.opened?"arrow_circle_left":"arrow_circle_right"),c(3),d("placeholder",n("torrents.search"))("formControl",r.queryString),c(),C(r.queryString.value?34:-1),c(4),S(n("torrents.order_by")),c(),d("value",r.controls.orderBy.field),c(),$(r.orderByOptions),c(2),d("matTooltip",n("torrents.order_direction_toggle")),c(2),S(r.controls.orderBy.descending?"arrow_downward":"arrow_upward"),c(2),d("matTooltip",n("torrents.refresh")),c(4),d("selectedItems$",r.selectedItems$),c(2),d("dataSource",r.dataSource)("controller",r.controller)("displayedColumns",r.breakpoints.sizeAtLeast("Medium")?r.allColumns:r.compactColumns)("multiSelection",r.multiSelection),c(),d("page",r.controls.page)("pageSize",r.controls.limit)("pageLength",r.dataSource.result.items.length)("totalLength",r.dataSource.result.totalCount)("totalIsEstimate",r.dataSource.result.totalCountIsEstimate)("hasNextPage",r.dataSource.result.hasNextPage)}}var un=(()=>{class t{constructor(){this.route=w(ne),this.router=w(ie),this.apollo=w(ae),this.errorsService=w(ge),this.transloco=w(oe),this.breakpoints=w(qe),this.controls=Ye,this.contentTypes=Le,this.orderByOptions=L,this.allColumns=Qe,this.compactColumns=Ue,this.queryString=new se(""),this.result=z,this.multiSelection=new me(!0,[]),this.selectedItemsSubject=new E([]),this.selectedItems$=this.selectedItemsSubject.asObservable(),this.subscriptions=Array(),this.controller=new Re(this.controls),this.dataSource=new B(this.apollo,this.errorsService,this.controller.params$),this.subscriptions.push(this.controller.controls$.subscribe(e=>{this.controls=e})),this.facets$=this.controller.controls$.pipe(U(this.dataSource.result$),P(([e,i])=>q.map(n=>M(f(f({},n),n.extractInput(e.facets)),{relevant:!n.contentTypes||!!(e.contentType&&e.contentType!=="null"&&n.contentTypes.includes(e.contentType)),aggregations:n.extractAggregations(i.aggregations).map(a=>M(f({},a),{label:n.resolveLabel(a,this.transloco)}))})))),this.subscriptions.push(this.dataSource.result$.subscribe(e=>{this.result=e;let i=new Set(e.items.map(({infoHash:n})=>n));this.multiSelection.deselect(...this.multiSelection.selected.filter(n=>!i.has(n)))}))}ngOnInit(){this.subscriptions.push(this.route.queryParams.subscribe(e=>{this.queryString.setValue(y(e,"query")??null),this.controller.update(()=>ht(e))}),this.controller.controls$.subscribe(e=>{this.router.navigate([],{relativeTo:this.route,queryParams:xt(e),queryParamsHandling:"replace"})}),this.multiSelection.changed.subscribe(e=>{let i=new Set(e.source.selected);this.selectedItemsSubject.next(this.result.items.filter(n=>i.has(n.infoHash)))}))}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe()),this.subscriptions=new Array}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=W({type:t,selectors:[["app-torrents-search"]],standalone:!0,features:[X],decls:1,vars:0,consts:[["drawer",""],[4,"transloco"],[3,"parts"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],[1,"panel-content-type",3,"expanded"],[3,"click"],["fontSet","material-icons"],[1,"search-form"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["aria-label","Side nav toggle icon","fontSet","material-icons"],[1,"form-field-container","form-field-container-search-query"],["subscriptSizing","dynamic"],["matInput","","autocapitalize","none",3,"keyup.enter","placeholder","formControl"],["mat-icon-button","",3,"matTooltip"],[1,"form-field-container","form-field-container-order-by"],[3,"valueChange","value"],["mat-icon-button","",3,"click","matTooltip"],[1,"form-field-container","button-container","button-container-refresh"],["mat-mini-fab","","color","primary",3,"click","matTooltip"],[3,"updated","selectedItems$"],[3,"updated","dataSource","controller","displayedColumns","multiSelection"],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","hasNextPage"],[3,"class"],[3,"expanded"],[3,"opened","closed","expanded"],[1,"filtered"],[1,"unfiltered"],[3,"checked"],[3,"change","checked"],["checked","true"],["checked","true",3,"change"],[3,"value"]],template:function(i,n){i&1&&h(0,ft,54,42,"ng-container",1)},dependencies:[Ie,_e,de,ue,Se,be,ye,Te,ve,Ce,xe,Me,Pe,Oe,ke,$e,Ee,we,ce,le,pe,re,te,Be,he,Ve,je,Ne,Fe],styles:[".mat-expansion-panel[_ngcontent-%COMP%]{margin-top:14px;margin-right:14px}.mat-expansion-panel[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:-10px}.mat-expansion-panel.panel-content-type[_ngcontent-%COMP%]{margin-top:20px}.mat-expansion-panel.panel-content-type[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:0}.mat-expansion-panel[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0;margin:0}.mat-expansion-panel[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative;line-height:40px;padding-left:40px}.mat-expansion-panel[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:absolute;left:0;top:8px}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{cursor:pointer}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{top:6px}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{float:right;font-size:.8rem}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{display:block}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] label{min-width:220px}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{margin-left:10px;position:absolute;right:0}.search-form[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;position:relative;clear:both;display:flex;flex-wrap:wrap}.search-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;position:relative;margin-left:20px;padding-bottom:20px}.search-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:8px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%]{padding-right:40px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%]{width:300px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%] .mat-mdc-form-field-infix{padding-right:50px}.search-form[_ngcontent-%COMP%] .button-container-toggle-direction[_ngcontent-%COMP%]{margin-left:4px}app-paginator[_ngcontent-%COMP%]{float:right;padding-top:14px;padding-bottom:20px}"],changeDetection:0})}}return t})(),H=20,Ye={page:1,limit:H,contentType:null,orderBy:ze,facets:{genre:T,language:T,fileType:T,torrentSource:T,torrentTag:T,videoResolution:T,videoSource:T}},ht=t=>{let o=y(t,"query"),e=A(t,"facets"),i,n=y(t,"torrent");if(n){let a,r=y(t,"tab");Ae.includes(r)&&(a=r),i={infoHash:n,tab:a}}return{queryString:o,orderBy:St(t,!!o),contentType:Ct(t),limit:R(t,"limit")??H,page:R(t,"page")??1,selectedTorrent:i,facets:q.reduce((a,r)=>{let v=e?.includes(r.key)??!1,Je=A(t,r.key);return r.patchInput(a,{active:v,filter:Je})},Ye.facets)}},xt=t=>{let o=t.page,e=t.limit;o===1&&(o=void 0),e===H&&(e=void 0);let i=He(t)?void 0:t.orderBy,n;return i&&(n=i.descending?"1":"0"),f(f({query:t.queryString?encodeURIComponent(t.queryString):void 0,page:o,limit:e,content_type:t.contentType,order:i?.field,desc:n},t.selectedTorrent?{torrent:t.selectedTorrent.infoHash,tab:t.selectedTorrent.tab??void 0}:{}),bt(t.facets))},Ct=t=>{let o=y(t,"content_type");return o&&o in De?o:null},St=(t,o)=>{let e=null,i=y(t,"desc");i==="1"?e=!0:i==="0"&&(e=!1);let n=y(t,"order");for(let a of L)if(a.field===n)return{field:n,descending:e??a.descending};return{field:o?"relevance":"published_at",descending:e??!0}},bt=t=>{let[o,e]=q.reduce((i,n)=>{let a=n.extractInput(t);return a.active?[[...i[0],n.key],a.filter?M(f({},i[1]),{[n.key]:a.filter}):i[1]]:i},[[],{}]);return f({facets:o.length?o.join(","):void 0},Object.fromEntries(Object.entries(e).map(([i,n])=>[i,encodeURIComponent(n.join(","))])))};export{un as TorrentsSearchComponent}; +import{a as je,b as Ne,c as Qe,d as Ue}from"./chunk-PKY2LTNB.js";import{d as Ae,e as T,f as Re,g as q,h as L,i as ze,j as He}from"./chunk-QACUPSPJ.js";import{a as Fe,b as Ve}from"./chunk-UAJQPQWO.js";import"./chunk-RQ2LQKI2.js";import{a as De,b as Le}from"./chunk-PX3TOMGC.js";import"./chunk-42PJPEMD.js";import{a as ge}from"./chunk-AY6Y76TX.js";import{a as qe}from"./chunk-4IZ4BZMF.js";import{a as Be}from"./chunk-DSEDLZDW.js";import{Ea as we,Fa as Oe,Ga as Ee,Ha as ke,Ia as $e,K as fe,P as he,R as xe,S as Ce,_a as Ie,a as oe,b as re,h as ae,ha as Se,j as ce,k as le,l as se,m as pe,n as me,pa as be,qa as ye,ra as Te,s as _e,sa as ve,v as ue,w as de,wa as Me,xa as Pe}from"./chunk-K5VIU67A.js";import"./chunk-6XXA7HXI.js";import{i as ne,k as ie}from"./chunk-CMNWCZJM.js";import{$ as G,$b as l,B as P,Cb as h,Ea as _,Fa as u,Gb as Y,Hb as d,Kb as j,Mb as C,N as Q,O as U,Ob as k,Pb as $,Qb as s,Rb as p,Sb as V,Tb as J,Ub as K,Wb as O,Zb as g,a as f,ad as te,b as M,jc as D,kb as c,kc as m,l as E,lc as S,mc as x,o as N,pc as X,qa as w,rc as Z,ua as W,uc as ee,vc as b,wc as I,xc as F}from"./chunk-Z3WUIYN5.js";var A=(t,o)=>{let i=y(t,o)?.split(",").map(n=>n.trim()).filter(Boolean);return i?.length?Array.from(new Set(i)).sort():void 0},y=(t,o)=>typeof t[o]=="string"&&decodeURIComponent(t[o])||void 0,R=(t,o)=>{if(t&&t[o]&&/^\d+$/.test(t[o]))return parseInt(t[o])};var z={items:[],totalCount:0,totalCountIsEstimate:!1,aggregations:{}},B=class{constructor(o,e,i){this.apollo=o,this.errorsService=e,this.currentRequest=new E(0),this.loadingSubject=new E(!1),this.loading$=this.loadingSubject.asObservable(),this.result=z,this.resultSubject=new E(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(P(n=>n.items)),this.overallTotalCount$=this.resultSubject.pipe(P(n=>{let a=0,r=!1;for(let v of n.aggregations.contentType??[])a+=v.count,r=r||v.isEstimate;return{count:a,isEstimate:r}})),this.availableContentTypes$=this.resultSubject.pipe(G((n,a)=>Array.from(new Set([...n,...(a.aggregations.contentType??[]).flatMap(r=>r.value?[r.value]:[])])),[])),this.contentTypeCounts$=this.resultSubject.pipe(P(n=>Object.fromEntries((n.aggregations.contentType??[]).map(a=>[a.value,{count:a.count,isEstimate:a.isEstimate}])))),i.subscribe(n=>{this.input=n.input,this.loadResult({input:M(f({},n.input),{cached:!0})})}),this.resultSubject.subscribe(n=>{this.result=n})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}refresh(){this.loadResult({input:M(f({},this.input),{cached:!1})})}loadResult(o){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:fe,variables:o,fetchPolicy:"no-cache"}).pipe(P(n=>n.data.torrentContent.search)).pipe(Q(n=>(this.errorsService.addError(`Error loading item results: ${n.message}`),N)));this.currentSubscription=i.subscribe(n=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(n))})}};var Ge=(t,o)=>o.key,Ke=(t,o)=>o.field,We=(t,o)=>o.value,Xe=t=>({x:t}),Ze=(t,o,e,i)=>[t,o,e,i];function et(t,o){if(t&1&&(s(0,"small"),m(1),b(2,"intEstimate"),p()),t&2){let e=o;c(),x(" ",F(2,1,e.count,e.isEstimate)," ")}}function tt(t,o){if(t&1&&(s(0,"small"),m(1),b(2,"intEstimate"),p()),t&2){let e=o;c(),S(F(2,1,e.count,e.isEstimate))}}function nt(t,o){t&1&&(s(0,"small"),m(1,"0"),p())}function it(t,o){if(t&1){let e=O();s(0,"li",6),g("click",function(){_(e);let n=l().$implicit,a=l(2);return u(a.controller.selectContentType(n.key))}),s(1,"mat-icon"),m(2),p(),m(3),h(4,tt,3,4,"small"),b(5,"async"),h(6,nt,2,0,"small"),p()}if(t&2){let e,i=l().$implicit,n=l().$implicit,a=l();j(a.controls.contentType===i.key?"active":""),c(2),S(i.icon),c(),x(" ",n("content_types.plural."+i.key)," "),c(),C((e=(e=I(5,5,a.dataSource.contentTypeCounts$))==null?null:e[i.key])?4:6,e)}}function ot(t,o){if(t&1&&(h(0,it,7,7,"li",24),b(1,"async")),t&2){let e,i=o.$implicit,n=l(2);C(i.key==="null"||(e=I(1,1,n.dataSource.availableContentTypes$))!=null&&e.includes(i.key)?0:-1)}}function rt(t,o){if(t&1){let e=O();s(0,"mat-checkbox",30),g("change",function(n){let a=_(e).$implicit,r=l(3).$implicit,v=l(2);return u(n.checked?v.controller.activateFilter(r,a.value):v.controller.deactivateFilter(r,a.value))}),m(1),s(2,"small"),m(3),b(4,"intEstimate"),p()()}if(t&2){let e=o.$implicit,i=l(3).$implicit;d("checked",i.filter==null?null:i.filter.includes(e.value)),c(),x(" ",e.label," "),c(2),S(F(4,3,e.count,e.isEstimate))}}function at(t,o){if(t&1&&(s(0,"section",27),k(1,rt,5,6,"mat-checkbox",29,We),p()),t&2){let e=l(2).$implicit;c(),$(e.aggregations)}}function ct(t,o){if(t&1){let e=O();s(0,"mat-checkbox",32),g("change",function(){let n=_(e).$implicit,a=l(4).$implicit,r=l(2);return u(r.controller.activateFilter(a,n.value))}),m(1),s(2,"small"),m(3),b(4,"intEstimate"),p()()}if(t&2){let e=o.$implicit;c(),x(" ",e.label," "),c(2),S(F(4,2,e.count,e.isEstimate))}}function lt(t,o){if(t&1&&k(0,ct,5,5,"mat-checkbox",31,We),t&2){let e=l(3).$implicit;$(e.aggregations)}}function st(t,o){if(t&1&&m(0),t&2){let e=l(4).$implicit;x(" ",e("general.none")," ")}}function pt(t,o){if(t&1&&(s(0,"section",28),h(1,lt,2,0)(2,st,1,1),p()),t&2){let e=l(2).$implicit;c(),C(e.aggregations.length?1:2)}}function mt(t,o){if(t&1){let e=O();s(0,"mat-expansion-panel",26),g("opened",function(){_(e);let n=l().$implicit,a=l(2);return u(a.controller.activateFacet(n))})("closed",function(){_(e);let n=l().$implicit,a=l(2);return u(a.controller.deactivateFacet(n))}),s(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"mat-icon"),m(4),p(),m(5),p()(),h(6,at,3,0,"section",27)(7,pt,3,1,"section",28),p()}if(t&2){let e=l().$implicit,i=l().$implicit;d("expanded",e.active),c(4),S(e.icon),c(),x(" ",i("facets."+e.key)," "),c(),C(e.filter!=null&&e.filter.length?6:7)}}function _t(t,o){if(t&1&&h(0,mt,8,4,"mat-expansion-panel",25),t&2){let e=o.$implicit;C(e.relevant?0:-1)}}function ut(t,o){if(t&1){let e=O();s(0,"button",18),g("click",function(){_(e);let n=l(2);return n.queryString.reset(),u(n.controller.setQueryString(null))}),s(1,"mat-icon"),m(2,"close"),p()()}if(t&2){let e=l().$implicit;d("matTooltip",e("torrents.clear_search"))}}function dt(t,o){if(t&1&&(s(0,"mat-option",33),m(1),p()),t&2){let e=l().$implicit,i=l().$implicit;d("value",e.field),c(),x(" ",i("torrents.ordering."+e.field)," ")}}function gt(t,o){if(t&1&&h(0,dt,2,2,"mat-option",33),t&2){let e=o.$implicit,i=l(2);C(e.field!="relevance"||i.queryString.value?0:-1)}}function ft(t,o){if(t&1){let e=O();J(0),V(1,"app-document-title",2),s(2,"mat-drawer-container",3)(3,"mat-drawer",4,0)(5,"mat-expansion-panel",5)(6,"mat-expansion-panel-header")(7,"mat-panel-title")(8,"mat-icon"),m(9,"interests"),p(),m(10),p()(),s(11,"section")(12,"nav")(13,"ul")(14,"li",6),g("click",function(){_(e);let n=l();return u(n.controller.selectContentType(null))}),s(15,"mat-icon",7),m(16,"emergency"),p(),m(17),h(18,et,3,4,"small"),b(19,"async"),p(),k(20,ot,2,3,null,null,Ge),p()()()(),k(22,_t,1,1,null,null,Ge),b(24,"async"),p(),s(25,"mat-drawer-content")(26,"div",8)(27,"div",9)(28,"button",10),g("click",function(){_(e);let n=D(4);return u(n.toggle())}),s(29,"mat-icon",11),m(30),p()()(),s(31,"div",12)(32,"mat-form-field",13)(33,"input",14),g("keyup.enter",function(){_(e);let n=l();return u(n.controller.setQueryString(n.queryString.value))}),p(),h(34,ut,3,1,"button",15),p()(),s(35,"div",16)(36,"mat-form-field",13)(37,"mat-label"),m(38),p(),s(39,"mat-select",17),g("valueChange",function(n){_(e);let a=l();return u(a.controller.selectOrderBy(n))}),k(40,gt,1,1,null,null,Ke),p()(),s(42,"button",18),g("click",function(){_(e);let n=l();return u(n.controller.toggleOrderByDirection())}),s(43,"mat-icon"),m(44),p()()(),s(45,"div",19)(46,"button",20),g("click",function(){_(e);let n=l();return u(n.dataSource.refresh())}),s(47,"mat-icon"),m(48,"sync"),p()()()(),V(49,"mat-divider"),s(50,"app-torrents-bulk-actions",21),g("updated",function(){_(e);let n=l();return u(n.dataSource.refresh())}),p(),V(51,"mat-divider"),s(52,"app-torrents-table",22),g("updated",function(){_(e);let n=l();return u(n.dataSource.refresh())}),p(),s(53,"app-paginator",23),g("paging",function(n){_(e);let a=l();return u(a.controller.handlePageEvent(n))}),p()()(),K()}if(t&2){let e,i,n=o.$implicit,a=D(4),r=l();c(),d("parts",ee(37,Ze,r.controls.queryString,((e=r.controls.contentType)!==null&&e!==void 0?e:"null")==="null"?null:n("content_types.plural."+r.controls.contentType),r.controls.page>1?n("paginator.page_x",Z(35,Xe,r.controls.page)):null,n("routes.torrents"))),c(2),d("mode",r.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",r.breakpoints.sizeAtLeast("Medium")),Y("role",r.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),c(2),d("expanded",r.breakpoints.sizeAtLeast("Medium")),c(5),x(" ",n("facets.content_type")," "),c(4),j(r.controls.contentType===null?"active":""),c(3),x("",n("content_types.plural.all")," "),c(),C((i=I(19,31,r.dataSource.overallTotalCount$))?18:-1,i),c(2),$(r.contentTypes),c(2),$(I(24,33,r.facets$)),c(6),d("matTooltip",n("torrents.toggle_drawer")),c(2),S(a.opened?"arrow_circle_left":"arrow_circle_right"),c(3),d("placeholder",n("torrents.search"))("formControl",r.queryString),c(),C(r.queryString.value?34:-1),c(4),S(n("torrents.order_by")),c(),d("value",r.controls.orderBy.field),c(),$(r.orderByOptions),c(2),d("matTooltip",n("torrents.order_direction_toggle")),c(2),S(r.controls.orderBy.descending?"arrow_downward":"arrow_upward"),c(2),d("matTooltip",n("torrents.refresh")),c(4),d("selectedItems$",r.selectedItems$),c(2),d("dataSource",r.dataSource)("controller",r.controller)("displayedColumns",r.breakpoints.sizeAtLeast("Medium")?r.allColumns:r.compactColumns)("multiSelection",r.multiSelection),c(),d("page",r.controls.page)("pageSize",r.controls.limit)("pageLength",r.dataSource.result.items.length)("totalLength",r.dataSource.result.totalCount)("totalIsEstimate",r.dataSource.result.totalCountIsEstimate)("hasNextPage",r.dataSource.result.hasNextPage)}}var un=(()=>{class t{constructor(){this.route=w(ne),this.router=w(ie),this.apollo=w(ae),this.errorsService=w(ge),this.transloco=w(oe),this.breakpoints=w(qe),this.controls=Ye,this.contentTypes=Le,this.orderByOptions=L,this.allColumns=Qe,this.compactColumns=Ue,this.queryString=new se(""),this.result=z,this.multiSelection=new me(!0,[]),this.selectedItemsSubject=new E([]),this.selectedItems$=this.selectedItemsSubject.asObservable(),this.subscriptions=Array(),this.controller=new Re(this.controls),this.dataSource=new B(this.apollo,this.errorsService,this.controller.params$),this.subscriptions.push(this.controller.controls$.subscribe(e=>{this.controls=e})),this.facets$=this.controller.controls$.pipe(U(this.dataSource.result$),P(([e,i])=>q.map(n=>M(f(f({},n),n.extractInput(e.facets)),{relevant:!n.contentTypes||!!(e.contentType&&e.contentType!=="null"&&n.contentTypes.includes(e.contentType)),aggregations:n.extractAggregations(i.aggregations).map(a=>M(f({},a),{label:n.resolveLabel(a,this.transloco)}))})))),this.subscriptions.push(this.dataSource.result$.subscribe(e=>{this.result=e;let i=new Set(e.items.map(({infoHash:n})=>n));this.multiSelection.deselect(...this.multiSelection.selected.filter(n=>!i.has(n)))}))}ngOnInit(){this.subscriptions.push(this.route.queryParams.subscribe(e=>{this.queryString.setValue(y(e,"query")??null),this.controller.update(()=>ht(e))}),this.controller.controls$.subscribe(e=>{this.router.navigate([],{relativeTo:this.route,queryParams:xt(e),queryParamsHandling:"replace"})}),this.multiSelection.changed.subscribe(e=>{let i=new Set(e.source.selected);this.selectedItemsSubject.next(this.result.items.filter(n=>i.has(n.infoHash)))}))}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe()),this.subscriptions=new Array}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=W({type:t,selectors:[["app-torrents-search"]],standalone:!0,features:[X],decls:1,vars:0,consts:[["drawer",""],[4,"transloco"],[3,"parts"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],[1,"panel-content-type",3,"expanded"],[3,"click"],["fontSet","material-icons"],[1,"search-form"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["aria-label","Side nav toggle icon","fontSet","material-icons"],[1,"form-field-container","form-field-container-search-query"],["subscriptSizing","dynamic"],["matInput","","autocapitalize","none",3,"keyup.enter","placeholder","formControl"],["mat-icon-button","",3,"matTooltip"],[1,"form-field-container","form-field-container-order-by"],[3,"valueChange","value"],["mat-icon-button","",3,"click","matTooltip"],[1,"form-field-container","button-container","button-container-refresh"],["mat-mini-fab","","color","primary",3,"click","matTooltip"],[3,"updated","selectedItems$"],[3,"updated","dataSource","controller","displayedColumns","multiSelection"],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","hasNextPage"],[3,"class"],[3,"expanded"],[3,"opened","closed","expanded"],[1,"filtered"],[1,"unfiltered"],[3,"checked"],[3,"change","checked"],["checked","true"],["checked","true",3,"change"],[3,"value"]],template:function(i,n){i&1&&h(0,ft,54,42,"ng-container",1)},dependencies:[Ie,_e,de,ue,Se,be,ye,Te,ve,Ce,xe,Me,Pe,Oe,ke,$e,Ee,we,ce,le,pe,re,te,Be,he,Ve,je,Ne,Fe],styles:[".mat-expansion-panel[_ngcontent-%COMP%]{margin-top:14px;margin-right:14px}.mat-expansion-panel[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:-10px}.mat-expansion-panel.panel-content-type[_ngcontent-%COMP%]{margin-top:20px}.mat-expansion-panel.panel-content-type[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{margin-left:0}.mat-expansion-panel[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding-left:0;margin:0}.mat-expansion-panel[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative;line-height:40px;padding-left:40px}.mat-expansion-panel[_ngcontent-%COMP%] mat-panel-title[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%], .mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:absolute;left:0;top:8px}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{cursor:pointer}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{top:6px}.mat-expansion-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{float:right;font-size:.8rem}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{display:block}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] label{min-width:220px}.mat-expansion-panel[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{margin-left:10px;position:absolute;right:0}.search-form[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;position:relative;clear:both;display:flex;flex-wrap:wrap}.search-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;position:relative;margin-left:20px;padding-bottom:20px}.search-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:8px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%]{padding-right:40px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%]{width:300px}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.search-form[_ngcontent-%COMP%] .form-field-container.form-field-container-search-query[_ngcontent-%COMP%] .mat-mdc-form-field-infix{padding-right:50px}.search-form[_ngcontent-%COMP%] .button-container-toggle-direction[_ngcontent-%COMP%]{margin-left:4px}app-paginator[_ngcontent-%COMP%]{float:right;padding-top:14px;padding-bottom:20px}"],changeDetection:0})}}return t})(),H=20,Ye={page:1,limit:H,contentType:null,orderBy:ze,facets:{genre:T,language:T,fileType:T,torrentSource:T,torrentTag:T,videoResolution:T,videoSource:T}},ht=t=>{let o=y(t,"query"),e=A(t,"facets"),i,n=y(t,"torrent");if(n){let a,r=y(t,"tab");Ae.includes(r)&&(a=r),i={infoHash:n,tab:a}}return{queryString:o,orderBy:St(t,!!o),contentType:Ct(t),limit:R(t,"limit")??H,page:R(t,"page")??1,selectedTorrent:i,facets:q.reduce((a,r)=>{let v=e?.includes(r.key)??!1,Je=A(t,r.key);return r.patchInput(a,{active:v,filter:Je})},Ye.facets)}},xt=t=>{let o=t.page,e=t.limit;o===1&&(o=void 0),e===H&&(e=void 0);let i=He(t)?void 0:t.orderBy,n;return i&&(n=i.descending?"1":"0"),f(f({query:t.queryString?encodeURIComponent(t.queryString):void 0,page:o,limit:e,content_type:t.contentType,order:i?.field,desc:n},t.selectedTorrent?{torrent:t.selectedTorrent.infoHash,tab:t.selectedTorrent.tab??void 0}:{}),bt(t.facets))},Ct=t=>{let o=y(t,"content_type");return o&&o in De?o:null},St=(t,o)=>{let e=null,i=y(t,"desc");i==="1"?e=!0:i==="0"&&(e=!1);let n=y(t,"order");for(let a of L)if(a.field===n)return{field:n,descending:e??a.descending};return{field:o?"relevance":"published_at",descending:e??!0}},bt=t=>{let[o,e]=q.reduce((i,n)=>{let a=n.extractInput(t);return a.active?[[...i[0],n.key],a.filter?M(f({},i[1]),{[n.key]:a.filter}):i[1]]:i},[[],{}]);return f({facets:o.length?o.join(","):void 0},Object.fromEntries(Object.entries(e).map(([i,n])=>[i,encodeURIComponent(n.join(","))])))};export{un as TorrentsSearchComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-FNMD7JET.js b/webui/dist/bitmagnet/browser/chunk-AY6Y76TX.js similarity index 99% rename from webui/dist/bitmagnet/browser/chunk-FNMD7JET.js rename to webui/dist/bitmagnet/browser/chunk-AY6Y76TX.js index 3418a9b8..3eb5ec41 100644 --- a/webui/dist/bitmagnet/browser/chunk-FNMD7JET.js +++ b/webui/dist/bitmagnet/browser/chunk-AY6Y76TX.js @@ -1,2 +1,2 @@ -import{A as ot,B as P,C as ct,D as lt,o as et,p as nt,q as it,r as at,t as st,y as O,z as rt}from"./chunk-HZYDZMJ4.js";import{c as tt,d as I,g,h as T,i as j}from"./chunk-6XXA7HXI.js";import{$b as B,Cb as S,Ea as z,Fa as N,Gb as U,Hc as G,Ka as u,Mb as Z,Oa as V,Qa as q,Qb as y,Rb as _,Sb as $,Tc as J,Wb as W,Yb as K,Zb as X,_b as Y,a as h,ec as w,fa as F,fc as C,gc as M,k as d,ka as b,kb as f,kc as D,lb as c,mc as R,na as A,nb as H,pa as o,pc as E,qa as L,ua as x,wa as k,xb as Q}from"./chunk-Z3WUIYN5.js";function ft(i,m){if(i&1){let t=W();y(0,"div",1)(1,"button",2),X("click",function(){z(t);let n=B();return N(n.action())}),D(2),_()()}if(i&2){let t=B();f(2),R(" ",t.data.action," ")}}var _t=["label"];function vt(i,m){}var bt=Math.pow(2,31)-1,v=class{constructor(m,t){this._overlayRef=t,this._afterDismissed=new d,this._afterOpened=new d,this._onAction=new d,this._dismissedByAction=!1,this.containerInstance=m,m._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(m){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(m,bt))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},dt=new A("MatSnackBarData"),p=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},kt=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=k({type:i,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return i})(),yt=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=k({type:i,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return i})(),gt=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=k({type:i,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return i})(),At=(()=>{class i{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(e){return new(e||i)(c(v),c(dt))}}static{this.\u0275cmp=x({type:i,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[E],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,n){e&1&&(y(0,"div",0),D(1),_(),S(2,ft,3,1,"div",1)),e&2&&(f(),R(" ",n.data.message,` +import{A as ot,B as P,C as ct,D as lt,o as et,p as nt,q as it,r as at,t as st,y as O,z as rt}from"./chunk-K5VIU67A.js";import{c as tt,d as I,g,h as T,i as j}from"./chunk-6XXA7HXI.js";import{$b as B,Cb as S,Ea as z,Fa as N,Gb as U,Hc as G,Ka as u,Mb as Z,Oa as V,Qa as q,Qb as y,Rb as _,Sb as $,Tc as J,Wb as W,Yb as K,Zb as X,_b as Y,a as h,ec as w,fa as F,fc as C,gc as M,k as d,ka as b,kb as f,kc as D,lb as c,mc as R,na as A,nb as H,pa as o,pc as E,qa as L,ua as x,wa as k,xb as Q}from"./chunk-Z3WUIYN5.js";function ft(i,m){if(i&1){let t=W();y(0,"div",1)(1,"button",2),X("click",function(){z(t);let n=B();return N(n.action())}),D(2),_()()}if(i&2){let t=B();f(2),R(" ",t.data.action," ")}}var _t=["label"];function vt(i,m){}var bt=Math.pow(2,31)-1,v=class{constructor(m,t){this._overlayRef=t,this._afterDismissed=new d,this._afterOpened=new d,this._onAction=new d,this._dismissedByAction=!1,this.containerInstance=m,m._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(m){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(m,bt))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},dt=new A("MatSnackBarData"),p=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},kt=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=k({type:i,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return i})(),yt=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=k({type:i,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return i})(),gt=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275dir=k({type:i,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return i})(),At=(()=>{class i{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(e){return new(e||i)(c(v),c(dt))}}static{this.\u0275cmp=x({type:i,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[E],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(e,n){e&1&&(y(0,"div",0),D(1),_(),S(2,ft,3,1,"div",1)),e&2&&(f(),R(" ",n.data.message,` `),f(),Z(n.hasAction?2:-1))},dependencies:[st,kt,yt,gt],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return i})(),xt={snackBarState:tt("state",[T("void, hidden",g({transform:"scale(0.8)",opacity:0})),T("visible",g({transform:"scale(1)",opacity:1})),j("* => visible",I("150ms cubic-bezier(0, 0, 0.2, 1)")),j("* => void, * => hidden",I("75ms cubic-bezier(0.4, 0.0, 1, 1)",g({opacity:0})))])},St=0,Bt=(()=>{class i extends ot{constructor(t,e,n,a,s){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=a,this.snackBarConfig=s,this._document=L(J),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new d,this._onExit=new d,this._onEnter=new d,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${St++}`,this.attachDomPortal=r=>{this._assertNotAttached();let l=this._portalOutlet.attachDomPortal(r);return this._afterPortalAttached(),l},s.politeness==="assertive"&&!s.announcementMessage?this._live="assertive":s.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),e}attachTemplatePortal(t){this._assertNotAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),e}onAnimationEnd(t){let{fromState:e,toState:n}=t;if((n==="void"&&e!=="void"||n==="hidden")&&this._completeExit(),n==="visible"){let a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(s=>t.classList.add(s)):t.classList.add(e)),this._exposeToModals();let n=this._label.nativeElement,a="mdc-snackbar__label";n.classList.toggle(a,!n.querySelector(`.${a}`))}_exposeToModals(){let t=this._liveElementId,e=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let n=0;n{let e=t.getAttribute("aria-owns");if(e){let n=e.replace(this._liveElementId,"").trim();n.length>0?t.setAttribute("aria-owns",n):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),n?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(e){return new(e||i)(c(V),c(q),c(G),c(et),c(p))}}static{this.\u0275cmp=x({type:i,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,n){if(e&1&&(w(P,7),w(_t,7)),e&2){let a;C(a=M())&&(n._portalOutlet=a.first),C(a=M())&&(n._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(e,n){e&1&&Y("@state.done",function(s){return n.onAnimationEnd(s)}),e&2&&K("@state",n._animationState)},standalone:!0,features:[Q,E],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,n){e&1&&(y(0,"div",1)(1,"div",2,0)(3,"div",3),S(4,vt,0,0,"ng-template",4),_(),$(5,"div"),_()()),e&2&&(f(5),U("aria-live",n._live)("role",n._role)("id",n._liveElementId))},dependencies:[P],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-app-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-app-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-app-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-app-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-snack-bar-button-color, var(--mat-app-inverse-primary));--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[xt.snackBarState]}})}}return i})();function wt(){return new p}var Ct=new A("mat-snack-bar-default-options",{providedIn:"root",factory:wt}),mt=(()=>{class i{get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}constructor(t,e,n,a,s,r){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=a,this._parentSnackBar=s,this._defaultConfig=r,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=At,this.snackBarContainerComponent=Bt,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){let a=h(h({},this._defaultConfig),n);return a.data={message:t,action:e},a.announcementMessage===t&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){let n=e&&e.viewContainerRef&&e.viewContainerRef.injector,a=u.create({parent:n||this._injector,providers:[{provide:p,useValue:e}]}),s=new O(this.snackBarContainerComponent,e.viewContainerRef,a),r=t.attach(s);return r.instance.snackBarConfig=e,r.instance}_attach(t,e){let n=h(h(h({},new p),this._defaultConfig),e),a=this._createOverlay(n),s=this._attachSnackBarContainer(a,n),r=new v(s,a);if(t instanceof H){let l=new rt(t,null,{$implicit:n.data,snackBarRef:r});r.instance=s.attachTemplatePortal(l)}else{let l=this._createInjector(n,r),ht=new O(t,void 0,l),pt=s.attachComponentPortal(ht);r.instance=pt.instance}return this._breakpointObserver.observe(it.HandsetPortrait).pipe(F(a.detachments())).subscribe(l=>{a.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),n.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(r,n),this._openedSnackBarRef=r,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){let e=new ct;e.direction=t.direction;let n=this._overlay.position().global(),a=t.direction==="rtl",s=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!a||t.horizontalPosition==="end"&&a,r=!s&&t.horizontalPosition!=="center";return s?n.left("0"):r?n.right("0"):n.centerHorizontally(),t.verticalPosition==="top"?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){let n=t&&t.viewContainerRef&&t.viewContainerRef.injector;return u.create({parent:n||this._injector,providers:[{provide:v,useValue:e},{provide:dt,useValue:t.data}]})}static{this.\u0275fac=function(e){return new(e||i)(o(lt),o(at),o(u),o(nt),o(i,12),o(Ct))}}static{this.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var ae=(()=>{class i{constructor(t){this.snackBar=t,this.expiry=1e3*10}addError(t,e=this.expiry){this.snackBar.open(t,"Dismiss",{duration:e,panelClass:["snack-bar-error"]})}static{this.\u0275fac=function(e){return new(e||i)(o(mt))}}static{this.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();export{ae as a}; diff --git a/webui/dist/bitmagnet/browser/chunk-SF7T53WL.js b/webui/dist/bitmagnet/browser/chunk-AYWXSEWP.js similarity index 98% rename from webui/dist/bitmagnet/browser/chunk-SF7T53WL.js rename to webui/dist/bitmagnet/browser/chunk-AYWXSEWP.js index b783afda..8e16aba3 100644 --- a/webui/dist/bitmagnet/browser/chunk-SF7T53WL.js +++ b/webui/dist/bitmagnet/browser/chunk-AYWXSEWP.js @@ -1 +1 @@ -import{a as je,b as $e,c as R}from"./chunk-BYSPLPNN.js";import{e as Re}from"./chunk-Y7K23DTG.js";import{l as Ae}from"./chunk-42PJPEMD.js";import{a as ve}from"./chunk-FNMD7JET.js";import{a as Ne}from"./chunk-P4IGP6ZM.js";import{a as De}from"./chunk-DSEDLZDW.js";import{Ba as Ee,Da as Be,Ea as Ve,Fa as Ie,M as ke,P as Te,S as Se,V as K,W as ye,X as Q,_ as Y,_a as W,a as ge,b as J,h as Ce,s as xe,ta as we,ua as Oe,w as Me,wa as q,xa as Pe}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{$b as p,B as ue,Cb as z,Ea as _,Fa as f,Hb as l,Kb as j,N as pe,Nb as A,Ob as B,Pb as V,Q as re,Qb as i,Rb as c,Sb as P,Tb as H,Ub as U,Wb as ne,Zb as h,a as M,ad as be,b as v,ka as de,kb as a,kc as u,l as D,lc as T,mc as _e,o as me,pc as G,qa as O,qc as fe,sc as he,ua as F,vc as ie,wc as oe}from"./chunk-Z3WUIYN5.js";var $=(n,s)=>{let{bucketParams:e,earliestBucket:r}=We(n,s),t=Object.entries(s.torrent.metrics.buckets.reduce((d,x)=>{if(x.source!==(n.source??x.source))return d;let g=w(x.bucket,e);if(r&&r.index>g.index&&(g=void 0),!g)return d;let b=d[x.source]??[];return v(M({},d),{[x.source]:{created:x.updated?b.created:v(M({},b.created),{[g.key]:{count:x.count+(b.created?.[g.key]?.count??0),startTime:g.start}}),updated:x.updated?v(M({},b.updated),{[g.key]:{count:x.count+(b.updated?.[g.key]?.count??0),startTime:g.start}}):b.updated}})},{})).map(([d,x])=>{let g;if(Object.keys(x).length){let b=Array(),k=Le(Array("created","updated").flatMap(S=>{let y=Le(Object.entries(x[S]??{}).filter(([,te])=>te?.count).sort(([te],[qe])=>parseInt(te)d.events?[d.events.earliestBucket]:[]).sort()[0],o=t.flatMap(d=>d.events?[d.events.latestBucket]:[]).sort().reverse()[0];return C&&o&&(m={earliestBucket:C,latestBucket:o}),{params:v(M({},n),{buckets:e}),sourceSummaries:t,bucketSpan:m,availableSources:s.torrent.listSources.sources.map(d=>({key:d.key,name:d.name}))}},Le=n=>Object.fromEntries(n),We=(n,s)=>{let e=n.buckets.duration==="AUTO"?"hour":n.buckets.duration,r=n.buckets.multiplier==="AUTO"?1:n.buckets.multiplier,t=n.buckets.timeframe,m=new Date,C=w(m,{duration:e,multiplier:r}),o=w(m.getTime()-1e3*I[t],{duration:e,multiplier:r}),d=[o,...s.torrent.metrics.buckets.flatMap(b=>[w(b.bucket,{duration:e,multiplier:r})]),C].filter(b=>b.index>=o.index).sort((b,k)=>b.index-k.index),x=d[0],g=d[d.length-1];if(n.buckets.multiplier==="AUTO"){let k=g.index-x.index;r=Math.min(60,Math.max(Math.floor(k/(20*5))*5,1))}return{bucketParams:{duration:e,multiplier:r,timeframe:t},earliestBucket:w(m.getTime()-1e3*I[t],{duration:e,multiplier:r}),latestBucket:w(Math.max(m.getTime(),g.start.getTime()),{duration:e,multiplier:r})}},w=(n,s)=>{let e=new Date(n),r=1e3*X[s.duration]*s.multiplier,t=Math.floor(e.getTime()/r);return{key:`${t}`,index:t,start:new Date(t*r)}};var ae={duration:"minute",multiplier:1,timeframe:"hours_1"},Fe=["day","hour","minute"],X={minute:60,hour:60*60,day:60*60*24},se={buckets:ae,autoRefresh:"off"},ce={torrent:{metrics:{buckets:[]},listSources:{sources:[{key:"dht",name:"DHT"}]}}},Z=["created","updated"],ze=["minutes_15","minutes_30","hours_1","hours_6","hours_12","days_1","weeks_1"],I={minutes_15:60*15,minutes_30:60*30,hours_1:60*60,hours_6:60*60*6,hours_12:60*60*12,days_1:60*60*24,weeks_1:60*60*24*7},He=["off","seconds_10","seconds_30","minutes_1","minutes_5"],Ue={off:null,seconds_10:10,seconds_30:30,minutes_1:60,minutes_5:60*5},Ge=$(se,ce);var ee=class{constructor(s,e=se,r){this.apollo=s,this.errorsService=r,this.rawResultSubject=new D(ce),this.resultSubject=new D(Ge),this.result$=this.resultSubject.asObservable(),this.loadingSubject=new D(!1),this.paramsSubject=new D(e),this.params$=this.paramsSubject.asObservable(),this.variablesSubject=new D(Je(e)),this.paramsSubject.pipe(re(50)).subscribe(t=>{let m=this.variablesSubject.getValue(),C=Je(t);JSON.stringify(m)!==JSON.stringify(C)?this.variablesSubject.next(C):this.resultSubject.next($(t,this.rawResultSubject.getValue()))}),this.variablesSubject.pipe(re(50)).subscribe(t=>this.request(t)),this.rawResultSubject.subscribe(t=>{let m=this.paramsSubject.getValue();this.resultSubject.next($(m,t)),this.setInterval(m.autoRefresh)})}setInterval(s){clearTimeout(this.refreshTimeout);let e=Ue[s??this.params.autoRefresh];e&&(this.refreshTimeout=setTimeout(()=>{this.refresh()},e*1e3))}get params(){return this.paramsSubject.getValue()}get bucketDuration(){let s=this.params.buckets.duration;return s==="AUTO"?"hour":s}get bucketMultiplier(){return this.resultSubject.getValue().params.buckets.multiplier??this.params.buckets.multiplier}get loading(){return this.loadingSubject.getValue()}setTimeframe(s){this.updateParams(e=>v(M({},e),{buckets:v(M({},e.buckets),{timeframe:s})}))}setSource(s){this.updateParams(e=>v(M({},e),{source:s??void 0}))}setBucketDuration(s,e){this.updateParams(r=>v(M({},r),{buckets:v(M({},r.buckets),{duration:s,multiplier:e??"AUTO"})}))}setBucketMultiplier(s){this.updateParams(e=>v(M({},e),{buckets:v(M({},e.buckets),{multiplier:s})}))}setEvent(s){this.updateParams(e=>v(M({},e),{event:s??void 0}))}setAutoRefreshInterval(s){this.updateParams(e=>v(M({},e),{autoRefresh:s}))}updateParams(s){this.paramsSubject.next(s(this.params))}refresh(){this.variablesSubject.next(this.variablesSubject.getValue())}request(s){return clearTimeout(this.refreshTimeout),this.loadingSubject.next(!0),this.apollo.query({query:ke,variables:s,fetchPolicy:"no-cache"}).pipe(ue(e=>{e&&(this.loadingSubject.next(!1),this.rawResultSubject.next(e.data))})).pipe(pe(e=>(this.errorsService.addError(`Failed to load torrent metrics: ${e.message}`),this.loadingSubject.next(!1),this.setInterval(),me))).subscribe()}},Je=n=>({input:{bucketDuration:n.buckets.duration==="AUTO"?"hour":n.buckets.duration,sources:n.source?[n.source]:void 0,startTime:new Date(new Date().getTime()-1e3*I[n.buckets.timeframe]).toISOString()}});var L={created:"primary",updated:"secondary"},Qe=(()=>{class n{constructor(){this.themeInfo=O(Re),this.transloco=O(ge)}create(e,r){let{colors:t}=this.themeInfo.info,m=Array(),C=[];if(e){let o=e.sourceSummaries.filter(k=>!k.isEmpty),d=Array.from(new Set(o.flatMap(k=>k.events?[k.events.earliestBucket,k.events.latestBucket]:[]))).sort(),x=new Date,g=Math.min(d[0],w(x.getTime()-1e3*I[e.params.buckets.timeframe],e.params.buckets).index),b=Math.max(d[d.length-1],w(x,e.params.buckets).index);if(d.length){for(let S=g;S<=b;S++)m.push(this.formatBucketKey(e.params.buckets,S));let k=Z.filter(S=>(e.params.event??S)===S);for(let S of o)for(let y of k){let E=Array();for(let N=g;N<=b;N++)E.push(S.events?.eventBuckets?.[y]?.entries?.[`${N}`]?.count??0);C.push({yAxisID:"yCount",label:[S.source,y].join("/"),data:E,borderColor:t[R(L[y],50)],pointBackgroundColor:t[R(L[y],20)],pointBorderColor:t[R(L[y],80)],pointHoverBackgroundColor:t[R(L[y],40)],pointHoverBorderColor:t[R(L[y],60)]})}}}return{type:"line",options:{animation:!1,responsive:!0,elements:{line:{tension:.5}},scales:{yCount:{position:"left",ticks:{callback:o=>parseInt(o).toLocaleString(this.transloco.getActiveLang())}}},plugins:{legend:{display:r.legend},decimation:{enabled:!0}}},data:{labels:m,datasets:C}}}formatBucketKey(e,r){let t;switch(e.duration){case"day":t="d LLL";break;case"hour":t="d LLL H:00";break;case"minute":t="H:mm";break}return je(1e3*X[e.duration]*e.multiplier*r,t,{locale:Ae(this.transloco.getActiveLang())})}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=de({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var tt=(n,s)=>s.key,rt=()=>["dht"];function nt(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e))}}function it(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e+"s"))}}function ot(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit;l("value",e.key),a(),T(e.name)}}function at(n,s){if(n&1){let e=ne();i(0,"button",16),h("click",function(){let t=_(e).$implicit,m=p(2);return f(m.torrentMetricsController.params.source===t||m.torrentMetricsController.setSource(t))}),i(1,"mat-icon"),u(2),c()()}if(n&2){let e=s.$implicit,r=p(2);j(r.torrentMetricsController.params.source===e?"selected":"deselected"),l("matTooltip",e),a(2),T(r.torrentMetricsController.params.source===e?"radio_button_checked":"radio_button_unchecked")}}function st(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.event."+e))}}function ct(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e))}}function lt(n,s){if(n&1){let e=ne();H(0),i(1,"mat-card")(2,"mat-card-content")(3,"mat-grid-list",1)(4,"mat-grid-tile",2)(5,"mat-card",3)(6,"mat-card-header")(7,"mat-card-title")(8,"h4"),u(9),c()()(),i(10,"mat-card-content")(11,"mat-form-field",4)(12,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setTimeframe(t))}),B(13,nt,2,2,"mat-option",6,A),c()(),i(15,"div",7)(16,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[0]))}),i(17,"mat-icon"),u(18,"first_page"),c()(),i(19,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.torrentMetricsController.params.buckets.timeframe)-1]))}),i(20,"mat-icon"),u(21,"navigate_before"),c()(),i(22,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.torrentMetricsController.params.buckets.timeframe)+1]))}),i(23,"mat-icon"),u(24,"navigate_next"),c()(),i(25,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.length-1]))}),i(26,"mat-icon"),u(27,"last_page"),c()()()()()(),i(28,"mat-grid-tile",2)(29,"mat-card",9)(30,"mat-card-header")(31,"mat-card-title")(32,"h4"),u(33),c()()(),i(34,"mat-card-content")(35,"mat-form-field",10)(36,"input",11),ie(37,"async"),h("change",function(t){_(e);let m=p();return f(m.handleMultiplierEvent(t))}),c()(),i(38,"mat-form-field",12)(39,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setBucketDuration(t))}),B(40,it,2,2,"mat-option",6,A),c()(),i(42,"div",7)(43,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketMultiplier(t.torrentMetricsController.bucketMultiplier-1))}),i(44,"mat-icon"),u(45,"remove"),c()(),i(46,"button",13),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketMultiplier(t.torrentMetricsController.bucketMultiplier+1))}),i(47,"mat-icon"),u(48,"add"),c()(),i(49,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[0]))}),i(50,"mat-icon"),u(51,"first_page"),c()(),i(52,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.torrentMetricsController.bucketDuration)-1]))}),i(53,"mat-icon"),u(54,"navigate_before"),c()(),i(55,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.torrentMetricsController.bucketDuration)+1]))}),i(56,"mat-icon"),u(57,"navigate_next"),c()(),i(58,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.length-1]))}),i(59,"mat-icon"),u(60,"last_page"),c()()()()()(),i(61,"mat-grid-tile",2)(62,"mat-card")(63,"mat-card-header")(64,"mat-card-title")(65,"h4"),u(66),c()()(),i(67,"mat-card-content")(68,"mat-form-field",4)(69,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setSource(t==="_all"?null:t))}),i(70,"mat-option",14),u(71,"All"),c(),B(72,ot,2,2,"mat-option",6,tt),ie(74,"async"),c()(),i(75,"div",15)(76,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setSource(null))}),i(77,"mat-icon",17),u(78,"workspaces"),c()(),B(79,at,3,4,"button",18,A),c()()()(),i(81,"mat-grid-tile",2)(82,"mat-card")(83,"mat-card-header")(84,"mat-card-title")(85,"h4"),u(86),c()()(),i(87,"mat-card-content")(88,"mat-form-field",4)(89,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setEvent(t==="_all"?null:t))}),i(90,"mat-option",14),u(91,"All"),c(),B(92,st,2,2,"mat-option",6,A),c()(),i(94,"div",15)(95,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setEvent(null))}),i(96,"mat-icon",17),u(97,"radio_button_checked"),c()(),i(98,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.params.event==="created"||t.torrentMetricsController.setEvent("created"))}),i(99,"mat-icon"),u(100,"add_circle"),c()(),i(101,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.params.event==="updated"||t.torrentMetricsController.setEvent("updated"))}),i(102,"mat-icon"),u(103,"check_circle"),c()()()()()(),i(104,"mat-grid-tile",2)(105,"mat-card",19)(106,"mat-card-header")(107,"mat-card-title")(108,"h4"),u(109),c()()(),i(110,"mat-card-content")(111,"mat-form-field",4)(112,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setAutoRefreshInterval(t))}),B(113,ct,2,2,"mat-option",6,A),c()(),i(115,"div",15)(116,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.refresh())}),i(117,"mat-icon"),u(118,"sync"),c()()()()()()(),i(119,"div",20),P(120,"mat-progress-bar",21),c(),i(121,"mat-grid-list",1)(122,"mat-grid-tile",2),P(123,"app-chart",22),c(),P(124,"mat-grid-tile",2),c()()(),U()}if(n&2){let e,r,t,m,C=s.$implicit,o=p();a(3),l("cols",o.breakpoints.sizeAtLeast("Large")?5:o.breakpoints.sizeAtLeast("Medium")?3:o.breakpoints.sizeAtLeast("Small")?2:1),a(),l("colspan",1)("rowspan",2),a(5),T(C("dashboard.metrics.timeframe")),a(3),l("value",o.torrentMetricsController.params.buckets.timeframe),a(),V(o.timeframeNames),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)<=0),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)<=0),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)>=o.timeframeNames.length-1),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)>=o.timeframeNames.length-1),a(3),l("colspan",1)("rowspan",2),a(5),_e(" ",C("dashboard.metrics.resolution")," "),a(3),l("placeholder",(e=(e=oe(37,57,o.torrentMetricsController.result$))==null||e.params==null||e.params.buckets==null||e.params.buckets.multiplier==null?null:e.params.buckets.multiplier.toString())!==null&&e!==void 0?e:"")("value",o.torrentMetricsController.params.buckets.multiplier),a(3),l("value",o.torrentMetricsController.bucketDuration),a(),V(o.resolutionNames),a(3),l("disabled",o.torrentMetricsController.bucketMultiplier===1),a(6),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)<=0),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)<=0),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)>=o.resolutionNames.length-1),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)>=o.resolutionNames.length-1),a(3),l("colspan",1)("rowspan",2),a(5),T(C("torrents.source")),a(3),l("value",(r=o.torrentMetricsController.params.source)!==null&&r!==void 0?r:"_all"),a(3),V((t=oe(74,59,o.torrentMetricsController.result$))==null?null:t.availableSources),a(4),j(o.torrentMetricsController.params.source?"deselected":"selected"),l("matTooltip","all"),a(3),V(fe(61,rt)),a(2),l("colspan",1)("rowspan",2),a(5),T(C("dashboard.metrics.event")),a(3),l("value",(m=o.torrentMetricsController.params.event)!==null&&m!==void 0?m:"_all"),a(3),V(o.eventNames),a(3),j(o.torrentMetricsController.params.event?"deselected":"selected"),l("matTooltip","all"),a(3),j(o.torrentMetricsController.params.event==="created"?"selected":"deselected"),l("matTooltip","created"),a(3),j(o.torrentMetricsController.params.event==="updated"?"selected":"deselected"),l("matTooltip","updated"),a(3),l("colspan",1)("rowspan",2),a(5),T(C("general.refresh")),a(3),l("value",o.torrentMetricsController.params.autoRefresh),a(),V(o.autoRefreshIntervalNames),a(3),l("matTooltip","Refresh"),a(4),l("mode",o.torrentMetricsController.loading?"indeterminate":"determinate")("value",0),a(),l("cols",o.breakpoints.sizeAtLeast("Large")?2:1),a(),l("colspan",1)("rowspan",6),a(),l("title",C("dashboard.metrics.throughput"))("adapter",o.timeline)("$data",o.torrentMetricsController.result$)("height",400)("width",550),a(),l("colspan",1)("rowspan",5)}}var Ye=(()=>{class n{constructor(){this.breakpoints=O(Ne),this.apollo=O(Ce),this.torrentMetricsController=new ee(this.apollo,{buckets:ae,autoRefresh:"seconds_30"},O(ve)),this.timeline=O(Qe),this.resolutionNames=Fe,this.timeframeNames=ze,this.autoRefreshIntervalNames=He,this.eventNames=Z}ngOnDestroy(){this.torrentMetricsController.setAutoRefreshInterval("off")}handleMultiplierEvent(e){let r=e.currentTarget.value;this.torrentMetricsController.setBucketMultiplier(/^\d+$/.test(r)?parseInt(r):"AUTO")}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=F({type:n,selectors:[["app-torrent-metrics"]],standalone:!0,features:[G],decls:1,vars:0,consts:[[4,"transloco"],["rowHeight","100px",3,"cols"],[3,"colspan","rowspan"],[1,"form-timeframe"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],[1,"paginator","actions"],["mat-icon-button","",3,"click","disabled"],[1,"form-resolution"],["subscriptSizing","dynamic",1,"form-input-multiplier"],["type","number","matInput","","min","1","step","1",3,"change","placeholder","value"],["subscriptSizing","dynamic",1,"form-select-duration"],["mat-icon-button","",3,"click"],["value","_all"],[1,"actions"],["mat-icon-button","",3,"click","matTooltip"],["fontSet","material-icons"],["mat-icon-button","",3,"class","matTooltip"],[1,"form-refresh"],[1,"progress-bar-container"],[3,"mode","value"],[3,"title","adapter","$data","height","width"]],template:function(r,t){r&1&&z(0,lt,125,62,"ng-container",0)},dependencies:[W,xe,Me,K,Q,Y,ye,Se,Oe,we,q,Pe,Ee,Ie,Ve,J,be,$e,Te],styles:[".actions[_ngcontent-%COMP%]{width:210px;padding-top:12px;--mdc-icon-button-state-layer-size: 32px}.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:22px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:0}.progress-bar-container[_ngcontent-%COMP%]{width:100%;height:10px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{min-width:190px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:16px;font-size:18px}mat-form-field[_ngcontent-%COMP%]{width:186px}.form-resolution[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:-2px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%]{width:60px;margin-right:10px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-resolution[_ngcontent-%COMP%] .form-select-duration[_ngcontent-%COMP%]{width:116px}"]})}}return n})();var mt=(n,s)=>[n,s];function ut(n,s){if(n&1&&(H(0),P(1,"app-document-title",1),i(2,"mat-card",2)(3,"mat-card-header")(4,"mat-toolbar")(5,"h2"),P(6,"mat-icon",3),u(7),c()()(),i(8,"mat-card-content"),P(9,"app-torrent-metrics"),c()(),U()),n&2){let e=s.$implicit;a(),l("parts",he(2,mt,e("routes.torrents"),e("routes.dashboard"))),a(6),T(e("routes.torrents"))}}var or=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=F({type:n,selectors:[["app-torrents"]],standalone:!0,features:[G],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],[1,"dashboard-card"],["svgIcon","magnet"]],template:function(r,t){r&1&&z(0,ut,10,5,"ng-container",0)},dependencies:[W,K,Q,Y,q,Be,J,Ye,De],styles:["mat-card-header[_ngcontent-%COMP%]{flex-wrap:wrap}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;margin:0 60px 0 48px;height:48px;line-height:48px}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:6px;margin-right:14px;line-height:1.25rem}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{flex:0 0 100%}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:2px}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}"]})}}return n})();export{or as TorrentsDashboardComponent}; +import{a as je,b as $e,c as R}from"./chunk-C7JZ6WBU.js";import{e as Re}from"./chunk-Y7K23DTG.js";import{l as Ae}from"./chunk-42PJPEMD.js";import{a as ve}from"./chunk-AY6Y76TX.js";import{a as Ne}from"./chunk-4IZ4BZMF.js";import{a as De}from"./chunk-DSEDLZDW.js";import{Ba as Ee,Da as Be,Ea as Ve,Fa as Ie,M as ke,P as Te,S as Se,V as K,W as ye,X as Q,_ as Y,_a as W,a as ge,b as J,h as Ce,s as xe,ta as we,ua as Oe,w as Me,wa as q,xa as Pe}from"./chunk-K5VIU67A.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{$b as p,B as ue,Cb as z,Ea as _,Fa as f,Hb as l,Kb as j,N as pe,Nb as A,Ob as B,Pb as V,Q as re,Qb as i,Rb as c,Sb as P,Tb as H,Ub as U,Wb as ne,Zb as h,a as M,ad as be,b as v,ka as de,kb as a,kc as u,l as D,lc as T,mc as _e,o as me,pc as G,qa as O,qc as fe,sc as he,ua as F,vc as ie,wc as oe}from"./chunk-Z3WUIYN5.js";var $=(n,s)=>{let{bucketParams:e,earliestBucket:r}=We(n,s),t=Object.entries(s.torrent.metrics.buckets.reduce((d,x)=>{if(x.source!==(n.source??x.source))return d;let g=w(x.bucket,e);if(r&&r.index>g.index&&(g=void 0),!g)return d;let b=d[x.source]??[];return v(M({},d),{[x.source]:{created:x.updated?b.created:v(M({},b.created),{[g.key]:{count:x.count+(b.created?.[g.key]?.count??0),startTime:g.start}}),updated:x.updated?v(M({},b.updated),{[g.key]:{count:x.count+(b.updated?.[g.key]?.count??0),startTime:g.start}}):b.updated}})},{})).map(([d,x])=>{let g;if(Object.keys(x).length){let b=Array(),k=Le(Array("created","updated").flatMap(S=>{let y=Le(Object.entries(x[S]??{}).filter(([,te])=>te?.count).sort(([te],[qe])=>parseInt(te)d.events?[d.events.earliestBucket]:[]).sort()[0],o=t.flatMap(d=>d.events?[d.events.latestBucket]:[]).sort().reverse()[0];return C&&o&&(m={earliestBucket:C,latestBucket:o}),{params:v(M({},n),{buckets:e}),sourceSummaries:t,bucketSpan:m,availableSources:s.torrent.listSources.sources.map(d=>({key:d.key,name:d.name}))}},Le=n=>Object.fromEntries(n),We=(n,s)=>{let e=n.buckets.duration==="AUTO"?"hour":n.buckets.duration,r=n.buckets.multiplier==="AUTO"?1:n.buckets.multiplier,t=n.buckets.timeframe,m=new Date,C=w(m,{duration:e,multiplier:r}),o=w(m.getTime()-1e3*I[t],{duration:e,multiplier:r}),d=[o,...s.torrent.metrics.buckets.flatMap(b=>[w(b.bucket,{duration:e,multiplier:r})]),C].filter(b=>b.index>=o.index).sort((b,k)=>b.index-k.index),x=d[0],g=d[d.length-1];if(n.buckets.multiplier==="AUTO"){let k=g.index-x.index;r=Math.min(60,Math.max(Math.floor(k/(20*5))*5,1))}return{bucketParams:{duration:e,multiplier:r,timeframe:t},earliestBucket:w(m.getTime()-1e3*I[t],{duration:e,multiplier:r}),latestBucket:w(Math.max(m.getTime(),g.start.getTime()),{duration:e,multiplier:r})}},w=(n,s)=>{let e=new Date(n),r=1e3*X[s.duration]*s.multiplier,t=Math.floor(e.getTime()/r);return{key:`${t}`,index:t,start:new Date(t*r)}};var ae={duration:"minute",multiplier:1,timeframe:"hours_1"},Fe=["day","hour","minute"],X={minute:60,hour:60*60,day:60*60*24},se={buckets:ae,autoRefresh:"off"},ce={torrent:{metrics:{buckets:[]},listSources:{sources:[{key:"dht",name:"DHT"}]}}},Z=["created","updated"],ze=["minutes_15","minutes_30","hours_1","hours_6","hours_12","days_1","weeks_1"],I={minutes_15:60*15,minutes_30:60*30,hours_1:60*60,hours_6:60*60*6,hours_12:60*60*12,days_1:60*60*24,weeks_1:60*60*24*7},He=["off","seconds_10","seconds_30","minutes_1","minutes_5"],Ue={off:null,seconds_10:10,seconds_30:30,minutes_1:60,minutes_5:60*5},Ge=$(se,ce);var ee=class{constructor(s,e=se,r){this.apollo=s,this.errorsService=r,this.rawResultSubject=new D(ce),this.resultSubject=new D(Ge),this.result$=this.resultSubject.asObservable(),this.loadingSubject=new D(!1),this.paramsSubject=new D(e),this.params$=this.paramsSubject.asObservable(),this.variablesSubject=new D(Je(e)),this.paramsSubject.pipe(re(50)).subscribe(t=>{let m=this.variablesSubject.getValue(),C=Je(t);JSON.stringify(m)!==JSON.stringify(C)?this.variablesSubject.next(C):this.resultSubject.next($(t,this.rawResultSubject.getValue()))}),this.variablesSubject.pipe(re(50)).subscribe(t=>this.request(t)),this.rawResultSubject.subscribe(t=>{let m=this.paramsSubject.getValue();this.resultSubject.next($(m,t)),this.setInterval(m.autoRefresh)})}setInterval(s){clearTimeout(this.refreshTimeout);let e=Ue[s??this.params.autoRefresh];e&&(this.refreshTimeout=setTimeout(()=>{this.refresh()},e*1e3))}get params(){return this.paramsSubject.getValue()}get bucketDuration(){let s=this.params.buckets.duration;return s==="AUTO"?"hour":s}get bucketMultiplier(){return this.resultSubject.getValue().params.buckets.multiplier??this.params.buckets.multiplier}get loading(){return this.loadingSubject.getValue()}setTimeframe(s){this.updateParams(e=>v(M({},e),{buckets:v(M({},e.buckets),{timeframe:s})}))}setSource(s){this.updateParams(e=>v(M({},e),{source:s??void 0}))}setBucketDuration(s,e){this.updateParams(r=>v(M({},r),{buckets:v(M({},r.buckets),{duration:s,multiplier:e??"AUTO"})}))}setBucketMultiplier(s){this.updateParams(e=>v(M({},e),{buckets:v(M({},e.buckets),{multiplier:s})}))}setEvent(s){this.updateParams(e=>v(M({},e),{event:s??void 0}))}setAutoRefreshInterval(s){this.updateParams(e=>v(M({},e),{autoRefresh:s}))}updateParams(s){this.paramsSubject.next(s(this.params))}refresh(){this.variablesSubject.next(this.variablesSubject.getValue())}request(s){return clearTimeout(this.refreshTimeout),this.loadingSubject.next(!0),this.apollo.query({query:ke,variables:s,fetchPolicy:"no-cache"}).pipe(ue(e=>{e&&(this.loadingSubject.next(!1),this.rawResultSubject.next(e.data))})).pipe(pe(e=>(this.errorsService.addError(`Failed to load torrent metrics: ${e.message}`),this.loadingSubject.next(!1),this.setInterval(),me))).subscribe()}},Je=n=>({input:{bucketDuration:n.buckets.duration==="AUTO"?"hour":n.buckets.duration,sources:n.source?[n.source]:void 0,startTime:new Date(new Date().getTime()-1e3*I[n.buckets.timeframe]).toISOString()}});var L={created:"primary",updated:"secondary"},Qe=(()=>{class n{constructor(){this.themeInfo=O(Re),this.transloco=O(ge)}create(e,r){let{colors:t}=this.themeInfo.info,m=Array(),C=[];if(e){let o=e.sourceSummaries.filter(k=>!k.isEmpty),d=Array.from(new Set(o.flatMap(k=>k.events?[k.events.earliestBucket,k.events.latestBucket]:[]))).sort(),x=new Date,g=Math.min(d[0],w(x.getTime()-1e3*I[e.params.buckets.timeframe],e.params.buckets).index),b=Math.max(d[d.length-1],w(x,e.params.buckets).index);if(d.length){for(let S=g;S<=b;S++)m.push(this.formatBucketKey(e.params.buckets,S));let k=Z.filter(S=>(e.params.event??S)===S);for(let S of o)for(let y of k){let E=Array();for(let N=g;N<=b;N++)E.push(S.events?.eventBuckets?.[y]?.entries?.[`${N}`]?.count??0);C.push({yAxisID:"yCount",label:[S.source,y].join("/"),data:E,borderColor:t[R(L[y],50)],pointBackgroundColor:t[R(L[y],20)],pointBorderColor:t[R(L[y],80)],pointHoverBackgroundColor:t[R(L[y],40)],pointHoverBorderColor:t[R(L[y],60)]})}}}return{type:"line",options:{animation:!1,responsive:!0,elements:{line:{tension:.5}},scales:{yCount:{position:"left",ticks:{callback:o=>parseInt(o).toLocaleString(this.transloco.getActiveLang())}}},plugins:{legend:{display:r.legend},decimation:{enabled:!0}}},data:{labels:m,datasets:C}}}formatBucketKey(e,r){let t;switch(e.duration){case"day":t="d LLL";break;case"hour":t="d LLL H:00";break;case"minute":t="H:mm";break}return je(1e3*X[e.duration]*e.multiplier*r,t,{locale:Ae(this.transloco.getActiveLang())})}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275prov=de({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var tt=(n,s)=>s.key,rt=()=>["dht"];function nt(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e))}}function it(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e+"s"))}}function ot(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit;l("value",e.key),a(),T(e.name)}}function at(n,s){if(n&1){let e=ne();i(0,"button",16),h("click",function(){let t=_(e).$implicit,m=p(2);return f(m.torrentMetricsController.params.source===t||m.torrentMetricsController.setSource(t))}),i(1,"mat-icon"),u(2),c()()}if(n&2){let e=s.$implicit,r=p(2);j(r.torrentMetricsController.params.source===e?"selected":"deselected"),l("matTooltip",e),a(2),T(r.torrentMetricsController.params.source===e?"radio_button_checked":"radio_button_unchecked")}}function st(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.event."+e))}}function ct(n,s){if(n&1&&(i(0,"mat-option",6),u(1),c()),n&2){let e=s.$implicit,r=p().$implicit;l("value",e),a(),T(r("dashboard.interval."+e))}}function lt(n,s){if(n&1){let e=ne();H(0),i(1,"mat-card")(2,"mat-card-content")(3,"mat-grid-list",1)(4,"mat-grid-tile",2)(5,"mat-card",3)(6,"mat-card-header")(7,"mat-card-title")(8,"h4"),u(9),c()()(),i(10,"mat-card-content")(11,"mat-form-field",4)(12,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setTimeframe(t))}),B(13,nt,2,2,"mat-option",6,A),c()(),i(15,"div",7)(16,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[0]))}),i(17,"mat-icon"),u(18,"first_page"),c()(),i(19,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.torrentMetricsController.params.buckets.timeframe)-1]))}),i(20,"mat-icon"),u(21,"navigate_before"),c()(),i(22,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.indexOf(t.torrentMetricsController.params.buckets.timeframe)+1]))}),i(23,"mat-icon"),u(24,"navigate_next"),c()(),i(25,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setTimeframe(t.timeframeNames[t.timeframeNames.length-1]))}),i(26,"mat-icon"),u(27,"last_page"),c()()()()()(),i(28,"mat-grid-tile",2)(29,"mat-card",9)(30,"mat-card-header")(31,"mat-card-title")(32,"h4"),u(33),c()()(),i(34,"mat-card-content")(35,"mat-form-field",10)(36,"input",11),ie(37,"async"),h("change",function(t){_(e);let m=p();return f(m.handleMultiplierEvent(t))}),c()(),i(38,"mat-form-field",12)(39,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setBucketDuration(t))}),B(40,it,2,2,"mat-option",6,A),c()(),i(42,"div",7)(43,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketMultiplier(t.torrentMetricsController.bucketMultiplier-1))}),i(44,"mat-icon"),u(45,"remove"),c()(),i(46,"button",13),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketMultiplier(t.torrentMetricsController.bucketMultiplier+1))}),i(47,"mat-icon"),u(48,"add"),c()(),i(49,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[0]))}),i(50,"mat-icon"),u(51,"first_page"),c()(),i(52,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.torrentMetricsController.bucketDuration)-1]))}),i(53,"mat-icon"),u(54,"navigate_before"),c()(),i(55,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.indexOf(t.torrentMetricsController.bucketDuration)+1]))}),i(56,"mat-icon"),u(57,"navigate_next"),c()(),i(58,"button",8),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setBucketDuration(t.resolutionNames[t.resolutionNames.length-1]))}),i(59,"mat-icon"),u(60,"last_page"),c()()()()()(),i(61,"mat-grid-tile",2)(62,"mat-card")(63,"mat-card-header")(64,"mat-card-title")(65,"h4"),u(66),c()()(),i(67,"mat-card-content")(68,"mat-form-field",4)(69,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setSource(t==="_all"?null:t))}),i(70,"mat-option",14),u(71,"All"),c(),B(72,ot,2,2,"mat-option",6,tt),ie(74,"async"),c()(),i(75,"div",15)(76,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setSource(null))}),i(77,"mat-icon",17),u(78,"workspaces"),c()(),B(79,at,3,4,"button",18,A),c()()()(),i(81,"mat-grid-tile",2)(82,"mat-card")(83,"mat-card-header")(84,"mat-card-title")(85,"h4"),u(86),c()()(),i(87,"mat-card-content")(88,"mat-form-field",4)(89,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setEvent(t==="_all"?null:t))}),i(90,"mat-option",14),u(91,"All"),c(),B(92,st,2,2,"mat-option",6,A),c()(),i(94,"div",15)(95,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.setEvent(null))}),i(96,"mat-icon",17),u(97,"radio_button_checked"),c()(),i(98,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.params.event==="created"||t.torrentMetricsController.setEvent("created"))}),i(99,"mat-icon"),u(100,"add_circle"),c()(),i(101,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.params.event==="updated"||t.torrentMetricsController.setEvent("updated"))}),i(102,"mat-icon"),u(103,"check_circle"),c()()()()()(),i(104,"mat-grid-tile",2)(105,"mat-card",19)(106,"mat-card-header")(107,"mat-card-title")(108,"h4"),u(109),c()()(),i(110,"mat-card-content")(111,"mat-form-field",4)(112,"mat-select",5),h("valueChange",function(t){_(e);let m=p();return f(m.torrentMetricsController.setAutoRefreshInterval(t))}),B(113,ct,2,2,"mat-option",6,A),c()(),i(115,"div",15)(116,"button",16),h("click",function(){_(e);let t=p();return f(t.torrentMetricsController.refresh())}),i(117,"mat-icon"),u(118,"sync"),c()()()()()()(),i(119,"div",20),P(120,"mat-progress-bar",21),c(),i(121,"mat-grid-list",1)(122,"mat-grid-tile",2),P(123,"app-chart",22),c(),P(124,"mat-grid-tile",2),c()()(),U()}if(n&2){let e,r,t,m,C=s.$implicit,o=p();a(3),l("cols",o.breakpoints.sizeAtLeast("Large")?5:o.breakpoints.sizeAtLeast("Medium")?3:o.breakpoints.sizeAtLeast("Small")?2:1),a(),l("colspan",1)("rowspan",2),a(5),T(C("dashboard.metrics.timeframe")),a(3),l("value",o.torrentMetricsController.params.buckets.timeframe),a(),V(o.timeframeNames),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)<=0),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)<=0),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)>=o.timeframeNames.length-1),a(3),l("disabled",o.timeframeNames.indexOf(o.torrentMetricsController.params.buckets.timeframe)>=o.timeframeNames.length-1),a(3),l("colspan",1)("rowspan",2),a(5),_e(" ",C("dashboard.metrics.resolution")," "),a(3),l("placeholder",(e=(e=oe(37,57,o.torrentMetricsController.result$))==null||e.params==null||e.params.buckets==null||e.params.buckets.multiplier==null?null:e.params.buckets.multiplier.toString())!==null&&e!==void 0?e:"")("value",o.torrentMetricsController.params.buckets.multiplier),a(3),l("value",o.torrentMetricsController.bucketDuration),a(),V(o.resolutionNames),a(3),l("disabled",o.torrentMetricsController.bucketMultiplier===1),a(6),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)<=0),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)<=0),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)>=o.resolutionNames.length-1),a(3),l("disabled",o.resolutionNames.indexOf(o.torrentMetricsController.bucketDuration)>=o.resolutionNames.length-1),a(3),l("colspan",1)("rowspan",2),a(5),T(C("torrents.source")),a(3),l("value",(r=o.torrentMetricsController.params.source)!==null&&r!==void 0?r:"_all"),a(3),V((t=oe(74,59,o.torrentMetricsController.result$))==null?null:t.availableSources),a(4),j(o.torrentMetricsController.params.source?"deselected":"selected"),l("matTooltip","all"),a(3),V(fe(61,rt)),a(2),l("colspan",1)("rowspan",2),a(5),T(C("dashboard.metrics.event")),a(3),l("value",(m=o.torrentMetricsController.params.event)!==null&&m!==void 0?m:"_all"),a(3),V(o.eventNames),a(3),j(o.torrentMetricsController.params.event?"deselected":"selected"),l("matTooltip","all"),a(3),j(o.torrentMetricsController.params.event==="created"?"selected":"deselected"),l("matTooltip","created"),a(3),j(o.torrentMetricsController.params.event==="updated"?"selected":"deselected"),l("matTooltip","updated"),a(3),l("colspan",1)("rowspan",2),a(5),T(C("general.refresh")),a(3),l("value",o.torrentMetricsController.params.autoRefresh),a(),V(o.autoRefreshIntervalNames),a(3),l("matTooltip","Refresh"),a(4),l("mode",o.torrentMetricsController.loading?"indeterminate":"determinate")("value",0),a(),l("cols",o.breakpoints.sizeAtLeast("Large")?2:1),a(),l("colspan",1)("rowspan",6),a(),l("title",C("dashboard.metrics.throughput"))("adapter",o.timeline)("$data",o.torrentMetricsController.result$)("height",400)("width",550),a(),l("colspan",1)("rowspan",5)}}var Ye=(()=>{class n{constructor(){this.breakpoints=O(Ne),this.apollo=O(Ce),this.torrentMetricsController=new ee(this.apollo,{buckets:ae,autoRefresh:"seconds_30"},O(ve)),this.timeline=O(Qe),this.resolutionNames=Fe,this.timeframeNames=ze,this.autoRefreshIntervalNames=He,this.eventNames=Z}ngOnDestroy(){this.torrentMetricsController.setAutoRefreshInterval("off")}handleMultiplierEvent(e){let r=e.currentTarget.value;this.torrentMetricsController.setBucketMultiplier(/^\d+$/.test(r)?parseInt(r):"AUTO")}static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=F({type:n,selectors:[["app-torrent-metrics"]],standalone:!0,features:[G],decls:1,vars:0,consts:[[4,"transloco"],["rowHeight","100px",3,"cols"],[3,"colspan","rowspan"],[1,"form-timeframe"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],[1,"paginator","actions"],["mat-icon-button","",3,"click","disabled"],[1,"form-resolution"],["subscriptSizing","dynamic",1,"form-input-multiplier"],["type","number","matInput","","min","1","step","1",3,"change","placeholder","value"],["subscriptSizing","dynamic",1,"form-select-duration"],["mat-icon-button","",3,"click"],["value","_all"],[1,"actions"],["mat-icon-button","",3,"click","matTooltip"],["fontSet","material-icons"],["mat-icon-button","",3,"class","matTooltip"],[1,"form-refresh"],[1,"progress-bar-container"],[3,"mode","value"],[3,"title","adapter","$data","height","width"]],template:function(r,t){r&1&&z(0,lt,125,62,"ng-container",0)},dependencies:[W,xe,Me,K,Q,Y,ye,Se,Oe,we,q,Pe,Ee,Ie,Ve,J,be,$e,Te],styles:[".actions[_ngcontent-%COMP%]{width:210px;padding-top:12px;--mdc-icon-button-state-layer-size: 32px}.actions[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:22px}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-right:0}.progress-bar-container[_ngcontent-%COMP%]{width:100%;height:10px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-card-content[_ngcontent-%COMP%]{min-width:190px}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{margin-bottom:16px;font-size:18px}mat-form-field[_ngcontent-%COMP%]{width:186px}.form-resolution[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{margin-left:-2px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%]{width:60px;margin-right:10px}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.form-resolution[_ngcontent-%COMP%] .form-input-multiplier[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.form-resolution[_ngcontent-%COMP%] .form-select-duration[_ngcontent-%COMP%]{width:116px}"]})}}return n})();var mt=(n,s)=>[n,s];function ut(n,s){if(n&1&&(H(0),P(1,"app-document-title",1),i(2,"mat-card",2)(3,"mat-card-header")(4,"mat-toolbar")(5,"h2"),P(6,"mat-icon",3),u(7),c()()(),i(8,"mat-card-content"),P(9,"app-torrent-metrics"),c()(),U()),n&2){let e=s.$implicit;a(),l("parts",he(2,mt,e("routes.torrents"),e("routes.dashboard"))),a(6),T(e("routes.torrents"))}}var or=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275cmp=F({type:n,selectors:[["app-torrents"]],standalone:!0,features:[G],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],[1,"dashboard-card"],["svgIcon","magnet"]],template:function(r,t){r&1&&z(0,ut,10,5,"ng-container",0)},dependencies:[W,K,Q,Y,q,Be,J,Ye,De],styles:["mat-card-header[_ngcontent-%COMP%]{flex-wrap:wrap}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;margin:0 60px 0 48px;height:48px;line-height:48px}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:6px;margin-right:14px;line-height:1.25rem}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{flex:0 0 100%}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:2px}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}"]})}}return n})();export{or as TorrentsDashboardComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-BYSPLPNN.js b/webui/dist/bitmagnet/browser/chunk-C7JZ6WBU.js similarity index 99% rename from webui/dist/bitmagnet/browser/chunk-BYSPLPNN.js rename to webui/dist/bitmagnet/browser/chunk-C7JZ6WBU.js index 4dd503bb..4e5b6a3a 100644 --- a/webui/dist/bitmagnet/browser/chunk-BYSPLPNN.js +++ b/webui/dist/bitmagnet/browser/chunk-C7JZ6WBU.js @@ -1 +1 @@ -import{c as U,e as ut}from"./chunk-Y7K23DTG.js";import{a as D,b as it,e as f,f as s,g as x,h as l,i as _,j as st,k as ct}from"./chunk-42PJPEMD.js";import{a as ot}from"./chunk-P4IGP6ZM.js";import{Ea as at,V as z,W as tt,X as et,_ as rt,a as J,b as K,wa as nt}from"./chunk-HZYDZMJ4.js";import{$b as v,Cb as $,Ea as G,Fa as Q,Hb as W,Kb as P,Qb as S,Rb as k,Sb as B,Tb as X,Ub as R,Wb as V,Zb as j,a as I,b as N,h as H,kb as y,kc as E,mc as Z,pc as A,qa as b,ua as L}from"./chunk-Z3WUIYN5.js";function Tt(r,t){if(r&1){let e=V();X(0),S(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title")(4,"h4")(5,"mat-icon",1),j("click",function(){G(e);let a=v();return Q(a.toggleLegend())}),E(6,"legend_toggle"),k(),E(7),k()()(),S(8,"mat-card-content")(9,"div"),B(10,"canvas",2),k()()(),R()}if(r&2){let e=t.$implicit,n=v();y(5),P("icon-toggle-legend "+(n.legend?"icon-toggle-legend-active":"")),W("matTooltip",e("dashboard.metrics.toggle_legend")),y(2),Z("",n.title," "),y(2),P(n.breakpoints.sizeAtLeast("Large")?"app-chart":"app-chart-small"),y(),W("data",n.chartConfig.data)("options",n.chartConfig.options)("type",n.chartConfig.type)("height",n.height)("width",n.width)}}var Kt=(()=>{class r{constructor(){this.themeInfo=b(ut),this.transloco=b(J),this.breakpoints=b(ot),this.$data=new H,this.width=500,this.height=500,this.legend=!0}ngOnInit(){this.updateChart(),this.$data.subscribe(e=>{this.data=e,this.updateChart()}),this.themeInfo.info$.subscribe(()=>{this.updateChart()}),this.transloco.langChanges$.subscribe(()=>{this.updateChart()})}toggleLegend(){this.legend=!this.legend,this.updateChart()}updateChart(){this.chartConfig=this.adapter.create(this.data,{legend:this.legend})}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275cmp=L({type:r,selectors:[["app-chart"]],inputs:{title:"title",$data:"$data",adapter:"adapter",width:"width",height:"height"},standalone:!0,features:[A],decls:1,vars:0,consts:[[4,"transloco"],[3,"click","matTooltip"],["baseChart","",3,"data","options","type","height","width"]],template:function(n,a){n&1&&$(0,Tt,11,11,"ng-container",0)},dependencies:[U,z,et,rt,tt,K,nt,at],styles:[".icon-toggle-legend[_ngcontent-%COMP%]{cursor:pointer;position:relative;top:4px;margin-right:8px;opacity:.6}.icon-toggle-legend.icon-toggle-legend-active[_ngcontent-%COMP%]{opacity:1}.app-chart[_ngcontent-%COMP%]{position:relative}.app-chart-small[_ngcontent-%COMP%]{position:relative;width:calc(40vw + 100px)}"]})}}return r})();function F(r,t){let e=s(r,t?.in);return e.setHours(0,0,0,0),e}function dt(r,t,e){let[n,a]=st(e?.in,r,t),o=F(n),c=F(a),m=+o-_(o),h=+c-_(c);return Math.round((m-h)/it)}function ft(r,t){let e=s(r,t?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}function mt(r,t){let e=s(r,t?.in);return dt(e,ft(e))+1}function p(r,t){return l(r,N(I({},t),{weekStartsOn:1}))}function Y(r,t){let e=s(r,t?.in),n=e.getFullYear(),a=f(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let o=p(a),c=f(e,0);c.setFullYear(n,0,4),c.setHours(0,0,0,0);let m=p(c);return e.getTime()>=o.getTime()?n+1:e.getTime()>=m.getTime()?n:n-1}function ht(r,t){let e=Y(r,t),n=f(t?.in||r,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),p(n)}function lt(r,t){let e=s(r,t?.in),n=+p(e)-+ht(e);return Math.round(n/D)+1}function M(r,t){let e=s(r,t?.in),n=e.getFullYear(),a=x(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,c=f(t?.in||r,0);c.setFullYear(n+1,0,o),c.setHours(0,0,0,0);let m=l(c,t),h=f(t?.in||r,0);h.setFullYear(n,0,o),h.setHours(0,0,0,0);let C=l(h,t);return+e>=+m?n+1:+e>=+C?n:n-1}function gt(r,t){let e=x(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,a=M(r,t),o=f(t?.in||r,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),l(o,t)}function pt(r,t){let e=s(r,t?.in),n=+l(e,t)-+gt(e,t);return Math.round(n/D)+1}function i(r,t){let e=r<0?"-":"",n=Math.abs(r).toString().padStart(t,"0");return e+n}var g={y(r,t){let e=r.getFullYear(),n=e>0?e:1-e;return i(t==="yy"?n%100:n,t.length)},M(r,t){let e=r.getMonth();return t==="M"?String(e+1):i(e+1,2)},d(r,t){return i(r.getDate(),t.length)},a(r,t){let e=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h(r,t){return i(r.getHours()%12||12,t.length)},H(r,t){return i(r.getHours(),t.length)},m(r,t){return i(r.getMinutes(),t.length)},s(r,t){return i(r.getSeconds(),t.length)},S(r,t){let e=t.length,n=r.getMilliseconds(),a=Math.trunc(n*Math.pow(10,e-3));return i(a,t.length)}};var O={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},q={G:function(r,t,e){let n=r.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return e.era(n,{width:"abbreviated"});case"GGGGG":return e.era(n,{width:"narrow"});case"GGGG":default:return e.era(n,{width:"wide"})}},y:function(r,t,e){if(t==="yo"){let n=r.getFullYear(),a=n>0?n:1-n;return e.ordinalNumber(a,{unit:"year"})}return g.y(r,t)},Y:function(r,t,e,n){let a=M(r,n),o=a>0?a:1-a;if(t==="YY"){let c=o%100;return i(c,2)}return t==="Yo"?e.ordinalNumber(o,{unit:"year"}):i(o,t.length)},R:function(r,t){let e=Y(r);return i(e,t.length)},u:function(r,t){let e=r.getFullYear();return i(e,t.length)},Q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return i(n,2);case"Qo":return e.ordinalNumber(n,{unit:"quarter"});case"QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return i(n,2);case"qo":return e.ordinalNumber(n,{unit:"quarter"});case"qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,t,e){let n=r.getMonth();switch(t){case"M":case"MM":return g.M(r,t);case"Mo":return e.ordinalNumber(n+1,{unit:"month"});case"MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(r,t,e){let n=r.getMonth();switch(t){case"L":return String(n+1);case"LL":return i(n+1,2);case"Lo":return e.ordinalNumber(n+1,{unit:"month"});case"LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(r,t,e,n){let a=pt(r,n);return t==="wo"?e.ordinalNumber(a,{unit:"week"}):i(a,t.length)},I:function(r,t,e){let n=lt(r);return t==="Io"?e.ordinalNumber(n,{unit:"week"}):i(n,t.length)},d:function(r,t,e){return t==="do"?e.ordinalNumber(r.getDate(),{unit:"date"}):g.d(r,t)},D:function(r,t,e){let n=mt(r);return t==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):i(n,t.length)},E:function(r,t,e){let n=r.getDay();switch(t){case"E":case"EE":case"EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(n,{width:"short",context:"formatting"});case"EEEE":default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(r,t,e,n){let a=r.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return i(o,2);case"eo":return e.ordinalNumber(o,{unit:"day"});case"eee":return e.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(a,{width:"short",context:"formatting"});case"eeee":default:return e.day(a,{width:"wide",context:"formatting"})}},c:function(r,t,e,n){let a=r.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return i(o,t.length);case"co":return e.ordinalNumber(o,{unit:"day"});case"ccc":return e.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(a,{width:"narrow",context:"standalone"});case"cccccc":return e.day(a,{width:"short",context:"standalone"});case"cccc":default:return e.day(a,{width:"wide",context:"standalone"})}},i:function(r,t,e){let n=r.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return i(a,t.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(n,{width:"short",context:"formatting"});case"iiii":default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(r,t,e){let a=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(r,t,e){let n=r.getHours(),a;switch(n===12?a=O.noon:n===0?a=O.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(r,t,e){let n=r.getHours(),a;switch(n>=17?a=O.evening:n>=12?a=O.afternoon:n>=4?a=O.morning:a=O.night,t){case"B":case"BB":case"BBB":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(r,t,e){if(t==="ho"){let n=r.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return g.h(r,t)},H:function(r,t,e){return t==="Ho"?e.ordinalNumber(r.getHours(),{unit:"hour"}):g.H(r,t)},K:function(r,t,e){let n=r.getHours()%12;return t==="Ko"?e.ordinalNumber(n,{unit:"hour"}):i(n,t.length)},k:function(r,t,e){let n=r.getHours();return n===0&&(n=24),t==="ko"?e.ordinalNumber(n,{unit:"hour"}):i(n,t.length)},m:function(r,t,e){return t==="mo"?e.ordinalNumber(r.getMinutes(),{unit:"minute"}):g.m(r,t)},s:function(r,t,e){return t==="so"?e.ordinalNumber(r.getSeconds(),{unit:"second"}):g.s(r,t)},S:function(r,t){return g.S(r,t)},X:function(r,t,e){let n=r.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return xt(n);case"XXXX":case"XX":return w(n);case"XXXXX":case"XXX":default:return w(n,":")}},x:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"x":return xt(n);case"xxxx":case"xx":return w(n);case"xxxxx":case"xxx":default:return w(n,":")}},O:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+wt(n,":");case"OOOO":default:return"GMT"+w(n,":")}},z:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+wt(n,":");case"zzzz":default:return"GMT"+w(n,":")}},t:function(r,t,e){let n=Math.trunc(+r/1e3);return i(n,t.length)},T:function(r,t,e){return i(+r,t.length)}};function wt(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),a=Math.trunc(n/60),o=n%60;return o===0?e+String(a):e+String(a)+t+i(o,2)}function xt(r,t){return r%60===0?(r>0?"-":"+")+i(Math.abs(r)/60,2):w(r,t)}function w(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),a=i(Math.trunc(n/60),2),o=i(n%60,2);return e+a+t+o}var Ot=(r,t)=>{switch(r){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},yt=(r,t)=>{switch(r){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Wt=(r,t)=>{let e=r.match(/(P+)(p+)?/)||[],n=e[1],a=e[2];if(!a)return Ot(r,t);let o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",Ot(n,t)).replace("{{time}}",yt(a,t))},bt={p:yt,P:Wt};var Pt=/^D+$/,St=/^Y+$/,vt=["D","DD","YY","YYYY"];function kt(r){return Pt.test(r)}function Dt(r){return St.test(r)}function Yt(r,t,e){let n=Et(r,t,e);if(console.warn(n),vt.includes(r))throw new RangeError(n)}function Et(r,t,e){let n=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${t}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function Mt(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function Ct(r){return!(!Mt(r)&&typeof r!="number"||isNaN(+s(r)))}var _t=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ft=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qt=/^'([^]*?)'?$/,It=/''/g,Nt=/[a-zA-Z]/;function hr(r,t,e){let n=x(),a=e?.locale??n.locale??ct,o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,c=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,m=s(r,e?.in);if(!Ct(m))throw new RangeError("Invalid time value");let h=t.match(Ft).map(d=>{let u=d[0];if(u==="p"||u==="P"){let T=bt[u];return T(d,a.formatLong)}return d}).join("").match(_t).map(d=>{if(d==="''")return{isToken:!1,value:"'"};let u=d[0];if(u==="'")return{isToken:!1,value:Ht(d)};if(q[u])return{isToken:!0,value:d};if(u.match(Nt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+u+"`");return{isToken:!1,value:d}});a.localize.preprocessor&&(h=a.localize.preprocessor(m,h));let C={firstWeekContainsDate:o,weekStartsOn:c,locale:a};return h.map(d=>{if(!d.isToken)return d.value;let u=d.value;(!e?.useAdditionalWeekYearTokens&&Dt(u)||!e?.useAdditionalDayOfYearTokens&&kt(u))&&Yt(u,t,String(r));let T=q[u[0]];return T(m,u,a.localize,C)}).join("")}function Ht(r){let t=r.match(qt);return t?t[1].replace(It,"'"):r}var gr=(r,t)=>`${r}-${t}`;export{hr as a,Kt as b,gr as c}; +import{c as U,e as ut}from"./chunk-Y7K23DTG.js";import{a as D,b as it,e as f,f as s,g as x,h as l,i as _,j as st,k as ct}from"./chunk-42PJPEMD.js";import{a as ot}from"./chunk-4IZ4BZMF.js";import{Ea as at,V as z,W as tt,X as et,_ as rt,a as J,b as K,wa as nt}from"./chunk-K5VIU67A.js";import{$b as v,Cb as $,Ea as G,Fa as Q,Hb as W,Kb as P,Qb as S,Rb as k,Sb as B,Tb as X,Ub as R,Wb as V,Zb as j,a as I,b as N,h as H,kb as y,kc as E,mc as Z,pc as A,qa as b,ua as L}from"./chunk-Z3WUIYN5.js";function Tt(r,t){if(r&1){let e=V();X(0),S(1,"mat-card")(2,"mat-card-header")(3,"mat-card-title")(4,"h4")(5,"mat-icon",1),j("click",function(){G(e);let a=v();return Q(a.toggleLegend())}),E(6,"legend_toggle"),k(),E(7),k()()(),S(8,"mat-card-content")(9,"div"),B(10,"canvas",2),k()()(),R()}if(r&2){let e=t.$implicit,n=v();y(5),P("icon-toggle-legend "+(n.legend?"icon-toggle-legend-active":"")),W("matTooltip",e("dashboard.metrics.toggle_legend")),y(2),Z("",n.title," "),y(2),P(n.breakpoints.sizeAtLeast("Large")?"app-chart":"app-chart-small"),y(),W("data",n.chartConfig.data)("options",n.chartConfig.options)("type",n.chartConfig.type)("height",n.height)("width",n.width)}}var Kt=(()=>{class r{constructor(){this.themeInfo=b(ut),this.transloco=b(J),this.breakpoints=b(ot),this.$data=new H,this.width=500,this.height=500,this.legend=!0}ngOnInit(){this.updateChart(),this.$data.subscribe(e=>{this.data=e,this.updateChart()}),this.themeInfo.info$.subscribe(()=>{this.updateChart()}),this.transloco.langChanges$.subscribe(()=>{this.updateChart()})}toggleLegend(){this.legend=!this.legend,this.updateChart()}updateChart(){this.chartConfig=this.adapter.create(this.data,{legend:this.legend})}static{this.\u0275fac=function(n){return new(n||r)}}static{this.\u0275cmp=L({type:r,selectors:[["app-chart"]],inputs:{title:"title",$data:"$data",adapter:"adapter",width:"width",height:"height"},standalone:!0,features:[A],decls:1,vars:0,consts:[[4,"transloco"],[3,"click","matTooltip"],["baseChart","",3,"data","options","type","height","width"]],template:function(n,a){n&1&&$(0,Tt,11,11,"ng-container",0)},dependencies:[U,z,et,rt,tt,K,nt,at],styles:[".icon-toggle-legend[_ngcontent-%COMP%]{cursor:pointer;position:relative;top:4px;margin-right:8px;opacity:.6}.icon-toggle-legend.icon-toggle-legend-active[_ngcontent-%COMP%]{opacity:1}.app-chart[_ngcontent-%COMP%]{position:relative}.app-chart-small[_ngcontent-%COMP%]{position:relative;width:calc(40vw + 100px)}"]})}}return r})();function F(r,t){let e=s(r,t?.in);return e.setHours(0,0,0,0),e}function dt(r,t,e){let[n,a]=st(e?.in,r,t),o=F(n),c=F(a),m=+o-_(o),h=+c-_(c);return Math.round((m-h)/it)}function ft(r,t){let e=s(r,t?.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}function mt(r,t){let e=s(r,t?.in);return dt(e,ft(e))+1}function p(r,t){return l(r,N(I({},t),{weekStartsOn:1}))}function Y(r,t){let e=s(r,t?.in),n=e.getFullYear(),a=f(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let o=p(a),c=f(e,0);c.setFullYear(n,0,4),c.setHours(0,0,0,0);let m=p(c);return e.getTime()>=o.getTime()?n+1:e.getTime()>=m.getTime()?n:n-1}function ht(r,t){let e=Y(r,t),n=f(t?.in||r,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),p(n)}function lt(r,t){let e=s(r,t?.in),n=+p(e)-+ht(e);return Math.round(n/D)+1}function M(r,t){let e=s(r,t?.in),n=e.getFullYear(),a=x(),o=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,c=f(t?.in||r,0);c.setFullYear(n+1,0,o),c.setHours(0,0,0,0);let m=l(c,t),h=f(t?.in||r,0);h.setFullYear(n,0,o),h.setHours(0,0,0,0);let C=l(h,t);return+e>=+m?n+1:+e>=+C?n:n-1}function gt(r,t){let e=x(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??e.firstWeekContainsDate??e.locale?.options?.firstWeekContainsDate??1,a=M(r,t),o=f(t?.in||r,0);return o.setFullYear(a,0,n),o.setHours(0,0,0,0),l(o,t)}function pt(r,t){let e=s(r,t?.in),n=+l(e,t)-+gt(e,t);return Math.round(n/D)+1}function i(r,t){let e=r<0?"-":"",n=Math.abs(r).toString().padStart(t,"0");return e+n}var g={y(r,t){let e=r.getFullYear(),n=e>0?e:1-e;return i(t==="yy"?n%100:n,t.length)},M(r,t){let e=r.getMonth();return t==="M"?String(e+1):i(e+1,2)},d(r,t){return i(r.getDate(),t.length)},a(r,t){let e=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h(r,t){return i(r.getHours()%12||12,t.length)},H(r,t){return i(r.getHours(),t.length)},m(r,t){return i(r.getMinutes(),t.length)},s(r,t){return i(r.getSeconds(),t.length)},S(r,t){let e=t.length,n=r.getMilliseconds(),a=Math.trunc(n*Math.pow(10,e-3));return i(a,t.length)}};var O={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},q={G:function(r,t,e){let n=r.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return e.era(n,{width:"abbreviated"});case"GGGGG":return e.era(n,{width:"narrow"});case"GGGG":default:return e.era(n,{width:"wide"})}},y:function(r,t,e){if(t==="yo"){let n=r.getFullYear(),a=n>0?n:1-n;return e.ordinalNumber(a,{unit:"year"})}return g.y(r,t)},Y:function(r,t,e,n){let a=M(r,n),o=a>0?a:1-a;if(t==="YY"){let c=o%100;return i(c,2)}return t==="Yo"?e.ordinalNumber(o,{unit:"year"}):i(o,t.length)},R:function(r,t){let e=Y(r);return i(e,t.length)},u:function(r,t){let e=r.getFullYear();return i(e,t.length)},Q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return i(n,2);case"Qo":return e.ordinalNumber(n,{unit:"quarter"});case"QQQ":return e.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(n,{width:"wide",context:"formatting"})}},q:function(r,t,e){let n=Math.ceil((r.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return i(n,2);case"qo":return e.ordinalNumber(n,{unit:"quarter"});case"qqq":return e.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(n,{width:"wide",context:"standalone"})}},M:function(r,t,e){let n=r.getMonth();switch(t){case"M":case"MM":return g.M(r,t);case"Mo":return e.ordinalNumber(n+1,{unit:"month"});case"MMM":return e.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(n,{width:"wide",context:"formatting"})}},L:function(r,t,e){let n=r.getMonth();switch(t){case"L":return String(n+1);case"LL":return i(n+1,2);case"Lo":return e.ordinalNumber(n+1,{unit:"month"});case"LLL":return e.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(n,{width:"wide",context:"standalone"})}},w:function(r,t,e,n){let a=pt(r,n);return t==="wo"?e.ordinalNumber(a,{unit:"week"}):i(a,t.length)},I:function(r,t,e){let n=lt(r);return t==="Io"?e.ordinalNumber(n,{unit:"week"}):i(n,t.length)},d:function(r,t,e){return t==="do"?e.ordinalNumber(r.getDate(),{unit:"date"}):g.d(r,t)},D:function(r,t,e){let n=mt(r);return t==="Do"?e.ordinalNumber(n,{unit:"dayOfYear"}):i(n,t.length)},E:function(r,t,e){let n=r.getDay();switch(t){case"E":case"EE":case"EEE":return e.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(n,{width:"short",context:"formatting"});case"EEEE":default:return e.day(n,{width:"wide",context:"formatting"})}},e:function(r,t,e,n){let a=r.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return i(o,2);case"eo":return e.ordinalNumber(o,{unit:"day"});case"eee":return e.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(a,{width:"short",context:"formatting"});case"eeee":default:return e.day(a,{width:"wide",context:"formatting"})}},c:function(r,t,e,n){let a=r.getDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return i(o,t.length);case"co":return e.ordinalNumber(o,{unit:"day"});case"ccc":return e.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(a,{width:"narrow",context:"standalone"});case"cccccc":return e.day(a,{width:"short",context:"standalone"});case"cccc":default:return e.day(a,{width:"wide",context:"standalone"})}},i:function(r,t,e){let n=r.getDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return i(a,t.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(n,{width:"short",context:"formatting"});case"iiii":default:return e.day(n,{width:"wide",context:"formatting"})}},a:function(r,t,e){let a=r.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(r,t,e){let n=r.getHours(),a;switch(n===12?a=O.noon:n===0?a=O.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(r,t,e){let n=r.getHours(),a;switch(n>=17?a=O.evening:n>=12?a=O.afternoon:n>=4?a=O.morning:a=O.night,t){case"B":case"BB":case"BBB":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(r,t,e){if(t==="ho"){let n=r.getHours()%12;return n===0&&(n=12),e.ordinalNumber(n,{unit:"hour"})}return g.h(r,t)},H:function(r,t,e){return t==="Ho"?e.ordinalNumber(r.getHours(),{unit:"hour"}):g.H(r,t)},K:function(r,t,e){let n=r.getHours()%12;return t==="Ko"?e.ordinalNumber(n,{unit:"hour"}):i(n,t.length)},k:function(r,t,e){let n=r.getHours();return n===0&&(n=24),t==="ko"?e.ordinalNumber(n,{unit:"hour"}):i(n,t.length)},m:function(r,t,e){return t==="mo"?e.ordinalNumber(r.getMinutes(),{unit:"minute"}):g.m(r,t)},s:function(r,t,e){return t==="so"?e.ordinalNumber(r.getSeconds(),{unit:"second"}):g.s(r,t)},S:function(r,t){return g.S(r,t)},X:function(r,t,e){let n=r.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return xt(n);case"XXXX":case"XX":return w(n);case"XXXXX":case"XXX":default:return w(n,":")}},x:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"x":return xt(n);case"xxxx":case"xx":return w(n);case"xxxxx":case"xxx":default:return w(n,":")}},O:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+wt(n,":");case"OOOO":default:return"GMT"+w(n,":")}},z:function(r,t,e){let n=r.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+wt(n,":");case"zzzz":default:return"GMT"+w(n,":")}},t:function(r,t,e){let n=Math.trunc(+r/1e3);return i(n,t.length)},T:function(r,t,e){return i(+r,t.length)}};function wt(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),a=Math.trunc(n/60),o=n%60;return o===0?e+String(a):e+String(a)+t+i(o,2)}function xt(r,t){return r%60===0?(r>0?"-":"+")+i(Math.abs(r)/60,2):w(r,t)}function w(r,t=""){let e=r>0?"-":"+",n=Math.abs(r),a=i(Math.trunc(n/60),2),o=i(n%60,2);return e+a+t+o}var Ot=(r,t)=>{switch(r){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},yt=(r,t)=>{switch(r){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Wt=(r,t)=>{let e=r.match(/(P+)(p+)?/)||[],n=e[1],a=e[2];if(!a)return Ot(r,t);let o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",Ot(n,t)).replace("{{time}}",yt(a,t))},bt={p:yt,P:Wt};var Pt=/^D+$/,St=/^Y+$/,vt=["D","DD","YY","YYYY"];function kt(r){return Pt.test(r)}function Dt(r){return St.test(r)}function Yt(r,t,e){let n=Et(r,t,e);if(console.warn(n),vt.includes(r))throw new RangeError(n)}function Et(r,t,e){let n=r[0]==="Y"?"years":"days of the month";return`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${t}\`) for formatting ${n} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function Mt(r){return r instanceof Date||typeof r=="object"&&Object.prototype.toString.call(r)==="[object Date]"}function Ct(r){return!(!Mt(r)&&typeof r!="number"||isNaN(+s(r)))}var _t=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ft=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qt=/^'([^]*?)'?$/,It=/''/g,Nt=/[a-zA-Z]/;function hr(r,t,e){let n=x(),a=e?.locale??n.locale??ct,o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,c=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,m=s(r,e?.in);if(!Ct(m))throw new RangeError("Invalid time value");let h=t.match(Ft).map(d=>{let u=d[0];if(u==="p"||u==="P"){let T=bt[u];return T(d,a.formatLong)}return d}).join("").match(_t).map(d=>{if(d==="''")return{isToken:!1,value:"'"};let u=d[0];if(u==="'")return{isToken:!1,value:Ht(d)};if(q[u])return{isToken:!0,value:d};if(u.match(Nt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+u+"`");return{isToken:!1,value:d}});a.localize.preprocessor&&(h=a.localize.preprocessor(m,h));let C={firstWeekContainsDate:o,weekStartsOn:c,locale:a};return h.map(d=>{if(!d.isToken)return d.value;let u=d.value;(!e?.useAdditionalWeekYearTokens&&Dt(u)||!e?.useAdditionalDayOfYearTokens&&kt(u))&&Yt(u,t,String(r));let T=q[u[0]];return T(m,u,a.localize,C)}).join("")}function Ht(r){let t=r.match(qt);return t?t[1].replace(It,"'"):r}var gr=(r,t)=>`${r}-${t}`;export{hr as a,Kt as b,gr as c}; diff --git a/webui/dist/bitmagnet/browser/chunk-BFXZYWVF.js b/webui/dist/bitmagnet/browser/chunk-F7JDKAJX.js similarity index 97% rename from webui/dist/bitmagnet/browser/chunk-BFXZYWVF.js rename to webui/dist/bitmagnet/browser/chunk-F7JDKAJX.js index 572c3770..8c6120a5 100644 --- a/webui/dist/bitmagnet/browser/chunk-BFXZYWVF.js +++ b/webui/dist/bitmagnet/browser/chunk-F7JDKAJX.js @@ -1 +1 @@ -import{Da as O,V as x,X as _,Xa as A,Ya as L,Za as E,_ as k,_a as y,b as M,wa as P}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import{j as b,l as h,m as C}from"./chunk-CMNWCZJM.js";import{Cb as u,Hb as c,Qb as r,Rb as e,Sb as d,Tb as v,Ub as g,jc as m,kb as t,kc as n,lc as l,pc as f,ua as p}from"./chunk-Z3WUIYN5.js";function I(i,S){if(i&1&&(v(0),r(1,"mat-card",6)(2,"mat-card-header")(3,"mat-toolbar")(4,"nav",7)(5,"h2"),d(6,"mat-icon",8),n(7),e(),r(8,"a",9,0)(10,"mat-icon"),n(11,"monitoring"),e(),n(12),e(),r(13,"a",10,1)(15,"mat-icon"),n(16,"toc"),e(),n(17),e(),r(18,"a",11,2)(20,"mat-icon"),n(21,"construction"),e(),n(22),e()(),d(23,"mat-tab-nav-panel",null,3),e()(),r(25,"mat-card-content"),d(26,"router-outlet",null,4),e()(),g()),i&2){let a=S.$implicit,o=m(9),s=m(14),T=m(19),D=m(24);t(4),c("tabPanel",D),t(3),l(a("routes.queues")),t(),c("active",o.isActive),t(4),l(a("routes.visualize")),t(),c("active",s.isActive),t(4),l(a("routes.jobs")),t(),c("active",T.isActive),t(4),l(a("routes.admin"))}}var N=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=p({type:i,selectors:[["app-queue-dashboard"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["linkVisualize","routerLinkActive"],["linkJobs","routerLinkActive"],["linkAdmin","routerLinkActive"],["tabPanel",""],["outlet",""],[4,"transloco"],[1,"dashboard-card"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["svgIcon","queue"],["mat-tab-link","","routerLink","visualize","routerLinkActive","",3,"active"],["mat-tab-link","","routerLink","jobs","routerLinkActive","",3,"active"],["mat-tab-link","","routerLink","admin","routerLinkActive","",3,"active"]],template:function(o,s){o&1&&u(0,I,28,8,"ng-container",5)},dependencies:[y,x,_,k,P,A,E,L,O,b,h,C,M],styles:["mat-card-header[_ngcontent-%COMP%]{flex-wrap:wrap}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;margin:0 60px 0 48px;height:48px;line-height:48px}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:6px;margin-right:14px;line-height:1.25rem}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{flex:0 0 100%}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:2px}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}"]})}}return i})();export{N as QueueDashboardComponent}; +import{Da as O,V as x,X as _,Xa as A,Ya as L,Za as E,_ as k,_a as y,b as M,wa as P}from"./chunk-K5VIU67A.js";import"./chunk-6XXA7HXI.js";import{j as b,l as h,m as C}from"./chunk-CMNWCZJM.js";import{Cb as u,Hb as c,Qb as r,Rb as e,Sb as d,Tb as v,Ub as g,jc as m,kb as t,kc as n,lc as l,pc as f,ua as p}from"./chunk-Z3WUIYN5.js";function I(i,S){if(i&1&&(v(0),r(1,"mat-card",6)(2,"mat-card-header")(3,"mat-toolbar")(4,"nav",7)(5,"h2"),d(6,"mat-icon",8),n(7),e(),r(8,"a",9,0)(10,"mat-icon"),n(11,"monitoring"),e(),n(12),e(),r(13,"a",10,1)(15,"mat-icon"),n(16,"toc"),e(),n(17),e(),r(18,"a",11,2)(20,"mat-icon"),n(21,"construction"),e(),n(22),e()(),d(23,"mat-tab-nav-panel",null,3),e()(),r(25,"mat-card-content"),d(26,"router-outlet",null,4),e()(),g()),i&2){let a=S.$implicit,o=m(9),s=m(14),T=m(19),D=m(24);t(4),c("tabPanel",D),t(3),l(a("routes.queues")),t(),c("active",o.isActive),t(4),l(a("routes.visualize")),t(),c("active",s.isActive),t(4),l(a("routes.jobs")),t(),c("active",T.isActive),t(4),l(a("routes.admin"))}}var N=(()=>{class i{static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=p({type:i,selectors:[["app-queue-dashboard"]],standalone:!0,features:[f],decls:1,vars:0,consts:[["linkVisualize","routerLinkActive"],["linkJobs","routerLinkActive"],["linkAdmin","routerLinkActive"],["tabPanel",""],["outlet",""],[4,"transloco"],[1,"dashboard-card"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["svgIcon","queue"],["mat-tab-link","","routerLink","visualize","routerLinkActive","",3,"active"],["mat-tab-link","","routerLink","jobs","routerLinkActive","",3,"active"],["mat-tab-link","","routerLink","admin","routerLinkActive","",3,"active"]],template:function(o,s){o&1&&u(0,I,28,8,"ng-container",5)},dependencies:[y,x,_,k,P,A,E,L,O,b,h,C,M],styles:["mat-card-header[_ngcontent-%COMP%]{flex-wrap:wrap}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;margin:0 60px 0 48px;height:48px;line-height:48px}mat-card-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:6px;margin-right:14px;line-height:1.25rem}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{flex:0 0 100%}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-top:2px}mat-card-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:12px}"]})}}return i})();export{N as QueueDashboardComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-EBLD3IWA.js b/webui/dist/bitmagnet/browser/chunk-GL6K5NAM.js similarity index 98% rename from webui/dist/bitmagnet/browser/chunk-EBLD3IWA.js rename to webui/dist/bitmagnet/browser/chunk-GL6K5NAM.js index 946cfd55..9a918364 100644 --- a/webui/dist/bitmagnet/browser/chunk-EBLD3IWA.js +++ b/webui/dist/bitmagnet/browser/chunk-GL6K5NAM.js @@ -1 +1 @@ -import{Ea as lt,H as J,P as K,V as T,W as U,X,_ as k,b as M,h as z,ja as Y,ka as Z,la as tt,ma as et,na as nt,oa as it,t as b,ta as at,w as H,wa as u,ya as ot,za as rt}from"./chunk-HZYDZMJ4.js";import{$b as l,B as F,Cb as s,Ea as Q,Fa as A,Hb as V,Kb as G,Mb as v,Ob as P,Pb as $,Qb as r,Rb as o,Sb as _,Tb as f,Ub as C,Wb as N,Zb as R,a as I,b as D,jc as q,kb as a,kc as c,l as j,la as W,lc as m,mc as g,nc as y,qa as p,rc as S,ua as x,va as B,zc as L}from"./chunk-Z3WUIYN5.js";var w={error:"error",degraded:"warning",down:"warning",unknown:"pending",inactive:"circle",up:"check_circle",started:"play_circle"},ct={status:"unknown",checks:[],icon:w.unknown,workers:[],error:null},mt=1e4,h=class{constructor(){this.apollo=p(z),this.resultSubject=new j(ct),this.result$=this.resultSubject.asObservable(),this.result=ct,this.watchQuery(),this.result$.subscribe(i=>{this.result=i})}watchQuery(){this.apollo.watchQuery({query:J,fetchPolicy:"no-cache",pollInterval:mt}).valueChanges.pipe(F(i=>({status:i.data.health.status==="down"?"degraded":i.data.health.status,checks:i.data.health.checks.map(e=>D(I({},e),{icon:w[e.status]})),workers:i.data.workers.listAll.workers.map(e=>D(I({},e),{icon:w[e.started?"started":"inactive"]})),icon:w[i.data.health.status],error:null}))).subscribe({next:i=>this.resultSubject.next(i),error:i=>{this.resultSubject.next({status:"error",checks:[],workers:[],error:i,icon:w.error}),setTimeout(this.watchQuery.bind(this),mt)}})}};var st=(t,i)=>i.key;function xt(t,i){if(t&1&&(r(0,"p"),c(1),o()),t&2){let e=l().$implicit,n=l();a(),y("",e("health.check_failed_with_error"),": ",n.health.result.error,"")}}function ft(t,i){if(t&1&&(r(0,"th"),c(1),o()),t&2){let e=l(2).$implicit;a(),m(e("general.error"))}}function Ct(t,i){if(t&1&&(r(0,"td"),c(1),o()),t&2){let e=l().$implicit;a(),m(e.error)}}function gt(t,i){if(t&1&&(r(0,"tr")(1,"td",2)(2,"mat-icon"),c(3),o()(),r(4,"th",3),c(5),o(),r(6,"td"),c(7),o(),s(8,Ct,2,1,"td"),o()),t&2){let e=i.$implicit,n=l(2).$implicit,d=l();a(3),m(e.icon),a(2),m(n("health.components."+e.key)),a(2),m(n("health.statuses."+e.status)),a(),v(d.health.result.status==="down"?8:-1)}}function Mt(t,i){t&1&&_(0,"td")}function vt(t,i){if(t&1&&(r(0,"tr")(1,"td",2)(2,"mat-icon"),c(3),o()(),r(4,"th",3),c(5),o(),r(6,"td"),c(7),o(),s(8,Mt,1,0,"td"),o()),t&2){let e=i.$implicit,n=l(2).$implicit,d=l();a(3),m(e.icon),a(2),y(" ",n("health.worker"),": ",n("health.workers."+e.key)," "),a(2),g(" ",n("health.statuses."+(e.started?"started":"inactive"))," "),a(),v(d.health.result.status==="down"?8:-1)}}function yt(t,i){if(t&1&&(r(0,"table",1)(1,"thead")(2,"tr"),_(3,"th"),r(4,"th"),c(5),o(),r(6,"th"),c(7),o(),s(8,ft,2,1,"th"),o()(),r(9,"tbody"),P(10,gt,9,4,"tr",null,st),P(12,vt,9,5,"tr",null,st),o()()),t&2){let e=l().$implicit,n=l();a(5),m(e("health.component")),a(2),m(e("general.status")),a(),v(n.health.result.status==="down"?8:-1),a(2),$(n.health.result.checks),a(2),$(n.health.result.workers)}}function St(t,i){if(t&1&&(f(0),s(1,xt,2,2,"p")(2,yt,14,3,"table",1),C()),t&2){let e=l();a(),v(e.health.result.error?1:2)}}var E=(()=>{class t{constructor(){this.health=p(h)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-summary"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"table-health"],[1,"td-icon"],["scope","row"]],template:function(n,d){n&1&&s(0,St,3,1,"ng-container",0)},dependencies:[M,u],styles:[".table-health[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table-health[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:20px}.table-health[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}"]})}}return t})();var wt=t=>({status:t});function bt(t,i){if(t&1&&(f(0),r(1,"mat-card",1)(2,"mat-card-header")(3,"mat-card-title")(4,"h3")(5,"mat-icon"),c(6),o(),c(7),o()()(),r(8,"mat-card-content",2),_(9,"app-health-summary"),o()(),C()),t&2){let e=i.$implicit,n=l();a(6),m(n.health.result.icon),a(),g(" ",e("health.bitmagnet_is_status",S(2,wt,e("health.statuses."+(n.health.result.error?"down":n.health.result.status))))," ")}}var Vt=(()=>{class t{constructor(){this.health=p(h)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-card"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"dashboard-card","dashboard-card-health"],[1,"dashboard-card-content"]],template:function(n,d){n&1&&s(0,bt,10,4,"ng-container",0)},dependencies:[M,u,T,X,k,U,E],styles:[".dashboard-card-health[_ngcontent-%COMP%]{position:absolute;inset:15px}.dashboard-card-health[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0}.dashboard-card-health[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;margin-left:4px;margin-right:6px}"]})}}return t})();var ut=t=>({status:t});function Ht(t,i){if(t&1&&(r(0,"h2",3),c(1),o(),r(2,"mat-dialog-content"),_(3,"app-health-summary"),o(),r(4,"mat-dialog-actions")(5,"button",4),c(6),o()()),t&2){let e=l().$implicit,n=l();a(),y(" ",e("health.summary"),": ",e("health.bitmagnet_is_status",S(3,ut,e("health.statuses."+(n.health.result.error?"down":n.health.result.status))))," "),a(5),g(" ",e("general.dismiss")," ")}}function Tt(t,i){if(t&1){let e=N();f(0),r(1,"button",2),R("click",function(){Q(e);let d=q(5),_t=l();return A(_t.dialog.open(d))}),r(2,"mat-icon"),c(3),o()(),s(4,Ht,7,5,"ng-template",null,0,L),C()}if(t&2){let e=i.$implicit,n=l();a(),G("health-icon health-icon-"+n.health.result.status),V("matTooltip",e("health.bitmagnet_is_status",S(4,ut,e("health.statuses."+n.health.result.status)))),a(2),m(n.health.result.icon)}}var Ut=(()=>{class t{constructor(){this.health=p(h),this.dialog=p(Y)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-widget"]],decls:1,vars:0,consts:[["healthDialog",""],[4,"transloco"],["mat-icon-button","",3,"click","matTooltip"],["matDialogTitle",""],["mat-button","","matDialogClose","","color","primary"]],template:function(n,d){n&1&&s(0,Tt,6,6,"ng-container",1)},dependencies:[M,u,lt,Z,tt,nt,et,b,H,E]})}}return t})();var _e=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=W({providers:[h],imports:[K,u,it,b,H,T,k,at,rt,ot]})}}return t})();export{h as a,Vt as b,Ut as c,_e as d}; +import{Ea as lt,H as J,P as K,V as T,W as U,X,_ as k,b as M,h as z,ja as Y,ka as Z,la as tt,ma as et,na as nt,oa as it,t as b,ta as at,w as H,wa as u,ya as ot,za as rt}from"./chunk-K5VIU67A.js";import{$b as l,B as F,Cb as s,Ea as Q,Fa as A,Hb as V,Kb as G,Mb as v,Ob as P,Pb as $,Qb as r,Rb as o,Sb as _,Tb as f,Ub as C,Wb as N,Zb as R,a as I,b as D,jc as q,kb as a,kc as c,l as j,la as W,lc as m,mc as g,nc as y,qa as p,rc as S,ua as x,va as B,zc as L}from"./chunk-Z3WUIYN5.js";var w={error:"error",degraded:"warning",down:"warning",unknown:"pending",inactive:"circle",up:"check_circle",started:"play_circle"},ct={status:"unknown",checks:[],icon:w.unknown,workers:[],error:null},mt=1e4,h=class{constructor(){this.apollo=p(z),this.resultSubject=new j(ct),this.result$=this.resultSubject.asObservable(),this.result=ct,this.watchQuery(),this.result$.subscribe(i=>{this.result=i})}watchQuery(){this.apollo.watchQuery({query:J,fetchPolicy:"no-cache",pollInterval:mt}).valueChanges.pipe(F(i=>({status:i.data.health.status==="down"?"degraded":i.data.health.status,checks:i.data.health.checks.map(e=>D(I({},e),{icon:w[e.status]})),workers:i.data.workers.listAll.workers.map(e=>D(I({},e),{icon:w[e.started?"started":"inactive"]})),icon:w[i.data.health.status],error:null}))).subscribe({next:i=>this.resultSubject.next(i),error:i=>{this.resultSubject.next({status:"error",checks:[],workers:[],error:i,icon:w.error}),setTimeout(this.watchQuery.bind(this),mt)}})}};var st=(t,i)=>i.key;function xt(t,i){if(t&1&&(r(0,"p"),c(1),o()),t&2){let e=l().$implicit,n=l();a(),y("",e("health.check_failed_with_error"),": ",n.health.result.error,"")}}function ft(t,i){if(t&1&&(r(0,"th"),c(1),o()),t&2){let e=l(2).$implicit;a(),m(e("general.error"))}}function Ct(t,i){if(t&1&&(r(0,"td"),c(1),o()),t&2){let e=l().$implicit;a(),m(e.error)}}function gt(t,i){if(t&1&&(r(0,"tr")(1,"td",2)(2,"mat-icon"),c(3),o()(),r(4,"th",3),c(5),o(),r(6,"td"),c(7),o(),s(8,Ct,2,1,"td"),o()),t&2){let e=i.$implicit,n=l(2).$implicit,d=l();a(3),m(e.icon),a(2),m(n("health.components."+e.key)),a(2),m(n("health.statuses."+e.status)),a(),v(d.health.result.status==="down"?8:-1)}}function Mt(t,i){t&1&&_(0,"td")}function vt(t,i){if(t&1&&(r(0,"tr")(1,"td",2)(2,"mat-icon"),c(3),o()(),r(4,"th",3),c(5),o(),r(6,"td"),c(7),o(),s(8,Mt,1,0,"td"),o()),t&2){let e=i.$implicit,n=l(2).$implicit,d=l();a(3),m(e.icon),a(2),y(" ",n("health.worker"),": ",n("health.workers."+e.key)," "),a(2),g(" ",n("health.statuses."+(e.started?"started":"inactive"))," "),a(),v(d.health.result.status==="down"?8:-1)}}function yt(t,i){if(t&1&&(r(0,"table",1)(1,"thead")(2,"tr"),_(3,"th"),r(4,"th"),c(5),o(),r(6,"th"),c(7),o(),s(8,ft,2,1,"th"),o()(),r(9,"tbody"),P(10,gt,9,4,"tr",null,st),P(12,vt,9,5,"tr",null,st),o()()),t&2){let e=l().$implicit,n=l();a(5),m(e("health.component")),a(2),m(e("general.status")),a(),v(n.health.result.status==="down"?8:-1),a(2),$(n.health.result.checks),a(2),$(n.health.result.workers)}}function St(t,i){if(t&1&&(f(0),s(1,xt,2,2,"p")(2,yt,14,3,"table",1),C()),t&2){let e=l();a(),v(e.health.result.error?1:2)}}var E=(()=>{class t{constructor(){this.health=p(h)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-summary"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"table-health"],[1,"td-icon"],["scope","row"]],template:function(n,d){n&1&&s(0,St,3,1,"ng-container",0)},dependencies:[M,u],styles:[".table-health[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .table-health[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:20px}.table-health[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}"]})}}return t})();var wt=t=>({status:t});function bt(t,i){if(t&1&&(f(0),r(1,"mat-card",1)(2,"mat-card-header")(3,"mat-card-title")(4,"h3")(5,"mat-icon"),c(6),o(),c(7),o()()(),r(8,"mat-card-content",2),_(9,"app-health-summary"),o()(),C()),t&2){let e=i.$implicit,n=l();a(6),m(n.health.result.icon),a(),g(" ",e("health.bitmagnet_is_status",S(2,wt,e("health.statuses."+(n.health.result.error?"down":n.health.result.status))))," ")}}var Vt=(()=>{class t{constructor(){this.health=p(h)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-card"]],decls:1,vars:0,consts:[[4,"transloco"],[1,"dashboard-card","dashboard-card-health"],[1,"dashboard-card-content"]],template:function(n,d){n&1&&s(0,bt,10,4,"ng-container",0)},dependencies:[M,u,T,X,k,U,E],styles:[".dashboard-card-health[_ngcontent-%COMP%]{position:absolute;inset:15px}.dashboard-card-health[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0}.dashboard-card-health[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;margin-left:4px;margin-right:6px}"]})}}return t})();var ut=t=>({status:t});function Ht(t,i){if(t&1&&(r(0,"h2",3),c(1),o(),r(2,"mat-dialog-content"),_(3,"app-health-summary"),o(),r(4,"mat-dialog-actions")(5,"button",4),c(6),o()()),t&2){let e=l().$implicit,n=l();a(),y(" ",e("health.summary"),": ",e("health.bitmagnet_is_status",S(3,ut,e("health.statuses."+(n.health.result.error?"down":n.health.result.status))))," "),a(5),g(" ",e("general.dismiss")," ")}}function Tt(t,i){if(t&1){let e=N();f(0),r(1,"button",2),R("click",function(){Q(e);let d=q(5),_t=l();return A(_t.dialog.open(d))}),r(2,"mat-icon"),c(3),o()(),s(4,Ht,7,5,"ng-template",null,0,L),C()}if(t&2){let e=i.$implicit,n=l();a(),G("health-icon health-icon-"+n.health.result.status),V("matTooltip",e("health.bitmagnet_is_status",S(4,ut,e("health.statuses."+n.health.result.status)))),a(2),m(n.health.result.icon)}}var Ut=(()=>{class t{constructor(){this.health=p(h),this.dialog=p(Y)}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=x({type:t,selectors:[["app-health-widget"]],decls:1,vars:0,consts:[["healthDialog",""],[4,"transloco"],["mat-icon-button","",3,"click","matTooltip"],["matDialogTitle",""],["mat-button","","matDialogClose","","color","primary"]],template:function(n,d){n&1&&s(0,Tt,6,6,"ng-container",1)},dependencies:[M,u,lt,Z,tt,nt,et,b,H,E]})}}return t})();var _e=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=B({type:t})}static{this.\u0275inj=W({providers:[h],imports:[K,u,it,b,H,T,k,at,rt,ot]})}}return t})();export{h as a,Vt as b,Ut as c,_e as d}; diff --git a/webui/dist/bitmagnet/browser/chunk-7SFHH767.js b/webui/dist/bitmagnet/browser/chunk-HJUFYB7B.js similarity index 98% rename from webui/dist/bitmagnet/browser/chunk-7SFHH767.js rename to webui/dist/bitmagnet/browser/chunk-HJUFYB7B.js index c125c8ef..52721ead 100644 --- a/webui/dist/bitmagnet/browser/chunk-7SFHH767.js +++ b/webui/dist/bitmagnet/browser/chunk-HJUFYB7B.js @@ -1 +1 @@ -import{b as Fe,c as Re}from"./chunk-GLXU5TTY.js";import"./chunk-RQ2LQKI2.js";import"./chunk-42PJPEMD.js";import{a as ue}from"./chunk-FNMD7JET.js";import{a as je}from"./chunk-P4IGP6ZM.js";import{a as Ae}from"./chunk-DSEDLZDW.js";import{Ba as Te,Ea as j,Fa as we,Ga as Me,Ha as Je,I as _e,Ia as Ie,Ja as Ee,Ka as Pe,La as $e,Ma as Qe,Na as ke,Oa as Oe,Pa as Ve,Q as ge,Qa as De,R as xe,Ra as qe,S as fe,Sa as Be,V as be,W as Ce,X as he,_ as ve,_a as A,a as B,b as F,h as ce,ha as ye,n as se,s as pe,v as de,w as me,wa as Se}from"./chunk-HZYDZMJ4.js";import{c as re,d as ae,g as N,h as W,i as le}from"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{$b as l,B as P,Cb as u,Ea as _,Fa as g,Gb as O,Hb as d,Kb as H,Mb as E,N as U,Na as ee,O as X,Ob as $,Pb as Q,Q as Z,Qb as a,Rb as c,Sb as J,Tb as h,Ub as v,Wb as y,Zb as x,a as f,ad as D,b,bd as q,cd as oe,jc as z,kb as r,kc as p,l as w,lc as S,mc as m,o as K,pc as V,qa as I,qc as te,tc as ie,ua as k,vc as T,wc as M,yc as ne}from"./chunk-Z3WUIYN5.js";var Ue=()=>["expandedDetail"];function Xe(t,n){t&1&&(a(0,"th",18),p(1,"ID"),c())}function Ze(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).id," ")}}function et(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.queue")," ")}}function tt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).queue," ")}}function it(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.priority")," ")}}function nt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),T(2,"number"),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",M(2,1,i.item(e).priority)," ")}}function ot(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("general.status")," ")}}function rt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).status," ")}}function at(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),S(e("general.error"))}}function lt(t,n){if(t&1&&(p(0),T(1,"slice")),t&2){let e=l().$implicit,i=l(2);m(" ",ne(1,1,i.item(e).error,0,20)+"..."," ")}}function ct(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),u(1,lt,2,5),c()}if(t&2){let e=n.$implicit;r(),E(e.error?1:-1)}}function st(t,n){if(t&1&&(a(0,"th",20),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.created_at")," ")}}function pt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),T(2,"timeAgo"),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",M(2,1,i.item(e).createdAt)," ")}}function dt(t,n){if(t&1&&(a(0,"th",20),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.ran_at")," ")}}function mt(t,n){t&1&&(p(0),T(1,"timeAgo")),t&2&&m(" ",M(1,1,n)," ")}function ut(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),u(1,mt,2,3),c()}if(t&2){let e,i=n.$implicit;r(),E((e=i.ranAt)?1:-1,e)}}function _t(t,n){if(t&1&&(a(0,"h5")(1,"span",23),p(2),c()(),a(3,"pre",24),p(4),c()),t&2){let e=n,i=l(2).$implicit;r(),d("matTooltip",i("torrents.copy_to_clipboard"))("cdkCopyToClipboard",e),r(),m("",i("general.error"),":"),r(2),S(e)}}function gt(t,n){if(t&1&&(a(0,"td",21)(1,"div",22)(2,"p")(3,"strong"),p(4,"ID:"),c(),p(5,"\xA0"),a(6,"span",23),p(7),c()(),a(8,"h5")(9,"span",23),p(10),c()(),a(11,"pre",24),p(12),c(),u(13,_t,5,4),c()()),t&2){let e,i=n.$implicit,o=l().$implicit,s=l();O("colspan",s.displayedColumns.length),r(),d("@detailExpand",s.expandedId.getValue()===i.id?"expanded":"collapsed"),r(5),d("matTooltip",o("torrents.copy_to_clipboard"))("cdkCopyToClipboard",s.item(i).id),r(),S(s.item(i).id),r(2),d("matTooltip",o("torrents.copy_to_clipboard"))("cdkCopyToClipboard",s.item(i).payload),r(),m("",o("dashboard.queues.payload"),":"),r(2),S(s.beautifyPayload(s.item(i).payload)),r(),E((e=s.item(i).error)?13:-1,e)}}function xt(t,n){t&1&&J(0,"tr",25)}function ft(t,n){if(t&1&&J(0,"tr",26),t&2){let e=n.$implicit,i=l(2);H("summary-row "+(e.id===i.expandedId.getValue()?"expanded":"collapsed"))}}function bt(t,n){if(t&1&&J(0,"tr",26),t&2){let e=n.$implicit,i=l(2);H("expanded-detail-row "+(e.id===i.expandedId.getValue()?"expanded":"collapsed"))}}function Ct(t,n){if(t&1&&(h(0),a(1,"div",1),J(2,"mat-progress-bar",2),T(3,"async"),c(),a(4,"table",3),h(5,4),u(6,Xe,2,0,"th",5)(7,Ze,2,1,"td",6),v(),h(8,7),u(9,et,2,1,"th",5)(10,tt,2,1,"td",6),v(),h(11,8),u(12,it,2,1,"th",5)(13,nt,3,3,"td",6),v(),h(14,9),u(15,ot,2,1,"th",5)(16,rt,2,1,"td",6),v(),h(17,10),u(18,at,2,1,"th",5)(19,ct,2,1,"td",6),v(),h(20,11),u(21,st,2,1,"th",12)(22,pt,3,3,"td",6),v(),h(23,13),u(24,dt,2,1,"th",12)(25,ut,2,1,"td",6),v(),h(26,14),u(27,gt,14,10,"td",15),v(),u(28,xt,1,0,"tr",16)(29,ft,1,2,"tr",17)(30,bt,1,2,"tr",17),c(),v()),t&2){let e=l();r(2),d("mode",M(3,7,e.dataSource.loading$)?"indeterminate":"determinate")("value",0),r(2),d("dataSource",e.dataSource)("multiTemplateDataRows",!0),r(24),d("matHeaderRowDef",e.displayedColumns),r(),d("matRowDefColumns",e.displayedColumns),r(),d("matRowDefColumns",te(9,Ue))}}var Le=(()=>{class t{constructor(){this.transloco=I(B),this.displayedColumns=ht,this.updated=new ee,this.expandedId=new w(null),this.items=Array()}ngOnInit(){this.dataSource.items$.subscribe(e=>{if(this.items=e,e.length){let i=this.expandedId.getValue();i&&!e.some(({id:o})=>o===i)&&this.expandedId.next(null)}})}isAllSelected(){return this.items.every(e=>this.selection.isSelected(e.id))}toggleAllRows(){if(this.isAllSelected()){this.selection.clear();return}this.selection.select(...this.items.map(e=>e.id))}toggleQueueJobId(e){this.expandedId.getValue()===e?this.expandedId.next(null):this.expandedId.next(e)}item(e){return e}beautifyPayload(e){try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-queue-jobs-table"]],inputs:{dataSource:"dataSource",selection:"selection",displayedColumns:"displayedColumns"},outputs:{updated:"updated"},standalone:!0,features:[V],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-results",3,"dataSource","multiTemplateDataRows"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","queue"],["matColumnDef","priority"],["matColumnDef","status"],["matColumnDef","error"],["matColumnDef","createdAt"],["mat-header-cell","","style","text-align: center",4,"matHeaderCellDef"],["matColumnDef","ranAt"],["matColumnDef","expandedDetail"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"class",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",3,"click"],["mat-header-cell","",2,"text-align","center"],["mat-cell",""],[1,"item-detail"],[1,"copy",3,"matTooltip","cdkCopyToClipboard"],[1,"payload"],["mat-header-row",""],["mat-row",""]],template:function(i,o){i&1&&u(0,Ct,31,10,"ng-container",0)},dependencies:[A,ge,Te,Ee,$e,Ve,Qe,Pe,De,ke,Oe,qe,Be,j,F,D,oe,q,Re],styles:[".item-detail[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-top:20px}.item-detail[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{margin-bottom:20px}tr[_ngcontent-%COMP%]:not(.expanded-detail-row) td[_ngcontent-%COMP%]{cursor:pointer}tr.expanded-detail-row[_ngcontent-%COMP%]{height:0}tr.expanded-detail-row[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0;padding-top:8px}tr.expanded-detail-row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding-top:8px;padding-bottom:4px}tr.expanded-detail-row[_ngcontent-%COMP%] span.copy[_ngcontent-%COMP%]{cursor:crosshair;text-decoration:underline;text-decoration-style:dotted}pre[_ngcontent-%COMP%]{opacity:0;max-height:200px;max-width:100px;overflow:scroll;background:#7773;padding:10px}.expanded-detail-row.expanded[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{opacity:1;max-width:1200px}"],data:{animation:[re("detailExpand",[W("collapsed,void",N({height:"0px",minHeight:"0"})),W("expanded",N({height:"*"})),le("expanded <=> collapsed",ae("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return t})(),ht=["id","queue","priority","status","error","createdAt","ranAt"];var vt={items:[],hasNextPage:!1,totalCount:0,aggregations:{queue:[],status:[]}},R=class{constructor(n,e,i){this.apollo=n,this.errorsService=e,this.currentRequest=new w(0),this.loadingSubject=new w(!1),this.loading$=this.loadingSubject.asObservable(),this.result=vt,this.resultSubject=new w(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(P(o=>o.items)),i.subscribe(o=>{this.variables=o,this.loadResult(o)}),this.resultSubject.subscribe(o=>{this.result=o})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}refresh(){this.variables&&this.loadResult(this.variables)}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:_e,variables:n,fetchPolicy:"no-cache"}).pipe(P(o=>o.data.queue.jobs)).pipe(U(o=>(this.errorsService.addError(`Error loading item results: ${o.message}`),K)));this.currentSubscription=i.subscribe(o=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(o))})}};var L=class{constructor(n=yt){this.controlsSubject=new w(n),this.controls$=this.controlsSubject.asObservable(),this.variablesSubject=new w(He(n)),this.variables$=this.variablesSubject.asObservable(),this.controls$.pipe(Z(100)).subscribe(e=>{let i=this.variablesSubject.getValue(),o=He(e);JSON.stringify(i)!==JSON.stringify(o)&&this.variablesSubject.next(o)})}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}activateFilter(n,e){this.update(i=>{let o=n.extractInput(i.facets);return b(f({},i),{page:1,facets:n.patchInput(i.facets,b(f({},o),{filter:Array.from(new Set([...o.filter??[],e])).sort()}))})})}deactivateFilter(n,e){this.update(i=>{let o=n.extractInput(i.facets),s=o.filter?.filter(C=>C!==e);return b(f({},i),{page:1,facets:n.patchInput(i.facets,b(f({},o),{filter:s?.length?s:void 0}))})})}selectOrderBy(n){let e={field:n,descending:Y.find(i=>i.field===n)?.descending??!1};this.update(i=>b(f({},i),{orderBy:e,page:1}))}toggleOrderByDirection(){this.update(n=>b(f({},n),{orderBy:b(f({},n.orderBy),{descending:!n.orderBy.descending}),page:1}))}handlePageEvent(n){this.update(e=>b(f({},e),{limit:n.pageSize,page:n.page}))}},He=t=>({input:{limit:t.limit,page:t.page,totalCount:!0,orderBy:[t.orderBy,...t.orderBy.field!=="created_at"?[{field:"created_at",descending:t.orderBy.descending}]:[]],queues:t.queues,statuses:t.statuses,facets:{queue:{aggregate:!0,filter:t.facets.queue.filter},status:{aggregate:!0,filter:t.facets.status.filter}}}}),Y=[{field:"created_at",descending:!0},{field:"ran_at",descending:!0},{field:"priority",descending:!1}],yt={limit:20,page:1,orderBy:{field:"ran_at",descending:!0},facets:{queue:{},status:{}}},St={key:"queue",extractInput:t=>t.queue,patchInput:(t,n)=>b(f({},t),{queue:n}),extractAggregations:t=>t.queue??[],resolveLabel:t=>t.label},Tt={key:"status",extractInput:t=>t.status,patchInput:(t,n)=>b(f({},t),{status:n}),extractAggregations:t=>t.status??[],resolveLabel:(t,n)=>n.translate("dashboard.queues."+t.label)},ze=[St,Tt];var wt=(t,n)=>n.key,Mt=(t,n)=>n.field,Ne=(t,n)=>n.value,Jt=(t,n,e)=>[t,n,e];function It(t,n){if(t&1){let e=y();a(0,"mat-checkbox",21),x("change",function(o){let s=_(e).$implicit,C=l(2).$implicit,G=l(2);return g(o.checked?G.controller.activateFilter(C,s.value):G.controller.deactivateFilter(C,s.value))}),p(1),a(2,"small"),p(3),T(4,"number"),c()()}if(t&2){let e=n.$implicit,i=l(2).$implicit;d("checked",i.filter==null?null:i.filter.includes(e.value)),r(),m(" ",e.label," "),r(2),S(M(4,3,e.count))}}function Et(t,n){if(t&1&&(a(0,"mat-card-content",18),$(1,It,5,5,"mat-checkbox",20,Ne),c()),t&2){let e=l().$implicit;r(),Q(e.aggregations)}}function Pt(t,n){if(t&1){let e=y();a(0,"mat-checkbox",23),x("change",function(){let o=_(e).$implicit,s=l(2).$implicit,C=l(2);return g(C.controller.activateFilter(s,o.value))}),p(1),a(2,"small"),p(3),T(4,"number"),c()()}if(t&2){let e=n.$implicit;r(),m(" ",e.label," "),r(2),S(M(4,2,e.count))}}function $t(t,n){if(t&1&&(a(0,"mat-card-content",19),$(1,Pt,5,4,"mat-checkbox",22,Ne),c()),t&2){let e=l().$implicit;r(),Q(e.aggregations)}}function Qt(t,n){if(t&1&&(a(0,"mat-card")(1,"mat-card-header")(2,"mat-card-title"),p(3),c()(),u(4,Et,3,0,"mat-card-content",18)(5,$t,3,0,"mat-card-content",19),c()),t&2){let e=n.$implicit,i=l().$implicit;r(3),m(" ",i("facets."+e.key)," "),r(),E(e.filter!=null&&e.filter.length?4:5)}}function kt(t,n){if(t&1&&(a(0,"mat-option",12),p(1),c()),t&2){let e=n.$implicit,i=l().$implicit;d("value",e.field),r(),m(" ",i("dashboard.queues."+e.field)," ")}}function Ot(t,n){if(t&1){let e=y();h(0),J(1,"app-document-title",2),a(2,"mat-drawer-container",3)(3,"mat-drawer",4,0),$(5,Qt,6,2,"mat-card",null,wt),T(7,"async"),c(),a(8,"mat-drawer-content")(9,"div",5)(10,"div",6)(11,"button",7),x("click",function(){_(e);let o=z(4);return g(o.toggle())}),a(12,"mat-icon",8),p(13),c()()(),a(14,"div",9)(15,"mat-form-field",10)(16,"mat-label"),p(17),c(),a(18,"mat-select",11),x("valueChange",function(o){_(e);let s=l();return g(s.controller.selectOrderBy(o))}),$(19,kt,2,2,"mat-option",12,Mt),c()(),a(21,"button",13),x("click",function(){_(e);let o=l();return g(o.controller.toggleOrderByDirection())}),a(22,"mat-icon"),p(23),c()()(),a(24,"div",14)(25,"button",15),x("click",function(){_(e);let o=l();return g(o.dataSource.refresh())}),a(26,"mat-icon"),p(27,"sync"),c()()()(),J(28,"app-queue-jobs-table",16),a(29,"app-paginator",17),x("paging",function(o){_(e);let s=l();return g(s.controller.handlePageEvent(o))}),c()()(),v()}if(t&2){let e=n.$implicit,i=z(4),o=l();r(),d("parts",ie(21,Jt,e("routes.jobs"),e("routes.queues"),e("routes.dashboard"))),r(2),d("mode",o.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",o.breakpoints.sizeAtLeast("Medium")),O("role",o.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),r(2),Q(M(7,19,o.facets$)),r(6),d("matTooltip",e("torrents.toggle_drawer")),r(2),S(i.opened?"arrow_circle_left":"arrow_circle_right"),r(4),S(e("torrents.order_by")),r(),d("value",o.controls.orderBy.field),r(),Q(o.orderByOptions),r(2),d("matTooltip",e("torrents.order_direction_toggle")),r(2),S(o.controls.orderBy.descending?"arrow_downward":"arrow_upward"),r(2),d("matTooltip",e("torrents.refresh")),r(3),d("dataSource",o.dataSource)("selection",o.selection),r(),d("page",o.controls.page)("pageSize",o.controls.limit)("pageLength",o.dataSource.result.items.length)("totalLength",o.dataSource.result.totalCount)("totalIsEstimate",!1)("showLastPage",!0)}}var Ti=(()=>{class t{constructor(){this.apollo=I(ce),this.errorsService=I(ue),this.breakpoints=I(je),this.transloco=I(B),this.controller=new L,this.dataSource=new R(this.apollo,this.errorsService,this.controller.variables$),this.selection=new se,this.orderByOptions=Y,this.facets$=this.controller.controls$.pipe(X(this.dataSource.result$),P(([e,i])=>ze.map(o=>b(f(f({},o),o.extractInput(e.facets)),{aggregations:o.extractAggregations(i.aggregations).map(s=>b(f({},s),{label:o.resolveLabel(s,this.transloco)}))})))),this.controller.controls$.subscribe(e=>{this.controls=e})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-queue-jobs"]],standalone:!0,features:[V],decls:1,vars:0,consts:[["drawer",""],[4,"transloco"],[3,"parts"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],[1,"query-form"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["fontSet","material-icons"],[1,"form-field-container","form-field-container-order-by"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],["mat-icon-button","",3,"click","matTooltip"],[1,"form-field-container","button-container","button-container-refresh"],["mat-mini-fab","","color","primary",3,"click","matTooltip"],[3,"dataSource","selection"],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"],[1,"filtered"],[1,"unfiltered"],[3,"checked"],[3,"change","checked"],["checked","true"],["checked","true",3,"change"]],template:function(i,o){i&1&&u(0,Ot,30,25,"ng-container",1)},dependencies:[A,pe,me,de,be,he,ve,Ce,ye,fe,xe,Se,we,Je,Ie,Me,j,F,D,q,Fe,Le,Ae],styles:[".drawer[_ngcontent-%COMP%]{width:220px}.query-form[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;position:relative;clear:both;display:flex;flex-wrap:wrap}.query-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;position:relative;margin-left:20px;padding-bottom:20px}.query-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:8px}.query-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%]{padding-right:40px}.query-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.query-form[_ngcontent-%COMP%] .form-field-container.button-container-toggle-drawer[_ngcontent-%COMP%]{margin-left:5px}.query-form[_ngcontent-%COMP%] .button-container-toggle-direction[_ngcontent-%COMP%]{margin-left:4px}app-paginator[_ngcontent-%COMP%]{float:right;padding-top:14px;padding-bottom:20px}"]})}}return t})();export{Ti as QueueJobsComponent}; +import{b as Fe,c as Re}from"./chunk-UAJQPQWO.js";import"./chunk-RQ2LQKI2.js";import"./chunk-42PJPEMD.js";import{a as ue}from"./chunk-AY6Y76TX.js";import{a as je}from"./chunk-4IZ4BZMF.js";import{a as Ae}from"./chunk-DSEDLZDW.js";import{Ba as Te,Ea as j,Fa as we,Ga as Me,Ha as Je,I as _e,Ia as Ie,Ja as Ee,Ka as Pe,La as $e,Ma as Qe,Na as ke,Oa as Oe,Pa as Ve,Q as ge,Qa as De,R as xe,Ra as qe,S as fe,Sa as Be,V as be,W as Ce,X as he,_ as ve,_a as A,a as B,b as F,h as ce,ha as ye,n as se,s as pe,v as de,w as me,wa as Se}from"./chunk-K5VIU67A.js";import{c as re,d as ae,g as N,h as W,i as le}from"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{$b as l,B as P,Cb as u,Ea as _,Fa as g,Gb as O,Hb as d,Kb as H,Mb as E,N as U,Na as ee,O as X,Ob as $,Pb as Q,Q as Z,Qb as a,Rb as c,Sb as J,Tb as h,Ub as v,Wb as y,Zb as x,a as f,ad as D,b,bd as q,cd as oe,jc as z,kb as r,kc as p,l as w,lc as S,mc as m,o as K,pc as V,qa as I,qc as te,tc as ie,ua as k,vc as T,wc as M,yc as ne}from"./chunk-Z3WUIYN5.js";var Ue=()=>["expandedDetail"];function Xe(t,n){t&1&&(a(0,"th",18),p(1,"ID"),c())}function Ze(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).id," ")}}function et(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.queue")," ")}}function tt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).queue," ")}}function it(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.priority")," ")}}function nt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),T(2,"number"),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",M(2,1,i.item(e).priority)," ")}}function ot(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("general.status")," ")}}function rt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",i.item(e).status," ")}}function at(t,n){if(t&1&&(a(0,"th",18),p(1),c()),t&2){let e=l().$implicit;r(),S(e("general.error"))}}function lt(t,n){if(t&1&&(p(0),T(1,"slice")),t&2){let e=l().$implicit,i=l(2);m(" ",ne(1,1,i.item(e).error,0,20)+"..."," ")}}function ct(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),u(1,lt,2,5),c()}if(t&2){let e=n.$implicit;r(),E(e.error?1:-1)}}function st(t,n){if(t&1&&(a(0,"th",20),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.created_at")," ")}}function pt(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),p(1),T(2,"timeAgo"),c()}if(t&2){let e=n.$implicit,i=l(2);r(),m(" ",M(2,1,i.item(e).createdAt)," ")}}function dt(t,n){if(t&1&&(a(0,"th",20),p(1),c()),t&2){let e=l().$implicit;r(),m(" ",e("dashboard.queues.ran_at")," ")}}function mt(t,n){t&1&&(p(0),T(1,"timeAgo")),t&2&&m(" ",M(1,1,n)," ")}function ut(t,n){if(t&1){let e=y();a(0,"td",19),x("click",function(o){let s=_(e).$implicit;return l(2).toggleQueueJobId(s.id),g(o.stopPropagation())}),u(1,mt,2,3),c()}if(t&2){let e,i=n.$implicit;r(),E((e=i.ranAt)?1:-1,e)}}function _t(t,n){if(t&1&&(a(0,"h5")(1,"span",23),p(2),c()(),a(3,"pre",24),p(4),c()),t&2){let e=n,i=l(2).$implicit;r(),d("matTooltip",i("torrents.copy_to_clipboard"))("cdkCopyToClipboard",e),r(),m("",i("general.error"),":"),r(2),S(e)}}function gt(t,n){if(t&1&&(a(0,"td",21)(1,"div",22)(2,"p")(3,"strong"),p(4,"ID:"),c(),p(5,"\xA0"),a(6,"span",23),p(7),c()(),a(8,"h5")(9,"span",23),p(10),c()(),a(11,"pre",24),p(12),c(),u(13,_t,5,4),c()()),t&2){let e,i=n.$implicit,o=l().$implicit,s=l();O("colspan",s.displayedColumns.length),r(),d("@detailExpand",s.expandedId.getValue()===i.id?"expanded":"collapsed"),r(5),d("matTooltip",o("torrents.copy_to_clipboard"))("cdkCopyToClipboard",s.item(i).id),r(),S(s.item(i).id),r(2),d("matTooltip",o("torrents.copy_to_clipboard"))("cdkCopyToClipboard",s.item(i).payload),r(),m("",o("dashboard.queues.payload"),":"),r(2),S(s.beautifyPayload(s.item(i).payload)),r(),E((e=s.item(i).error)?13:-1,e)}}function xt(t,n){t&1&&J(0,"tr",25)}function ft(t,n){if(t&1&&J(0,"tr",26),t&2){let e=n.$implicit,i=l(2);H("summary-row "+(e.id===i.expandedId.getValue()?"expanded":"collapsed"))}}function bt(t,n){if(t&1&&J(0,"tr",26),t&2){let e=n.$implicit,i=l(2);H("expanded-detail-row "+(e.id===i.expandedId.getValue()?"expanded":"collapsed"))}}function Ct(t,n){if(t&1&&(h(0),a(1,"div",1),J(2,"mat-progress-bar",2),T(3,"async"),c(),a(4,"table",3),h(5,4),u(6,Xe,2,0,"th",5)(7,Ze,2,1,"td",6),v(),h(8,7),u(9,et,2,1,"th",5)(10,tt,2,1,"td",6),v(),h(11,8),u(12,it,2,1,"th",5)(13,nt,3,3,"td",6),v(),h(14,9),u(15,ot,2,1,"th",5)(16,rt,2,1,"td",6),v(),h(17,10),u(18,at,2,1,"th",5)(19,ct,2,1,"td",6),v(),h(20,11),u(21,st,2,1,"th",12)(22,pt,3,3,"td",6),v(),h(23,13),u(24,dt,2,1,"th",12)(25,ut,2,1,"td",6),v(),h(26,14),u(27,gt,14,10,"td",15),v(),u(28,xt,1,0,"tr",16)(29,ft,1,2,"tr",17)(30,bt,1,2,"tr",17),c(),v()),t&2){let e=l();r(2),d("mode",M(3,7,e.dataSource.loading$)?"indeterminate":"determinate")("value",0),r(2),d("dataSource",e.dataSource)("multiTemplateDataRows",!0),r(24),d("matHeaderRowDef",e.displayedColumns),r(),d("matRowDefColumns",e.displayedColumns),r(),d("matRowDefColumns",te(9,Ue))}}var Le=(()=>{class t{constructor(){this.transloco=I(B),this.displayedColumns=ht,this.updated=new ee,this.expandedId=new w(null),this.items=Array()}ngOnInit(){this.dataSource.items$.subscribe(e=>{if(this.items=e,e.length){let i=this.expandedId.getValue();i&&!e.some(({id:o})=>o===i)&&this.expandedId.next(null)}})}isAllSelected(){return this.items.every(e=>this.selection.isSelected(e.id))}toggleAllRows(){if(this.isAllSelected()){this.selection.clear();return}this.selection.select(...this.items.map(e=>e.id))}toggleQueueJobId(e){this.expandedId.getValue()===e?this.expandedId.next(null):this.expandedId.next(e)}item(e){return e}beautifyPayload(e){try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-queue-jobs-table"]],inputs:{dataSource:"dataSource",selection:"selection",displayedColumns:"displayedColumns"},outputs:{updated:"updated"},standalone:!0,features:[V],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-results",3,"dataSource","multiTemplateDataRows"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","queue"],["matColumnDef","priority"],["matColumnDef","status"],["matColumnDef","error"],["matColumnDef","createdAt"],["mat-header-cell","","style","text-align: center",4,"matHeaderCellDef"],["matColumnDef","ranAt"],["matColumnDef","expandedDetail"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"class",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",3,"click"],["mat-header-cell","",2,"text-align","center"],["mat-cell",""],[1,"item-detail"],[1,"copy",3,"matTooltip","cdkCopyToClipboard"],[1,"payload"],["mat-header-row",""],["mat-row",""]],template:function(i,o){i&1&&u(0,Ct,31,10,"ng-container",0)},dependencies:[A,ge,Te,Ee,$e,Ve,Qe,Pe,De,ke,Oe,qe,Be,j,F,D,oe,q,Re],styles:[".item-detail[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child{padding-top:20px}.item-detail[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:last-child{margin-bottom:20px}tr[_ngcontent-%COMP%]:not(.expanded-detail-row) td[_ngcontent-%COMP%]{cursor:pointer}tr.expanded-detail-row[_ngcontent-%COMP%]{height:0}tr.expanded-detail-row[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin:0;padding-top:8px}tr.expanded-detail-row[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding-top:8px;padding-bottom:4px}tr.expanded-detail-row[_ngcontent-%COMP%] span.copy[_ngcontent-%COMP%]{cursor:crosshair;text-decoration:underline;text-decoration-style:dotted}pre[_ngcontent-%COMP%]{opacity:0;max-height:200px;max-width:100px;overflow:scroll;background:#7773;padding:10px}.expanded-detail-row.expanded[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{opacity:1;max-width:1200px}"],data:{animation:[re("detailExpand",[W("collapsed,void",N({height:"0px",minHeight:"0"})),W("expanded",N({height:"*"})),le("expanded <=> collapsed",ae("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return t})(),ht=["id","queue","priority","status","error","createdAt","ranAt"];var vt={items:[],hasNextPage:!1,totalCount:0,aggregations:{queue:[],status:[]}},R=class{constructor(n,e,i){this.apollo=n,this.errorsService=e,this.currentRequest=new w(0),this.loadingSubject=new w(!1),this.loading$=this.loadingSubject.asObservable(),this.result=vt,this.resultSubject=new w(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(P(o=>o.items)),i.subscribe(o=>{this.variables=o,this.loadResult(o)}),this.resultSubject.subscribe(o=>{this.result=o})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}refresh(){this.variables&&this.loadResult(this.variables)}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:_e,variables:n,fetchPolicy:"no-cache"}).pipe(P(o=>o.data.queue.jobs)).pipe(U(o=>(this.errorsService.addError(`Error loading item results: ${o.message}`),K)));this.currentSubscription=i.subscribe(o=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(o))})}};var L=class{constructor(n=yt){this.controlsSubject=new w(n),this.controls$=this.controlsSubject.asObservable(),this.variablesSubject=new w(He(n)),this.variables$=this.variablesSubject.asObservable(),this.controls$.pipe(Z(100)).subscribe(e=>{let i=this.variablesSubject.getValue(),o=He(e);JSON.stringify(i)!==JSON.stringify(o)&&this.variablesSubject.next(o)})}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}activateFilter(n,e){this.update(i=>{let o=n.extractInput(i.facets);return b(f({},i),{page:1,facets:n.patchInput(i.facets,b(f({},o),{filter:Array.from(new Set([...o.filter??[],e])).sort()}))})})}deactivateFilter(n,e){this.update(i=>{let o=n.extractInput(i.facets),s=o.filter?.filter(C=>C!==e);return b(f({},i),{page:1,facets:n.patchInput(i.facets,b(f({},o),{filter:s?.length?s:void 0}))})})}selectOrderBy(n){let e={field:n,descending:Y.find(i=>i.field===n)?.descending??!1};this.update(i=>b(f({},i),{orderBy:e,page:1}))}toggleOrderByDirection(){this.update(n=>b(f({},n),{orderBy:b(f({},n.orderBy),{descending:!n.orderBy.descending}),page:1}))}handlePageEvent(n){this.update(e=>b(f({},e),{limit:n.pageSize,page:n.page}))}},He=t=>({input:{limit:t.limit,page:t.page,totalCount:!0,orderBy:[t.orderBy,...t.orderBy.field!=="created_at"?[{field:"created_at",descending:t.orderBy.descending}]:[]],queues:t.queues,statuses:t.statuses,facets:{queue:{aggregate:!0,filter:t.facets.queue.filter},status:{aggregate:!0,filter:t.facets.status.filter}}}}),Y=[{field:"created_at",descending:!0},{field:"ran_at",descending:!0},{field:"priority",descending:!1}],yt={limit:20,page:1,orderBy:{field:"ran_at",descending:!0},facets:{queue:{},status:{}}},St={key:"queue",extractInput:t=>t.queue,patchInput:(t,n)=>b(f({},t),{queue:n}),extractAggregations:t=>t.queue??[],resolveLabel:t=>t.label},Tt={key:"status",extractInput:t=>t.status,patchInput:(t,n)=>b(f({},t),{status:n}),extractAggregations:t=>t.status??[],resolveLabel:(t,n)=>n.translate("dashboard.queues."+t.label)},ze=[St,Tt];var wt=(t,n)=>n.key,Mt=(t,n)=>n.field,Ne=(t,n)=>n.value,Jt=(t,n,e)=>[t,n,e];function It(t,n){if(t&1){let e=y();a(0,"mat-checkbox",21),x("change",function(o){let s=_(e).$implicit,C=l(2).$implicit,G=l(2);return g(o.checked?G.controller.activateFilter(C,s.value):G.controller.deactivateFilter(C,s.value))}),p(1),a(2,"small"),p(3),T(4,"number"),c()()}if(t&2){let e=n.$implicit,i=l(2).$implicit;d("checked",i.filter==null?null:i.filter.includes(e.value)),r(),m(" ",e.label," "),r(2),S(M(4,3,e.count))}}function Et(t,n){if(t&1&&(a(0,"mat-card-content",18),$(1,It,5,5,"mat-checkbox",20,Ne),c()),t&2){let e=l().$implicit;r(),Q(e.aggregations)}}function Pt(t,n){if(t&1){let e=y();a(0,"mat-checkbox",23),x("change",function(){let o=_(e).$implicit,s=l(2).$implicit,C=l(2);return g(C.controller.activateFilter(s,o.value))}),p(1),a(2,"small"),p(3),T(4,"number"),c()()}if(t&2){let e=n.$implicit;r(),m(" ",e.label," "),r(2),S(M(4,2,e.count))}}function $t(t,n){if(t&1&&(a(0,"mat-card-content",19),$(1,Pt,5,4,"mat-checkbox",22,Ne),c()),t&2){let e=l().$implicit;r(),Q(e.aggregations)}}function Qt(t,n){if(t&1&&(a(0,"mat-card")(1,"mat-card-header")(2,"mat-card-title"),p(3),c()(),u(4,Et,3,0,"mat-card-content",18)(5,$t,3,0,"mat-card-content",19),c()),t&2){let e=n.$implicit,i=l().$implicit;r(3),m(" ",i("facets."+e.key)," "),r(),E(e.filter!=null&&e.filter.length?4:5)}}function kt(t,n){if(t&1&&(a(0,"mat-option",12),p(1),c()),t&2){let e=n.$implicit,i=l().$implicit;d("value",e.field),r(),m(" ",i("dashboard.queues."+e.field)," ")}}function Ot(t,n){if(t&1){let e=y();h(0),J(1,"app-document-title",2),a(2,"mat-drawer-container",3)(3,"mat-drawer",4,0),$(5,Qt,6,2,"mat-card",null,wt),T(7,"async"),c(),a(8,"mat-drawer-content")(9,"div",5)(10,"div",6)(11,"button",7),x("click",function(){_(e);let o=z(4);return g(o.toggle())}),a(12,"mat-icon",8),p(13),c()()(),a(14,"div",9)(15,"mat-form-field",10)(16,"mat-label"),p(17),c(),a(18,"mat-select",11),x("valueChange",function(o){_(e);let s=l();return g(s.controller.selectOrderBy(o))}),$(19,kt,2,2,"mat-option",12,Mt),c()(),a(21,"button",13),x("click",function(){_(e);let o=l();return g(o.controller.toggleOrderByDirection())}),a(22,"mat-icon"),p(23),c()()(),a(24,"div",14)(25,"button",15),x("click",function(){_(e);let o=l();return g(o.dataSource.refresh())}),a(26,"mat-icon"),p(27,"sync"),c()()()(),J(28,"app-queue-jobs-table",16),a(29,"app-paginator",17),x("paging",function(o){_(e);let s=l();return g(s.controller.handlePageEvent(o))}),c()()(),v()}if(t&2){let e=n.$implicit,i=z(4),o=l();r(),d("parts",ie(21,Jt,e("routes.jobs"),e("routes.queues"),e("routes.dashboard"))),r(2),d("mode",o.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",o.breakpoints.sizeAtLeast("Medium")),O("role",o.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),r(2),Q(M(7,19,o.facets$)),r(6),d("matTooltip",e("torrents.toggle_drawer")),r(2),S(i.opened?"arrow_circle_left":"arrow_circle_right"),r(4),S(e("torrents.order_by")),r(),d("value",o.controls.orderBy.field),r(),Q(o.orderByOptions),r(2),d("matTooltip",e("torrents.order_direction_toggle")),r(2),S(o.controls.orderBy.descending?"arrow_downward":"arrow_upward"),r(2),d("matTooltip",e("torrents.refresh")),r(3),d("dataSource",o.dataSource)("selection",o.selection),r(),d("page",o.controls.page)("pageSize",o.controls.limit)("pageLength",o.dataSource.result.items.length)("totalLength",o.dataSource.result.totalCount)("totalIsEstimate",!1)("showLastPage",!0)}}var Ti=(()=>{class t{constructor(){this.apollo=I(ce),this.errorsService=I(ue),this.breakpoints=I(je),this.transloco=I(B),this.controller=new L,this.dataSource=new R(this.apollo,this.errorsService,this.controller.variables$),this.selection=new se,this.orderByOptions=Y,this.facets$=this.controller.controls$.pipe(X(this.dataSource.result$),P(([e,i])=>ze.map(o=>b(f(f({},o),o.extractInput(e.facets)),{aggregations:o.extractAggregations(i.aggregations).map(s=>b(f({},s),{label:o.resolveLabel(s,this.transloco)}))})))),this.controller.controls$.subscribe(e=>{this.controls=e})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=k({type:t,selectors:[["app-queue-jobs"]],standalone:!0,features:[V],decls:1,vars:0,consts:[["drawer",""],[4,"transloco"],[3,"parts"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],[1,"query-form"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["fontSet","material-icons"],[1,"form-field-container","form-field-container-order-by"],["subscriptSizing","dynamic"],[3,"valueChange","value"],[3,"value"],["mat-icon-button","",3,"click","matTooltip"],[1,"form-field-container","button-container","button-container-refresh"],["mat-mini-fab","","color","primary",3,"click","matTooltip"],[3,"dataSource","selection"],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"],[1,"filtered"],[1,"unfiltered"],[3,"checked"],[3,"change","checked"],["checked","true"],["checked","true",3,"change"]],template:function(i,o){i&1&&u(0,Ot,30,25,"ng-container",1)},dependencies:[A,pe,me,de,be,he,ve,Ce,ye,fe,xe,Se,we,Je,Ie,Me,j,F,D,q,Fe,Le,Ae],styles:[".drawer[_ngcontent-%COMP%]{width:220px}.query-form[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:10px;position:relative;clear:both;display:flex;flex-wrap:wrap}.query-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;position:relative;margin-left:20px;padding-bottom:20px}.query-form[_ngcontent-%COMP%] .form-field-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{top:8px}.query-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%]{padding-right:40px}.query-form[_ngcontent-%COMP%] .form-field-container.form-field-container-order-by[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{position:absolute;right:0}.query-form[_ngcontent-%COMP%] .form-field-container.button-container-toggle-drawer[_ngcontent-%COMP%]{margin-left:5px}.query-form[_ngcontent-%COMP%] .button-container-toggle-direction[_ngcontent-%COMP%]{margin-left:4px}app-paginator[_ngcontent-%COMP%]{float:right;padding-top:14px;padding-bottom:20px}"]})}}return t})();export{Ti as QueueJobsComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-ISB6LSNT.js b/webui/dist/bitmagnet/browser/chunk-JJA23WI2.js similarity index 90% rename from webui/dist/bitmagnet/browser/chunk-ISB6LSNT.js rename to webui/dist/bitmagnet/browser/chunk-JJA23WI2.js index 81051443..bc2f077b 100644 --- a/webui/dist/bitmagnet/browser/chunk-ISB6LSNT.js +++ b/webui/dist/bitmagnet/browser/chunk-JJA23WI2.js @@ -1 +1 @@ -import"./chunk-WC5EMJNC.js";import"./chunk-ISQ7AX2Q.js";import"./chunk-GLXU5TTY.js";import"./chunk-RQ2LQKI2.js";import"./chunk-PX3TOMGC.js";import"./chunk-42PJPEMD.js";import"./chunk-FNMD7JET.js";import{a as R}from"./chunk-P4IGP6ZM.js";import{Ea as E,Ga as z,Ha as q,Ia as B,_a as F,b as y,u as D,w as S,wa as I}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import{j as L,l as h,m as T}from"./chunk-CMNWCZJM.js";import{$b as O,Cb as M,Ea as _,Fa as f,Gb as C,Hb as l,Kb as p,Qb as r,Rb as i,Sb as d,Tb as w,Ub as b,Wb as k,Zb as x,jc as a,kb as t,kc as c,lc as s,pc as A,qa as g,qc as P,ua as v}from"./chunk-Z3WUIYN5.js";var Q=()=>({exact:!0});function $(n,V){if(n&1){let e=k();w(0),r(1,"mat-drawer-container",6)(2,"mat-drawer",7,0)(4,"nav")(5,"ul")(6,"li")(7,"a",8,1)(9,"mat-icon"),c(10,"dashboard"),i(),c(11),i()(),r(12,"li")(13,"a",9,2),d(15,"mat-icon",10),c(16),i()(),r(17,"li")(18,"a",11,3),d(20,"mat-icon",12),c(21),i()()()()(),r(22,"mat-drawer-content")(23,"div",13)(24,"button",14),x("click",function(){_(e);let m=a(3);return f(m.toggle())}),r(25,"mat-icon",15),c(26),i()()(),d(27,"router-outlet",null,4),i()(),b()}if(n&2){let e=V.$implicit,o=a(3),m=a(8),j=a(14),H=a(19),u=O();t(2),l("mode",u.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",u.breakpoints.sizeAtLeast("Medium")),C("role",u.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),t(5),p(m.isActive?"active":""),l("routerLinkActiveOptions",P(15,Q)),t(4),s(e("routes.home")),t(2),p(j.isActive?"active":""),t(3),s(e("routes.queues")),t(2),p(H.isActive?"active":""),t(3),s(e("routes.torrents")),t(3),l("matTooltip",e("torrents.toggle_drawer")),t(2),s(o.opened?"arrow_circle_left":"arrow_circle_right")}}var st=(()=>{class n{constructor(){this.breakpoints=g(R)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=v({type:n,selectors:[["app-dashboard"]],standalone:!0,features:[A],decls:1,vars:0,consts:[["drawer",""],["linkHome","routerLinkActive"],["linkQueues","routerLinkActive"],["linkTorrents","routerLinkActive"],["outlet",""],[4,"transloco"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],["mat-button","","routerLink","/dashboard","routerLinkActive","",3,"routerLinkActiveOptions"],["mat-button","","routerLink","queues","routerLinkActive",""],["svgIcon","queue"],["mat-button","","routerLink","torrents","routerLinkActive",""],["svgIcon","magnet"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["aria-label","Side nav toggle icon","fontSet","material-icons"]],template:function(o,m){o&1&&M(0,$,29,16,"ng-container",5)},dependencies:[F,D,S,I,q,B,z,E,L,h,T,y],styles:["mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{padding-top:12px;--mat-text-button-icon-spacing: 14px}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;font-size:var(--mat-expansion-container-text-size);justify-content:flex-start;padding-left:20px}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}mat-drawer-content[_ngcontent-%COMP%] .button-container-toggle-drawer[_ngcontent-%COMP%]{position:absolute;left:20px;top:28px;z-index:100}.drawer[_ngcontent-%COMP%]{width:220px}"]})}}return n})();export{st as DashboardComponent}; +import"./chunk-PKY2LTNB.js";import"./chunk-QACUPSPJ.js";import"./chunk-UAJQPQWO.js";import"./chunk-RQ2LQKI2.js";import"./chunk-PX3TOMGC.js";import"./chunk-42PJPEMD.js";import"./chunk-AY6Y76TX.js";import{a as R}from"./chunk-4IZ4BZMF.js";import{Ea as E,Ga as z,Ha as q,Ia as B,_a as F,b as y,u as D,w as S,wa as I}from"./chunk-K5VIU67A.js";import"./chunk-6XXA7HXI.js";import{j as L,l as h,m as T}from"./chunk-CMNWCZJM.js";import{$b as O,Cb as M,Ea as _,Fa as f,Gb as C,Hb as l,Kb as p,Qb as r,Rb as i,Sb as d,Tb as w,Ub as b,Wb as k,Zb as x,jc as a,kb as t,kc as c,lc as s,pc as A,qa as g,qc as P,ua as v}from"./chunk-Z3WUIYN5.js";var Q=()=>({exact:!0});function $(n,V){if(n&1){let e=k();w(0),r(1,"mat-drawer-container",6)(2,"mat-drawer",7,0)(4,"nav")(5,"ul")(6,"li")(7,"a",8,1)(9,"mat-icon"),c(10,"dashboard"),i(),c(11),i()(),r(12,"li")(13,"a",9,2),d(15,"mat-icon",10),c(16),i()(),r(17,"li")(18,"a",11,3),d(20,"mat-icon",12),c(21),i()()()()(),r(22,"mat-drawer-content")(23,"div",13)(24,"button",14),x("click",function(){_(e);let m=a(3);return f(m.toggle())}),r(25,"mat-icon",15),c(26),i()()(),d(27,"router-outlet",null,4),i()(),b()}if(n&2){let e=V.$implicit,o=a(3),m=a(8),j=a(14),H=a(19),u=O();t(2),l("mode",u.breakpoints.sizeAtLeast("Medium")?"side":"over")("opened",u.breakpoints.sizeAtLeast("Medium")),C("role",u.breakpoints.sizeAtLeast("Medium")?"navigation":"dialog"),t(5),p(m.isActive?"active":""),l("routerLinkActiveOptions",P(15,Q)),t(4),s(e("routes.home")),t(2),p(j.isActive?"active":""),t(3),s(e("routes.queues")),t(2),p(H.isActive?"active":""),t(3),s(e("routes.torrents")),t(3),l("matTooltip",e("torrents.toggle_drawer")),t(2),s(o.opened?"arrow_circle_left":"arrow_circle_right")}}var st=(()=>{class n{constructor(){this.breakpoints=g(R)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=v({type:n,selectors:[["app-dashboard"]],standalone:!0,features:[A],decls:1,vars:0,consts:[["drawer",""],["linkHome","routerLinkActive"],["linkQueues","routerLinkActive"],["linkTorrents","routerLinkActive"],["outlet",""],[4,"transloco"],[1,"drawer-container"],[1,"drawer",3,"mode","opened"],["mat-button","","routerLink","/dashboard","routerLinkActive","",3,"routerLinkActiveOptions"],["mat-button","","routerLink","queues","routerLinkActive",""],["svgIcon","queue"],["mat-button","","routerLink","torrents","routerLinkActive",""],["svgIcon","magnet"],[1,"form-field-container","button-container","button-container-toggle-drawer"],["type","button","mat-icon-button","",1,"button-toggle-drawer",3,"click","matTooltip"],["aria-label","Side nav toggle icon","fontSet","material-icons"]],template:function(o,m){o&1&&M(0,$,29,16,"ng-container",5)},dependencies:[F,D,S,I,q,B,z,E,L,h,T,y],styles:["mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{padding-top:12px;--mat-text-button-icon-spacing: 14px}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:100%;font-size:var(--mat-expansion-container-text-size);justify-content:flex-start;padding-left:20px}mat-drawer[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}mat-drawer-content[_ngcontent-%COMP%] .button-container-toggle-drawer[_ngcontent-%COMP%]{position:absolute;left:20px;top:28px;z-index:100}.drawer[_ngcontent-%COMP%]{width:220px}"]})}}return n})();export{st as DashboardComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-HZYDZMJ4.js b/webui/dist/bitmagnet/browser/chunk-K5VIU67A.js similarity index 98% rename from webui/dist/bitmagnet/browser/chunk-HZYDZMJ4.js rename to webui/dist/bitmagnet/browser/chunk-K5VIU67A.js index aa2396c8..5c653f70 100644 --- a/webui/dist/bitmagnet/browser/chunk-HZYDZMJ4.js +++ b/webui/dist/bitmagnet/browser/chunk-K5VIU67A.js @@ -281,9 +281,9 @@ ${Qx}`,Wx=We` hasNextPage } ${Gx}`,Af=We` - mutation Download($infoHashes: [Hash20!]!) { - downloadclient { - download(infoHashes: $infoHashes) + mutation ClientSendTo($clientID: ClientID, $infoHashes: [Hash20!]!) { + client { + sendTo(clientID: $clientID, infoHashes: $infoHashes) } } `;var FN=We` @@ -329,9 +329,10 @@ ${Qx}`,Wx=We` } } `;var Nf=We` - query DownloadClientEnabled { - downloadClient { + query SendToConfig { + sendToConfig { enabled + sendTo } } `;var LN=We` @@ -427,7 +428,7 @@ ${Qx}`,Wx=We` query Version { version } - `;var jf=(()=>{class i{constructor(e){this.apollo=e}torrentDelete(e){return this.apollo.mutate({mutation:Of,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}torrentPutTags(e){return this.apollo.mutate({mutation:Ff,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}torrentSetTags(e){return this.apollo.mutate({mutation:Pf,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}torrentDeleteTags(e){return this.apollo.mutate({mutation:Rf,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}torrentSuggestTags(e){return this.apollo.query({query:Lf,variables:e,fetchPolicy:Lr}).pipe(xe(t=>t.data.torrent.suggestTags))}clientDownload(e){return this.apollo.mutate({mutation:Af,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}downloadClientEnabledQuery(){return this.apollo.query({query:Nf}).pipe(xe(e=>e.data.downloadClient.enabled))}static{this.\u0275fac=function(t){return new(t||i)(x(Ll))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac})}}return i})(),Lr="no-cache";var Vf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({providers:[jf]})}}return i})();var fd=class{constructor(n){this._box=n,this._destroyed=new R,this._resizeSubject=new R,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new lt(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),t.unsubscribe(),this._elementObservables.delete(n)}}).pipe(ye(e=>e.some(t=>t.target===n)),Qr({bufferSize:1,refCount:!0}),$(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Rs=(()=>{class i{constructor(){this._observers=new Map,this._ngZone=F(V),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,t){let r=t?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new fd(r)),this._observers.get(r).observe(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Kx=["notch"],Xx=["matFormFieldNotchedOutline",""],Zx=["*"],Jx=["textField"],ew=["iconPrefixContainer"],tw=["textPrefixContainer"],iw=["iconSuffixContainer"],nw=["textSuffixContainer"],rw=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ow=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function aw(i,n){i&1&&ie(0,"span",21)}function sw(i,n){if(i&1&&(w(0,"label",20),A(1,1),te(2,aw,1,0,"span",21),I()),i&2){let e=fe(2);ue("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),W("for",e._control.disableAutomaticLabeling?null:e._control.id),j(2),ge(!e.hideRequiredMarker&&e._control.required?2:-1)}}function cw(i,n){if(i&1&&te(0,sw,3,5,"label",20),i&2){let e=fe();ge(e._hasFloatingLabel()?0:-1)}}function lw(i,n){i&1&&ie(0,"div",7)}function dw(i,n){}function uw(i,n){if(i&1&&te(0,dw,0,0,"ng-template",13),i&2){fe(2);let e=$t(1);ue("ngTemplateOutlet",e)}}function hw(i,n){if(i&1&&(w(0,"div",9),te(1,uw,1,1,null,13),I()),i&2){let e=fe();ue("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),j(),ge(e._forceDisplayInfixLabel()?-1:1)}}function mw(i,n){i&1&&(w(0,"div",10,2),A(2,2),I())}function pw(i,n){i&1&&(w(0,"div",11,3),A(2,3),I())}function fw(i,n){}function gw(i,n){if(i&1&&te(0,fw,0,0,"ng-template",13),i&2){fe();let e=$t(1);ue("ngTemplateOutlet",e)}}function bw(i,n){i&1&&(w(0,"div",14,4),A(2,4),I())}function vw(i,n){i&1&&(w(0,"div",15,5),A(2,5),I())}function _w(i,n){i&1&&ie(0,"div",16)}function yw(i,n){if(i&1&&(w(0,"div",18),A(1,6),I()),i&2){let e=fe();ue("@transitionMessages",e._subscriptAnimationState)}}function xw(i,n){if(i&1&&(w(0,"mat-hint",22),Tt(1),I()),i&2){let e=fe(2);ue("id",e._hintLabelId),j(),ri(e.hintLabel)}}function ww(i,n){if(i&1&&(w(0,"div",19),te(1,xw,2,2,"mat-hint",22),A(2,7),ie(3,"div",23),A(4,8),I()),i&2){let e=fe();ue("@transitionMessages",e._subscriptAnimationState),j(),ge(e.hintLabel?1:-1)}}var Bf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-label"]],standalone:!0})}}return i})();var Cw=new C("MatError");var kw=0,zf=(()=>{class i{constructor(){this.align="start",this.id=`mat-mdc-hint-${kw++}`}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,r){t&2&&(St("id",r.id),W("align",null),P("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0})}}return i})(),Dw=new C("MatPrefix");var Ew=new C("MatSuffix");var Yf=new C("FloatingLabelParent"),Hf=(()=>{class i{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=F(Rs),this._ngZone=F(V),this._parent=F(Yf),this._resizeSubscription=new Te}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Iw(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return i})();function Iw(i){let n=i;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var Uf="mdc-line-ripple--active",Fs="mdc-line-ripple--deactivating",Qf=(()=>{class i{constructor(e,t){this._elementRef=e,this._handleTransitionEnd=r=>{let o=this._elementRef.nativeElement.classList,a=o.contains(Fs);r.propertyName==="opacity"&&a&&o.remove(Uf,Fs)},t.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Fs),e.add(Uf)}deactivate(){this._elementRef.nativeElement.classList.add(Fs)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(V))}}static{this.\u0275dir=D({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return i})(),qf=(()=>{class i{constructor(e,t){this._elementRef=e,this._ngZone=t,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(V))}}static{this.\u0275cmp=H({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,r){if(t&1&&re(Kx,5),t&2){let o;S(o=T())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[U],attrs:Xx,ngContentSelectors:Zx,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,r){t&1&&(se(),ie(0,"div",1),w(1,"div",2,0),A(3),I(),ie(4,"div",3))},encapsulation:2,changeDetection:0})}}return i})(),Sw={transitionMessages:gt("transitionMessages",[it("enter",Oe({opacity:1,transform:"translateY(0%)"})),Ze("void => enter",[Oe({opacity:0,transform:"translateY(-5px)"}),Xe("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Vn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i})}}return i})();var Ri=new C("MatFormField"),Tw=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Wf=0,Gf="fill",Mw="auto",$f="fixed",Aw="translateY(-50%)",yL=(()=>{class i{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ut(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Mw}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let t=this._appearance,r=e||this._defaults?.appearance||Gf;this._appearance=r,this._appearance==="outline"&&this._appearance!==t&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||$f}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||$f}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,t,r,o,a,s,c,l){this._elementRef=e,this._changeDetectorRef=t,this._dir=o,this._platform=a,this._defaults=s,this._animationMode=c,this._labelChild=Tu(Bf),this._hideRequiredMarker=!1,this.color="primary",this._appearance=Gf,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Wf++}`,this._hintLabelId=`mat-mdc-hint-${Wf++}`,this._subscriptAnimationState="",this._destroyed=new R,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=F(Ee),this.getLabelId=gi(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=gi(()=>!!this._labelChild()),s&&(s.appearance&&(this.appearance=s.appearance),this._hideRequiredMarker=!!s?.hideRequiredMarker,s.color&&(this.color=s.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(r+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe($(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Fe(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),ea(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe($(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let t=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let t=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=t?.getBoundingClientRect().width??0,c=r?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,d=a?.getBoundingClientRect().width??0,h=this._dir.value==="rtl"?"-1":"1",m=`${s+c}px`,f=`calc(${h} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( + `;var jf=(()=>{class i{constructor(e){this.apollo=e}torrentDelete(e){return this.apollo.mutate({mutation:Of,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}torrentPutTags(e){return this.apollo.mutate({mutation:Ff,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}torrentSetTags(e){return this.apollo.mutate({mutation:Pf,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}torrentDeleteTags(e){return this.apollo.mutate({mutation:Rf,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}torrentSuggestTags(e){return this.apollo.query({query:Lf,variables:e,fetchPolicy:Lr}).pipe(xe(t=>t.data.torrent.suggestTags))}clientSendToTarget(e){return this.apollo.mutate({mutation:Af,variables:e,fetchPolicy:Lr}).pipe(xe(()=>{}))}clentSendToConfig(){return this.apollo.query({query:Nf}).pipe(xe(e=>e.data.sendToConfig))}static{this.\u0275fac=function(t){return new(t||i)(x(Ll))}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac})}}return i})(),Lr="no-cache";var Vf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({providers:[jf]})}}return i})();var fd=class{constructor(n){this._box=n,this._destroyed=new R,this._resizeSubject=new R,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new lt(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),t.unsubscribe(),this._elementObservables.delete(n)}}).pipe(ye(e=>e.some(t=>t.target===n)),Qr({bufferSize:1,refCount:!0}),$(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Rs=(()=>{class i{constructor(){this._observers=new Map,this._ngZone=F(V),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(e,t){let r=t?.box||"content-box";return this._observers.has(r)||this._observers.set(r,new fd(r)),this._observers.get(r).observe(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=ee({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var Kx=["notch"],Xx=["matFormFieldNotchedOutline",""],Zx=["*"],Jx=["textField"],ew=["iconPrefixContainer"],tw=["textPrefixContainer"],iw=["iconSuffixContainer"],nw=["textSuffixContainer"],rw=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ow=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function aw(i,n){i&1&&ie(0,"span",21)}function sw(i,n){if(i&1&&(w(0,"label",20),A(1,1),te(2,aw,1,0,"span",21),I()),i&2){let e=fe(2);ue("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),W("for",e._control.disableAutomaticLabeling?null:e._control.id),j(2),ge(!e.hideRequiredMarker&&e._control.required?2:-1)}}function cw(i,n){if(i&1&&te(0,sw,3,5,"label",20),i&2){let e=fe();ge(e._hasFloatingLabel()?0:-1)}}function lw(i,n){i&1&&ie(0,"div",7)}function dw(i,n){}function uw(i,n){if(i&1&&te(0,dw,0,0,"ng-template",13),i&2){fe(2);let e=$t(1);ue("ngTemplateOutlet",e)}}function hw(i,n){if(i&1&&(w(0,"div",9),te(1,uw,1,1,null,13),I()),i&2){let e=fe();ue("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),j(),ge(e._forceDisplayInfixLabel()?-1:1)}}function mw(i,n){i&1&&(w(0,"div",10,2),A(2,2),I())}function pw(i,n){i&1&&(w(0,"div",11,3),A(2,3),I())}function fw(i,n){}function gw(i,n){if(i&1&&te(0,fw,0,0,"ng-template",13),i&2){fe();let e=$t(1);ue("ngTemplateOutlet",e)}}function bw(i,n){i&1&&(w(0,"div",14,4),A(2,4),I())}function vw(i,n){i&1&&(w(0,"div",15,5),A(2,5),I())}function _w(i,n){i&1&&ie(0,"div",16)}function yw(i,n){if(i&1&&(w(0,"div",18),A(1,6),I()),i&2){let e=fe();ue("@transitionMessages",e._subscriptAnimationState)}}function xw(i,n){if(i&1&&(w(0,"mat-hint",22),Tt(1),I()),i&2){let e=fe(2);ue("id",e._hintLabelId),j(),ri(e.hintLabel)}}function ww(i,n){if(i&1&&(w(0,"div",19),te(1,xw,2,2,"mat-hint",22),A(2,7),ie(3,"div",23),A(4,8),I()),i&2){let e=fe();ue("@transitionMessages",e._subscriptAnimationState),j(),ge(e.hintLabel?1:-1)}}var Bf=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-label"]],standalone:!0})}}return i})();var Cw=new C("MatError");var kw=0,zf=(()=>{class i{constructor(){this.align="start",this.id=`mat-mdc-hint-${kw++}`}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,r){t&2&&(St("id",r.id),W("align",null),P("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0})}}return i})(),Dw=new C("MatPrefix");var Ew=new C("MatSuffix");var Yf=new C("FloatingLabelParent"),Hf=(()=>{class i{get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(e){this._elementRef=e,this._floating=!1,this._monitorResize=!1,this._resizeObserver=F(Rs),this._ngZone=F(V),this._parent=F(Yf),this._resizeSubscription=new Te}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Iw(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static{this.\u0275fac=function(t){return new(t||i)(u(E))}}static{this.\u0275dir=D({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0})}}return i})();function Iw(i){let n=i;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var Uf="mdc-line-ripple--active",Fs="mdc-line-ripple--deactivating",Qf=(()=>{class i{constructor(e,t){this._elementRef=e,this._handleTransitionEnd=r=>{let o=this._elementRef.nativeElement.classList,a=o.contains(Fs);r.propertyName==="opacity"&&a&&o.remove(Uf,Fs)},t.runOutsideAngular(()=>{e.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Fs),e.add(Uf)}deactivate(){this._elementRef.nativeElement.classList.add(Fs)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(V))}}static{this.\u0275dir=D({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0})}}return i})(),qf=(()=>{class i{constructor(e,t){this._elementRef=e,this._ngZone=t,this.open=!1}ngAfterViewInit(){let e=this._elementRef.nativeElement.querySelector(".mdc-floating-label");e?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(e.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>e.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){!this.open||!e?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(V))}}static{this.\u0275cmp=H({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,r){if(t&1&&re(Kx,5),t&2){let o;S(o=T())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,r){t&2&&P("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[U],attrs:Xx,ngContentSelectors:Zx,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,r){t&1&&(se(),ie(0,"div",1),w(1,"div",2,0),A(3),I(),ie(4,"div",3))},encapsulation:2,changeDetection:0})}}return i})(),Sw={transitionMessages:gt("transitionMessages",[it("enter",Oe({opacity:1,transform:"translateY(0%)"})),Ze("void => enter",[Oe({opacity:0,transform:"translateY(-5px)"}),Xe("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Vn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275dir=D({type:i})}}return i})();var Ri=new C("MatFormField"),Tw=new C("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Wf=0,Gf="fill",Mw="auto",$f="fixed",Aw="translateY(-50%)",yL=(()=>{class i{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ut(e)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Mw}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(e){let t=this._appearance,r=e||this._defaults?.appearance||Gf;this._appearance=r,this._appearance==="outline"&&this._appearance!==t&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||$f}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||$f}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}constructor(e,t,r,o,a,s,c,l){this._elementRef=e,this._changeDetectorRef=t,this._dir=o,this._platform=a,this._defaults=s,this._animationMode=c,this._labelChild=Tu(Bf),this._hideRequiredMarker=!1,this.color="primary",this._appearance=Gf,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Wf++}`,this._hintLabelId=`mat-mdc-hint-${Wf++}`,this._subscriptAnimationState="",this._destroyed=new R,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._previousControl=null,this._injector=F(Ee),this.getLabelId=gi(()=>this._hasFloatingLabel()?this._labelId:null),this._hasFloatingLabel=gi(()=>!!this._labelChild()),s&&(s.appearance&&(this.appearance=s.appearance),this._hideRequiredMarker=!!s?.hideRequiredMarker,s.color&&(this.color=s.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._previousControl=this._control)}ngOnDestroy(){this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,r="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(r+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(r+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe($(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Fe(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),ea(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe($(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let t=this._hintChildren?this._hintChildren.find(o=>o.align==="start"):null,r=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(e)}}_updateOutlineLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return;let e=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){e.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let t=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,a=this._textSuffixContainer?.nativeElement,s=t?.getBoundingClientRect().width??0,c=r?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,d=a?.getBoundingClientRect().width??0,h=this._dir.value==="rtl"?"-1":"1",m=`${s+c}px`,f=`calc(${h} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;e.style.transform=`var( --mat-mdc-form-field-label-transform, ${Aw} translateX(${f}) )`;let b=s+c+l+d;this._elementRef.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${b}px)`)}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static{this.\u0275fac=function(t){return new(t||i)(u(E),u(pe),u(V),u(Re),u(me),u(Tw,8),u(we,8),u(oe))}}static{this.\u0275cmp=H({type:i,selectors:[["mat-form-field"]],contentQueries:function(t,r,o){if(t&1&&(Pu(o,r._labelChild,Bf,5),he(o,Vn,5),he(o,Dw,5),he(o,Ew,5),he(o,Cw,5),he(o,zf,5)),t&2){Nu();let a;S(a=T())&&(r._formFieldControl=a.first),S(a=T())&&(r._prefixChildren=a),S(a=T())&&(r._suffixChildren=a),S(a=T())&&(r._errorChildren=a),S(a=T())&&(r._hintChildren=a)}},viewQuery:function(t,r){if(t&1&&(re(Jx,5),re(ew,5),re(tw,5),re(iw,5),re(nw,5),re(Hf,5),re(qf,5),re(Qf,5)),t&2){let o;S(o=T())&&(r._textField=o.first),S(o=T())&&(r._iconPrefixContainer=o.first),S(o=T())&&(r._textPrefixContainer=o.first),S(o=T())&&(r._iconSuffixContainer=o.first),S(o=T())&&(r._textSuffixContainer=o.first),S(o=T())&&(r._floatingLabel=o.first),S(o=T())&&(r._notchedOutline=o.first),S(o=T())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(t,r){t&2&&P("mat-mdc-form-field-label-always-float",r._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",r._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",r._hasIconSuffix)("mat-form-field-invalid",r._control.errorState)("mat-form-field-disabled",r._control.disabled)("mat-form-field-autofilled",r._control.autofilled)("mat-form-field-no-animations",r._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",r.appearance=="fill")("mat-form-field-appearance-outline",r.appearance=="outline")("mat-form-field-hide-placeholder",r._hasFloatingLabel()&&!r._shouldLabelFloat())("mat-focused",r._control.focused)("mat-primary",r.color!=="accent"&&r.color!=="warn")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("ng-untouched",r._shouldForward("untouched"))("ng-touched",r._shouldForward("touched"))("ng-pristine",r._shouldForward("pristine"))("ng-dirty",r._shouldForward("dirty"))("ng-valid",r._shouldForward("valid"))("ng-invalid",r._shouldForward("invalid"))("ng-pending",r._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[de([{provide:Ri,useExisting:i},{provide:Yf,useExisting:i}]),U],ngContentSelectors:ow,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,r){if(t&1){let o=Ge();se(rw),te(0,cw,1,1,"ng-template",null,0,ia),w(2,"div",6,1),J("click",function(s){return ce(o),le(r._control.onContainerClick(s))}),te(4,lw,1,0,"div",7),w(5,"div",8),te(6,hw,2,2,"div",9)(7,mw,3,0,"div",10)(8,pw,3,0,"div",11),w(9,"div",12),te(10,gw,1,1,null,13),A(11),I(),te(12,bw,3,0,"div",14)(13,vw,3,0,"div",15),I(),te(14,_w,1,0,"div",16),I(),w(15,"div",17),te(16,yw,2,1,"div",18)(17,ww,5,2,"div",19),I()}if(t&2){let o;j(2),P("mdc-text-field--filled",!r._hasOutline())("mdc-text-field--outlined",r._hasOutline())("mdc-text-field--no-label",!r._hasFloatingLabel())("mdc-text-field--disabled",r._control.disabled)("mdc-text-field--invalid",r._control.errorState),j(2),ge(!r._hasOutline()&&!r._control.disabled?4:-1),j(2),ge(r._hasOutline()?6:-1),j(),ge(r._hasIconPrefix?7:-1),j(),ge(r._hasTextPrefix?8:-1),j(2),ge(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),j(2),ge(r._hasTextSuffix?12:-1),j(),ge(r._hasIconSuffix?13:-1),j(),ge(r._hasOutline()?-1:14),j(),P("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic"),j(),ge((o=r._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[Hf,qf,oa,Qf,zf],styles:['.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-filled-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color, var(--mat-app-on-surface));caret-color:var(--mdc-outlined-text-field-caret-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--disabled .cdk-high-contrast-active .mdc-text-field__input{background-color:Window}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top));border-top-right-radius:var(--mdc-filled-text-field-container-shape, var(--mat-app-corner-extra-small-top))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color, var(--mat-app-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)));padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)) + 4px);padding-left:max(16px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.cdk-high-contrast-active .mdc-text-field--disabled .mdc-floating-label{z-index:1}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-filled-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-filled-text-field-hover-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-filled-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-filled-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-filled-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-filled-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-filled-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-filled-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mdc-outlined-text-field-label-text-color, var(--mat-app-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-focus-label-text-color, var(--mat-app-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-hover-label-text-color, var(--mat-app-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mdc-outlined-text-field-error-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mdc-outlined-text-field-error-focus-label-text-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mdc-outlined-text-field-error-hover-label-text-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font, var(--mat-app-body-large-font));font-size:var(--mdc-outlined-text-field-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-outlined-text-field-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-outlined-text-field-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-outline-color, var(--mat-app-outline));border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-hover-outline-color, var(--mat-app-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-focus-outline-color, var(--mat-app-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-hover-outline-color, var(--mat-app-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mdc-outlined-text-field-error-focus-outline-color, var(--mat-app-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small));border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),100% - max(12px,var(--mdc-outlined-text-field-container-shape, var(--mat-app-corner-extra-small)))*2)}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none;--mat-form-field-notch-max-width: 100%}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color, var(--mat-app-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color, var(--mat-app-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color, var(--mat-app-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color, var(--mat-app-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color, var(--mat-app-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color, var(--mat-app-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-app-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-app-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-app-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-app-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-app-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-app-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-app-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-app-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-app-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-app-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-app-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-app-body-large-weight))}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-app-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-app-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-app-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-app-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field:not(.mat-form-field-no-animations).mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Sw.transitionMessages]},changeDetection:0})}}return i})(),Bn=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=L({type:i})}static{this.\u0275inj=N({imports:[K,yt,_s,K]})}}return i})();var Ow=["*"];var Rw=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Fw=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle, diff --git a/webui/dist/bitmagnet/browser/chunk-NJLU6UWE.js b/webui/dist/bitmagnet/browser/chunk-MVSJKDSJ.js similarity index 94% rename from webui/dist/bitmagnet/browser/chunk-NJLU6UWE.js rename to webui/dist/bitmagnet/browser/chunk-MVSJKDSJ.js index c28a88eb..24106776 100644 --- a/webui/dist/bitmagnet/browser/chunk-NJLU6UWE.js +++ b/webui/dist/bitmagnet/browser/chunk-MVSJKDSJ.js @@ -1 +1 @@ -import{a as h}from"./chunk-DSEDLZDW.js";import{V as _,W as M,_ as x,_a as v,b as g}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{Cb as i,Hb as r,Qb as p,Rb as d,Sb as c,Tb as m,Ub as l,kb as o,kc as s,lc as u,pc as f,rc as C,ua as a}from"./chunk-Z3WUIYN5.js";var y=t=>[t];function T(t,F){if(t&1&&(m(0),c(1,"app-document-title",1),p(2,"mat-card",2)(3,"mat-card-header")(4,"mat-card-title")(5,"h2"),s(6),d()()()(),l()),t&2){let e=F.$implicit;o(),r("parts",C(2,y,e("general.page_not_found"))),o(5),u(e("general.page_not_found"))}}var E=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=a({type:t,selectors:[["app-not-found"]],standalone:!0,features:[f],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],[1,"card-not-found"]],template:function(n,D){n&1&&i(0,T,7,4,"ng-container",0)},dependencies:[v,_,x,M,g,h],styles:[".card-not-found[_ngcontent-%COMP%]{max-width:960px;margin:20px auto}.card-not-found[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-top:10px}"]})}}return t})();export{E as NotFoundComponent}; +import{a as h}from"./chunk-DSEDLZDW.js";import{V as _,W as M,_ as x,_a as v,b as g}from"./chunk-K5VIU67A.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{Cb as i,Hb as r,Qb as p,Rb as d,Sb as c,Tb as m,Ub as l,kb as o,kc as s,lc as u,pc as f,rc as C,ua as a}from"./chunk-Z3WUIYN5.js";var y=t=>[t];function T(t,F){if(t&1&&(m(0),c(1,"app-document-title",1),p(2,"mat-card",2)(3,"mat-card-header")(4,"mat-card-title")(5,"h2"),s(6),d()()()(),l()),t&2){let e=F.$implicit;o(),r("parts",C(2,y,e("general.page_not_found"))),o(5),u(e("general.page_not_found"))}}var E=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=a({type:t,selectors:[["app-not-found"]],standalone:!0,features:[f],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],[1,"card-not-found"]],template:function(n,D){n&1&&i(0,T,7,4,"ng-container",0)},dependencies:[v,_,x,M,g,h],styles:[".card-not-found[_ngcontent-%COMP%]{max-width:960px;margin:20px auto}.card-not-found[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-top:10px}"]})}}return t})();export{E as NotFoundComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-PKY2LTNB.js b/webui/dist/bitmagnet/browser/chunk-PKY2LTNB.js new file mode 100644 index 00000000..4499bbfd --- /dev/null +++ b/webui/dist/bitmagnet/browser/chunk-PKY2LTNB.js @@ -0,0 +1,3 @@ +import{a as Ft,b as Nt,c as jt,k as Kt}from"./chunk-QACUPSPJ.js";import{c as Gt}from"./chunk-UAJQPQWO.js";import{c as Qt}from"./chunk-PX3TOMGC.js";import{a as ut}from"./chunk-AY6Y76TX.js";import{a as N}from"./chunk-4IZ4BZMF.js";import{Ba as kt,Ea as F,Ja as Et,Ka as Mt,La as It,Ma as At,Na as Bt,O as gt,Oa as Vt,Pa as $t,Q as xt,Qa as Pt,Ra as Ot,S as Ct,Sa as Dt,T as Tt,Ta as Ht,U as ht,Ua as zt,V as z,Va as Rt,Wa as Lt,X as R,Z as ft,_a as Q,b as H,ba as bt,da as vt,fa as St,ga as wt,ha as yt,j as st,k as ct,l as mt,m as pt,s as dt,t as _t,wa as L}from"./chunk-K5VIU67A.js";import{c as at,d as rt,g as j,h as K,i as lt}from"./chunk-6XXA7HXI.js";import{i as it,k as ot}from"./chunk-CMNWCZJM.js";import{$b as l,Cb as d,Ea as _,Fa as u,Gb as W,Hb as p,Kb as X,Mb as S,N as A,Na as V,Nb as $,Ob as P,Pb as O,Qb as a,Rb as r,Sb as f,Tb as b,Ub as v,Wb as h,Zb as x,a as U,ad as nt,b as q,cc as y,h as Y,ha as E,hb as J,jc as G,kb as o,kc as m,lc as g,mc as T,nc as Z,o as I,pc as D,qa as w,qc as tt,ua as B,vc as k,wc as M,xc as et}from"./chunk-Z3WUIYN5.js";function Xt(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(2).$implicit;o(),g(t("torrents.copy"))}}function Zt(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"content_copy"),r(),d(2,Xt,2,1,"span",7)),e&2){let t=l(2);o(2),S(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function te(e,s){if(e&1&&(a(0,"mat-card")(1,"mat-card-actions",8)(2,"button",9),f(3,"mat-icon",10),m(4),r(),a(5,"button",9)(6,"mat-icon"),m(7,"tag"),r(),m(8),r()()()),e&2){let t=l().$implicit,n=l();o(2),p("disabled",!n.selectedItems.length)("matTooltip",t("torrents.copy_to_clipboard"))("cdkCopyToClipboard",n.getSelectedMagnetLinks()),o(2),T("",t("torrents.magnet_links")," "),o(),p("disabled",!n.selectedItems.length)("matTooltip",t("torrents.copy_to_clipboard"))("cdkCopyToClipboard",n.getSelectedInfoHashesLines()),o(3),T("",t("torrents.info_hashes")," ")}}function ee(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(2).$implicit;o(),g(t("torrents.edit_tags"))}}function ne(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"sell"),r(),d(2,ee,2,1,"span",7)),e&2){let t=l(2);o(2),S(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ie(e,s){if(e&1){let t=h();a(0,"mat-chip-row",18),x("edited",function(i){let c=_(t).$implicit,C=l(3);return u(C.renameTag(c,i.value))})("removed",function(){let i=_(t).$implicit,c=l(3);return u(c.deleteTag(i))}),m(1),a(2,"mat-icon",19),m(3,"cancel"),r()()}if(e&2){let t=s.$implicit;p("editable",!0)("aria-description","press enter to edit"),o(),T(" ",t," ")}}function oe(e,s){if(e&1&&(a(0,"mat-option",16),m(1),r()),e&2){let t=s.$implicit;p("value",t),o(),g(t)}}function ae(e,s){if(e&1){let t=h();a(0,"mat-card")(1,"mat-form-field",11)(2,"mat-chip-grid",12,0),P(4,ie,4,3,"mat-chip-row",13,$),r(),a(6,"input",14),x("matChipInputTokenEnd",function(i){_(t);let c=l(2);return u(i.value&&c.addTag(i.value))}),r(),a(7,"mat-autocomplete",15,1),x("optionSelected",function(i){_(t);let c=l(2);return u(c.addTag(i.option.viewValue))}),P(9,oe,2,2,"mat-option",16,$),r()(),a(11,"mat-card-actions",8)(12,"button",17),x("click",function(){_(t);let i=l(2);return u(i.setTags())}),m(13),r(),a(14,"button",17),x("click",function(){_(t);let i=l(2);return u(i.putTags())}),m(15),r(),a(16,"button",17),x("click",function(){_(t);let i=l(2);return u(i.deleteTags())}),m(17),r()()()}if(e&2){let t=G(3),n=G(8),i=l().$implicit,c=l();o(4),O(c.editedTags),o(2),y("placeholder",i("torrents.tags.placeholder")),p("formControl",c.newTagCtrl)("matAutocomplete",n)("matChipInputFor",t)("matChipInputSeparatorKeyCodes",c.separatorKeysCodes)("value",c.newTagCtrl.value),o(3),O(c.suggestedTags),o(3),y("matTooltip",i("torrents.tags.set_tip")),p("disabled",!c.selectedItems.length),o(),T(" ",i("torrents.tags.set")," "),o(),y("matTooltip",i("torrents.tags.put_tip")),p("disabled",!c.selectedItems.length||!c.editedTags.length&&!c.newTagCtrl.value),o(),T(" ",i("torrents.tags.put")," "),o(),y("matTooltip",i("torrents.tags.delete_tip")),p("disabled",!c.selectedItems.length||!c.editedTags.length&&!c.newTagCtrl.value),o(),T(" ",i("torrents.tags.delete")," ")}}function re(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(2).$implicit;o(),g(t("torrents.classification"))}}function le(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"category"),r(),d(2,re,2,1,"span",7)),e&2){let t=l(2);o(2),S(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function se(e,s){if(e&1){let t=h();a(0,"app-torrent-reprocess",20),x("updated",function(){_(t);let i=l(2);return u(i.updated.emit(null))}),r()}if(e&2){let t=l(2);p("infoHashes",t.selectedInfoHashes)}}function ce(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(2).$implicit;o(),g(t("torrents.delete"))}}function me(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"delete_forever"),r(),d(2,ce,2,1,"span",7)),e&2){let t=l(2);o(2),S(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function pe(e,s){if(e&1){let t=h();a(0,"mat-card")(1,"mat-card-content")(2,"p")(3,"strong"),m(4),r(),f(5,"br"),m(6),r()(),a(7,"mat-card-actions",8)(8,"button",21),x("click",function(){_(t);let i=l(2);return u(i.deleteTorrents())}),a(9,"mat-icon"),m(10,"delete_forever"),r(),m(11),r()()()}if(e&2){let t=l().$implicit,n=l();o(4),g(t("torrents.delete_are_you_sure")),o(2),T("",t("torrents.delete_action_cannot_be_undone"),". "),o(2),p("disabled",!n.selectedItems.length),o(3),T("",t("torrents.delete")," ")}}function de(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(3).$implicit;o(),g(t("torrents.sendto"))}}function _e(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"arrow_top_right"),r(),d(2,de,2,1,"span",7)),e&2){let t=l(3);o(2),S(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ue(e,s){if(e&1){let t=h();a(0,"button",23),x("click",function(){let i=_(t).$implicit,c=l(4);return u(c.sendToTorrents(i))}),a(1,"mat-icon"),m(2,"arrow_top_right"),r(),m(3),r()}if(e&2){let t=s.$implicit,n=l(4);p("disabled",!n.selectedItems.length),o(3),T("",t," ")}}function ge(e,s){if(e&1&&(a(0,"mat-card")(1,"mat-card-actions",8),P(2,ue,4,2,"button",22,$),r()()),e&2){let t=l(3);o(2),O(t.sendToTargets)}}function xe(e,s){e&1&&(a(0,"mat-tab"),d(1,_e,3,1,"ng-template",5)(2,ge,4,0,"ng-template",6),r())}function Ce(e,s){e&1&&(a(0,"mat-icon",24),m(1,"close"),r())}function Te(e,s){e&1&&(a(0,"mat-tab"),d(1,Ce,2,0,"ng-template",5),r())}function he(e,s){if(e&1){let t=h();b(0),a(1,"mat-tab-group",3),x("focusChange",function(i){_(t);let c=l();return u(c.selectTab(i.index==(c.sendToEnabled?6:5)?0:i.index))}),f(2,"mat-tab",4),a(3,"mat-tab"),d(4,Zt,3,1,"ng-template",5)(5,te,9,8,"ng-template",6),r(),a(6,"mat-tab"),d(7,ne,3,1,"ng-template",5)(8,ae,18,15,"ng-template",6),r(),a(9,"mat-tab"),d(10,le,3,1,"ng-template",5)(11,se,1,1,"ng-template",6),r(),a(12,"mat-tab"),d(13,me,3,1,"ng-template",5)(14,pe,12,4,"ng-template",6),r(),d(15,xe,3,0,"mat-tab")(16,Te,2,0,"mat-tab"),r(),v()}if(e&2){let t=l();o(),p("selectedIndex",t.selectedTabIndex)("mat-stretch-tabs",!1),o(),p("aria-labelledby","hidden"),o(13),S(t.sendToEnabled?15:-1),o(),S(t.selectedTabIndex>0?16:-1)}}var sn=(()=>{class e{constructor(){this.graphQLService=w(gt),this.errorsService=w(ut),this.breakpoints=w(N),this.selectedItems$=new Y,this.updated=new V,this.separatorKeysCodes=[13,188],this.selectedTabIndex=0,this.newTagCtrl=new mt(""),this.editedTags=Array(),this.suggestedTags=Array(),this.selectedItems=new Array,this.selectedInfoHashes=new Array,this.sendToEnabled=!1,this.sendToTargets=new Array}ngOnInit(){this.selectedItems$.subscribe(t=>{this.selectedItems=t,this.selectedInfoHashes=t.map(n=>n.infoHash)}),this.newTagCtrl.reset(),this.graphQLService.clentSendToConfig().subscribe({next:t=>{this.sendToTargets=t.sendTo,this.sendToEnabled=t.enabled&&t.sendTo.length>0}})}selectTab(t){this.selectedTabIndex=t}getSelectedMagnetLinks(){return this.selectedItems.map(t=>t.torrent.magnetUri).join(` +`)}getSelectedInfoHashesLines(){return this.selectedInfoHashes.join(` +`)}addTag(t){this.editedTags.includes(t)||this.editedTags.push(t),this.newTagCtrl.reset(),this.updateSuggestedTags()}deleteTag(t){this.editedTags=this.editedTags.filter(n=>n!==t),this.updateSuggestedTags()}renameTag(t,n){this.editedTags=this.editedTags.map(i=>i===t?n:i),this.updateSuggestedTags()}putTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentPutTags({infoHashes:t,tagNames:this.editedTags}).pipe(A(n=>(this.errorsService.addError(`Error putting tags: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}setTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentSetTags({infoHashes:t,tagNames:this.editedTags}).pipe(A(n=>(this.errorsService.addError(`Error setting tags: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}deleteTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentDeleteTags({infoHashes:t,tagNames:this.editedTags}).pipe(A(n=>(this.errorsService.addError(`Error deleting tags: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}updateSuggestedTags(){return this.graphQLService.torrentSuggestTags({input:{prefix:this.newTagCtrl.value,exclusions:this.editedTags}}).pipe(E(t=>{this.suggestedTags.splice(0,this.suggestedTags.length,...t.suggestions.map(n=>n.name))})).subscribe()}deleteTorrents(){let t=this.selectedItems.map(({infoHash:n})=>n);this.graphQLService.torrentDelete({infoHashes:t}).pipe(A(n=>(this.errorsService.addError(`Error deleting torrents: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}sendToTorrents(t){let n=this.selectedItems.map(({infoHash:i})=>i);this.graphQLService.clientSendToTarget({clientID:t,infoHashes:n}).pipe(A(i=>(this.errorsService.addError(`Error sending torrents: ${i.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=B({type:e,selectors:[["app-torrents-bulk-actions"]],inputs:{selectedItems$:"selectedItems$"},outputs:{updated:"updated"},standalone:!0,features:[D],decls:1,vars:0,consts:[["chipGrid",""],["auto","matAutocomplete"],[4,"transloco"],["animationDuration","0",1,"tab-group-bulk-actions",3,"focusChange","selectedIndex","mat-stretch-tabs"],[1,"bulk-tab-placeholder",3,"aria-labelledby"],["mat-tab-label",""],["matTabContent",""],[1,"label"],[1,"button-row"],["mat-stroked-button","",3,"disabled","matTooltip","cdkCopyToClipboard"],["svgIcon","magnet"],["subscriptSizing","dynamic",1,"form-edit-tags"],["aria-label","Enter tags"],[3,"editable","aria-description"],[3,"matChipInputTokenEnd","placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","value"],[3,"optionSelected"],[3,"value"],["mat-stroked-button","","color","primary",3,"click","disabled","matTooltip"],[3,"edited","removed","editable","aria-description"],["matChipRemove",""],[3,"updated","infoHashes"],["mat-stroked-button","","color","warning",3,"click","disabled"],["mat-stroked-button","","color","warn",3,"disabled"],["mat-stroked-button","","color","warn",3,"click","disabled"],[2,"margin-right","0"]],template:function(n,i){n&1&&d(0,he,17,5,"ng-container",2)},dependencies:[Q,xt,Tt,dt,ht,_t,z,ft,R,St,wt,bt,vt,Ct,L,Ht,zt,Rt,Lt,F,st,ct,pt,H,Ft],styles:["mat-tab-group[_ngcontent-%COMP%]{padding-left:10px}.mat-mdc-card[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:10px}p[_ngcontent-%COMP%]{margin-top:0} .mdc-tab[aria-labelledby=hidden]{display:none}"]})}}return e})();var fe=()=>["expandedDetail"];function be(e,s){if(e&1){let t=h();a(0,"th",19)(1,"mat-checkbox",20),x("change",function(){_(t);let i=l(2);return u(i.toggleAllRows())}),r()()}if(e&2){let t=l().$implicit,n=l();o(),p("checked",n.multiSelection.hasValue()&&n.isAllSelected())("indeterminate",n.multiSelection.hasValue()&&!n.isAllSelected())("matTooltip",n.isAllSelected()?t("torrents.deselect_all"):t("torrents.select_all"))}}function ve(e,s){if(e&1){let t=h();a(0,"td",21)(1,"mat-checkbox",22),x("click",function(i){return _(t),u(i.stopPropagation())})("change",function(i){let c=_(t).$implicit,C=l(2);return u(i?C.multiSelection.toggle(C.item(c).infoHash):null)}),r()()}if(e&2){let t=s.$implicit,n=l(2);o(),p("checked",n.multiSelection.isSelected(n.item(t).infoHash))}}function Se(e,s){if(e&1&&(a(0,"th",19),m(1),r()),e&2){let t=l().$implicit;o(),g(t("torrents.summary"))}}function we(e,s){if(e&1&&(a(0,"p",26),m(1),r()),e&2){let t=l().$implicit,n=l(2);o(),g(n.item(t).torrent.name)}}function ye(e,s){if(e&1){let t=h();a(0,"td",23),x("click",function(i){let c=_(t).$implicit;return l(2).toggleSelectedTorrent(c.infoHash),u(i.stopPropagation())}),a(1,"mat-icon",24),m(2),r(),a(3,"span",25),m(4),r(),d(5,we,2,1,"p",26),f(6,"app-torrent-chips",27),r()}if(e&2){let t,n,i=s.$implicit,c=l().$implicit,C=l();o(),p("matTooltip",c("content_types.singular."+((t=C.item(i).contentType)!==null&&t!==void 0?t:"null"))),o(),g((n=(n=C.contentTypeInfo(C.item(i).contentType))==null?null:n.icon)!==null&&n!==void 0?n:"question_mark"),o(2),g(C.item(i).title),o(),S(C.item(i).title!==C.item(i).torrent.name?5:-1),o(),p("torrentContent",i)}}function ke(e,s){if(e&1&&(a(0,"th",19),m(1),r()),e&2){let t=l().$implicit;o(),g(t("torrents.size"))}}function Ee(e,s){if(e&1&&(a(0,"td",21)(1,"span",28),k(2,"filesize"),m(3),k(4,"filesize"),r()()),e&2){let t=s.$implicit,n=l(2);o(),p("matTooltip",et(2,2,n.item(t).torrent.size,10)),o(2),g(M(4,5,n.item(t).torrent.size))}}function Me(e,s){if(e&1&&(a(0,"th",19),m(1),r()),e&2){let t=l().$implicit;o(),g(t("torrents.published"))}}function Ie(e,s){if(e&1&&(a(0,"td",29)(1,"abbr",30),m(2),k(3,"timeAgo"),r()()),e&2){let t=s.$implicit,n=l(2);o(),y("matTooltip",n.item(t).publishedAt),o(),T(" ",M(3,2,n.item(t).publishedAt)," ")}}function Ae(e,s){if(e&1&&(a(0,"th",19)(1,"abbr",24),m(2),r()()),e&2){let t=l().$implicit;o(),p("matTooltip",t("torrents.seeders")+" / "+t("torrents.leechers")),o(),g(t("torrents.s_l"))}}function Be(e,s){if(e&1&&(a(0,"td",21),m(1),r()),e&2){let t,n=s.$implicit,i=l(2);o(),Z(" ",(t=i.item(n).seeders)!==null&&t!==void 0?t:"?"," / ",(t=i.item(n).leechers)!==null&&t!==void 0?t:"?"," ")}}function Ve(e,s){if(e&1&&(a(0,"th",31),m(1),r()),e&2){let t=l().$implicit;o(),T(" ",t("torrents.magnet")," ")}}function $e(e,s){if(e&1&&(a(0,"td",21)(1,"a",32),f(2,"mat-icon",33),r()()),e&2){let t=s.$implicit,n=l(2);o(),y("href",n.item(t).torrent.magnetUri,J)}}function Pe(e,s){if(e&1){let t=h();a(0,"td",21)(1,"div",34),k(2,"async"),a(3,"mat-card",35)(4,"mat-card-content")(5,"app-torrent-content",36),k(6,"async"),x("updated",function(){let i=_(t).$implicit,c=l(2);return u(c.updated.emit(c.item(i).infoHash))})("tabSelected",function(i){let c=_(t).$implicit,C=l(2);return u(C.controller.selectTorrent(c.infoHash,i||null))}),r()()()()()}if(e&2){let t,n,i=s.$implicit,c=l(2);W("colspan",c.displayedColumns.length),o(),p("@detailExpand",((t=M(2,7,c.controller.selection$))==null?null:t.infoHash)==i.infoHash?"expanded":"collapsed"),o(4),p("torrentContent",i)("size",!1)("published",c.breakpoints.sizeAtLeast("Medium"))("peers",c.breakpoints.sizeAtLeast("Medium"))("selectedTab",(n=M(6,9,c.controller.selection$))==null?null:n.tab)}}function Oe(e,s){e&1&&f(0,"tr",37)}function De(e,s){if(e&1&&(f(0,"tr",38),k(1,"async")),e&2){let t,n=s.$implicit,i=l(2);X("summary-row "+((t=M(1,2,i.controller.selection$))==null?null:t.infoHash)==n.infoHash?"expanded":"collapsed")}}function He(e,s){e&1&&f(0,"tr",39)}function ze(e,s){if(e&1&&(b(0),a(1,"div",1),f(2,"mat-progress-bar",2),k(3,"async"),r(),a(4,"table",3),b(5,4),d(6,be,2,3,"th",5)(7,ve,2,1,"td",6),v(),b(8,7),d(9,Se,2,1,"th",5)(10,ye,7,5,"td",8),v(),b(11,9),d(12,ke,2,1,"th",5)(13,Ee,5,7,"td",6),v(),b(14,10),d(15,Me,2,1,"th",5)(16,Ie,4,4,"td",11),v(),b(17,12),d(18,Ae,3,2,"th",5)(19,Be,2,2,"td",6),v(),b(20,13),d(21,Ve,2,1,"th",14)(22,$e,3,1,"td",6),v(),b(23,15),d(24,Pe,7,11,"td",6),v(),d(25,Oe,1,0,"tr",16)(26,De,2,4,"tr",17)(27,He,1,0,"tr",18),r(),v()),e&2){let t=l();o(2),p("mode",M(3,7,t.dataSource.loading$)?"indeterminate":"determinate")("value",0),o(2),p("dataSource",t.dataSource)("multiTemplateDataRows",!0),o(21),p("matHeaderRowDef",t.displayedColumns),o(),p("matRowDefColumns",t.displayedColumns),o(),p("matRowDefColumns",tt(9,fe))}}var En=(()=>{class e{constructor(){this.route=w(it),this.router=w(ot),this.breakpoints=w(N),this.contentTypeInfo=Qt,this.displayedColumns=Re,this.updated=new V,this.items=Array()}ngOnInit(){this.dataSource.items$.subscribe(t=>{this.items=t})}isAllSelected(){return this.items.every(t=>this.multiSelection.isSelected(t.infoHash))}toggleAllRows(){if(this.isAllSelected()){this.multiSelection.clear();return}this.multiSelection.select(...this.items.map(t=>t.infoHash))}toggleSelectedTorrent(t){this.controller.update(n=>q(U({},n),{selectedTorrent:n.selectedTorrent?.infoHash===t?void 0:{infoHash:t,tab:n.selectedTorrent?.tab}}))}item(t){return t}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=B({type:e,selectors:[["app-torrents-table"]],inputs:{dataSource:"dataSource",controller:"controller",multiSelection:"multiSelection",displayedColumns:"displayedColumns"},outputs:{updated:"updated"},standalone:!0,features:[D],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-torrents",3,"dataSource","multiTemplateDataRows"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","summary"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","size"],["matColumnDef","publishedAt"],["class","td-published-at","mat-cell","",4,"matCellDef"],["matColumnDef","peers"],["matColumnDef","magnet"],["mat-header-cell","","style","text-align: center",4,"matHeaderCellDef"],["matColumnDef","expandedDetail"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"class",4,"matRowDef","matRowDefColumns"],["mat-row","","class","expanded-detail-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[3,"change","checked","indeterminate","matTooltip"],["mat-cell",""],[3,"click","change","checked"],["mat-cell","",3,"click"],[3,"matTooltip"],[1,"title"],[1,"original-name"],[3,"torrentContent"],[1,"filesize",3,"matTooltip"],["mat-cell","",1,"td-published-at"],["matTooltipClass","tooltip-published-at",3,"matTooltip"],["mat-header-cell","",2,"text-align","center"],[3,"href"],["svgIcon","magnet"],[1,"item-detail"],[1,"torrent-permalink"],[3,"updated","tabSelected","torrentContent","size","published","peers","selectedTab"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"expanded-detail-row"]],template:function(n,i){n&1&&d(0,ze,28,10,"ng-container",0)},dependencies:[Q,z,R,yt,L,kt,Et,It,$t,At,Mt,Pt,Bt,Vt,Ot,Dt,F,H,nt,Nt,Gt,jt,Kt],styles:[".progress-bar-container[_ngcontent-%COMP%]{height:10px}th.cdk-column-select[_ngcontent-%COMP%], td.cdk-column-select[_ngcontent-%COMP%]{padding-right:0}td.mat-column-summary[_ngcontent-%COMP%]{vertical-align:middle;cursor:pointer;white-space:pre-wrap;padding-top:8px;padding-bottom:8px}td.mat-column-summary[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{line-height:30px;overflow:hidden;margin-right:20px;font-weight:700}td.mat-column-summary[_ngcontent-%COMP%] .original-name[_ngcontent-%COMP%]{margin:2px 0 8px 34px}td.mat-column-summary[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], td.mat-column-summary[_ngcontent-%COMP%] .original-name[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-word;overflow-wrap:break-word}td.mat-column-summary[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{display:inline-block;position:relative;top:6px;margin-right:10px}td.mat-column-summary[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}td.mat-column-summary[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{margin:2px 10px 2px 0}tr.expanded-detail-row[_ngcontent-%COMP%]{height:0}tr.mat-mdc-row.expanded[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0}app-torrent-content[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px}.mat-column-magnet[_ngcontent-%COMP%]{text-align:center}.mat-column-magnet[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}.item-detail[_ngcontent-%COMP%]{width:100%;overflow:hidden}.td-published-at[_ngcontent-%COMP%] abbr[_ngcontent-%COMP%]{cursor:default;text-decoration:underline;text-decoration-style:dotted}.cdk-column-peers[_ngcontent-%COMP%]{white-space:nowrap}span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted;cursor:default}"],data:{animation:[at("detailExpand",[K("collapsed,void",j({height:"0px",minHeight:"0"})),K("expanded",j({height:"*"})),lt("expanded <=> collapsed",rt("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return e})(),Re=["select","summary","size","publishedAt","peers","magnet"],Mn=["select","summary","size","magnet"];export{sn as a,En as b,Re as c,Mn as d}; diff --git a/webui/dist/bitmagnet/browser/chunk-ISQ7AX2Q.js b/webui/dist/bitmagnet/browser/chunk-QACUPSPJ.js similarity index 99% rename from webui/dist/bitmagnet/browser/chunk-ISQ7AX2Q.js rename to webui/dist/bitmagnet/browser/chunk-QACUPSPJ.js index 91523ad2..88e98909 100644 --- a/webui/dist/bitmagnet/browser/chunk-ISQ7AX2Q.js +++ b/webui/dist/bitmagnet/browser/chunk-QACUPSPJ.js @@ -1 +1 @@ -import{b as ye,c as we}from"./chunk-GLXU5TTY.js";import{a as j}from"./chunk-FNMD7JET.js";import{a as Ee}from"./chunk-P4IGP6ZM.js";import{Ba as ce,Ea as dt,G as Kt,Ja as pe,Ka as me,L as Qt,La as de,Ma as _e,Na as ue,O as ct,Oa as fe,Pa as ge,Q as Ut,Qa as xe,Ra as Ce,S as Zt,Sa as he,T as Xt,Ta as Te,U as Wt,Ua as be,V as Q,Va as ve,Wa as Se,X as pt,Z as mt,_a as z,a as V,aa as te,b as R,ba as ee,ca as ne,da as ie,ea as oe,fa as re,ga as ae,h as lt,ha as le,j as Ht,k as qt,l as Yt,m as Gt,pa as se,s as Jt,t as st,wa as L}from"./chunk-HZYDZMJ4.js";import{l as Lt}from"./chunk-CMNWCZJM.js";import{$b as c,B as X,Cb as _,Ea as v,Fa as S,Hb as h,Mb as u,N as K,Na as q,Nb as tt,Ob as O,Pb as B,Q as ot,Qb as s,Rb as a,Sb as M,Tb as y,Ub as E,Wb as k,Zb as w,a as g,ad as Vt,b as x,bd as at,ha as W,hb as Rt,jc as Tt,jd as jt,kb as o,kc as l,l as I,lc as f,mc as m,nc as zt,o as J,pc as P,qa as b,rc as bt,sc as Nt,ua as D,vc as $,wc as A,xa as At,xc as rt}from"./chunk-Z3WUIYN5.js";var Ue=(t,n)=>n.id;function Ze(t,n){if(t&1&&(s(0,"mat-chip",1)(1,"mat-icon",2),l(2,"sell"),a(),l(3),a()),t&2){let e=n.$implicit;o(3),m(" ",e," ")}}function Xe(t,n){if(t&1&&l(0),t&2){let e=n.$implicit,i=n.$index,r=c(),p=c().$implicit;m(" ",p("languages."+e.id)+(i{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-chips"]],inputs:{torrentContent:"torrentContent"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[1,"chip-primary"],["matChipAvatar",""],["matChipAvatar","","svgIcon","binary"]],template:function(i,r){i&1&&_(0,an,10,6,"ng-container",0)},dependencies:[z,ne,te,oe,L,R],styles:["mat-chip-set[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;left:4px}"]})}}return t})();var Et=["files","tags","reprocess","delete"],ln=(t,n)=>t&&n?t.infoHash===n.infoHash&&t.tab===n.tab:t===n,Ie=t=>({input:{queryString:t.queryString,limit:t.limit,page:t.page,totalCount:!0,hasNextPage:!0,orderBy:[t.orderBy],facets:{contentType:{aggregate:!0,filter:t.contentType?[t.contentType==="null"?null:t.contentType]:void 0},genre:t.facets.genre.active?{aggregate:!0,filter:t.facets.genre.filter}:void 0,language:t.facets.language.active?{aggregate:t.facets.language.active,filter:t.facets.language.filter}:void 0,torrentFileType:t.facets.fileType.active?{aggregate:!0,filter:t.facets.fileType.filter}:void 0,torrentSource:t.facets.torrentSource.active?{aggregate:!0,filter:t.facets.torrentSource.filter}:void 0,torrentTag:t.facets.torrentTag.active?{aggregate:!0,filter:t.facets.torrentTag.filter}:void 0,videoResolution:t.facets.videoResolution.active?{aggregate:!0,filter:t.facets.videoResolution.filter}:void 0,videoSource:t.facets.videoSource.active?{aggregate:!0,filter:t.facets.videoSource.filter}:void 0}}}),St={active:!1},Me=class{constructor(n){this.controlsSubject=new I(n),this.controls$=this.controlsSubject.asObservable(),this.paramsSubject=new I(Ie(n)),this.params$=this.paramsSubject.asObservable(),this.selectionSubject=new I(n.selectedTorrent),this.selection$=this.selectionSubject.asObservable(),this.controls$.pipe(ot(100)).subscribe(e=>{let i=Ie(e);JSON.stringify(this.paramsSubject.getValue())!==JSON.stringify(i)&&this.paramsSubject.next(i),ln(this.selectionSubject.getValue(),e.selectedTorrent)||this.selectionSubject.next(e.selectedTorrent)})}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}selectTorrent(n,e){this.update(i=>(e===void 0?e=i.selectedTorrent?.tab:e===null&&(e=void 0),x(g({},i),{selectedTorrent:{infoHash:n,tab:e}})))}selectContentType(n){this.update(e=>x(g({},e),{contentType:n,page:1,facets:x(g({},e.facets),{genre:yt(n,$e.contentTypes)?e.facets.genre:St,videoResolution:yt(n,Fe.contentTypes)?e.facets.videoResolution:St,videoSource:yt(n,De.contentTypes)?e.facets.videoSource:St})}))}activateFacet(n){this.update(e=>x(g({},e),{facets:n.patchInput(e.facets,x(g({},n.extractInput(e.facets)),{active:!0}))}))}deactivateFacet(n){this.update(e=>{let i=n.extractInput(e.facets);return x(g({},e),{page:i.filter?1:e.page,facets:n.patchInput(e.facets,x(g({},i),{active:!1,filter:void 0}))})})}activateFilter(n,e){this.update(i=>{let r=n.extractInput(i.facets);return x(g({},i),{page:1,facets:n.patchInput(i.facets,x(g({},r),{filter:Array.from(new Set([...r.filter??[],e])).sort()}))})})}deactivateFilter(n,e){this.update(i=>{let r=n.extractInput(i.facets),p=r.filter?.filter(d=>d!==e);return x(g({},i),{page:1,facets:n.patchInput(i.facets,x(g({},r),{filter:p?.length?p:void 0}))})})}setQueryString(n){n=n||void 0,this.update(e=>{let i=e.orderBy;return n?n!==e.queryString&&(i=_n):i.field==="relevance"&&(i=ke),x(g({},e),{queryString:n,orderBy:i,page:n===e.queryString?e.page:1})})}selectOrderBy(n){let e={field:n,descending:dn.find(i=>i.field===n)?.descending??!1};this.update(i=>x(g({},i),{orderBy:e.field!=="relevance"||i.queryString?e:ke,page:1}))}toggleOrderByDirection(){this.update(n=>x(g({},n),{orderBy:x(g({},n.orderBy),{descending:!n.orderBy.descending}),page:1}))}handlePageEvent(n){this.update(e=>x(g({},e),{limit:n.pageSize,page:n.page}))}},sn={key:"torrent_source",icon:"mediation",allowNull:!1,extractInput:t=>t.torrentSource,patchInput:(t,n)=>x(g({},t),{torrentSource:n}),extractAggregations:t=>t.torrentSource??[],resolveLabel:t=>t.label},cn={key:"torrent_tag",icon:"sell",allowNull:!1,extractInput:t=>t.torrentTag,patchInput:(t,n)=>x(g({},t),{torrentTag:n}),extractAggregations:t=>t.torrentTag??[],resolveLabel:t=>t.value},pn={key:"file_type",icon:"file_present",allowNull:!1,extractInput:t=>t.fileType,patchInput:(t,n)=>x(g({},t),{fileType:n}),extractAggregations:t=>t.torrentFileType??[],resolveLabel:(t,n)=>n.translate(`file_types.${t.value}`)},mn={key:"language",icon:"translate",allowNull:!1,extractInput:t=>t.language,patchInput:(t,n)=>x(g({},t),{language:n}),extractAggregations:t=>t.language??[],resolveLabel:(t,n)=>n.translate(`languages.${t.value}`)},$e={key:"genre",icon:"theater_comedy",allowNull:!1,contentTypes:["movie","tv_show"],extractInput:t=>t.genre,patchInput:(t,n)=>x(g({},t),{genre:n}),extractAggregations:t=>t.genre??[],resolveLabel:t=>t.label},Fe={key:"video_resolution",icon:"aspect_ratio",allowNull:!0,contentTypes:["movie","tv_show","xxx"],extractInput:t=>t.videoResolution,patchInput:(t,n)=>x(g({},t),{videoResolution:n}),extractAggregations:t=>(t.videoResolution??[]).map(n=>x(g({},n),{value:n.value??null})),resolveLabel:t=>t.value?.slice(1)??"?"},De={key:"video_source",icon:"album",allowNull:!0,contentTypes:["movie","tv_show","xxx"],extractInput:t=>t.videoSource,patchInput:(t,n)=>x(g({},t),{videoSource:n}),extractAggregations:t=>(t.videoSource??[]).map(n=>x(g({},n),{value:n.value??null})),resolveLabel:t=>t.value??"?"},Hi=[sn,cn,pn,mn,$e,Fe,De],dn=[{field:"relevance",descending:!0},{field:"published_at",descending:!0},{field:"updated_at",descending:!0},{field:"size",descending:!0},{field:"files_count",descending:!0},{field:"seeders",descending:!0},{field:"leechers",descending:!0},{field:"name",descending:!1}],ke={field:"published_at",descending:!0},_n={field:"relevance",descending:!0},yt=(t,n)=>!n||t&&n.includes(t),qi=t=>t.orderBy.descending?t.orderBy.field===(t.queryString?"relevance":"published_at"):!1;var un="array",fn="bit",Oe="bits",gn="byte",Be="bytes",U="",xn="exponent",Cn="function",Pe="iec",hn="Invalid number",Tn="Invalid rounding method",wt="jedec",bn="object",Ae=".",vn="round",Sn="s",yn="si",En="kbit",wn="kB",In=" ",Mn="string",kn="0",It={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function Re(t,{bits:n=!1,pad:e=!1,base:i=-1,round:r=2,locale:p=U,localeOptions:d={},separator:Y=U,spacer:F=In,symbols:qe={},standard:N=U,output:Ct=Mn,fullform:Ye=!1,fullforms:Mt=[],exponent:kt=-1,roundingMethod:Ge=vn,precision:nt=0}={}){let T=kt,G=Number(t),C=[],H=0,ht=U;N===yn?(i=10,N=wt):N===Pe||N===wt?i=2:i===2?N=Pe:(i=10,N=wt);let it=i===10?1e3:1024,Je=Ye===!0,$t=G<0,Ft=Math[Ge];if(typeof t!="bigint"&&isNaN(t))throw new TypeError(hn);if(typeof Ft!==Cn)throw new TypeError(Tn);if($t&&(G=-G),(T===-1||isNaN(T))&&(T=Math.floor(Math.log(G)/Math.log(it)),T<0&&(T=0)),T>8&&(nt>0&&(nt+=8-T),T=8),Ct===xn)return T;if(G===0)C[0]=0,ht=C[1]=It.symbol[N][n?Oe:Be][T];else{H=G/(i===2?Math.pow(2,T*10):Math.pow(1e3,T)),n&&(H=H*8,H>=it&&T<8&&(H=H/it,T++));let Z=Math.pow(10,T>0?r:0);C[0]=Ft(H*Z)/Z,C[0]===it&&T<8&&kt===-1&&(C[0]=1,T++),ht=C[1]=i===10&&T===1?n?En:wn:It.symbol[N][n?Oe:Be][T]}if($t&&(C[0]=-C[0]),nt>0&&(C[0]=C[0].toPrecision(nt)),C[1]=qe[C[1]]||C[1],p===!0?C[0]=C[0].toLocaleString():p.length>0?C[0]=C[0].toLocaleString(p,d):Y.length>0&&(C[0]=C[0].toString().replace(Ae,Y)),e&&r>0){let Z=C[0].toString(),Dt=Y||(Z.match(/(\D)/g)||[]).pop()||Ae,Ot=Z.toString().split(Dt),Bt=Ot[1]||U,Pt=Bt.length,Ke=r-Pt;C[0]=`${Ot[0]}${Dt}${Bt.padEnd(Pt+Ke,kn)}`}return Je&&(C[1]=Mt[T]?Mt[T]:It.fullform[N][T]+(n?fn:gn)+(C[0]===1?U:Sn)),Ct===un?C:Ct===bn?{value:C[0],symbol:C[1],exponent:T,unit:ht}:C.join(F)}var ut=(()=>{class t{constructor(){this.transloco=b(V)}transform(e,i=2){return Re(e,{locale:this.transloco.getActiveLang(),base:i})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=At({name:"filesize",type:t,pure:!1,standalone:!0})}}return t})();var Fn={items:[],hasNextPage:!1,totalCount:0,aggregations:{queue:[],status:[]}},ft=class{constructor(n,e,i){this.apollo=n,this.errorsService=e,this.currentRequest=new I(0),this.loadingSubject=new I(!1),this.loading$=this.loadingSubject.asObservable(),this.result=Fn,this.resultSubject=new I(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(X(r=>r.items)),i.subscribe(r=>{this.loadResult(r)}),this.resultSubject.subscribe(r=>{this.result=r})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:Qt,variables:n,fetchPolicy:"no-cache"}).pipe(X(r=>r.data.torrent.files)).pipe(K(r=>(this.errorsService.addError(`Error loading item results: ${r.message}`),J)));this.currentSubscription=i.subscribe(r=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(r))})}},gt=class{constructor(n){this.torrent=n,this.loading$=new I(!1).asObservable(),this.file={infoHash:n.infoHash,index:0,path:n.name,size:n.size,fileType:n.fileType,extension:n.extension,createdAt:n.createdAt,updatedAt:n.updatedAt},this.result={hasNextPage:!1,items:[this.file],totalCount:1},this.result$=new I(this.result).asObservable(),this.items$=new I([this.file]).asObservable()}connect({}){return this.items$}disconnect(){}};var xt=class{constructor(n){let e={infoHash:n,limit:10,page:1};this.controlsSubject=new I(e),this.controls$=this.controlsSubject.asObservable(),this.controls$.pipe(ot(100)).subscribe(i=>{let r=this.variablesSubject.getValue(),p=ze(i);JSON.stringify(r)!==JSON.stringify(p)&&this.variablesSubject.next(p)}),this.variablesSubject=new I(ze(e)),this.variables$=this.variablesSubject.asObservable()}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}handlePageEvent(n){this.update(e=>x(g({},e),{limit:n.pageSize,page:n.page}))}},ze=t=>({input:{infoHashes:[t.infoHash],limit:t.limit,page:t.page,totalCount:!0,hasNextPage:!1}});var Bn=(t,n)=>({x:t,y:n});function Pn(t,n){if(t&1&&(s(0,"p"),l(1),$(2,"number"),$(3,"number"),a()),t&2){let e=c().$implicit,i=c();o(),m(" ",e("torrents.showing_x_of_y_files",Nt(5,Bn,A(2,1,i.dataSource.result.totalCount),i.torrent.filesCount==null?"?":A(3,3,i.torrent.filesCount)))," ")}}function An(t,n){if(t&1&&(s(0,"th",13),l(1),a()),t&2){let e=c().$implicit;o(),f(e("torrents.file_index"))}}function Rn(t,n){if(t&1&&(s(0,"td",14),l(1),a()),t&2){let e=n.$implicit,i=c(2);o(),m(" ",i.item(e).index," ")}}function zn(t,n){if(t&1&&(s(0,"th",13),l(1),a()),t&2){let e=c().$implicit;o(),f(e("torrents.file_path"))}}function Nn(t,n){if(t&1&&(s(0,"td",14),l(1),a()),t&2){let e=n.$implicit,i=c(2);o(),m(" ",i.item(e).path," ")}}function Vn(t,n){if(t&1&&(s(0,"th",13),l(1),a()),t&2){let e=c().$implicit;o(),f(e("torrents.file_type"))}}function jn(t,n){if(t&1&&(s(0,"td",14),l(1),a()),t&2){let e,i=n.$implicit,r=c().$implicit,p=c();o(),m(" ",r("file_types."+((e=p.item(i).fileType)!==null&&e!==void 0?e:"unknown"))," ")}}function Ln(t,n){if(t&1&&(s(0,"th",13),l(1),a()),t&2){let e=c().$implicit;o(),f(e("torrents.file_size"))}}function Hn(t,n){if(t&1&&(s(0,"td",14)(1,"span",15),$(2,"filesize"),l(3),$(4,"filesize"),a()()),t&2){let e=n.$implicit,i=c(2);o(),h("matTooltip",rt(2,2,i.item(e).size,10)),o(2),f(A(4,5,i.item(e).size))}}function qn(t,n){t&1&&M(0,"tr",16)}function Yn(t,n){t&1&&M(0,"tr",17)}function Gn(t,n){if(t&1){let e=k();s(0,"app-paginator",18),w("paging",function(r){v(e);let p=c(2);return S(p.controller.handlePageEvent(r))}),a()}if(t&2){let e=c(2);h("page",e.controls.page)("pageSize",e.controls.limit)("pageLength",e.dataSource.result.items.length)("totalLength",e.dataSource.result.totalCount)("totalIsEstimate",!1)("showLastPage",!0)}}function Jn(t,n){if(t&1&&(y(0),s(1,"div",1),M(2,"mat-progress-bar",2),$(3,"async"),a(),_(4,Pn,4,8,"p"),s(5,"table",3),y(6,4),_(7,An,2,1,"th",5)(8,Rn,2,1,"td",6),E(),y(9,7),_(10,zn,2,1,"th",5)(11,Nn,2,1,"td",6),E(),y(12,8),_(13,Vn,2,1,"th",5)(14,jn,2,1,"td",6),E(),y(15,9),_(16,Ln,2,1,"th",5)(17,Hn,5,7,"td",6),E(),_(18,qn,1,0,"tr",10)(19,Yn,1,0,"tr",11),a(),_(20,Gn,1,6,"app-paginator",12),E()),t&2){let e=c();o(2),h("mode",A(3,8,e.dataSource.loading$)?"indeterminate":"determinate")("value",0),o(2),u(e.torrent.filesStatus==="over_threshold"?4:-1),o(),h("dataSource",e.dataSource)("multiTemplateDataRows",!0),o(13),h("matHeaderRowDef",e.displayedColumns),o(),h("matRowDefColumns",e.displayedColumns),o(),u(e.dataSource.result.totalCount>10?20:-1)}}var Ne=(()=>{class t{constructor(){this.apollo=b(lt),this.errorsService=b(j),this.transloco=b(V),this.displayedColumns=["index","path","type","size"]}ngOnInit(){this.controller=new xt(this.torrent.infoHash),this.dataSource=this.torrent.filesStatus==="single"?new gt(this.torrent):new ft(this.apollo,this.errorsService,this.controller.variables$),this.controller.controls$.subscribe(e=>{this.controls=e})}item(e){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-files-table"]],inputs:{torrent:"torrent"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-results",3,"dataSource","multiTemplateDataRows"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","path"],["matColumnDef","type"],["matColumnDef","size"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"],["mat-header-cell",""],["mat-cell",""],[1,"filesize",3,"matTooltip"],["mat-header-row",""],["mat-row",""],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"]],template:function(i,r){i&1&&_(0,Jn,21,10,"ng-container",0)},dependencies:[z,ce,pe,de,ge,_e,me,xe,ue,fe,Ce,he,dt,R,Vt,at,ut,ye],styles:["span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted}"]})}}return t})();var Kn=t=>t.toLowerCase().replaceAll(/[^a-z0-9\-]/g,"-").replace(/^-+/,"").replaceAll(/-+/g,"-"),Ve=Kn;function Qn(t,n){if(t&1){let e=k();s(0,"mat-chip-row",8),w("edited",function(r){let p=v(e).$implicit,d=c(2);return S(d.renameTag(p,r.value))})("removed",function(){let r=v(e).$implicit,p=c(2);return S(p.deleteTag(r))}),l(1),s(2,"mat-icon",9),l(3,"cancel"),a()()}if(t&2){let e=n.$implicit;h("editable",!0),o(),m(" ",e," ")}}function Un(t,n){if(t&1&&(s(0,"mat-option",7),l(1),a()),t&2){let e=n.$implicit;h("value",e),o(),f(e)}}function Zn(t,n){if(t&1){let e=k();y(0),s(1,"mat-card")(2,"mat-form-field",3)(3,"mat-chip-grid",null,0),O(5,Qn,4,2,"mat-chip-row",4,tt),a(),s(7,"input",5),w("matChipInputTokenEnd",function(r){v(e);let p=c();return S(r.value&&p.addTag(r.value))}),a(),s(8,"mat-autocomplete",6,1),w("optionSelected",function(r){v(e);let p=c();return S(p.addTag(r.option.viewValue))}),O(10,Un,2,2,"mat-option",7,tt),a()()(),E()}if(t&2){let e=n.$implicit,i=Tt(4),r=Tt(9),p=c();o(5),B(p.editedTags),o(2),h("placeholder",e("torrents.new_tag"))("formControl",p.newTagCtrl)("matAutocomplete",r)("matChipInputFor",i)("matChipInputSeparatorKeyCodes",p.separatorKeysCodes)("value",p.newTagCtrl.value),o(3),B(p.suggestedTags)}}var Le=(()=>{class t{constructor(){this.newTagCtrl=new Yt(""),this.editedTags=Array(),this.suggestedTags=Array(),this.transloco=b(V),this.grapql=b(ct),this.errors=b(j),this.separatorKeysCodes=[13,188],this.updated=new q}ngOnInit(){this.newTagCtrl.valueChanges.subscribe(e=>(e&&(e=Ve(e),this.newTagCtrl.setValue(e,{emitEvent:!1})),this.grapql.torrentSuggestTags({input:{prefix:e,exclusions:this.torrentContent.torrent.tagNames}}).pipe(W(i=>{this.suggestedTags.splice(0,this.suggestedTags.length,...i.suggestions.map(r=>r.name))})).subscribe())),this.editedTags=this.torrentContent.torrent.tagNames,this.newTagCtrl.reset()}addTag(e){this.editTags(i=>[...i,e]),this.saveTags()}renameTag(e,i){this.editTags(r=>r.map(p=>p===e?i:p)),this.saveTags()}deleteTag(e){this.editTags(i=>i.filter(r=>r!==e)),this.saveTags()}editTags(e){this.editedTags=e(this.editedTags),this.newTagCtrl.reset()}saveTags(){this.grapql.torrentSetTags({infoHashes:[this.torrentContent.infoHash],tagNames:this.editedTags}).pipe(K(e=>(this.errors.addError(`Error saving tags: ${e.message}`),J))).pipe(W(()=>{this.updated.emit(null)})).subscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-edit-tags"]],inputs:{torrentContent:"torrentContent"},outputs:{updated:"updated"},standalone:!0,features:[P],decls:1,vars:0,consts:[["chipGrid",""],["auto","matAutocomplete"],[4,"transloco"],["subscriptSizing","dynamic",1,"form-edit-tags"],[3,"editable"],["autocapitalize","none",3,"matChipInputTokenEnd","placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","value"],[3,"optionSelected"],[3,"value"],[3,"edited","removed","editable"],["matChipRemove",""]],template:function(i,r){i&1&&_(0,Zn,12,6,"ng-container",2)},dependencies:[z,Xt,Jt,Wt,Q,re,ae,ee,ie,Zt,L,Ht,qt,Gt,R],styles:[".form-edit-tags[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper{display:none}"]})}}return t})();function Wn(t,n){if(t&1){let e=k();y(0),s(1,"mat-card")(2,"mat-card-content")(3,"mat-checkbox",1),w("change",function(r){v(e);let p=c();return p.localSearchDisabled=!r.checked,S(p.apisDisabled=r.checked?p.apisDisabled:!0)}),l(4),a(),s(5,"mat-checkbox",1),w("change",function(r){v(e);let p=c();return p.apisDisabled=!r.checked,S(p.localSearchDisabled=r.checked?!1:p.localSearchDisabled)}),l(6),a(),s(7,"mat-checkbox",1),w("change",function(r){v(e);let p=c();return S(p.classifierRematch=r.checked)}),l(8),a()(),s(9,"mat-card-actions",2)(10,"button",3),w("click",function(){v(e);let r=c();return S(r.reprocess())}),s(11,"mat-icon"),l(12,"cycle"),a(),l(13),a()()(),E()}if(t&2){let e=n.$implicit,i=c();o(3),h("checked",!i.localSearchDisabled),o(),f(e("torrents.reprocess.match_content_by_local_search")),o(),h("checked",!i.apisDisabled),o(),f(e("torrents.reprocess.match_content_by_external_api_search")),o(),h("checked",i.classifierRematch),o(),f(e("torrents.reprocess.force_rematch")),o(2),h("disabled",!i.infoHashes.length),o(3),m("",e("torrents.reprocess.reprocess")," ")}}var He=(()=>{class t{constructor(){this.apollo=b(lt),this.errors=b(j),this.classifierRematch=!1,this.apisDisabled=!0,this.localSearchDisabled=!0,this.updated=new q}reprocess(){this.apollo.mutate({mutation:Kt,variables:{input:{infoHashes:this.infoHashes,classifierRematch:this.classifierRematch,apisDisabled:this.apisDisabled,localSearchDisabled:this.localSearchDisabled}}}).pipe(X(()=>{this.updated.emit(null)})).subscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-reprocess"]],inputs:{infoHashes:"infoHashes"},outputs:{updated:"updated"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[3,"change","checked"],[1,"button-row"],["mat-stroked-button","",3,"click","disabled"]],template:function(i,r){i&1&&_(0,Wn,14,8,"ng-container",0)},dependencies:[z,st,Q,mt,pt,le,L,R],styles:[".mat-mdc-card[_ngcontent-%COMP%]{margin-bottom:10px}mat-checkbox[_ngcontent-%COMP%]{margin-right:20px}"]})}}return t})();var ti=(t,n)=>n.key,ei=(t,n)=>n.id,ni=(t,n)=>n.metadataSource.key,ii=t=>({count:t}),oi=t=>[t];function ri(t,n){if(t&1&&M(0,"img",1),t&2){let e=c().$implicit,i=c();h("ngSrc","https://image.tmdb.org/t/p/w300/"+n)("alt",e("torrents.poster"))("width",i.breakpoints.sizeAtLeast("Medium")?300:150)("height",i.breakpoints.sizeAtLeast("Medium")?450:225)}}function ai(t,n){if(t&1&&(s(0,"h2")(1,"a",12),l(2),a()()),t&2){let e=c().$implicit,i=c();o(),h("routerLink","permalink/"+i.torrentContent.infoHash)("matTooltip",e("torrents.permalink")),o(),f(i.torrentContent.torrent.name)}}function li(t,n){if(t&1&&(s(0,"p",2)(1,"strong"),l(2),a(),l(3,"\xA0 "),s(4,"span",13),$(5,"filesize"),l(6),$(7,"filesize"),a()()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.size"),":"),o(2),h("matTooltip",rt(5,3,i.torrentContent.torrent.size,10)),o(2),f(A(7,6,i.torrentContent.torrent.size))}}function si(t,n){if(t&1&&(s(0,"p",3)(1,"strong"),l(2),a(),l(3),$(4,"timeAgo"),a()),t&2){let e=c().$implicit,i=c();o(2),f(e("torrents.published")),o(),m(" ",A(4,2,i.torrentContent.publishedAt)," ")}}function ci(t,n){if(t&1&&(s(0,"p",4)(1,"strong"),l(2),a(),l(3),a()),t&2){let e,i=c().$implicit,r=c();o(2),m("",i("torrents.s_l"),":"),o(),zt(" ",(e=r.torrentContent.seeders)!==null&&e!==void 0?e:"?"," / ",(e=r.torrentContent.leechers)!==null&&e!==void 0?e:"?"," ")}}function pi(t,n){if(t&1&&(s(0,"span"),l(1),a()),t&2){let e=n.$implicit,i=n.$index;o(),f((i>0?", ":"")+e.name)}}function mi(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3),a()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.title"),":"),o(),m(" ",i.torrentContent.content.title," ")}}function di(t,n){if(t&1&&l(0),t&2){let e=n.$implicit,i=n.$index,r=c(3);m(" ",(i>0?", ":"")+e.name+(e.id===(r.torrentContent.content==null||r.torrentContent.content.originalLanguage==null?null:r.torrentContent.content.originalLanguage.id)?" (original)":"")," ")}}function _i(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3,"\xA0 "),O(4,di,1,1,null,null,ei),a()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.languages"),":"),o(2),B(i.torrentContent.languages)}}function ui(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3),a()),t&2){let e,i=c().$implicit,r=c();o(2),m("",i("torrents.original_release_date"),":"),o(),m(" ",(e=r.torrentContent.content==null?null:r.torrentContent.content.releaseDate)!==null&&e!==void 0?e:r.torrentContent.content==null?null:r.torrentContent.content.releaseYear," ")}}function fi(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3),a()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.episodes"),":"),o(),m(" ",i.torrentContent.episodes.label," ")}}function gi(t,n){if(t&1&&(s(0,"p"),l(1),a()),t&2){let e=c(2);o(),m(" ",e.torrentContent.content.overview," ")}}function xi(t,n){if(t&1&&(y(0),s(1,"p")(2,"strong"),l(3),a(),l(4),a(),E()),t&2){let e=c().$implicit;o(3),m("",e("torrents.genres"),":"),o(),m(" ",n.join(", ")," ")}}function Ci(t,n){if(t&1&&(y(0),l(1),$(2,"number"),E()),t&2){let e=c(2).$implicit,i=c();o(),m("(",e("torrents.votes_count_n",bt(3,ii,A(2,1,i.torrentContent.content==null?null:i.torrentContent.content.voteCount))),")")}}function hi(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3),_(4,Ci,3,5,"ng-container"),a()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.rating"),":"),o(),m(" ",i.torrentContent.content==null?null:i.torrentContent.content.voteAverage," / 10 "),o(),u((i.torrentContent.content==null?null:i.torrentContent.content.voteCount)!=null?4:-1)}}function Ti(t,n){if(t&1&&(l(0),s(1,"a",14),l(2),a()),t&2){let e=n.$implicit,i=n.$index;m(" ",i>0?", ":"",""),o(),h("href",e.url,Rt),o(),f(e.metadataSource.name)}}function bi(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3,"\xA0 "),O(4,Ti,3,3,"a",14,ni),a()),t&2){let e=c().$implicit;o(2),m("",e("torrents.external_links"),":"),o(2),B(n)}}function vi(t,n){if(t&1&&(s(0,"span",15),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.files"))}}function Si(t,n){t&1&&(s(0,"span",16),l(1),$(2,"number"),a()),t&2&&(o(),m("(",A(2,1,n),")"))}function yi(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"file_present"),a(),_(2,vi,2,1,"span",15)(3,Si,3,3,"span",16)),t&2){let e,i=c(2);o(2),u(i.breakpoints.sizeAtLeast("Medium")?2:-1),o(),u((e=i.filesCount())?3:-1,e)}}function Ei(t,n){if(t&1&&(s(0,"p"),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.files_no_info"))}}function wi(t,n){if(t&1&&(s(0,"mat-card",17),_(1,Ei,2,1,"p"),M(2,"app-torrent-files-table",18),a()),t&2){let e=c(2);o(),u(e.torrentContent.torrent.filesStatus==="no_info"?1:-1),o(),h("torrent",e.torrentContent.torrent)}}function Ii(t,n){if(t&1&&(s(0,"span",15),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.edit_tags"))}}function Mi(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"sell"),a(),_(2,Ii,2,1,"span",15)),t&2){let e=c(2);o(2),u(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ki(t,n){if(t&1){let e=k();s(0,"app-torrent-edit-tags",19),w("updated",function(){v(e);let r=c(2);return S(r.updated.emit(null))}),a()}if(t&2){let e=c(2);h("torrentContent",e.torrentContent)}}function $i(t,n){if(t&1&&(s(0,"span",15),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.classification"))}}function Fi(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"category"),a(),_(2,$i,2,1,"span",15)),t&2){let e=c(2);o(2),u(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function Di(t,n){if(t&1){let e=k();s(0,"app-torrent-reprocess",20),w("updated",function(){v(e);let r=c(2);return S(r.updated.emit(null))}),a()}if(t&2){let e=c(2);h("infoHashes",bt(1,oi,e.torrentContent.infoHash))}}function Oi(t,n){if(t&1&&(s(0,"span",15),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.delete"))}}function Bi(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"delete_forever"),a(),_(2,Oi,2,1,"span",15)),t&2){let e=c(2);o(2),u(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function Pi(t,n){if(t&1){let e=k();s(0,"mat-card")(1,"mat-card-content",21)(2,"p")(3,"strong"),l(4),a(),M(5,"br"),l(6),a()(),s(7,"mat-card-actions",22)(8,"button",23),w("click",function(){v(e);let r=c(2);return S(r.delete())}),s(9,"mat-icon"),l(10,"delete_forever"),a(),l(11),a()()()}if(t&2){let e=c().$implicit;o(4),f(e("torrents.delete_are_you_sure")),o(2),m("",e("torrents.delete_action_cannot_be_undone")," "),o(5),m("",e("torrents.delete")," ")}}function Ai(t,n){t&1&&(s(0,"mat-icon",24),l(1,"close"),a())}function Ri(t,n){t&1&&(s(0,"mat-tab"),_(1,Ai,2,0,"ng-template",10),a())}function zi(t,n){if(t&1){let e=k();y(0),_(1,ri,1,4,"img",1)(2,ai,3,3,"h2")(3,li,8,8,"p",2)(4,si,5,4,"p",3)(5,ci,4,3,"p",4),s(6,"p",5)(7,"strong"),l(8),a(),s(9,"span",6),l(10),a()(),s(11,"p")(12,"strong"),l(13),a(),l(14,"\xA0 "),O(15,pi,2,1,"span",null,ti),a(),_(17,mi,4,2,"p")(18,_i,6,1,"p")(19,ui,4,2,"p")(20,fi,4,2,"p")(21,gi,2,1,"p")(22,xi,5,2,"ng-container")(23,hi,5,3,"p")(24,bi,6,1,"p"),M(25,"mat-divider",7),s(26,"mat-tab-group",8),w("focusChange",function(r){v(e);let p=c();return S(p.selectTabIndex(r.index))}),M(27,"mat-tab",9),s(28,"mat-tab"),_(29,yi,4,2,"ng-template",10)(30,wi,3,2,"ng-template",11),a(),s(31,"mat-tab"),_(32,Mi,3,1,"ng-template",10)(33,ki,1,1,"ng-template",11),a(),s(34,"mat-tab"),_(35,Fi,3,1,"ng-template",10)(36,Di,1,3,"ng-template",11),a(),s(37,"mat-tab"),_(38,Bi,3,1,"ng-template",10)(39,Pi,12,3,"ng-template",11),a(),_(40,Ri,2,0,"mat-tab"),a(),E()}if(t&2){let e,i,r,p=n.$implicit,d=c();o(),u((e=d.getAttribute("poster_path","tmdb"))?1:-1,e),o(),u(d.heading?2:-1),o(),u(d.size?3:-1),o(),u(d.published?4:-1),o(),u(d.peers?5:-1),o(3),m("",p("torrents.info_hash"),":"),o(),h("matTooltip",p("torrents.copy_to_clipboard"))("cdkCopyToClipboard",d.torrentContent.infoHash),o(),f(d.torrentContent.infoHash),o(3),m("",p("torrents.source"),":"),o(2),B(d.torrentContent.torrent.sources),o(2),u(d.torrentContent.content?17:-1),o(),u(d.torrentContent.languages!=null&&d.torrentContent.languages.length?18:-1),o(),u(d.torrentContent.content!=null&&d.torrentContent.content.releaseYear?19:-1),o(),u(d.torrentContent.episodes?20:-1),o(),u(d.torrentContent.content!=null&&d.torrentContent.content.overview?21:-1),o(),u((i=d.getCollections("genre"))?22:-1,i),o(),u((d.torrentContent.content==null?null:d.torrentContent.content.voteAverage)!=null?23:-1),o(),u((r=d.torrentContent.content==null?null:d.torrentContent.content.externalLinks)?24:-1,r),o(2),h("selectedIndex",d.selectedTabIndex)("mat-stretch-tabs",!1),o(14),u(d.selectedTabIndex>0?40:-1)}}var Cr=(()=>{class t{constructor(){this.breakpoints=b(Ee),this.heading=!0,this.size=!0,this.peers=!0,this.published=!0,this.updated=new q,this.tabSelected=new q,this.selectedTab=void 0,this.transloco=b(V),this.grapql=b(ct),this.errors=b(j)}get selectedTabIndex(){return Et.indexOf(this.selectedTab)+1}selectTabIndex(e){this.selectedTab=Et[e-1],this.tabSelected.emit(this.selectedTab)}delete(){this.grapql.torrentDelete({infoHashes:[this.torrentContent.infoHash]}).pipe(K(e=>(this.errors.addError(`Error deleting torrent: ${e.message}`),J))).pipe(W(()=>{this.updated.emit(null)})).subscribe()}getAttribute(e,i){return this.torrentContent.content?.attributes?.find(r=>r.key===e&&(i===void 0||r.source===i))?.value}getCollections(e){let i=this.torrentContent.content?.collections?.filter(r=>r.type===e).map(r=>r.name);return i?.length?i.sort():void 0}filesCount(){return this.torrentContent.torrent.filesStatus==="single"?1:this.torrentContent.torrent.filesCount??void 0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-content"]],inputs:{torrentContent:"torrentContent",heading:"heading",size:"size",peers:"peers",published:"published",selectedTab:"selectedTab"},outputs:{updated:"updated",tabSelected:"tabSelected"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[1,"poster",3,"ngSrc","alt","width","height"],[1,"size"],[1,"published"],[1,"peers"],[1,"info-hash"],[3,"matTooltip","cdkCopyToClipboard"],[2,"clear","both"],["animationDuration","0",3,"focusChange","selectedIndex","mat-stretch-tabs"],["aria-labelledby","hidden"],["mat-tab-label",""],["matTabContent",""],[3,"routerLink","matTooltip"],[1,"filesize",3,"matTooltip"],["target","_blank",3,"href"],[1,"label"],[1,"files-count"],[1,"torrent-files"],[3,"torrent"],[3,"updated","torrentContent"],[3,"updated","infoHashes"],[2,"margin-top","10px"],[1,"button-row"],["mat-stroked-button","","color","warning",3,"click"],[2,"margin-right","0"]],template:function(i,r){i&1&&_(0,zi,41,21,"ng-container",0)},dependencies:[z,Ut,st,Q,mt,pt,se,L,Te,be,ve,Se,dt,Lt,R,at,ut,jt,we,Le,Ne,He],styles:["h2[_ngcontent-%COMP%]{margin-top:10px;max-width:900px;white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word}.poster[_ngcontent-%COMP%]{float:right;margin:10px;border:1px solid currentColor}.info-hash[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word}.info-hash[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:5px;cursor:crosshair;text-decoration:underline;text-decoration-style:dotted}.torrent-files[_ngcontent-%COMP%]{padding-top:10px;max-height:800px;overflow:scroll;scrollbar-width:none}.torrent-files[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{margin-bottom:10px;width:800px}.torrent-files[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:20px;border-bottom:1px solid rgba(0,0,0,.12)}.torrent-files[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%]{background-color:#f5f5f5}.torrent-files[_ngcontent-%COMP%] [_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.files-count[_ngcontent-%COMP%]{margin-left:4px}.mat-mdc-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:0}span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted;cursor:default} .mdc-tab[aria-labelledby=hidden]{display:none} .mdc-tab[role=tab]{padding-left:15px;padding-right:15px} .mdc-tab .label, .mdc-tab .files-count{margin-left:8px}"]})}}return t})();export{He as a,ut as b,Vi as c,Et as d,St as e,Me as f,Hi as g,dn as h,ke as i,qi as j,Cr as k}; +import{b as ye,c as we}from"./chunk-UAJQPQWO.js";import{a as j}from"./chunk-AY6Y76TX.js";import{a as Ee}from"./chunk-4IZ4BZMF.js";import{Ba as ce,Ea as dt,G as Kt,Ja as pe,Ka as me,L as Qt,La as de,Ma as _e,Na as ue,O as ct,Oa as fe,Pa as ge,Q as Ut,Qa as xe,Ra as Ce,S as Zt,Sa as he,T as Xt,Ta as Te,U as Wt,Ua as be,V as Q,Va as ve,Wa as Se,X as pt,Z as mt,_a as z,a as V,aa as te,b as R,ba as ee,ca as ne,da as ie,ea as oe,fa as re,ga as ae,h as lt,ha as le,j as Ht,k as qt,l as Yt,m as Gt,pa as se,s as Jt,t as st,wa as L}from"./chunk-K5VIU67A.js";import{l as Lt}from"./chunk-CMNWCZJM.js";import{$b as c,B as X,Cb as _,Ea as v,Fa as S,Hb as h,Mb as u,N as K,Na as q,Nb as tt,Ob as O,Pb as B,Q as ot,Qb as s,Rb as a,Sb as M,Tb as y,Ub as E,Wb as k,Zb as w,a as g,ad as Vt,b as x,bd as at,ha as W,hb as Rt,jc as Tt,jd as jt,kb as o,kc as l,l as I,lc as f,mc as m,nc as zt,o as J,pc as P,qa as b,rc as bt,sc as Nt,ua as D,vc as $,wc as A,xa as At,xc as rt}from"./chunk-Z3WUIYN5.js";var Ue=(t,n)=>n.id;function Ze(t,n){if(t&1&&(s(0,"mat-chip",1)(1,"mat-icon",2),l(2,"sell"),a(),l(3),a()),t&2){let e=n.$implicit;o(3),m(" ",e," ")}}function Xe(t,n){if(t&1&&l(0),t&2){let e=n.$implicit,i=n.$index,r=c(),p=c().$implicit;m(" ",p("languages."+e.id)+(i{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-chips"]],inputs:{torrentContent:"torrentContent"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[1,"chip-primary"],["matChipAvatar",""],["matChipAvatar","","svgIcon","binary"]],template:function(i,r){i&1&&_(0,an,10,6,"ng-container",0)},dependencies:[z,ne,te,oe,L,R],styles:["mat-chip-set[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;left:4px}"]})}}return t})();var Et=["files","tags","reprocess","delete"],ln=(t,n)=>t&&n?t.infoHash===n.infoHash&&t.tab===n.tab:t===n,Ie=t=>({input:{queryString:t.queryString,limit:t.limit,page:t.page,totalCount:!0,hasNextPage:!0,orderBy:[t.orderBy],facets:{contentType:{aggregate:!0,filter:t.contentType?[t.contentType==="null"?null:t.contentType]:void 0},genre:t.facets.genre.active?{aggregate:!0,filter:t.facets.genre.filter}:void 0,language:t.facets.language.active?{aggregate:t.facets.language.active,filter:t.facets.language.filter}:void 0,torrentFileType:t.facets.fileType.active?{aggregate:!0,filter:t.facets.fileType.filter}:void 0,torrentSource:t.facets.torrentSource.active?{aggregate:!0,filter:t.facets.torrentSource.filter}:void 0,torrentTag:t.facets.torrentTag.active?{aggregate:!0,filter:t.facets.torrentTag.filter}:void 0,videoResolution:t.facets.videoResolution.active?{aggregate:!0,filter:t.facets.videoResolution.filter}:void 0,videoSource:t.facets.videoSource.active?{aggregate:!0,filter:t.facets.videoSource.filter}:void 0}}}),St={active:!1},Me=class{constructor(n){this.controlsSubject=new I(n),this.controls$=this.controlsSubject.asObservable(),this.paramsSubject=new I(Ie(n)),this.params$=this.paramsSubject.asObservable(),this.selectionSubject=new I(n.selectedTorrent),this.selection$=this.selectionSubject.asObservable(),this.controls$.pipe(ot(100)).subscribe(e=>{let i=Ie(e);JSON.stringify(this.paramsSubject.getValue())!==JSON.stringify(i)&&this.paramsSubject.next(i),ln(this.selectionSubject.getValue(),e.selectedTorrent)||this.selectionSubject.next(e.selectedTorrent)})}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}selectTorrent(n,e){this.update(i=>(e===void 0?e=i.selectedTorrent?.tab:e===null&&(e=void 0),x(g({},i),{selectedTorrent:{infoHash:n,tab:e}})))}selectContentType(n){this.update(e=>x(g({},e),{contentType:n,page:1,facets:x(g({},e.facets),{genre:yt(n,$e.contentTypes)?e.facets.genre:St,videoResolution:yt(n,Fe.contentTypes)?e.facets.videoResolution:St,videoSource:yt(n,De.contentTypes)?e.facets.videoSource:St})}))}activateFacet(n){this.update(e=>x(g({},e),{facets:n.patchInput(e.facets,x(g({},n.extractInput(e.facets)),{active:!0}))}))}deactivateFacet(n){this.update(e=>{let i=n.extractInput(e.facets);return x(g({},e),{page:i.filter?1:e.page,facets:n.patchInput(e.facets,x(g({},i),{active:!1,filter:void 0}))})})}activateFilter(n,e){this.update(i=>{let r=n.extractInput(i.facets);return x(g({},i),{page:1,facets:n.patchInput(i.facets,x(g({},r),{filter:Array.from(new Set([...r.filter??[],e])).sort()}))})})}deactivateFilter(n,e){this.update(i=>{let r=n.extractInput(i.facets),p=r.filter?.filter(d=>d!==e);return x(g({},i),{page:1,facets:n.patchInput(i.facets,x(g({},r),{filter:p?.length?p:void 0}))})})}setQueryString(n){n=n||void 0,this.update(e=>{let i=e.orderBy;return n?n!==e.queryString&&(i=_n):i.field==="relevance"&&(i=ke),x(g({},e),{queryString:n,orderBy:i,page:n===e.queryString?e.page:1})})}selectOrderBy(n){let e={field:n,descending:dn.find(i=>i.field===n)?.descending??!1};this.update(i=>x(g({},i),{orderBy:e.field!=="relevance"||i.queryString?e:ke,page:1}))}toggleOrderByDirection(){this.update(n=>x(g({},n),{orderBy:x(g({},n.orderBy),{descending:!n.orderBy.descending}),page:1}))}handlePageEvent(n){this.update(e=>x(g({},e),{limit:n.pageSize,page:n.page}))}},sn={key:"torrent_source",icon:"mediation",allowNull:!1,extractInput:t=>t.torrentSource,patchInput:(t,n)=>x(g({},t),{torrentSource:n}),extractAggregations:t=>t.torrentSource??[],resolveLabel:t=>t.label},cn={key:"torrent_tag",icon:"sell",allowNull:!1,extractInput:t=>t.torrentTag,patchInput:(t,n)=>x(g({},t),{torrentTag:n}),extractAggregations:t=>t.torrentTag??[],resolveLabel:t=>t.value},pn={key:"file_type",icon:"file_present",allowNull:!1,extractInput:t=>t.fileType,patchInput:(t,n)=>x(g({},t),{fileType:n}),extractAggregations:t=>t.torrentFileType??[],resolveLabel:(t,n)=>n.translate(`file_types.${t.value}`)},mn={key:"language",icon:"translate",allowNull:!1,extractInput:t=>t.language,patchInput:(t,n)=>x(g({},t),{language:n}),extractAggregations:t=>t.language??[],resolveLabel:(t,n)=>n.translate(`languages.${t.value}`)},$e={key:"genre",icon:"theater_comedy",allowNull:!1,contentTypes:["movie","tv_show"],extractInput:t=>t.genre,patchInput:(t,n)=>x(g({},t),{genre:n}),extractAggregations:t=>t.genre??[],resolveLabel:t=>t.label},Fe={key:"video_resolution",icon:"aspect_ratio",allowNull:!0,contentTypes:["movie","tv_show","xxx"],extractInput:t=>t.videoResolution,patchInput:(t,n)=>x(g({},t),{videoResolution:n}),extractAggregations:t=>(t.videoResolution??[]).map(n=>x(g({},n),{value:n.value??null})),resolveLabel:t=>t.value?.slice(1)??"?"},De={key:"video_source",icon:"album",allowNull:!0,contentTypes:["movie","tv_show","xxx"],extractInput:t=>t.videoSource,patchInput:(t,n)=>x(g({},t),{videoSource:n}),extractAggregations:t=>(t.videoSource??[]).map(n=>x(g({},n),{value:n.value??null})),resolveLabel:t=>t.value??"?"},Hi=[sn,cn,pn,mn,$e,Fe,De],dn=[{field:"relevance",descending:!0},{field:"published_at",descending:!0},{field:"updated_at",descending:!0},{field:"size",descending:!0},{field:"files_count",descending:!0},{field:"seeders",descending:!0},{field:"leechers",descending:!0},{field:"name",descending:!1}],ke={field:"published_at",descending:!0},_n={field:"relevance",descending:!0},yt=(t,n)=>!n||t&&n.includes(t),qi=t=>t.orderBy.descending?t.orderBy.field===(t.queryString?"relevance":"published_at"):!1;var un="array",fn="bit",Oe="bits",gn="byte",Be="bytes",U="",xn="exponent",Cn="function",Pe="iec",hn="Invalid number",Tn="Invalid rounding method",wt="jedec",bn="object",Ae=".",vn="round",Sn="s",yn="si",En="kbit",wn="kB",In=" ",Mn="string",kn="0",It={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function Re(t,{bits:n=!1,pad:e=!1,base:i=-1,round:r=2,locale:p=U,localeOptions:d={},separator:Y=U,spacer:F=In,symbols:qe={},standard:N=U,output:Ct=Mn,fullform:Ye=!1,fullforms:Mt=[],exponent:kt=-1,roundingMethod:Ge=vn,precision:nt=0}={}){let T=kt,G=Number(t),C=[],H=0,ht=U;N===yn?(i=10,N=wt):N===Pe||N===wt?i=2:i===2?N=Pe:(i=10,N=wt);let it=i===10?1e3:1024,Je=Ye===!0,$t=G<0,Ft=Math[Ge];if(typeof t!="bigint"&&isNaN(t))throw new TypeError(hn);if(typeof Ft!==Cn)throw new TypeError(Tn);if($t&&(G=-G),(T===-1||isNaN(T))&&(T=Math.floor(Math.log(G)/Math.log(it)),T<0&&(T=0)),T>8&&(nt>0&&(nt+=8-T),T=8),Ct===xn)return T;if(G===0)C[0]=0,ht=C[1]=It.symbol[N][n?Oe:Be][T];else{H=G/(i===2?Math.pow(2,T*10):Math.pow(1e3,T)),n&&(H=H*8,H>=it&&T<8&&(H=H/it,T++));let Z=Math.pow(10,T>0?r:0);C[0]=Ft(H*Z)/Z,C[0]===it&&T<8&&kt===-1&&(C[0]=1,T++),ht=C[1]=i===10&&T===1?n?En:wn:It.symbol[N][n?Oe:Be][T]}if($t&&(C[0]=-C[0]),nt>0&&(C[0]=C[0].toPrecision(nt)),C[1]=qe[C[1]]||C[1],p===!0?C[0]=C[0].toLocaleString():p.length>0?C[0]=C[0].toLocaleString(p,d):Y.length>0&&(C[0]=C[0].toString().replace(Ae,Y)),e&&r>0){let Z=C[0].toString(),Dt=Y||(Z.match(/(\D)/g)||[]).pop()||Ae,Ot=Z.toString().split(Dt),Bt=Ot[1]||U,Pt=Bt.length,Ke=r-Pt;C[0]=`${Ot[0]}${Dt}${Bt.padEnd(Pt+Ke,kn)}`}return Je&&(C[1]=Mt[T]?Mt[T]:It.fullform[N][T]+(n?fn:gn)+(C[0]===1?U:Sn)),Ct===un?C:Ct===bn?{value:C[0],symbol:C[1],exponent:T,unit:ht}:C.join(F)}var ut=(()=>{class t{constructor(){this.transloco=b(V)}transform(e,i=2){return Re(e,{locale:this.transloco.getActiveLang(),base:i})}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=At({name:"filesize",type:t,pure:!1,standalone:!0})}}return t})();var Fn={items:[],hasNextPage:!1,totalCount:0,aggregations:{queue:[],status:[]}},ft=class{constructor(n,e,i){this.apollo=n,this.errorsService=e,this.currentRequest=new I(0),this.loadingSubject=new I(!1),this.loading$=this.loadingSubject.asObservable(),this.result=Fn,this.resultSubject=new I(this.result),this.result$=this.resultSubject.asObservable(),this.items$=this.resultSubject.pipe(X(r=>r.items)),i.subscribe(r=>{this.loadResult(r)}),this.resultSubject.subscribe(r=>{this.result=r})}connect({}){return this.items$}disconnect(){this.resultSubject.complete()}loadResult(n){this.currentSubscription&&(this.currentSubscription.unsubscribe(),this.currentSubscription=void 0),this.loadingSubject.next(!0);let e=this.currentRequest.getValue()+1;this.currentRequest.next(e);let i=this.apollo.query({query:Qt,variables:n,fetchPolicy:"no-cache"}).pipe(X(r=>r.data.torrent.files)).pipe(K(r=>(this.errorsService.addError(`Error loading item results: ${r.message}`),J)));this.currentSubscription=i.subscribe(r=>{e===this.currentRequest.getValue()&&(this.loadingSubject.next(!1),this.resultSubject.next(r))})}},gt=class{constructor(n){this.torrent=n,this.loading$=new I(!1).asObservable(),this.file={infoHash:n.infoHash,index:0,path:n.name,size:n.size,fileType:n.fileType,extension:n.extension,createdAt:n.createdAt,updatedAt:n.updatedAt},this.result={hasNextPage:!1,items:[this.file],totalCount:1},this.result$=new I(this.result).asObservable(),this.items$=new I([this.file]).asObservable()}connect({}){return this.items$}disconnect(){}};var xt=class{constructor(n){let e={infoHash:n,limit:10,page:1};this.controlsSubject=new I(e),this.controls$=this.controlsSubject.asObservable(),this.controls$.pipe(ot(100)).subscribe(i=>{let r=this.variablesSubject.getValue(),p=ze(i);JSON.stringify(r)!==JSON.stringify(p)&&this.variablesSubject.next(p)}),this.variablesSubject=new I(ze(e)),this.variables$=this.variablesSubject.asObservable()}update(n){let e=this.controlsSubject.getValue(),i=n(e);JSON.stringify(e)!==JSON.stringify(i)&&this.controlsSubject.next(i)}handlePageEvent(n){this.update(e=>x(g({},e),{limit:n.pageSize,page:n.page}))}},ze=t=>({input:{infoHashes:[t.infoHash],limit:t.limit,page:t.page,totalCount:!0,hasNextPage:!1}});var Bn=(t,n)=>({x:t,y:n});function Pn(t,n){if(t&1&&(s(0,"p"),l(1),$(2,"number"),$(3,"number"),a()),t&2){let e=c().$implicit,i=c();o(),m(" ",e("torrents.showing_x_of_y_files",Nt(5,Bn,A(2,1,i.dataSource.result.totalCount),i.torrent.filesCount==null?"?":A(3,3,i.torrent.filesCount)))," ")}}function An(t,n){if(t&1&&(s(0,"th",13),l(1),a()),t&2){let e=c().$implicit;o(),f(e("torrents.file_index"))}}function Rn(t,n){if(t&1&&(s(0,"td",14),l(1),a()),t&2){let e=n.$implicit,i=c(2);o(),m(" ",i.item(e).index," ")}}function zn(t,n){if(t&1&&(s(0,"th",13),l(1),a()),t&2){let e=c().$implicit;o(),f(e("torrents.file_path"))}}function Nn(t,n){if(t&1&&(s(0,"td",14),l(1),a()),t&2){let e=n.$implicit,i=c(2);o(),m(" ",i.item(e).path," ")}}function Vn(t,n){if(t&1&&(s(0,"th",13),l(1),a()),t&2){let e=c().$implicit;o(),f(e("torrents.file_type"))}}function jn(t,n){if(t&1&&(s(0,"td",14),l(1),a()),t&2){let e,i=n.$implicit,r=c().$implicit,p=c();o(),m(" ",r("file_types."+((e=p.item(i).fileType)!==null&&e!==void 0?e:"unknown"))," ")}}function Ln(t,n){if(t&1&&(s(0,"th",13),l(1),a()),t&2){let e=c().$implicit;o(),f(e("torrents.file_size"))}}function Hn(t,n){if(t&1&&(s(0,"td",14)(1,"span",15),$(2,"filesize"),l(3),$(4,"filesize"),a()()),t&2){let e=n.$implicit,i=c(2);o(),h("matTooltip",rt(2,2,i.item(e).size,10)),o(2),f(A(4,5,i.item(e).size))}}function qn(t,n){t&1&&M(0,"tr",16)}function Yn(t,n){t&1&&M(0,"tr",17)}function Gn(t,n){if(t&1){let e=k();s(0,"app-paginator",18),w("paging",function(r){v(e);let p=c(2);return S(p.controller.handlePageEvent(r))}),a()}if(t&2){let e=c(2);h("page",e.controls.page)("pageSize",e.controls.limit)("pageLength",e.dataSource.result.items.length)("totalLength",e.dataSource.result.totalCount)("totalIsEstimate",!1)("showLastPage",!0)}}function Jn(t,n){if(t&1&&(y(0),s(1,"div",1),M(2,"mat-progress-bar",2),$(3,"async"),a(),_(4,Pn,4,8,"p"),s(5,"table",3),y(6,4),_(7,An,2,1,"th",5)(8,Rn,2,1,"td",6),E(),y(9,7),_(10,zn,2,1,"th",5)(11,Nn,2,1,"td",6),E(),y(12,8),_(13,Vn,2,1,"th",5)(14,jn,2,1,"td",6),E(),y(15,9),_(16,Ln,2,1,"th",5)(17,Hn,5,7,"td",6),E(),_(18,qn,1,0,"tr",10)(19,Yn,1,0,"tr",11),a(),_(20,Gn,1,6,"app-paginator",12),E()),t&2){let e=c();o(2),h("mode",A(3,8,e.dataSource.loading$)?"indeterminate":"determinate")("value",0),o(2),u(e.torrent.filesStatus==="over_threshold"?4:-1),o(),h("dataSource",e.dataSource)("multiTemplateDataRows",!0),o(13),h("matHeaderRowDef",e.displayedColumns),o(),h("matRowDefColumns",e.displayedColumns),o(),u(e.dataSource.result.totalCount>10?20:-1)}}var Ne=(()=>{class t{constructor(){this.apollo=b(lt),this.errorsService=b(j),this.transloco=b(V),this.displayedColumns=["index","path","type","size"]}ngOnInit(){this.controller=new xt(this.torrent.infoHash),this.dataSource=this.torrent.filesStatus==="single"?new gt(this.torrent):new ft(this.apollo,this.errorsService,this.controller.variables$),this.controller.controls$.subscribe(e=>{this.controls=e})}item(e){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-files-table"]],inputs:{torrent:"torrent"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-results",3,"dataSource","multiTemplateDataRows"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","path"],["matColumnDef","type"],["matColumnDef","size"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"],["mat-header-cell",""],["mat-cell",""],[1,"filesize",3,"matTooltip"],["mat-header-row",""],["mat-row",""],[3,"paging","page","pageSize","pageLength","totalLength","totalIsEstimate","showLastPage"]],template:function(i,r){i&1&&_(0,Jn,21,10,"ng-container",0)},dependencies:[z,ce,pe,de,ge,_e,me,xe,ue,fe,Ce,he,dt,R,Vt,at,ut,ye],styles:["span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted}"]})}}return t})();var Kn=t=>t.toLowerCase().replaceAll(/[^a-z0-9\-]/g,"-").replace(/^-+/,"").replaceAll(/-+/g,"-"),Ve=Kn;function Qn(t,n){if(t&1){let e=k();s(0,"mat-chip-row",8),w("edited",function(r){let p=v(e).$implicit,d=c(2);return S(d.renameTag(p,r.value))})("removed",function(){let r=v(e).$implicit,p=c(2);return S(p.deleteTag(r))}),l(1),s(2,"mat-icon",9),l(3,"cancel"),a()()}if(t&2){let e=n.$implicit;h("editable",!0),o(),m(" ",e," ")}}function Un(t,n){if(t&1&&(s(0,"mat-option",7),l(1),a()),t&2){let e=n.$implicit;h("value",e),o(),f(e)}}function Zn(t,n){if(t&1){let e=k();y(0),s(1,"mat-card")(2,"mat-form-field",3)(3,"mat-chip-grid",null,0),O(5,Qn,4,2,"mat-chip-row",4,tt),a(),s(7,"input",5),w("matChipInputTokenEnd",function(r){v(e);let p=c();return S(r.value&&p.addTag(r.value))}),a(),s(8,"mat-autocomplete",6,1),w("optionSelected",function(r){v(e);let p=c();return S(p.addTag(r.option.viewValue))}),O(10,Un,2,2,"mat-option",7,tt),a()()(),E()}if(t&2){let e=n.$implicit,i=Tt(4),r=Tt(9),p=c();o(5),B(p.editedTags),o(2),h("placeholder",e("torrents.new_tag"))("formControl",p.newTagCtrl)("matAutocomplete",r)("matChipInputFor",i)("matChipInputSeparatorKeyCodes",p.separatorKeysCodes)("value",p.newTagCtrl.value),o(3),B(p.suggestedTags)}}var Le=(()=>{class t{constructor(){this.newTagCtrl=new Yt(""),this.editedTags=Array(),this.suggestedTags=Array(),this.transloco=b(V),this.grapql=b(ct),this.errors=b(j),this.separatorKeysCodes=[13,188],this.updated=new q}ngOnInit(){this.newTagCtrl.valueChanges.subscribe(e=>(e&&(e=Ve(e),this.newTagCtrl.setValue(e,{emitEvent:!1})),this.grapql.torrentSuggestTags({input:{prefix:e,exclusions:this.torrentContent.torrent.tagNames}}).pipe(W(i=>{this.suggestedTags.splice(0,this.suggestedTags.length,...i.suggestions.map(r=>r.name))})).subscribe())),this.editedTags=this.torrentContent.torrent.tagNames,this.newTagCtrl.reset()}addTag(e){this.editTags(i=>[...i,e]),this.saveTags()}renameTag(e,i){this.editTags(r=>r.map(p=>p===e?i:p)),this.saveTags()}deleteTag(e){this.editTags(i=>i.filter(r=>r!==e)),this.saveTags()}editTags(e){this.editedTags=e(this.editedTags),this.newTagCtrl.reset()}saveTags(){this.grapql.torrentSetTags({infoHashes:[this.torrentContent.infoHash],tagNames:this.editedTags}).pipe(K(e=>(this.errors.addError(`Error saving tags: ${e.message}`),J))).pipe(W(()=>{this.updated.emit(null)})).subscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-edit-tags"]],inputs:{torrentContent:"torrentContent"},outputs:{updated:"updated"},standalone:!0,features:[P],decls:1,vars:0,consts:[["chipGrid",""],["auto","matAutocomplete"],[4,"transloco"],["subscriptSizing","dynamic",1,"form-edit-tags"],[3,"editable"],["autocapitalize","none",3,"matChipInputTokenEnd","placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","value"],[3,"optionSelected"],[3,"value"],[3,"edited","removed","editable"],["matChipRemove",""]],template:function(i,r){i&1&&_(0,Zn,12,6,"ng-container",2)},dependencies:[z,Xt,Jt,Wt,Q,re,ae,ee,ie,Zt,L,Ht,qt,Gt,R],styles:[".form-edit-tags[_ngcontent-%COMP%] .mat-mdc-form-field-subscript-wrapper{display:none}"]})}}return t})();function Wn(t,n){if(t&1){let e=k();y(0),s(1,"mat-card")(2,"mat-card-content")(3,"mat-checkbox",1),w("change",function(r){v(e);let p=c();return p.localSearchDisabled=!r.checked,S(p.apisDisabled=r.checked?p.apisDisabled:!0)}),l(4),a(),s(5,"mat-checkbox",1),w("change",function(r){v(e);let p=c();return p.apisDisabled=!r.checked,S(p.localSearchDisabled=r.checked?!1:p.localSearchDisabled)}),l(6),a(),s(7,"mat-checkbox",1),w("change",function(r){v(e);let p=c();return S(p.classifierRematch=r.checked)}),l(8),a()(),s(9,"mat-card-actions",2)(10,"button",3),w("click",function(){v(e);let r=c();return S(r.reprocess())}),s(11,"mat-icon"),l(12,"cycle"),a(),l(13),a()()(),E()}if(t&2){let e=n.$implicit,i=c();o(3),h("checked",!i.localSearchDisabled),o(),f(e("torrents.reprocess.match_content_by_local_search")),o(),h("checked",!i.apisDisabled),o(),f(e("torrents.reprocess.match_content_by_external_api_search")),o(),h("checked",i.classifierRematch),o(),f(e("torrents.reprocess.force_rematch")),o(2),h("disabled",!i.infoHashes.length),o(3),m("",e("torrents.reprocess.reprocess")," ")}}var He=(()=>{class t{constructor(){this.apollo=b(lt),this.errors=b(j),this.classifierRematch=!1,this.apisDisabled=!0,this.localSearchDisabled=!0,this.updated=new q}reprocess(){this.apollo.mutate({mutation:Kt,variables:{input:{infoHashes:this.infoHashes,classifierRematch:this.classifierRematch,apisDisabled:this.apisDisabled,localSearchDisabled:this.localSearchDisabled}}}).pipe(X(()=>{this.updated.emit(null)})).subscribe()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-reprocess"]],inputs:{infoHashes:"infoHashes"},outputs:{updated:"updated"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[3,"change","checked"],[1,"button-row"],["mat-stroked-button","",3,"click","disabled"]],template:function(i,r){i&1&&_(0,Wn,14,8,"ng-container",0)},dependencies:[z,st,Q,mt,pt,le,L,R],styles:[".mat-mdc-card[_ngcontent-%COMP%]{margin-bottom:10px}mat-checkbox[_ngcontent-%COMP%]{margin-right:20px}"]})}}return t})();var ti=(t,n)=>n.key,ei=(t,n)=>n.id,ni=(t,n)=>n.metadataSource.key,ii=t=>({count:t}),oi=t=>[t];function ri(t,n){if(t&1&&M(0,"img",1),t&2){let e=c().$implicit,i=c();h("ngSrc","https://image.tmdb.org/t/p/w300/"+n)("alt",e("torrents.poster"))("width",i.breakpoints.sizeAtLeast("Medium")?300:150)("height",i.breakpoints.sizeAtLeast("Medium")?450:225)}}function ai(t,n){if(t&1&&(s(0,"h2")(1,"a",12),l(2),a()()),t&2){let e=c().$implicit,i=c();o(),h("routerLink","permalink/"+i.torrentContent.infoHash)("matTooltip",e("torrents.permalink")),o(),f(i.torrentContent.torrent.name)}}function li(t,n){if(t&1&&(s(0,"p",2)(1,"strong"),l(2),a(),l(3,"\xA0 "),s(4,"span",13),$(5,"filesize"),l(6),$(7,"filesize"),a()()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.size"),":"),o(2),h("matTooltip",rt(5,3,i.torrentContent.torrent.size,10)),o(2),f(A(7,6,i.torrentContent.torrent.size))}}function si(t,n){if(t&1&&(s(0,"p",3)(1,"strong"),l(2),a(),l(3),$(4,"timeAgo"),a()),t&2){let e=c().$implicit,i=c();o(2),f(e("torrents.published")),o(),m(" ",A(4,2,i.torrentContent.publishedAt)," ")}}function ci(t,n){if(t&1&&(s(0,"p",4)(1,"strong"),l(2),a(),l(3),a()),t&2){let e,i=c().$implicit,r=c();o(2),m("",i("torrents.s_l"),":"),o(),zt(" ",(e=r.torrentContent.seeders)!==null&&e!==void 0?e:"?"," / ",(e=r.torrentContent.leechers)!==null&&e!==void 0?e:"?"," ")}}function pi(t,n){if(t&1&&(s(0,"span"),l(1),a()),t&2){let e=n.$implicit,i=n.$index;o(),f((i>0?", ":"")+e.name)}}function mi(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3),a()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.title"),":"),o(),m(" ",i.torrentContent.content.title," ")}}function di(t,n){if(t&1&&l(0),t&2){let e=n.$implicit,i=n.$index,r=c(3);m(" ",(i>0?", ":"")+e.name+(e.id===(r.torrentContent.content==null||r.torrentContent.content.originalLanguage==null?null:r.torrentContent.content.originalLanguage.id)?" (original)":"")," ")}}function _i(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3,"\xA0 "),O(4,di,1,1,null,null,ei),a()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.languages"),":"),o(2),B(i.torrentContent.languages)}}function ui(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3),a()),t&2){let e,i=c().$implicit,r=c();o(2),m("",i("torrents.original_release_date"),":"),o(),m(" ",(e=r.torrentContent.content==null?null:r.torrentContent.content.releaseDate)!==null&&e!==void 0?e:r.torrentContent.content==null?null:r.torrentContent.content.releaseYear," ")}}function fi(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3),a()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.episodes"),":"),o(),m(" ",i.torrentContent.episodes.label," ")}}function gi(t,n){if(t&1&&(s(0,"p"),l(1),a()),t&2){let e=c(2);o(),m(" ",e.torrentContent.content.overview," ")}}function xi(t,n){if(t&1&&(y(0),s(1,"p")(2,"strong"),l(3),a(),l(4),a(),E()),t&2){let e=c().$implicit;o(3),m("",e("torrents.genres"),":"),o(),m(" ",n.join(", ")," ")}}function Ci(t,n){if(t&1&&(y(0),l(1),$(2,"number"),E()),t&2){let e=c(2).$implicit,i=c();o(),m("(",e("torrents.votes_count_n",bt(3,ii,A(2,1,i.torrentContent.content==null?null:i.torrentContent.content.voteCount))),")")}}function hi(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3),_(4,Ci,3,5,"ng-container"),a()),t&2){let e=c().$implicit,i=c();o(2),m("",e("torrents.rating"),":"),o(),m(" ",i.torrentContent.content==null?null:i.torrentContent.content.voteAverage," / 10 "),o(),u((i.torrentContent.content==null?null:i.torrentContent.content.voteCount)!=null?4:-1)}}function Ti(t,n){if(t&1&&(l(0),s(1,"a",14),l(2),a()),t&2){let e=n.$implicit,i=n.$index;m(" ",i>0?", ":"",""),o(),h("href",e.url,Rt),o(),f(e.metadataSource.name)}}function bi(t,n){if(t&1&&(s(0,"p")(1,"strong"),l(2),a(),l(3,"\xA0 "),O(4,Ti,3,3,"a",14,ni),a()),t&2){let e=c().$implicit;o(2),m("",e("torrents.external_links"),":"),o(2),B(n)}}function vi(t,n){if(t&1&&(s(0,"span",15),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.files"))}}function Si(t,n){t&1&&(s(0,"span",16),l(1),$(2,"number"),a()),t&2&&(o(),m("(",A(2,1,n),")"))}function yi(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"file_present"),a(),_(2,vi,2,1,"span",15)(3,Si,3,3,"span",16)),t&2){let e,i=c(2);o(2),u(i.breakpoints.sizeAtLeast("Medium")?2:-1),o(),u((e=i.filesCount())?3:-1,e)}}function Ei(t,n){if(t&1&&(s(0,"p"),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.files_no_info"))}}function wi(t,n){if(t&1&&(s(0,"mat-card",17),_(1,Ei,2,1,"p"),M(2,"app-torrent-files-table",18),a()),t&2){let e=c(2);o(),u(e.torrentContent.torrent.filesStatus==="no_info"?1:-1),o(),h("torrent",e.torrentContent.torrent)}}function Ii(t,n){if(t&1&&(s(0,"span",15),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.edit_tags"))}}function Mi(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"sell"),a(),_(2,Ii,2,1,"span",15)),t&2){let e=c(2);o(2),u(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ki(t,n){if(t&1){let e=k();s(0,"app-torrent-edit-tags",19),w("updated",function(){v(e);let r=c(2);return S(r.updated.emit(null))}),a()}if(t&2){let e=c(2);h("torrentContent",e.torrentContent)}}function $i(t,n){if(t&1&&(s(0,"span",15),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.classification"))}}function Fi(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"category"),a(),_(2,$i,2,1,"span",15)),t&2){let e=c(2);o(2),u(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function Di(t,n){if(t&1){let e=k();s(0,"app-torrent-reprocess",20),w("updated",function(){v(e);let r=c(2);return S(r.updated.emit(null))}),a()}if(t&2){let e=c(2);h("infoHashes",bt(1,oi,e.torrentContent.infoHash))}}function Oi(t,n){if(t&1&&(s(0,"span",15),l(1),a()),t&2){let e=c(2).$implicit;o(),f(e("torrents.delete"))}}function Bi(t,n){if(t&1&&(s(0,"mat-icon"),l(1,"delete_forever"),a(),_(2,Oi,2,1,"span",15)),t&2){let e=c(2);o(2),u(e.breakpoints.sizeAtLeast("Medium")?2:-1)}}function Pi(t,n){if(t&1){let e=k();s(0,"mat-card")(1,"mat-card-content",21)(2,"p")(3,"strong"),l(4),a(),M(5,"br"),l(6),a()(),s(7,"mat-card-actions",22)(8,"button",23),w("click",function(){v(e);let r=c(2);return S(r.delete())}),s(9,"mat-icon"),l(10,"delete_forever"),a(),l(11),a()()()}if(t&2){let e=c().$implicit;o(4),f(e("torrents.delete_are_you_sure")),o(2),m("",e("torrents.delete_action_cannot_be_undone")," "),o(5),m("",e("torrents.delete")," ")}}function Ai(t,n){t&1&&(s(0,"mat-icon",24),l(1,"close"),a())}function Ri(t,n){t&1&&(s(0,"mat-tab"),_(1,Ai,2,0,"ng-template",10),a())}function zi(t,n){if(t&1){let e=k();y(0),_(1,ri,1,4,"img",1)(2,ai,3,3,"h2")(3,li,8,8,"p",2)(4,si,5,4,"p",3)(5,ci,4,3,"p",4),s(6,"p",5)(7,"strong"),l(8),a(),s(9,"span",6),l(10),a()(),s(11,"p")(12,"strong"),l(13),a(),l(14,"\xA0 "),O(15,pi,2,1,"span",null,ti),a(),_(17,mi,4,2,"p")(18,_i,6,1,"p")(19,ui,4,2,"p")(20,fi,4,2,"p")(21,gi,2,1,"p")(22,xi,5,2,"ng-container")(23,hi,5,3,"p")(24,bi,6,1,"p"),M(25,"mat-divider",7),s(26,"mat-tab-group",8),w("focusChange",function(r){v(e);let p=c();return S(p.selectTabIndex(r.index))}),M(27,"mat-tab",9),s(28,"mat-tab"),_(29,yi,4,2,"ng-template",10)(30,wi,3,2,"ng-template",11),a(),s(31,"mat-tab"),_(32,Mi,3,1,"ng-template",10)(33,ki,1,1,"ng-template",11),a(),s(34,"mat-tab"),_(35,Fi,3,1,"ng-template",10)(36,Di,1,3,"ng-template",11),a(),s(37,"mat-tab"),_(38,Bi,3,1,"ng-template",10)(39,Pi,12,3,"ng-template",11),a(),_(40,Ri,2,0,"mat-tab"),a(),E()}if(t&2){let e,i,r,p=n.$implicit,d=c();o(),u((e=d.getAttribute("poster_path","tmdb"))?1:-1,e),o(),u(d.heading?2:-1),o(),u(d.size?3:-1),o(),u(d.published?4:-1),o(),u(d.peers?5:-1),o(3),m("",p("torrents.info_hash"),":"),o(),h("matTooltip",p("torrents.copy_to_clipboard"))("cdkCopyToClipboard",d.torrentContent.infoHash),o(),f(d.torrentContent.infoHash),o(3),m("",p("torrents.source"),":"),o(2),B(d.torrentContent.torrent.sources),o(2),u(d.torrentContent.content?17:-1),o(),u(d.torrentContent.languages!=null&&d.torrentContent.languages.length?18:-1),o(),u(d.torrentContent.content!=null&&d.torrentContent.content.releaseYear?19:-1),o(),u(d.torrentContent.episodes?20:-1),o(),u(d.torrentContent.content!=null&&d.torrentContent.content.overview?21:-1),o(),u((i=d.getCollections("genre"))?22:-1,i),o(),u((d.torrentContent.content==null?null:d.torrentContent.content.voteAverage)!=null?23:-1),o(),u((r=d.torrentContent.content==null?null:d.torrentContent.content.externalLinks)?24:-1,r),o(2),h("selectedIndex",d.selectedTabIndex)("mat-stretch-tabs",!1),o(14),u(d.selectedTabIndex>0?40:-1)}}var Cr=(()=>{class t{constructor(){this.breakpoints=b(Ee),this.heading=!0,this.size=!0,this.peers=!0,this.published=!0,this.updated=new q,this.tabSelected=new q,this.selectedTab=void 0,this.transloco=b(V),this.grapql=b(ct),this.errors=b(j)}get selectedTabIndex(){return Et.indexOf(this.selectedTab)+1}selectTabIndex(e){this.selectedTab=Et[e-1],this.tabSelected.emit(this.selectedTab)}delete(){this.grapql.torrentDelete({infoHashes:[this.torrentContent.infoHash]}).pipe(K(e=>(this.errors.addError(`Error deleting torrent: ${e.message}`),J))).pipe(W(()=>{this.updated.emit(null)})).subscribe()}getAttribute(e,i){return this.torrentContent.content?.attributes?.find(r=>r.key===e&&(i===void 0||r.source===i))?.value}getCollections(e){let i=this.torrentContent.content?.collections?.filter(r=>r.type===e).map(r=>r.name);return i?.length?i.sort():void 0}filesCount(){return this.torrentContent.torrent.filesStatus==="single"?1:this.torrentContent.torrent.filesCount??void 0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=D({type:t,selectors:[["app-torrent-content"]],inputs:{torrentContent:"torrentContent",heading:"heading",size:"size",peers:"peers",published:"published",selectedTab:"selectedTab"},outputs:{updated:"updated",tabSelected:"tabSelected"},standalone:!0,features:[P],decls:1,vars:0,consts:[[4,"transloco"],[1,"poster",3,"ngSrc","alt","width","height"],[1,"size"],[1,"published"],[1,"peers"],[1,"info-hash"],[3,"matTooltip","cdkCopyToClipboard"],[2,"clear","both"],["animationDuration","0",3,"focusChange","selectedIndex","mat-stretch-tabs"],["aria-labelledby","hidden"],["mat-tab-label",""],["matTabContent",""],[3,"routerLink","matTooltip"],[1,"filesize",3,"matTooltip"],["target","_blank",3,"href"],[1,"label"],[1,"files-count"],[1,"torrent-files"],[3,"torrent"],[3,"updated","torrentContent"],[3,"updated","infoHashes"],[2,"margin-top","10px"],[1,"button-row"],["mat-stroked-button","","color","warning",3,"click"],[2,"margin-right","0"]],template:function(i,r){i&1&&_(0,zi,41,21,"ng-container",0)},dependencies:[z,Ut,st,Q,mt,pt,se,L,Te,be,ve,Se,dt,Lt,R,at,ut,jt,we,Le,Ne,He],styles:["h2[_ngcontent-%COMP%]{margin-top:10px;max-width:900px;white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word}.poster[_ngcontent-%COMP%]{float:right;margin:10px;border:1px solid currentColor}.info-hash[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word}.info-hash[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:5px;cursor:crosshair;text-decoration:underline;text-decoration-style:dotted}.torrent-files[_ngcontent-%COMP%]{padding-top:10px;max-height:800px;overflow:scroll;scrollbar-width:none}.torrent-files[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{margin-bottom:10px;width:800px}.torrent-files[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-right:20px;border-bottom:1px solid rgba(0,0,0,.12)}.torrent-files[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%]{background-color:#f5f5f5}.torrent-files[_ngcontent-%COMP%] [_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.files-count[_ngcontent-%COMP%]{margin-left:4px}.mat-mdc-card-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:0}span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted;cursor:default} .mdc-tab[aria-labelledby=hidden]{display:none} .mdc-tab[role=tab]{padding-left:15px;padding-right:15px} .mdc-tab .label, .mdc-tab .files-count{margin-left:8px}"]})}}return t})();export{He as a,ut as b,Vi as c,Et as d,St as e,Me as f,Hi as g,dn as h,ke as i,qi as j,Cr as k}; diff --git a/webui/dist/bitmagnet/browser/chunk-WMBLMVKT.js b/webui/dist/bitmagnet/browser/chunk-QH626ZBN.js similarity index 92% rename from webui/dist/bitmagnet/browser/chunk-WMBLMVKT.js rename to webui/dist/bitmagnet/browser/chunk-QH626ZBN.js index c40904a0..8eb55af6 100644 --- a/webui/dist/bitmagnet/browser/chunk-WMBLMVKT.js +++ b/webui/dist/bitmagnet/browser/chunk-QH626ZBN.js @@ -1 +1 @@ -import{b as w,d as y}from"./chunk-EBLD3IWA.js";import{a as H}from"./chunk-DSEDLZDW.js";import{Da as P,V as M,X as u,_,_a as D,b as f,pa as b,ta as v,ua as x,wa as O}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{Cb as c,Hb as m,Qb as o,Rb as a,Sb as i,Tb as s,Ub as l,kb as n,kc as p,lc as h,pc as g,rc as C,ua as d}from"./chunk-Z3WUIYN5.js";var S=t=>[t];function E(t,T){if(t&1&&(s(0),i(1,"app-document-title",1),o(2,"mat-card",2)(3,"mat-card-header")(4,"mat-toolbar")(5,"h2")(6,"mat-icon"),p(7,"dashboard"),a(),p(8),a()()(),o(9,"mat-card-content"),i(10,"mat-divider"),o(11,"div",3)(12,"mat-grid-list",4)(13,"mat-grid-tile",5),i(14,"app-health-card"),a()()()()(),l()),t&2){let e=T.$implicit;n(),m("parts",C(4,S,e("routes.dashboard"))),n(7),h(e("routes.dashboard")),n(5),m("colspan",1)("rowspan",1)}}var K=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=d({type:t,selectors:[["app-dashboard"]],standalone:!0,features:[g],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],[1,"dashboard-card"],[1,"grid-container"],["cols","1","rowHeight","500px"],[3,"colspan","rowspan"]],template:function(r,F){r&1&&c(0,E,15,6,"ng-container",0)},dependencies:[D,M,u,_,b,x,v,O,P,f,y,w,H],styles:[".grid-container[_ngcontent-%COMP%]{margin:20px}.more-button[_ngcontent-%COMP%]{position:absolute;top:5px;right:10px}app-health-card[_ngcontent-%COMP%]{width:100%;height:100%}app-health-card[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{height:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;margin-right:14px;margin-left:32px}"]})}}return t})();export{K as DashboardHomeComponent}; +import{b as w,d as y}from"./chunk-GL6K5NAM.js";import{a as H}from"./chunk-DSEDLZDW.js";import{Da as P,V as M,X as u,_,_a as D,b as f,pa as b,ta as v,ua as x,wa as O}from"./chunk-K5VIU67A.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{Cb as c,Hb as m,Qb as o,Rb as a,Sb as i,Tb as s,Ub as l,kb as n,kc as p,lc as h,pc as g,rc as C,ua as d}from"./chunk-Z3WUIYN5.js";var S=t=>[t];function E(t,T){if(t&1&&(s(0),i(1,"app-document-title",1),o(2,"mat-card",2)(3,"mat-card-header")(4,"mat-toolbar")(5,"h2")(6,"mat-icon"),p(7,"dashboard"),a(),p(8),a()()(),o(9,"mat-card-content"),i(10,"mat-divider"),o(11,"div",3)(12,"mat-grid-list",4)(13,"mat-grid-tile",5),i(14,"app-health-card"),a()()()()(),l()),t&2){let e=T.$implicit;n(),m("parts",C(4,S,e("routes.dashboard"))),n(7),h(e("routes.dashboard")),n(5),m("colspan",1)("rowspan",1)}}var K=(()=>{class t{static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=d({type:t,selectors:[["app-dashboard"]],standalone:!0,features:[g],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],[1,"dashboard-card"],[1,"grid-container"],["cols","1","rowHeight","500px"],[3,"colspan","rowspan"]],template:function(r,F){r&1&&c(0,E,15,6,"ng-container",0)},dependencies:[D,M,u,_,b,x,v,O,P,f,y,w,H],styles:[".grid-container[_ngcontent-%COMP%]{margin:20px}.more-button[_ngcontent-%COMP%]{position:absolute;top:5px;right:10px}app-health-card[_ngcontent-%COMP%]{width:100%;height:100%}app-health-card[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{height:100%}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%}mat-toolbar[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px;margin-right:14px;margin-left:32px}"]})}}return t})();export{K as DashboardHomeComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-GLXU5TTY.js b/webui/dist/bitmagnet/browser/chunk-UAJQPQWO.js similarity index 98% rename from webui/dist/bitmagnet/browser/chunk-GLXU5TTY.js rename to webui/dist/bitmagnet/browser/chunk-UAJQPQWO.js index 6c9b6d76..01768b8c 100644 --- a/webui/dist/bitmagnet/browser/chunk-GLXU5TTY.js +++ b/webui/dist/bitmagnet/browser/chunk-UAJQPQWO.js @@ -1 +1 @@ -import{a as U}from"./chunk-RQ2LQKI2.js";import{Ea as K,Fa as Q,R as q,S as G,_a as R,a as b,b as D,s as j,w as H,wa as J}from"./chunk-HZYDZMJ4.js";import{$b as o,Cb as C,Ea as g,Fa as u,Hb as m,Lc as v,Mb as S,Na as L,Nb as M,Ob as z,Pb as E,Qb as a,Rb as s,Tb as V,Ub as k,Wb as y,Zb as _,bd as $,kb as l,kc as c,mc as P,pc as F,qa as f,rc as N,sc as O,tc as A,ua as T,vc as h,wc as d,xa as x,xc as B,zb as w}from"./chunk-Z3WUIYN5.js";var X=(()=>{class t{constructor(){this.transloco=f(b)}transform(e,i=!0,n=2){if(i&&e>0&&n>0){let Y=Math.floor(Math.log10(Math.abs(e))),I=Math.pow(10,Y-(n-1));e=Math.round(e/I)*I}let p=Intl.NumberFormat(this.transloco.getActiveLang()).format(e);return i?`~${p}`:p}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=x({name:"intEstimate",type:t,pure:!1,standalone:!0})}}return t})();var Z=(t,r,e)=>({x:t,y:r,z:e}),tt=(t,r)=>({x:t,y:r}),et=t=>[null,t];function it(t,r){if(t&1&&(a(0,"mat-option",4),c(1),s()),t&2){let e=r.$implicit;m("value",e),l(),P(" ",e," ")}}function nt(t,r){if(t&1&&(c(0),h(1,"number"),h(2,"number"),h(3,"intEstimate")),t&2){let e,i=o().$implicit,n=o();P(" ",i("paginator.x_to_y_of_z",A(8,Z,d(1,1,n.firstItemIndex),d(2,3,n.lastItemIndex),B(3,5,(e=n.totalLength)!==null&&e!==void 0?e:0,n.totalIsEstimate)))," ")}}function at(t,r){if(t&1&&(c(0),h(1,"number"),h(2,"number")),t&2){let e=o().$implicit,i=o();P(" ",e("paginator.x_to_y",O(5,tt,d(1,1,i.firstItemIndex),d(2,3,i.lastItemIndex)))," ")}}function ot(t,r){if(t&1){let e=y();a(0,"button",7),_("click",function(){let n;g(e);let p=o(2);return p.page=(n=p.pageCount)!==null&&n!==void 0?n:1,u(p.emitChange())}),a(1,"mat-icon"),c(2,"last_page"),s()()}if(t&2){let e=o().$implicit,i=o();m("disabled",N(2,et,i.page).includes(i.pageCount))("matTooltip",e("paginator.last_page"))}}function rt(t,r){if(t&1){let e=y();V(0),a(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),c(4,"Items per page"),s(),a(5,"mat-select",3),_("valueChange",function(n){g(e);let p=o();return p.pageSize=n,p.page=1,u(p.emitChange())}),z(6,it,2,2,"mat-option",4,M),s()(),a(8,"p",5),C(9,nt,4,12)(10,at,3,8),s(),a(11,"div",6)(12,"button",7),_("click",function(){g(e);let n=o();return n.page=1,u(n.emitChange())}),a(13,"mat-icon"),c(14,"first_page"),s()(),a(15,"button",7),_("click",function(){g(e);let n=o();return n.page=n.page-1,u(n.emitChange())}),a(16,"mat-icon"),c(17,"navigate_before"),s()(),a(18,"button",7),_("click",function(){g(e);let n=o();return n.page=n.page+1,u(n.emitChange())}),a(19,"mat-icon"),c(20,"navigate_next"),s()(),C(21,ot,3,4,"button",8),s()(),k()}if(t&2){let e=r.$implicit,i=o();l(5),m("value",i.pageSize),l(),E(i.pageSizes),l(3),S(i.hasTotalLength?9:10),l(3),m("disabled",!i.hasPreviousPage)("matTooltip",e("paginator.first_page")),l(3),m("disabled",!i.hasPreviousPage)("matTooltip",e("paginator.previous_page")),l(3),m("disabled",!i.actuallyHasNextPage)("matTooltip",e("paginator.next_page")),l(3),S(i.showLastPage?21:-1)}}var It=(()=>{class t{constructor(){this.page=1,this.pageSize=10,this.pageSizes=[10,20,50,100],this.pageLength=0,this.totalLength=null,this.totalIsEstimate=!1,this.hasNextPage=null,this.showLastPage=!1,this.paging=new L}get firstItemIndex(){return(this.page-1)*this.pageSize+1}get lastItemIndex(){return(this.page-1)*this.pageSize+this.pageLength}get hasTotalLength(){return typeof this.totalLength=="number"}get hasPreviousPage(){return this.page>1}get pageCount(){return typeof this.totalLength!="number"?null:Math.ceil(this.totalLength/this.pageSize)}get actuallyHasNextPage(){return typeof this.hasNextPage=="boolean"?this.hasNextPage:typeof this.totalLength!="number"?!1:this.page*this.pageSize *[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.paginator[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 20px}.paginator[_ngcontent-%COMP%] .field-items-per-page[_ngcontent-%COMP%]{width:140px}"]})}}return t})();var Et=(()=>{class t{constructor(){this.transloco=f(b)}transform(e){return U(e,this.transloco.getActiveLang())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=x({name:"timeAgo",type:t,pure:!1,standalone:!0})}}return t})();export{X as a,It as b,Et as c}; +import{a as U}from"./chunk-RQ2LQKI2.js";import{Ea as K,Fa as Q,R as q,S as G,_a as R,a as b,b as D,s as j,w as H,wa as J}from"./chunk-K5VIU67A.js";import{$b as o,Cb as C,Ea as g,Fa as u,Hb as m,Lc as v,Mb as S,Na as L,Nb as M,Ob as z,Pb as E,Qb as a,Rb as s,Tb as V,Ub as k,Wb as y,Zb as _,bd as $,kb as l,kc as c,mc as P,pc as F,qa as f,rc as N,sc as O,tc as A,ua as T,vc as h,wc as d,xa as x,xc as B,zb as w}from"./chunk-Z3WUIYN5.js";var X=(()=>{class t{constructor(){this.transloco=f(b)}transform(e,i=!0,n=2){if(i&&e>0&&n>0){let Y=Math.floor(Math.log10(Math.abs(e))),I=Math.pow(10,Y-(n-1));e=Math.round(e/I)*I}let p=Intl.NumberFormat(this.transloco.getActiveLang()).format(e);return i?`~${p}`:p}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=x({name:"intEstimate",type:t,pure:!1,standalone:!0})}}return t})();var Z=(t,r,e)=>({x:t,y:r,z:e}),tt=(t,r)=>({x:t,y:r}),et=t=>[null,t];function it(t,r){if(t&1&&(a(0,"mat-option",4),c(1),s()),t&2){let e=r.$implicit;m("value",e),l(),P(" ",e," ")}}function nt(t,r){if(t&1&&(c(0),h(1,"number"),h(2,"number"),h(3,"intEstimate")),t&2){let e,i=o().$implicit,n=o();P(" ",i("paginator.x_to_y_of_z",A(8,Z,d(1,1,n.firstItemIndex),d(2,3,n.lastItemIndex),B(3,5,(e=n.totalLength)!==null&&e!==void 0?e:0,n.totalIsEstimate)))," ")}}function at(t,r){if(t&1&&(c(0),h(1,"number"),h(2,"number")),t&2){let e=o().$implicit,i=o();P(" ",e("paginator.x_to_y",O(5,tt,d(1,1,i.firstItemIndex),d(2,3,i.lastItemIndex)))," ")}}function ot(t,r){if(t&1){let e=y();a(0,"button",7),_("click",function(){let n;g(e);let p=o(2);return p.page=(n=p.pageCount)!==null&&n!==void 0?n:1,u(p.emitChange())}),a(1,"mat-icon"),c(2,"last_page"),s()()}if(t&2){let e=o().$implicit,i=o();m("disabled",N(2,et,i.page).includes(i.pageCount))("matTooltip",e("paginator.last_page"))}}function rt(t,r){if(t&1){let e=y();V(0),a(1,"div",1)(2,"mat-form-field",2)(3,"mat-label"),c(4,"Items per page"),s(),a(5,"mat-select",3),_("valueChange",function(n){g(e);let p=o();return p.pageSize=n,p.page=1,u(p.emitChange())}),z(6,it,2,2,"mat-option",4,M),s()(),a(8,"p",5),C(9,nt,4,12)(10,at,3,8),s(),a(11,"div",6)(12,"button",7),_("click",function(){g(e);let n=o();return n.page=1,u(n.emitChange())}),a(13,"mat-icon"),c(14,"first_page"),s()(),a(15,"button",7),_("click",function(){g(e);let n=o();return n.page=n.page-1,u(n.emitChange())}),a(16,"mat-icon"),c(17,"navigate_before"),s()(),a(18,"button",7),_("click",function(){g(e);let n=o();return n.page=n.page+1,u(n.emitChange())}),a(19,"mat-icon"),c(20,"navigate_next"),s()(),C(21,ot,3,4,"button",8),s()(),k()}if(t&2){let e=r.$implicit,i=o();l(5),m("value",i.pageSize),l(),E(i.pageSizes),l(3),S(i.hasTotalLength?9:10),l(3),m("disabled",!i.hasPreviousPage)("matTooltip",e("paginator.first_page")),l(3),m("disabled",!i.hasPreviousPage)("matTooltip",e("paginator.previous_page")),l(3),m("disabled",!i.actuallyHasNextPage)("matTooltip",e("paginator.next_page")),l(3),S(i.showLastPage?21:-1)}}var It=(()=>{class t{constructor(){this.page=1,this.pageSize=10,this.pageSizes=[10,20,50,100],this.pageLength=0,this.totalLength=null,this.totalIsEstimate=!1,this.hasNextPage=null,this.showLastPage=!1,this.paging=new L}get firstItemIndex(){return(this.page-1)*this.pageSize+1}get lastItemIndex(){return(this.page-1)*this.pageSize+this.pageLength}get hasTotalLength(){return typeof this.totalLength=="number"}get hasPreviousPage(){return this.page>1}get pageCount(){return typeof this.totalLength!="number"?null:Math.ceil(this.totalLength/this.pageSize)}get actuallyHasNextPage(){return typeof this.hasNextPage=="boolean"?this.hasNextPage:typeof this.totalLength!="number"?!1:this.page*this.pageSize *[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.paginator[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 20px}.paginator[_ngcontent-%COMP%] .field-items-per-page[_ngcontent-%COMP%]{width:140px}"]})}}return t})();var Et=(()=>{class t{constructor(){this.transloco=f(b)}transform(e){return U(e,this.transloco.getActiveLang())}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275pipe=x({name:"timeAgo",type:t,pure:!1,standalone:!0})}}return t})();export{X as a,It as b,Et as c}; diff --git a/webui/dist/bitmagnet/browser/chunk-WC5EMJNC.js b/webui/dist/bitmagnet/browser/chunk-WC5EMJNC.js deleted file mode 100644 index 60ad111a..00000000 --- a/webui/dist/bitmagnet/browser/chunk-WC5EMJNC.js +++ /dev/null @@ -1,3 +0,0 @@ -import{a as Ft,b as Nt,c as jt,k as Kt}from"./chunk-ISQ7AX2Q.js";import{c as Gt}from"./chunk-GLXU5TTY.js";import{c as Qt}from"./chunk-PX3TOMGC.js";import{a as ut}from"./chunk-FNMD7JET.js";import{a as L}from"./chunk-P4IGP6ZM.js";import{Ba as kt,Ea as z,Ja as Et,Ka as Mt,La as It,Ma as At,Na as Vt,O as gt,Oa as Bt,Pa as $t,Q as xt,Qa as Pt,Ra as Ot,S as Ct,Sa as Dt,T as Tt,Ta as Ht,U as ft,Ua as zt,V as O,Va as Rt,Wa as Lt,X as D,Z as ht,_a as R,b as P,ba as bt,da as vt,fa as wt,ga as St,ha as yt,j as st,k as ct,l as mt,m as pt,s as dt,t as _t,wa as H}from"./chunk-HZYDZMJ4.js";import{c as at,d as rt,g as j,h as K,i as lt}from"./chunk-6XXA7HXI.js";import{i as it,k as ot}from"./chunk-CMNWCZJM.js";import{$b as l,Cb as d,Ea as _,Fa as u,Gb as W,Hb as p,Kb as X,Mb as w,N as A,Na as B,Nb as F,Ob as Q,Pb as N,Qb as a,Rb as r,Sb as h,Tb as b,Ub as v,Wb as f,Zb as x,a as U,ad as nt,b as q,cc as y,h as Y,ha as E,hb as J,jc as G,kb as i,kc as m,lc as g,mc as T,nc as Z,o as I,pc as $,qa as S,qc as tt,ua as V,vc as k,wc as M,xc as et}from"./chunk-Z3WUIYN5.js";function Xt(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(2).$implicit;i(),g(t("torrents.copy"))}}function Zt(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"content_copy"),r(),d(2,Xt,2,1,"span",7)),e&2){let t=l(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function te(e,s){if(e&1&&(a(0,"mat-card")(1,"mat-card-actions",8)(2,"button",9),h(3,"mat-icon",10),m(4),r(),a(5,"button",9)(6,"mat-icon"),m(7,"tag"),r(),m(8),r()()()),e&2){let t=l().$implicit,n=l();i(2),p("disabled",!n.selectedItems.length)("matTooltip",t("torrents.copy_to_clipboard"))("cdkCopyToClipboard",n.getSelectedMagnetLinks()),i(2),T("",t("torrents.magnet_links")," "),i(),p("disabled",!n.selectedItems.length)("matTooltip",t("torrents.copy_to_clipboard"))("cdkCopyToClipboard",n.getSelectedInfoHashesLines()),i(3),T("",t("torrents.info_hashes")," ")}}function ee(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(2).$implicit;i(),g(t("torrents.edit_tags"))}}function ne(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"sell"),r(),d(2,ee,2,1,"span",7)),e&2){let t=l(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ie(e,s){if(e&1){let t=f();a(0,"mat-chip-row",18),x("edited",function(o){let c=_(t).$implicit,C=l(3);return u(C.renameTag(c,o.value))})("removed",function(){let o=_(t).$implicit,c=l(3);return u(c.deleteTag(o))}),m(1),a(2,"mat-icon",19),m(3,"cancel"),r()()}if(e&2){let t=s.$implicit;p("editable",!0)("aria-description","press enter to edit"),i(),T(" ",t," ")}}function oe(e,s){if(e&1&&(a(0,"mat-option",16),m(1),r()),e&2){let t=s.$implicit;p("value",t),i(),g(t)}}function ae(e,s){if(e&1){let t=f();a(0,"mat-card")(1,"mat-form-field",11)(2,"mat-chip-grid",12,0),Q(4,ie,4,3,"mat-chip-row",13,F),r(),a(6,"input",14),x("matChipInputTokenEnd",function(o){_(t);let c=l(2);return u(o.value&&c.addTag(o.value))}),r(),a(7,"mat-autocomplete",15,1),x("optionSelected",function(o){_(t);let c=l(2);return u(c.addTag(o.option.viewValue))}),Q(9,oe,2,2,"mat-option",16,F),r()(),a(11,"mat-card-actions",8)(12,"button",17),x("click",function(){_(t);let o=l(2);return u(o.setTags())}),m(13),r(),a(14,"button",17),x("click",function(){_(t);let o=l(2);return u(o.putTags())}),m(15),r(),a(16,"button",17),x("click",function(){_(t);let o=l(2);return u(o.deleteTags())}),m(17),r()()()}if(e&2){let t=G(3),n=G(8),o=l().$implicit,c=l();i(4),N(c.editedTags),i(2),y("placeholder",o("torrents.tags.placeholder")),p("formControl",c.newTagCtrl)("matAutocomplete",n)("matChipInputFor",t)("matChipInputSeparatorKeyCodes",c.separatorKeysCodes)("value",c.newTagCtrl.value),i(3),N(c.suggestedTags),i(3),y("matTooltip",o("torrents.tags.set_tip")),p("disabled",!c.selectedItems.length),i(),T(" ",o("torrents.tags.set")," "),i(),y("matTooltip",o("torrents.tags.put_tip")),p("disabled",!c.selectedItems.length||!c.editedTags.length&&!c.newTagCtrl.value),i(),T(" ",o("torrents.tags.put")," "),i(),y("matTooltip",o("torrents.tags.delete_tip")),p("disabled",!c.selectedItems.length||!c.editedTags.length&&!c.newTagCtrl.value),i(),T(" ",o("torrents.tags.delete")," ")}}function re(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(2).$implicit;i(),g(t("torrents.classification"))}}function le(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"category"),r(),d(2,re,2,1,"span",7)),e&2){let t=l(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function se(e,s){if(e&1){let t=f();a(0,"app-torrent-reprocess",20),x("updated",function(){_(t);let o=l(2);return u(o.updated.emit(null))}),r()}if(e&2){let t=l(2);p("infoHashes",t.selectedInfoHashes)}}function ce(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(2).$implicit;i(),g(t("torrents.delete"))}}function me(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"delete_forever"),r(),d(2,ce,2,1,"span",7)),e&2){let t=l(2);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function pe(e,s){if(e&1){let t=f();a(0,"mat-card")(1,"mat-card-content")(2,"p")(3,"strong"),m(4),r(),h(5,"br"),m(6),r()(),a(7,"mat-card-actions",8)(8,"button",21),x("click",function(){_(t);let o=l(2);return u(o.deleteTorrents())}),a(9,"mat-icon"),m(10,"delete_forever"),r(),m(11),r()()()}if(e&2){let t=l().$implicit,n=l();i(4),g(t("torrents.delete_are_you_sure")),i(2),T("",t("torrents.delete_action_cannot_be_undone"),". "),i(2),p("disabled",!n.selectedItems.length),i(3),T("",t("torrents.delete")," ")}}function de(e,s){if(e&1&&(a(0,"span",7),m(1),r()),e&2){let t=l(3).$implicit;i(),g(t("torrents.download"))}}function _e(e,s){if(e&1&&(a(0,"mat-icon"),m(1,"download_for_offline"),r(),d(2,de,2,1,"span",7)),e&2){let t=l(3);i(2),w(t.breakpoints.sizeAtLeast("Medium")?2:-1)}}function ue(e,s){if(e&1){let t=f();a(0,"mat-card")(1,"mat-card-content")(2,"p")(3,"strong"),m(4),r()()(),a(5,"mat-card-actions",8)(6,"button",22),x("click",function(){_(t);let o=l(3);return u(o.downloadTorrents())}),a(7,"mat-icon"),m(8,"download_for_offline"),r(),m(9),r()()()}if(e&2){let t=l(2).$implicit,n=l();i(4),g(t("torrents.download_confirm")),i(2),p("disabled",!n.selectedItems.length),i(3),T("",t("torrents.download")," ")}}function ge(e,s){e&1&&(a(0,"mat-tab"),d(1,_e,3,1,"ng-template",5)(2,ue,10,3,"ng-template",6),r())}function xe(e,s){e&1&&(a(0,"mat-icon",23),m(1,"close"),r())}function Ce(e,s){e&1&&(a(0,"mat-tab"),d(1,xe,2,0,"ng-template",5),r())}function Te(e,s){if(e&1){let t=f();b(0),a(1,"mat-tab-group",3),x("focusChange",function(o){_(t);let c=l();return u(c.selectTab(o.index==(c.downloadEnabled?6:5)?0:o.index))}),h(2,"mat-tab",4),a(3,"mat-tab"),d(4,Zt,3,1,"ng-template",5)(5,te,9,8,"ng-template",6),r(),a(6,"mat-tab"),d(7,ne,3,1,"ng-template",5)(8,ae,18,15,"ng-template",6),r(),a(9,"mat-tab"),d(10,le,3,1,"ng-template",5)(11,se,1,1,"ng-template",6),r(),a(12,"mat-tab"),d(13,me,3,1,"ng-template",5)(14,pe,12,4,"ng-template",6),r(),d(15,ge,3,0,"mat-tab")(16,Ce,2,0,"mat-tab"),r(),v()}if(e&2){let t=l();i(),p("selectedIndex",t.selectedTabIndex)("mat-stretch-tabs",!1),i(),p("aria-labelledby","hidden"),i(13),w(t.downloadEnabled?15:-1),i(),w(t.selectedTabIndex>0?16:-1)}}var ln=(()=>{class e{constructor(){this.graphQLService=S(gt),this.errorsService=S(ut),this.breakpoints=S(L),this.selectedItems$=new Y,this.updated=new B,this.separatorKeysCodes=[13,188],this.selectedTabIndex=0,this.newTagCtrl=new mt(""),this.editedTags=Array(),this.suggestedTags=Array(),this.selectedItems=new Array,this.selectedInfoHashes=new Array,this.downloadEnabled=!1}ngOnInit(){this.selectedItems$.subscribe(t=>{this.selectedItems=t,this.selectedInfoHashes=t.map(n=>n.infoHash)}),this.newTagCtrl.reset(),this.graphQLService.downloadClientEnabledQuery().subscribe({next:t=>{this.downloadEnabled=t}})}selectTab(t){this.selectedTabIndex=t}getSelectedMagnetLinks(){return this.selectedItems.map(t=>t.torrent.magnetUri).join(` -`)}getSelectedInfoHashesLines(){return this.selectedInfoHashes.join(` -`)}addTag(t){this.editedTags.includes(t)||this.editedTags.push(t),this.newTagCtrl.reset(),this.updateSuggestedTags()}deleteTag(t){this.editedTags=this.editedTags.filter(n=>n!==t),this.updateSuggestedTags()}renameTag(t,n){this.editedTags=this.editedTags.map(o=>o===t?n:o),this.updateSuggestedTags()}putTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentPutTags({infoHashes:t,tagNames:this.editedTags}).pipe(A(n=>(this.errorsService.addError(`Error putting tags: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}setTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentSetTags({infoHashes:t,tagNames:this.editedTags}).pipe(A(n=>(this.errorsService.addError(`Error setting tags: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}deleteTags(){let t=this.selectedItems.map(({infoHash:n})=>n);if(t.length)return this.newTagCtrl.value&&this.addTag(this.newTagCtrl.value),this.graphQLService.torrentDeleteTags({infoHashes:t,tagNames:this.editedTags}).pipe(A(n=>(this.errorsService.addError(`Error deleting tags: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}updateSuggestedTags(){return this.graphQLService.torrentSuggestTags({input:{prefix:this.newTagCtrl.value,exclusions:this.editedTags}}).pipe(E(t=>{this.suggestedTags.splice(0,this.suggestedTags.length,...t.suggestions.map(n=>n.name))})).subscribe()}deleteTorrents(){let t=this.selectedItems.map(({infoHash:n})=>n);this.graphQLService.torrentDelete({infoHashes:t}).pipe(A(n=>(this.errorsService.addError(`Error deleting torrents: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}downloadTorrents(){let t=this.selectedItems.map(({infoHash:n})=>n);this.graphQLService.clientDownload({infoHashes:t}).pipe(A(n=>(this.errorsService.addError(`Error downloading torrents: ${n.message}`),I))).pipe(E(()=>{this.updated.emit()})).subscribe()}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=V({type:e,selectors:[["app-torrents-bulk-actions"]],inputs:{selectedItems$:"selectedItems$"},outputs:{updated:"updated"},standalone:!0,features:[$],decls:1,vars:0,consts:[["chipGrid",""],["auto","matAutocomplete"],[4,"transloco"],["animationDuration","0",1,"tab-group-bulk-actions",3,"focusChange","selectedIndex","mat-stretch-tabs"],[1,"bulk-tab-placeholder",3,"aria-labelledby"],["mat-tab-label",""],["matTabContent",""],[1,"label"],[1,"button-row"],["mat-stroked-button","",3,"disabled","matTooltip","cdkCopyToClipboard"],["svgIcon","magnet"],["subscriptSizing","dynamic",1,"form-edit-tags"],["aria-label","Enter tags"],[3,"editable","aria-description"],[3,"matChipInputTokenEnd","placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","value"],[3,"optionSelected"],[3,"value"],["mat-stroked-button","","color","primary",3,"click","disabled","matTooltip"],[3,"edited","removed","editable","aria-description"],["matChipRemove",""],[3,"updated","infoHashes"],["mat-stroked-button","","color","warning",3,"click","disabled"],["mat-stroked-button","","color","warn",3,"click","disabled"],[2,"margin-right","0"]],template:function(n,o){n&1&&d(0,Te,17,5,"ng-container",2)},dependencies:[R,xt,Tt,dt,ft,_t,O,ht,D,wt,St,bt,vt,Ct,H,Ht,zt,Rt,Lt,z,st,ct,pt,P,Ft],styles:["mat-tab-group[_ngcontent-%COMP%]{padding-left:10px}.mat-mdc-card[_ngcontent-%COMP%]{margin-bottom:10px}button[_ngcontent-%COMP%]{margin-right:10px}p[_ngcontent-%COMP%]{margin-top:0} .mdc-tab[aria-labelledby=hidden]{display:none}"]})}}return e})();var fe=()=>["expandedDetail"];function he(e,s){if(e&1){let t=f();a(0,"th",19)(1,"mat-checkbox",20),x("change",function(){_(t);let o=l(2);return u(o.toggleAllRows())}),r()()}if(e&2){let t=l().$implicit,n=l();i(),p("checked",n.multiSelection.hasValue()&&n.isAllSelected())("indeterminate",n.multiSelection.hasValue()&&!n.isAllSelected())("matTooltip",n.isAllSelected()?t("torrents.deselect_all"):t("torrents.select_all"))}}function be(e,s){if(e&1){let t=f();a(0,"td",21)(1,"mat-checkbox",22),x("click",function(o){return _(t),u(o.stopPropagation())})("change",function(o){let c=_(t).$implicit,C=l(2);return u(o?C.multiSelection.toggle(C.item(c).infoHash):null)}),r()()}if(e&2){let t=s.$implicit,n=l(2);i(),p("checked",n.multiSelection.isSelected(n.item(t).infoHash))}}function ve(e,s){if(e&1&&(a(0,"th",19),m(1),r()),e&2){let t=l().$implicit;i(),g(t("torrents.summary"))}}function we(e,s){if(e&1&&(a(0,"p",26),m(1),r()),e&2){let t=l().$implicit,n=l(2);i(),g(n.item(t).torrent.name)}}function Se(e,s){if(e&1){let t=f();a(0,"td",23),x("click",function(o){let c=_(t).$implicit;return l(2).toggleSelectedTorrent(c.infoHash),u(o.stopPropagation())}),a(1,"mat-icon",24),m(2),r(),a(3,"span",25),m(4),r(),d(5,we,2,1,"p",26),h(6,"app-torrent-chips",27),r()}if(e&2){let t,n,o=s.$implicit,c=l().$implicit,C=l();i(),p("matTooltip",c("content_types.singular."+((t=C.item(o).contentType)!==null&&t!==void 0?t:"null"))),i(),g((n=(n=C.contentTypeInfo(C.item(o).contentType))==null?null:n.icon)!==null&&n!==void 0?n:"question_mark"),i(2),g(C.item(o).title),i(),w(C.item(o).title!==C.item(o).torrent.name?5:-1),i(),p("torrentContent",o)}}function ye(e,s){if(e&1&&(a(0,"th",19),m(1),r()),e&2){let t=l().$implicit;i(),g(t("torrents.size"))}}function ke(e,s){if(e&1&&(a(0,"td",21)(1,"span",28),k(2,"filesize"),m(3),k(4,"filesize"),r()()),e&2){let t=s.$implicit,n=l(2);i(),p("matTooltip",et(2,2,n.item(t).torrent.size,10)),i(2),g(M(4,5,n.item(t).torrent.size))}}function Ee(e,s){if(e&1&&(a(0,"th",19),m(1),r()),e&2){let t=l().$implicit;i(),g(t("torrents.published"))}}function Me(e,s){if(e&1&&(a(0,"td",29)(1,"abbr",30),m(2),k(3,"timeAgo"),r()()),e&2){let t=s.$implicit,n=l(2);i(),y("matTooltip",n.item(t).publishedAt),i(),T(" ",M(3,2,n.item(t).publishedAt)," ")}}function Ie(e,s){if(e&1&&(a(0,"th",19)(1,"abbr",24),m(2),r()()),e&2){let t=l().$implicit;i(),p("matTooltip",t("torrents.seeders")+" / "+t("torrents.leechers")),i(),g(t("torrents.s_l"))}}function Ae(e,s){if(e&1&&(a(0,"td",21),m(1),r()),e&2){let t,n=s.$implicit,o=l(2);i(),Z(" ",(t=o.item(n).seeders)!==null&&t!==void 0?t:"?"," / ",(t=o.item(n).leechers)!==null&&t!==void 0?t:"?"," ")}}function Ve(e,s){if(e&1&&(a(0,"th",31),m(1),r()),e&2){let t=l().$implicit;i(),T(" ",t("torrents.magnet")," ")}}function Be(e,s){if(e&1&&(a(0,"td",21)(1,"a",32),h(2,"mat-icon",33),r()()),e&2){let t=s.$implicit,n=l(2);i(),y("href",n.item(t).torrent.magnetUri,J)}}function $e(e,s){if(e&1){let t=f();a(0,"td",21)(1,"div",34),k(2,"async"),a(3,"mat-card",35)(4,"mat-card-content")(5,"app-torrent-content",36),k(6,"async"),x("updated",function(){let o=_(t).$implicit,c=l(2);return u(c.updated.emit(c.item(o).infoHash))})("tabSelected",function(o){let c=_(t).$implicit,C=l(2);return u(C.controller.selectTorrent(c.infoHash,o||null))}),r()()()()()}if(e&2){let t,n,o=s.$implicit,c=l(2);W("colspan",c.displayedColumns.length),i(),p("@detailExpand",((t=M(2,7,c.controller.selection$))==null?null:t.infoHash)==o.infoHash?"expanded":"collapsed"),i(4),p("torrentContent",o)("size",!1)("published",c.breakpoints.sizeAtLeast("Medium"))("peers",c.breakpoints.sizeAtLeast("Medium"))("selectedTab",(n=M(6,9,c.controller.selection$))==null?null:n.tab)}}function Pe(e,s){e&1&&h(0,"tr",37)}function Oe(e,s){if(e&1&&(h(0,"tr",38),k(1,"async")),e&2){let t,n=s.$implicit,o=l(2);X("summary-row "+((t=M(1,2,o.controller.selection$))==null?null:t.infoHash)==n.infoHash?"expanded":"collapsed")}}function De(e,s){e&1&&h(0,"tr",39)}function He(e,s){if(e&1&&(b(0),a(1,"div",1),h(2,"mat-progress-bar",2),k(3,"async"),r(),a(4,"table",3),b(5,4),d(6,he,2,3,"th",5)(7,be,2,1,"td",6),v(),b(8,7),d(9,ve,2,1,"th",5)(10,Se,7,5,"td",8),v(),b(11,9),d(12,ye,2,1,"th",5)(13,ke,5,7,"td",6),v(),b(14,10),d(15,Ee,2,1,"th",5)(16,Me,4,4,"td",11),v(),b(17,12),d(18,Ie,3,2,"th",5)(19,Ae,2,2,"td",6),v(),b(20,13),d(21,Ve,2,1,"th",14)(22,Be,3,1,"td",6),v(),b(23,15),d(24,$e,7,11,"td",6),v(),d(25,Pe,1,0,"tr",16)(26,Oe,2,4,"tr",17)(27,De,1,0,"tr",18),r(),v()),e&2){let t=l();i(2),p("mode",M(3,7,t.dataSource.loading$)?"indeterminate":"determinate")("value",0),i(2),p("dataSource",t.dataSource)("multiTemplateDataRows",!0),i(21),p("matHeaderRowDef",t.displayedColumns),i(),p("matRowDefColumns",t.displayedColumns),i(),p("matRowDefColumns",tt(9,fe))}}var kn=(()=>{class e{constructor(){this.route=S(it),this.router=S(ot),this.breakpoints=S(L),this.contentTypeInfo=Qt,this.displayedColumns=ze,this.updated=new B,this.items=Array()}ngOnInit(){this.dataSource.items$.subscribe(t=>{this.items=t})}isAllSelected(){return this.items.every(t=>this.multiSelection.isSelected(t.infoHash))}toggleAllRows(){if(this.isAllSelected()){this.multiSelection.clear();return}this.multiSelection.select(...this.items.map(t=>t.infoHash))}toggleSelectedTorrent(t){this.controller.update(n=>q(U({},n),{selectedTorrent:n.selectedTorrent?.infoHash===t?void 0:{infoHash:t,tab:n.selectedTorrent?.tab}}))}item(t){return t}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=V({type:e,selectors:[["app-torrents-table"]],inputs:{dataSource:"dataSource",controller:"controller",multiSelection:"multiSelection",displayedColumns:"displayedColumns"},outputs:{updated:"updated"},standalone:!0,features:[$],decls:1,vars:0,consts:[[4,"transloco"],[1,"progress-bar-container"],[3,"mode","value"],["mat-table","",1,"table-torrents",3,"dataSource","multiTemplateDataRows"],["matColumnDef","select"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","summary"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","size"],["matColumnDef","publishedAt"],["class","td-published-at","mat-cell","",4,"matCellDef"],["matColumnDef","peers"],["matColumnDef","magnet"],["mat-header-cell","","style","text-align: center",4,"matHeaderCellDef"],["matColumnDef","expandedDetail"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"class",4,"matRowDef","matRowDefColumns"],["mat-row","","class","expanded-detail-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[3,"change","checked","indeterminate","matTooltip"],["mat-cell",""],[3,"click","change","checked"],["mat-cell","",3,"click"],[3,"matTooltip"],[1,"title"],[1,"original-name"],[3,"torrentContent"],[1,"filesize",3,"matTooltip"],["mat-cell","",1,"td-published-at"],["matTooltipClass","tooltip-published-at",3,"matTooltip"],["mat-header-cell","",2,"text-align","center"],[3,"href"],["svgIcon","magnet"],[1,"item-detail"],[1,"torrent-permalink"],[3,"updated","tabSelected","torrentContent","size","published","peers","selectedTab"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"expanded-detail-row"]],template:function(n,o){n&1&&d(0,He,28,10,"ng-container",0)},dependencies:[R,O,D,yt,H,kt,Et,It,$t,At,Mt,Pt,Vt,Bt,Ot,Dt,z,P,nt,Nt,Gt,jt,Kt],styles:[".progress-bar-container[_ngcontent-%COMP%]{height:10px}th.cdk-column-select[_ngcontent-%COMP%], td.cdk-column-select[_ngcontent-%COMP%]{padding-right:0}td.mat-column-summary[_ngcontent-%COMP%]{vertical-align:middle;cursor:pointer;white-space:pre-wrap;padding-top:8px;padding-bottom:8px}td.mat-column-summary[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{line-height:30px;overflow:hidden;margin-right:20px;font-weight:700}td.mat-column-summary[_ngcontent-%COMP%] .original-name[_ngcontent-%COMP%]{margin:2px 0 8px 34px}td.mat-column-summary[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], td.mat-column-summary[_ngcontent-%COMP%] .original-name[_ngcontent-%COMP%]{white-space:pre-wrap;word-break:break-word;overflow-wrap:break-word}td.mat-column-summary[_ngcontent-%COMP%] > .mat-icon[_ngcontent-%COMP%]{display:inline-block;position:relative;top:6px;margin-right:10px}td.mat-column-summary[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{display:inline-block;margin-left:10px}td.mat-column-summary[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{margin:2px 10px 2px 0}tr.expanded-detail-row[_ngcontent-%COMP%]{height:0}tr.mat-mdc-row.expanded[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom:0}app-torrent-content[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px}.mat-column-magnet[_ngcontent-%COMP%]{text-align:center}.mat-column-magnet[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}.item-detail[_ngcontent-%COMP%]{width:100%;overflow:hidden}.td-published-at[_ngcontent-%COMP%] abbr[_ngcontent-%COMP%]{cursor:default;text-decoration:underline;text-decoration-style:dotted}.cdk-column-peers[_ngcontent-%COMP%]{white-space:nowrap}span.filesize[_ngcontent-%COMP%]{text-decoration:underline;text-decoration-style:dotted;cursor:default}"],data:{animation:[at("detailExpand",[K("collapsed,void",j({height:"0px",minHeight:"0"})),K("expanded",j({height:"*"})),lt("expanded <=> collapsed",rt("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return e})(),ze=["select","summary","size","publishedAt","peers","magnet"],En=["select","summary","size","magnet"];export{ln as a,kn as b,ze as c,En as d}; diff --git a/webui/dist/bitmagnet/browser/chunk-3IKCDSDW.js b/webui/dist/bitmagnet/browser/chunk-WUPPTVXO.js similarity index 98% rename from webui/dist/bitmagnet/browser/chunk-3IKCDSDW.js rename to webui/dist/bitmagnet/browser/chunk-WUPPTVXO.js index 77bdcb53..c1fd5dd1 100644 --- a/webui/dist/bitmagnet/browser/chunk-3IKCDSDW.js +++ b/webui/dist/bitmagnet/browser/chunk-WUPPTVXO.js @@ -1 +1 @@ -import{g as oe,j as ae}from"./chunk-6OKZFKY7.js";import{b as ie}from"./chunk-PX3TOMGC.js";import{a as Y}from"./chunk-FNMD7JET.js";import{a as ne}from"./chunk-DSEDLZDW.js";import{Ca as O,E as z,F as H,Fa as te,P as K,R as W,S as X,V as y,X as Z,_a as S,b as q,h as I,ha as R,ia as N,ja as ee,la as B,ma as A,na as J,s as L,t as V,u as U}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{$b as a,B as F,Cb as f,Ea as m,Fa as p,Hb as g,Mb as E,N as P,Nb as G,Ob as Q,Pb as w,Qb as s,Rb as r,Sb as h,Tb as D,Ub as v,Wb as x,Zb as _,kb as i,kc as c,lc as d,mc as C,nc as $,o as M,pc as k,qa as b,tc as j,ua as T}from"./chunk-Z3WUIYN5.js";var he=(n,l)=>l.key;function xe(n,l){if(n&1&&(s(0,"mat-option",8),c(1),r()),n&2){let e=l.$implicit,t=a(2).$implicit;g("value",e.key),i(),C(" ",t("content_types.plural."+e.key)," ")}}function fe(n,l){if(n&1){let e=x();s(0,"section")(1,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.purge=o.checked)}),c(2),r(),h(3,"br"),s(4,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return u.localSearchDisabled=!o.checked,p(u.apisDisabled=o.checked?u.apisDisabled:!0)}),c(5),r(),h(6,"br"),s(7,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.apisDisabled=!o.checked)}),c(8),r(),h(9,"br"),s(10,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.classifierRematch=o.checked)}),c(11),r(),h(12,"br"),s(13,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return u.orphans=o.checked,p(u.contentTypes=o.checked?["all"]:u.contentTypes)}),c(14),r(),h(15,"br"),s(16,"mat-form-field",5)(17,"mat-label"),c(18),r(),s(19,"mat-select",6),_("selectionChange",function(o){m(e);let u=a(2);return p(u.onContentTypeSelectionChange(o))}),s(20,"mat-option",7),c(21),r(),Q(22,xe,2,2,"mat-option",8,he),r()()()}if(n&2){let e=a().$implicit,t=a();i(),g("checked",t.purge),i(),d(e("dashboard.queues.purge_queue_jobs")),i(2),g("checked",!t.localSearchDisabled),i(),d(e("torrents.reprocess.match_content_by_local_search")),i(2),g("checked",!t.apisDisabled),i(),d(e("torrents.reprocess.match_content_by_external_api_search")),i(2),g("checked",t.classifierRematch),i(),d(e("torrents.reprocess.force_rematch")),i(2),g("checked",t.orphans),i(),d(e("dashboard.queues.process_orphaned_torrents_only")),i(4),d(e("facets.content_type")),i(),g("value",t.contentTypes),i(2),d(e("general.all")),i(),w(t.allContentTypes)}}function Ce(n,l){n&1&&h(0,"mat-spinner")}function be(n,l){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a().$implicit;i(),d(e("dashboard.queues.jobs_enqueued"))}}function Te(n,l){if(n&1){let e=x();s(0,"button",9),_("click",function(){m(e);let o=a(2);return p(o.handleEnqueue())}),c(1),r()}if(n&2){let e=a().$implicit;i(),C(" ",e("dashboard.queues.enqueue_jobs")," ")}}function Ee(n,l){if(n&1){let e=x();D(0),s(1,"mat-card")(2,"h2",1),c(3),r(),s(4,"mat-dialog-content"),f(5,fe,24,13,"section")(6,Ce,1,0,"mat-spinner")(7,be,2,1,"p"),r(),s(8,"mat-dialog-actions"),f(9,Te,2,1,"button",2),s(10,"button",3),_("click",function(){m(e);let o=a();return p(o.dialogRef.close())}),c(11),r()()(),v()}if(n&2){let e=l.$implicit,t=a();i(3),C(" ",e("dashboard.queues.enqueue_torrent_processing_batch")," "),i(2),E(t.stage==="PENDING"?5:t.stage==="REQUESTING"?6:t.stage==="DONE"?7:-1),i(4),E(t.stage==="PENDING"?9:-1),i(2),C(" ",e("general.dismiss")," ")}}var ue=(()=>{class n{constructor(){this.apollo=b(I),this.dialogRef=b(N),this.errorsService=b(Y),this.allContentTypes=ie,this.stage="PENDING",this.purge=!0,this.apisDisabled=!0,this.localSearchDisabled=!0,this.classifierRematch=!1,this.contentTypes=["all"],this.orphans=!1}handleEnqueue(){this.stage==="PENDING"&&(this.stage="REQUESTING",this.apollo.mutate({mutation:z,variables:{input:{purge:this.purge,apisDisabled:this.apisDisabled,localSearchDisabled:this.localSearchDisabled,classifierRematch:this.classifierRematch,contentTypes:this.contentTypes.includes("all")?void 0:this.contentTypes.map(e=>e==="null"?null:e),orphans:this.orphans?!0:void 0}}}).pipe(P(e=>(this.errorsService.addError(e.message),this.dialogRef.close(),M))).subscribe(()=>{this.stage="DONE",this.data.onEnqueued?.()}))}onContentTypeSelectionChange(e){!Array.isArray(e.value)||!e.value.length||e.value.includes("all")&&(!this.contentTypes.includes("all")||e.value.length===1)?this.contentTypes=["all"]:(this.orphans=!1,this.contentTypes=this.allContentTypes.map(t=>t.key).filter(t=>e.value.includes(t)))}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=T({type:n,selectors:[["app-queue-enqueue-reprocess-torrents-batch-dialog"]],standalone:!0,features:[k],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],["mat-stroked-button","","color","warning"],["mat-stroked-button","",3,"click"],[3,"change","checked"],[1,"select-content-types"],["multiple","",3,"selectionChange","value"],["value","all"],[3,"value"],["mat-stroked-button","","color","warning",3,"click"]],template:function(t,o){t&1&&f(0,Ee,12,4,"ng-container",0)},dependencies:[S,L,V,y,R,B,J,A,X,W,O,te,q],styles:["mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%;height:100%}.select-content-types[_ngcontent-%COMP%]{margin-top:10px}"]})}}return n})();function De(n,l){if(n&1){let e=x();s(0,"mat-checkbox",6),_("change",function(o){m(e);let u=a(3);return p(u.handleQueueEvent(o))}),c(1),r()}if(n&2){let e=l.$implicit,t=a(3);g("value",e)("checked",t.queues==null?null:t.queues.includes(e)),i(),d(e)}}function ve(n,l){if(n&1){let e=x();s(0,"mat-checkbox",6),_("change",function(o){m(e);let u=a(3);return p(u.handleStatusEvent(o))}),c(1),r()}if(n&2){let e=l.$implicit,t=a(2).$implicit,o=a();g("value",e)("checked",o.statuses==null?null:o.statuses.includes(e)),i(),d(t("dashboard.queues."+e))}}function ke(n,l){if(n&1){let e=x();s(0,"section")(1,"h4"),c(2),r(),s(3,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.handleQueueEvent(o))}),c(4),r(),Q(5,De,2,3,"mat-checkbox",5,G),r(),s(7,"section")(8,"h4"),c(9),r(),s(10,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.handleStatusEvent(o))}),c(11),r(),Q(12,ve,2,3,"mat-checkbox",5,G),r()}if(n&2){let e=a().$implicit,t=a();i(2),C("",e("dashboard.queues.queues"),":"),i(),g("checked",t.queues===void 0),i(),d(e("general.all")),i(),w(t.availableQueueNames),i(4),C("",e("general.status"),":"),i(),g("checked",t.statuses===void 0),i(),d(e("general.all")),i(),w(t.statusNames)}}function qe(n,l){n&1&&h(0,"mat-spinner")}function ye(n,l){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a(2).$implicit,t=a();i(),$("",e("general.error"),": ",t.error.message,"")}}function Se(n,l){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a(2).$implicit;i(),d(e("dashboard.queues.queue_purged"))}}function Qe(n,l){if(n&1&&f(0,ye,2,2,"p")(1,Se,2,1,"p"),n&2){let e=a(2);E(e.error?0:1)}}function we(n,l){if(n&1){let e=x();D(0),s(1,"mat-card")(2,"h2",1),c(3),r(),s(4,"mat-dialog-content"),f(5,ke,14,6)(6,qe,1,0,"mat-spinner")(7,Qe,2,1),r(),s(8,"mat-dialog-actions")(9,"button",2),_("click",function(){m(e);let o=a();return p(o.handlePurgeJobs())}),c(10),r(),s(11,"button",3),_("click",function(){m(e);let o=a();return p(o.dialogRef.close())}),c(12),r()()(),v()}if(n&2){let e=l.$implicit,t=a();i(3),d(e("dashboard.queues.purge_queue_jobs")),i(2),E(t.stage==="PENDING"?5:t.stage==="REQUESTING"?6:t.stage==="DONE"?7:-1),i(4),g("disabled",t.stage!=="PENDING"),i(),C(" ",e("dashboard.queues.purge_jobs")," "),i(2),C(" ",e("general.dismiss")," ")}}var me=(()=>{class n{constructor(){this.apollo=b(I),this.dialogRef=b(N),this.availableQueueNames=ae,this.statusNames=oe,this.stage="PENDING"}handleQueueEvent(e){if(e.source.value==="_all"){this.queues=void 0;return}if(e.checked){let t=this.queues??[];t.includes(e.source.value)||(t=[...t,e.source.value]),t.length===this.availableQueueNames.length?(e.source.checked=!1,this.queues=void 0):this.queues=t}else{let t=this.queues?.filter(o=>o!==e.source.value);t?.length?this.queues=t:this.queues=void 0}}handleStatusEvent(e){if(e.source.value==="_all"){this.statuses=void 0;return}if(e.checked){let t=this.statuses??[];t.includes(e.source.value)||(t=[...t,e.source.value]),t.length===this.statusNames.length?(e.source.checked=!1,this.statuses=void 0):this.statuses=t}else{let t=this.statuses?.filter(o=>o!==e.source.value);t?.length?this.statuses=t:this.statuses=void 0}}handlePurgeJobs(){this.stage==="PENDING"&&(this.stage="REQUESTING",this.apollo.mutate({mutation:H,variables:{input:{queues:this.queues,statuses:this.statuses}}}).pipe(P(e=>(this.stage="DONE",this.error=e,M)),F(()=>{this.stage="DONE",this.data?.onPurged?.()})).subscribe())}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=T({type:n,selectors:[["app-queue-purge-jobs-dialog"]],standalone:!0,features:[k],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],["mat-stroked-button","","color","warning",3,"click","disabled"],["mat-stroked-button","",3,"click"],["value","_all",3,"change","checked"],[3,"value","checked"],[3,"change","value","checked"]],template:function(t,o){t&1&&f(0,we,13,5,"ng-container",0)},dependencies:[S,V,y,R,B,J,A,O,q,K],styles:["mat-dialog-content[_ngcontent-%COMP%]{min-height:240px;overflow:visible}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return n})();var Me=(n,l,e)=>[n,l,e];function Pe(n,l){if(n&1){let e=x();D(0),h(1,"app-document-title",1),s(2,"mat-card")(3,"mat-card-content")(4,"ul")(5,"li")(6,"a",2),_("click",function(){m(e);let o=a();return p(o.openDialogPurgeJobs())}),c(7),r()(),s(8,"li")(9,"a",2),_("click",function(){m(e);let o=a();return p(o.openDialogEnqueueReprocessTorrentsBatch())}),c(10),r()()()()(),v()}if(n&2){let e=l.$implicit;i(),g("parts",j(3,Me,e("routes.admin"),e("routes.queues"),e("routes.dashboard"))),i(6),d(e("dashboard.queues.purge_queue_jobs")),i(3),d(e("dashboard.queues.enqueue_torrent_processing_batch"))}}var pt=(()=>{class n{constructor(){this.dialog=b(ee)}openDialogPurgeJobs(){this.dialog.open(me)}openDialogEnqueueReprocessTorrentsBatch(){this.dialog.open(ue)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=T({type:n,selectors:[["app-queue-admin"]],standalone:!0,features:[k],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],["mat-button","",3,"click"]],template:function(t,o){t&1&&f(0,Pe,11,7,"ng-container",0)},dependencies:[S,U,y,Z,q,ne],styles:["ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}"]})}}return n})();export{pt as QueueAdminComponent}; +import{g as oe,j as ae}from"./chunk-6OKZFKY7.js";import{b as ie}from"./chunk-PX3TOMGC.js";import{a as Y}from"./chunk-AY6Y76TX.js";import{a as ne}from"./chunk-DSEDLZDW.js";import{Ca as O,E as z,F as H,Fa as te,P as K,R as W,S as X,V as y,X as Z,_a as S,b as q,h as I,ha as R,ia as N,ja as ee,la as B,ma as A,na as J,s as L,t as V,u as U}from"./chunk-K5VIU67A.js";import"./chunk-6XXA7HXI.js";import"./chunk-CMNWCZJM.js";import{$b as a,B as F,Cb as f,Ea as m,Fa as p,Hb as g,Mb as E,N as P,Nb as G,Ob as Q,Pb as w,Qb as s,Rb as r,Sb as h,Tb as D,Ub as v,Wb as x,Zb as _,kb as i,kc as c,lc as d,mc as C,nc as $,o as M,pc as k,qa as b,tc as j,ua as T}from"./chunk-Z3WUIYN5.js";var he=(n,l)=>l.key;function xe(n,l){if(n&1&&(s(0,"mat-option",8),c(1),r()),n&2){let e=l.$implicit,t=a(2).$implicit;g("value",e.key),i(),C(" ",t("content_types.plural."+e.key)," ")}}function fe(n,l){if(n&1){let e=x();s(0,"section")(1,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.purge=o.checked)}),c(2),r(),h(3,"br"),s(4,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return u.localSearchDisabled=!o.checked,p(u.apisDisabled=o.checked?u.apisDisabled:!0)}),c(5),r(),h(6,"br"),s(7,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.apisDisabled=!o.checked)}),c(8),r(),h(9,"br"),s(10,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.classifierRematch=o.checked)}),c(11),r(),h(12,"br"),s(13,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return u.orphans=o.checked,p(u.contentTypes=o.checked?["all"]:u.contentTypes)}),c(14),r(),h(15,"br"),s(16,"mat-form-field",5)(17,"mat-label"),c(18),r(),s(19,"mat-select",6),_("selectionChange",function(o){m(e);let u=a(2);return p(u.onContentTypeSelectionChange(o))}),s(20,"mat-option",7),c(21),r(),Q(22,xe,2,2,"mat-option",8,he),r()()()}if(n&2){let e=a().$implicit,t=a();i(),g("checked",t.purge),i(),d(e("dashboard.queues.purge_queue_jobs")),i(2),g("checked",!t.localSearchDisabled),i(),d(e("torrents.reprocess.match_content_by_local_search")),i(2),g("checked",!t.apisDisabled),i(),d(e("torrents.reprocess.match_content_by_external_api_search")),i(2),g("checked",t.classifierRematch),i(),d(e("torrents.reprocess.force_rematch")),i(2),g("checked",t.orphans),i(),d(e("dashboard.queues.process_orphaned_torrents_only")),i(4),d(e("facets.content_type")),i(),g("value",t.contentTypes),i(2),d(e("general.all")),i(),w(t.allContentTypes)}}function Ce(n,l){n&1&&h(0,"mat-spinner")}function be(n,l){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a().$implicit;i(),d(e("dashboard.queues.jobs_enqueued"))}}function Te(n,l){if(n&1){let e=x();s(0,"button",9),_("click",function(){m(e);let o=a(2);return p(o.handleEnqueue())}),c(1),r()}if(n&2){let e=a().$implicit;i(),C(" ",e("dashboard.queues.enqueue_jobs")," ")}}function Ee(n,l){if(n&1){let e=x();D(0),s(1,"mat-card")(2,"h2",1),c(3),r(),s(4,"mat-dialog-content"),f(5,fe,24,13,"section")(6,Ce,1,0,"mat-spinner")(7,be,2,1,"p"),r(),s(8,"mat-dialog-actions"),f(9,Te,2,1,"button",2),s(10,"button",3),_("click",function(){m(e);let o=a();return p(o.dialogRef.close())}),c(11),r()()(),v()}if(n&2){let e=l.$implicit,t=a();i(3),C(" ",e("dashboard.queues.enqueue_torrent_processing_batch")," "),i(2),E(t.stage==="PENDING"?5:t.stage==="REQUESTING"?6:t.stage==="DONE"?7:-1),i(4),E(t.stage==="PENDING"?9:-1),i(2),C(" ",e("general.dismiss")," ")}}var ue=(()=>{class n{constructor(){this.apollo=b(I),this.dialogRef=b(N),this.errorsService=b(Y),this.allContentTypes=ie,this.stage="PENDING",this.purge=!0,this.apisDisabled=!0,this.localSearchDisabled=!0,this.classifierRematch=!1,this.contentTypes=["all"],this.orphans=!1}handleEnqueue(){this.stage==="PENDING"&&(this.stage="REQUESTING",this.apollo.mutate({mutation:z,variables:{input:{purge:this.purge,apisDisabled:this.apisDisabled,localSearchDisabled:this.localSearchDisabled,classifierRematch:this.classifierRematch,contentTypes:this.contentTypes.includes("all")?void 0:this.contentTypes.map(e=>e==="null"?null:e),orphans:this.orphans?!0:void 0}}}).pipe(P(e=>(this.errorsService.addError(e.message),this.dialogRef.close(),M))).subscribe(()=>{this.stage="DONE",this.data.onEnqueued?.()}))}onContentTypeSelectionChange(e){!Array.isArray(e.value)||!e.value.length||e.value.includes("all")&&(!this.contentTypes.includes("all")||e.value.length===1)?this.contentTypes=["all"]:(this.orphans=!1,this.contentTypes=this.allContentTypes.map(t=>t.key).filter(t=>e.value.includes(t)))}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=T({type:n,selectors:[["app-queue-enqueue-reprocess-torrents-batch-dialog"]],standalone:!0,features:[k],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],["mat-stroked-button","","color","warning"],["mat-stroked-button","",3,"click"],[3,"change","checked"],[1,"select-content-types"],["multiple","",3,"selectionChange","value"],["value","all"],[3,"value"],["mat-stroked-button","","color","warning",3,"click"]],template:function(t,o){t&1&&f(0,Ee,12,4,"ng-container",0)},dependencies:[S,L,V,y,R,B,J,A,X,W,O,te,q],styles:["mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%;height:100%}.select-content-types[_ngcontent-%COMP%]{margin-top:10px}"]})}}return n})();function De(n,l){if(n&1){let e=x();s(0,"mat-checkbox",6),_("change",function(o){m(e);let u=a(3);return p(u.handleQueueEvent(o))}),c(1),r()}if(n&2){let e=l.$implicit,t=a(3);g("value",e)("checked",t.queues==null?null:t.queues.includes(e)),i(),d(e)}}function ve(n,l){if(n&1){let e=x();s(0,"mat-checkbox",6),_("change",function(o){m(e);let u=a(3);return p(u.handleStatusEvent(o))}),c(1),r()}if(n&2){let e=l.$implicit,t=a(2).$implicit,o=a();g("value",e)("checked",o.statuses==null?null:o.statuses.includes(e)),i(),d(t("dashboard.queues."+e))}}function ke(n,l){if(n&1){let e=x();s(0,"section")(1,"h4"),c(2),r(),s(3,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.handleQueueEvent(o))}),c(4),r(),Q(5,De,2,3,"mat-checkbox",5,G),r(),s(7,"section")(8,"h4"),c(9),r(),s(10,"mat-checkbox",4),_("change",function(o){m(e);let u=a(2);return p(u.handleStatusEvent(o))}),c(11),r(),Q(12,ve,2,3,"mat-checkbox",5,G),r()}if(n&2){let e=a().$implicit,t=a();i(2),C("",e("dashboard.queues.queues"),":"),i(),g("checked",t.queues===void 0),i(),d(e("general.all")),i(),w(t.availableQueueNames),i(4),C("",e("general.status"),":"),i(),g("checked",t.statuses===void 0),i(),d(e("general.all")),i(),w(t.statusNames)}}function qe(n,l){n&1&&h(0,"mat-spinner")}function ye(n,l){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a(2).$implicit,t=a();i(),$("",e("general.error"),": ",t.error.message,"")}}function Se(n,l){if(n&1&&(s(0,"p"),c(1),r()),n&2){let e=a(2).$implicit;i(),d(e("dashboard.queues.queue_purged"))}}function Qe(n,l){if(n&1&&f(0,ye,2,2,"p")(1,Se,2,1,"p"),n&2){let e=a(2);E(e.error?0:1)}}function we(n,l){if(n&1){let e=x();D(0),s(1,"mat-card")(2,"h2",1),c(3),r(),s(4,"mat-dialog-content"),f(5,ke,14,6)(6,qe,1,0,"mat-spinner")(7,Qe,2,1),r(),s(8,"mat-dialog-actions")(9,"button",2),_("click",function(){m(e);let o=a();return p(o.handlePurgeJobs())}),c(10),r(),s(11,"button",3),_("click",function(){m(e);let o=a();return p(o.dialogRef.close())}),c(12),r()()(),v()}if(n&2){let e=l.$implicit,t=a();i(3),d(e("dashboard.queues.purge_queue_jobs")),i(2),E(t.stage==="PENDING"?5:t.stage==="REQUESTING"?6:t.stage==="DONE"?7:-1),i(4),g("disabled",t.stage!=="PENDING"),i(),C(" ",e("dashboard.queues.purge_jobs")," "),i(2),C(" ",e("general.dismiss")," ")}}var me=(()=>{class n{constructor(){this.apollo=b(I),this.dialogRef=b(N),this.availableQueueNames=ae,this.statusNames=oe,this.stage="PENDING"}handleQueueEvent(e){if(e.source.value==="_all"){this.queues=void 0;return}if(e.checked){let t=this.queues??[];t.includes(e.source.value)||(t=[...t,e.source.value]),t.length===this.availableQueueNames.length?(e.source.checked=!1,this.queues=void 0):this.queues=t}else{let t=this.queues?.filter(o=>o!==e.source.value);t?.length?this.queues=t:this.queues=void 0}}handleStatusEvent(e){if(e.source.value==="_all"){this.statuses=void 0;return}if(e.checked){let t=this.statuses??[];t.includes(e.source.value)||(t=[...t,e.source.value]),t.length===this.statusNames.length?(e.source.checked=!1,this.statuses=void 0):this.statuses=t}else{let t=this.statuses?.filter(o=>o!==e.source.value);t?.length?this.statuses=t:this.statuses=void 0}}handlePurgeJobs(){this.stage==="PENDING"&&(this.stage="REQUESTING",this.apollo.mutate({mutation:H,variables:{input:{queues:this.queues,statuses:this.statuses}}}).pipe(P(e=>(this.stage="DONE",this.error=e,M)),F(()=>{this.stage="DONE",this.data?.onPurged?.()})).subscribe())}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=T({type:n,selectors:[["app-queue-purge-jobs-dialog"]],standalone:!0,features:[k],decls:1,vars:0,consts:[[4,"transloco"],["mat-dialog-title",""],["mat-stroked-button","","color","warning",3,"click","disabled"],["mat-stroked-button","",3,"click"],["value","_all",3,"change","checked"],[3,"value","checked"],[3,"change","value","checked"]],template:function(t,o){t&1&&f(0,we,13,5,"ng-container",0)},dependencies:[S,V,y,R,B,J,A,O,q,K],styles:["mat-dialog-content[_ngcontent-%COMP%]{min-height:240px;overflow:visible}mat-grid-tile[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return n})();var Me=(n,l,e)=>[n,l,e];function Pe(n,l){if(n&1){let e=x();D(0),h(1,"app-document-title",1),s(2,"mat-card")(3,"mat-card-content")(4,"ul")(5,"li")(6,"a",2),_("click",function(){m(e);let o=a();return p(o.openDialogPurgeJobs())}),c(7),r()(),s(8,"li")(9,"a",2),_("click",function(){m(e);let o=a();return p(o.openDialogEnqueueReprocessTorrentsBatch())}),c(10),r()()()()(),v()}if(n&2){let e=l.$implicit;i(),g("parts",j(3,Me,e("routes.admin"),e("routes.queues"),e("routes.dashboard"))),i(6),d(e("dashboard.queues.purge_queue_jobs")),i(3),d(e("dashboard.queues.enqueue_torrent_processing_batch"))}}var pt=(()=>{class n{constructor(){this.dialog=b(ee)}openDialogPurgeJobs(){this.dialog.open(me)}openDialogEnqueueReprocessTorrentsBatch(){this.dialog.open(ue)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=T({type:n,selectors:[["app-queue-admin"]],standalone:!0,features:[k],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],["mat-button","",3,"click"]],template:function(t,o){t&1&&f(0,Pe,11,7,"ng-container",0)},dependencies:[S,U,y,Z,q,ne],styles:["ul[_ngcontent-%COMP%]{list-style-type:none;padding-left:0}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin-bottom:6px}"]})}}return n})();export{pt as QueueAdminComponent}; diff --git a/webui/dist/bitmagnet/browser/chunk-DZT5WVMO.js b/webui/dist/bitmagnet/browser/chunk-XV4HCVW7.js similarity index 90% rename from webui/dist/bitmagnet/browser/chunk-DZT5WVMO.js rename to webui/dist/bitmagnet/browser/chunk-XV4HCVW7.js index ac969ce2..3f95ca67 100644 --- a/webui/dist/bitmagnet/browser/chunk-DZT5WVMO.js +++ b/webui/dist/bitmagnet/browser/chunk-XV4HCVW7.js @@ -1 +1 @@ -import{c as j,k as B}from"./chunk-ISQ7AX2Q.js";import"./chunk-GLXU5TTY.js";import"./chunk-RQ2LQKI2.js";import{c as U}from"./chunk-PX3TOMGC.js";import"./chunk-42PJPEMD.js";import"./chunk-FNMD7JET.js";import"./chunk-P4IGP6ZM.js";import{a as R}from"./chunk-DSEDLZDW.js";import{$ as z,Ba as q,Ea as $,K as I,P as S,V as w,W as E,X as F,Y as A,_ as D,_a as L,b,h as O,wa as H}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import{i as y,k as P}from"./chunk-CMNWCZJM.js";import{$b as d,Cb as C,Hb as l,Mb as h,Qb as i,Rb as a,Sb as m,Tb as x,Ub as M,cc as v,hb as _,kb as r,kc as u,lc as f,pc as T,qa as s,sc as k,ua as g}from"./chunk-Z3WUIYN5.js";var G=(e,p)=>[e,p];function Q(e,p){e&1&&m(0,"mat-progress-bar",2)}function J(e,p){if(e&1&&(i(0,"mat-card",3)(1,"mat-card-header")(2,"mat-icon",4),u(3),a(),i(4,"mat-card-title")(5,"h2"),u(6),a(),i(7,"a",5),m(8,"mat-icon",6),a()(),i(9,"mat-card-subtitle"),m(10,"app-torrent-chips",7),a()(),i(11,"mat-card-content"),m(12,"app-torrent-content",8),a()()),e&2){let o,t,c=d().$implicit,n=d();r(2),l("matTooltip",c("content_types.singular."+((o=n.torrentContent.contentType)!==null&&o!==void 0?o:"null"))),r(),f((t=(t=n.contentTypeInfo(n.torrentContent.contentType))==null?null:t.icon)!==null&&t!==void 0?t:"question_mark"),r(3),f(n.torrentContent.torrent.name),r(),v("href",n.torrentContent.torrent.magnetUri,_),r(3),l("torrentContent",n.torrentContent),r(2),l("torrentContent",n.torrentContent)("heading",!1)}}function K(e,p){if(e&1&&(x(0),m(1,"app-document-title",1),C(2,Q,1,0,"mat-progress-bar",2)(3,J,13,7,"mat-card",3),M()),e&2){let o=p.$implicit,t=d();r(),l("parts",k(2,G,t.torrentContent==null?null:t.torrentContent.title,o("torrents.permalink"))),r(),h(t.torrentContent?3:2)}}var st=(()=>{class e{constructor(){this.route=s(y),this.router=s(P),this.apollo=s(O),this.contentTypeInfo=U}ngOnInit(){this.route.paramMap.subscribe(o=>{let t=o.get("infoHash");if(typeof t!="string"||!/^[0-9a-f]{40}$/.test(t))return this.notFound();this.apollo.query({query:I,variables:{input:{infoHashes:[t]}},fetchPolicy:"no-cache"}).subscribe(c=>{let n=c.data.torrentContent.search.items;if(n.length===0)return this.notFound();this.torrentContent=n[0]})})}notFound(){this.router.navigate(["/not-found"],{skipLocationChange:!0})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=g({type:e,selectors:[["app-torrent-permalink"]],standalone:!0,features:[T],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],["mode","indeterminate"],[1,"torrent-permalink"],["matCardAvatar","",3,"matTooltip"],[1,"magnet-link",3,"href"],["svgIcon","magnet"],[3,"torrentContent"],[3,"torrentContent","heading"]],template:function(t,c){t&1&&C(0,K,4,5,"ng-container",0)},dependencies:[L,w,z,F,D,A,E,H,q,$,b,S,B,j,R],styles:[".torrent-permalink[_ngcontent-%COMP%]{max-width:900px;margin:20px auto}.torrent-permalink[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:24px;word-break:break-word;overflow-wrap:break-word;padding-right:80px}.torrent-permalink[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] .magnet-link[_ngcontent-%COMP%]{position:absolute;right:20px;top:20px}.torrent-permalink[_ngcontent-%COMP%] .mat-mdc-card-avatar[_ngcontent-%COMP%]{font-size:44px;margin-top:-10px;border-radius:0;overflow:visible}.torrent-permalink[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{margin:16px 0 14px -56px;font-size:6px}"]})}}return e})();export{st as TorrentPermalinkComponent}; +import{c as j,k as B}from"./chunk-QACUPSPJ.js";import"./chunk-UAJQPQWO.js";import"./chunk-RQ2LQKI2.js";import{c as U}from"./chunk-PX3TOMGC.js";import"./chunk-42PJPEMD.js";import"./chunk-AY6Y76TX.js";import"./chunk-4IZ4BZMF.js";import{a as R}from"./chunk-DSEDLZDW.js";import{$ as z,Ba as q,Ea as $,K as I,P as S,V as w,W as E,X as F,Y as A,_ as D,_a as L,b,h as O,wa as H}from"./chunk-K5VIU67A.js";import"./chunk-6XXA7HXI.js";import{i as y,k as P}from"./chunk-CMNWCZJM.js";import{$b as d,Cb as C,Hb as l,Mb as h,Qb as i,Rb as a,Sb as m,Tb as x,Ub as M,cc as v,hb as _,kb as r,kc as u,lc as f,pc as T,qa as s,sc as k,ua as g}from"./chunk-Z3WUIYN5.js";var G=(e,p)=>[e,p];function Q(e,p){e&1&&m(0,"mat-progress-bar",2)}function J(e,p){if(e&1&&(i(0,"mat-card",3)(1,"mat-card-header")(2,"mat-icon",4),u(3),a(),i(4,"mat-card-title")(5,"h2"),u(6),a(),i(7,"a",5),m(8,"mat-icon",6),a()(),i(9,"mat-card-subtitle"),m(10,"app-torrent-chips",7),a()(),i(11,"mat-card-content"),m(12,"app-torrent-content",8),a()()),e&2){let o,t,c=d().$implicit,n=d();r(2),l("matTooltip",c("content_types.singular."+((o=n.torrentContent.contentType)!==null&&o!==void 0?o:"null"))),r(),f((t=(t=n.contentTypeInfo(n.torrentContent.contentType))==null?null:t.icon)!==null&&t!==void 0?t:"question_mark"),r(3),f(n.torrentContent.torrent.name),r(),v("href",n.torrentContent.torrent.magnetUri,_),r(3),l("torrentContent",n.torrentContent),r(2),l("torrentContent",n.torrentContent)("heading",!1)}}function K(e,p){if(e&1&&(x(0),m(1,"app-document-title",1),C(2,Q,1,0,"mat-progress-bar",2)(3,J,13,7,"mat-card",3),M()),e&2){let o=p.$implicit,t=d();r(),l("parts",k(2,G,t.torrentContent==null?null:t.torrentContent.title,o("torrents.permalink"))),r(),h(t.torrentContent?3:2)}}var st=(()=>{class e{constructor(){this.route=s(y),this.router=s(P),this.apollo=s(O),this.contentTypeInfo=U}ngOnInit(){this.route.paramMap.subscribe(o=>{let t=o.get("infoHash");if(typeof t!="string"||!/^[0-9a-f]{40}$/.test(t))return this.notFound();this.apollo.query({query:I,variables:{input:{infoHashes:[t]}},fetchPolicy:"no-cache"}).subscribe(c=>{let n=c.data.torrentContent.search.items;if(n.length===0)return this.notFound();this.torrentContent=n[0]})})}notFound(){this.router.navigate(["/not-found"],{skipLocationChange:!0})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=g({type:e,selectors:[["app-torrent-permalink"]],standalone:!0,features:[T],decls:1,vars:0,consts:[[4,"transloco"],[3,"parts"],["mode","indeterminate"],[1,"torrent-permalink"],["matCardAvatar","",3,"matTooltip"],[1,"magnet-link",3,"href"],["svgIcon","magnet"],[3,"torrentContent"],[3,"torrentContent","heading"]],template:function(t,c){t&1&&C(0,K,4,5,"ng-container",0)},dependencies:[L,w,z,F,D,A,E,H,q,$,b,S,B,j,R],styles:[".torrent-permalink[_ngcontent-%COMP%]{max-width:900px;margin:20px auto}.torrent-permalink[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;font-size:24px;word-break:break-word;overflow-wrap:break-word;padding-right:80px}.torrent-permalink[_ngcontent-%COMP%] mat-card-title[_ngcontent-%COMP%] .magnet-link[_ngcontent-%COMP%]{position:absolute;right:20px;top:20px}.torrent-permalink[_ngcontent-%COMP%] .mat-mdc-card-avatar[_ngcontent-%COMP%]{font-size:44px;margin-top:-10px;border-radius:0;overflow:visible}.torrent-permalink[_ngcontent-%COMP%] mat-card-subtitle[_ngcontent-%COMP%]{margin:16px 0 14px -56px;font-size:6px}"]})}}return e})();export{st as TorrentPermalinkComponent}; diff --git a/webui/dist/bitmagnet/browser/index.html b/webui/dist/bitmagnet/browser/index.html index 6458f8d1..a8821e49 100644 --- a/webui/dist/bitmagnet/browser/index.html +++ b/webui/dist/bitmagnet/browser/index.html @@ -9,5 +9,5 @@ - + diff --git a/webui/dist/bitmagnet/browser/main-4Q4K3KKY.js b/webui/dist/bitmagnet/browser/main-4Q4K3KKY.js deleted file mode 100644 index a0831c5d..00000000 --- a/webui/dist/bitmagnet/browser/main-4Q4K3KKY.js +++ /dev/null @@ -1 +0,0 @@ -import{a as Ne,b as Ke,d as mt,e as ht}from"./chunk-Y7K23DTG.js";import{a as ct}from"./chunk-P4IGP6ZM.js";import{a as ut,c as dt,d as _t}from"./chunk-EBLD3IWA.js";import{Aa as it,Da as lt,Ea as Q,N as tt,P as at,_a as U,a as Oe,b as X,c as Ge,d as Xe,e as Qe,f as Ue,g as We,h as Je,i as Ye,u as Ze,va as rt,w as $e,wa as ot,x as et,ya as nt,za as st}from"./chunk-HZYDZMJ4.js";import"./chunk-6XXA7HXI.js";import{a as ne,b as Ae,c as se,d as qe,e as Ee,f as De,g as Ie,h as je,j as Fe,k as Le,l as Be,m as Re,n as He,o as Ve}from"./chunk-CMNWCZJM.js";import{$b as h,B as ge,Cb as q,Ea as Z,Fa as $,Gc as ze,Hb as g,Kb as S,Mb as te,Nb as Se,Oa as ye,Ob as L,Pb as B,Qb as i,Rb as s,Sb as m,Tb as E,Tc as K,Ub as D,Wa as ve,Wb as ae,Zb as re,a as A,ac as Ce,bc as Me,d as he,ec as R,fc as H,gc as V,h as F,ia as fe,jc as z,ka as p,kb as l,kc as _,l as pe,lb as ee,lc as b,mb as ke,mc as oe,na as O,ob as xe,pa as G,pc as y,qa as c,qb as we,qc as N,rc as Pe,tb as Te,ua as f,ya as be}from"./chunk-Z3WUIYN5.js";var Xt="@",Qt=(()=>{class t{constructor(e,a,o,n,u){this.doc=e,this.delegate=a,this.zone=o,this.animationType=n,this.moduleImpl=u,this._rendererFactoryPromise=null,this.scheduler=c(xe,{optional:!0}),this.loadingSchedulerFn=c(Ut,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-KZMLKX77.js").then(o=>o),a;return this.loadingSchedulerFn?a=this.loadingSchedulerFn(e):a=e(),a.catch(o=>{throw new fe(5300,!1)}).then(({\u0275createEngine:o,\u0275AnimationRendererFactory:n})=>{this._engine=o(this.animationType,this.doc);let u=new n(this.delegate,this._engine,this.zone);return this.delegate=u,u})}createRenderer(e,a){let o=this.delegate.createRenderer(e,a);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let n=new ie(o);return a?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(u=>{let x=u.createRenderer(e,a);n.use(x),this.scheduler?.notify(10)}).catch(u=>{n.use(o)}),n}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static{this.\u0275fac=function(a){ke()}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac})}}return t})(),ie=class{constructor(r){this.delegate=r,this.replay=[],this.\u0275type=1}use(r){if(this.delegate=r,this.replay!==null){for(let e of this.replay)e(r);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(r,e){return this.delegate.createElement(r,e)}createComment(r){return this.delegate.createComment(r)}createText(r){return this.delegate.createText(r)}get destroyNode(){return this.delegate.destroyNode}appendChild(r,e){this.delegate.appendChild(r,e)}insertBefore(r,e,a,o){this.delegate.insertBefore(r,e,a,o)}removeChild(r,e,a){this.delegate.removeChild(r,e,a)}selectRootElement(r,e){return this.delegate.selectRootElement(r,e)}parentNode(r){return this.delegate.parentNode(r)}nextSibling(r){return this.delegate.nextSibling(r)}setAttribute(r,e,a,o){this.delegate.setAttribute(r,e,a,o)}removeAttribute(r,e,a){this.delegate.removeAttribute(r,e,a)}addClass(r,e){this.delegate.addClass(r,e)}removeClass(r,e){this.delegate.removeClass(r,e)}setStyle(r,e,a,o){this.delegate.setStyle(r,e,a,o)}removeStyle(r,e,a){this.delegate.removeStyle(r,e,a)}setProperty(r,e,a){this.shouldReplay(e)&&this.replay.push(o=>o.setProperty(r,e,a)),this.delegate.setProperty(r,e,a)}setValue(r,e){this.delegate.setValue(r,e)}listen(r,e,a){return this.shouldReplay(e)&&this.replay.push(o=>o.listen(r,e,a)),this.delegate.listen(r,e,a)}shouldReplay(r){return this.replay!==null&&r.startsWith(Xt)}},Ut=new O("");function pt(t="animations"){return Te("NgAsyncAnimations"),be([{provide:we,useFactory:(r,e,a)=>new Qt(r,e,a,t),deps:[K,Ee,ye]},{provide:ve,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Wt=(t,r,e)=>{let a=["POST","PUT","PATCH"].indexOf(t.method.toUpperCase())!==-1,o=d=>["variables","extensions"].indexOf(d.toLowerCase())!==-1,n=t.body.length,u=t.options&&t.options.useMultipart,x;if(u){if(n)return new F(d=>d.error(new Error("File upload is not available when combined with Batching")));if(!a)return new F(d=>d.error(new Error("File upload is not available when GET is used")));if(!e)return new F(d=>d.error(new Error(`To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink's options`)));x=e(t.body),u=!!x.files.size}let w={};if(n){if(!a)return new F(d=>d.error(new Error("Batching is not available for GET requests")));w={body:t.body}}else{let d=u?x.clone:t.body;a?w={body:d}:w={params:Object.keys(t.body).reduce((C,k)=>{let M=t.body[k];return C[k]=o(k)?JSON.stringify(M):M,C},{})}}if(u&&a){let d=new FormData;d.append("operations",JSON.stringify(w.body));let j={},C=x.files,k=0;C.forEach(M=>{j[++k]=M}),d.append("map",JSON.stringify(j)),k=0,C.forEach((M,T)=>{d.append(++k+"",T,T.name)}),w.body=d}return r.request(t.method,t.url,A(A({observe:"response",responseType:"json",reportProgress:!1},w),t.options))},Jt=(t,r)=>t&&r?r.keys().reduce((a,o)=>a.set(o,r.getAll(o)),t):r||t;function Yt(...t){return t.find(r=>typeof r<"u")}function Zt(t){let r=t.headers&&t.headers instanceof ne?t.headers:new ne(t.headers);if(t.clientAwareness){let{name:e,version:a}=t.clientAwareness;e&&!r.has("apollographql-client-name")&&(r=r.set("apollographql-client-name",e)),a&&!r.has("apollographql-client-version")&&(r=r.set("apollographql-client-version",a))}return r}var $t={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function I(t,r,e){return Yt(t[e],r[e],$t[e])}var le=class extends Ue{httpClient;options;requester;print=Xe;constructor(r,e){super(),this.httpClient=r,this.options=e,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=a=>new Qe(o=>{let n=a.getContext(),u=I(n,this.options,"method"),x=I(n,this.options,"includeQuery"),w=I(n,this.options,"includeExtensions"),d=I(n,this.options,"uri"),j=I(n,this.options,"withCredentials"),C=I(n,this.options,"useMultipart"),k=this.options.useGETForQueries===!0,M=a.query.definitions.some(P=>P.kind==="OperationDefinition"&&P.operation==="query");k&&M&&(u="GET");let T={method:u,url:typeof d=="function"?d(a):d,body:{operationName:a.operationName,variables:a.variables},options:{withCredentials:j,useMultipart:C,headers:this.options.headers}};w&&(T.body.extensions=a.extensions),x&&(T.body.query=this.print(a.query));let Kt=Zt(n);T.options.headers=Jt(T.options.headers,Kt);let me=Wt(T,this.httpClient,this.options.extractFiles).subscribe({next:P=>{a.setContext({response:P}),o.next(P.body)},error:P=>o.error(P),complete:()=>o.complete()});return()=>{me.closed||me.unsubscribe()}})}request(r){return this.requester(r)}},gt=(()=>{class t{httpClient;constructor(e){this.httpClient=e}create(e){return new le(this.httpClient,e)}static \u0275fac=function(a){return new(a||t)(G(Ae))};static \u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ft=window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/graphql";var bt={content_types:{plural:{all:"\u0627\u0644\u0643\u0644",audiobook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0635\u0648\u062A\u064A\u0629",comic:"\u0627\u0644\u0642\u0635\u0635 \u0627\u0644\u0645\u0635\u0648\u0631\u0629",ebook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u0629",game:"\u0627\u0644\u0623\u0644\u0639\u0627\u0628",movie:"\u0627\u0644\u0623\u0641\u0644\u0627\u0645",music:"\u0627\u0644\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0644\u0641\u0627\u0632",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"},singular:{audiobook:"\u0643\u062A\u0627\u0628 \u0635\u0648\u062A\u064A",comic:"\u0642\u0635\u0629 \u0645\u0635\u0648\u0631\u0629",ebook:"\u0643\u062A\u0627\u0628 \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",game:"\u0644\u0639\u0628\u0629",movie:"\u0641\u064A\u0644\u0645",music:"\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0644\u0641\u0632\u064A\u0648\u0646\u064A",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"}},dashboard:{event:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",failed:"\u0641\u0634\u0644",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",updated:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B"},interval:{all:"\u0627\u0644\u0643\u0644",days:"\u064A\u0648\u0645",days_1:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",hours:"\u0633\u0627\u0639\u0629",hours_1:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",hours_12:"12 \u0633\u0627\u0639\u0629",hours_6:"6 \u0633\u0627\u0639\u0629",minutes:"\u062F\u0642\u064A\u0642\u0629",minutes_1:"1 \u062F\u0642\u064A\u0642\u0629",minutes_15:"15 \u062F\u0642\u0627\u0626\u0642",minutes_30:"30 \u062F\u0642\u0627\u0626\u0642",minutes_5:"5 \u062F\u0642\u0627\u0626\u0642",off:"\u0625\u064A\u0642\u0627\u0641",seconds_10:"10 \u062B\u0648\u0627\u0646\u064A",seconds_30:"30 \u062B\u0627\u0646\u064A\u0629",weeks_1:"1 \u0623\u0633\u0628\u0648\u0639"},metrics:{event:"\u062D\u062F\u062B",resolution:"\u0627\u0644\u062F\u0642\u0629",throughput:"\u0645\u0639\u062F\u0644 \u0627\u0644\u0646\u0642\u0644",timeframe:"\u0627\u0644\u0625\u0637\u0627\u0631 \u0627\u0644\u0632\u0645\u0646\u064A",toggle_legend:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0623\u0633\u0637\u0648\u0631\u0629"},queues:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",created_at:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621 \u0641\u064A",enqueue_jobs:"\u0625\u062F\u0631\u0627\u062C \u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",enqueue_torrent_processing_batch:"\u0625\u062F\u0631\u0627\u062C \u062F\u0641\u0639\u0629 \u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",failed:"\u0641\u0634\u0644",force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",jobs_enqueued:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0645\u062F\u0631\u062C\u0629 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",latency:"\u0627\u0644\u062A\u0623\u062E\u064A\u0631",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",payload:"\u0627\u0644\u062D\u0645\u0648\u0644\u0629",pending:"\u0642\u064A\u062F \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",priority:"\u0627\u0644\u0623\u0648\u0644\u0648\u064A\u0629",process_orphaned_torrents_only:"\u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u064A\u062A\u064A\u0645 \u0641\u0642\u0637",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",purge_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0648\u0638\u0627\u0626\u0641",purge_queue_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue_purged:"\u062A\u0645 \u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",ran_at:"\u062A\u0645 \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u0641\u064A",retry:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",total_counts_by_status:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u0639\u062F \u062D\u0633\u0628 \u0627\u0644\u062D\u0627\u0644\u0629"}},facets:{content_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u062D\u062A\u0648\u0649",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",genre:"\u0627\u0644\u0646\u0648\u0639",language:"\u0627\u0644\u0644\u063A\u0629",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",status:"\u0627\u0644\u062D\u0627\u0644\u0629",torrent_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",torrent_tag:"\u0639\u0644\u0627\u0645\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",video_resolution:"\u062F\u0642\u0629 \u0627\u0644\u0641\u064A\u062F\u064A\u0648",video_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u0641\u064A\u062F\u064A\u0648"},file_types:{archive:"\u0623\u0631\u0634\u064A\u0641",audio:"\u0635\u0648\u062A",data:"\u0628\u064A\u0627\u0646\u0627\u062A",document:"\u0648\u062B\u064A\u0642\u0629",image:"\u0635\u0648\u0631\u0629",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",subtitles:"\u062A\u0631\u062C\u0645\u0627\u062A",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",video:"\u0641\u064A\u062F\u064A\u0648"},general:{all:"\u0627\u0644\u0643\u0644",dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",none:"\u0644\u0627 \u0634\u064A\u0621",page_not_found:"\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629",refresh:"\u062A\u062D\u062F\u064A\u062B",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},health:{bitmagnet_is_status:"bitmagnet \u0647\u0648 {{status}}",check_failed_with_error:"\u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u0642\u0642 \u0645\u0639 \u062E\u0637\u0623",component:"\u0645\u0643\u0648\u0646",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",status:"\u0627\u0644\u062D\u0627\u0644\u0629",statuses:{degraded:"\u0645\u062A\u062F\u0647\u0648\u0631",down:"\u0645\u0639\u0637\u0644",error:"\u062E\u0637\u0623",inactive:"\u063A\u064A\u0631 \u0646\u0634\u0637",started:"\u0628\u062F\u0623",unknown:"\u0645\u0639\u0644\u0642",up:"\u0646\u0634\u0637"},summary:"\u0645\u0644\u062E\u0635 \u0627\u0644\u0635\u062D\u0629",worker:"\u0639\u0627\u0645\u0644",workers:{dht_crawler:"\u0632\u0627\u062D\u0641 DHT",http_server:"\u062E\u0627\u062F\u0645 HTTP",queue_server:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0637\u0627\u0628\u0648\u0631"}},languages:{af:"\u0627\u0644\u0623\u0641\u0631\u064A\u0643\u0627\u0646\u064A\u0629",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",az:"\u0627\u0644\u0623\u0630\u0631\u0628\u064A\u062C\u0627\u0646\u064A\u0629",be:"\u0627\u0644\u0628\u064A\u0644\u0627\u0631\u0648\u0633\u064A\u0629",bg:"\u0627\u0644\u0628\u0644\u063A\u0627\u0631\u064A\u0629",bs:"\u0627\u0644\u0628\u0648\u0633\u0646\u064A\u0629",ca:"\u0627\u0644\u0643\u0627\u062A\u0627\u0644\u0627\u0646\u064A\u0629",ce:"\u0627\u0644\u0634\u064A\u0634\u0627\u0646\u064A\u0629",co:"\u0627\u0644\u0643\u0648\u0631\u0633\u064A\u0643\u064A\u0629",cs:"\u0627\u0644\u062A\u0634\u064A\u0643\u064A\u0629",cy:"\u0627\u0644\u0648\u064A\u0644\u0632\u064A\u0629",da:"\u0627\u0644\u062F\u0627\u0646\u0645\u0627\u0631\u0643\u064A\u0629",de:"\u0627\u0644\u0623\u0644\u0645\u0627\u0646\u064A\u0629",el:"\u0627\u0644\u064A\u0648\u0646\u0627\u0646\u064A\u0629",en:"\u0627\u0644\u0625\u0646\u062C\u0644\u064A\u0632\u064A\u0629",es:"\u0627\u0644\u0625\u0633\u0628\u0627\u0646\u064A\u0629",et:"\u0627\u0644\u0625\u0633\u062A\u0648\u0646\u064A\u0629",eu:"\u0627\u0644\u0628\u0627\u0633\u0643\u064A\u0629",fa:"\u0627\u0644\u0641\u0627\u0631\u0633\u064A\u0629",fi:"\u0627\u0644\u0641\u0646\u0644\u0646\u062F\u064A\u0629",fr:"\u0627\u0644\u0641\u0631\u0646\u0633\u064A\u0629",he:"\u0627\u0644\u0639\u0628\u0631\u064A\u0629",hi:"\u0627\u0644\u0647\u0646\u062F\u064A\u0629",hr:"\u0627\u0644\u0643\u0631\u0648\u0627\u062A\u064A\u0629",hu:"\u0627\u0644\u0647\u0646\u063A\u0627\u0631\u064A\u0629",hy:"\u0627\u0644\u0623\u0631\u0645\u0646\u064A\u0629",id:"\u0627\u0644\u0625\u0646\u062F\u0648\u0646\u064A\u0633\u064A\u0629",is:"\u0627\u0644\u0623\u064A\u0633\u0644\u0646\u062F\u064A\u0629",it:"\u0627\u0644\u0625\u064A\u0637\u0627\u0644\u064A\u0629",ja:"\u0627\u0644\u064A\u0627\u0628\u0627\u0646\u064A\u0629",ka:"\u0627\u0644\u062C\u0648\u0631\u062C\u064A\u0629",ko:"\u0627\u0644\u0643\u0648\u0631\u064A\u0629",ku:"\u0627\u0644\u0643\u0631\u062F\u064A\u0629",lt:"\u0627\u0644\u0644\u064A\u062A\u0648\u0627\u0646\u064A\u0629",lv:"\u0627\u0644\u0644\u0627\u062A\u0641\u064A\u0629",mi:"\u0627\u0644\u0645\u0627\u0648\u0631\u064A\u0629",mk:"\u0627\u0644\u0645\u0642\u062F\u0648\u0646\u064A\u0629",ml:"\u0627\u0644\u0645\u0627\u0644\u0627\u064A\u0627\u0644\u0627\u0645\u064A\u0629",mn:"\u0627\u0644\u0645\u0646\u063A\u0648\u0644\u064A\u0629",ms:"\u0627\u0644\u0645\u0644\u0627\u064A\u0648\u064A\u0629",mt:"\u0627\u0644\u0645\u0627\u0644\u0637\u064A\u0629",nl:"\u0627\u0644\u0647\u0648\u0644\u0646\u062F\u064A\u0629",no:"\u0627\u0644\u0646\u0631\u0648\u064A\u062C\u064A\u0629",pl:"\u0627\u0644\u0628\u0648\u0644\u0646\u062F\u064A\u0629",pt:"\u0627\u0644\u0628\u0631\u062A\u063A\u0627\u0644\u064A\u0629",ro:"\u0627\u0644\u0631\u0648\u0645\u0627\u0646\u064A\u0629",ru:"\u0627\u0644\u0631\u0648\u0633\u064A\u0629",sa:"\u0627\u0644\u0633\u0646\u0633\u0643\u0631\u064A\u062A\u064A\u0629",sk:"\u0627\u0644\u0633\u0644\u0648\u0641\u0627\u0643\u064A\u0629",sl:"\u0627\u0644\u0633\u0644\u0648\u0641\u064A\u0646\u064A\u0629",sm:"\u0627\u0644\u0633\u0627\u0645\u0648\u064A\u0629",so:"\u0627\u0644\u0635\u0648\u0645\u0627\u0644\u064A\u0629",sr:"\u0627\u0644\u0635\u0631\u0628\u064A\u0629",sv:"\u0627\u0644\u0633\u0648\u064A\u062F\u064A\u0629",ta:"\u0627\u0644\u062A\u0627\u0645\u064A\u0644\u064A\u0629",th:"\u0627\u0644\u062A\u0627\u064A\u0644\u0627\u0646\u062F\u064A\u0629",tr:"\u0627\u0644\u062A\u0631\u0643\u064A\u0629",uk:"\u0627\u0644\u0623\u0648\u0643\u0631\u0627\u0646\u064A\u0629",vi:"\u0627\u0644\u0641\u064A\u062A\u0646\u0627\u0645\u064A\u0629",yi:"\u0627\u0644\u064A\u062F\u064A\u0634\u064A\u0629",zh:"\u0627\u0644\u0635\u064A\u0646\u064A\u0629",zu:"\u0627\u0644\u0632\u0648\u0644\u0648"},layout:{bitmagnet_on_service:"bitmagnet \u0639\u0644\u0649 {{service}}",change_theme:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0633\u0645\u0629",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",sponsor:"\u0627\u0644\u0631\u0627\u0639\u064A",support_bitmagnet:"\u062F\u0639\u0645 bitmagnet",translate:"\u062A\u0631\u062C\u0645\u0629"},paginator:{first_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u0648\u0644\u0649",items_per_page:"\u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0644\u0643\u0644 \u0635\u0641\u062D\u0629",last_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u062E\u064A\u0631\u0629",next_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629",page_x:"\u0627\u0644\u0635\u0641\u062D\u0629 {{x}}",previous_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",x_to_y:"{{x}} \u0625\u0644\u0649 {{y}}",x_to_y_of_z:"{{x}} \u0625\u0644\u0649 {{y}} \u0645\u0646 {{z}}"},routes:{admin:"\u0627\u0644\u0645\u0633\u0624\u0648\u0644",dashboard:"\u0644\u0648\u062D\u0629 \u0627\u0644\u062A\u062D\u0643\u0645",home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",jobs:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",torrents:"\u0627\u0644\u062A\u0648\u0631\u0646\u062A",visualize:"\u062A\u0635\u0648\u0631"},torrents:{classification:"\u0627\u0644\u062A\u0635\u0646\u064A\u0641",clear_search:"\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B",copy:"\u0646\u0633\u062E",copy_to_clipboard:"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629",delete:"\u062D\u0630\u0641",delete_action_cannot_be_undone:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u0627\u0644\u062A\u0631\u0627\u062C\u0639 \u0639\u0646 \u0647\u0630\u0627 \u0627\u0644\u0625\u062C\u0631\u0627\u0621",delete_are_you_sure:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062D\u0630\u0641 \u0647\u0630\u0627 \u0627\u0644\u062A\u0648\u0631\u0646\u062A\u061F",deselect_all:"\u0625\u0644\u063A\u0627\u0621 \u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",download:"\u062A\u0646\u0632\u064A\u0644",download_confirm:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0645\u0646 \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062A\u0646\u0632\u064A\u0644 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629\u061F",edit_tags:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",episodes:"\u0627\u0644\u062D\u0644\u0642\u0627\u062A",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",file_index:"\u0641\u0647\u0631\u0633 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",file_path:"\u0645\u0633\u0627\u0631 \u0627\u0644\u0645\u0644\u0641",file_size:"\u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",files:"\u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_count_n:"{{count}} \u0645\u0644\u0641\u0627\u062A",files_no_info:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0646 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_single:"\u0645\u0644\u0641 \u0648\u0627\u062D\u062F",genres:"\u0627\u0644\u0623\u0646\u0648\u0627\u0639",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",info_hashes:"\u062A\u062C\u0632\u0626\u0627\u062A \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",languages:"\u0627\u0644\u0644\u063A\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",magnet:"\u0645\u063A\u0646\u0627\u0637\u064A\u0633",magnet_links:"\u0631\u0648\u0627\u0628\u0637 \u0645\u063A\u0646\u0627\u0637\u064A\u0633\u064A\u0629",new_tag:"\u0639\u0644\u0627\u0645\u0629 \u062C\u062F\u064A\u062F\u0629",order_by:"\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628",order_direction_toggle:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0627\u062A\u062C\u0627\u0647",ordering:{files_count:"\u0639\u062F\u062F \u0627\u0644\u0645\u0644\u0641\u0627\u062A",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",name:"\u0627\u0644\u0627\u0633\u0645",published_at:"\u0646\u0634\u0631 \u0641\u064A",relevance:"\u0627\u0644\u0635\u0644\u0629",seeders:"\u0627\u0644\u0645\u0632\u0627\u0631\u0639\u0648\u0646",size:"\u0627\u0644\u062D\u062C\u0645",updated_at:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0641\u064A"},original_release_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0635\u062F\u0627\u0631 \u0627\u0644\u0623\u0635\u0644\u064A",permalink:"\u0631\u0627\u0628\u0637 \u062F\u0627\u0626\u0645",poster:"\u0645\u0644\u0635\u0642",published:"\u0645\u0646\u0634\u0648\u0631",rating:"\u0627\u0644\u062A\u0642\u064A\u064A\u0645",refresh:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u062A\u0627\u0626\u062C",reprocess:{force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",reprocess:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629"},s_l:"S / L",search:"\u0628\u062D\u062B",seeders:"\u0627\u0644\u0628\u0627\u0630\u0631\u0648\u0646",select_all:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",showing_x_of_y_files:"\u0639\u0631\u0636 {{x}} \u0645\u0646 {{y}} \u0645\u0644\u0641\u0627\u062A",size:"\u0627\u0644\u062D\u062C\u0645",source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",summary:"\u0627\u0644\u0645\u0644\u062E\u0635",tags:{delete:"\u062D\u0630\u0641 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",delete_tip:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0645\u0646 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",placeholder:"\u0627\u0644\u0639\u0644\u0627\u0645\u0629...",put:"\u0648\u0636\u0639 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",put_tip:"\u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0625\u0644\u0649 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",set:"\u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",set_tip:"\u0627\u0633\u062A\u0628\u062F\u0627\u0644 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0641\u064A \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629"},title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",toggle_drawer:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u062F\u0631\u062C",votes_count_n:"{{count}} \u0623\u0635\u0648\u0627\u062A"},version:{bitmagnet_version:"\u0625\u0635\u062F\u0627\u0631 bitmagnet {{version}}",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641"}};var yt={content_types:{plural:{all:"Tot",audiobook:"Audiollibres",comic:"C\xF2mics",ebook:"Llibres electr\xF2nics",movie:"Pel\xB7l\xEDcules",music:"M\xFAsica",null:"Desconegut",software:"Programari",tv_show:"Programes de TV",xxx:"XXX"},singular:{audiobook:"Audiollibre",comic:"C\xF2mic",ebook:"Llibre electr\xF2nic",movie:"Pel\xB7l\xEDcula",music:"M\xFAsica",software:"Desconegut",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{interval:{all:"Tot",days:"Dies",days_1:"1 dia",hours:"Hores",hours_1:"1 hora",hours_12:"12 hores",hours_6:"6 hores",minutes:"Minuts",minutes_1:"1 minut",minutes_15:"15 minuts",minutes_30:"30 minuts",minutes_5:"5 minuts",off:"Apagat",seconds_10:"10 segons",seconds_30:"30 segons",weeks_1:"1 setmana"},metrics:{event:"Esdeveniment",resolution:"Resoluci\xF3",throughput:"Rendiment",timeframe:"Per\xEDode de temps",toggle_legend:"Mostra o oculta la llegenda"},queues:{created:"Creat",created_at:"Creaci\xF3",enqueue_jobs:"Encua les tasques",enqueue_torrent_processing_batch:"Encua el lot de processament de torrents",failed:"Fallat",jobs_enqueued:"Tasques encuades",latency:"Lat\xE8ncia",payload:"Contingut",priority:"Prioritat",process_orphaned_torrents_only:"Processa nom\xE9s els torrents orfes",processed:"Processat",purge_jobs:"Purga les tasques",purge_queue_jobs:"Purga les cues de tasques",queue:"Cua",queue_purged:"Cua purgada",queues:"Cues",ran_at:"Executat a",total_counts_by_status:"Recompte total per estat"}},facets:{content_type:"Tipus de Contingut",file_type:"Tipus de Fitxer",genre:"G\xE8nere",language:"Idioma",torrent_source:"Origen del Torrent",torrent_tag:"Etiqueta del Torrent",video_resolution:"Resoluci\xF3 del V\xEDdeo",video_source:"Origen del V\xEDdeo"},file_types:{archive:"Arxiu",audio:"\xC0udio",data:"Dades",document:"Document",image:"Imatge",software:"Programari",subtitles:"Subt\xEDtols",unknown:"Desconegut",video:"V\xEDdeo"},general:{all:"Tot",dismiss:"Descarta",error:"Error",none:"Cap",page_not_found:"P\xE0gina no trobada",refresh:"Actualitza",status:"Estat"},health:{bitmagnet_is_status:"bitmagnet est\xE0 {{status}}",check_failed_with_error:"Ha fallat la comprovaci\xF3 amb un error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},statuses:{degraded:"Degradat",down:"Caigut",error:"Error",inactive:"Inactiu",started:"Iniciat",unknown:"Pendent",up:"Actiu"},summary:"Resum de salut",worker:"Treballador",workers:{dht_crawler:"Rastrejador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de cues"}},languages:{af:"Afrikaans",ar:"\xC0rab",az:"\xC0zeri",be:"Belar\xFAs",bg:"B\xFAlgar",bs:"Bosni\xE0",ca:"Catal\xE0",ce:"Txetx\xE8",co:"Cors",cs:"Txec",cy:"Gal\xB7l\xE8s",da:"Dan\xE8s",de:"Alemany",el:"Grec",en:"Angl\xE8s",es:"Castell\xE0",et:"Estoni\xE0",eu:"Basc",fa:"Persa",fi:"Fin\xE8s",fr:"Franc\xE8s",he:"Hebreu",hi:"Hindi",hr:"Croat",hu:"Hongar\xE8s",hy:"Armeni",id:"Indonesi",is:"Island\xE8s",it:"Itali\xE0",ja:"Japon\xE8s",ka:"Georgi\xE0",ko:"Core\xE0",ku:"Kurd",lt:"Litu\xE0",lv:"Let\xF3",mi:"Maori",mk:"Maced\xF2nic",ml:"Malai\xE0lam",mn:"Mongol",ms:"Malai",mt:"Malt\xE8s",nl:"Neerland\xE8s",no:"Noruec",pl:"Polon\xE8s",pt:"Portugu\xE8s",ro:"Roman\xE8s",ru:"Rus",sa:"S\xE0nscrit",sk:"Eslovac",sl:"Eslov\xE8",sm:"Samo\xE0",so:"Somali",sr:"Serbi",sv:"Suec",ta:"T\xE0mil",th:"Tailand\xE8s",tr:"Turc",uk:"Ucra\xEFn\xE8s",vi:"Vietnamita",yi:"\xCDdix",zh:"Xin\xE8s",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet a {{service}}",change_theme:"Canviar el tema",external_links:"Enlla\xE7os externs",sponsor:"Patrocina",support_bitmagnet:"Ajuda a bitmagnet",translate:"Tradueix"},paginator:{first_page:"Primera p\xE0gina",last_page:"Elements per p\xE0gina",next_page:"P\xE0gina seg\xFCent",page_x:"P\xE0gina {{x}}",previous_page:"P\xE0gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administraci\xF3",dashboard:"Tauler de control",home:"Inici",jobs:"Tasques",queues:"Cues",torrents:"Torrents",visualize:"Visualitza"},torrents:{classification:"Classificaci\xF3",clear_search:"Esborrar la cerca",copy:"Copiar",copy_to_clipboard:"Copia al porta-retalls",delete:"Esborrar",delete_action_cannot_be_undone:"Aquesta acci\xF3 no es pot desfer",delete_are_you_sure:"Est\xE0s segur que vols esborrar aquest torrent?",deselect_all:"Desselecciona-ho tot",edit_tags:"Edita l'etiqueta",episodes:"Episodis",external_links:"Enlla\xE7os externs",file_index:"\xCDndex del fitxer",file_path:"Cam\xED del fitxer",file_size:"Mida del fitxer",file_type:"Tipus de fitxer",files:"Fitxers",files_no_info:"{{count}} fitxers",genres:"G\xE8neres",info_hash:"Informaci\xF3 del resum",info_hashes:"Informaci\xF3 dels resums",languages:"Idiomes",leechers:"Sangoneres",magnet:"Magnet",magnet_links:"Enlla\xE7os magnet",new_tag:"Etiqueta nova",order_by:"Ordenar per",order_direction_toggle:"Commuta la direcci\xF3",ordering:{files_count:"Recompte de fitxers",info_hash:"Informaci\xF3 del resum",leechers:"Sangoneres",name:"Nom",published_at:"Publicat el",relevance:"Rellev\xE0ncia",seeders:"Sembradors",size:"Mida",updated_at:"Actualitzat el"},original_release_date:"Data de llan\xE7ament original",permalink:"Enlla\xE7 permanent",poster:"P\xF2ster",published:"Publicat",rating:"Valoraci\xF3",refresh:"Actualitza els resultats",reprocess:{force_rematch:"For\xE7ar nova coincid\xE8ncia del contingut ja coincident",match_content_by_external_api_search:"Fes coincidir el contingut a trav\xE9s d'una cerca d'API externa",match_content_by_local_search:"Fes conicidir a trav\xE9s d'una cerca local",reprocess:"Tornar a processar"},s_l:"S / S",search:"Cerca",seeders:"Sembradors",select_all:"Seleccionar-ho tot",showing_x_of_y_files:"Mostrant {{x}} de {{y}} fitxers",size:"Mida",source:"Origen del torrent",summary:"Resum",tags:{delete:"Esborrar etiquetes",delete_tip:"Esborrar etiquetes dels torrents seleccionats",placeholder:"Etiqueta...",put:"Afegeix etiquetes",put_tip:"Afegeix etiquetes als torrents seleccionats",set:"Reempla\xE7a etiquetes",set_tip:"Reempla\xE7a les etiquetes dels torrents seleccionats"},title:"T\xEDtol",toggle_drawer:"Mostra o oculta el calaix",votes_count_n:"{{count}} vots"},version:{bitmagnet_version:"versi\xF3 de bitmagnet {{version}}",unknown:"desconegut"}};var vt={content_types:{plural:{all:"Alle",audiobook:"H\xF6rb\xFCcher",comic:"Comics",ebook:"E-B\xFCcher",game:"Spiele",movie:"Filme",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Shows",xxx:"XXX"},singular:{audiobook:"H\xF6rbuch",comic:"Comic",ebook:"E-Buch",game:"Spiel",movie:"Film",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Show",xxx:"XXX"}},dashboard:{event:{created:"Erstellt",failed:"Fehlgeschlagen",processed:"Verarbeitet",updated:"Aktualisiert"},interval:{all:"Alle",days:"Tage",days_1:"1 Tag",hours:"Stunden",hours_1:"1 Stunde",hours_12:"12 Stunden",hours_6:"6 Stunden",minutes:"Minuten",minutes_1:"1 Minute",minutes_15:"15 Minuten",minutes_30:"30 Minuten",minutes_5:"5 Minuten",off:"Aus",seconds_10:"10 Sekunden",seconds_30:"30 Sekunden",weeks_1:"1 Woche"},metrics:{event:"Ereignis",resolution:"Aufl\xF6sung",throughput:"Durchsatz",timeframe:"Zeitrahmen",toggle_legend:"Legende umschalten"},queues:{created:"Erstellt",created_at:"Erstellt am",enqueue_jobs:"Jobs einreihen",enqueue_torrent_processing_batch:"Torrent-Verarbeitungsbatch einreihen",failed:"Fehlgeschlagen",force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",jobs_enqueued:"Jobs eingereiht",latency:"Latenz",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",payload:"Nutzlast",pending:"Ausstehend",priority:"Priorit\xE4t",process_orphaned_torrents_only:"Nur verwaiste Torrents verarbeiten",processed:"Verarbeitet",purge_jobs:"Jobs bereinigen",purge_queue_jobs:"Warteschlangen-Jobs bereinigen",queue:"Warteschlange",queue_purged:"Warteschlange bereinigt",queues:"Warteschlangen",ran_at:"Ausgef\xFChrt am",retry:"Erneut versuchen",total_counts_by_status:"Gesamtanzahl nach Status"}},facets:{content_type:"Inhaltstyp",file_type:"Dateityp",genre:"Genre",language:"Sprache",queue:"Warteschlange",status:"Status",torrent_source:"Torrent-Quelle",torrent_tag:"Torrent-Tag",video_resolution:"Videoaufl\xF6sung",video_source:"Videoquelle"},file_types:{archive:"Archiv",audio:"Audio",data:"Daten",document:"Dokument",image:"Bild",software:"Software",subtitles:"Untertitel",unknown:"Unbekannt",video:"Video"},general:{all:"Alle",dismiss:"Verwerfen",error:"Fehler",none:"Keine",page_not_found:"Seite nicht gefunden",refresh:"Aktualisieren",status:"Status"},health:{bitmagnet_is_status:"bitmagnet ist {{status}}",check_failed_with_error:"\xDCberpr\xFCfung mit Fehler fehlgeschlagen",component:"Komponente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Verwerfen",error:"Fehler",status:"Status",statuses:{degraded:"Verschlechtert",down:"Aus",error:"Fehler",inactive:"Inaktiv",started:"Gestartet",unknown:"Ausstehend",up:"An"},summary:"Gesundheits\xFCbersicht",worker:"Arbeiter",workers:{dht_crawler:"DHT-Crawler",http_server:"HTTP-Server",queue_server:"Warteschlangen-Server"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Aserbaidschanisch",be:"Wei\xDFrussisch",bg:"Bulgarisch",bs:"Bosnisch",ca:"Katalanisch",ce:"Tschetschenisch",co:"Korsisch",cs:"Tschechisch",cy:"Walisisch",da:"D\xE4nisch",de:"Deutsch",el:"Griechisch",en:"Englisch",es:"Spanisch",et:"Estnisch",eu:"Baskisch",fa:"Persisch",fi:"Finnisch",fr:"Franz\xF6sisch",he:"Hebr\xE4isch",hi:"Hindi",hr:"Kroatisch",hu:"Ungarisch",hy:"Armenisch",id:"Indonesisch",is:"Isl\xE4ndisch",it:"Italienisch",ja:"Japanisch",ka:"Georgisch",ko:"Koreanisch",ku:"Kurdisch",lt:"Litauisch",lv:"Lettisch",mi:"Maori",mk:"Mazedonisch",ml:"Malayalam",mn:"Mongolisch",ms:"Malaiisch",mt:"Maltesisch",nl:"Niederl\xE4ndisch",no:"Norwegisch",pl:"Polnisch",pt:"Portugiesisch",ro:"Rum\xE4nisch",ru:"Russisch",sa:"Sanskrit",sk:"Slowakisch",sl:"Slowenisch",sm:"Samoanisch",so:"Somalisch",sr:"Serbisch",sv:"Schwedisch",ta:"Tamil",th:"Thai",tr:"T\xFCrkisch",uk:"Ukrainisch",vi:"Vietnamesisch",yi:"Jiddisch",zh:"Chinesisch",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet auf {{service}}",change_theme:"Thema \xE4ndern",external_links:"Externe Links",sponsor:"Sponsor",support_bitmagnet:"bitmagnet unterst\xFCtzen",translate:"\xDCbersetzen"},paginator:{first_page:"Erste Seite",items_per_page:"Artikel pro Seite",last_page:"Letzte Seite",next_page:"N\xE4chste Seite",page_x:"Seite {{x}}",previous_page:"Vorherige Seite",x_to_y:"{{x}} bis {{y}}",x_to_y_of_z:"{{x}} bis {{y}} von {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Startseite",jobs:"Aufgaben",queues:"Warteschlangen",torrents:"Torrents",visualize:"Visualisieren"},torrents:{classification:"Klassifizierung",clear_search:"Suche l\xF6schen",copy:"Kopieren",copy_to_clipboard:"In die Zwischenablage kopieren",delete:"L\xF6schen",delete_action_cannot_be_undone:"Diese Aktion kann nicht r\xFCckg\xE4ngig gemacht werden",delete_are_you_sure:"Sind Sie sicher, dass Sie diesen Torrent l\xF6schen m\xF6chten?",deselect_all:"Alle abw\xE4hlen",download:"Herunterladen",download_confirm:"M\xF6chten Sie die ausgew\xE4hlten Torrents wirklich herunterladen?",edit_tags:"Tags bearbeiten",episodes:"Episoden",external_links:"Externe Links",file_index:"Dateiindex",file_path:"Dateipfad",file_size:"Dateigr\xF6\xDFe",file_type:"Dateityp",files:"Dateien",files_count_n:"{{count}} Dateien",files_no_info:"Keine Dateiinformationen verf\xFCgbar",files_single:"Einzelne Datei",genres:"Genres",info_hash:"Info-Hash",info_hashes:"Info-Hashes",languages:"Sprachen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-Links",new_tag:"Neuer Tag",order_by:"Sortieren nach",order_direction_toggle:"Richtung umschalten",ordering:{files_count:"Dateienanzahl",info_hash:"Info-Hash",leechers:"Leechers",name:"Name",published_at:"Ver\xF6ffentlicht am",relevance:"Relevanz",seeders:"Seeders",size:"Gr\xF6\xDFe",updated_at:"Aktualisiert am"},original_release_date:"Originales Ver\xF6ffentlichungsdatum",permalink:"Permalink",poster:"Poster",published:"Ver\xF6ffentlicht",rating:"Bewertung",refresh:"Ergebnisse aktualisieren",reprocess:{force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",reprocess:"Erneut verarbeiten"},s_l:"S / L",search:"Suche",seeders:"Seeders",select_all:"Alle ausw\xE4hlen",showing_x_of_y_files:"{{x}} von {{y}} Dateien anzeigen",size:"Gr\xF6\xDFe",source:"Torrent-Quelle",summary:"Zusammenfassung",tags:{delete:"Tags l\xF6schen",delete_tip:"Tags aus den ausgew\xE4hlten Torrents entfernen",placeholder:"Tag...",put:"Tags setzen",put_tip:"Tags zu den ausgew\xE4hlten Torrents hinzuf\xFCgen",set:"Tags setzen",set_tip:"Tags der ausgew\xE4hlten Torrents ersetzen"},title:"Titel",toggle_drawer:"Schublade umschalten",votes_count_n:"{{count}} Stimmen"},version:{bitmagnet_version:"bitmagnet Version {{version}}",unknown:"unbekannt"}};var kt={content_types:{plural:{all:"All",audiobook:"Audiobooks",comic:"Comics",ebook:"E-Books",game:"Games",movie:"Movies",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Shows",xxx:"XXX"},singular:{audiobook:"Audiobook",comic:"Comic",ebook:"E-Book",game:"Game",movie:"Movie",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Show",xxx:"XXX"}},dashboard:{event:{created:"Created",failed:"Failed",processed:"Processed",updated:"Updated"},interval:{all:"All",days:"Days",days_1:"1 day",hours:"Hours",hours_1:"1 hour",hours_12:"12 hours",hours_6:"6 hours",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"Off",seconds_10:"10 seconds",seconds_30:"30 seconds",weeks_1:"1 week"},metrics:{event:"Event",resolution:"Resolution",throughput:"Throughput",timeframe:"Timeframe",toggle_legend:"Toggle legend"},queues:{created:"Created",created_at:"Created at",enqueue_jobs:"Enqueue jobs",enqueue_torrent_processing_batch:"Enqueue Torrent Processing Batch",failed:"Failed",jobs_enqueued:"Jobs enqueued",latency:"Latency",payload:"Payload",pending:"Pending",priority:"Priority",process_orphaned_torrents_only:"Process orphaned torrents only",processed:"Processed",purge_jobs:"Purge jobs",purge_queue_jobs:"Purge queue jobs",queue:"Queue",queue_purged:"Queue purged",queues:"Queues",ran_at:"Ran at",retry:"Retry",total_counts_by_status:"Total counts by status"}},facets:{content_type:"Content Type",file_type:"File Type",genre:"Genre",language:"Language",queue:"Queue",status:"Status",torrent_source:"Torrent Source",torrent_tag:"Torrent Tag",video_resolution:"Video Resolution",video_source:"Video Source"},file_types:{archive:"Archive",audio:"Audio",data:"Data",document:"Document",image:"Image",software:"Software",subtitles:"Subtitles",unknown:"Unknown",video:"Video"},general:{all:"All",dismiss:"Dismiss",error:"Error",none:"None",page_not_found:"Page not found",refresh:"Refresh",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Check failed with error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Dismiss",error:"Error",status:"Status",statuses:{degraded:"Degraded",down:"Down",error:"Error",inactive:"Inactive",started:"Started",unknown:"Pending",up:"Up"},summary:"Health summary",worker:"Worker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Queue server"}},languages:{af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bs:"Bosnian",ca:"Catalan",ce:"Chechen",co:"Corsican",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",hy:"Armenian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",ms:"Malay",mt:"Maltese",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sa:"Sanskrit",sk:"Slovak",sl:"Slovenian",sm:"Samoan",so:"Somali",sr:"Serbian",sv:"Swedish",ta:"Tamil",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",yi:"Yiddish",zh:"Chinese",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet on {{service}}",change_theme:"Change theme",external_links:"External links",sponsor:"Sponsor",support_bitmagnet:"Support bitmagnet",translate:"Translate"},paginator:{first_page:"First page",items_per_page:"Items per page",last_page:"Last page",next_page:"Next page",page_x:"Page {{x}}",previous_page:"Previous page",x_to_y:"{{x}} to {{y}}",x_to_y_of_z:"{{x}} to {{y}} of {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Home",jobs:"Jobs",queues:"Queues",torrents:"Torrents",visualize:"Visualize"},torrents:{classification:"Classification",clear_search:"Clear Search",copy:"Copy",copy_to_clipboard:"Copy to clipboard",delete:"Delete",delete_action_cannot_be_undone:"This action cannot be undone",delete_are_you_sure:"Are you sure you want to delete this torrent?",deselect_all:"Deselect All",download:"Download",download_confirm:"Are you sure you want to download the selected torrents?",edit_tags:"Edit tags",episodes:"Episodes",external_links:"External links",file_index:"File index",file_path:"File path",file_size:"File size",file_type:"File type",files:"Files",files_count_n:"{{count}} files",files_no_info:"No files information available",files_single:"Single file",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Languages",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet links",new_tag:"New tag",order_by:"Order by",order_direction_toggle:"Toggle direction",ordering:{files_count:"Files count",info_hash:"Info hash",leechers:"Leechers",name:"Name",published_at:"Published at",relevance:"Relevance",seeders:"Seeders",size:"Size",updated_at:"Updated at"},original_release_date:"Original release date",permalink:"Permalink",poster:"Poster",published:"Published",rating:"Rating",refresh:"Refresh results",reprocess:{force_rematch:"Force rematch of already matched content",match_content_by_external_api_search:"Match content by external API search",match_content_by_local_search:"Match content by local search",reprocess:"Reprocess"},s_l:"S / L",search:"Search",seeders:"Seeders",select_all:"Select All",showing_x_of_y_files:"Showing {{x}} of {{y}} files",size:"Size",source:"Torrent Source",summary:"Summary",tags:{delete:"Delete tags",delete_tip:"Remove tags from the selected torrents",placeholder:"Tag...",put:"Put tags",put_tip:"Add tags to the selected torrents",set:"Set tags",set_tip:"Replace tags of the selected torrents"},title:"Title",toggle_drawer:"Toggle Drawer",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"bitmagnet version {{version}}",unknown:"unknown"}};var xt={content_types:{plural:{all:"Todos",audiobook:"Audiolibros",comic:"C\xF3mics",ebook:"E-Libros",game:"Juegos",movie:"Pel\xEDculas",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolibro",comic:"C\xF3mic",ebook:"E-Libro",game:"Juego",movie:"Pel\xEDcula",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Creado",failed:"Fallido",processed:"Procesado",updated:"Actualizado"},interval:{all:"Todos",days:"D\xEDas",days_1:"1 d\xEDa",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Apagado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resoluci\xF3n",throughput:"Rendimiento",timeframe:"Periodo de tiempo",toggle_legend:"Alternar leyenda"},queues:{created:"Creado",created_at:"Creado en",enqueue_jobs:"Encolar trabajos",enqueue_torrent_processing_batch:"Encolar lote de procesamiento de torrents",failed:"Fallido",force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",jobs_enqueued:"Trabajos encolados",latency:"Latencia",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",payload:"Carga \xFAtil",pending:"Pendiente",priority:"Prioridad",process_orphaned_torrents_only:"Procesar solo torrents hu\xE9rfanos",processed:"Procesado",purge_jobs:"Purgar trabajos",purge_queue_jobs:"Purgar trabajos de la cola",queue:"Cola",queue_purged:"Cola purgada",queues:"Colas",ran_at:"Ejecutado en",retry:"Reintentar",total_counts_by_status:"Recuento total por estado"}},facets:{content_type:"Tipo de contenido",file_type:"Tipo de archivo",genre:"G\xE9nero",language:"Idioma",queue:"Cola",status:"Estado",torrent_source:"Fuente del torrent",torrent_tag:"Etiqueta del torrent",video_resolution:"Resoluci\xF3n de video",video_source:"Fuente de video"},file_types:{archive:"Archivo",audio:"Audio",data:"Datos",document:"Documento",image:"Imagen",software:"Software",subtitles:"Subt\xEDtulos",unknown:"Desconocido",video:"Video"},general:{all:"Todos",dismiss:"Descartar",error:"Error",none:"Ninguno",page_not_found:"P\xE1gina no encontrada",refresh:"Actualizar",status:"Estado"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"La verificaci\xF3n fall\xF3 con error",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Descartar",error:"Error",status:"Estado",statuses:{degraded:"Degradado",down:"Ca\xEDdo",error:"Error",inactive:"Inactivo",started:"Iniciado",unknown:"Pendiente",up:"Activo"},summary:"Resumen de salud",worker:"Trabajador",workers:{dht_crawler:"Rastreador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de colas"}},languages:{af:"Afrik\xE1ans",ar:"\xC1rabe",az:"Azerbaiyano",be:"Bielorruso",bg:"B\xFAlgaro",bs:"Bosnio",ca:"Catal\xE1n",ce:"Checheno",co:"Corso",cs:"Checo",cy:"Gal\xE9s",da:"Dan\xE9s",de:"Alem\xE1n",el:"Griego",en:"Ingl\xE9s",es:"Espa\xF1ol",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finland\xE9s",fr:"Franc\xE9s",he:"Hebreo",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Armenio",id:"Indonesio",is:"Island\xE9s",it:"Italiano",ja:"Japon\xE9s",ka:"Georgiano",ko:"Coreano",ku:"Kurdo",lt:"Lituano",lv:"Let\xF3n",mi:"Maor\xED",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",ms:"Malayo",mt:"Malt\xE9s",nl:"Neerland\xE9s",no:"Noruego",pl:"Polaco",pt:"Portugu\xE9s",ro:"Rumano",ru:"Ruso",sa:"S\xE1nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somal\xED",sr:"Serbio",sv:"Sueco",ta:"Tamil",th:"Tailand\xE9s",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"Yidis",zh:"Chino",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet en {{service}}",change_theme:"Cambiar tema",external_links:"Enlaces externos",sponsor:"Patrocinador",support_bitmagnet:"Apoyar bitmagnet",translate:"Traducir"},paginator:{first_page:"Primera p\xE1gina",items_per_page:"Elementos por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"P\xE1gina siguiente",page_x:"P\xE1gina {{x}}",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Admin",dashboard:"Tablero",home:"Inicio",jobs:"Trabajos",queues:"Colas",torrents:"Torrents",visualize:"Visualizar"},torrents:{classification:"Clasificaci\xF3n",clear_search:"Borrar b\xFAsqueda",copy:"Copiar",copy_to_clipboard:"Copiar al portapapeles",delete:"Eliminar",delete_action_cannot_be_undone:"Esta acci\xF3n no se puede deshacer",delete_are_you_sure:"\xBFEst\xE1 seguro de que desea eliminar este torrent?",deselect_all:"Deseleccionar todo",download:"Descargar",download_confirm:"\xBFEst\xE1s seguro de que deseas descargar los torrents seleccionados?",edit_tags:"Editar etiquetas",episodes:"Episodios",external_links:"Enlaces externos",file_index:"\xCDndice de archivos",file_path:"Ruta del archivo",file_size:"Tama\xF1o del archivo",file_type:"Tipo de archivo",files:"Archivos",files_count_n:"{{count}} archivos",files_no_info:"No hay informaci\xF3n de archivos disponible",files_single:"Archivo \xFAnico",genres:"G\xE9neros",info_hash:"Hash de informaci\xF3n",info_hashes:"Hashes de informaci\xF3n",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Enlaces Magnet",new_tag:"Nueva etiqueta",order_by:"Ordenar por",order_direction_toggle:"Alternar direcci\xF3n",ordering:{files_count:"Recuento de archivos",info_hash:"Hash de informaci\xF3n",leechers:"Leechers",name:"Nombre",published_at:"Publicado en",relevance:"Relevancia",seeders:"Seeders",size:"Tama\xF1o",updated_at:"Actualizado en"},original_release_date:"Fecha de lanzamiento original",permalink:"Enlace permanente",poster:"P\xF3ster",published:"Publicado",rating:"Calificaci\xF3n",refresh:"Actualizar resultados",reprocess:{force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",reprocess:"Volver a procesar"},s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Seleccionar todo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} archivos",size:"Tama\xF1o",source:"Fuente del torrent",summary:"Resumen",tags:{delete:"Eliminar etiquetas",delete_tip:"Eliminar etiquetas de los torrents seleccionados",placeholder:"Etiqueta...",put:"Poner etiquetas",put_tip:"A\xF1adir etiquetas a los torrents seleccionados",set:"Establecer etiquetas",set_tip:"Reemplazar etiquetas de los torrents seleccionados"},title:"T\xEDtulo",toggle_drawer:"Alternar caj\xF3n",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"versi\xF3n de bitmagnet {{version}}",unknown:"desconocido"}};var wt={content_types:{plural:{all:"Tous",audiobook:"Livres audio",comic:"Bandes dessin\xE9es",ebook:"E-livres",game:"Jeux",movie:"Films",music:"Musique",null:"Inconnu",software:"Logiciels",tv_show:"S\xE9ries TV",xxx:"XXX"},singular:{audiobook:"Livre audio",comic:"Bande dessin\xE9e",ebook:"E-livre",game:"Jeu",movie:"Film",music:"Musique",null:"Inconnu",software:"Logiciel",tv_show:"S\xE9rie TV",xxx:"XXX"}},dashboard:{event:{created:"Cr\xE9\xE9",failed:"\xC9chou\xE9",processed:"Trait\xE9",updated:"Mis \xE0 jour"},interval:{all:"Tous",days:"Jours",days_1:"1 jour",hours:"Heures",hours_1:"1 heure",hours_12:"12 heures",hours_6:"6 heures",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"D\xE9sactiv\xE9",seconds_10:"10 secondes",seconds_30:"30 secondes",weeks_1:"1 semaine"},metrics:{event:"\xC9v\xE9nement",resolution:"R\xE9solution",throughput:"D\xE9bit",timeframe:"P\xE9riode",toggle_legend:"Basculer la l\xE9gende"},queues:{created:"Cr\xE9\xE9",created_at:"Cr\xE9\xE9 \xE0",enqueue_jobs:"Mettre les taches en file d'attente",enqueue_torrent_processing_batch:"Mettre le traitement des torrents en file d'attente",failed:"\xC9chou\xE9",force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",jobs_enqueued:"T\xE2ches en attente",latency:"Latence",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",payload:"Charge utile",pending:"En attente",priority:"Priorit\xE9",process_orphaned_torrents_only:"Traiter uniquement les torrents orphelins",processed:"Trait\xE9",purge_jobs:"Purger les t\xE2ches",purge_queue_jobs:"Purger les t\xE2ches de la file d'attente",queue:"File d'attente",queue_purged:"File d'attente purg\xE9e",queues:"Files d'attente",ran_at:"Ex\xE9cut\xE9 \xE0",retry:"R\xE9essayer",total_counts_by_status:"Totaux par statut"}},facets:{content_type:"Type de contenu",file_type:"Type de fichier",genre:"Genre",language:"Langue",queue:"File d'attente",status:"Statut",torrent_source:"Source du torrent",torrent_tag:"Tag du torrent",video_resolution:"R\xE9solution vid\xE9o",video_source:"Source vid\xE9o"},file_types:{archive:"Archive",audio:"Audio",data:"Donn\xE9es",document:"Document",image:"Image",software:"Logiciel",subtitles:"Sous-titres",unknown:"Inconnu",video:"Vid\xE9o"},general:{all:"Tous",dismiss:"Fermer",error:"Erreur",none:"Aucun",page_not_found:"Page non trouv\xE9e",refresh:"Rafra\xEEchir",status:"Statut"},health:{bitmagnet_is_status:"bitmagnet est {{status}}",check_failed_with_error:"V\xE9rification \xE9chou\xE9e avec erreur",component:"Composant",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fermer",error:"Erreur",status:"Statut",statuses:{degraded:"D\xE9grad\xE9",down:"Hors ligne",error:"Erreur",inactive:"Inactif",started:"D\xE9marr\xE9",unknown:"En attente",up:"En ligne"},summary:"R\xE9sum\xE9 de la sant\xE9",worker:"Travailleur",workers:{dht_crawler:"Explorateur DHT",http_server:"Serveur HTTP",queue_server:"Serveur de file d'attente"}},languages:{af:"Afrikaans",ar:"Arabe",az:"Azerba\xEFdjanais",be:"Bi\xE9lorusse",bg:"Bulgare",bs:"Bosniaque",ca:"Catalan",ce:"Tch\xE9tch\xE8ne",co:"Corse",cs:"Tch\xE8que",cy:"Gallois",da:"Danois",de:"Allemand",el:"Grec",en:"Anglais",es:"Espagnol",et:"Estonien",eu:"Basque",fa:"Persan",fi:"Finnois",fr:"Fran\xE7ais",he:"H\xE9breu",hi:"Hindi",hr:"Croate",hu:"Hongrois",hy:"Arm\xE9nien",id:"Indon\xE9sien",is:"Islandais",it:"Italien",ja:"Japonais",ka:"G\xE9orgien",ko:"Cor\xE9en",ku:"Kurde",lt:"Lituanien",lv:"Letton",mi:"Maori",mk:"Mac\xE9donien",ml:"Malayalam",mn:"Mongol",ms:"Malais",mt:"Maltais",nl:"N\xE9erlandais",no:"Norv\xE9gien",pl:"Polonais",pt:"Portugais",ro:"Roumain",ru:"Russe",sa:"Sanskrit",sk:"Slovaque",sl:"Slov\xE8ne",sm:"Samoan",so:"Somali",sr:"Serbe",sv:"Su\xE9dois",ta:"Tamoul",th:"Tha\xEF",tr:"Turc",uk:"Ukrainien",vi:"Vietnamien",yi:"Yiddish",zh:"Chinois",zu:"Zoulou"},layout:{bitmagnet_on_service:"bitmagnet sur {{service}}",change_theme:"Changer de th\xE8me",external_links:"Liens externes",sponsor:"Sponsor",support_bitmagnet:"Soutenir bitmagnet",translate:"Traduire"},paginator:{first_page:"Premi\xE8re page",items_per_page:"Articles par page",last_page:"Derni\xE8re page",next_page:"Page suivante",page_x:"Page {{x}}",previous_page:"Page pr\xE9c\xE9dente",x_to_y:"{{x}} \xE0 {{y}}",x_to_y_of_z:"{{x}} \xE0 {{y}} sur {{z}}"},routes:{admin:"Admin",dashboard:"Tableau de bord",home:"Accueil",jobs:"T\xE2ches",queues:"Files d'attente",torrents:"Torrents",visualize:"Visualiser"},torrents:{classification:"Classification",clear_search:"Effacer la recherche",copy:"Copier",copy_to_clipboard:"Copier dans le presse-papiers",delete:"Supprimer",delete_action_cannot_be_undone:"Cette action ne peut pas \xEAtre annul\xE9e",delete_are_you_sure:"\xCAtes-vous s\xFBr de vouloir supprimer ce torrent?",deselect_all:"Tout d\xE9s\xE9lectionner",download:"T\xE9l\xE9charger",download_confirm:"\xCAtes-vous s\xFBr de vouloir t\xE9l\xE9charger les torrents s\xE9lectionn\xE9s ?",edit_tags:"Modifier les tags",episodes:"\xC9pisodes",external_links:"Liens externes",file_index:"Index de fichier",file_path:"Chemin de fichier",file_size:"Taille de fichier",file_type:"Type de fichier",files:"Fichiers",files_count_n:"{{count}} fichiers",files_no_info:"Aucune information sur les fichiers disponible",files_single:"Fichier unique",genres:"Genres",info_hash:"Hash d'info",info_hashes:"Hashes d'info",languages:"Langues",leechers:"Leechers",magnet:"Magnet",magnet_links:"Liens Magnet",new_tag:"Nouveau tag",order_by:"Trier par",order_direction_toggle:"Inverser le sens",ordering:{files_count:"Nombre de fichiers",info_hash:"Hash d'info",leechers:"Leechers",name:"Nom",published_at:"Publi\xE9 \xE0",relevance:"Pertinence",seeders:"Seeders",size:"Taille",updated_at:"Mis \xE0 jour \xE0"},original_release_date:"Date de sortie originale",permalink:"Permalien",poster:"Affiche",published:"Publi\xE9",rating:"\xC9valuation",refresh:"Rafra\xEEchir les r\xE9sultats",reprocess:{force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",reprocess:"Retraitement"},s_l:"S / L",search:"Rechercher",seeders:"Seeders",select_all:"Tout s\xE9lectionner",showing_x_of_y_files:"Affichage de {{x}} sur {{y}} fichiers",size:"Taille",source:"Source du torrent",summary:"R\xE9sum\xE9",tags:{delete:"Supprimer les tags",delete_tip:"Supprimer les tags des torrents s\xE9lectionn\xE9s",placeholder:"Tag...",put:"Mettre des tags",put_tip:"Ajouter des tags aux torrents s\xE9lectionn\xE9s",set:"D\xE9finir des tags",set_tip:"Remplacer les tags des torrents s\xE9lectionn\xE9s"},title:"Titre",toggle_drawer:"Basculer le tiroir",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"version bitmagnet {{version}}",unknown:"inconnu"}};var Tt={content_types:{plural:{all:"\u0938\u092D\u0940",audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915\u094D\u0938",comic:"\u0915\u0949\u092E\u093F\u0915\u094D\u0938",ebook:"\u0908-\u092C\u0941\u0915\u094D\u0938",game:"\u0917\u0947\u092E\u094D\u0938",movie:"\u092B\u093C\u093F\u0932\u094D\u092E\u0947\u0902",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"},singular:{audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915",comic:"\u0915\u0949\u092E\u093F\u0915",ebook:"\u0908-\u092C\u0941\u0915",game:"\u0917\u0947\u092E",movie:"\u092B\u093C\u093F\u0932\u094D\u092E",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"}},dashboard:{event:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",failed:"\u0905\u0938\u092B\u0932",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",updated:"\u0905\u092A\u0921\u0947\u091F \u0915\u093F\u092F\u093E \u0917\u092F\u093E"},interval:{all:"\u0938\u092D\u0940",days:"\u0926\u093F\u0928",days_1:"1 \u0926\u093F\u0928",hours:"\u0918\u0902\u091F\u0947",hours_1:"1 \u0918\u0902\u091F\u093E",hours_12:"12 \u0918\u0902\u091F\u0947",hours_6:"6 \u0918\u0902\u091F\u0947",minutes:"\u092E\u093F\u0928\u091F",minutes_1:"1 \u092E\u093F\u0928\u091F",minutes_15:"15 \u092E\u093F\u0928\u091F",minutes_30:"30 \u092E\u093F\u0928\u091F",minutes_5:"5 \u092E\u093F\u0928\u091F",off:"\u092C\u0902\u0926",seconds_10:"10 \u0938\u0947\u0915\u0902\u0921",seconds_30:"30 \u0938\u0947\u0915\u0902\u0921",weeks_1:"1 \u0938\u092A\u094D\u0924\u093E\u0939"},metrics:{event:"\u0918\u091F\u0928\u093E",resolution:"\u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",throughput:"\u0925\u094D\u0930\u0942\u092A\u0941\u091F",timeframe:"\u0938\u092E\u092F \u0938\u0940\u092E\u093E",toggle_legend:"\u0932\u0940\u091C\u0947\u0902\u0921 \u091F\u0949\u0917\u0932 \u0915\u0930\u0947\u0902"},queues:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",created_at:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",enqueue_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",enqueue_torrent_processing_batch:"\u091F\u094B\u0930\u0947\u0902\u091F \u092A\u094D\u0930\u094B\u0938\u0947\u0938\u093F\u0902\u0917 \u092C\u0948\u091A \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",failed:"\u0905\u0938\u092B\u0932",force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",jobs_enqueued:"\u091C\u0949\u092C\u094D\u0938 \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u0908 \u0917\u0908\u0902",latency:"\u0932\u0947\u091F\u0947\u0902\u0938\u0940",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",payload:"\u092A\u0947\u0932\u094B\u0921",pending:"\u092C\u0915\u093E\u092F\u093E",priority:"\u092A\u094D\u0930\u093E\u0925\u092E\u093F\u0915\u0924\u093E",process_orphaned_torrents_only:"\u0915\u0947\u0935\u0932 \u0905\u0928\u093E\u0925 \u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938 \u0915\u094B \u092A\u094D\u0930\u094B\u0938\u0947\u0938 \u0915\u0930\u0947\u0902",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",purge_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",purge_queue_jobs:"\u0915\u0924\u093E\u0930 \u0915\u0947 \u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",queue:"\u0915\u0924\u093E\u0930",queue_purged:"\u0915\u0924\u093E\u0930 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u093F\u092F\u093E \u0917\u092F\u093E",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",ran_at:"\u091A\u0932\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",retry:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",total_counts_by_status:"\u0938\u094D\u0925\u093F\u0924\u093F \u0926\u094D\u0935\u093E\u0930\u093E \u0915\u0941\u0932 \u0917\u0923\u0928\u093E"}},facets:{content_type:"\u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u092A\u094D\u0930\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",genre:"\u0936\u0948\u0932\u0940",language:"\u092D\u093E\u0937\u093E",queue:"\u0915\u0924\u093E\u0930",status:"\u0938\u094D\u0925\u093F\u0924\u093F",torrent_source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",torrent_tag:"\u091F\u094B\u0930\u0947\u0902\u091F \u091F\u0948\u0917",video_resolution:"\u0935\u0940\u0921\u093F\u092F\u094B \u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",video_source:"\u0935\u0940\u0921\u093F\u092F\u094B \u0938\u094D\u0930\u094B\u0924"},file_types:{archive:"\u0906\u0930\u094D\u0915\u093E\u0907\u0935",audio:"\u0911\u0921\u093F\u092F\u094B",data:"\u0921\u0947\u091F\u093E",document:"\u0926\u0938\u094D\u0924\u093E\u0935\u0947\u091C\u093C",image:"\u091B\u0935\u093F",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",subtitles:"\u0909\u092A\u0936\u0940\u0930\u094D\u0937\u0915",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924",video:"\u0935\u0940\u0921\u093F\u092F\u094B"},general:{all:"\u0938\u092D\u0940",dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",none:"\u0915\u094B\u0908 \u0928\u0939\u0940\u0902",page_not_found:"\u092A\u0943\u0937\u094D\u0920 \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E",refresh:"\u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",status:"\u0938\u094D\u0925\u093F\u0924\u093F"},health:{bitmagnet_is_status:"bitmagnet {{status}} \u0939\u0948",check_failed_with_error:"\u0924\u094D\u0930\u0941\u091F\u093F \u0915\u0947 \u0938\u093E\u0925 \u091C\u093E\u0902\u091A \u0935\u093F\u092B\u0932",component:"\u0918\u091F\u0915",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",status:"\u0938\u094D\u0925\u093F\u0924\u093F",statuses:{degraded:"\u0915\u094D\u0937\u0940\u0923",down:"\u092C\u0902\u0926",error:"\u0924\u094D\u0930\u0941\u091F\u093F",inactive:"\u0928\u093F\u0937\u094D\u0915\u094D\u0930\u093F\u092F",started:"\u0936\u0941\u0930\u0942 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",unknown:"\u0932\u0902\u092C\u093F\u0924",up:"\u091A\u093E\u0932\u0942"},summary:"\u0938\u094D\u0935\u093E\u0938\u094D\u0925\u094D\u092F \u0938\u093E\u0930\u093E\u0902\u0936",worker:"\u0915\u093E\u0930\u094D\u092F\u0915\u0930\u094D\u0924\u093E",workers:{dht_crawler:"DHT \u0915\u094D\u0930\u0949\u0932\u0930",http_server:"HTTP \u0938\u0930\u094D\u0935\u0930",queue_server:"\u0915\u0924\u093E\u0930 \u0938\u0930\u094D\u0935\u0930"}},languages:{af:"\u0905\u092B\u094D\u0930\u0940\u0915\u0940",ar:"\u0905\u0930\u092C\u0940",az:"\u0905\u091C\u093C\u0947\u0930\u0940",be:"\u092C\u0947\u0932\u093E\u0930\u0942\u0938\u0940",bg:"\u092C\u0941\u0932\u094D\u0917\u093E\u0930\u093F\u092F\u093E\u0908",bs:"\u092C\u094B\u0938\u094D\u0928\u093F\u092F\u093E\u0908",ca:"\u0915\u0948\u091F\u0932\u0928",ce:"\u091A\u0947\u091A\u0947\u0928",co:"\u0915\u094B\u0930\u094D\u0938\u093F\u0915\u0928",cs:"\u091A\u0947\u0915",cy:"\u0935\u0947\u0932\u094D\u0936",da:"\u0921\u0947\u0928\u093F\u0936",de:"\u091C\u0930\u094D\u092E\u0928",el:"\u0917\u094D\u0930\u0940\u0915",en:"\u0905\u0902\u0917\u094D\u0930\u0947\u091C\u0940",es:"\u0938\u094D\u092A\u0948\u0928\u093F\u0936",et:"\u090F\u0938\u094D\u0924\u094B\u0928\u093F\u092F\u093E\u0908",eu:"\u092C\u093E\u0938\u094D\u0915",fa:"\u092B\u093E\u0930\u0938\u0940",fi:"\u092B\u093C\u093F\u0928\u093F\u0936",fr:"\u092B\u094D\u0930\u0947\u0902\u091A",he:"\u0939\u093F\u092C\u094D\u0930\u0942",hi:"\u0939\u093F\u0902\u0926\u0940",hr:"\u0915\u094D\u0930\u094B\u090F\u0936\u093F\u092F\u093E\u0908",hu:"\u0939\u0902\u0917\u0947\u0930\u093F\u092F\u0928",hy:"\u0906\u0930\u094D\u092E\u0947\u0928\u093F\u092F\u093E\u0908",id:"\u0907\u0902\u0921\u094B\u0928\u0947\u0936\u093F\u092F\u093E\u0908",is:"\u0906\u0907\u0938\u0932\u0948\u0902\u0921\u093F\u0915",it:"\u0907\u0924\u093E\u0932\u0935\u0940",ja:"\u091C\u093E\u092A\u093E\u0928\u0940",ka:"\u091C\u0949\u0930\u094D\u091C\u093F\u092F\u093E\u0908",ko:"\u0915\u094B\u0930\u093F\u092F\u093E\u0908",ku:"\u0915\u0941\u0930\u094D\u0926\u0940",lt:"\u0932\u093F\u0925\u0941\u0906\u0928\u093F\u092F\u093E\u0908",lv:"\u0932\u093E\u0924\u0935\u093F\u092F\u093E\u0908",mi:"\u092E\u093E\u0913\u0930\u0940",mk:"\u092E\u0948\u0938\u093F\u0921\u094B\u0928\u093F\u092F\u093E\u0908",ml:"\u092E\u0932\u092F\u093E\u0932\u092E",mn:"\u092E\u0902\u0917\u094B\u0932\u093F\u092F\u093E\u0908",ms:"\u092E\u0932\u092F",mt:"\u092E\u093E\u0932\u094D\u091F\u0940\u091C\u093C",nl:"\u0921\u091A",no:"\u0928\u0949\u0930\u094D\u0935\u0947\u091C\u093F\u092F\u0928",pl:"\u092A\u094B\u0932\u093F\u0936",pt:"\u092A\u0941\u0930\u094D\u0924\u0917\u093E\u0932\u0940",ro:"\u0930\u094B\u092E\u093E\u0928\u093F\u092F\u093E\u0908",ru:"\u0930\u0942\u0938\u0940",sa:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924",sk:"\u0938\u094D\u0932\u094B\u0935\u093E\u0915",sl:"\u0938\u094D\u0932\u094B\u0935\u0947\u0928\u093F\u092F\u093E\u0908",sm:"\u0938\u093E\u092E\u094B\u0928",so:"\u0938\u094B\u092E\u093E\u0932\u0940",sr:"\u0938\u0930\u094D\u092C\u093F\u092F\u093E\u0908",sv:"\u0938\u094D\u0935\u0940\u0921\u093F\u0936",ta:"\u0924\u092E\u093F\u0932",th:"\u0925\u093E\u0908",tr:"\u0924\u0941\u0930\u094D\u0915\u0940",uk:"\u092F\u0942\u0915\u094D\u0930\u0947\u0928\u0940",vi:"\u0935\u093F\u092F\u0924\u0928\u093E\u092E\u0940",yi:"\u092F\u093F\u0926\u094D\u0926\u093F\u0936",zh:"\u091A\u0940\u0928\u0940",zu:"\u091C\u093C\u0941\u0932\u0941"},layout:{bitmagnet_on_service:"{{service}} \u092A\u0930 bitmagnet",change_theme:"\u0925\u0940\u092E \u092C\u0926\u0932\u0947\u0902",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",sponsor:"\u092A\u094D\u0930\u093E\u092F\u094B\u091C\u0915",support_bitmagnet:"bitmagnet \u0915\u094B \u0938\u092E\u0930\u094D\u0925\u0928 \u0926\u0947\u0902",translate:"\u0905\u0928\u0941\u0935\u093E\u0926 \u0915\u0930\u0947\u0902"},paginator:{first_page:"\u092A\u0939\u0932\u093E \u092A\u0943\u0937\u094D\u0920",items_per_page:"\u092A\u094D\u0930\u0924\u093F \u092A\u0943\u0937\u094D\u0920 \u0906\u0907\u091F\u092E",last_page:"\u0905\u0902\u0924\u093F\u092E \u092A\u0943\u0937\u094D\u0920",next_page:"\u0905\u0917\u0932\u093E \u092A\u0943\u0937\u094D\u0920",page_x:"\u092A\u0943\u0937\u094D\u0920 {{x}}",previous_page:"\u092A\u093F\u091B\u0932\u093E \u092A\u0943\u0937\u094D\u0920",x_to_y:"{{x}} \u0938\u0947 {{y}} \u0924\u0915",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u0938\u0947 {{y}} \u0924\u0915 {{z}} \u092E\u0947\u0902"},routes:{admin:"\u092A\u094D\u0930\u0936\u093E\u0938\u0915",dashboard:"\u0921\u0948\u0936\u092C\u094B\u0930\u094D\u0921",home:"\u0939\u094B\u092E",jobs:"\u0928\u094C\u0915\u0930\u093F\u092F\u093E\u0902",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",torrents:"\u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938",visualize:"\u0926\u0943\u0936\u094D\u092F \u0915\u0930\u0947\u0902"},torrents:{classification:"\u0935\u0930\u094D\u0917\u0940\u0915\u0930\u0923",clear_search:"\u0916\u094B\u091C \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",copy:"\u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",copy_to_clipboard:"\u0915\u094D\u0932\u093F\u092A\u092C\u094B\u0930\u094D\u0921 \u092E\u0947\u0902 \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",delete:"\u0939\u091F\u093E\u090F\u0902",delete_action_cannot_be_undone:"\u092F\u0939 \u0915\u094D\u0930\u093F\u092F\u093E \u092A\u0942\u0930\u094D\u0935\u0935\u0924 \u0928\u0939\u0940\u0902 \u0915\u0940 \u091C\u093E \u0938\u0915\u0924\u0940",delete_are_you_sure:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u0907\u0938 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u094B \u0939\u091F\u093E\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",deselect_all:"\u0938\u092D\u0940 \u0915\u094B \u0905\u091A\u092F\u0928\u093F\u0924 \u0915\u0930\u0947\u0902",download:"\u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0947\u0902",download_confirm:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0921\u093E\u0909\u0928\u0932\u094B\u0921 \u0915\u0930\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",edit_tags:"\u091F\u0948\u0917 \u0938\u0902\u092A\u093E\u0926\u093F\u0924 \u0915\u0930\u0947\u0902",episodes:"\u090F\u092A\u093F\u0938\u094B\u0921\u094D\u0938",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",file_index:"\u092B\u093C\u093E\u0907\u0932 \u0938\u0942\u091A\u0915\u093E\u0902\u0915",file_path:"\u092B\u093C\u093E\u0907\u0932 \u092A\u0925",file_size:"\u092B\u093C\u093E\u0907\u0932 \u0906\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",files:"\u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_count_n:"{{count}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_no_info:"\u0915\u094B\u0908 \u092B\u093C\u093E\u0907\u0932 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948",files_single:"\u090F\u0915\u0932 \u092B\u093C\u093E\u0907\u0932",genres:"\u0936\u0948\u0932\u093F\u092F\u093E\u0901",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",info_hashes:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936\u0947\u091C",languages:"\u092D\u093E\u0937\u093E\u090F\u0901",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",magnet:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F",magnet_links:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F \u0932\u093F\u0902\u0915",new_tag:"\u0928\u092F\u093E \u091F\u0948\u0917",order_by:"\u0915\u094D\u0930\u092E\u092C\u0926\u094D\u0927 \u0915\u0930\u0947\u0902",order_direction_toggle:"\u0926\u093F\u0936\u093E \u092C\u0926\u0932\u0947\u0902",ordering:{files_count:"\u092B\u093C\u093E\u0907\u0932\u094B\u0902 \u0915\u0940 \u0938\u0902\u0916\u094D\u092F\u093E",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",name:"\u0928\u093E\u092E",published_at:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924 \u0938\u092E\u092F",relevance:"\u092A\u094D\u0930\u093E\u0938\u0902\u0917\u093F\u0915\u0924\u093E",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",size:"\u0906\u0915\u093E\u0930",updated_at:"\u0905\u092A\u0921\u0947\u091F \u0938\u092E\u092F"},original_release_date:"\u092E\u0942\u0932 \u0930\u093F\u0932\u0940\u091C\u093C \u0924\u093F\u0925\u093F",permalink:"\u0938\u094D\u0925\u093E\u092F\u0940 \u0932\u093F\u0902\u0915",poster:"\u092A\u094B\u0938\u094D\u091F\u0930",published:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924",rating:"\u0930\u0947\u091F\u093F\u0902\u0917",refresh:"\u092A\u0930\u093F\u0923\u093E\u092E \u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",reprocess:{force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",reprocess:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u0915\u094D\u0930\u093F\u092F\u093E \u0915\u0930\u0947\u0902"},s_l:"S / L",search:"\u0916\u094B\u091C",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",select_all:"\u0938\u092D\u0940 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",showing_x_of_y_files:"{{x}} \u092E\u0947\u0902 \u0938\u0947 {{y}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902 \u0926\u093F\u0916\u093E \u0930\u0939\u093E \u0939\u0948",size:"\u0906\u0915\u093E\u0930",source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",summary:"\u0938\u093E\u0930\u093E\u0902\u0936",tags:{delete:"\u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",delete_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0938\u0947 \u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",placeholder:"\u091F\u0948\u0917...",put:"\u091F\u0948\u0917 \u0921\u093E\u0932\u0947\u0902",put_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u092E\u0947\u0902 \u091F\u0948\u0917 \u091C\u094B\u0921\u093C\u0947\u0902",set:"\u091F\u0948\u0917 \u0938\u0947\u091F \u0915\u0930\u0947\u0902",set_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u0947 \u091F\u0948\u0917 \u092C\u0926\u0932\u0947\u0902"},title:"\u0936\u0940\u0930\u094D\u0937\u0915",toggle_drawer:"\u0921\u094D\u0930\u0949\u0905\u0930 \u092C\u0926\u0932\u0947\u0902",votes_count_n:"{{count}} \u0935\u094B\u091F"},version:{bitmagnet_version:"bitmagnet \u0938\u0902\u0938\u094D\u0915\u0930\u0923 {{version}}",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924"}};var St={content_types:{plural:{all:"\u3059\u3079\u3066",audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",game:"\u30B2\u30FC\u30E0",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"},singular:{audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",game:"\u30B2\u30FC\u30E0",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"}},dashboard:{event:{created:"\u4F5C\u6210\u6E08\u307F",failed:"\u5931\u6557",processed:"\u51E6\u7406\u6E08\u307F",updated:"\u66F4\u65B0\u6E08\u307F"},interval:{all:"\u3059\u3079\u3066",days:"\u65E5",days_1:"1\u65E5",hours:"\u6642\u9593",hours_1:"1\u6642\u9593",hours_12:"12\u6642\u9593",hours_6:"6\u6642\u9593",minutes:"\u5206",minutes_1:"1\u5206",minutes_15:"15\u5206",minutes_30:"30\u5206",minutes_5:"5\u5206",off:"\u30AA\u30D5",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u9031\u9593"},metrics:{event:"\u30A4\u30D9\u30F3\u30C8",resolution:"\u89E3\u50CF\u5EA6",throughput:"\u30B9\u30EB\u30FC\u30D7\u30C3\u30C8",timeframe:"\u671F\u9593",toggle_legend:"\u51E1\u4F8B\u3092\u5207\u308A\u66FF\u3048"},queues:{created:"\u4F5C\u6210\u6E08\u307F",created_at:"\u4F5C\u6210\u65E5\u6642",enqueue_jobs:"\u30B8\u30E7\u30D6\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",enqueue_torrent_processing_batch:"\u30C8\u30EC\u30F3\u30C8\u51E6\u7406\u30D0\u30C3\u30C1\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",failed:"\u5931\u6557",force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",jobs_enqueued:"\u30AD\u30E5\u30FC\u306B\u8FFD\u52A0\u3055\u308C\u305F\u30B8\u30E7\u30D6",latency:"\u30EC\u30A4\u30C6\u30F3\u30B7",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",payload:"\u30DA\u30A4\u30ED\u30FC\u30C9",pending:"\u4FDD\u7559\u4E2D",priority:"\u512A\u5148\u9806\u4F4D",process_orphaned_torrents_only:"\u5B64\u7ACB\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u307F\u51E6\u7406\u3059\u308B",processed:"\u51E6\u7406\u6E08\u307F",purge_jobs:"\u30B8\u30E7\u30D6\u3092\u524A\u9664",purge_queue_jobs:"\u30AD\u30E5\u30FC\u5185\u306E\u30B8\u30E7\u30D6\u3092\u524A\u9664",queue:"\u30AD\u30E5\u30FC",queue_purged:"\u30AD\u30E5\u30FC\u304C\u30AF\u30EA\u30A2\u3055\u308C\u307E\u3057\u305F",queues:"\u30AD\u30E5\u30FC",ran_at:"\u5B9F\u884C\u6642\u523B",retry:"\u518D\u8A66\u884C",total_counts_by_status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3054\u3068\u306E\u7DCF\u6570"}},facets:{content_type:"\u30B3\u30F3\u30C6\u30F3\u30C4\u30BF\u30A4\u30D7",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",genre:"\u30B8\u30E3\u30F3\u30EB",language:"\u8A00\u8A9E",queue:"\u30AD\u30E5\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",torrent_source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",torrent_tag:"\u30C8\u30EC\u30F3\u30C8\u30BF\u30B0",video_resolution:"\u30D3\u30C7\u30AA\u89E3\u50CF\u5EA6",video_source:"\u30D3\u30C7\u30AA\u30BD\u30FC\u30B9"},file_types:{archive:"\u30A2\u30FC\u30AB\u30A4\u30D6",audio:"\u30AA\u30FC\u30C7\u30A3\u30AA",data:"\u30C7\u30FC\u30BF",document:"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8",image:"\u753B\u50CF",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",subtitles:"\u5B57\u5E55",unknown:"\u4E0D\u660E",video:"\u30D3\u30C7\u30AA"},general:{all:"\u3059\u3079\u3066",dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",none:"\u306A\u3057",page_not_found:"\u30DA\u30FC\u30B8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",refresh:"\u66F4\u65B0",status:"\u30B9\u30C6\u30FC\u30BF\u30B9"},health:{bitmagnet_is_status:"bitmagnet\u306F{{status}}\u3067\u3059",check_failed_with_error:"\u30A8\u30E9\u30FC\u3067\u30C1\u30A7\u30C3\u30AF\u306B\u5931\u6557\u3057\u307E\u3057\u305F",component:"\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",statuses:{degraded:"\u4F4E\u4E0B",down:"\u505C\u6B62",error:"\u30A8\u30E9\u30FC",inactive:"\u975E\u30A2\u30AF\u30C6\u30A3\u30D6",started:"\u958B\u59CB",unknown:"\u4FDD\u7559\u4E2D",up:"\u7A3C\u50CD\u4E2D"},summary:"\u5065\u5EB7\u72B6\u614B\u306E\u6982\u8981",worker:"\u30EF\u30FC\u30AB\u30FC",workers:{dht_crawler:"DHT\u30AF\u30ED\u30FC\u30E9\u30FC",http_server:"HTTP\u30B5\u30FC\u30D0\u30FC",queue_server:"\u30AD\u30E5\u30FC\u30B5\u30FC\u30D0\u30FC"}},languages:{af:"\u30A2\u30D5\u30EA\u30AB\u30FC\u30F3\u30B9\u8A9E",ar:"\u30A2\u30E9\u30D3\u30A2\u8A9E",az:"\u30A2\u30BC\u30EB\u30D0\u30A4\u30B8\u30E3\u30F3\u8A9E",be:"\u30D9\u30E9\u30EB\u30FC\u30B7\u8A9E",bg:"\u30D6\u30EB\u30AC\u30EA\u30A2\u8A9E",bs:"\u30DC\u30B9\u30CB\u30A2\u8A9E",ca:"\u30AB\u30BF\u30EB\u30FC\u30CB\u30E3\u8A9E",ce:"\u30C1\u30A7\u30C1\u30A7\u30F3\u8A9E",co:"\u30B3\u30EB\u30B7\u30AB\u8A9E",cs:"\u30C1\u30A7\u30B3\u8A9E",cy:"\u30A6\u30A7\u30FC\u30EB\u30BA\u8A9E",da:"\u30C7\u30F3\u30DE\u30FC\u30AF\u8A9E",de:"\u30C9\u30A4\u30C4\u8A9E",el:"\u30AE\u30EA\u30B7\u30E3\u8A9E",en:"\u82F1\u8A9E",es:"\u30B9\u30DA\u30A4\u30F3\u8A9E",et:"\u30A8\u30B9\u30C8\u30CB\u30A2\u8A9E",eu:"\u30D0\u30B9\u30AF\u8A9E",fa:"\u30DA\u30EB\u30B7\u30E3\u8A9E",fi:"\u30D5\u30A3\u30F3\u30E9\u30F3\u30C9\u8A9E",fr:"\u30D5\u30E9\u30F3\u30B9\u8A9E",he:"\u30D8\u30D6\u30E9\u30A4\u8A9E",hi:"\u30D2\u30F3\u30C7\u30A3\u30FC\u8A9E",hr:"\u30AF\u30ED\u30A2\u30C1\u30A2\u8A9E",hu:"\u30CF\u30F3\u30AC\u30EA\u30FC\u8A9E",hy:"\u30A2\u30EB\u30E1\u30CB\u30A2\u8A9E",id:"\u30A4\u30F3\u30C9\u30CD\u30B7\u30A2\u8A9E",is:"\u30A2\u30A4\u30B9\u30E9\u30F3\u30C9\u8A9E",it:"\u30A4\u30BF\u30EA\u30A2\u8A9E",ja:"\u65E5\u672C\u8A9E",ka:"\u30B0\u30EB\u30B8\u30A2\u8A9E",ko:"\u97D3\u56FD\u8A9E",ku:"\u30AF\u30EB\u30C9\u8A9E",lt:"\u30EA\u30C8\u30A2\u30CB\u30A2\u8A9E",lv:"\u30E9\u30C8\u30D3\u30A2\u8A9E",mi:"\u30DE\u30AA\u30EA\u8A9E",mk:"\u30DE\u30B1\u30C9\u30CB\u30A2\u8A9E",ml:"\u30DE\u30E9\u30E4\u30FC\u30E9\u30E0\u8A9E",mn:"\u30E2\u30F3\u30B4\u30EB\u8A9E",ms:"\u30DE\u30EC\u30FC\u8A9E",mt:"\u30DE\u30EB\u30BF\u8A9E",nl:"\u30AA\u30E9\u30F3\u30C0\u8A9E",no:"\u30CE\u30EB\u30A6\u30A7\u30FC\u8A9E",pl:"\u30DD\u30FC\u30E9\u30F3\u30C9\u8A9E",pt:"\u30DD\u30EB\u30C8\u30AC\u30EB\u8A9E",ro:"\u30EB\u30FC\u30DE\u30CB\u30A2\u8A9E",ru:"\u30ED\u30B7\u30A2\u8A9E",sa:"\u30B5\u30F3\u30B9\u30AF\u30EA\u30C3\u30C8",sk:"\u30B9\u30ED\u30D0\u30AD\u30A2\u8A9E",sl:"\u30B9\u30ED\u30D9\u30CB\u30A2\u8A9E",sm:"\u30B5\u30E2\u30A2\u8A9E",so:"\u30BD\u30DE\u30EA\u8A9E",sr:"\u30BB\u30EB\u30D3\u30A2\u8A9E",sv:"\u30B9\u30A6\u30A7\u30FC\u30C7\u30F3\u8A9E",ta:"\u30BF\u30DF\u30EB\u8A9E",th:"\u30BF\u30A4\u8A9E",tr:"\u30C8\u30EB\u30B3\u8A9E",uk:"\u30A6\u30AF\u30E9\u30A4\u30CA\u8A9E",vi:"\u30D9\u30C8\u30CA\u30E0\u8A9E",yi:"\u30A4\u30C7\u30A3\u30C3\u30B7\u30E5\u8A9E",zh:"\u4E2D\u56FD\u8A9E",zu:"\u30BA\u30FC\u30EB\u30FC\u8A9E"},layout:{bitmagnet_on_service:"{{service}}\u306Ebitmagnet",change_theme:"\u30C6\u30FC\u30DE\u3092\u5909\u66F4",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",sponsor:"\u30B9\u30DD\u30F3\u30B5\u30FC",support_bitmagnet:"bitmagnet\u3092\u30B5\u30DD\u30FC\u30C8",translate:"\u7FFB\u8A33\u3059\u308B"},paginator:{first_page:"\u6700\u521D\u306E\u30DA\u30FC\u30B8",items_per_page:"\u30DA\u30FC\u30B8\u3042\u305F\u308A\u306E\u9805\u76EE\u6570",last_page:"\u6700\u5F8C\u306E\u30DA\u30FC\u30B8",next_page:"\u6B21\u306E\u30DA\u30FC\u30B8",page_x:"\u30DA\u30FC\u30B8 {{x}}",previous_page:"\u524D\u306E\u30DA\u30FC\u30B8",x_to_y:"{{x}} \u304B\u3089 {{y}} \u307E\u3067",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u304B\u3089 {{y}} \u307E\u3067\u306E {{z}}"},routes:{admin:"\u7BA1\u7406\u8005",dashboard:"\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",home:"\u30DB\u30FC\u30E0",jobs:"\u30B8\u30E7\u30D6",queues:"\u30AD\u30E5\u30FC",torrents:"\u30C8\u30EC\u30F3\u30C8",visualize:"\u53EF\u8996\u5316"},torrents:{classification:"\u5206\u985E",clear_search:"\u691C\u7D22\u3092\u30AF\u30EA\u30A2",copy:"\u30B3\u30D4\u30FC",copy_to_clipboard:"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC",delete:"\u524A\u9664",delete_action_cannot_be_undone:"\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093",delete_are_you_sure:"\u3053\u306E\u30C8\u30EC\u30F3\u30C8\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",deselect_all:"\u3059\u3079\u3066\u306E\u9078\u629E\u3092\u89E3\u9664",download:"\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",download_confirm:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B?",edit_tags:"\u30BF\u30B0\u3092\u7DE8\u96C6",episodes:"\u30A8\u30D4\u30BD\u30FC\u30C9",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",file_index:"\u30D5\u30A1\u30A4\u30EB\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9",file_path:"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9",file_size:"\u30D5\u30A1\u30A4\u30EB\u30B5\u30A4\u30BA",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",files:"\u30D5\u30A1\u30A4\u30EB",files_count_n:"{{count}} \u4EF6\u306E\u30D5\u30A1\u30A4\u30EB",files_no_info:"\u30D5\u30A1\u30A4\u30EB\u60C5\u5831\u306F\u3042\u308A\u307E\u305B\u3093",files_single:"\u5358\u4E00\u30D5\u30A1\u30A4\u30EB",genres:"\u30B8\u30E3\u30F3\u30EB",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",info_hashes:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",languages:"\u8A00\u8A9E",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",magnet:"\u30DE\u30B0\u30CD\u30C3\u30C8",magnet_links:"\u30DE\u30B0\u30CD\u30C3\u30C8\u30EA\u30F3\u30AF",new_tag:"\u65B0\u3057\u3044\u30BF\u30B0",order_by:"\u4E26\u3073\u66FF\u3048",order_direction_toggle:"\u4E26\u3073\u9806\u3092\u5207\u308A\u66FF\u3048",ordering:{files_count:"\u30D5\u30A1\u30A4\u30EB\u6570",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",name:"\u540D\u524D",published_at:"\u516C\u958B\u65E5\u6642",relevance:"\u95A2\u9023\u6027",seeders:"\u30B7\u30FC\u30C0\u30FC",size:"\u30B5\u30A4\u30BA",updated_at:"\u66F4\u65B0\u65E5\u6642"},original_release_date:"\u30AA\u30EA\u30B8\u30CA\u30EB\u306E\u767A\u58F2\u65E5",permalink:"\u30D1\u30FC\u30DE\u30EA\u30F3\u30AF",poster:"\u30DD\u30B9\u30BF\u30FC",published:"\u516C\u958B\u6E08\u307F",rating:"\u8A55\u4FA1",refresh:"\u7D50\u679C\u3092\u66F4\u65B0",reprocess:{force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",reprocess:"\u518D\u51E6\u7406"},s_l:"S / L",search:"\u691C\u7D22",seeders:"\u30B7\u30FC\u30C0\u30FC",select_all:"\u3059\u3079\u3066\u9078\u629E",showing_x_of_y_files:"{{x}} \u4EF6\u4E2D {{y}} \u4EF6\u8868\u793A",size:"\u30B5\u30A4\u30BA",source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",summary:"\u6982\u8981",tags:{delete:"\u30BF\u30B0\u3092\u524A\u9664",delete_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u304B\u3089\u30BF\u30B0\u3092\u524A\u9664",placeholder:"\u30BF\u30B0...",put:"\u30BF\u30B0\u3092\u4ED8\u3051\u308B",put_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306B\u30BF\u30B0\u3092\u8FFD\u52A0\u3059\u308B",set:"\u30BF\u30B0\u3092\u8A2D\u5B9A\u3059\u308B",set_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u30BF\u30B0\u3092\u7F6E\u304D\u63DB\u3048\u308B"},title:"\u30BF\u30A4\u30C8\u30EB",toggle_drawer:"\u5F15\u304D\u51FA\u3057\u3092\u5207\u308A\u66FF\u3048",votes_count_n:"{{count}} \u7968"},version:{bitmagnet_version:"bitmagnet\u30D0\u30FC\u30B8\u30E7\u30F3 {{version}}",unknown:"\u4E0D\u660E"}};var Ct={content_types:{plural:{all:"Alle",audiobook:"Audioboeken",comic:"Strips",ebook:"E-Boeken",game:"Spellen",movie:"Films",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma's",xxx:"XXX"},singular:{audiobook:"Audioboek",comic:"Strip",ebook:"E-Book",game:"Spel",movie:"Film",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma",xxx:"XXX"}},dashboard:{event:{created:"Gemaakt",failed:"Mislukt",processed:"Verwerkt",updated:"Bijgewerkt"},interval:{all:"Alle",days:"Dagen",days_1:"1 dag",hours:"Uren",hours_1:"1 uur",hours_12:"12 uur",hours_6:"6 uur",minutes:"Minuten",minutes_1:"1 minuut",minutes_15:"15 minuten",minutes_30:"30 minuten",minutes_5:"5 minuten",off:"Uit",seconds_10:"10 seconden",seconds_30:"30 seconden",weeks_1:"1 week"},metrics:{event:"Gebeurtenis",resolution:"Resolutie",throughput:"Doorvoer",timeframe:"Tijdsperiode",toggle_legend:"Legenda in-/uitschakelen"},queues:{created:"Gemaakt",created_at:"Gemaakt op",enqueue_jobs:"Voeg taken toe aan wachtrij",enqueue_torrent_processing_batch:"Torrentverwerkingsbatch toevoegen",failed:"Mislukt",force_rematch:"Forceer nieuwe match van al gematchte inhoud",jobs_enqueued:"Taken in wachtrij gezet",latency:"Latentie",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",payload:"Inhoud",pending:"In afwachting",priority:"Prioriteit",process_orphaned_torrents_only:"Verwerk alleen verweesde torrents",processed:"Verwerkt",purge_jobs:"Wis taken",purge_queue_jobs:"Wis wachtrijtaken",queue:"Wachtrij",queue_purged:"Wachtrij gewist",queues:"Wachtrijen",ran_at:"Uitgevoerd op",retry:"Opnieuw proberen",total_counts_by_status:"Totaal aantal per status"}},facets:{content_type:"Inhoudstype",file_type:"Bestandstype",genre:"Genre",language:"Taal",queue:"Wachtrij",status:"Status",torrent_source:"Torrentbron",torrent_tag:"Torrenttag",video_resolution:"Videoresolutie",video_source:"Videobron"},file_types:{archive:"Archief",audio:"Audio",data:"Data",document:"Document",image:"Afbeelding",software:"Software",subtitles:"Ondertitels",unknown:"Onbekend",video:"Video"},general:{all:"Alle",dismiss:"Sluiten",error:"Fout",none:"Geen",page_not_found:"Pagina niet gevonden",refresh:"Verversen",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Controle mislukt met foutmelding",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Sluiten",error:"Fout",status:"Status",statuses:{degraded:"Verlaagd",down:"Niet beschikbaar",error:"Fout",inactive:"Inactief",started:"Gestart",unknown:"Onbekend",up:"Beschikbaar"},summary:"Gezondheidsrapport",worker:"Werker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Wachtrijserver"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Azerbeidzjaans",be:"Wit-Russisch",bg:"Bulgaars",bs:"Bosnisch",ca:"Catalaans",ce:"Tsjetsjeens",co:"Corsicaans",cs:"Tsjechisch",cy:"Welsh",da:"Deens",de:"Duits",el:"Grieks",en:"Engels",es:"Spaans",et:"Ests",eu:"Baskisch",fa:"Perzisch",fi:"Fins",fr:"Frans",he:"Hebreeuws",hi:"Hindi",hr:"Kroatisch",hu:"Hongaars",hy:"Armeens",id:"Indonesisch",is:"IJslands",it:"Italiaans",ja:"Japans",ka:"Georgisch",ko:"Koreaans",ku:"Koerdisch",lt:"Litouws",lv:"Lets",mi:"Maori",mk:"Macedonisch",ml:"Malayalam",mn:"Mongools",ms:"Maleis",mt:"Maltees",nl:"Nederlands",no:"Noors",pl:"Pools",pt:"Portugees",ro:"Roemeens",ru:"Russisch",sa:"Sanskriet",sk:"Slowaaks",sl:"Sloveens",sm:"Samoaans",so:"Somalisch",sr:"Servisch",sv:"Zweeds",ta:"Tamil",th:"Thais",tr:"Turks",uk:"Oekra\xEFens",vi:"Vietnamees",yi:"Jiddisch",zh:"Chinees",zu:"Zoeloe"},layout:{bitmagnet_on_service:"bitmagnet op {{service}}",change_theme:"Wijzig thema",external_links:"Externe links",sponsor:"Sponsor",support_bitmagnet:"Ondersteun bitmagnet",translate:"Vertalen"},paginator:{first_page:"Eerste pagina",items_per_page:"Items per pagina",last_page:"Laatste pagina",next_page:"Volgende pagina",page_x:"Pagina {{x}}",previous_page:"Vorige pagina",x_to_y:"{{x}} tot {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} tot {{y}} van {{z}}"},routes:{admin:"Beheerder",dashboard:"Dashboard",home:"Home",jobs:"Taken",queues:"Wachtrijen",torrents:"Torrents",visualize:"Visualiseren"},torrents:{classification:"Classificatie",clear_search:"Zoekopdracht wissen",copy:"Kopi\xEBren",copy_to_clipboard:"Kopi\xEBren naar klembord",delete:"Verwijderen",delete_action_cannot_be_undone:"Deze actie kan niet ongedaan worden gemaakt",delete_are_you_sure:"Weet u zeker dat u deze torrent wilt verwijderen?",deselect_all:"Deselecteer alles",download:"Downloaden",download_confirm:"Weet u zeker dat u de geselecteerde torrents wilt downloaden?",edit_tags:"Tags bewerken",episodes:"Afleveringen",external_links:"Externe links",file_index:"Bestandsindex",file_path:"Bestandspad",file_size:"Bestandsgrootte",file_type:"Bestandstype",files:"Bestanden",files_count_n:"{{count}} bestanden",files_no_info:"Geen informatie over bestanden beschikbaar",files_single:"Enkel bestand",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Talen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-links",new_tag:"Nieuwe tag",order_by:"Sorteren op",order_direction_toggle:"Richting omkeren",ordering:{files_count:"Aantal bestanden",info_hash:"Info hash",leechers:"Leechers",name:"Naam",published_at:"Gepubliceerd op",relevance:"Relevantie",seeders:"Seeders",size:"Grootte",updated_at:"Bijgewerkt op"},original_release_date:"Oorspronkelijke releasedatum",permalink:"Permalink",poster:"Poster",published:"Gepubliceerd",rating:"Beoordeling",refresh:"Vernieuw resultaten",reprocess:{force_rematch:"Forceer nieuwe match van al gematchte inhoud",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",reprocess:"Opnieuw verwerken"},s_l:"S / L",search:"Zoeken",seeders:"Seeders",select_all:"Alles selecteren",showing_x_of_y_files:"{{x}} van {{y}} bestanden weergegeven",size:"Grootte",source:"Torrentbron",summary:"Samenvatting",tags:{delete:"Tags verwijderen",delete_tip:"Tags verwijderen van de geselecteerde torrents",placeholder:"Tag...",put:"Tags plaatsen",put_tip:"Tags toevoegen aan de geselecteerde torrents",set:"Tags instellen",set_tip:"Tags van de geselecteerde torrents vervangen"},title:"Titel",toggle_drawer:"Zijpaneel in-/uitschakelen",votes_count_n:"{{count}} stemmen"},version:{bitmagnet_version:"bitmagnet versie {{version}}",unknown:"onbekend"}};var Mt={content_types:{plural:{all:"Todos",audiobook:"Audiolivros",comic:"Quadrinhos",ebook:"E-books",game:"Jogos",movie:"Filmes",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolivro",comic:"Quadrinho",ebook:"E-book",game:"Jogo",movie:"Filme",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Criado",failed:"Falhou",processed:"Processado",updated:"Atualizado"},interval:{all:"Todos",days:"Dias",days_1:"1 dia",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Desligado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resolu\xE7\xE3o",throughput:"Taxa de transfer\xEAncia",timeframe:"Intervalo de tempo",toggle_legend:"Alternar legenda"},queues:{created:"Criado",created_at:"Criado em",enqueue_jobs:"Enfileirar trabalhos",enqueue_torrent_processing_batch:"Enfileirar lote de processamento de torrents",failed:"Falhou",force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",jobs_enqueued:"Trabalhos enfileirados",latency:"Lat\xEAncia",match_content_by_external_api_search:"Correspond\xEAncia de conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Correspond\xEAncia de conte\xFAdo por pesquisa local",payload:"Carga \xFAtil",pending:"Pendente",priority:"Prioridade",process_orphaned_torrents_only:"Processar apenas torrents \xF3rf\xE3os",processed:"Processado",purge_jobs:"Limpar trabalhos",purge_queue_jobs:"Limpar trabalhos da fila",queue:"Fila",queue_purged:"Fila limpa",queues:"Filas",ran_at:"Executado em",retry:"Tentar novamente",total_counts_by_status:"Contagens totais por status"}},facets:{content_type:"Tipo de Conte\xFAdo",file_type:"Tipo de Arquivo",genre:"G\xEAnero",language:"Idioma",queue:"Fila",status:"Status",torrent_source:"Fonte do Torrent",torrent_tag:"Tag do Torrent",video_resolution:"Resolu\xE7\xE3o de V\xEDdeo",video_source:"Fonte de V\xEDdeo"},file_types:{archive:"Arquivo",audio:"\xC1udio",data:"Dados",document:"Documento",image:"Imagem",software:"Software",subtitles:"Legendas",unknown:"Desconhecido",video:"V\xEDdeo"},general:{all:"Todos",dismiss:"Fechar",error:"Erro",none:"Nenhum",page_not_found:"P\xE1gina n\xE3o encontrada",refresh:"Atualizar",status:"Status"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"Verifica\xE7\xE3o falhou com erro",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fechar",error:"Erro",status:"Status",statuses:{degraded:"Degradado",down:"Fora do ar",error:"Erro",inactive:"Inativo",started:"Iniciado",unknown:"Pendente",up:"Funcionando"},summary:"Resumo de Sa\xFAde",worker:"Trabalhador",workers:{dht_crawler:"Rastreamento DHT",http_server:"Servidor HTTP",queue_server:"Servidor de Fila"}},languages:{af:"Afric\xE2ner",ar:"\xC1rabe",az:"Azeri",be:"Bielorrusso",bg:"B\xFAlgaro",bs:"B\xF3snio",ca:"Catal\xE3o",ce:"Checheno",co:"Corso",cs:"Tcheco",cy:"Gal\xEAs",da:"Dinamarqu\xEAs",de:"Alem\xE3o",el:"Grego",en:"Ingl\xEAs",es:"Espanhol",et:"Estoniano",eu:"Basco",fa:"Persa",fi:"Finland\xEAs",fr:"Franc\xEAs",he:"Hebraico",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Arm\xEAnio",id:"Indon\xE9sio",is:"Island\xEAs",it:"Italiano",ja:"Japon\xEAs",ka:"Georgiano",ko:"Coreano",ku:"Curdo",lt:"Lituano",lv:"Let\xE3o",mi:"Maori",mk:"Maced\xF4nio",ml:"Malaiala",mn:"Mongol",ms:"Malaio",mt:"Malt\xEAs",nl:"Holand\xEAs",no:"Noruegu\xEAs",pl:"Polon\xEAs",pt:"Portugu\xEAs",ro:"Romeno",ru:"Russo",sa:"S\xE2nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somali",sr:"S\xE9rvio",sv:"Sueco",ta:"T\xE2mil",th:"Tailand\xEAs",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"I\xEDdiche",zh:"Chin\xEAs",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet em {{service}}",change_theme:"Alterar tema",external_links:"Links externos",sponsor:"Patrocinador",support_bitmagnet:"Apoiar bitmagnet",translate:"Traduzir"},paginator:{first_page:"Primeira p\xE1gina",items_per_page:"Itens por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"Pr\xF3xima p\xE1gina",page_x:"P\xE1gina {{x}}",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administra\xE7\xE3o",dashboard:"Painel",home:"In\xEDcio",jobs:"Tarefas",queues:"Filas",torrents:"Torrents",visualize:"Visualizar"},torrents:{classification:"Classifica\xE7\xE3o",clear_search:"Limpar Pesquisa",copy:"Copiar",copy_to_clipboard:"Copiar para a \xE1rea de transfer\xEAncia",delete:"Excluir",delete_action_cannot_be_undone:"Esta a\xE7\xE3o n\xE3o pode ser desfeita",delete_are_you_sure:"Tem certeza de que deseja excluir este torrent?",deselect_all:"Desmarcar todos",download:"Baixar",download_confirm:"Tem certeza de que deseja baixar os torrents selecionados?",edit_tags:"Editar tags",episodes:"Epis\xF3dios",external_links:"Links externos",file_index:"\xCDndice de arquivo",file_path:"Caminho do arquivo",file_size:"Tamanho do arquivo",file_type:"Tipo de arquivo",files:"Arquivos",files_count_n:"{{count}} arquivos",files_no_info:"Sem informa\xE7\xF5es de arquivos dispon\xEDveis",files_single:"Arquivo \xFAnico",genres:"G\xEAneros",info_hash:"Hash de informa\xE7\xE3o",info_hashes:"Hashes de informa\xE7\xE3o",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Links magnet",new_tag:"Nova tag",order_by:"Ordenar por",order_direction_toggle:"Inverter dire\xE7\xE3o",ordering:{files_count:"Contagem de arquivos",info_hash:"Hash de informa\xE7\xE3o",leechers:"Leechers",name:"Nome",published_at:"Publicado em",relevance:"Relev\xE2ncia",seeders:"Seeders",size:"Tamanho",updated_at:"Atualizado em"},original_release_date:"Data de lan\xE7amento original",permalink:"Link permanente",poster:"P\xF4ster",published:"Publicado",rating:"Classifica\xE7\xE3o",refresh:"Atualizar resultados",reprocess:{force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",match_content_by_external_api_search:"Corresponder conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Corresponder conte\xFAdo por pesquisa local",reprocess:"Reprocessar"},s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Selecionar tudo",showing_x_of_y_files:"Mostrando {{x}} de {{y}} arquivos",size:"Tamanho",source:"Fonte do torrent",summary:"Resumo",tags:{delete:"Excluir tags",delete_tip:"Remover tags dos torrents selecionados",placeholder:"Tag...",put:"Colocar tags",put_tip:"Adicionar tags aos torrents selecionados",set:"Definir tags",set_tip:"Substituir tags dos torrents selecionados"},title:"T\xEDtulo",toggle_drawer:"Alternar gaveta",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"Vers\xE3o do bitmagnet {{version}}",unknown:"desconhecido"}};var Pt={content_types:{plural:{all:"\u0412\u0441\u0435",audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0438\u043A\u0441\u044B",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0435 \u043A\u043D\u0438\u0433\u0438",game:"\u0418\u0433\u0440\u044B",movie:"\u0424\u0438\u043B\u044C\u043C\u044B",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0438\u043A\u0441",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043A\u043D\u0438\u0433\u0430",game:"\u0418\u0433\u0440\u0430",movie:"\u0424\u0438\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",updated:"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0412\u0441\u0435",days:"\u0414\u043D\u0438",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0427\u0430\u0441\u044B",hours_1:"1 \u0447\u0430\u0441",hours_12:"12 \u0447\u0430\u0441\u043E\u0432",hours_6:"6 \u0447\u0430\u0441\u043E\u0432",minutes:"\u041C\u0438\u043D\u0443\u0442\u044B",minutes_1:"1 \u043C\u0438\u043D\u0443\u0442\u0430",minutes_15:"15 \u043C\u0438\u043D\u0443\u0442",minutes_30:"30 \u043C\u0438\u043D\u0443\u0442",minutes_5:"5 \u043C\u0438\u043D\u0443\u0442",off:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u043D\u0435\u0434\u0435\u043B\u044F"},metrics:{event:"\u0421\u043E\u0431\u044B\u0442\u0438\u0435",resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C",timeframe:"\u041F\u0435\u0440\u0438\u043E\u0434 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",toggle_legend:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043B\u0435\u0433\u0435\u043D\u0434\u0443"},queues:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",created_at:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E \u0432",enqueue_jobs:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",enqueue_torrent_processing_batch:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0430\u0440\u0442\u0438\u044E \u0434\u043B\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",jobs_enqueued:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",latency:"\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",payload:"\u0414\u0430\u043D\u043D\u044B\u0435",pending:"\u0412 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0438",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \xAB\u043E\u0441\u0438\u0440\u043E\u0442\u0435\u0432\u0448\u0438\u0435\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u043E\u0447\u0435\u0440\u0435\u0434\u0438",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",queue_purged:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",ran_at:"\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0432",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",total_counts_by_status:"\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",genre:"\u0416\u0430\u043D\u0440",language:"\u042F\u0437\u044B\u043A",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0432\u0438\u0434\u0435\u043E",video_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0432\u0438\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0438\u0432",audio:"\u0410\u0443\u0434\u0438\u043E",data:"\u0414\u0430\u043D\u043D\u044B\u0435",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",video:"\u0412\u0438\u0434\u0435\u043E"},general:{all:"\u0412\u0441\u0435",dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",none:"\u041D\u0435\u0442",page_not_found:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0421\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",down:"\u041D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",error:"\u041E\u0448\u0438\u0431\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u0435\u043D",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",up:"\u0420\u0430\u0431\u043E\u0442\u0430\u0435\u0442"},summary:"\u0421\u0432\u043E\u0434\u043A\u0430 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F",worker:"\u0420\u0430\u0431\u043E\u0447\u0438\u0439",workers:{dht_crawler:"DHT \u043E\u0431\u0445\u043E\u0434\u0447\u0438\u043A",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u043E\u0447\u0435\u0440\u0435\u0434\u0435\u0439"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u043A\u0438\u0439",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u043A\u0438\u0439",be:"\u0411\u0435\u043B\u043E\u0440\u0443\u0441\u0441\u043A\u0438\u0439",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u043A\u0438\u0439",bs:"\u0411\u043E\u0441\u043D\u0438\u0439\u0441\u043A\u0438\u0439",ca:"\u041A\u0430\u0442\u0430\u043B\u0430\u043D\u0441\u043A\u0438\u0439",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u043A\u0438\u0439",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u043A\u0438\u0439",cs:"\u0427\u0435\u0448\u0441\u043A\u0438\u0439",cy:"\u0412\u0430\u043B\u043B\u0438\u0439\u0441\u043A\u0438\u0439",da:"\u0414\u0430\u0442\u0441\u043A\u0438\u0439",de:"\u041D\u0435\u043C\u0435\u0446\u043A\u0438\u0439",el:"\u0413\u0440\u0435\u0447\u0435\u0441\u043A\u0438\u0439",en:"\u0410\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u0438\u0439",es:"\u0418\u0441\u043F\u0430\u043D\u0441\u043A\u0438\u0439",et:"\u042D\u0441\u0442\u043E\u043D\u0441\u043A\u0438\u0439",eu:"\u0411\u0430\u0441\u043A\u0441\u043A\u0438\u0439",fa:"\u041F\u0435\u0440\u0441\u0438\u0434\u0441\u043A\u0438\u0439",fi:"\u0424\u0438\u043D\u0441\u043A\u0438\u0439",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u0441\u043A\u0438\u0439",he:"\u0418\u0432\u0440\u0438\u0442",hi:"\u0425\u0438\u043D\u0434\u0438",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u043A\u0438\u0439",hu:"\u0412\u0435\u043D\u0433\u0435\u0440\u0441\u043A\u0438\u0439",hy:"\u0410\u0440\u043C\u044F\u043D\u0441\u043A\u0438\u0439",id:"\u0418\u043D\u0434\u043E\u043D\u0435\u0437\u0438\u0439\u0441\u043A\u0438\u0439",is:"\u0418\u0441\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",it:"\u0418\u0442\u0430\u043B\u044C\u044F\u043D\u0441\u043A\u0438\u0439",ja:"\u042F\u043F\u043E\u043D\u0441\u043A\u0438\u0439",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u043A\u0438\u0439",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u043A\u0438\u0439",ku:"\u041A\u0443\u0440\u0434\u0441\u043A\u0438\u0439",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u043A\u0438\u0439",lv:"\u041B\u0430\u0442\u044B\u0448\u0441\u043A\u0438\u0439",mi:"\u041C\u0430\u043E\u0440\u0438",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438\u0439",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u043A\u0438\u0439",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u043A\u0438\u0439",mt:"\u041C\u0430\u043B\u044C\u0442\u0438\u0439\u0441\u043A\u0438\u0439",nl:"\u041D\u0438\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",no:"\u041D\u043E\u0440\u0432\u0435\u0436\u0441\u043A\u0438\u0439",pl:"\u041F\u043E\u043B\u044C\u0441\u043A\u0438\u0439",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u043A\u0438\u0439",ro:"\u0420\u0443\u043C\u044B\u043D\u0441\u043A\u0438\u0439",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u043A\u0438\u0439",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u043A\u0438\u0439",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u043A\u0438\u0439",so:"\u0421\u043E\u043C\u0430\u043B\u0438\u0439\u0441\u043A\u0438\u0439",sr:"\u0421\u0435\u0440\u0431\u0441\u043A\u0438\u0439",sv:"\u0428\u0432\u0435\u0434\u0441\u043A\u0438\u0439",ta:"\u0422\u0430\u043C\u0438\u043B\u044C\u0441\u043A\u0438\u0439",th:"\u0422\u0430\u0439\u0441\u043A\u0438\u0439",tr:"\u0422\u0443\u0440\u0435\u0446\u043A\u0438\u0439",uk:"\u0423\u043A\u0440\u0430\u0438\u043D\u0441\u043A\u0438\u0439",vi:"\u0412\u044C\u0435\u0442\u043D\u0430\u043C\u0441\u043A\u0438\u0439",yi:"\u0418\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u043A\u0438\u0439",zu:"\u0417\u0443\u043B\u0443\u0441\u0441\u043A\u0438\u0439"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u043C\u0443",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044C bitmagnet",translate:"\u041F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0432\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",items_per_page:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",last_page:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",next_page:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",page_x:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 {{x}}",previous_page:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0438\u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F",home:"\u0413\u043B\u0430\u0432\u043D\u0430\u044F",jobs:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u044B",visualize:"\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F"},torrents:{classification:"\u041A\u043B\u0430\u0441\u0441\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A",copy:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",copy_to_clipboard:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",delete_action_cannot_be_undone:"\u042D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",delete_are_you_sure:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0421\u043D\u044F\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435",download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C",download_confirm:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0441\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B?",edit_tags:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u0433\u0438",episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",file_index:"\u0418\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0430",file_path:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",files:"\u0424\u0430\u0439\u043B\u044B",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u043E\u0432",files_no_info:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0444\u0430\u0439\u043B\u0430\u0445 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u044B",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",info_hashes:"\u0425\u044D\u0448\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",languages:"\u042F\u0437\u044B\u043A\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442 \u0441\u0441\u044B\u043B\u043A\u0438",new_tag:"\u041D\u043E\u0432\u044B\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E",order_direction_toggle:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",ordering:{files_count:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0444\u0430\u0439\u043B\u043E\u0432",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",name:"\u0418\u043C\u044F",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u044C",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",size:"\u0420\u0430\u0437\u043C\u0435\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F"},original_release_date:"\u041E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u0432\u044B\u043F\u0443\u0441\u043A\u0430",permalink:"\u041F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u0430\u044F \u0441\u0441\u044B\u043B\u043A\u0430",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B",reprocess:{force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",reprocess:"\u041F\u0435\u0440\u0435\u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C"},s_l:"S / L",search:"\u041F\u043E\u0438\u0441\u043A",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",select_all:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0438\u0437 {{y}} \u0444\u0430\u0439\u043B\u043E\u0432",size:"\u0420\u0430\u0437\u043C\u0435\u0440",source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0421\u0432\u043E\u0434\u043A\u0430",tags:{delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438",delete_tip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0438\u0437 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",placeholder:"\u0422\u0435\u0433...",put:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u043A \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430\u043C",set:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432"},title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",toggle_drawer:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u043E\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0438\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}};var zt={content_types:{plural:{all:"T\xFCm\xFC",audiobook:"Sesli Kitaplar",comic:"\xC7izgi Romanlar",ebook:"E-Kitaplar",game:"Oyunlar",movie:"Filmler",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Programlar\u0131",xxx:"XXX"},singular:{audiobook:"Sesli Kitap",comic:"\xC7izgi Roman",ebook:"E-Kitap",game:"Oyun",movie:"Film",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Program\u0131",xxx:"XXX"}},dashboard:{event:{created:"Olu\u015Fturuldu",failed:"Ba\u015Far\u0131s\u0131z",processed:"\u0130\u015Flendi",updated:"G\xFCncellendi"},interval:{all:"T\xFCm\xFC",days:"G\xFCnler",days_1:"1 g\xFCn",hours:"Saatler",hours_1:"1 saat",hours_12:"12 saat",hours_6:"6 saat",minutes:"Dakikalar",minutes_1:"1 dakika",minutes_15:"15 dakika",minutes_30:"30 dakika",minutes_5:"5 dakika",off:"Kapal\u0131",seconds_10:"10 saniye",seconds_30:"30 saniye",weeks_1:"1 hafta"},metrics:{event:"Olay",resolution:"\xC7\xF6z\xFCn\xFCrl\xFCk",throughput:"Verim",timeframe:"Zaman Dilimi",toggle_legend:"Efsaneyi De\u011Fi\u015Ftir"},queues:{created:"Olu\u015Fturuldu",created_at:"Olu\u015Fturulma tarihi",enqueue_jobs:"\u0130\u015Fleri Kuyru\u011Fa Al",enqueue_torrent_processing_batch:"Torrent \u0130\u015Fleme Paketini Kuyru\u011Fa Al",failed:"Ba\u015Far\u0131s\u0131z",force_rematch:"E\u015Fle\u015Fmi\u015F i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",jobs_enqueued:"Kuyru\u011Fa Al\u0131nan \u0130\u015Fler",latency:"Gecikme",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",payload:"Veri Y\xFCk\xFC",pending:"Beklemede",priority:"\xD6ncelik",process_orphaned_torrents_only:"Sadece sahipsiz torrentleri i\u015Fle",processed:"\u0130\u015Flendi",purge_jobs:"\u0130\u015Fleri Temizle",purge_queue_jobs:"Kuyruk \u0130\u015Flerini Temizle",queue:"Kuyruk",queue_purged:"Kuyruk Temizlendi",queues:"Kuyruklar",ran_at:"\xC7al\u0131\u015Ft\u0131r\u0131ld\u0131",retry:"Tekrar Dene",total_counts_by_status:"Duruma G\xF6re Toplam Say\u0131lar"}},facets:{content_type:"\u0130\xE7erik T\xFCr\xFC",file_type:"Dosya T\xFCr\xFC",genre:"T\xFCr",language:"Dil",queue:"Kuyruk",status:"Durum",torrent_source:"Torrent Kayna\u011F\u0131",torrent_tag:"Torrent Etiketi",video_resolution:"Video \xC7\xF6z\xFCn\xFCrl\xFC\u011F\xFC",video_source:"Video Kayna\u011F\u0131"},file_types:{archive:"Ar\u015Fiv",audio:"Ses",data:"Veri",document:"Belge",image:"G\xF6r\xFCnt\xFC",software:"Yaz\u0131l\u0131m",subtitles:"Altyaz\u0131lar",unknown:"Bilinmiyor",video:"Video"},general:{all:"T\xFCm\xFC",dismiss:"Kapat",error:"Hata",none:"Hi\xE7biri",page_not_found:"Sayfa Bulunamad\u0131",refresh:"Yenile",status:"Durum"},health:{bitmagnet_is_status:"bitmagnet durumu {{status}}",check_failed_with_error:"Hata ile kontrol ba\u015Far\u0131s\u0131z oldu",component:"Bile\u015Fen",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Kapat",error:"Hata",status:"Durum",statuses:{degraded:"Azalm\u0131\u015F",down:"Kapal\u0131",error:"Hata",inactive:"Etkin de\u011Fil",started:"Ba\u015Flad\u0131",unknown:"Bilinmiyor",up:"\xC7al\u0131\u015F\u0131yor"},summary:"Sa\u011Fl\u0131k \xD6zeti",worker:"\u0130\u015F\xE7i",workers:{dht_crawler:"DHT taray\u0131c\u0131",http_server:"HTTP sunucusu",queue_server:"Kuyruk sunucusu"}},languages:{af:"Afrikanca",ar:"Arap\xE7a",az:"Azerice",be:"Beyaz Rus\xE7a",bg:"Bulgarca",bs:"Bo\u015Fnak\xE7a",ca:"Katalanca",ce:"\xC7e\xE7ence",co:"Korsikaca",cs:"\xC7ek\xE7e",cy:"Galce",da:"Danca",de:"Almanca",el:"Yunanca",en:"\u0130ngilizce",es:"\u0130spanyolca",et:"Estonca",eu:"Bask\xE7a",fa:"Fars\xE7a",fi:"Fince",fr:"Frans\u0131zca",he:"\u0130branice",hi:"Hint\xE7e",hr:"H\u0131rvat\xE7a",hu:"Macarca",hy:"Ermenice",id:"Endonezce",is:"\u0130zlandaca",it:"\u0130talyanca",ja:"Japonca",ka:"G\xFCrc\xFCce",ko:"Korece",ku:"K\xFCrt\xE7e",lt:"Litvanca",lv:"Letonca",mi:"Maorice",mk:"Makedonca",ml:"Malayalamca",mn:"Mo\u011Folca",ms:"Malayca",mt:"Maltaca",nl:"Flemenk\xE7e",no:"Norve\xE7\xE7e",pl:"Leh\xE7e",pt:"Portekizce",ro:"Romence",ru:"Rus\xE7a",sa:"Sanskrit\xE7e",sk:"Slovak\xE7a",sl:"Slovence",sm:"Samoaca",so:"Somalice",sr:"S\u0131rp\xE7a",sv:"\u0130sve\xE7\xE7e",ta:"Tamilce",th:"Tayca",tr:"T\xFCrk\xE7e",uk:"Ukraynaca",vi:"Vietnamca",yi:"Yidi\u015F",zh:"\xC7ince",zu:"Zuluca"},layout:{bitmagnet_on_service:"{{service}} \xFCzerinde bitmagnet",change_theme:"Temay\u0131 De\u011Fi\u015Ftir",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",sponsor:"Sponsor",support_bitmagnet:"bitmagnet'i Destekle",translate:"\xC7evir"},paginator:{first_page:"\u0130lk Sayfa",items_per_page:"Sayfa ba\u015F\u0131na \xF6\u011Fe",last_page:"Son Sayfa",next_page:"Sonraki Sayfa",page_x:"{{x}}. Sayfa",previous_page:"\xD6nceki Sayfa",x_to_y:"{{x}} - {{y}} aras\u0131",x_to_y_of_y:"__missing__",x_to_y_of_z:"{{x}} ile {{y}} aras\u0131, toplam {{z}}"},routes:{admin:"Y\xF6netici",dashboard:"Kontrol Paneli",home:"Ana Sayfa",jobs:"G\xF6revler",queues:"Kuyruklar",torrents:"Torrentler",visualize:"G\xF6rselle\u015Ftir"},torrents:{classification:"S\u0131n\u0131fland\u0131rma",clear_search:"Aramay\u0131 Temizle",copy:"Kopyala",copy_to_clipboard:"Panoya Kopyala",delete:"Sil",delete_action_cannot_be_undone:"Bu i\u015Flem geri al\u0131namaz",delete_are_you_sure:"Bu torrent'i silmek istedi\u011Finizden emin misiniz?",deselect_all:"T\xFCm Se\xE7imleri Kald\u0131r",download:"\u0130ndir",download_confirm:"Se\xE7ilen torrentleri indirmek istedi\u011Finizden emin misiniz?",edit_tags:"Etiketleri D\xFCzenle",episodes:"B\xF6l\xFCmler",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",file_index:"Dosya Dizini",file_path:"Dosya Yolu",file_size:"Dosya Boyutu",file_type:"Dosya T\xFCr\xFC",files:"Dosyalar",files_count_n:"{{count}} dosya",files_no_info:"Dosya bilgisi mevcut de\u011Fil",files_single:"Tek dosya",genres:"T\xFCrler",info_hash:"Bilgi hash'i",info_hashes:"Bilgi hash'leri",languages:"Diller",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet Ba\u011Flant\u0131lar",new_tag:"Yeni etiket",order_by:"S\u0131ralama \xF6l\xE7\xFCt\xFC",order_direction_toggle:"Y\xF6n\xFC de\u011Fi\u015Ftir",ordering:{files_count:"Dosya say\u0131s\u0131",info_hash:"Bilgi hash'i",leechers:"Leechers",name:"Ad",published_at:"Yay\u0131nlanma tarihi",relevance:"Alaka d\xFCzeyi",seeders:"Seeders",size:"Boyut",updated_at:"G\xFCncellenme tarihi"},original_release_date:"Orijinal \xE7\u0131k\u0131\u015F tarihi",permalink:"Kal\u0131c\u0131 Ba\u011Flant\u0131",poster:"Poster",published:"Yay\u0131nland\u0131",rating:"Puan",refresh:"Sonu\xE7lar\u0131 Yenile",reprocess:{force_rematch:"Zaten e\u015Fle\u015Fen i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",reprocess:"Yeniden i\u015Fle"},s_l:"S / L",search:"Ara",seeders:"Seeders",select_all:"T\xFCm\xFCn\xFC Se\xE7",showing_x_of_y_files:"{{y}} dosyan\u0131n {{x}} tanesi g\xF6steriliyor",size:"Boyut",source:"Torrent Kayna\u011F\u0131",summary:"\xD6zet",tags:{delete:"Etiketleri sil",delete_tip:"Se\xE7ili torrentlerden etiketleri kald\u0131r",placeholder:"Etiket...",put:"Etiket koy",put_tip:"Se\xE7ili torrentlere etiket ekle",set:"Etiketleri ayarla",set_tip:"Se\xE7ili torrentlerin etiketlerini de\u011Fi\u015Ftir"},title:"Ba\u015Fl\u0131k",toggle_drawer:"\xC7ekmeceyi A\xE7/Kapat",votes_count_n:"{{count}} oy"},version:{bitmagnet_version:"bitmagnet versiyonu {{version}}",unknown:"bilinmiyor"}};var At={content_types:{plural:{all:"\u0423\u0441\u0456",audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0456\u043A\u0441\u0438",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0456 \u043A\u043D\u0438\u0433\u0438",game:"\u0406\u0433\u0440\u0438",movie:"\u0424\u0456\u043B\u044C\u043C\u0438",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0456\u043A\u0441",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043A\u043D\u0438\u0433\u0430",game:"\u0413\u0440\u0430",movie:"\u0424\u0456\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",updated:"\u041E\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0423\u0441\u0456",days:"\u0414\u043D\u0456",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0413\u043E\u0434\u0438\u043D\u0438",hours_1:"1 \u0433\u043E\u0434\u0438\u043D\u0430",hours_12:"12 \u0433\u043E\u0434\u0438\u043D",hours_6:"6 \u0433\u043E\u0434\u0438\u043D",minutes:"\u0425\u0432\u0438\u043B\u0438\u043D\u0438",minutes_1:"1 \u0445\u0432\u0438\u043B\u0438\u043D\u0430",minutes_15:"15 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_30:"30 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_5:"5 \u0445\u0432\u0438\u043B\u0438\u043D",off:"\u0412\u0438\u043C\u043A\u043D\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u0442\u0438\u0436\u0434\u0435\u043D\u044C"},metrics:{event:"\u041F\u043E\u0434\u0456\u044F",resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",timeframe:"\u041F\u0440\u043E\u043C\u0456\u0436\u043E\u043A \u0447\u0430\u0441\u0443",toggle_legend:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043B\u0435\u0433\u0435\u043D\u0434\u0443"},queues:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",created_at:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E \u043E",enqueue_jobs:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E \u0447\u0435\u0440\u0433\u0438",enqueue_torrent_processing_batch:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043F\u0430\u043A\u0435\u0442 \u0434\u043B\u044F \u043E\u0431\u0440\u043E\u0431\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",jobs_enqueued:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E\u0434\u0430\u043D\u043E \u0432 \u0447\u0435\u0440\u0433\u0443",latency:"\u0417\u0430\u0442\u0440\u0438\u043C\u043A\u0430",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",payload:"\u0414\u0430\u043D\u0456",pending:"\u0412 \u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u043D\u0456",priority:"\u041F\u0440\u0456\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u043E\u0431\u043B\u044F\u0442\u0438 \u043B\u0438\u0448\u0435 \xAB\u0441\u0438\u0440\u043E\u0442\u043B\u0438\u0432\u0456\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0447\u0435\u0440\u0433\u0438",queue:"\u0427\u0435\u0440\u0433\u0430",queue_purged:"\u0427\u0435\u0440\u0433\u0430 \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u0427\u0435\u0440\u0433\u0438",ran_at:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E \u043E",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438",total_counts_by_status:"\u0417\u0430\u0433\u0430\u043B\u044C\u043D\u0430 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0437\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C\u0438"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",genre:"\u0416\u0430\u043D\u0440",language:"\u041C\u043E\u0432\u0430",queue:"\u0427\u0435\u0440\u0433\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C \u0432\u0456\u0434\u0435\u043E",video_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0432\u0456\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0456\u0432",audio:"\u0410\u0443\u0434\u0456\u043E",data:"\u0414\u0430\u043D\u0456",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u0438",unknown:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",video:"\u0412\u0456\u0434\u0435\u043E"},general:{all:"\u0423\u0441\u0456",dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",none:"\u041D\u0435\u043C\u0430\u0454",page_not_found:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u043E\u044E",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0417\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u0456\u0441\u0442\u044C",down:"\u041D\u0435 \u043F\u0440\u0430\u0446\u044E\u0454",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u0438\u0439",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F",up:"\u041F\u0440\u0430\u0446\u044E\u0454"},summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F \u0441\u0442\u0430\u043D\u0443",worker:"\u041F\u0440\u0430\u0446\u0456\u0432\u043D\u0438\u043A",workers:{dht_crawler:"DHT \u0441\u043A\u0430\u043D\u0435\u0440",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u0447\u0435\u0440\u0433\u0438"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u044C\u043A\u0430",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0456\u043B\u043E\u0440\u0443\u0441\u044C\u043A\u0430",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u044C\u043A\u0430",bs:"\u0411\u043E\u0441\u043D\u0456\u0439\u0441\u044C\u043A\u0430",ca:"\u041A\u0430\u0442\u0430\u043B\u043E\u043D\u0441\u044C\u043A\u0430",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u044C\u043A\u0430",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u044C\u043A\u0430",cs:"\u0427\u0435\u0441\u044C\u043A\u0430",cy:"\u0412\u0430\u043B\u043B\u0456\u0439\u0441\u044C\u043A\u0430",da:"\u0414\u0430\u043D\u0441\u044C\u043A\u0430",de:"\u041D\u0456\u043C\u0435\u0446\u044C\u043A\u0430",el:"\u0413\u0440\u0435\u0446\u044C\u043A\u0430",en:"\u0410\u043D\u0433\u043B\u0456\u0439\u0441\u044C\u043A\u0430",es:"\u0406\u0441\u043F\u0430\u043D\u0441\u044C\u043A\u0430",et:"\u0415\u0441\u0442\u043E\u043D\u0441\u044C\u043A\u0430",eu:"\u0411\u0430\u0441\u043A\u0441\u044C\u043A\u0430",fa:"\u041F\u0435\u0440\u0441\u044C\u043A\u0430",fi:"\u0424\u0456\u043D\u0441\u044C\u043A\u0430",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u044C\u043A\u0430",he:"\u0406\u0432\u0440\u0438\u0442",hi:"\u0425\u0456\u043D\u0434\u0456",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u044C\u043A\u0430",hu:"\u0423\u0433\u043E\u0440\u0441\u044C\u043A\u0430",hy:"\u0412\u0456\u0440\u043C\u0435\u043D\u0441\u044C\u043A\u0430",id:"\u0406\u043D\u0434\u043E\u043D\u0435\u0437\u0456\u0439\u0441\u044C\u043A\u0430",is:"\u0406\u0441\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",it:"\u0406\u0442\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",ja:"\u042F\u043F\u043E\u043D\u0441\u044C\u043A\u0430",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u044C\u043A\u0430",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u044C\u043A\u0430",ku:"\u041A\u0443\u0440\u0434\u0441\u044C\u043A\u0430",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u044C\u043A\u0430",lv:"\u041B\u0430\u0442\u0438\u0441\u044C\u043A\u0430",mi:"\u041C\u0430\u043E\u0440\u0456",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u044C\u043A\u0430",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u044C\u043A\u0430",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u044C\u043A\u0430",mt:"\u041C\u0430\u043B\u044C\u0442\u0456\u0439\u0441\u044C\u043A\u0430",nl:"\u041D\u0456\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",no:"\u041D\u043E\u0440\u0432\u0435\u0437\u044C\u043A\u0430",pl:"\u041F\u043E\u043B\u044C\u0441\u044C\u043A\u0430",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u044C\u043A\u0430",ro:"\u0420\u0443\u043C\u0443\u043D\u0441\u044C\u043A\u0430",ru:"\u0420\u043E\u0441\u0456\u0439\u0441\u044C\u043A\u0430",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u044C\u043A\u0430",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u044C\u043A\u0430",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u044C\u043A\u0430",so:"\u0421\u043E\u043C\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",sr:"\u0421\u0435\u0440\u0431\u0441\u044C\u043A\u0430",sv:"\u0428\u0432\u0435\u0434\u0441\u044C\u043A\u0430",ta:"\u0422\u0430\u043C\u0456\u043B\u044C\u0441\u044C\u043A\u0430",th:"\u0422\u0430\u0439\u0441\u044C\u043A\u0430",tr:"\u0422\u0443\u0440\u0435\u0446\u044C\u043A\u0430",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",vi:"\u0412'\u0454\u0442\u043D\u0430\u043C\u0441\u044C\u043A\u0430",yi:"\u0407\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u044C\u043A\u0430",zu:"\u0417\u0443\u043B\u0443\u0441\u044C\u043A\u0430"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u043C\u0443",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u0456\u0434\u0442\u0440\u0438\u043C\u0430\u0442\u0438 bitmagnet",translate:"\u041F\u0435\u0440\u0435\u043A\u043B\u0430\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0448\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",items_per_page:"\u0415\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u0446\u0456",last_page:"\u041E\u0441\u0442\u0430\u043D\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",next_page:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",page_x:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 {{x}}",previous_page:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_y:"__\u043F\u0440\u043E\u043F\u0430\u0432__",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0456\u043D\u043D\u044F",home:"\u0413\u043E\u043B\u043E\u0432\u043D\u0430",jobs:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F",queues:"\u0427\u0435\u0440\u0433\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u0438",visualize:"\u0412\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0443\u0432\u0430\u0442\u0438"},torrents:{classification:"\u041A\u043B\u0430\u0441\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u044F",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043F\u043E\u0448\u0443\u043A",copy:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438",copy_to_clipboard:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0456\u043D\u0443",delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",delete_action_cannot_be_undone:"\u0426\u044E \u0434\u0456\u044E \u043D\u0435 \u043C\u043E\u0436\u043D\u0430 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438",delete_are_you_sure:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u0435\u0439 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0417\u043D\u044F\u0442\u0438 \u0432\u0438\u0434\u0456\u043B\u0435\u043D\u043D\u044F",download:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438",download_confirm:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0456 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438?",edit_tags:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u0435\u0433\u0438",episodes:"\u0415\u043F\u0456\u0437\u043E\u0434\u0438",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",file_index:"\u0406\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0443",file_path:"\u0428\u043B\u044F\u0445 \u0434\u043E \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u043E\u0437\u043C\u0456\u0440 \u0444\u0430\u0439\u043B\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",files:"\u0424\u0430\u0439\u043B\u0438",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u0456\u0432",files_no_info:"\u0406\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F \u043F\u0440\u043E \u0444\u0430\u0439\u043B\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u0438",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",info_hashes:"\u0425\u0435\u0448\u0456 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",languages:"\u041C\u043E\u0432\u0438",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442-\u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",new_tag:"\u041D\u043E\u0432\u0438\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430",order_direction_toggle:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043D\u0430\u043F\u0440\u044F\u043C\u043E\u043A",ordering:{files_count:"\u041A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0444\u0430\u0439\u043B\u0456\u0432",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",name:"\u041D\u0430\u0437\u0432\u0430",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0456\u043A\u0430\u0446\u0456\u0457",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0456\u0441\u0442\u044C",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",size:"\u0420\u043E\u0437\u043C\u0456\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F"},original_release_date:"\u0414\u0430\u0442\u0430 \u043E\u0440\u0438\u0433\u0456\u043D\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043F\u0443\u0441\u043A\u0443",permalink:"\u041F\u043E\u0441\u0442\u0456\u0439\u043D\u0435 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438",reprocess:{force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",reprocess:"\u041F\u0435\u0440\u0435\u0440\u043E\u0431\u0438\u0442\u0438"},s_l:"S / L",search:"\u041F\u043E\u0448\u0443\u043A",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",select_all:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0456",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0437 {{y}} \u0444\u0430\u0439\u043B\u0456\u0432",size:"\u0420\u043E\u0437\u043C\u0456\u0440",source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F",tags:{delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",delete_tip:"\u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0442\u0435\u0433\u0438 \u0437 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",placeholder:"\u0422\u0435\u0433\u0438...",put:"\u0421\u0442\u0430\u0432\u0442\u0435 \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0434\u0430\u0439\u0442\u0435 \u0442\u0435\u0433\u0438 \u0434\u043E \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",set:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u0433\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432"},title:"\u041D\u0430\u0437\u0432\u0430",toggle_drawer:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u0456\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0456\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0432\u0456\u0434\u043E\u043C\u043E"}};var qt={content_types:{plural:{all:"\u5168\u90E8",audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",game:"\u6E38\u620F",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"},singular:{audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",game:"\u6E38\u620F",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"}},dashboard:{event:{created:"\u5DF2\u521B\u5EFA",failed:"\u5931\u8D25",processed:"\u5DF2\u5904\u7406",updated:"\u5DF2\u66F4\u65B0"},interval:{all:"\u5168\u90E8",days:"\u5929",days_1:"1\u5929",hours:"\u5C0F\u65F6",hours_1:"1\u5C0F\u65F6",hours_12:"12\u5C0F\u65F6",hours_6:"6\u5C0F\u65F6",minutes:"\u5206\u949F",minutes_1:"1\u5206\u949F",minutes_15:"15\u5206\u949F",minutes_30:"30\u5206\u949F",minutes_5:"5\u5206\u949F",off:"\u5173\u95ED",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u5468"},metrics:{event:"\u4E8B\u4EF6",resolution:"\u5206\u8FA8\u7387",throughput:"\u541E\u5410\u91CF",timeframe:"\u65F6\u95F4\u8303\u56F4",toggle_legend:"\u5207\u6362\u56FE\u4F8B"},queues:{created:"\u5DF2\u521B\u5EFA",created_at:"\u521B\u5EFA\u4E8E",enqueue_jobs:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",enqueue_torrent_processing_batch:"\u52A0\u5165\u961F\u5217\u7684\u79CD\u5B50\u5904\u7406\u6279\u6B21",failed:"\u5931\u8D25",force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",jobs_enqueued:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",latency:"\u5EF6\u8FDF",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",payload:"\u6709\u6548\u8F7D\u8377",pending:"\u5F85\u5904\u7406",priority:"\u4F18\u5148\u7EA7",process_orphaned_torrents_only:"\u4EC5\u5904\u7406\u5B64\u7ACB\u7684\u79CD\u5B50",processed:"\u5DF2\u5904\u7406",purge_jobs:"\u6E05\u9664\u4EFB\u52A1",purge_queue_jobs:"\u6E05\u9664\u961F\u5217\u4EFB\u52A1",queue:"\u961F\u5217",queue_purged:"\u961F\u5217\u5DF2\u6E05\u9664",queues:"\u961F\u5217",ran_at:"\u8FD0\u884C\u4E8E",retry:"\u91CD\u8BD5",total_counts_by_status:"\u6309\u72B6\u6001\u7EDF\u8BA1\u603B\u6570"}},facets:{content_type:"\u5185\u5BB9\u7C7B\u578B",file_type:"\u6587\u4EF6\u7C7B\u578B",genre:"\u7C7B\u578B",language:"\u8BED\u8A00",queue:"\u961F\u5217",status:"\u72B6\u6001",torrent_source:"\u79CD\u5B50\u6765\u6E90",torrent_tag:"\u79CD\u5B50\u6807\u7B7E",video_resolution:"\u89C6\u9891\u5206\u8FA8\u7387",video_source:"\u89C6\u9891\u6765\u6E90"},file_types:{archive:"\u6863\u6848",audio:"\u97F3\u9891",data:"\u6570\u636E",document:"\u6587\u6863",image:"\u56FE\u50CF",software:"\u8F6F\u4EF6",subtitles:"\u5B57\u5E55",unknown:"\u672A\u77E5",video:"\u89C6\u9891"},general:{all:"\u5168\u90E8",dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",none:"\u65E0",page_not_found:"\u9875\u9762\u672A\u627E\u5230",refresh:"\u5237\u65B0",status:"\u72B6\u6001"},health:{bitmagnet_is_status:"bitmagnet\u662F{{status}}",check_failed_with_error:"\u68C0\u67E5\u5931\u8D25\uFF0C\u9519\u8BEF",component:"\u7EC4\u4EF6",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",status:"\u72B6\u6001",statuses:{degraded:"\u964D\u7EA7",down:"\u5173\u95ED",error:"\u9519\u8BEF",inactive:"\u4E0D\u6D3B\u8DC3",started:"\u5DF2\u542F\u52A8",unknown:"\u672A\u77E5",up:"\u8FD0\u884C\u4E2D"},summary:"\u5065\u5EB7\u6982\u8FF0",worker:"\u5DE5\u4F5C\u8005",workers:{dht_crawler:"DHT\u722C\u866B",http_server:"HTTP\u670D\u52A1\u5668",queue_server:"\u961F\u5217\u670D\u52A1\u5668"}},languages:{af:"\u5357\u975E\u8377\u5170\u8BED",ar:"\u963F\u62C9\u4F2F\u8BED",az:"\u963F\u585E\u62DC\u7586\u8BED",be:"\u767D\u4FC4\u7F57\u65AF\u8BED",bg:"\u4FDD\u52A0\u5229\u4E9A\u8BED",bs:"\u6CE2\u65AF\u5C3C\u4E9A\u8BED",ca:"\u52A0\u6CF0\u7F57\u5C3C\u4E9A\u8BED",ce:"\u8F66\u81E3\u8BED",co:"\u79D1\u897F\u5609\u8BED",cs:"\u6377\u514B\u8BED",cy:"\u5A01\u5C14\u58EB\u8BED",da:"\u4E39\u9EA6\u8BED",de:"\u5FB7\u8BED",el:"\u5E0C\u814A\u8BED",en:"\u82F1\u8BED",es:"\u897F\u73ED\u7259\u8BED",et:"\u7231\u6C99\u5C3C\u4E9A\u8BED",eu:"\u5DF4\u65AF\u514B\u8BED",fa:"\u6CE2\u65AF\u8BED",fi:"\u82AC\u5170\u8BED",fr:"\u6CD5\u8BED",he:"\u5E0C\u4F2F\u6765\u8BED",hi:"\u5370\u5730\u8BED",hr:"\u514B\u7F57\u5730\u4E9A\u8BED",hu:"\u5308\u7259\u5229\u8BED",hy:"\u4E9A\u7F8E\u5C3C\u4E9A\u8BED",id:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u8BED",is:"\u51B0\u5C9B\u8BED",it:"\u610F\u5927\u5229\u8BED",ja:"\u65E5\u8BED",ka:"\u683C\u9C81\u5409\u4E9A\u8BED",ko:"\u97E9\u8BED",ku:"\u5E93\u5C14\u5FB7\u8BED",lt:"\u7ACB\u9676\u5B9B\u8BED",lv:"\u62C9\u8131\u7EF4\u4E9A\u8BED",mi:"\u6BDB\u5229\u8BED",mk:"\u9A6C\u5176\u987F\u8BED",ml:"\u9A6C\u62C9\u96C5\u62C9\u59C6\u8BED",mn:"\u8499\u53E4\u8BED",ms:"\u9A6C\u6765\u8BED",mt:"\u9A6C\u8033\u4ED6\u8BED",nl:"\u8377\u5170\u8BED",no:"\u632A\u5A01\u8BED",pl:"\u6CE2\u5170\u8BED",pt:"\u8461\u8404\u7259\u8BED",ro:"\u7F57\u9A6C\u5C3C\u4E9A\u8BED",ru:"\u4FC4\u8BED",sa:"\u68B5\u8BED",sk:"\u65AF\u6D1B\u4F10\u514B\u8BED",sl:"\u65AF\u6D1B\u6587\u5C3C\u4E9A\u8BED",sm:"\u8428\u6469\u4E9A\u8BED",so:"\u7D22\u9A6C\u91CC\u8BED",sr:"\u585E\u5C14\u7EF4\u4E9A\u8BED",sv:"\u745E\u5178\u8BED",ta:"\u6CF0\u7C73\u5C14\u8BED",th:"\u6CF0\u8BED",tr:"\u571F\u8033\u5176\u8BED",uk:"\u4E4C\u514B\u5170\u8BED",vi:"\u8D8A\u5357\u8BED",yi:"\u610F\u7B2C\u7EEA\u8BED",zh:"\u4E2D\u6587",zu:"\u7956\u9C81\u8BED"},layout:{bitmagnet_on_service:"bitmagnet\u5728{{service}}",change_theme:"\u66F4\u6539\u4E3B\u9898",external_links:"\u5916\u90E8\u94FE\u63A5",sponsor:"\u8D5E\u52A9\u5546",support_bitmagnet:"\u652F\u6301bitmagnet",translate:"\u7FFB\u8BD1"},paginator:{first_page:"\u7B2C\u4E00\u9875",items_per_page:"\u6BCF\u9875\u9879\u76EE\u6570",last_page:"\u6700\u540E\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",page_x:"\u7B2C{{x}}\u9875",previous_page:"\u4E0A\u4E00\u9875",x_to_y:"{{x}}\u5230{{y}}",x_to_y_of_z:"{{x}}\u5230{{y}}\uFF0C\u5171{{z}}"},routes:{admin:"\u7BA1\u7406\u5458",dashboard:"\u4EEA\u8868\u76D8",home:"\u9996\u9875",jobs:"\u4EFB\u52A1",queues:"\u961F\u5217",torrents:"\u79CD\u5B50",visualize:"\u53EF\u89C6\u5316"},torrents:{classification:"\u5206\u7C7B",clear_search:"\u6E05\u9664\u641C\u7D22",copy:"\u590D\u5236",copy_to_clipboard:"\u590D\u5236\u5230\u526A\u8D34\u677F",delete:"\u5220\u9664",delete_action_cannot_be_undone:"\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500",delete_are_you_sure:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u6B64\u79CD\u5B50\u5417\uFF1F",deselect_all:"\u53D6\u6D88\u5168\u9009",download:"\u4E0B\u8F7D",download_confirm:"\u60A8\u786E\u5B9A\u8981\u4E0B\u8F7D\u9009\u5B9A\u7684\u79CD\u5B50\u5417\uFF1F",edit_tags:"\u7F16\u8F91\u6807\u7B7E",episodes:"\u5267\u96C6",external_links:"\u5916\u90E8\u94FE\u63A5",file_index:"\u6587\u4EF6\u7D22\u5F15",file_path:"\u6587\u4EF6\u8DEF\u5F84",file_size:"\u6587\u4EF6\u5927\u5C0F",file_type:"\u6587\u4EF6\u7C7B\u578B",files:"\u6587\u4EF6",files_count_n:"{{count}}\u4E2A\u6587\u4EF6",files_no_info:"\u65E0\u6587\u4EF6\u4FE1\u606F",files_single:"\u5355\u4E2A\u6587\u4EF6",genres:"\u7C7B\u578B",info_hash:"\u4FE1\u606F\u54C8\u5E0C",info_hashes:"\u4FE1\u606F\u54C8\u5E0C",languages:"\u8BED\u8A00",leechers:"\u4E0B\u8F7D\u8005",magnet:"\u78C1\u529B\u94FE\u63A5",magnet_links:"\u78C1\u529B\u94FE\u63A5",new_tag:"\u65B0\u6807\u7B7E",order_by:"\u6392\u5E8F\u4F9D\u636E",order_direction_toggle:"\u5207\u6362\u65B9\u5411",ordering:{files_count:"\u6587\u4EF6\u6570",info_hash:"\u4FE1\u606F\u54C8\u5E0C",leechers:"\u4E0B\u8F7D\u8005",name:"\u540D\u79F0",published_at:"\u53D1\u5E03\u4E8E",relevance:"\u76F8\u5173\u6027",seeders:"\u4E0A\u4F20\u8005",size:"\u5927\u5C0F",updated_at:"\u66F4\u65B0\u4E8E"},original_release_date:"\u539F\u59CB\u53D1\u5E03\u65E5\u671F",permalink:"\u6C38\u4E45\u94FE\u63A5",poster:"\u6D77\u62A5",published:"\u5DF2\u53D1\u5E03",rating:"\u8BC4\u5206",refresh:"\u5237\u65B0\u7ED3\u679C",reprocess:{force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",reprocess:"\u91CD\u65B0\u5904\u7406"},s_l:"S / L",search:"\u641C\u7D22",seeders:"\u4E0A\u4F20\u8005",select_all:"\u5168\u9009",showing_x_of_y_files:"\u663E\u793A{{x}}\u4E2A\uFF0C\u5171{{y}}\u4E2A\u6587\u4EF6",size:"\u5927\u5C0F",source:"\u79CD\u5B50\u6765\u6E90",summary:"\u6458\u8981",tags:{delete:"\u5220\u9664\u6807\u7B7E",delete_tip:"\u4ECE\u9009\u5B9A\u7684\u79CD\u5B50\u4E2D\u5220\u9664\u6807\u7B7E",placeholder:"\u6807\u7B7E...",put:"\u6DFB\u52A0\u6807\u7B7E",put_tip:"\u4E3A\u9009\u5B9A\u7684\u79CD\u5B50\u6DFB\u52A0\u6807\u7B7E",set:"\u8BBE\u7F6E\u6807\u7B7E",set_tip:"\u66FF\u6362\u9009\u5B9A\u79CD\u5B50\u7684\u6807\u7B7E"},title:"\u6807\u9898",toggle_drawer:"\u5207\u6362\u62BD\u5C49",votes_count_n:"{{count}}\u7968"},version:{bitmagnet_version:"bitmagnet\u7248\u672C{{version}}",unknown:"\u672A\u77E5"}};var ce={ar:bt,ca:yt,de:vt,en:kt,es:xt,fr:wt,hi:Tt,ja:St,nl:Ct,pt:Mt,ru:Pt,tr:zt,uk:At,zh:qt};var Et=(()=>{class t{getTranslation(e){return he(this,null,function*(){if(e in ce){let a=ce[e];return Dt(a)}else return Promise.reject(new Error(`Translation not found: ${e}`))})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),ha=["__missing__","__fallback__"],Dt=t=>Object.fromEntries(Object.entries(t).flatMap(([r,e])=>{if(typeof e=="object")e=Dt(e);else if(typeof e=="string"&&ha.includes(e))return[];return[[r,e]]}));var It=[{path:"",pathMatch:"full",redirectTo:"torrents"},{path:"torrents",loadComponent:()=>import("./chunk-772YMJAF.js").then(t=>t.TorrentsComponent),children:[{path:"",loadComponent:()=>import("./chunk-E7M2745X.js").then(t=>t.TorrentsSearchComponent)},{path:"permalink/:infoHash",loadComponent:()=>import("./chunk-DZT5WVMO.js").then(t=>t.TorrentPermalinkComponent)}]},{path:"dashboard",loadComponent:()=>import("./chunk-ISB6LSNT.js").then(t=>t.DashboardComponent),children:[{path:"",loadComponent:()=>import("./chunk-WMBLMVKT.js").then(t=>t.DashboardHomeComponent)},{path:"queues",pathMatch:"full",redirectTo:"queues/visualize"},{path:"queues",loadComponent:()=>import("./chunk-BFXZYWVF.js").then(t=>t.QueueDashboardComponent),children:[{path:"visualize",loadComponent:()=>import("./chunk-OUPXCRLE.js").then(t=>t.QueueVisualizeComponent)},{path:"jobs",loadComponent:()=>import("./chunk-7SFHH767.js").then(t=>t.QueueJobsComponent)},{path:"admin",loadComponent:()=>import("./chunk-3IKCDSDW.js").then(t=>t.QueueAdminComponent)}]},{path:"torrents",loadComponent:()=>import("./chunk-SF7T53WL.js").then(t=>t.TorrentsDashboardComponent)}]},{path:"**",loadComponent:()=>import("./chunk-NJLU6UWE.js").then(t=>t.NotFoundComponent)}];var jt={providers:[ze({eventCoalescing:!0}),He(It,Ve()),pt("animations"),se(qe()),se(),Ye(()=>({link:c(gt).create({uri:ft}),cache:new We({typePolicies:{Query:{fields:{search:{merge(r,e){return A(A({},r),e)}}}}}})})),Ge({config:{availableLangs:[{id:"ar",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},{id:"ca",label:"Catal\xE0"},{id:"de",label:"Deutsch"},{id:"en",label:"English"},{id:"es",label:"Espa\xF1ol"},{id:"fr",label:"Fran\xE7ais"},{id:"hi",label:"\u0939\u093F\u0928\u094D\u0926\u0940"},{id:"ja",label:"\u65E5\u672C\u8A9E"},{id:"nl",label:"Nederlands"},{id:"pt",label:"Portugu\xEAs"},{id:"ru",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{id:"tr",label:"T\xFCrk\xE7e"},{id:"uk",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},{id:"zh",label:"\u4E2D\u6587"}],defaultLang:"en",fallbackLang:"en",missingHandler:{useFallbackTranslation:!0},reRenderOnLangChange:!0,prodMode:!1},loader:Et}),Ke(Ne())]};var pa=new O("Browser Storage",{providedIn:"root",factory:()=>localStorage}),W=(()=>{class t{constructor(e){this.storage=e}get(e){return this.storage.getItem(e)}set(e,a){this.storage.setItem(e,a)}remove(e){this.storage.removeItem(e)}clear(){this.storage.clear()}static{this.\u0275fac=function(a){return new(a||t)(G(pa))}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ga={classic:{key:"classic",label:"Classic",dark:!1},clean:{key:"clean",label:"Clean",dark:!1},neon:{key:"neon",label:"Neon",dark:!0},tundra:{key:"tundra",label:"Tundra",dark:!0}},J=ga,Ft="classic",Lt="tundra";var ue="bitmagnet-theme",Y=(()=>{class t{constructor(){this.document=c(K),this.browserStorage=c(W),this._window=this.document.defaultView,this.selectedThemeSubject=new pe(void 0),this.selectedTheme$=this.selectedThemeSubject.asObservable(),this.themes=Object.values(J),this.getPreferredTheme=()=>this.getStoredTheme()??this.getAutoTheme(),this.getStoredTheme=()=>{let e=this.browserStorage.get(ue);return e&&e in J?e:void 0},this.getAutoTheme=()=>this.windowMatchMediaPrefersDark()?.matches?Lt:Ft,this.setTheme=e=>{this.setActiveTheme(e),this.setStoredTheme(this.selectedTheme??"auto")},this.setActiveTheme=e=>{e==="auto"||!(e in J)?(e=this.getAutoTheme(),this.selectedTheme=void 0):this.selectedTheme=e,this.document.documentElement.setAttribute("data-bitmagnet-theme",e),this.selectedThemeSubject.next(this.selectedTheme)},this.setStoredTheme=e=>{e==="auto"?this.browserStorage.remove(ue):this.browserStorage.set(ue,e)},this.setActiveTheme(this.getPreferredTheme()),this.windowMatchMediaPrefersDark()?.addEventListener("change",()=>{this.getStoredTheme()||this.setActiveTheme(this.getAutoTheme())})}windowMatchMediaPrefersDark(){return this._window&&this._window.matchMedia?this._window.matchMedia("(prefers-color-scheme: dark)"):void 0}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ya=t=>({version:t});function va(t,r){if(t&1&&(E(0),i(1,"span",1),_(2),s(),D()),t&2){let e=r.$implicit,a=h();l(),g("matTooltip",e("version.bitmagnet_version",Pe(2,ya,a.versionUnknown?e("version.unknown"):a.version))),l(),b(a.version)}}var de="v-unknown",Bt=(()=>{class t{constructor(){this.apollo=c(Je),this.version=de,this.versionUnknown=!0}ngOnInit(){this.apollo.query({query:tt}).pipe(ge(e=>e.data.version)).subscribe({next:e=>{e?(this.version=e,this.versionUnknown=!1):(this.version=de,this.versionUnknown=!0)},error:()=>{this.version=de}})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-version"]],standalone:!0,features:[y],decls:1,vars:0,consts:[[4,"transloco"],[1,"version",3,"matTooltip"]],template:function(a,o){a&1&&q(0,va,3,4,"ng-container",0)},dependencies:[U,Q,X,at],encapsulation:2})}}return t})();var Rt="bitmagnet-language",Ht=(()=>{class t{constructor(){this.transloco=c(Oe),this.browserStorage=c(W),this.availableLanguages=this.transloco.getAvailableLangs(),this.transloco.setActiveLang(this.getPreferredLanguage())}getPreferredLanguage(){return this.getStoredLanguage()??this.getAutoLanguage()}getStoredLanguage(){let e=this.browserStorage.get(Rt);return e&&this.transloco.isLang(e)?e:void 0}getAutoLanguage(){let e=navigator?.language?.split("-")?.[0];return this.transloco.isLang(e)?e:"en"}setLanguage(e){this.transloco.setActiveLang(e),this.browserStorage.set(Rt,e)}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=p({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ka=["element"],_e=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-theme-emitter-color"]],viewQuery:function(a,o){if(a&1&&R(ka,5),a&2){let n;H(n=V())&&(o.element=n.first)}},inputs:{color:"color"},standalone:!0,features:[y],decls:2,vars:2,consts:[["element",""]],template:function(a,o){a&1&&m(0,"div",null,0),a&2&&S("theme-emitter-color "+o.color)},encapsulation:2})}}return t})();var xa=["lightdark"];function wa(t,r){if(t&1&&m(0,"app-theme-emitter-color",1),t&2){let e=r.$implicit;g("color",e)}}var Vt=(()=>{class t{constructor(){this.service=c(ht),this.themeManager=c(Y),this.themeColors=mt,this.themeManager.selectedTheme$.subscribe(()=>{this.updateThemeColors()})}ngAfterViewInit(){this.updateThemeColors()}updateThemeColors(){let e={};for(let o of this.elements??[])e[o.color]=getComputedStyle(o.element.nativeElement).color;let a=this.lightdark&&getComputedStyle(this.lightdark.nativeElement).color==="rgb(0, 0, 0)"?"dark":"light";this.service.setInfo({colors:e,type:a})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-theme-emitter"]],viewQuery:function(a,o){if(a&1&&(R(xa,5),R(_e,5)),a&2){let n;H(n=V())&&(o.lightdark=n.first),H(n=V())&&(o.elements=n)}},standalone:!0,features:[y],decls:5,vars:0,consts:[["lightdark",""],[3,"color"],[1,"theme-emitter-lightdark"]],template:function(a,o){a&1&&(E(0),L(1,wa,1,1,"app-theme-emitter-color",1,Se),m(3,"div",2,0),D()),a&2&&(l(),B(o.themeColors))},dependencies:[_e],styles:["[_nghost-%COMP%]{display:none}.theme-emitter-color.background[_ngcontent-%COMP%]{color:var(--mat-app-background-color)}.theme-emitter-color.foreground[_ngcontent-%COMP%]{color:var(--mat-app-text-color)}"]})}}return t})();var Sa=["*"],Ca=(t,r)=>r.key,Ma=(t,r)=>r.id,Pa=()=>({service:"Discord"}),za=()=>({service:"GitHub"}),Aa=()=>({service:"OpenCollective"});function qa(t,r){if(t&1&&(i(0,"h1")(1,"a",22),m(2,"mat-icon",23),i(3,"span",24),_(4,"bitmagnet"),s(),m(5,"app-version"),s()(),i(6,"nav")(7,"a",25,3),m(9,"mat-icon",23),_(10),s(),i(11,"a",26,4)(13,"mat-icon"),_(14,"dashboard"),s(),_(15),s()()),t&2){let e=z(8),a=z(12),o=h().$implicit;l(7),S(e.isActive?"active":""),l(3),oe(" ",o("routes.torrents")," "),l(),S(a.isActive?"active":""),l(4),oe(" ",o("routes.dashboard")," ")}}function Ea(t,r){if(t&1&&(i(0,"h1")(1,"a",27),m(2,"mat-icon",23),s()(),i(3,"button",28,4)(5,"mat-icon"),_(6,"dashboard"),s()()),t&2){let e=z(4),a=h().$implicit;l(3),S(e.isActive?"active":""),g("matTooltip",a("routes.dashboard"))}}function Da(t,r){if(t&1){let e=ae();i(0,"a",29),re("click",function(){let o=Z(e).$implicit,n=h(2);return $(n.themeManager.setTheme(o.key))}),i(1,"mat-icon"),_(2),s(),_(3),s()}if(t&2){let e=r.$implicit,a=h(2);S(e.key===a.themeManager.selectedTheme?"active":""),l(2),b(e.dark?"dark_mode":"light_mode"),l(),b(e.label)}}function Ia(t,r){if(t&1){let e=ae();i(0,"a",30),re("click",function(){let o=Z(e).$implicit,n=h(2);return $(n.translateManager.setLanguage(o.id))}),_(1),s()}if(t&2){let e=r.$implicit,a=h().$implicit,o=h();S(e.id===o.translateManager.getPreferredLanguage()?"active":""),g("matTooltip",e.id===o.translateManager.getPreferredLanguage()?void 0:a("languages."+e.id)),l(),b(e.label)}}function ja(t,r){if(t&1&&(i(0,"a",19)(1,"mat-icon"),_(2,"favorite"),s()()),t&2){let e=h().$implicit;g("matTooltip",e("layout.sponsor"))}}function Fa(t,r){if(t&1&&(i(0,"a",20)(1,"mat-icon"),_(2,"favorite"),s(),_(3),s()),t&2){let e=h().$implicit;g("matTooltip",e("layout.support_bitmagnet")),l(3),b(e("layout.sponsor"))}}function La(t,r){if(t&1&&(E(0),i(1,"mat-toolbar",6),q(2,qa,16,6)(3,Ea,7,3),m(4,"span",7)(5,"app-health-widget"),i(6,"button",8)(7,"mat-icon"),_(8,"apparel"),s()(),i(9,"mat-menu",9,0),L(11,Da,4,4,"a",10,Ca),s(),i(13,"button",11)(14,"mat-icon"),_(15,"translate"),s()(),i(16,"mat-menu",9,1),L(18,Ia,2,4,"a",12,Ma),s(),i(20,"button",13),m(21,"mat-icon",14),s(),i(22,"mat-menu",9,2)(24,"a",15),_(25,"bitmagnet.io"),s(),i(26,"a",16),_(27),s(),i(28,"a",17),_(29),s(),i(30,"a",18),_(31),s()(),q(32,ja,3,1,"a",19)(33,Fa,4,2,"a",20),s(),i(34,"div",21),Me(35),s(),m(36,"app-theme-emitter"),D()),t&2){let e=r.$implicit,a=z(10),o=z(17),n=z(23),u=h();l(2),te(u.breakpoints.sizeAtLeast("Medium")?2:3),l(4),g("matMenuTriggerFor",a)("matTooltip",e("layout.change_theme")),l(5),B(u.themeManager.themes),l(2),g("matMenuTriggerFor",o)("matTooltip",e("layout.translate")),l(5),B(u.translateManager.availableLanguages),l(2),g("matTooltip",e("layout.external_links"))("matMenuTriggerFor",n),l(7),b(e("layout.bitmagnet_on_service",N(11,Pa))),l(2),b(e("layout.bitmagnet_on_service",N(12,za))),l(2),b(e("layout.bitmagnet_on_service",N(13,Aa))),l(),te(u.breakpoints.sizeAtLeast("Medium")?33:32)}}var Ot=(()=>{class t{constructor(){this.themeManager=c(Y),this.translateManager=c(Ht),this.breakpoints=c(ct),this.title=c(Ie),this.router=c(Le),this.health=c(ut)}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-layout"]],standalone:!0,features:[y],ngContentSelectors:Sa,decls:1,vars:0,consts:[["themesMenu","matMenu"],["languagesMenu","matMenu"],["externalLinksMenu","matMenu"],["linkTorrents","routerLinkActive"],["linkDashboard","routerLinkActive"],[4,"transloco"],[1,"toolbar-header"],[1,"spacer"],["mat-icon-button","","aria-label","Theme",3,"matMenuTriggerFor","matTooltip"],[1,"layout-header-menu"],["mat-menu-item","",3,"class"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","class"],["mat-icon-button","",3,"matTooltip","matMenuTriggerFor"],["svgIcon","external-link"],["mat-menu-item","","href","https://bitmagnet.io","target","_blank"],["mat-menu-item","","href","https://discord.gg/6mFNszX8qM","target","_blank"],["mat-menu-item","","href","https://github.com/bitmagnet-io/bitmagnet","target","_blank"],["mat-menu-item","","href","https://opencollective.com/bitmagnet","target","_blank"],["mat-icon-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],["mat-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],[1,"app-content"],["routerLink","torrents"],["svgIcon","magnet"],[1,"name"],["mat-button","","routerLink","torrents","routerLinkActive",""],["mat-button","","routerLink","dashboard","routerLinkActive",""],["routerLink","/torrents"],["mat-icon-button","","routerLink","dashboard","routerLinkActive","",3,"matTooltip"],["mat-menu-item","",3,"click"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click","matTooltip"]],template:function(a,o){a&1&&(Ce(),q(0,La,37,14,"ng-container",5))},dependencies:[U,Ze,et,$e,ot,st,nt,it,lt,Q,Be,Re,X,_t,dt,Vt,Bt],styles:[".mat-toolbar.toolbar-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:10;--mat-toolbar-title-text-size: 22px;--mat-toolbar-standard-height: 56px;--mat-icon-color: #fff;padding:0 20px;--mdc-text-button-label-text-size: 15px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:-2px;margin-right:20px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:4px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{margin-left:10px;margin-right:16px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] app-version[_ngcontent-%COMP%]{font-size:13px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]{margin-left:6px;--mdc-text-button-label-text-weight: bold;--mat-text-button-horizontal-padding: 12px;--mdc-text-button-container-height: 30px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{position:absolute;left:340px;top:0;height:56px;padding-top:14px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:10px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] mat-icon[data-mat-icon-name=magnet][_ngcontent-%COMP%]{margin-top:-5px;overflow:visible}.app-content[_ngcontent-%COMP%]{z-index:1;padding-bottom:10px}.layout-header-menu[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{font-weight:700}"]})}}return t})();var Gt=(t,r)=>t.setDefaultFontSetClass("material-icons-outlined","material-symbols-outlined").addSvgIcon("magnet",r.bypassSecurityTrustResourceUrl("magnet.svg")).addSvgIcon("external-link",r.bypassSecurityTrustResourceUrl("external-link.svg")).addSvgIcon("binary",r.bypassSecurityTrustResourceUrl("binary.svg")).addSvgIcon("queue",r.bypassSecurityTrustResourceUrl("queue.svg"));var Nt=(()=>{class t{constructor(e,a){this.title="bitmagnet",Gt(e,a)}static{this.\u0275fac=function(a){return new(a||t)(ee(rt),ee(je))}}static{this.\u0275cmp=f({type:t,selectors:[["app-root"]],standalone:!0,features:[y],decls:2,vars:0,template:function(a,o){a&1&&(i(0,"app-layout"),m(1,"router-outlet"),s())},dependencies:[Fe,Ot]})}}return t})();De(Nt,jt).catch(t=>console.error(t)); diff --git a/webui/dist/bitmagnet/browser/main-U7K7XHKX.js b/webui/dist/bitmagnet/browser/main-U7K7XHKX.js new file mode 100644 index 00000000..87657ca7 --- /dev/null +++ b/webui/dist/bitmagnet/browser/main-U7K7XHKX.js @@ -0,0 +1 @@ +import{a as Ne,b as Ke,d as mt,e as pt}from"./chunk-Y7K23DTG.js";import{a as ut}from"./chunk-4IZ4BZMF.js";import{a as ct,c as dt,d as _t}from"./chunk-GL6K5NAM.js";import{Aa as it,Da as lt,Ea as Q,N as tt,P as at,_a as U,a as Oe,b as X,c as Ge,d as Xe,e as Qe,f as Ue,g as Je,h as We,i as Ye,u as Ze,va as rt,w as $e,wa as ot,x as et,ya as nt,za as st}from"./chunk-K5VIU67A.js";import"./chunk-6XXA7HXI.js";import{a as ne,b as qe,c as se,d as Ae,e as Ee,f as De,g as je,h as Ie,j as Fe,k as Le,l as Be,m as Re,n as He,o as Ve}from"./chunk-CMNWCZJM.js";import{$b as p,B as ge,Cb as A,Ea as Z,Fa as $,Gc as Pe,Hb as g,Kb as S,Mb as te,Nb as Se,Oa as ye,Ob as L,Pb as B,Qb as i,Rb as s,Sb as m,Tb as E,Tc as K,Ub as D,Wa as ve,Wb as ae,Zb as re,a as q,ac as Ce,bc as Me,d as pe,ec as R,fc as H,gc as V,h as F,ia as fe,jc as P,ka as h,kb as l,kc as _,l as he,lb as ee,lc as b,mb as ke,mc as oe,na as O,ob as xe,pa as G,pc as y,qa as u,qb as we,qc as N,rc as ze,tb as Te,ua as f,ya as be}from"./chunk-Z3WUIYN5.js";var Xt="@",Qt=(()=>{class t{constructor(e,a,o,n,c){this.doc=e,this.delegate=a,this.zone=o,this.animationType=n,this.moduleImpl=c,this._rendererFactoryPromise=null,this.scheduler=u(xe,{optional:!0}),this.loadingSchedulerFn=u(Ut,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-KZMLKX77.js").then(o=>o),a;return this.loadingSchedulerFn?a=this.loadingSchedulerFn(e):a=e(),a.catch(o=>{throw new fe(5300,!1)}).then(({\u0275createEngine:o,\u0275AnimationRendererFactory:n})=>{this._engine=o(this.animationType,this.doc);let c=new n(this.delegate,this._engine,this.zone);return this.delegate=c,c})}createRenderer(e,a){let o=this.delegate.createRenderer(e,a);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let n=new ie(o);return a?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(c=>{let x=c.createRenderer(e,a);n.use(x),this.scheduler?.notify(10)}).catch(c=>{n.use(o)}),n}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static{this.\u0275fac=function(a){ke()}}static{this.\u0275prov=h({token:t,factory:t.\u0275fac})}}return t})(),ie=class{constructor(r){this.delegate=r,this.replay=[],this.\u0275type=1}use(r){if(this.delegate=r,this.replay!==null){for(let e of this.replay)e(r);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(r,e){return this.delegate.createElement(r,e)}createComment(r){return this.delegate.createComment(r)}createText(r){return this.delegate.createText(r)}get destroyNode(){return this.delegate.destroyNode}appendChild(r,e){this.delegate.appendChild(r,e)}insertBefore(r,e,a,o){this.delegate.insertBefore(r,e,a,o)}removeChild(r,e,a){this.delegate.removeChild(r,e,a)}selectRootElement(r,e){return this.delegate.selectRootElement(r,e)}parentNode(r){return this.delegate.parentNode(r)}nextSibling(r){return this.delegate.nextSibling(r)}setAttribute(r,e,a,o){this.delegate.setAttribute(r,e,a,o)}removeAttribute(r,e,a){this.delegate.removeAttribute(r,e,a)}addClass(r,e){this.delegate.addClass(r,e)}removeClass(r,e){this.delegate.removeClass(r,e)}setStyle(r,e,a,o){this.delegate.setStyle(r,e,a,o)}removeStyle(r,e,a){this.delegate.removeStyle(r,e,a)}setProperty(r,e,a){this.shouldReplay(e)&&this.replay.push(o=>o.setProperty(r,e,a)),this.delegate.setProperty(r,e,a)}setValue(r,e){this.delegate.setValue(r,e)}listen(r,e,a){return this.shouldReplay(e)&&this.replay.push(o=>o.listen(r,e,a)),this.delegate.listen(r,e,a)}shouldReplay(r){return this.replay!==null&&r.startsWith(Xt)}},Ut=new O("");function ht(t="animations"){return Te("NgAsyncAnimations"),be([{provide:we,useFactory:(r,e,a)=>new Qt(r,e,a,t),deps:[K,Ee,ye]},{provide:ve,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var Jt=(t,r,e)=>{let a=["POST","PUT","PATCH"].indexOf(t.method.toUpperCase())!==-1,o=d=>["variables","extensions"].indexOf(d.toLowerCase())!==-1,n=t.body.length,c=t.options&&t.options.useMultipart,x;if(c){if(n)return new F(d=>d.error(new Error("File upload is not available when combined with Batching")));if(!a)return new F(d=>d.error(new Error("File upload is not available when GET is used")));if(!e)return new F(d=>d.error(new Error(`To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink's options`)));x=e(t.body),c=!!x.files.size}let w={};if(n){if(!a)return new F(d=>d.error(new Error("Batching is not available for GET requests")));w={body:t.body}}else{let d=c?x.clone:t.body;a?w={body:d}:w={params:Object.keys(t.body).reduce((C,k)=>{let M=t.body[k];return C[k]=o(k)?JSON.stringify(M):M,C},{})}}if(c&&a){let d=new FormData;d.append("operations",JSON.stringify(w.body));let I={},C=x.files,k=0;C.forEach(M=>{I[++k]=M}),d.append("map",JSON.stringify(I)),k=0,C.forEach((M,T)=>{d.append(++k+"",T,T.name)}),w.body=d}return r.request(t.method,t.url,q(q({observe:"response",responseType:"json",reportProgress:!1},w),t.options))},Wt=(t,r)=>t&&r?r.keys().reduce((a,o)=>a.set(o,r.getAll(o)),t):r||t;function Yt(...t){return t.find(r=>typeof r<"u")}function Zt(t){let r=t.headers&&t.headers instanceof ne?t.headers:new ne(t.headers);if(t.clientAwareness){let{name:e,version:a}=t.clientAwareness;e&&!r.has("apollographql-client-name")&&(r=r.set("apollographql-client-name",e)),a&&!r.has("apollographql-client-version")&&(r=r.set("apollographql-client-version",a))}return r}var $t={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function j(t,r,e){return Yt(t[e],r[e],$t[e])}var le=class extends Ue{httpClient;options;requester;print=Xe;constructor(r,e){super(),this.httpClient=r,this.options=e,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=a=>new Qe(o=>{let n=a.getContext(),c=j(n,this.options,"method"),x=j(n,this.options,"includeQuery"),w=j(n,this.options,"includeExtensions"),d=j(n,this.options,"uri"),I=j(n,this.options,"withCredentials"),C=j(n,this.options,"useMultipart"),k=this.options.useGETForQueries===!0,M=a.query.definitions.some(z=>z.kind==="OperationDefinition"&&z.operation==="query");k&&M&&(c="GET");let T={method:c,url:typeof d=="function"?d(a):d,body:{operationName:a.operationName,variables:a.variables},options:{withCredentials:I,useMultipart:C,headers:this.options.headers}};w&&(T.body.extensions=a.extensions),x&&(T.body.query=this.print(a.query));let Kt=Zt(n);T.options.headers=Wt(T.options.headers,Kt);let me=Jt(T,this.httpClient,this.options.extractFiles).subscribe({next:z=>{a.setContext({response:z}),o.next(z.body)},error:z=>o.error(z),complete:()=>o.complete()});return()=>{me.closed||me.unsubscribe()}})}request(r){return this.requester(r)}},gt=(()=>{class t{httpClient;constructor(e){this.httpClient=e}create(e){return new le(this.httpClient,e)}static \u0275fac=function(a){return new(a||t)(G(qe))};static \u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ft=window.location.protocol+"//"+window.location.hostname+":"+window.location.port+"/graphql";var bt={content_types:{plural:{all:"\u0627\u0644\u0643\u0644",audiobook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0635\u0648\u062A\u064A\u0629",comic:"\u0627\u0644\u0642\u0635\u0635 \u0627\u0644\u0645\u0635\u0648\u0631\u0629",ebook:"\u0627\u0644\u0643\u062A\u0628 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A\u0629",game:"\u0627\u0644\u0623\u0644\u0639\u0627\u0628",movie:"\u0627\u0644\u0623\u0641\u0644\u0627\u0645",music:"\u0627\u0644\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0627\u0644\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0627\u0645\u062C \u0627\u0644\u062A\u0644\u0641\u0627\u0632",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"},singular:{audiobook:"\u0643\u062A\u0627\u0628 \u0635\u0648\u062A\u064A",comic:"\u0642\u0635\u0629 \u0645\u0635\u0648\u0631\u0629",ebook:"\u0643\u062A\u0627\u0628 \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",game:"\u0644\u0639\u0628\u0629",movie:"\u0641\u064A\u0644\u0645",music:"\u0645\u0648\u0633\u064A\u0642\u0649",null:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",tv_show:"\u0628\u0631\u0646\u0627\u0645\u062C \u062A\u0644\u0641\u0632\u064A\u0648\u0646\u064A",xxx:"\u0627\u0644\u0625\u0628\u0627\u062D\u064A\u0629"}},dashboard:{event:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",failed:"\u0641\u0634\u0644",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",updated:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B"},interval:{all:"\u0627\u0644\u0643\u0644",days:"\u064A\u0648\u0645",days_1:"\u064A\u0648\u0645 \u0648\u0627\u062D\u062F",hours:"\u0633\u0627\u0639\u0629",hours_1:"\u0633\u0627\u0639\u0629 \u0648\u0627\u062D\u062F\u0629",hours_12:"12 \u0633\u0627\u0639\u0629",hours_6:"6 \u0633\u0627\u0639\u0629",minutes:"\u062F\u0642\u064A\u0642\u0629",minutes_1:"1 \u062F\u0642\u064A\u0642\u0629",minutes_15:"15 \u062F\u0642\u0627\u0626\u0642",minutes_30:"30 \u062F\u0642\u0627\u0626\u0642",minutes_5:"5 \u062F\u0642\u0627\u0626\u0642",off:"\u0625\u064A\u0642\u0627\u0641",seconds_10:"10 \u062B\u0648\u0627\u0646\u064A",seconds_30:"30 \u062B\u0627\u0646\u064A\u0629",weeks_1:"1 \u0623\u0633\u0628\u0648\u0639"},metrics:{event:"\u062D\u062F\u062B",resolution:"\u0627\u0644\u062F\u0642\u0629",throughput:"\u0645\u0639\u062F\u0644 \u0627\u0644\u0646\u0642\u0644",timeframe:"\u0627\u0644\u0625\u0637\u0627\u0631 \u0627\u0644\u0632\u0645\u0646\u064A",toggle_legend:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0623\u0633\u0637\u0648\u0631\u0629"},queues:{created:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621",created_at:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621 \u0641\u064A",enqueue_jobs:"\u0625\u062F\u0631\u0627\u062C \u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",enqueue_torrent_processing_batch:"\u0625\u062F\u0631\u0627\u062C \u062F\u0641\u0639\u0629 \u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",failed:"\u0641\u0634\u0644",jobs_enqueued:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0645\u062F\u0631\u062C\u0629 \u0641\u064A \u0627\u0644\u0637\u0627\u0628\u0648\u0631",latency:"\u0627\u0644\u062A\u0623\u062E\u064A\u0631",payload:"\u0627\u0644\u062D\u0645\u0648\u0644\u0629",pending:"\u0642\u064A\u062F \u0627\u0644\u0627\u0646\u062A\u0638\u0627\u0631",priority:"\u0627\u0644\u0623\u0648\u0644\u0648\u064A\u0629",process_orphaned_torrents_only:"\u0645\u0639\u0627\u0644\u062C\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u064A\u062A\u064A\u0645 \u0641\u0642\u0637",processed:"\u062A\u0645\u062A \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629",purge_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0648\u0638\u0627\u0626\u0641",purge_queue_jobs:"\u062A\u0646\u0638\u064A\u0641 \u0648\u0638\u0627\u0626\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",queue_purged:"\u062A\u0645 \u062A\u0646\u0638\u064A\u0641 \u0627\u0644\u0637\u0627\u0628\u0648\u0631",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",ran_at:"\u062A\u0645 \u0627\u0644\u062A\u0634\u063A\u064A\u0644 \u0641\u064A",retry:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u062D\u0627\u0648\u0644\u0629",total_counts_by_status:"\u0625\u062C\u0645\u0627\u0644\u064A \u0627\u0644\u0639\u062F \u062D\u0633\u0628 \u0627\u0644\u062D\u0627\u0644\u0629"}},facets:{content_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u062D\u062A\u0648\u0649",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",genre:"\u0627\u0644\u0646\u0648\u0639",language:"\u0627\u0644\u0644\u063A\u0629",queue:"\u0627\u0644\u0637\u0627\u0628\u0648\u0631",status:"\u0627\u0644\u062D\u0627\u0644\u0629",torrent_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",torrent_tag:"\u0639\u0644\u0627\u0645\u0629 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",video_resolution:"\u062F\u0642\u0629 \u0627\u0644\u0641\u064A\u062F\u064A\u0648",video_source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u0641\u064A\u062F\u064A\u0648"},file_types:{archive:"\u0623\u0631\u0634\u064A\u0641",audio:"\u0635\u0648\u062A",data:"\u0628\u064A\u0627\u0646\u0627\u062A",document:"\u0648\u062B\u064A\u0642\u0629",image:"\u0635\u0648\u0631\u0629",software:"\u0628\u0631\u0645\u062C\u064A\u0627\u062A",subtitles:"\u062A\u0631\u062C\u0645\u0627\u062A",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641",video:"\u0641\u064A\u062F\u064A\u0648"},general:{all:"\u0627\u0644\u0643\u0644",dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",none:"\u0644\u0627 \u0634\u064A\u0621",page_not_found:"\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629",refresh:"\u062A\u062D\u062F\u064A\u062B",status:"\u0627\u0644\u062D\u0627\u0644\u0629"},health:{bitmagnet_is_status:"bitmagnet \u0647\u0648 {{status}}",check_failed_with_error:"\u0641\u0634\u0644 \u0627\u0644\u062A\u062D\u0642\u0642 \u0645\u0639 \u062E\u0637\u0623",component:"\u0645\u0643\u0648\u0646",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0631\u0641\u0636",error:"\u062E\u0637\u0623",status:"\u0627\u0644\u062D\u0627\u0644\u0629",statuses:{degraded:"\u0645\u062A\u062F\u0647\u0648\u0631",down:"\u0645\u0639\u0637\u0644",error:"\u062E\u0637\u0623",inactive:"\u063A\u064A\u0631 \u0646\u0634\u0637",started:"\u0628\u062F\u0623",unknown:"\u0645\u0639\u0644\u0642",up:"\u0646\u0634\u0637"},summary:"\u0645\u0644\u062E\u0635 \u0627\u0644\u0635\u062D\u0629",worker:"\u0639\u0627\u0645\u0644",workers:{dht_crawler:"\u0632\u0627\u062D\u0641 DHT",http_server:"\u062E\u0627\u062F\u0645 HTTP",queue_server:"\u062E\u0627\u062F\u0645 \u0627\u0644\u0637\u0627\u0628\u0648\u0631"}},languages:{af:"\u0627\u0644\u0623\u0641\u0631\u064A\u0643\u0627\u0646\u064A\u0629",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",az:"\u0627\u0644\u0623\u0630\u0631\u0628\u064A\u062C\u0627\u0646\u064A\u0629",be:"\u0627\u0644\u0628\u064A\u0644\u0627\u0631\u0648\u0633\u064A\u0629",bg:"\u0627\u0644\u0628\u0644\u063A\u0627\u0631\u064A\u0629",bs:"\u0627\u0644\u0628\u0648\u0633\u0646\u064A\u0629",ca:"\u0627\u0644\u0643\u0627\u062A\u0627\u0644\u0627\u0646\u064A\u0629",ce:"\u0627\u0644\u0634\u064A\u0634\u0627\u0646\u064A\u0629",co:"\u0627\u0644\u0643\u0648\u0631\u0633\u064A\u0643\u064A\u0629",cs:"\u0627\u0644\u062A\u0634\u064A\u0643\u064A\u0629",cy:"\u0627\u0644\u0648\u064A\u0644\u0632\u064A\u0629",da:"\u0627\u0644\u062F\u0627\u0646\u0645\u0627\u0631\u0643\u064A\u0629",de:"\u0627\u0644\u0623\u0644\u0645\u0627\u0646\u064A\u0629",el:"\u0627\u0644\u064A\u0648\u0646\u0627\u0646\u064A\u0629",en:"\u0627\u0644\u0625\u0646\u062C\u0644\u064A\u0632\u064A\u0629",es:"\u0627\u0644\u0625\u0633\u0628\u0627\u0646\u064A\u0629",et:"\u0627\u0644\u0625\u0633\u062A\u0648\u0646\u064A\u0629",eu:"\u0627\u0644\u0628\u0627\u0633\u0643\u064A\u0629",fa:"\u0627\u0644\u0641\u0627\u0631\u0633\u064A\u0629",fi:"\u0627\u0644\u0641\u0646\u0644\u0646\u062F\u064A\u0629",fr:"\u0627\u0644\u0641\u0631\u0646\u0633\u064A\u0629",he:"\u0627\u0644\u0639\u0628\u0631\u064A\u0629",hi:"\u0627\u0644\u0647\u0646\u062F\u064A\u0629",hr:"\u0627\u0644\u0643\u0631\u0648\u0627\u062A\u064A\u0629",hu:"\u0627\u0644\u0647\u0646\u063A\u0627\u0631\u064A\u0629",hy:"\u0627\u0644\u0623\u0631\u0645\u0646\u064A\u0629",id:"\u0627\u0644\u0625\u0646\u062F\u0648\u0646\u064A\u0633\u064A\u0629",is:"\u0627\u0644\u0623\u064A\u0633\u0644\u0646\u062F\u064A\u0629",it:"\u0627\u0644\u0625\u064A\u0637\u0627\u0644\u064A\u0629",ja:"\u0627\u0644\u064A\u0627\u0628\u0627\u0646\u064A\u0629",ka:"\u0627\u0644\u062C\u0648\u0631\u062C\u064A\u0629",ko:"\u0627\u0644\u0643\u0648\u0631\u064A\u0629",ku:"\u0627\u0644\u0643\u0631\u062F\u064A\u0629",lt:"\u0627\u0644\u0644\u064A\u062A\u0648\u0627\u0646\u064A\u0629",lv:"\u0627\u0644\u0644\u0627\u062A\u0641\u064A\u0629",mi:"\u0627\u0644\u0645\u0627\u0648\u0631\u064A\u0629",mk:"\u0627\u0644\u0645\u0642\u062F\u0648\u0646\u064A\u0629",ml:"\u0627\u0644\u0645\u0627\u0644\u0627\u064A\u0627\u0644\u0627\u0645\u064A\u0629",mn:"\u0627\u0644\u0645\u0646\u063A\u0648\u0644\u064A\u0629",ms:"\u0627\u0644\u0645\u0644\u0627\u064A\u0648\u064A\u0629",mt:"\u0627\u0644\u0645\u0627\u0644\u0637\u064A\u0629",nl:"\u0627\u0644\u0647\u0648\u0644\u0646\u062F\u064A\u0629",no:"\u0627\u0644\u0646\u0631\u0648\u064A\u062C\u064A\u0629",pl:"\u0627\u0644\u0628\u0648\u0644\u0646\u062F\u064A\u0629",pt:"\u0627\u0644\u0628\u0631\u062A\u063A\u0627\u0644\u064A\u0629",ro:"\u0627\u0644\u0631\u0648\u0645\u0627\u0646\u064A\u0629",ru:"\u0627\u0644\u0631\u0648\u0633\u064A\u0629",sa:"\u0627\u0644\u0633\u0646\u0633\u0643\u0631\u064A\u062A\u064A\u0629",sk:"\u0627\u0644\u0633\u0644\u0648\u0641\u0627\u0643\u064A\u0629",sl:"\u0627\u0644\u0633\u0644\u0648\u0641\u064A\u0646\u064A\u0629",sm:"\u0627\u0644\u0633\u0627\u0645\u0648\u064A\u0629",so:"\u0627\u0644\u0635\u0648\u0645\u0627\u0644\u064A\u0629",sr:"\u0627\u0644\u0635\u0631\u0628\u064A\u0629",sv:"\u0627\u0644\u0633\u0648\u064A\u062F\u064A\u0629",ta:"\u0627\u0644\u062A\u0627\u0645\u064A\u0644\u064A\u0629",th:"\u0627\u0644\u062A\u0627\u064A\u0644\u0627\u0646\u062F\u064A\u0629",tr:"\u0627\u0644\u062A\u0631\u0643\u064A\u0629",uk:"\u0627\u0644\u0623\u0648\u0643\u0631\u0627\u0646\u064A\u0629",vi:"\u0627\u0644\u0641\u064A\u062A\u0646\u0627\u0645\u064A\u0629",yi:"\u0627\u0644\u064A\u062F\u064A\u0634\u064A\u0629",zh:"\u0627\u0644\u0635\u064A\u0646\u064A\u0629",zu:"\u0627\u0644\u0632\u0648\u0644\u0648"},layout:{bitmagnet_on_service:"bitmagnet \u0639\u0644\u0649 {{service}}",change_theme:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0633\u0645\u0629",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",sponsor:"\u0627\u0644\u0631\u0627\u0639\u064A",support_bitmagnet:"\u062F\u0639\u0645 bitmagnet",translate:"\u062A\u0631\u062C\u0645\u0629"},paginator:{first_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u0648\u0644\u0649",items_per_page:"\u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0644\u0643\u0644 \u0635\u0641\u062D\u0629",last_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0623\u062E\u064A\u0631\u0629",next_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u0627\u0644\u064A\u0629",page_x:"\u0627\u0644\u0635\u0641\u062D\u0629 {{x}}",previous_page:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0633\u0627\u0628\u0642\u0629",x_to_y:"{{x}} \u0625\u0644\u0649 {{y}}",x_to_y_of_z:"{{x}} \u0625\u0644\u0649 {{y}} \u0645\u0646 {{z}}"},routes:{admin:"\u0627\u0644\u0645\u0633\u0624\u0648\u0644",dashboard:"\u0644\u0648\u062D\u0629 \u0627\u0644\u062A\u062D\u0643\u0645",home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",jobs:"\u0627\u0644\u0648\u0638\u0627\u0626\u0641",queues:"\u0627\u0644\u0637\u0648\u0627\u0628\u064A\u0631",torrents:"\u0627\u0644\u062A\u0648\u0631\u0646\u062A",visualize:"\u062A\u0635\u0648\u0631"},torrents:{classification:"\u0627\u0644\u062A\u0635\u0646\u064A\u0641",clear_search:"\u0645\u0633\u062D \u0627\u0644\u0628\u062D\u062B",copy:"\u0646\u0633\u062E",copy_to_clipboard:"\u0646\u0633\u062E \u0625\u0644\u0649 \u0627\u0644\u062D\u0627\u0641\u0638\u0629",delete:"\u062D\u0630\u0641",delete_action_cannot_be_undone:"\u0644\u0627 \u064A\u0645\u0643\u0646 \u0627\u0644\u062A\u0631\u0627\u062C\u0639 \u0639\u0646 \u0647\u0630\u0627 \u0627\u0644\u0625\u062C\u0631\u0627\u0621",delete_are_you_sure:"\u0647\u0644 \u0623\u0646\u062A \u0645\u062A\u0623\u0643\u062F \u0623\u0646\u0643 \u062A\u0631\u064A\u062F \u062D\u0630\u0641 \u0647\u0630\u0627 \u0627\u0644\u062A\u0648\u0631\u0646\u062A\u061F",deselect_all:"\u0625\u0644\u063A\u0627\u0621 \u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",edit_tags:"\u062A\u062D\u0631\u064A\u0631 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",episodes:"\u0627\u0644\u062D\u0644\u0642\u0627\u062A",external_links:"\u0631\u0648\u0627\u0628\u0637 \u062E\u0627\u0631\u062C\u064A\u0629",file_index:"\u0641\u0647\u0631\u0633 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",file_path:"\u0645\u0633\u0627\u0631 \u0627\u0644\u0645\u0644\u0641",file_size:"\u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641",file_type:"\u0646\u0648\u0639 \u0627\u0644\u0645\u0644\u0641",files:"\u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_count_n:"{{count}} \u0645\u0644\u0641\u0627\u062A",files_no_info:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u0639\u0644\u0648\u0645\u0627\u062A \u0639\u0646 \u0627\u0644\u0645\u0644\u0641\u0627\u062A",files_single:"\u0645\u0644\u0641 \u0648\u0627\u062D\u062F",genres:"\u0627\u0644\u0623\u0646\u0648\u0627\u0639",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",info_hashes:"\u062A\u062C\u0632\u0626\u0627\u062A \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",languages:"\u0627\u0644\u0644\u063A\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",magnet:"\u0645\u063A\u0646\u0627\u0637\u064A\u0633",magnet_links:"\u0631\u0648\u0627\u0628\u0637 \u0645\u063A\u0646\u0627\u0637\u064A\u0633\u064A\u0629",new_tag:"\u0639\u0644\u0627\u0645\u0629 \u062C\u062F\u064A\u062F\u0629",order_by:"\u062A\u0631\u062A\u064A\u0628 \u062D\u0633\u0628",order_direction_toggle:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u0627\u062A\u062C\u0627\u0647",ordering:{files_count:"\u0639\u062F\u062F \u0627\u0644\u0645\u0644\u0641\u0627\u062A",info_hash:"\u062A\u062C\u0632\u0626\u0629 \u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062A",leechers:"\u0627\u0644\u0645\u0633\u062A\u0641\u064A\u062F\u0648\u0646",name:"\u0627\u0644\u0627\u0633\u0645",published_at:"\u0646\u0634\u0631 \u0641\u064A",relevance:"\u0627\u0644\u0635\u0644\u0629",seeders:"\u0627\u0644\u0645\u0632\u0627\u0631\u0639\u0648\u0646",size:"\u0627\u0644\u062D\u062C\u0645",updated_at:"\u062A\u0645 \u0627\u0644\u062A\u062D\u062F\u064A\u062B \u0641\u064A"},original_release_date:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0625\u0635\u062F\u0627\u0631 \u0627\u0644\u0623\u0635\u0644\u064A",permalink:"\u0631\u0627\u0628\u0637 \u062F\u0627\u0626\u0645",poster:"\u0645\u0644\u0635\u0642",published:"\u0645\u0646\u0634\u0648\u0631",rating:"\u0627\u0644\u062A\u0642\u064A\u064A\u0645",refresh:"\u062A\u062D\u062F\u064A\u062B \u0627\u0644\u0646\u062A\u0627\u0626\u062C",reprocess:{force_rematch:"\u0641\u0631\u0636 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0637\u0627\u0628\u0642\u0629 \u0644\u0644\u0645\u062D\u062A\u0648\u0649 \u0627\u0644\u0645\u0637\u0627\u0628\u0642 \u0628\u0627\u0644\u0641\u0639\u0644",match_content_by_external_api_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0641\u064A API \u0627\u0644\u062E\u0627\u0631\u062C\u064A\u0629",match_content_by_local_search:"\u0645\u0637\u0627\u0628\u0642\u0629 \u0627\u0644\u0645\u062D\u062A\u0648\u0649 \u0645\u0646 \u062E\u0644\u0627\u0644 \u0627\u0644\u0628\u062D\u062B \u0627\u0644\u0645\u062D\u0644\u064A",reprocess:"\u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u0645\u0639\u0627\u0644\u062C\u0629"},s_l:"S / L",search:"\u0628\u062D\u062B",seeders:"\u0627\u0644\u0628\u0627\u0630\u0631\u0648\u0646",select_all:"\u062A\u062D\u062F\u064A\u062F \u0627\u0644\u0643\u0644",sendto:"\u0623\u0631\u0633\u0644 \u0625\u0644\u0649",showing_x_of_y_files:"\u0639\u0631\u0636 {{x}} \u0645\u0646 {{y}} \u0645\u0644\u0641\u0627\u062A",size:"\u0627\u0644\u062D\u062C\u0645",source:"\u0645\u0635\u062F\u0631 \u0627\u0644\u062A\u0648\u0631\u0646\u062A",summary:"\u0627\u0644\u0645\u0644\u062E\u0635",tags:{delete:"\u062D\u0630\u0641 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",delete_tip:"\u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0645\u0646 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",placeholder:"\u0627\u0644\u0639\u0644\u0627\u0645\u0629...",put:"\u0648\u0636\u0639 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",put_tip:"\u0625\u0636\u0627\u0641\u0629 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0625\u0644\u0649 \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629",set:"\u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A",set_tip:"\u0627\u0633\u062A\u0628\u062F\u0627\u0644 \u0627\u0644\u0639\u0644\u0627\u0645\u0627\u062A \u0641\u064A \u0645\u0644\u0641\u0627\u062A \u0627\u0644\u062A\u0648\u0631\u0646\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629"},title:"\u0627\u0644\u0639\u0646\u0648\u0627\u0646",toggle_drawer:"\u062A\u0628\u062F\u064A\u0644 \u0627\u0644\u062F\u0631\u062C",votes_count_n:"{{count}} \u0623\u0635\u0648\u0627\u062A"},version:{bitmagnet_version:"\u0625\u0635\u062F\u0627\u0631 bitmagnet {{version}}",unknown:"\u063A\u064A\u0631 \u0645\u0639\u0631\u0648\u0641"}};var yt={content_types:{plural:{all:"Tot",audiobook:"Audiollibres",comic:"C\xF2mics",ebook:"Llibres electr\xF2nics",game:"Jocs",movie:"Pel\xB7l\xEDcules",music:"M\xFAsica",null:"Desconegut",software:"Programari",tv_show:"Programes de TV",xxx:"XXX"},singular:{audiobook:"Audiollibre",comic:"C\xF2mic",ebook:"Llibre electr\xF2nic",game:"Joc",movie:"Pel\xB7l\xEDcula",music:"M\xFAsica",null:"Desconegut",software:"Desconegut",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Creat",failed:"Error",processed:"Processat",updated:"Actualitzat"},interval:{all:"Tot",days:"Dies",days_1:"1 dia",hours:"Hores",hours_1:"1 hora",hours_12:"12 hores",hours_6:"6 hores",minutes:"Minuts",minutes_1:"1 minut",minutes_15:"15 minuts",minutes_30:"30 minuts",minutes_5:"5 minuts",off:"Apagat",seconds_10:"10 segons",seconds_30:"30 segons",weeks_1:"1 setmana"},metrics:{event:"Esdeveniment",resolution:"Resoluci\xF3",throughput:"Rendiment",timeframe:"Per\xEDode de temps",toggle_legend:"Mostra o oculta la llegenda"},queues:{created:"Creat",created_at:"Creaci\xF3",enqueue_jobs:"Encua les tasques",enqueue_torrent_processing_batch:"Encua el lot de processament de torrents",failed:"Fallat",jobs_enqueued:"Tasques encuades",latency:"Lat\xE8ncia",payload:"Contingut",pending:"Pendent",priority:"Prioritat",process_orphaned_torrents_only:"Processa nom\xE9s els torrents orfes",processed:"Processat",purge_jobs:"Purga les tasques",purge_queue_jobs:"Purga les cues de tasques",queue:"Cua",queue_purged:"Cua purgada",queues:"Cues",ran_at:"Executat a",retry:"Torna a intentar",total_counts_by_status:"Recompte total per estat"}},facets:{content_type:"Tipus de Contingut",file_type:"Tipus de Fitxer",genre:"G\xE8nere",language:"Idioma",queue:"Cua",status:"Estat",torrent_source:"Origen del Torrent",torrent_tag:"Etiqueta del Torrent",video_resolution:"Resoluci\xF3 del V\xEDdeo",video_source:"Origen del V\xEDdeo"},file_types:{archive:"Arxiu",audio:"\xC0udio",data:"Dades",document:"Document",image:"Imatge",software:"Programari",subtitles:"Subt\xEDtols",unknown:"Desconegut",video:"V\xEDdeo"},general:{all:"Tot",dismiss:"Descarta",error:"Error",none:"Cap",page_not_found:"P\xE0gina no trobada",refresh:"Actualitza",status:"Estat"},health:{bitmagnet_is_status:"bitmagnet est\xE0 {{status}}",check_failed_with_error:"Ha fallat la comprovaci\xF3 amb un error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Descarta",error:"Error",status:"Estat",statuses:{degraded:"Degradat",down:"Caigut",error:"Error",inactive:"Inactiu",started:"Iniciat",unknown:"Pendent",up:"Actiu"},summary:"Resum de salut",worker:"Treballador",workers:{dht_crawler:"Rastrejador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de cues"}},languages:{af:"Afrikaans",ar:"\xC0rab",az:"\xC0zeri",be:"Belar\xFAs",bg:"B\xFAlgar",bs:"Bosni\xE0",ca:"Catal\xE0",ce:"Txetx\xE8",co:"Cors",cs:"Txec",cy:"Gal\xB7l\xE8s",da:"Dan\xE8s",de:"Alemany",el:"Grec",en:"Angl\xE8s",es:"Castell\xE0",et:"Estoni\xE0",eu:"Basc",fa:"Persa",fi:"Fin\xE8s",fr:"Franc\xE8s",he:"Hebreu",hi:"Hindi",hr:"Croat",hu:"Hongar\xE8s",hy:"Armeni",id:"Indonesi",is:"Island\xE8s",it:"Itali\xE0",ja:"Japon\xE8s",ka:"Georgi\xE0",ko:"Core\xE0",ku:"Kurd",lt:"Litu\xE0",lv:"Let\xF3",mi:"Maori",mk:"Maced\xF2nic",ml:"Malai\xE0lam",mn:"Mongol",ms:"Malai",mt:"Malt\xE8s",nl:"Neerland\xE8s",no:"Noruec",pl:"Polon\xE8s",pt:"Portugu\xE8s",ro:"Roman\xE8s",ru:"Rus",sa:"S\xE0nscrit",sk:"Eslovac",sl:"Eslov\xE8",sm:"Samo\xE0",so:"Somali",sr:"Serbi",sv:"Suec",ta:"T\xE0mil",th:"Tailand\xE8s",tr:"Turc",uk:"Ucra\xEFn\xE8s",vi:"Vietnamita",yi:"\xCDdix",zh:"Xin\xE8s",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet a {{service}}",change_theme:"Canviar el tema",external_links:"Enlla\xE7os externs",sponsor:"Patrocina",support_bitmagnet:"Ajuda a bitmagnet",translate:"Tradueix"},paginator:{first_page:"Primera p\xE0gina",items_per_page:"Elements per p\xE0gina",last_page:"Elements per p\xE0gina",next_page:"P\xE0gina seg\xFCent",page_x:"P\xE0gina {{x}}",previous_page:"P\xE0gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administraci\xF3",dashboard:"Tauler de control",home:"Inici",jobs:"Tasques",queues:"Cues",torrents:"Torrents",visualize:"Visualitza"},torrents:{classification:"Classificaci\xF3",clear_search:"Esborrar la cerca",copy:"Copiar",copy_to_clipboard:"Copia al porta-retalls",delete:"Esborrar",delete_action_cannot_be_undone:"Aquesta acci\xF3 no es pot desfer",delete_are_you_sure:"Est\xE0s segur que vols esborrar aquest torrent?",deselect_all:"Desselecciona-ho tot",edit_tags:"Edita l'etiqueta",episodes:"Episodis",external_links:"Enlla\xE7os externs",file_index:"\xCDndex del fitxer",file_path:"Cam\xED del fitxer",file_size:"Mida del fitxer",file_type:"Tipus de fitxer",files:"Fitxers",files_count_n:"{{count}} fitxers",files_no_info:"{{count}} fitxers",files_single:"Fitxer \xFAnic",genres:"G\xE8neres",info_hash:"Informaci\xF3 del resum",info_hashes:"Informaci\xF3 dels resums",languages:"Idiomes",leechers:"Sangoneres",magnet:"Magnet",magnet_links:"Enlla\xE7os magnet",new_tag:"Etiqueta nova",order_by:"Ordenar per",order_direction_toggle:"Commuta la direcci\xF3",ordering:{files_count:"Recompte de fitxers",info_hash:"Informaci\xF3 del resum",leechers:"Sangoneres",name:"Nom",published_at:"Publicat el",relevance:"Rellev\xE0ncia",seeders:"Sembradors",size:"Mida",updated_at:"Actualitzat el"},original_release_date:"Data de llan\xE7ament original",permalink:"Enlla\xE7 permanent",poster:"P\xF2ster",published:"Publicat",rating:"Valoraci\xF3",refresh:"Actualitza els resultats",reprocess:{force_rematch:"For\xE7ar nova coincid\xE8ncia del contingut ja coincident",match_content_by_external_api_search:"Fes coincidir el contingut a trav\xE9s d'una cerca d'API externa",match_content_by_local_search:"Fes conicidir a trav\xE9s d'una cerca local",reprocess:"Tornar a processar"},s_l:"S / S",search:"Cerca",seeders:"Sembradors",select_all:"Seleccionar-ho tot",sendto:"Envia a",showing_x_of_y_files:"Mostrant {{x}} de {{y}} fitxers",size:"Mida",source:"Origen del torrent",summary:"Resum",tags:{delete:"Esborrar etiquetes",delete_tip:"Esborrar etiquetes dels torrents seleccionats",placeholder:"Etiqueta...",put:"Afegeix etiquetes",put_tip:"Afegeix etiquetes als torrents seleccionats",set:"Reempla\xE7a etiquetes",set_tip:"Reempla\xE7a les etiquetes dels torrents seleccionats"},title:"T\xEDtol",toggle_drawer:"Mostra o oculta el calaix",votes_count_n:"{{count}} vots"},version:{bitmagnet_version:"versi\xF3 de bitmagnet {{version}}",unknown:"desconegut"}};var vt={content_types:{plural:{all:"Alle",audiobook:"H\xF6rb\xFCcher",comic:"Comics",ebook:"E-B\xFCcher",game:"Spiele",movie:"Filme",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Shows",xxx:"XXX"},singular:{audiobook:"H\xF6rbuch",comic:"Comic",ebook:"E-Buch",game:"Spiel",movie:"Film",music:"Musik",null:"Unbekannt",software:"Software",tv_show:"TV-Show",xxx:"XXX"}},dashboard:{event:{created:"Erstellt",failed:"Fehlgeschlagen",processed:"Verarbeitet",updated:"Aktualisiert"},interval:{all:"Alle",days:"Tage",days_1:"1 Tag",hours:"Stunden",hours_1:"1 Stunde",hours_12:"12 Stunden",hours_6:"6 Stunden",minutes:"Minuten",minutes_1:"1 Minute",minutes_15:"15 Minuten",minutes_30:"30 Minuten",minutes_5:"5 Minuten",off:"Aus",seconds_10:"10 Sekunden",seconds_30:"30 Sekunden",weeks_1:"1 Woche"},metrics:{event:"Ereignis",resolution:"Aufl\xF6sung",throughput:"Durchsatz",timeframe:"Zeitrahmen",toggle_legend:"Legende umschalten"},queues:{created:"Erstellt",created_at:"Erstellt am",enqueue_jobs:"Jobs einreihen",enqueue_torrent_processing_batch:"Torrent-Verarbeitungsbatch einreihen",failed:"Fehlgeschlagen",jobs_enqueued:"Jobs eingereiht",latency:"Latenz",payload:"Nutzlast",pending:"Ausstehend",priority:"Priorit\xE4t",process_orphaned_torrents_only:"Nur verwaiste Torrents verarbeiten",processed:"Verarbeitet",purge_jobs:"Jobs bereinigen",purge_queue_jobs:"Warteschlangen-Jobs bereinigen",queue:"Warteschlange",queue_purged:"Warteschlange bereinigt",queues:"Warteschlangen",ran_at:"Ausgef\xFChrt am",retry:"Erneut versuchen",total_counts_by_status:"Gesamtanzahl nach Status"}},facets:{content_type:"Inhaltstyp",file_type:"Dateityp",genre:"Genre",language:"Sprache",queue:"Warteschlange",status:"Status",torrent_source:"Torrent-Quelle",torrent_tag:"Torrent-Tag",video_resolution:"Videoaufl\xF6sung",video_source:"Videoquelle"},file_types:{archive:"Archiv",audio:"Audio",data:"Daten",document:"Dokument",image:"Bild",software:"Software",subtitles:"Untertitel",unknown:"Unbekannt",video:"Video"},general:{all:"Alle",dismiss:"Verwerfen",error:"Fehler",none:"Keine",page_not_found:"Seite nicht gefunden",refresh:"Aktualisieren",status:"Status"},health:{bitmagnet_is_status:"bitmagnet ist {{status}}",check_failed_with_error:"\xDCberpr\xFCfung mit Fehler fehlgeschlagen",component:"Komponente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Verwerfen",error:"Fehler",status:"Status",statuses:{degraded:"Verschlechtert",down:"Aus",error:"Fehler",inactive:"Inaktiv",started:"Gestartet",unknown:"Ausstehend",up:"An"},summary:"Gesundheits\xFCbersicht",worker:"Arbeiter",workers:{dht_crawler:"DHT-Crawler",http_server:"HTTP-Server",queue_server:"Warteschlangen-Server"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Aserbaidschanisch",be:"Wei\xDFrussisch",bg:"Bulgarisch",bs:"Bosnisch",ca:"Katalanisch",ce:"Tschetschenisch",co:"Korsisch",cs:"Tschechisch",cy:"Walisisch",da:"D\xE4nisch",de:"Deutsch",el:"Griechisch",en:"Englisch",es:"Spanisch",et:"Estnisch",eu:"Baskisch",fa:"Persisch",fi:"Finnisch",fr:"Franz\xF6sisch",he:"Hebr\xE4isch",hi:"Hindi",hr:"Kroatisch",hu:"Ungarisch",hy:"Armenisch",id:"Indonesisch",is:"Isl\xE4ndisch",it:"Italienisch",ja:"Japanisch",ka:"Georgisch",ko:"Koreanisch",ku:"Kurdisch",lt:"Litauisch",lv:"Lettisch",mi:"Maori",mk:"Mazedonisch",ml:"Malayalam",mn:"Mongolisch",ms:"Malaiisch",mt:"Maltesisch",nl:"Niederl\xE4ndisch",no:"Norwegisch",pl:"Polnisch",pt:"Portugiesisch",ro:"Rum\xE4nisch",ru:"Russisch",sa:"Sanskrit",sk:"Slowakisch",sl:"Slowenisch",sm:"Samoanisch",so:"Somalisch",sr:"Serbisch",sv:"Schwedisch",ta:"Tamil",th:"Thai",tr:"T\xFCrkisch",uk:"Ukrainisch",vi:"Vietnamesisch",yi:"Jiddisch",zh:"Chinesisch",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet auf {{service}}",change_theme:"Thema \xE4ndern",external_links:"Externe Links",sponsor:"Sponsor",support_bitmagnet:"bitmagnet unterst\xFCtzen",translate:"\xDCbersetzen"},paginator:{first_page:"Erste Seite",items_per_page:"Artikel pro Seite",last_page:"Letzte Seite",next_page:"N\xE4chste Seite",page_x:"Seite {{x}}",previous_page:"Vorherige Seite",x_to_y:"{{x}} bis {{y}}",x_to_y_of_z:"{{x}} bis {{y}} von {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Startseite",jobs:"Aufgaben",queues:"Warteschlangen",torrents:"Torrents",visualize:"Visualisieren"},torrents:{classification:"Klassifizierung",clear_search:"Suche l\xF6schen",copy:"Kopieren",copy_to_clipboard:"In die Zwischenablage kopieren",delete:"L\xF6schen",delete_action_cannot_be_undone:"Diese Aktion kann nicht r\xFCckg\xE4ngig gemacht werden",delete_are_you_sure:"Sind Sie sicher, dass Sie diesen Torrent l\xF6schen m\xF6chten?",deselect_all:"Alle abw\xE4hlen",edit_tags:"Tags bearbeiten",episodes:"Episoden",external_links:"Externe Links",file_index:"Dateiindex",file_path:"Dateipfad",file_size:"Dateigr\xF6\xDFe",file_type:"Dateityp",files:"Dateien",files_count_n:"{{count}} Dateien",files_no_info:"Keine Dateiinformationen verf\xFCgbar",files_single:"Einzelne Datei",genres:"Genres",info_hash:"Info-Hash",info_hashes:"Info-Hashes",languages:"Sprachen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-Links",new_tag:"Neuer Tag",order_by:"Sortieren nach",order_direction_toggle:"Richtung umschalten",ordering:{files_count:"Dateienanzahl",info_hash:"Info-Hash",leechers:"Leechers",name:"Name",published_at:"Ver\xF6ffentlicht am",relevance:"Relevanz",seeders:"Seeders",size:"Gr\xF6\xDFe",updated_at:"Aktualisiert am"},original_release_date:"Originales Ver\xF6ffentlichungsdatum",permalink:"Permalink",poster:"Poster",published:"Ver\xF6ffentlicht",rating:"Bewertung",refresh:"Ergebnisse aktualisieren",reprocess:{force_rematch:"Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen",match_content_by_external_api_search:"Inhalte durch externe API-Suche zuordnen",match_content_by_local_search:"Inhalte durch lokale Suche zuordnen",reprocess:"Erneut verarbeiten"},s_l:"S / L",search:"Suche",seeders:"Seeders",select_all:"Alle ausw\xE4hlen",sendto:"Senden an",showing_x_of_y_files:"{{x}} von {{y}} Dateien anzeigen",size:"Gr\xF6\xDFe",source:"Torrent-Quelle",summary:"Zusammenfassung",tags:{delete:"Tags l\xF6schen",delete_tip:"Tags aus den ausgew\xE4hlten Torrents entfernen",placeholder:"Tag...",put:"Tags setzen",put_tip:"Tags zu den ausgew\xE4hlten Torrents hinzuf\xFCgen",set:"Tags setzen",set_tip:"Tags der ausgew\xE4hlten Torrents ersetzen"},title:"Titel",toggle_drawer:"Schublade umschalten",votes_count_n:"{{count}} Stimmen"},version:{bitmagnet_version:"bitmagnet Version {{version}}",unknown:"unbekannt"}};var kt={content_types:{plural:{all:"All",audiobook:"Audiobooks",comic:"Comics",ebook:"E-Books",game:"Games",movie:"Movies",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Shows",xxx:"XXX"},singular:{audiobook:"Audiobook",comic:"Comic",ebook:"E-Book",game:"Game",movie:"Movie",music:"Music",null:"Unknown",software:"Software",tv_show:"TV Show",xxx:"XXX"}},dashboard:{event:{created:"Created",failed:"Failed",processed:"Processed",updated:"Updated"},interval:{all:"All",days:"Days",days_1:"1 day",hours:"Hours",hours_1:"1 hour",hours_12:"12 hours",hours_6:"6 hours",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"Off",seconds_10:"10 seconds",seconds_30:"30 seconds",weeks_1:"1 week"},metrics:{event:"Event",resolution:"Resolution",throughput:"Throughput",timeframe:"Timeframe",toggle_legend:"Toggle legend"},queues:{created:"Created",created_at:"Created at",enqueue_jobs:"Enqueue jobs",enqueue_torrent_processing_batch:"Enqueue Torrent Processing Batch",failed:"Failed",jobs_enqueued:"Jobs enqueued",latency:"Latency",payload:"Payload",pending:"Pending",priority:"Priority",process_orphaned_torrents_only:"Process orphaned torrents only",processed:"Processed",purge_jobs:"Purge jobs",purge_queue_jobs:"Purge queue jobs",queue:"Queue",queue_purged:"Queue purged",queues:"Queues",ran_at:"Ran at",retry:"Retry",total_counts_by_status:"Total counts by status"}},facets:{content_type:"Content Type",file_type:"File Type",genre:"Genre",language:"Language",queue:"Queue",status:"Status",torrent_source:"Torrent Source",torrent_tag:"Torrent Tag",video_resolution:"Video Resolution",video_source:"Video Source"},file_types:{archive:"Archive",audio:"Audio",data:"Data",document:"Document",image:"Image",software:"Software",subtitles:"Subtitles",unknown:"Unknown",video:"Video"},general:{all:"All",dismiss:"Dismiss",error:"Error",none:"None",page_not_found:"Page not found",refresh:"Refresh",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Check failed with error",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Dismiss",error:"Error",status:"Status",statuses:{degraded:"Degraded",down:"Down",error:"Error",inactive:"Inactive",started:"Started",unknown:"Pending",up:"Up"},summary:"Health summary",worker:"Worker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Queue server"}},languages:{af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bs:"Bosnian",ca:"Catalan",ce:"Chechen",co:"Corsican",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",hy:"Armenian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",ms:"Malay",mt:"Maltese",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sa:"Sanskrit",sk:"Slovak",sl:"Slovenian",sm:"Samoan",so:"Somali",sr:"Serbian",sv:"Swedish",ta:"Tamil",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",yi:"Yiddish",zh:"Chinese",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet on {{service}}",change_theme:"Change theme",external_links:"External links",sponsor:"Sponsor",support_bitmagnet:"Support bitmagnet",translate:"Translate"},paginator:{first_page:"First page",items_per_page:"Items per page",last_page:"Last page",next_page:"Next page",page_x:"Page {{x}}",previous_page:"Previous page",x_to_y:"{{x}} to {{y}}",x_to_y_of_z:"{{x}} to {{y}} of {{z}}"},routes:{admin:"Admin",dashboard:"Dashboard",home:"Home",jobs:"Jobs",queues:"Queues",torrents:"Torrents",visualize:"Visualize"},torrents:{classification:"Classification",clear_search:"Clear Search",copy:"Copy",copy_to_clipboard:"Copy to clipboard",delete:"Delete",delete_action_cannot_be_undone:"This action cannot be undone",delete_are_you_sure:"Are you sure you want to delete this torrent?",deselect_all:"Deselect All",edit_tags:"Edit tags",episodes:"Episodes",external_links:"External links",file_index:"File index",file_path:"File path",file_size:"File size",file_type:"File type",files:"Files",files_count_n:"{{count}} files",files_no_info:"No files information available",files_single:"Single file",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Languages",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet links",new_tag:"New tag",order_by:"Order by",order_direction_toggle:"Toggle direction",ordering:{files_count:"Files count",info_hash:"Info hash",leechers:"Leechers",name:"Name",published_at:"Published at",relevance:"Relevance",seeders:"Seeders",size:"Size",updated_at:"Updated at"},original_release_date:"Original release date",permalink:"Permalink",poster:"Poster",published:"Published",rating:"Rating",refresh:"Refresh results",reprocess:{force_rematch:"Force rematch of already matched content",match_content_by_external_api_search:"Match content by external API search",match_content_by_local_search:"Match content by local search",reprocess:"Reprocess"},s_l:"S / L",search:"Search",seeders:"Seeders",select_all:"Select All",sendto:"Send to",showing_x_of_y_files:"Showing {{x}} of {{y}} files",size:"Size",source:"Torrent Source",summary:"Summary",tags:{delete:"Delete tags",delete_tip:"Remove tags from the selected torrents",placeholder:"Tag...",put:"Put tags",put_tip:"Add tags to the selected torrents",set:"Set tags",set_tip:"Replace tags of the selected torrents"},title:"Title",toggle_drawer:"Toggle Drawer",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"bitmagnet version {{version}}",unknown:"unknown"}};var xt={content_types:{plural:{all:"Todos",audiobook:"Audiolibros",comic:"C\xF3mics",ebook:"E-Libros",game:"Juegos",movie:"Pel\xEDculas",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolibro",comic:"C\xF3mic",ebook:"E-Libro",game:"Juego",movie:"Pel\xEDcula",music:"M\xFAsica",null:"Desconocido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Creado",failed:"Fallido",processed:"Procesado",updated:"Actualizado"},interval:{all:"Todos",days:"D\xEDas",days_1:"1 d\xEDa",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Apagado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resoluci\xF3n",throughput:"Rendimiento",timeframe:"Periodo de tiempo",toggle_legend:"Alternar leyenda"},queues:{created:"Creado",created_at:"Creado en",enqueue_jobs:"Encolar trabajos",enqueue_torrent_processing_batch:"Encolar lote de procesamiento de torrents",failed:"Fallido",jobs_enqueued:"Trabajos encolados",latency:"Latencia",payload:"Carga \xFAtil",pending:"Pendiente",priority:"Prioridad",process_orphaned_torrents_only:"Procesar solo torrents hu\xE9rfanos",processed:"Procesado",purge_jobs:"Purgar trabajos",purge_queue_jobs:"Purgar trabajos de la cola",queue:"Cola",queue_purged:"Cola purgada",queues:"Colas",ran_at:"Ejecutado en",retry:"Reintentar",total_counts_by_status:"Recuento total por estado"}},facets:{content_type:"Tipo de contenido",file_type:"Tipo de archivo",genre:"G\xE9nero",language:"Idioma",queue:"Cola",status:"Estado",torrent_source:"Fuente del torrent",torrent_tag:"Etiqueta del torrent",video_resolution:"Resoluci\xF3n de video",video_source:"Fuente de video"},file_types:{archive:"Archivo",audio:"Audio",data:"Datos",document:"Documento",image:"Imagen",software:"Software",subtitles:"Subt\xEDtulos",unknown:"Desconocido",video:"Video"},general:{all:"Todos",dismiss:"Descartar",error:"Error",none:"Ninguno",page_not_found:"P\xE1gina no encontrada",refresh:"Actualizar",status:"Estado"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"La verificaci\xF3n fall\xF3 con error",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Descartar",error:"Error",status:"Estado",statuses:{degraded:"Degradado",down:"Ca\xEDdo",error:"Error",inactive:"Inactivo",started:"Iniciado",unknown:"Pendiente",up:"Activo"},summary:"Resumen de salud",worker:"Trabajador",workers:{dht_crawler:"Rastreador DHT",http_server:"Servidor HTTP",queue_server:"Servidor de colas"}},languages:{af:"Afrik\xE1ans",ar:"\xC1rabe",az:"Azerbaiyano",be:"Bielorruso",bg:"B\xFAlgaro",bs:"Bosnio",ca:"Catal\xE1n",ce:"Checheno",co:"Corso",cs:"Checo",cy:"Gal\xE9s",da:"Dan\xE9s",de:"Alem\xE1n",el:"Griego",en:"Ingl\xE9s",es:"Espa\xF1ol",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finland\xE9s",fr:"Franc\xE9s",he:"Hebreo",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Armenio",id:"Indonesio",is:"Island\xE9s",it:"Italiano",ja:"Japon\xE9s",ka:"Georgiano",ko:"Coreano",ku:"Kurdo",lt:"Lituano",lv:"Let\xF3n",mi:"Maor\xED",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",ms:"Malayo",mt:"Malt\xE9s",nl:"Neerland\xE9s",no:"Noruego",pl:"Polaco",pt:"Portugu\xE9s",ro:"Rumano",ru:"Ruso",sa:"S\xE1nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somal\xED",sr:"Serbio",sv:"Sueco",ta:"Tamil",th:"Tailand\xE9s",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"Yidis",zh:"Chino",zu:"Zul\xFA"},layout:{bitmagnet_on_service:"bitmagnet en {{service}}",change_theme:"Cambiar tema",external_links:"Enlaces externos",sponsor:"Patrocinador",support_bitmagnet:"Apoyar bitmagnet",translate:"Traducir"},paginator:{first_page:"Primera p\xE1gina",items_per_page:"Elementos por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"P\xE1gina siguiente",page_x:"P\xE1gina {{x}}",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Admin",dashboard:"Tablero",home:"Inicio",jobs:"Trabajos",queues:"Colas",torrents:"Torrents",visualize:"Visualizar"},torrents:{classification:"Clasificaci\xF3n",clear_search:"Borrar b\xFAsqueda",copy:"Copiar",copy_to_clipboard:"Copiar al portapapeles",delete:"Eliminar",delete_action_cannot_be_undone:"Esta acci\xF3n no se puede deshacer",delete_are_you_sure:"\xBFEst\xE1 seguro de que desea eliminar este torrent?",deselect_all:"Deseleccionar todo",edit_tags:"Editar etiquetas",episodes:"Episodios",external_links:"Enlaces externos",file_index:"\xCDndice de archivos",file_path:"Ruta del archivo",file_size:"Tama\xF1o del archivo",file_type:"Tipo de archivo",files:"Archivos",files_count_n:"{{count}} archivos",files_no_info:"No hay informaci\xF3n de archivos disponible",files_single:"Archivo \xFAnico",genres:"G\xE9neros",info_hash:"Hash de informaci\xF3n",info_hashes:"Hashes de informaci\xF3n",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Enlaces Magnet",new_tag:"Nueva etiqueta",order_by:"Ordenar por",order_direction_toggle:"Alternar direcci\xF3n",ordering:{files_count:"Recuento de archivos",info_hash:"Hash de informaci\xF3n",leechers:"Leechers",name:"Nombre",published_at:"Publicado en",relevance:"Relevancia",seeders:"Seeders",size:"Tama\xF1o",updated_at:"Actualizado en"},original_release_date:"Fecha de lanzamiento original",permalink:"Enlace permanente",poster:"P\xF3ster",published:"Publicado",rating:"Calificaci\xF3n",refresh:"Actualizar resultados",reprocess:{force_rematch:"Forzar nueva coincidencia de contenido ya coincidente",match_content_by_external_api_search:"Coincidir contenido por b\xFAsqueda de API externa",match_content_by_local_search:"Coincidir contenido por b\xFAsqueda local",reprocess:"Volver a procesar"},s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Seleccionar todo",sendto:"Enviar a",showing_x_of_y_files:"Mostrando {{x}} de {{y}} archivos",size:"Tama\xF1o",source:"Fuente del torrent",summary:"Resumen",tags:{delete:"Eliminar etiquetas",delete_tip:"Eliminar etiquetas de los torrents seleccionados",placeholder:"Etiqueta...",put:"Poner etiquetas",put_tip:"A\xF1adir etiquetas a los torrents seleccionados",set:"Establecer etiquetas",set_tip:"Reemplazar etiquetas de los torrents seleccionados"},title:"T\xEDtulo",toggle_drawer:"Alternar caj\xF3n",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"versi\xF3n de bitmagnet {{version}}",unknown:"desconocido"}};var wt={content_types:{plural:{all:"Tous",audiobook:"Livres audio",comic:"Bandes dessin\xE9es",ebook:"E-livres",game:"Jeux",movie:"Films",music:"Musique",null:"Inconnu",software:"Logiciels",tv_show:"S\xE9ries TV",xxx:"XXX"},singular:{audiobook:"Livre audio",comic:"Bande dessin\xE9e",ebook:"E-livre",game:"Jeu",movie:"Film",music:"Musique",null:"Inconnu",software:"Logiciel",tv_show:"S\xE9rie TV",xxx:"XXX"}},dashboard:{event:{created:"Cr\xE9\xE9",failed:"\xC9chou\xE9",processed:"Trait\xE9",updated:"Mis \xE0 jour"},interval:{all:"Tous",days:"Jours",days_1:"1 jour",hours:"Heures",hours_1:"1 heure",hours_12:"12 heures",hours_6:"6 heures",minutes:"Minutes",minutes_1:"1 minute",minutes_15:"15 minutes",minutes_30:"30 minutes",minutes_5:"5 minutes",off:"D\xE9sactiv\xE9",seconds_10:"10 secondes",seconds_30:"30 secondes",weeks_1:"1 semaine"},metrics:{event:"\xC9v\xE9nement",resolution:"R\xE9solution",throughput:"D\xE9bit",timeframe:"P\xE9riode",toggle_legend:"Basculer la l\xE9gende"},queues:{created:"Cr\xE9\xE9",created_at:"Cr\xE9\xE9 \xE0",enqueue_jobs:"Mettre les taches en file d'attente",enqueue_torrent_processing_batch:"Mettre le traitement des torrents en file d'attente",failed:"\xC9chou\xE9",jobs_enqueued:"T\xE2ches en attente",latency:"Latence",payload:"Charge utile",pending:"En attente",priority:"Priorit\xE9",process_orphaned_torrents_only:"Traiter uniquement les torrents orphelins",processed:"Trait\xE9",purge_jobs:"Purger les t\xE2ches",purge_queue_jobs:"Purger les t\xE2ches de la file d'attente",queue:"File d'attente",queue_purged:"File d'attente purg\xE9e",queues:"Files d'attente",ran_at:"Ex\xE9cut\xE9 \xE0",retry:"R\xE9essayer",total_counts_by_status:"Totaux par statut"}},facets:{content_type:"Type de contenu",file_type:"Type de fichier",genre:"Genre",language:"Langue",queue:"File d'attente",status:"Statut",torrent_source:"Source du torrent",torrent_tag:"Tag du torrent",video_resolution:"R\xE9solution vid\xE9o",video_source:"Source vid\xE9o"},file_types:{archive:"Archive",audio:"Audio",data:"Donn\xE9es",document:"Document",image:"Image",software:"Logiciel",subtitles:"Sous-titres",unknown:"Inconnu",video:"Vid\xE9o"},general:{all:"Tous",dismiss:"Fermer",error:"Erreur",none:"Aucun",page_not_found:"Page non trouv\xE9e",refresh:"Rafra\xEEchir",status:"Statut"},health:{bitmagnet_is_status:"bitmagnet est {{status}}",check_failed_with_error:"V\xE9rification \xE9chou\xE9e avec erreur",component:"Composant",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fermer",error:"Erreur",status:"Statut",statuses:{degraded:"D\xE9grad\xE9",down:"Hors ligne",error:"Erreur",inactive:"Inactif",started:"D\xE9marr\xE9",unknown:"En attente",up:"En ligne"},summary:"R\xE9sum\xE9 de la sant\xE9",worker:"Travailleur",workers:{dht_crawler:"Explorateur DHT",http_server:"Serveur HTTP",queue_server:"Serveur de file d'attente"}},languages:{af:"Afrikaans",ar:"Arabe",az:"Azerba\xEFdjanais",be:"Bi\xE9lorusse",bg:"Bulgare",bs:"Bosniaque",ca:"Catalan",ce:"Tch\xE9tch\xE8ne",co:"Corse",cs:"Tch\xE8que",cy:"Gallois",da:"Danois",de:"Allemand",el:"Grec",en:"Anglais",es:"Espagnol",et:"Estonien",eu:"Basque",fa:"Persan",fi:"Finnois",fr:"Fran\xE7ais",he:"H\xE9breu",hi:"Hindi",hr:"Croate",hu:"Hongrois",hy:"Arm\xE9nien",id:"Indon\xE9sien",is:"Islandais",it:"Italien",ja:"Japonais",ka:"G\xE9orgien",ko:"Cor\xE9en",ku:"Kurde",lt:"Lituanien",lv:"Letton",mi:"Maori",mk:"Mac\xE9donien",ml:"Malayalam",mn:"Mongol",ms:"Malais",mt:"Maltais",nl:"N\xE9erlandais",no:"Norv\xE9gien",pl:"Polonais",pt:"Portugais",ro:"Roumain",ru:"Russe",sa:"Sanskrit",sk:"Slovaque",sl:"Slov\xE8ne",sm:"Samoan",so:"Somali",sr:"Serbe",sv:"Su\xE9dois",ta:"Tamoul",th:"Tha\xEF",tr:"Turc",uk:"Ukrainien",vi:"Vietnamien",yi:"Yiddish",zh:"Chinois",zu:"Zoulou"},layout:{bitmagnet_on_service:"bitmagnet sur {{service}}",change_theme:"Changer de th\xE8me",external_links:"Liens externes",sponsor:"Sponsor",support_bitmagnet:"Soutenir bitmagnet",translate:"Traduire"},paginator:{first_page:"Premi\xE8re page",items_per_page:"Articles par page",last_page:"Derni\xE8re page",next_page:"Page suivante",page_x:"Page {{x}}",previous_page:"Page pr\xE9c\xE9dente",x_to_y:"{{x}} \xE0 {{y}}",x_to_y_of_z:"{{x}} \xE0 {{y}} sur {{z}}"},routes:{admin:"Admin",dashboard:"Tableau de bord",home:"Accueil",jobs:"T\xE2ches",queues:"Files d'attente",torrents:"Torrents",visualize:"Visualiser"},torrents:{classification:"Classification",clear_search:"Effacer la recherche",copy:"Copier",copy_to_clipboard:"Copier dans le presse-papiers",delete:"Supprimer",delete_action_cannot_be_undone:"Cette action ne peut pas \xEAtre annul\xE9e",delete_are_you_sure:"\xCAtes-vous s\xFBr de vouloir supprimer ce torrent?",deselect_all:"Tout d\xE9s\xE9lectionner",edit_tags:"Modifier les tags",episodes:"\xC9pisodes",external_links:"Liens externes",file_index:"Index de fichier",file_path:"Chemin de fichier",file_size:"Taille de fichier",file_type:"Type de fichier",files:"Fichiers",files_count_n:"{{count}} fichiers",files_no_info:"Aucune information sur les fichiers disponible",files_single:"Fichier unique",genres:"Genres",info_hash:"Hash d'info",info_hashes:"Hashes d'info",languages:"Langues",leechers:"Leechers",magnet:"Magnet",magnet_links:"Liens Magnet",new_tag:"Nouveau tag",order_by:"Trier par",order_direction_toggle:"Inverser le sens",ordering:{files_count:"Nombre de fichiers",info_hash:"Hash d'info",leechers:"Leechers",name:"Nom",published_at:"Publi\xE9 \xE0",relevance:"Pertinence",seeders:"Seeders",size:"Taille",updated_at:"Mis \xE0 jour \xE0"},original_release_date:"Date de sortie originale",permalink:"Permalien",poster:"Affiche",published:"Publi\xE9",rating:"\xC9valuation",refresh:"Rafra\xEEchir les r\xE9sultats",reprocess:{force_rematch:"Forcer le rematch du contenu d\xE9j\xE0 appari\xE9",match_content_by_external_api_search:"Apparier le contenu par recherche API externe",match_content_by_local_search:"Apparier le contenu par recherche locale",reprocess:"Retraitement"},s_l:"S / L",search:"Rechercher",seeders:"Seeders",select_all:"Tout s\xE9lectionner",sendto:"Envoyer \xE0",showing_x_of_y_files:"Affichage de {{x}} sur {{y}} fichiers",size:"Taille",source:"Source du torrent",summary:"R\xE9sum\xE9",tags:{delete:"Supprimer les tags",delete_tip:"Supprimer les tags des torrents s\xE9lectionn\xE9s",placeholder:"Tag...",put:"Mettre des tags",put_tip:"Ajouter des tags aux torrents s\xE9lectionn\xE9s",set:"D\xE9finir des tags",set_tip:"Remplacer les tags des torrents s\xE9lectionn\xE9s"},title:"Titre",toggle_drawer:"Basculer le tiroir",votes_count_n:"{{count}} votes"},version:{bitmagnet_version:"version bitmagnet {{version}}",unknown:"inconnu"}};var Tt={content_types:{plural:{all:"\u0938\u092D\u0940",audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915\u094D\u0938",comic:"\u0915\u0949\u092E\u093F\u0915\u094D\u0938",ebook:"\u0908-\u092C\u0941\u0915\u094D\u0938",game:"\u0917\u0947\u092E\u094D\u0938",movie:"\u092B\u093C\u093F\u0932\u094D\u092E\u0947\u0902",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"},singular:{audiobook:"\u0911\u0921\u093F\u092F\u094B\u092C\u0941\u0915",comic:"\u0915\u0949\u092E\u093F\u0915",ebook:"\u0908-\u092C\u0941\u0915",game:"\u0917\u0947\u092E",movie:"\u092B\u093C\u093F\u0932\u094D\u092E",music:"\u0938\u0902\u0917\u0940\u0924",null:"\u0905\u091C\u094D\u091E\u093E\u0924",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",tv_show:"\u091F\u0940\u0935\u0940 \u0936\u094B",xxx:"XXX"}},dashboard:{event:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",failed:"\u0905\u0938\u092B\u0932",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",updated:"\u0905\u092A\u0921\u0947\u091F \u0915\u093F\u092F\u093E \u0917\u092F\u093E"},interval:{all:"\u0938\u092D\u0940",days:"\u0926\u093F\u0928",days_1:"1 \u0926\u093F\u0928",hours:"\u0918\u0902\u091F\u0947",hours_1:"1 \u0918\u0902\u091F\u093E",hours_12:"12 \u0918\u0902\u091F\u0947",hours_6:"6 \u0918\u0902\u091F\u0947",minutes:"\u092E\u093F\u0928\u091F",minutes_1:"1 \u092E\u093F\u0928\u091F",minutes_15:"15 \u092E\u093F\u0928\u091F",minutes_30:"30 \u092E\u093F\u0928\u091F",minutes_5:"5 \u092E\u093F\u0928\u091F",off:"\u092C\u0902\u0926",seconds_10:"10 \u0938\u0947\u0915\u0902\u0921",seconds_30:"30 \u0938\u0947\u0915\u0902\u0921",weeks_1:"1 \u0938\u092A\u094D\u0924\u093E\u0939"},metrics:{event:"\u0918\u091F\u0928\u093E",resolution:"\u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",throughput:"\u0925\u094D\u0930\u0942\u092A\u0941\u091F",timeframe:"\u0938\u092E\u092F \u0938\u0940\u092E\u093E",toggle_legend:"\u0932\u0940\u091C\u0947\u0902\u0921 \u091F\u0949\u0917\u0932 \u0915\u0930\u0947\u0902"},queues:{created:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E",created_at:"\u092C\u0928\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",enqueue_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",enqueue_torrent_processing_batch:"\u091F\u094B\u0930\u0947\u0902\u091F \u092A\u094D\u0930\u094B\u0938\u0947\u0938\u093F\u0902\u0917 \u092C\u0948\u091A \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u090F\u0902",failed:"\u0905\u0938\u092B\u0932",jobs_enqueued:"\u091C\u0949\u092C\u094D\u0938 \u0915\u0924\u093E\u0930 \u092E\u0947\u0902 \u0932\u0917\u093E\u0908 \u0917\u0908\u0902",latency:"\u0932\u0947\u091F\u0947\u0902\u0938\u0940",payload:"\u092A\u0947\u0932\u094B\u0921",pending:"\u092C\u0915\u093E\u092F\u093E",priority:"\u092A\u094D\u0930\u093E\u0925\u092E\u093F\u0915\u0924\u093E",process_orphaned_torrents_only:"\u0915\u0947\u0935\u0932 \u0905\u0928\u093E\u0925 \u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938 \u0915\u094B \u092A\u094D\u0930\u094B\u0938\u0947\u0938 \u0915\u0930\u0947\u0902",processed:"\u092A\u094D\u0930\u0938\u0902\u0938\u094D\u0915\u0943\u0924",purge_jobs:"\u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",purge_queue_jobs:"\u0915\u0924\u093E\u0930 \u0915\u0947 \u091C\u0949\u092C\u094D\u0938 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",queue:"\u0915\u0924\u093E\u0930",queue_purged:"\u0915\u0924\u093E\u0930 \u0915\u094B \u0938\u093E\u092B\u093C \u0915\u093F\u092F\u093E \u0917\u092F\u093E",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",ran_at:"\u091A\u0932\u093E\u092F\u093E \u0917\u092F\u093E \u0938\u092E\u092F",retry:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902",total_counts_by_status:"\u0938\u094D\u0925\u093F\u0924\u093F \u0926\u094D\u0935\u093E\u0930\u093E \u0915\u0941\u0932 \u0917\u0923\u0928\u093E"}},facets:{content_type:"\u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u092A\u094D\u0930\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",genre:"\u0936\u0948\u0932\u0940",language:"\u092D\u093E\u0937\u093E",queue:"\u0915\u0924\u093E\u0930",status:"\u0938\u094D\u0925\u093F\u0924\u093F",torrent_source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",torrent_tag:"\u091F\u094B\u0930\u0947\u0902\u091F \u091F\u0948\u0917",video_resolution:"\u0935\u0940\u0921\u093F\u092F\u094B \u0930\u093F\u091C\u093C\u0949\u0932\u094D\u092F\u0942\u0936\u0928",video_source:"\u0935\u0940\u0921\u093F\u092F\u094B \u0938\u094D\u0930\u094B\u0924"},file_types:{archive:"\u0906\u0930\u094D\u0915\u093E\u0907\u0935",audio:"\u0911\u0921\u093F\u092F\u094B",data:"\u0921\u0947\u091F\u093E",document:"\u0926\u0938\u094D\u0924\u093E\u0935\u0947\u091C\u093C",image:"\u091B\u0935\u093F",software:"\u0938\u0949\u092B\u093C\u094D\u091F\u0935\u0947\u092F\u0930",subtitles:"\u0909\u092A\u0936\u0940\u0930\u094D\u0937\u0915",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924",video:"\u0935\u0940\u0921\u093F\u092F\u094B"},general:{all:"\u0938\u092D\u0940",dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",none:"\u0915\u094B\u0908 \u0928\u0939\u0940\u0902",page_not_found:"\u092A\u0943\u0937\u094D\u0920 \u0928\u0939\u0940\u0902 \u092E\u093F\u0932\u093E",refresh:"\u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",status:"\u0938\u094D\u0925\u093F\u0924\u093F"},health:{bitmagnet_is_status:"bitmagnet {{status}} \u0939\u0948",check_failed_with_error:"\u0924\u094D\u0930\u0941\u091F\u093F \u0915\u0947 \u0938\u093E\u0925 \u091C\u093E\u0902\u091A \u0935\u093F\u092B\u0932",component:"\u0918\u091F\u0915",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0916\u093E\u0930\u093F\u091C \u0915\u0930\u0947\u0902",error:"\u0924\u094D\u0930\u0941\u091F\u093F",status:"\u0938\u094D\u0925\u093F\u0924\u093F",statuses:{degraded:"\u0915\u094D\u0937\u0940\u0923",down:"\u092C\u0902\u0926",error:"\u0924\u094D\u0930\u0941\u091F\u093F",inactive:"\u0928\u093F\u0937\u094D\u0915\u094D\u0930\u093F\u092F",started:"\u0936\u0941\u0930\u0942 \u0915\u093F\u092F\u093E \u0917\u092F\u093E",unknown:"\u0932\u0902\u092C\u093F\u0924",up:"\u091A\u093E\u0932\u0942"},summary:"\u0938\u094D\u0935\u093E\u0938\u094D\u0925\u094D\u092F \u0938\u093E\u0930\u093E\u0902\u0936",worker:"\u0915\u093E\u0930\u094D\u092F\u0915\u0930\u094D\u0924\u093E",workers:{dht_crawler:"DHT \u0915\u094D\u0930\u0949\u0932\u0930",http_server:"HTTP \u0938\u0930\u094D\u0935\u0930",queue_server:"\u0915\u0924\u093E\u0930 \u0938\u0930\u094D\u0935\u0930"}},languages:{af:"\u0905\u092B\u094D\u0930\u0940\u0915\u0940",ar:"\u0905\u0930\u092C\u0940",az:"\u0905\u091C\u093C\u0947\u0930\u0940",be:"\u092C\u0947\u0932\u093E\u0930\u0942\u0938\u0940",bg:"\u092C\u0941\u0932\u094D\u0917\u093E\u0930\u093F\u092F\u093E\u0908",bs:"\u092C\u094B\u0938\u094D\u0928\u093F\u092F\u093E\u0908",ca:"\u0915\u0948\u091F\u0932\u0928",ce:"\u091A\u0947\u091A\u0947\u0928",co:"\u0915\u094B\u0930\u094D\u0938\u093F\u0915\u0928",cs:"\u091A\u0947\u0915",cy:"\u0935\u0947\u0932\u094D\u0936",da:"\u0921\u0947\u0928\u093F\u0936",de:"\u091C\u0930\u094D\u092E\u0928",el:"\u0917\u094D\u0930\u0940\u0915",en:"\u0905\u0902\u0917\u094D\u0930\u0947\u091C\u0940",es:"\u0938\u094D\u092A\u0948\u0928\u093F\u0936",et:"\u090F\u0938\u094D\u0924\u094B\u0928\u093F\u092F\u093E\u0908",eu:"\u092C\u093E\u0938\u094D\u0915",fa:"\u092B\u093E\u0930\u0938\u0940",fi:"\u092B\u093C\u093F\u0928\u093F\u0936",fr:"\u092B\u094D\u0930\u0947\u0902\u091A",he:"\u0939\u093F\u092C\u094D\u0930\u0942",hi:"\u0939\u093F\u0902\u0926\u0940",hr:"\u0915\u094D\u0930\u094B\u090F\u0936\u093F\u092F\u093E\u0908",hu:"\u0939\u0902\u0917\u0947\u0930\u093F\u092F\u0928",hy:"\u0906\u0930\u094D\u092E\u0947\u0928\u093F\u092F\u093E\u0908",id:"\u0907\u0902\u0921\u094B\u0928\u0947\u0936\u093F\u092F\u093E\u0908",is:"\u0906\u0907\u0938\u0932\u0948\u0902\u0921\u093F\u0915",it:"\u0907\u0924\u093E\u0932\u0935\u0940",ja:"\u091C\u093E\u092A\u093E\u0928\u0940",ka:"\u091C\u0949\u0930\u094D\u091C\u093F\u092F\u093E\u0908",ko:"\u0915\u094B\u0930\u093F\u092F\u093E\u0908",ku:"\u0915\u0941\u0930\u094D\u0926\u0940",lt:"\u0932\u093F\u0925\u0941\u0906\u0928\u093F\u092F\u093E\u0908",lv:"\u0932\u093E\u0924\u0935\u093F\u092F\u093E\u0908",mi:"\u092E\u093E\u0913\u0930\u0940",mk:"\u092E\u0948\u0938\u093F\u0921\u094B\u0928\u093F\u092F\u093E\u0908",ml:"\u092E\u0932\u092F\u093E\u0932\u092E",mn:"\u092E\u0902\u0917\u094B\u0932\u093F\u092F\u093E\u0908",ms:"\u092E\u0932\u092F",mt:"\u092E\u093E\u0932\u094D\u091F\u0940\u091C\u093C",nl:"\u0921\u091A",no:"\u0928\u0949\u0930\u094D\u0935\u0947\u091C\u093F\u092F\u0928",pl:"\u092A\u094B\u0932\u093F\u0936",pt:"\u092A\u0941\u0930\u094D\u0924\u0917\u093E\u0932\u0940",ro:"\u0930\u094B\u092E\u093E\u0928\u093F\u092F\u093E\u0908",ru:"\u0930\u0942\u0938\u0940",sa:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924",sk:"\u0938\u094D\u0932\u094B\u0935\u093E\u0915",sl:"\u0938\u094D\u0932\u094B\u0935\u0947\u0928\u093F\u092F\u093E\u0908",sm:"\u0938\u093E\u092E\u094B\u0928",so:"\u0938\u094B\u092E\u093E\u0932\u0940",sr:"\u0938\u0930\u094D\u092C\u093F\u092F\u093E\u0908",sv:"\u0938\u094D\u0935\u0940\u0921\u093F\u0936",ta:"\u0924\u092E\u093F\u0932",th:"\u0925\u093E\u0908",tr:"\u0924\u0941\u0930\u094D\u0915\u0940",uk:"\u092F\u0942\u0915\u094D\u0930\u0947\u0928\u0940",vi:"\u0935\u093F\u092F\u0924\u0928\u093E\u092E\u0940",yi:"\u092F\u093F\u0926\u094D\u0926\u093F\u0936",zh:"\u091A\u0940\u0928\u0940",zu:"\u091C\u093C\u0941\u0932\u0941"},layout:{bitmagnet_on_service:"{{service}} \u092A\u0930 bitmagnet",change_theme:"\u0925\u0940\u092E \u092C\u0926\u0932\u0947\u0902",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",sponsor:"\u092A\u094D\u0930\u093E\u092F\u094B\u091C\u0915",support_bitmagnet:"bitmagnet \u0915\u094B \u0938\u092E\u0930\u094D\u0925\u0928 \u0926\u0947\u0902",translate:"\u0905\u0928\u0941\u0935\u093E\u0926 \u0915\u0930\u0947\u0902"},paginator:{first_page:"\u092A\u0939\u0932\u093E \u092A\u0943\u0937\u094D\u0920",items_per_page:"\u092A\u094D\u0930\u0924\u093F \u092A\u0943\u0937\u094D\u0920 \u0906\u0907\u091F\u092E",last_page:"\u0905\u0902\u0924\u093F\u092E \u092A\u0943\u0937\u094D\u0920",next_page:"\u0905\u0917\u0932\u093E \u092A\u0943\u0937\u094D\u0920",page_x:"\u092A\u0943\u0937\u094D\u0920 {{x}}",previous_page:"\u092A\u093F\u091B\u0932\u093E \u092A\u0943\u0937\u094D\u0920",x_to_y:"{{x}} \u0938\u0947 {{y}} \u0924\u0915",x_to_y_of_z:"{{x}} \u0938\u0947 {{y}} \u0924\u0915 {{z}} \u092E\u0947\u0902"},routes:{admin:"\u092A\u094D\u0930\u0936\u093E\u0938\u0915",dashboard:"\u0921\u0948\u0936\u092C\u094B\u0930\u094D\u0921",home:"\u0939\u094B\u092E",jobs:"\u0928\u094C\u0915\u0930\u093F\u092F\u093E\u0902",queues:"\u0915\u0924\u093E\u0930\u0947\u0902",torrents:"\u091F\u094B\u0930\u0947\u0902\u091F\u094D\u0938",visualize:"\u0926\u0943\u0936\u094D\u092F \u0915\u0930\u0947\u0902"},torrents:{classification:"\u0935\u0930\u094D\u0917\u0940\u0915\u0930\u0923",clear_search:"\u0916\u094B\u091C \u0938\u093E\u092B\u093C \u0915\u0930\u0947\u0902",copy:"\u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",copy_to_clipboard:"\u0915\u094D\u0932\u093F\u092A\u092C\u094B\u0930\u094D\u0921 \u092E\u0947\u0902 \u0915\u0949\u092A\u0940 \u0915\u0930\u0947\u0902",delete:"\u0939\u091F\u093E\u090F\u0902",delete_action_cannot_be_undone:"\u092F\u0939 \u0915\u094D\u0930\u093F\u092F\u093E \u092A\u0942\u0930\u094D\u0935\u0935\u0924 \u0928\u0939\u0940\u0902 \u0915\u0940 \u091C\u093E \u0938\u0915\u0924\u0940",delete_are_you_sure:"\u0915\u094D\u092F\u093E \u0906\u092A \u0935\u093E\u0915\u0908 \u0907\u0938 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u094B \u0939\u091F\u093E\u0928\u093E \u091A\u093E\u0939\u0924\u0947 \u0939\u0948\u0902?",deselect_all:"\u0938\u092D\u0940 \u0915\u094B \u0905\u091A\u092F\u0928\u093F\u0924 \u0915\u0930\u0947\u0902",edit_tags:"\u091F\u0948\u0917 \u0938\u0902\u092A\u093E\u0926\u093F\u0924 \u0915\u0930\u0947\u0902",episodes:"\u090F\u092A\u093F\u0938\u094B\u0921\u094D\u0938",external_links:"\u092C\u093E\u0939\u0930\u0940 \u0932\u093F\u0902\u0915",file_index:"\u092B\u093C\u093E\u0907\u0932 \u0938\u0942\u091A\u0915\u093E\u0902\u0915",file_path:"\u092B\u093C\u093E\u0907\u0932 \u092A\u0925",file_size:"\u092B\u093C\u093E\u0907\u0932 \u0906\u0915\u093E\u0930",file_type:"\u092B\u093C\u093E\u0907\u0932 \u092A\u094D\u0930\u0915\u093E\u0930",files:"\u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_count_n:"{{count}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902",files_no_info:"\u0915\u094B\u0908 \u092B\u093C\u093E\u0907\u0932 \u091C\u093E\u0928\u0915\u093E\u0930\u0940 \u0909\u092A\u0932\u092C\u094D\u0927 \u0928\u0939\u0940\u0902 \u0939\u0948",files_single:"\u090F\u0915\u0932 \u092B\u093C\u093E\u0907\u0932",genres:"\u0936\u0948\u0932\u093F\u092F\u093E\u0901",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",info_hashes:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936\u0947\u091C",languages:"\u092D\u093E\u0937\u093E\u090F\u0901",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",magnet:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F",magnet_links:"\u092E\u0948\u0917\u094D\u0928\u0947\u091F \u0932\u093F\u0902\u0915",new_tag:"\u0928\u092F\u093E \u091F\u0948\u0917",order_by:"\u0915\u094D\u0930\u092E\u092C\u0926\u094D\u0927 \u0915\u0930\u0947\u0902",order_direction_toggle:"\u0926\u093F\u0936\u093E \u092C\u0926\u0932\u0947\u0902",ordering:{files_count:"\u092B\u093C\u093E\u0907\u0932\u094B\u0902 \u0915\u0940 \u0938\u0902\u0916\u094D\u092F\u093E",info_hash:"\u0938\u0942\u091A\u0928\u093E \u0939\u0948\u0936",leechers:"\u0932\u0940\u091A\u0930\u094D\u0938",name:"\u0928\u093E\u092E",published_at:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924 \u0938\u092E\u092F",relevance:"\u092A\u094D\u0930\u093E\u0938\u0902\u0917\u093F\u0915\u0924\u093E",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",size:"\u0906\u0915\u093E\u0930",updated_at:"\u0905\u092A\u0921\u0947\u091F \u0938\u092E\u092F"},original_release_date:"\u092E\u0942\u0932 \u0930\u093F\u0932\u0940\u091C\u093C \u0924\u093F\u0925\u093F",permalink:"\u0938\u094D\u0925\u093E\u092F\u0940 \u0932\u093F\u0902\u0915",poster:"\u092A\u094B\u0938\u094D\u091F\u0930",published:"\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924",rating:"\u0930\u0947\u091F\u093F\u0902\u0917",refresh:"\u092A\u0930\u093F\u0923\u093E\u092E \u0924\u093E\u091C\u093C\u093E \u0915\u0930\u0947\u0902",reprocess:{force_rematch:"\u092A\u0939\u0932\u0947 \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0908 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u094B \u092B\u093F\u0930 \u0938\u0947 \u092E\u093F\u0932\u093E\u090F\u0902",match_content_by_external_api_search:"\u092C\u093E\u0939\u0930\u0940 API \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",match_content_by_local_search:"\u0938\u094D\u0925\u093E\u0928\u0940\u092F \u0916\u094B\u091C \u0938\u0947 \u0938\u093E\u092E\u0917\u094D\u0930\u0940 \u0915\u093E \u092E\u093F\u0932\u093E\u0928 \u0915\u0930\u0947\u0902",reprocess:"\u092A\u0941\u0928\u0903 \u092A\u094D\u0930\u0915\u094D\u0930\u093F\u092F\u093E \u0915\u0930\u0947\u0902"},s_l:"S / L",search:"\u0916\u094B\u091C",seeders:"\u0938\u0940\u0921\u0930\u094D\u0938",select_all:"\u0938\u092D\u0940 \u0915\u093E \u091A\u092F\u0928 \u0915\u0930\u0947\u0902",sendto:"\u092D\u0947\u091C\u0928\u093E",showing_x_of_y_files:"{{x}} \u092E\u0947\u0902 \u0938\u0947 {{y}} \u092B\u093C\u093E\u0907\u0932\u0947\u0902 \u0926\u093F\u0916\u093E \u0930\u0939\u093E \u0939\u0948",size:"\u0906\u0915\u093E\u0930",source:"\u091F\u094B\u0930\u0947\u0902\u091F \u0938\u094D\u0930\u094B\u0924",summary:"\u0938\u093E\u0930\u093E\u0902\u0936",tags:{delete:"\u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",delete_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0938\u0947 \u091F\u0948\u0917 \u0939\u091F\u093E\u090F\u0902",placeholder:"\u091F\u0948\u0917...",put:"\u091F\u0948\u0917 \u0921\u093E\u0932\u0947\u0902",put_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u092E\u0947\u0902 \u091F\u0948\u0917 \u091C\u094B\u0921\u093C\u0947\u0902",set:"\u091F\u0948\u0917 \u0938\u0947\u091F \u0915\u0930\u0947\u0902",set_tip:"\u091A\u092F\u0928\u093F\u0924 \u091F\u094B\u0930\u0947\u0902\u091F \u0915\u0947 \u091F\u0948\u0917 \u092C\u0926\u0932\u0947\u0902"},title:"\u0936\u0940\u0930\u094D\u0937\u0915",toggle_drawer:"\u0921\u094D\u0930\u0949\u0905\u0930 \u092C\u0926\u0932\u0947\u0902",votes_count_n:"{{count}} \u0935\u094B\u091F"},version:{bitmagnet_version:"bitmagnet \u0938\u0902\u0938\u094D\u0915\u0930\u0923 {{version}}",unknown:"\u0905\u091C\u094D\u091E\u093E\u0924"}};var St={content_types:{plural:{all:"\u3059\u3079\u3066",audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",game:"\u30B2\u30FC\u30E0",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"},singular:{audiobook:"\u30AA\u30FC\u30C7\u30A3\u30AA\u30D6\u30C3\u30AF",comic:"\u30B3\u30DF\u30C3\u30AF",ebook:"\u96FB\u5B50\u66F8\u7C4D",game:"\u30B2\u30FC\u30E0",movie:"\u6620\u753B",music:"\u97F3\u697D",null:"\u4E0D\u660E",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",tv_show:"\u30C6\u30EC\u30D3\u756A\u7D44",xxx:"\u30DD\u30EB\u30CE"}},dashboard:{event:{created:"\u4F5C\u6210\u6E08\u307F",failed:"\u5931\u6557",processed:"\u51E6\u7406\u6E08\u307F",updated:"\u66F4\u65B0\u6E08\u307F"},interval:{all:"\u3059\u3079\u3066",days:"\u65E5",days_1:"1\u65E5",hours:"\u6642\u9593",hours_1:"1\u6642\u9593",hours_12:"12\u6642\u9593",hours_6:"6\u6642\u9593",minutes:"\u5206",minutes_1:"1\u5206",minutes_15:"15\u5206",minutes_30:"30\u5206",minutes_5:"5\u5206",off:"\u30AA\u30D5",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u9031\u9593"},metrics:{event:"\u30A4\u30D9\u30F3\u30C8",resolution:"\u89E3\u50CF\u5EA6",throughput:"\u30B9\u30EB\u30FC\u30D7\u30C3\u30C8",timeframe:"\u671F\u9593",toggle_legend:"\u51E1\u4F8B\u3092\u5207\u308A\u66FF\u3048"},queues:{created:"\u4F5C\u6210\u6E08\u307F",created_at:"\u4F5C\u6210\u65E5\u6642",enqueue_jobs:"\u30B8\u30E7\u30D6\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",enqueue_torrent_processing_batch:"\u30C8\u30EC\u30F3\u30C8\u51E6\u7406\u30D0\u30C3\u30C1\u3092\u30AD\u30E5\u30FC\u306B\u5165\u308C\u308B",failed:"\u5931\u6557",jobs_enqueued:"\u30AD\u30E5\u30FC\u306B\u8FFD\u52A0\u3055\u308C\u305F\u30B8\u30E7\u30D6",latency:"\u30EC\u30A4\u30C6\u30F3\u30B7",payload:"\u30DA\u30A4\u30ED\u30FC\u30C9",pending:"\u4FDD\u7559\u4E2D",priority:"\u512A\u5148\u9806\u4F4D",process_orphaned_torrents_only:"\u5B64\u7ACB\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u307F\u51E6\u7406\u3059\u308B",processed:"\u51E6\u7406\u6E08\u307F",purge_jobs:"\u30B8\u30E7\u30D6\u3092\u524A\u9664",purge_queue_jobs:"\u30AD\u30E5\u30FC\u5185\u306E\u30B8\u30E7\u30D6\u3092\u524A\u9664",queue:"\u30AD\u30E5\u30FC",queue_purged:"\u30AD\u30E5\u30FC\u304C\u30AF\u30EA\u30A2\u3055\u308C\u307E\u3057\u305F",queues:"\u30AD\u30E5\u30FC",ran_at:"\u5B9F\u884C\u6642\u523B",retry:"\u518D\u8A66\u884C",total_counts_by_status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3054\u3068\u306E\u7DCF\u6570"}},facets:{content_type:"\u30B3\u30F3\u30C6\u30F3\u30C4\u30BF\u30A4\u30D7",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",genre:"\u30B8\u30E3\u30F3\u30EB",language:"\u8A00\u8A9E",queue:"\u30AD\u30E5\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",torrent_source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",torrent_tag:"\u30C8\u30EC\u30F3\u30C8\u30BF\u30B0",video_resolution:"\u30D3\u30C7\u30AA\u89E3\u50CF\u5EA6",video_source:"\u30D3\u30C7\u30AA\u30BD\u30FC\u30B9"},file_types:{archive:"\u30A2\u30FC\u30AB\u30A4\u30D6",audio:"\u30AA\u30FC\u30C7\u30A3\u30AA",data:"\u30C7\u30FC\u30BF",document:"\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8",image:"\u753B\u50CF",software:"\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2",subtitles:"\u5B57\u5E55",unknown:"\u4E0D\u660E",video:"\u30D3\u30C7\u30AA"},general:{all:"\u3059\u3079\u3066",dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",none:"\u306A\u3057",page_not_found:"\u30DA\u30FC\u30B8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",refresh:"\u66F4\u65B0",status:"\u30B9\u30C6\u30FC\u30BF\u30B9"},health:{bitmagnet_is_status:"bitmagnet\u306F{{status}}\u3067\u3059",check_failed_with_error:"\u30A8\u30E9\u30FC\u3067\u30C1\u30A7\u30C3\u30AF\u306B\u5931\u6557\u3057\u307E\u3057\u305F",component:"\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u9589\u3058\u308B",error:"\u30A8\u30E9\u30FC",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",statuses:{degraded:"\u4F4E\u4E0B",down:"\u505C\u6B62",error:"\u30A8\u30E9\u30FC",inactive:"\u975E\u30A2\u30AF\u30C6\u30A3\u30D6",started:"\u958B\u59CB",unknown:"\u4FDD\u7559\u4E2D",up:"\u7A3C\u50CD\u4E2D"},summary:"\u5065\u5EB7\u72B6\u614B\u306E\u6982\u8981",worker:"\u30EF\u30FC\u30AB\u30FC",workers:{dht_crawler:"DHT\u30AF\u30ED\u30FC\u30E9\u30FC",http_server:"HTTP\u30B5\u30FC\u30D0\u30FC",queue_server:"\u30AD\u30E5\u30FC\u30B5\u30FC\u30D0\u30FC"}},languages:{af:"\u30A2\u30D5\u30EA\u30AB\u30FC\u30F3\u30B9\u8A9E",ar:"\u30A2\u30E9\u30D3\u30A2\u8A9E",az:"\u30A2\u30BC\u30EB\u30D0\u30A4\u30B8\u30E3\u30F3\u8A9E",be:"\u30D9\u30E9\u30EB\u30FC\u30B7\u8A9E",bg:"\u30D6\u30EB\u30AC\u30EA\u30A2\u8A9E",bs:"\u30DC\u30B9\u30CB\u30A2\u8A9E",ca:"\u30AB\u30BF\u30EB\u30FC\u30CB\u30E3\u8A9E",ce:"\u30C1\u30A7\u30C1\u30A7\u30F3\u8A9E",co:"\u30B3\u30EB\u30B7\u30AB\u8A9E",cs:"\u30C1\u30A7\u30B3\u8A9E",cy:"\u30A6\u30A7\u30FC\u30EB\u30BA\u8A9E",da:"\u30C7\u30F3\u30DE\u30FC\u30AF\u8A9E",de:"\u30C9\u30A4\u30C4\u8A9E",el:"\u30AE\u30EA\u30B7\u30E3\u8A9E",en:"\u82F1\u8A9E",es:"\u30B9\u30DA\u30A4\u30F3\u8A9E",et:"\u30A8\u30B9\u30C8\u30CB\u30A2\u8A9E",eu:"\u30D0\u30B9\u30AF\u8A9E",fa:"\u30DA\u30EB\u30B7\u30E3\u8A9E",fi:"\u30D5\u30A3\u30F3\u30E9\u30F3\u30C9\u8A9E",fr:"\u30D5\u30E9\u30F3\u30B9\u8A9E",he:"\u30D8\u30D6\u30E9\u30A4\u8A9E",hi:"\u30D2\u30F3\u30C7\u30A3\u30FC\u8A9E",hr:"\u30AF\u30ED\u30A2\u30C1\u30A2\u8A9E",hu:"\u30CF\u30F3\u30AC\u30EA\u30FC\u8A9E",hy:"\u30A2\u30EB\u30E1\u30CB\u30A2\u8A9E",id:"\u30A4\u30F3\u30C9\u30CD\u30B7\u30A2\u8A9E",is:"\u30A2\u30A4\u30B9\u30E9\u30F3\u30C9\u8A9E",it:"\u30A4\u30BF\u30EA\u30A2\u8A9E",ja:"\u65E5\u672C\u8A9E",ka:"\u30B0\u30EB\u30B8\u30A2\u8A9E",ko:"\u97D3\u56FD\u8A9E",ku:"\u30AF\u30EB\u30C9\u8A9E",lt:"\u30EA\u30C8\u30A2\u30CB\u30A2\u8A9E",lv:"\u30E9\u30C8\u30D3\u30A2\u8A9E",mi:"\u30DE\u30AA\u30EA\u8A9E",mk:"\u30DE\u30B1\u30C9\u30CB\u30A2\u8A9E",ml:"\u30DE\u30E9\u30E4\u30FC\u30E9\u30E0\u8A9E",mn:"\u30E2\u30F3\u30B4\u30EB\u8A9E",ms:"\u30DE\u30EC\u30FC\u8A9E",mt:"\u30DE\u30EB\u30BF\u8A9E",nl:"\u30AA\u30E9\u30F3\u30C0\u8A9E",no:"\u30CE\u30EB\u30A6\u30A7\u30FC\u8A9E",pl:"\u30DD\u30FC\u30E9\u30F3\u30C9\u8A9E",pt:"\u30DD\u30EB\u30C8\u30AC\u30EB\u8A9E",ro:"\u30EB\u30FC\u30DE\u30CB\u30A2\u8A9E",ru:"\u30ED\u30B7\u30A2\u8A9E",sa:"\u30B5\u30F3\u30B9\u30AF\u30EA\u30C3\u30C8",sk:"\u30B9\u30ED\u30D0\u30AD\u30A2\u8A9E",sl:"\u30B9\u30ED\u30D9\u30CB\u30A2\u8A9E",sm:"\u30B5\u30E2\u30A2\u8A9E",so:"\u30BD\u30DE\u30EA\u8A9E",sr:"\u30BB\u30EB\u30D3\u30A2\u8A9E",sv:"\u30B9\u30A6\u30A7\u30FC\u30C7\u30F3\u8A9E",ta:"\u30BF\u30DF\u30EB\u8A9E",th:"\u30BF\u30A4\u8A9E",tr:"\u30C8\u30EB\u30B3\u8A9E",uk:"\u30A6\u30AF\u30E9\u30A4\u30CA\u8A9E",vi:"\u30D9\u30C8\u30CA\u30E0\u8A9E",yi:"\u30A4\u30C7\u30A3\u30C3\u30B7\u30E5\u8A9E",zh:"\u4E2D\u56FD\u8A9E",zu:"\u30BA\u30FC\u30EB\u30FC\u8A9E"},layout:{bitmagnet_on_service:"{{service}}\u306Ebitmagnet",change_theme:"\u30C6\u30FC\u30DE\u3092\u5909\u66F4",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",sponsor:"\u30B9\u30DD\u30F3\u30B5\u30FC",support_bitmagnet:"bitmagnet\u3092\u30B5\u30DD\u30FC\u30C8",translate:"\u7FFB\u8A33\u3059\u308B"},paginator:{first_page:"\u6700\u521D\u306E\u30DA\u30FC\u30B8",items_per_page:"\u30DA\u30FC\u30B8\u3042\u305F\u308A\u306E\u9805\u76EE\u6570",last_page:"\u6700\u5F8C\u306E\u30DA\u30FC\u30B8",next_page:"\u6B21\u306E\u30DA\u30FC\u30B8",page_x:"\u30DA\u30FC\u30B8 {{x}}",previous_page:"\u524D\u306E\u30DA\u30FC\u30B8",x_to_y:"{{x}} \u304B\u3089 {{y}} \u307E\u3067",x_to_y_of_z:"{{x}} \u304B\u3089 {{y}} \u307E\u3067\u306E {{z}}"},routes:{admin:"\u7BA1\u7406\u8005",dashboard:"\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9",home:"\u30DB\u30FC\u30E0",jobs:"\u30B8\u30E7\u30D6",queues:"\u30AD\u30E5\u30FC",torrents:"\u30C8\u30EC\u30F3\u30C8",visualize:"\u53EF\u8996\u5316"},torrents:{classification:"\u5206\u985E",clear_search:"\u691C\u7D22\u3092\u30AF\u30EA\u30A2",copy:"\u30B3\u30D4\u30FC",copy_to_clipboard:"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC",delete:"\u524A\u9664",delete_action_cannot_be_undone:"\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093",delete_are_you_sure:"\u3053\u306E\u30C8\u30EC\u30F3\u30C8\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F",deselect_all:"\u3059\u3079\u3066\u306E\u9078\u629E\u3092\u89E3\u9664",edit_tags:"\u30BF\u30B0\u3092\u7DE8\u96C6",episodes:"\u30A8\u30D4\u30BD\u30FC\u30C9",external_links:"\u5916\u90E8\u30EA\u30F3\u30AF",file_index:"\u30D5\u30A1\u30A4\u30EB\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9",file_path:"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9",file_size:"\u30D5\u30A1\u30A4\u30EB\u30B5\u30A4\u30BA",file_type:"\u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7",files:"\u30D5\u30A1\u30A4\u30EB",files_count_n:"{{count}} \u4EF6\u306E\u30D5\u30A1\u30A4\u30EB",files_no_info:"\u30D5\u30A1\u30A4\u30EB\u60C5\u5831\u306F\u3042\u308A\u307E\u305B\u3093",files_single:"\u5358\u4E00\u30D5\u30A1\u30A4\u30EB",genres:"\u30B8\u30E3\u30F3\u30EB",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",info_hashes:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",languages:"\u8A00\u8A9E",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",magnet:"\u30DE\u30B0\u30CD\u30C3\u30C8",magnet_links:"\u30DE\u30B0\u30CD\u30C3\u30C8\u30EA\u30F3\u30AF",new_tag:"\u65B0\u3057\u3044\u30BF\u30B0",order_by:"\u4E26\u3073\u66FF\u3048",order_direction_toggle:"\u4E26\u3073\u9806\u3092\u5207\u308A\u66FF\u3048",ordering:{files_count:"\u30D5\u30A1\u30A4\u30EB\u6570",info_hash:"\u60C5\u5831\u30CF\u30C3\u30B7\u30E5",leechers:"\u30EA\u30FC\u30C1\u30E3\u30FC",name:"\u540D\u524D",published_at:"\u516C\u958B\u65E5\u6642",relevance:"\u95A2\u9023\u6027",seeders:"\u30B7\u30FC\u30C0\u30FC",size:"\u30B5\u30A4\u30BA",updated_at:"\u66F4\u65B0\u65E5\u6642"},original_release_date:"\u30AA\u30EA\u30B8\u30CA\u30EB\u306E\u767A\u58F2\u65E5",permalink:"\u30D1\u30FC\u30DE\u30EA\u30F3\u30AF",poster:"\u30DD\u30B9\u30BF\u30FC",published:"\u516C\u958B\u6E08\u307F",rating:"\u8A55\u4FA1",refresh:"\u7D50\u679C\u3092\u66F4\u65B0",reprocess:{force_rematch:"\u65E2\u306B\u4E00\u81F4\u3057\u305F\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u5F37\u5236\u7684\u306B\u518D\u4E00\u81F4\u3055\u305B\u308B",match_content_by_external_api_search:"\u5916\u90E8API\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",match_content_by_local_search:"\u30ED\u30FC\u30AB\u30EB\u691C\u7D22\u3067\u30B3\u30F3\u30C6\u30F3\u30C4\u3092\u4E00\u81F4\u3055\u305B\u308B",reprocess:"\u518D\u51E6\u7406"},s_l:"S / L",search:"\u691C\u7D22",seeders:"\u30B7\u30FC\u30C0\u30FC",select_all:"\u3059\u3079\u3066\u9078\u629E",sendto:"\u9001\u4FE1\u5148",showing_x_of_y_files:"{{x}} \u4EF6\u4E2D {{y}} \u4EF6\u8868\u793A",size:"\u30B5\u30A4\u30BA",source:"\u30C8\u30EC\u30F3\u30C8\u30BD\u30FC\u30B9",summary:"\u6982\u8981",tags:{delete:"\u30BF\u30B0\u3092\u524A\u9664",delete_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u304B\u3089\u30BF\u30B0\u3092\u524A\u9664",placeholder:"\u30BF\u30B0...",put:"\u30BF\u30B0\u3092\u4ED8\u3051\u308B",put_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306B\u30BF\u30B0\u3092\u8FFD\u52A0\u3059\u308B",set:"\u30BF\u30B0\u3092\u8A2D\u5B9A\u3059\u308B",set_tip:"\u9078\u629E\u3057\u305F\u30C8\u30EC\u30F3\u30C8\u306E\u30BF\u30B0\u3092\u7F6E\u304D\u63DB\u3048\u308B"},title:"\u30BF\u30A4\u30C8\u30EB",toggle_drawer:"\u5F15\u304D\u51FA\u3057\u3092\u5207\u308A\u66FF\u3048",votes_count_n:"{{count}} \u7968"},version:{bitmagnet_version:"bitmagnet\u30D0\u30FC\u30B8\u30E7\u30F3 {{version}}",unknown:"\u4E0D\u660E"}};var Ct={content_types:{plural:{all:"Alle",audiobook:"Audioboeken",comic:"Strips",ebook:"E-Boeken",game:"Spellen",movie:"Films",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma's",xxx:"XXX"},singular:{audiobook:"Audioboek",comic:"Strip",ebook:"E-Book",game:"Spel",movie:"Film",music:"Muziek",null:"Onbekend",software:"Software",tv_show:"Tv-programma",xxx:"XXX"}},dashboard:{event:{created:"Gemaakt",failed:"Mislukt",processed:"Verwerkt",updated:"Bijgewerkt"},interval:{all:"Alle",days:"Dagen",days_1:"1 dag",hours:"Uren",hours_1:"1 uur",hours_12:"12 uur",hours_6:"6 uur",minutes:"Minuten",minutes_1:"1 minuut",minutes_15:"15 minuten",minutes_30:"30 minuten",minutes_5:"5 minuten",off:"Uit",seconds_10:"10 seconden",seconds_30:"30 seconden",weeks_1:"1 week"},metrics:{event:"Gebeurtenis",resolution:"Resolutie",throughput:"Doorvoer",timeframe:"Tijdsperiode",toggle_legend:"Legenda in-/uitschakelen"},queues:{created:"Gemaakt",created_at:"Gemaakt op",enqueue_jobs:"Voeg taken toe aan wachtrij",enqueue_torrent_processing_batch:"Torrentverwerkingsbatch toevoegen",failed:"Mislukt",jobs_enqueued:"Taken in wachtrij gezet",latency:"Latentie",payload:"Inhoud",pending:"In afwachting",priority:"Prioriteit",process_orphaned_torrents_only:"Verwerk alleen verweesde torrents",processed:"Verwerkt",purge_jobs:"Wis taken",purge_queue_jobs:"Wis wachtrijtaken",queue:"Wachtrij",queue_purged:"Wachtrij gewist",queues:"Wachtrijen",ran_at:"Uitgevoerd op",retry:"Opnieuw proberen",total_counts_by_status:"Totaal aantal per status"}},facets:{content_type:"Inhoudstype",file_type:"Bestandstype",genre:"Genre",language:"Taal",queue:"Wachtrij",status:"Status",torrent_source:"Torrentbron",torrent_tag:"Torrenttag",video_resolution:"Videoresolutie",video_source:"Videobron"},file_types:{archive:"Archief",audio:"Audio",data:"Data",document:"Document",image:"Afbeelding",software:"Software",subtitles:"Ondertitels",unknown:"Onbekend",video:"Video"},general:{all:"Alle",dismiss:"Sluiten",error:"Fout",none:"Geen",page_not_found:"Pagina niet gevonden",refresh:"Verversen",status:"Status"},health:{bitmagnet_is_status:"bitmagnet is {{status}}",check_failed_with_error:"Controle mislukt met foutmelding",component:"Component",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Sluiten",error:"Fout",status:"Status",statuses:{degraded:"Verlaagd",down:"Niet beschikbaar",error:"Fout",inactive:"Inactief",started:"Gestart",unknown:"Onbekend",up:"Beschikbaar"},summary:"Gezondheidsrapport",worker:"Werker",workers:{dht_crawler:"DHT crawler",http_server:"HTTP server",queue_server:"Wachtrijserver"}},languages:{af:"Afrikaans",ar:"Arabisch",az:"Azerbeidzjaans",be:"Wit-Russisch",bg:"Bulgaars",bs:"Bosnisch",ca:"Catalaans",ce:"Tsjetsjeens",co:"Corsicaans",cs:"Tsjechisch",cy:"Welsh",da:"Deens",de:"Duits",el:"Grieks",en:"Engels",es:"Spaans",et:"Ests",eu:"Baskisch",fa:"Perzisch",fi:"Fins",fr:"Frans",he:"Hebreeuws",hi:"Hindi",hr:"Kroatisch",hu:"Hongaars",hy:"Armeens",id:"Indonesisch",is:"IJslands",it:"Italiaans",ja:"Japans",ka:"Georgisch",ko:"Koreaans",ku:"Koerdisch",lt:"Litouws",lv:"Lets",mi:"Maori",mk:"Macedonisch",ml:"Malayalam",mn:"Mongools",ms:"Maleis",mt:"Maltees",nl:"Nederlands",no:"Noors",pl:"Pools",pt:"Portugees",ro:"Roemeens",ru:"Russisch",sa:"Sanskriet",sk:"Slowaaks",sl:"Sloveens",sm:"Samoaans",so:"Somalisch",sr:"Servisch",sv:"Zweeds",ta:"Tamil",th:"Thais",tr:"Turks",uk:"Oekra\xEFens",vi:"Vietnamees",yi:"Jiddisch",zh:"Chinees",zu:"Zoeloe"},layout:{bitmagnet_on_service:"bitmagnet op {{service}}",change_theme:"Wijzig thema",external_links:"Externe links",sponsor:"Sponsor",support_bitmagnet:"Ondersteun bitmagnet",translate:"Vertalen"},paginator:{first_page:"Eerste pagina",items_per_page:"Items per pagina",last_page:"Laatste pagina",next_page:"Volgende pagina",page_x:"Pagina {{x}}",previous_page:"Vorige pagina",x_to_y:"{{x}} tot {{y}}",x_to_y_of_z:"{{x}} tot {{y}} van {{z}}"},routes:{admin:"Beheerder",dashboard:"Dashboard",home:"Home",jobs:"Taken",queues:"Wachtrijen",torrents:"Torrents",visualize:"Visualiseren"},torrents:{classification:"Classificatie",clear_search:"Zoekopdracht wissen",copy:"Kopi\xEBren",copy_to_clipboard:"Kopi\xEBren naar klembord",delete:"Verwijderen",delete_action_cannot_be_undone:"Deze actie kan niet ongedaan worden gemaakt",delete_are_you_sure:"Weet u zeker dat u deze torrent wilt verwijderen?",deselect_all:"Deselecteer alles",edit_tags:"Tags bewerken",episodes:"Afleveringen",external_links:"Externe links",file_index:"Bestandsindex",file_path:"Bestandspad",file_size:"Bestandsgrootte",file_type:"Bestandstype",files:"Bestanden",files_count_n:"{{count}} bestanden",files_no_info:"Geen informatie over bestanden beschikbaar",files_single:"Enkel bestand",genres:"Genres",info_hash:"Info hash",info_hashes:"Info hashes",languages:"Talen",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet-links",new_tag:"Nieuwe tag",order_by:"Sorteren op",order_direction_toggle:"Richting omkeren",ordering:{files_count:"Aantal bestanden",info_hash:"Info hash",leechers:"Leechers",name:"Naam",published_at:"Gepubliceerd op",relevance:"Relevantie",seeders:"Seeders",size:"Grootte",updated_at:"Bijgewerkt op"},original_release_date:"Oorspronkelijke releasedatum",permalink:"Permalink",poster:"Poster",published:"Gepubliceerd",rating:"Beoordeling",refresh:"Vernieuw resultaten",reprocess:{force_rematch:"Forceer nieuwe match van al gematchte inhoud",match_content_by_external_api_search:"Match inhoud via externe API-zoekopdracht",match_content_by_local_search:"Match inhoud via lokale zoekopdracht",reprocess:"Opnieuw verwerken"},s_l:"S / L",search:"Zoeken",seeders:"Seeders",select_all:"Alles selecteren",sendto:"Verzenden naar",showing_x_of_y_files:"{{x}} van {{y}} bestanden weergegeven",size:"Grootte",source:"Torrentbron",summary:"Samenvatting",tags:{delete:"Tags verwijderen",delete_tip:"Tags verwijderen van de geselecteerde torrents",placeholder:"Tag...",put:"Tags plaatsen",put_tip:"Tags toevoegen aan de geselecteerde torrents",set:"Tags instellen",set_tip:"Tags van de geselecteerde torrents vervangen"},title:"Titel",toggle_drawer:"Zijpaneel in-/uitschakelen",votes_count_n:"{{count}} stemmen"},version:{bitmagnet_version:"bitmagnet versie {{version}}",unknown:"onbekend"}};var Mt={content_types:{plural:{all:"Todos",audiobook:"Audiolivros",comic:"Quadrinhos",ebook:"E-books",game:"Jogos",movie:"Filmes",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programas de TV",xxx:"XXX"},singular:{audiobook:"Audiolivro",comic:"Quadrinho",ebook:"E-book",game:"Jogo",movie:"Filme",music:"M\xFAsica",null:"Desconhecido",software:"Software",tv_show:"Programa de TV",xxx:"XXX"}},dashboard:{event:{created:"Criado",failed:"Falhou",processed:"Processado",updated:"Atualizado"},interval:{all:"Todos",days:"Dias",days_1:"1 dia",hours:"Horas",hours_1:"1 hora",hours_12:"12 horas",hours_6:"6 horas",minutes:"Minutos",minutes_1:"1 minuto",minutes_15:"15 minutos",minutes_30:"30 minutos",minutes_5:"5 minutos",off:"Desligado",seconds_10:"10 segundos",seconds_30:"30 segundos",weeks_1:"1 semana"},metrics:{event:"Evento",resolution:"Resolu\xE7\xE3o",throughput:"Taxa de transfer\xEAncia",timeframe:"Intervalo de tempo",toggle_legend:"Alternar legenda"},queues:{created:"Criado",created_at:"Criado em",enqueue_jobs:"Enfileirar trabalhos",enqueue_torrent_processing_batch:"Enfileirar lote de processamento de torrents",failed:"Falhou",jobs_enqueued:"Trabalhos enfileirados",latency:"Lat\xEAncia",payload:"Carga \xFAtil",pending:"Pendente",priority:"Prioridade",process_orphaned_torrents_only:"Processar apenas torrents \xF3rf\xE3os",processed:"Processado",purge_jobs:"Limpar trabalhos",purge_queue_jobs:"Limpar trabalhos da fila",queue:"Fila",queue_purged:"Fila limpa",queues:"Filas",ran_at:"Executado em",retry:"Tentar novamente",total_counts_by_status:"Contagens totais por status"}},facets:{content_type:"Tipo de Conte\xFAdo",file_type:"Tipo de Arquivo",genre:"G\xEAnero",language:"Idioma",queue:"Fila",status:"Status",torrent_source:"Fonte do Torrent",torrent_tag:"Tag do Torrent",video_resolution:"Resolu\xE7\xE3o de V\xEDdeo",video_source:"Fonte de V\xEDdeo"},file_types:{archive:"Arquivo",audio:"\xC1udio",data:"Dados",document:"Documento",image:"Imagem",software:"Software",subtitles:"Legendas",unknown:"Desconhecido",video:"V\xEDdeo"},general:{all:"Todos",dismiss:"Fechar",error:"Erro",none:"Nenhum",page_not_found:"P\xE1gina n\xE3o encontrada",refresh:"Atualizar",status:"Status"},health:{bitmagnet_is_status:"bitmagnet est\xE1 {{status}}",check_failed_with_error:"Verifica\xE7\xE3o falhou com erro",component:"Componente",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Fechar",error:"Erro",status:"Status",statuses:{degraded:"Degradado",down:"Fora do ar",error:"Erro",inactive:"Inativo",started:"Iniciado",unknown:"Pendente",up:"Funcionando"},summary:"Resumo de Sa\xFAde",worker:"Trabalhador",workers:{dht_crawler:"Rastreamento DHT",http_server:"Servidor HTTP",queue_server:"Servidor de Fila"}},languages:{af:"Afric\xE2ner",ar:"\xC1rabe",az:"Azeri",be:"Bielorrusso",bg:"B\xFAlgaro",bs:"B\xF3snio",ca:"Catal\xE3o",ce:"Checheno",co:"Corso",cs:"Tcheco",cy:"Gal\xEAs",da:"Dinamarqu\xEAs",de:"Alem\xE3o",el:"Grego",en:"Ingl\xEAs",es:"Espanhol",et:"Estoniano",eu:"Basco",fa:"Persa",fi:"Finland\xEAs",fr:"Franc\xEAs",he:"Hebraico",hi:"Hindi",hr:"Croata",hu:"H\xFAngaro",hy:"Arm\xEAnio",id:"Indon\xE9sio",is:"Island\xEAs",it:"Italiano",ja:"Japon\xEAs",ka:"Georgiano",ko:"Coreano",ku:"Curdo",lt:"Lituano",lv:"Let\xE3o",mi:"Maori",mk:"Maced\xF4nio",ml:"Malaiala",mn:"Mongol",ms:"Malaio",mt:"Malt\xEAs",nl:"Holand\xEAs",no:"Noruegu\xEAs",pl:"Polon\xEAs",pt:"Portugu\xEAs",ro:"Romeno",ru:"Russo",sa:"S\xE2nscrito",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",so:"Somali",sr:"S\xE9rvio",sv:"Sueco",ta:"T\xE2mil",th:"Tailand\xEAs",tr:"Turco",uk:"Ucraniano",vi:"Vietnamita",yi:"I\xEDdiche",zh:"Chin\xEAs",zu:"Zulu"},layout:{bitmagnet_on_service:"bitmagnet em {{service}}",change_theme:"Alterar tema",external_links:"Links externos",sponsor:"Patrocinador",support_bitmagnet:"Apoiar bitmagnet",translate:"Traduzir"},paginator:{first_page:"Primeira p\xE1gina",items_per_page:"Itens por p\xE1gina",last_page:"\xDAltima p\xE1gina",next_page:"Pr\xF3xima p\xE1gina",page_x:"P\xE1gina {{x}}",previous_page:"P\xE1gina anterior",x_to_y:"{{x}} a {{y}}",x_to_y_of_z:"{{x}} a {{y}} de {{z}}"},routes:{admin:"Administra\xE7\xE3o",dashboard:"Painel",home:"In\xEDcio",jobs:"Tarefas",queues:"Filas",torrents:"Torrents",visualize:"Visualizar"},torrents:{classification:"Classifica\xE7\xE3o",clear_search:"Limpar Pesquisa",copy:"Copiar",copy_to_clipboard:"Copiar para a \xE1rea de transfer\xEAncia",delete:"Excluir",delete_action_cannot_be_undone:"Esta a\xE7\xE3o n\xE3o pode ser desfeita",delete_are_you_sure:"Tem certeza de que deseja excluir este torrent?",deselect_all:"Desmarcar todos",edit_tags:"Editar tags",episodes:"Epis\xF3dios",external_links:"Links externos",file_index:"\xCDndice de arquivo",file_path:"Caminho do arquivo",file_size:"Tamanho do arquivo",file_type:"Tipo de arquivo",files:"Arquivos",files_count_n:"{{count}} arquivos",files_no_info:"Sem informa\xE7\xF5es de arquivos dispon\xEDveis",files_single:"Arquivo \xFAnico",genres:"G\xEAneros",info_hash:"Hash de informa\xE7\xE3o",info_hashes:"Hashes de informa\xE7\xE3o",languages:"Idiomas",leechers:"Leechers",magnet:"Magnet",magnet_links:"Links magnet",new_tag:"Nova tag",order_by:"Ordenar por",order_direction_toggle:"Inverter dire\xE7\xE3o",ordering:{files_count:"Contagem de arquivos",info_hash:"Hash de informa\xE7\xE3o",leechers:"Leechers",name:"Nome",published_at:"Publicado em",relevance:"Relev\xE2ncia",seeders:"Seeders",size:"Tamanho",updated_at:"Atualizado em"},original_release_date:"Data de lan\xE7amento original",permalink:"Link permanente",poster:"P\xF4ster",published:"Publicado",rating:"Classifica\xE7\xE3o",refresh:"Atualizar resultados",reprocess:{force_rematch:"For\xE7ar nova correspond\xEAncia de conte\xFAdo j\xE1 correspondido",match_content_by_external_api_search:"Corresponder conte\xFAdo por pesquisa de API externa",match_content_by_local_search:"Corresponder conte\xFAdo por pesquisa local",reprocess:"Reprocessar"},s_l:"S / L",search:"Buscar",seeders:"Seeders",select_all:"Selecionar tudo",sendto:"Enviar para",showing_x_of_y_files:"Mostrando {{x}} de {{y}} arquivos",size:"Tamanho",source:"Fonte do torrent",summary:"Resumo",tags:{delete:"Excluir tags",delete_tip:"Remover tags dos torrents selecionados",placeholder:"Tag...",put:"Colocar tags",put_tip:"Adicionar tags aos torrents selecionados",set:"Definir tags",set_tip:"Substituir tags dos torrents selecionados"},title:"T\xEDtulo",toggle_drawer:"Alternar gaveta",votes_count_n:"{{count}} votos"},version:{bitmagnet_version:"Vers\xE3o do bitmagnet {{version}}",unknown:"desconhecido"}};var zt={content_types:{plural:{all:"\u0412\u0441\u0435",audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0438\u043A\u0441\u044B",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u044B\u0435 \u043A\u043D\u0438\u0433\u0438",game:"\u0418\u0433\u0440\u044B",movie:"\u0424\u0438\u043B\u044C\u043C\u044B",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0438\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0438\u043A\u0441",ebook:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043A\u043D\u0438\u0433\u0430",game:"\u0418\u0433\u0440\u0430",movie:"\u0424\u0438\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u044B\u043A\u0430",null:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0430",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",updated:"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0412\u0441\u0435",days:"\u0414\u043D\u0438",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0427\u0430\u0441\u044B",hours_1:"1 \u0447\u0430\u0441",hours_12:"12 \u0447\u0430\u0441\u043E\u0432",hours_6:"6 \u0447\u0430\u0441\u043E\u0432",minutes:"\u041C\u0438\u043D\u0443\u0442\u044B",minutes_1:"1 \u043C\u0438\u043D\u0443\u0442\u0430",minutes_15:"15 \u043C\u0438\u043D\u0443\u0442",minutes_30:"30 \u043C\u0438\u043D\u0443\u0442",minutes_5:"5 \u043C\u0438\u043D\u0443\u0442",off:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u043D\u0435\u0434\u0435\u043B\u044F"},metrics:{event:"\u0421\u043E\u0431\u044B\u0442\u0438\u0435",resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C",timeframe:"\u041F\u0435\u0440\u0438\u043E\u0434 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",toggle_legend:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043B\u0435\u0433\u0435\u043D\u0434\u0443"},queues:{created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E",created_at:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E \u0432",enqueue_jobs:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",enqueue_torrent_processing_batch:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0430\u0440\u0442\u0438\u044E \u0434\u043B\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",failed:"\u041E\u0448\u0438\u0431\u043A\u0430",jobs_enqueued:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B \u0432 \u043E\u0447\u0435\u0440\u0435\u0434\u044C",latency:"\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430",payload:"\u0414\u0430\u043D\u043D\u044B\u0435",pending:"\u0412 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0438",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \xAB\u043E\u0441\u0438\u0440\u043E\u0442\u0435\u0432\u0448\u0438\u0435\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u044B",processed:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u043E\u0447\u0435\u0440\u0435\u0434\u0438",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",queue_purged:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",ran_at:"\u0412\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0432",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C",total_counts_by_status:"\u041E\u0431\u0449\u0435\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043F\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",genre:"\u0416\u0430\u043D\u0440",language:"\u042F\u0437\u044B\u043A",queue:"\u041E\u0447\u0435\u0440\u0435\u0434\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0432\u0438\u0434\u0435\u043E",video_source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0432\u0438\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0438\u0432",audio:"\u0410\u0443\u0434\u0438\u043E",data:"\u0414\u0430\u043D\u043D\u044B\u0435",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",video:"\u0412\u0438\u0434\u0435\u043E"},general:{all:"\u0412\u0441\u0435",dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",none:"\u041D\u0435\u0442",page_not_found:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C \u0441 \u043E\u0448\u0438\u0431\u043A\u043E\u0439",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",error:"\u041E\u0448\u0438\u0431\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0421\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",down:"\u041D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",error:"\u041E\u0448\u0438\u0431\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u0435\u043D",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E",up:"\u0420\u0430\u0431\u043E\u0442\u0430\u0435\u0442"},summary:"\u0421\u0432\u043E\u0434\u043A\u0430 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F",worker:"\u0420\u0430\u0431\u043E\u0447\u0438\u0439",workers:{dht_crawler:"DHT \u043E\u0431\u0445\u043E\u0434\u0447\u0438\u043A",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u043E\u0447\u0435\u0440\u0435\u0434\u0435\u0439"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u043A\u0438\u0439",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u043A\u0438\u0439",be:"\u0411\u0435\u043B\u043E\u0440\u0443\u0441\u0441\u043A\u0438\u0439",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u043A\u0438\u0439",bs:"\u0411\u043E\u0441\u043D\u0438\u0439\u0441\u043A\u0438\u0439",ca:"\u041A\u0430\u0442\u0430\u043B\u0430\u043D\u0441\u043A\u0438\u0439",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u043A\u0438\u0439",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u043A\u0438\u0439",cs:"\u0427\u0435\u0448\u0441\u043A\u0438\u0439",cy:"\u0412\u0430\u043B\u043B\u0438\u0439\u0441\u043A\u0438\u0439",da:"\u0414\u0430\u0442\u0441\u043A\u0438\u0439",de:"\u041D\u0435\u043C\u0435\u0446\u043A\u0438\u0439",el:"\u0413\u0440\u0435\u0447\u0435\u0441\u043A\u0438\u0439",en:"\u0410\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u0438\u0439",es:"\u0418\u0441\u043F\u0430\u043D\u0441\u043A\u0438\u0439",et:"\u042D\u0441\u0442\u043E\u043D\u0441\u043A\u0438\u0439",eu:"\u0411\u0430\u0441\u043A\u0441\u043A\u0438\u0439",fa:"\u041F\u0435\u0440\u0441\u0438\u0434\u0441\u043A\u0438\u0439",fi:"\u0424\u0438\u043D\u0441\u043A\u0438\u0439",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u0441\u043A\u0438\u0439",he:"\u0418\u0432\u0440\u0438\u0442",hi:"\u0425\u0438\u043D\u0434\u0438",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u043A\u0438\u0439",hu:"\u0412\u0435\u043D\u0433\u0435\u0440\u0441\u043A\u0438\u0439",hy:"\u0410\u0440\u043C\u044F\u043D\u0441\u043A\u0438\u0439",id:"\u0418\u043D\u0434\u043E\u043D\u0435\u0437\u0438\u0439\u0441\u043A\u0438\u0439",is:"\u0418\u0441\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",it:"\u0418\u0442\u0430\u043B\u044C\u044F\u043D\u0441\u043A\u0438\u0439",ja:"\u042F\u043F\u043E\u043D\u0441\u043A\u0438\u0439",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u043A\u0438\u0439",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u043A\u0438\u0439",ku:"\u041A\u0443\u0440\u0434\u0441\u043A\u0438\u0439",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u043A\u0438\u0439",lv:"\u041B\u0430\u0442\u044B\u0448\u0441\u043A\u0438\u0439",mi:"\u041C\u0430\u043E\u0440\u0438",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u043A\u0438\u0439",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u043A\u0438\u0439",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u043A\u0438\u0439",mt:"\u041C\u0430\u043B\u044C\u0442\u0438\u0439\u0441\u043A\u0438\u0439",nl:"\u041D\u0438\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u043A\u0438\u0439",no:"\u041D\u043E\u0440\u0432\u0435\u0436\u0441\u043A\u0438\u0439",pl:"\u041F\u043E\u043B\u044C\u0441\u043A\u0438\u0439",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u043A\u0438\u0439",ro:"\u0420\u0443\u043C\u044B\u043D\u0441\u043A\u0438\u0439",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u043A\u0438\u0439",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u043A\u0438\u0439",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u043A\u0438\u0439",so:"\u0421\u043E\u043C\u0430\u043B\u0438\u0439\u0441\u043A\u0438\u0439",sr:"\u0421\u0435\u0440\u0431\u0441\u043A\u0438\u0439",sv:"\u0428\u0432\u0435\u0434\u0441\u043A\u0438\u0439",ta:"\u0422\u0430\u043C\u0438\u043B\u044C\u0441\u043A\u0438\u0439",th:"\u0422\u0430\u0439\u0441\u043A\u0438\u0439",tr:"\u0422\u0443\u0440\u0435\u0446\u043A\u0438\u0439",uk:"\u0423\u043A\u0440\u0430\u0438\u043D\u0441\u043A\u0438\u0439",vi:"\u0412\u044C\u0435\u0442\u043D\u0430\u043C\u0441\u043A\u0438\u0439",yi:"\u0418\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u043A\u0438\u0439",zu:"\u0417\u0443\u043B\u0443\u0441\u0441\u043A\u0438\u0439"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u043C\u0443",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044C bitmagnet",translate:"\u041F\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0432\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",items_per_page:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435",last_page:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",next_page:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",page_x:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 {{x}}",previous_page:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0438\u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F",home:"\u0413\u043B\u0430\u0432\u043D\u0430\u044F",jobs:"\u0417\u0430\u0434\u0430\u043D\u0438\u044F",queues:"\u041E\u0447\u0435\u0440\u0435\u0434\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u044B",visualize:"\u0412\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F"},torrents:{classification:"\u041A\u043B\u0430\u0441\u0441\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A",copy:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C",copy_to_clipboard:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",delete_action_cannot_be_undone:"\u042D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",delete_are_you_sure:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0421\u043D\u044F\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435",edit_tags:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u0433\u0438",episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",external_links:"\u0412\u043D\u0435\u0448\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043A\u0438",file_index:"\u0418\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0430",file_path:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u0430\u0437\u043C\u0435\u0440 \u0444\u0430\u0439\u043B\u0430",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0430",files:"\u0424\u0430\u0439\u043B\u044B",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u043E\u0432",files_no_info:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0444\u0430\u0439\u043B\u0430\u0445 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u044B",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",info_hashes:"\u0425\u044D\u0448\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",languages:"\u042F\u0437\u044B\u043A\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442 \u0441\u0441\u044B\u043B\u043A\u0438",new_tag:"\u041D\u043E\u0432\u044B\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E",order_direction_toggle:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",ordering:{files_count:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0444\u0430\u0439\u043B\u043E\u0432",info_hash:"\u0425\u044D\u0448 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",leechers:"\u041B\u0438\u0447\u0435\u0440\u044B",name:"\u0418\u043C\u044F",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u0438",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u044C",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",size:"\u0420\u0430\u0437\u043C\u0435\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F"},original_release_date:"\u041E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u0432\u044B\u043F\u0443\u0441\u043A\u0430",permalink:"\u041F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u0430\u044F \u0441\u0441\u044B\u043B\u043A\u0430",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B",reprocess:{force_rematch:"\u041F\u0440\u0438\u043D\u0443\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0430",match_content_by_external_api_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 API",match_content_by_local_search:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0438\u0441\u043A",reprocess:"\u041F\u0435\u0440\u0435\u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C"},s_l:"S / L",search:"\u041F\u043E\u0438\u0441\u043A",seeders:"\u0421\u0438\u0434\u0435\u0440\u044B",select_all:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435",sendto:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0438\u0437 {{y}} \u0444\u0430\u0439\u043B\u043E\u0432",size:"\u0420\u0430\u0437\u043C\u0435\u0440",source:"\u0418\u0441\u0442\u043E\u0447\u043D\u0438\u043A \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0421\u0432\u043E\u0434\u043A\u0430",tags:{delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438",delete_tip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0438\u0437 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432",placeholder:"\u0422\u0435\u0433...",put:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u043A \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430\u043C",set:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u0433\u0438 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u043E\u0432"},title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",toggle_drawer:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u043E\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0438\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}};var Pt={content_types:{plural:{all:"T\xFCm\xFC",audiobook:"Sesli Kitaplar",comic:"\xC7izgi Romanlar",ebook:"E-Kitaplar",game:"Oyunlar",movie:"Filmler",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Programlar\u0131",xxx:"XXX"},singular:{audiobook:"Sesli Kitap",comic:"\xC7izgi Roman",ebook:"E-Kitap",game:"Oyun",movie:"Film",music:"M\xFCzik",null:"Bilinmiyor",software:"Yaz\u0131l\u0131m",tv_show:"TV Program\u0131",xxx:"XXX"}},dashboard:{event:{created:"Olu\u015Fturuldu",failed:"Ba\u015Far\u0131s\u0131z",processed:"\u0130\u015Flendi",updated:"G\xFCncellendi"},interval:{all:"T\xFCm\xFC",days:"G\xFCnler",days_1:"1 g\xFCn",hours:"Saatler",hours_1:"1 saat",hours_12:"12 saat",hours_6:"6 saat",minutes:"Dakikalar",minutes_1:"1 dakika",minutes_15:"15 dakika",minutes_30:"30 dakika",minutes_5:"5 dakika",off:"Kapal\u0131",seconds_10:"10 saniye",seconds_30:"30 saniye",weeks_1:"1 hafta"},metrics:{event:"Olay",resolution:"\xC7\xF6z\xFCn\xFCrl\xFCk",throughput:"Verim",timeframe:"Zaman Dilimi",toggle_legend:"Efsaneyi De\u011Fi\u015Ftir"},queues:{created:"Olu\u015Fturuldu",created_at:"Olu\u015Fturulma tarihi",enqueue_jobs:"\u0130\u015Fleri Kuyru\u011Fa Al",enqueue_torrent_processing_batch:"Torrent \u0130\u015Fleme Paketini Kuyru\u011Fa Al",failed:"Ba\u015Far\u0131s\u0131z",jobs_enqueued:"Kuyru\u011Fa Al\u0131nan \u0130\u015Fler",latency:"Gecikme",payload:"Veri Y\xFCk\xFC",pending:"Beklemede",priority:"\xD6ncelik",process_orphaned_torrents_only:"Sadece sahipsiz torrentleri i\u015Fle",processed:"\u0130\u015Flendi",purge_jobs:"\u0130\u015Fleri Temizle",purge_queue_jobs:"Kuyruk \u0130\u015Flerini Temizle",queue:"Kuyruk",queue_purged:"Kuyruk Temizlendi",queues:"Kuyruklar",ran_at:"\xC7al\u0131\u015Ft\u0131r\u0131ld\u0131",retry:"Tekrar Dene",total_counts_by_status:"Duruma G\xF6re Toplam Say\u0131lar"}},facets:{content_type:"\u0130\xE7erik T\xFCr\xFC",file_type:"Dosya T\xFCr\xFC",genre:"T\xFCr",language:"Dil",queue:"Kuyruk",status:"Durum",torrent_source:"Torrent Kayna\u011F\u0131",torrent_tag:"Torrent Etiketi",video_resolution:"Video \xC7\xF6z\xFCn\xFCrl\xFC\u011F\xFC",video_source:"Video Kayna\u011F\u0131"},file_types:{archive:"Ar\u015Fiv",audio:"Ses",data:"Veri",document:"Belge",image:"G\xF6r\xFCnt\xFC",software:"Yaz\u0131l\u0131m",subtitles:"Altyaz\u0131lar",unknown:"Bilinmiyor",video:"Video"},general:{all:"T\xFCm\xFC",dismiss:"Kapat",error:"Hata",none:"Hi\xE7biri",page_not_found:"Sayfa Bulunamad\u0131",refresh:"Yenile",status:"Durum"},health:{bitmagnet_is_status:"bitmagnet durumu {{status}}",check_failed_with_error:"Hata ile kontrol ba\u015Far\u0131s\u0131z oldu",component:"Bile\u015Fen",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"Kapat",error:"Hata",status:"Durum",statuses:{degraded:"Azalm\u0131\u015F",down:"Kapal\u0131",error:"Hata",inactive:"Etkin de\u011Fil",started:"Ba\u015Flad\u0131",unknown:"Bilinmiyor",up:"\xC7al\u0131\u015F\u0131yor"},summary:"Sa\u011Fl\u0131k \xD6zeti",worker:"\u0130\u015F\xE7i",workers:{dht_crawler:"DHT taray\u0131c\u0131",http_server:"HTTP sunucusu",queue_server:"Kuyruk sunucusu"}},languages:{af:"Afrikanca",ar:"Arap\xE7a",az:"Azerice",be:"Beyaz Rus\xE7a",bg:"Bulgarca",bs:"Bo\u015Fnak\xE7a",ca:"Katalanca",ce:"\xC7e\xE7ence",co:"Korsikaca",cs:"\xC7ek\xE7e",cy:"Galce",da:"Danca",de:"Almanca",el:"Yunanca",en:"\u0130ngilizce",es:"\u0130spanyolca",et:"Estonca",eu:"Bask\xE7a",fa:"Fars\xE7a",fi:"Fince",fr:"Frans\u0131zca",he:"\u0130branice",hi:"Hint\xE7e",hr:"H\u0131rvat\xE7a",hu:"Macarca",hy:"Ermenice",id:"Endonezce",is:"\u0130zlandaca",it:"\u0130talyanca",ja:"Japonca",ka:"G\xFCrc\xFCce",ko:"Korece",ku:"K\xFCrt\xE7e",lt:"Litvanca",lv:"Letonca",mi:"Maorice",mk:"Makedonca",ml:"Malayalamca",mn:"Mo\u011Folca",ms:"Malayca",mt:"Maltaca",nl:"Flemenk\xE7e",no:"Norve\xE7\xE7e",pl:"Leh\xE7e",pt:"Portekizce",ro:"Romence",ru:"Rus\xE7a",sa:"Sanskrit\xE7e",sk:"Slovak\xE7a",sl:"Slovence",sm:"Samoaca",so:"Somalice",sr:"S\u0131rp\xE7a",sv:"\u0130sve\xE7\xE7e",ta:"Tamilce",th:"Tayca",tr:"T\xFCrk\xE7e",uk:"Ukraynaca",vi:"Vietnamca",yi:"Yidi\u015F",zh:"\xC7ince",zu:"Zuluca"},layout:{bitmagnet_on_service:"{{service}} \xFCzerinde bitmagnet",change_theme:"Temay\u0131 De\u011Fi\u015Ftir",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",sponsor:"Sponsor",support_bitmagnet:"bitmagnet'i Destekle",translate:"\xC7evir"},paginator:{first_page:"\u0130lk Sayfa",items_per_page:"Sayfa ba\u015F\u0131na \xF6\u011Fe",last_page:"Son Sayfa",next_page:"Sonraki Sayfa",page_x:"{{x}}. Sayfa",previous_page:"\xD6nceki Sayfa",x_to_y:"{{x}} - {{y}} aras\u0131",x_to_y_of_z:"{{x}} ile {{y}} aras\u0131, toplam {{z}}"},routes:{admin:"Y\xF6netici",dashboard:"Kontrol Paneli",home:"Ana Sayfa",jobs:"G\xF6revler",queues:"Kuyruklar",torrents:"Torrentler",visualize:"G\xF6rselle\u015Ftir"},torrents:{classification:"S\u0131n\u0131fland\u0131rma",clear_search:"Aramay\u0131 Temizle",copy:"Kopyala",copy_to_clipboard:"Panoya Kopyala",delete:"Sil",delete_action_cannot_be_undone:"Bu i\u015Flem geri al\u0131namaz",delete_are_you_sure:"Bu torrent'i silmek istedi\u011Finizden emin misiniz?",deselect_all:"T\xFCm Se\xE7imleri Kald\u0131r",edit_tags:"Etiketleri D\xFCzenle",episodes:"B\xF6l\xFCmler",external_links:"D\u0131\u015F Ba\u011Flant\u0131lar",file_index:"Dosya Dizini",file_path:"Dosya Yolu",file_size:"Dosya Boyutu",file_type:"Dosya T\xFCr\xFC",files:"Dosyalar",files_count_n:"{{count}} dosya",files_no_info:"Dosya bilgisi mevcut de\u011Fil",files_single:"Tek dosya",genres:"T\xFCrler",info_hash:"Bilgi hash'i",info_hashes:"Bilgi hash'leri",languages:"Diller",leechers:"Leechers",magnet:"Magnet",magnet_links:"Magnet Ba\u011Flant\u0131lar",new_tag:"Yeni etiket",order_by:"S\u0131ralama \xF6l\xE7\xFCt\xFC",order_direction_toggle:"Y\xF6n\xFC de\u011Fi\u015Ftir",ordering:{files_count:"Dosya say\u0131s\u0131",info_hash:"Bilgi hash'i",leechers:"Leechers",name:"Ad",published_at:"Yay\u0131nlanma tarihi",relevance:"Alaka d\xFCzeyi",seeders:"Seeders",size:"Boyut",updated_at:"G\xFCncellenme tarihi"},original_release_date:"Orijinal \xE7\u0131k\u0131\u015F tarihi",permalink:"Kal\u0131c\u0131 Ba\u011Flant\u0131",poster:"Poster",published:"Yay\u0131nland\u0131",rating:"Puan",refresh:"Sonu\xE7lar\u0131 Yenile",reprocess:{force_rematch:"Zaten e\u015Fle\u015Fen i\xE7eri\u011Fi yeniden e\u015Fle\u015Ftir",match_content_by_external_api_search:"D\u0131\u015F API aramas\u0131yla i\xE7eri\u011Fi e\u015Fle\u015Ftir",match_content_by_local_search:"Yerel aramayla i\xE7eri\u011Fi e\u015Fle\u015Ftir",reprocess:"Yeniden i\u015Fle"},s_l:"S / L",search:"Ara",seeders:"Seeders",select_all:"T\xFCm\xFCn\xFC Se\xE7",sendto:"G\xF6nder",showing_x_of_y_files:"{{y}} dosyan\u0131n {{x}} tanesi g\xF6steriliyor",size:"Boyut",source:"Torrent Kayna\u011F\u0131",summary:"\xD6zet",tags:{delete:"Etiketleri sil",delete_tip:"Se\xE7ili torrentlerden etiketleri kald\u0131r",placeholder:"Etiket...",put:"Etiket koy",put_tip:"Se\xE7ili torrentlere etiket ekle",set:"Etiketleri ayarla",set_tip:"Se\xE7ili torrentlerin etiketlerini de\u011Fi\u015Ftir"},title:"Ba\u015Fl\u0131k",toggle_drawer:"\xC7ekmeceyi A\xE7/Kapat",votes_count_n:"{{count}} oy"},version:{bitmagnet_version:"bitmagnet versiyonu {{version}}",unknown:"bilinmiyor"}};var qt={content_types:{plural:{all:"\u0423\u0441\u0456",audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0438",comic:"\u041A\u043E\u043C\u0456\u043A\u0441\u0438",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0456 \u043A\u043D\u0438\u0433\u0438",game:"\u0406\u0433\u0440\u0438",movie:"\u0424\u0456\u043B\u044C\u043C\u0438",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"},singular:{audiobook:"\u0410\u0443\u0434\u0456\u043E\u043A\u043D\u0438\u0433\u0430",comic:"\u041A\u043E\u043C\u0456\u043A\u0441",ebook:"\u0415\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430 \u043A\u043D\u0438\u0433\u0430",game:"\u0413\u0440\u0430",movie:"\u0424\u0456\u043B\u044C\u043C",music:"\u041C\u0443\u0437\u0438\u043A\u0430",null:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0430",tv_show:"\u0422\u0435\u043B\u0435\u0448\u043E\u0443",xxx:"\u041F\u043E\u0440\u043D\u043E"}},dashboard:{event:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",updated:"\u041E\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},interval:{all:"\u0423\u0441\u0456",days:"\u0414\u043D\u0456",days_1:"1 \u0434\u0435\u043D\u044C",hours:"\u0413\u043E\u0434\u0438\u043D\u0438",hours_1:"1 \u0433\u043E\u0434\u0438\u043D\u0430",hours_12:"12 \u0433\u043E\u0434\u0438\u043D",hours_6:"6 \u0433\u043E\u0434\u0438\u043D",minutes:"\u0425\u0432\u0438\u043B\u0438\u043D\u0438",minutes_1:"1 \u0445\u0432\u0438\u043B\u0438\u043D\u0430",minutes_15:"15 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_30:"30 \u0445\u0432\u0438\u043B\u0438\u043D",minutes_5:"5 \u0445\u0432\u0438\u043B\u0438\u043D",off:"\u0412\u0438\u043C\u043A\u043D\u0435\u043D\u043E",seconds_10:"10 \u0441\u0435\u043A\u0443\u043D\u0434",seconds_30:"30 \u0441\u0435\u043A\u0443\u043D\u0434",weeks_1:"1 \u0442\u0438\u0436\u0434\u0435\u043D\u044C"},metrics:{event:"\u041F\u043E\u0434\u0456\u044F",resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",throughput:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C",timeframe:"\u041F\u0440\u043E\u043C\u0456\u0436\u043E\u043A \u0447\u0430\u0441\u0443",toggle_legend:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043B\u0435\u0433\u0435\u043D\u0434\u0443"},queues:{created:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E",created_at:"\u0421\u0442\u0432\u043E\u0440\u0435\u043D\u043E \u043E",enqueue_jobs:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E \u0447\u0435\u0440\u0433\u0438",enqueue_torrent_processing_batch:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043F\u0430\u043A\u0435\u0442 \u0434\u043B\u044F \u043E\u0431\u0440\u043E\u0431\u043A\u0438 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",failed:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",jobs_enqueued:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043E\u0434\u0430\u043D\u043E \u0432 \u0447\u0435\u0440\u0433\u0443",latency:"\u0417\u0430\u0442\u0440\u0438\u043C\u043A\u0430",payload:"\u0414\u0430\u043D\u0456",pending:"\u0412 \u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u043D\u0456",priority:"\u041F\u0440\u0456\u043E\u0440\u0438\u0442\u0435\u0442",process_orphaned_torrents_only:"\u041E\u0431\u0440\u043E\u0431\u043B\u044F\u0442\u0438 \u043B\u0438\u0448\u0435 \xAB\u0441\u0438\u0440\u043E\u0442\u043B\u0438\u0432\u0456\xBB \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0438",processed:"\u041E\u0431\u0440\u043E\u0431\u043B\u0435\u043D\u043E",purge_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F",purge_queue_jobs:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0447\u0435\u0440\u0433\u0438",queue:"\u0427\u0435\u0440\u0433\u0430",queue_purged:"\u0427\u0435\u0440\u0433\u0430 \u043E\u0447\u0438\u0449\u0435\u043D\u0430",queues:"\u0427\u0435\u0440\u0433\u0438",ran_at:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E \u043E",retry:"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0438",total_counts_by_status:"\u0417\u0430\u0433\u0430\u043B\u044C\u043D\u0430 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0437\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C\u0438"}},facets:{content_type:"\u0422\u0438\u043F \u043A\u043E\u043D\u0442\u0435\u043D\u0442\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",genre:"\u0416\u0430\u043D\u0440",language:"\u041C\u043E\u0432\u0430",queue:"\u0427\u0435\u0440\u0433\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",torrent_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",torrent_tag:"\u0422\u0435\u0433 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",video_resolution:"\u0420\u043E\u0437\u0434\u0456\u043B\u044C\u043D\u0430 \u0437\u0434\u0430\u0442\u043D\u0456\u0441\u0442\u044C \u0432\u0456\u0434\u0435\u043E",video_source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0432\u0456\u0434\u0435\u043E"},file_types:{archive:"\u0410\u0440\u0445\u0456\u0432",audio:"\u0410\u0443\u0434\u0456\u043E",data:"\u0414\u0430\u043D\u0456",document:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442",image:"\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F",software:"\u041F\u0440\u043E\u0433\u0440\u0430\u043C\u0438",subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u0438",unknown:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u043E",video:"\u0412\u0456\u0434\u0435\u043E"},general:{all:"\u0423\u0441\u0456",dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",none:"\u041D\u0435\u043C\u0430\u0454",page_not_found:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u0430",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438",status:"\u0421\u0442\u0430\u0442\u0443\u0441"},health:{bitmagnet_is_status:"bitmagnet {{status}}",check_failed_with_error:"\u041F\u0435\u0440\u0435\u0432\u0456\u0440\u043A\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044F \u043F\u043E\u043C\u0438\u043B\u043A\u043E\u044E",component:"\u041A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u0417\u0430\u043A\u0440\u0438\u0442\u0438",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",status:"\u0421\u0442\u0430\u0442\u0443\u0441",statuses:{degraded:"\u0417\u043D\u0438\u0436\u0435\u043D\u0430 \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u0438\u0432\u043D\u0456\u0441\u0442\u044C",down:"\u041D\u0435 \u043F\u0440\u0430\u0446\u044E\u0454",error:"\u041F\u043E\u043C\u0438\u043B\u043A\u0430",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u0438\u0439",started:"\u0417\u0430\u043F\u0443\u0449\u0435\u043D\u043E",unknown:"\u041E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F",up:"\u041F\u0440\u0430\u0446\u044E\u0454"},summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F \u0441\u0442\u0430\u043D\u0443",worker:"\u041F\u0440\u0430\u0446\u0456\u0432\u043D\u0438\u043A",workers:{dht_crawler:"DHT \u0441\u043A\u0430\u043D\u0435\u0440",http_server:"HTTP \u0441\u0435\u0440\u0432\u0435\u0440",queue_server:"\u0421\u0435\u0440\u0432\u0435\u0440 \u0447\u0435\u0440\u0433\u0438"}},languages:{af:"\u0410\u0444\u0440\u0438\u043A\u0430\u0430\u043D\u0441",ar:"\u0410\u0440\u0430\u0431\u0441\u044C\u043A\u0430",az:"\u0410\u0437\u0435\u0440\u0431\u0430\u0439\u0434\u0436\u0430\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0456\u043B\u043E\u0440\u0443\u0441\u044C\u043A\u0430",bg:"\u0411\u043E\u043B\u0433\u0430\u0440\u0441\u044C\u043A\u0430",bs:"\u0411\u043E\u0441\u043D\u0456\u0439\u0441\u044C\u043A\u0430",ca:"\u041A\u0430\u0442\u0430\u043B\u043E\u043D\u0441\u044C\u043A\u0430",ce:"\u0427\u0435\u0447\u0435\u043D\u0441\u044C\u043A\u0430",co:"\u041A\u043E\u0440\u0441\u0438\u043A\u0430\u043D\u0441\u044C\u043A\u0430",cs:"\u0427\u0435\u0441\u044C\u043A\u0430",cy:"\u0412\u0430\u043B\u043B\u0456\u0439\u0441\u044C\u043A\u0430",da:"\u0414\u0430\u043D\u0441\u044C\u043A\u0430",de:"\u041D\u0456\u043C\u0435\u0446\u044C\u043A\u0430",el:"\u0413\u0440\u0435\u0446\u044C\u043A\u0430",en:"\u0410\u043D\u0433\u043B\u0456\u0439\u0441\u044C\u043A\u0430",es:"\u0406\u0441\u043F\u0430\u043D\u0441\u044C\u043A\u0430",et:"\u0415\u0441\u0442\u043E\u043D\u0441\u044C\u043A\u0430",eu:"\u0411\u0430\u0441\u043A\u0441\u044C\u043A\u0430",fa:"\u041F\u0435\u0440\u0441\u044C\u043A\u0430",fi:"\u0424\u0456\u043D\u0441\u044C\u043A\u0430",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u044C\u043A\u0430",he:"\u0406\u0432\u0440\u0438\u0442",hi:"\u0425\u0456\u043D\u0434\u0456",hr:"\u0425\u043E\u0440\u0432\u0430\u0442\u0441\u044C\u043A\u0430",hu:"\u0423\u0433\u043E\u0440\u0441\u044C\u043A\u0430",hy:"\u0412\u0456\u0440\u043C\u0435\u043D\u0441\u044C\u043A\u0430",id:"\u0406\u043D\u0434\u043E\u043D\u0435\u0437\u0456\u0439\u0441\u044C\u043A\u0430",is:"\u0406\u0441\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",it:"\u0406\u0442\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",ja:"\u042F\u043F\u043E\u043D\u0441\u044C\u043A\u0430",ka:"\u0413\u0440\u0443\u0437\u0438\u043D\u0441\u044C\u043A\u0430",ko:"\u041A\u043E\u0440\u0435\u0439\u0441\u044C\u043A\u0430",ku:"\u041A\u0443\u0440\u0434\u0441\u044C\u043A\u0430",lt:"\u041B\u0438\u0442\u043E\u0432\u0441\u044C\u043A\u0430",lv:"\u041B\u0430\u0442\u0438\u0441\u044C\u043A\u0430",mi:"\u041C\u0430\u043E\u0440\u0456",mk:"\u041C\u0430\u043A\u0435\u0434\u043E\u043D\u0441\u044C\u043A\u0430",ml:"\u041C\u0430\u043B\u0430\u044F\u043B\u0430\u043C",mn:"\u041C\u043E\u043D\u0433\u043E\u043B\u044C\u0441\u044C\u043A\u0430",ms:"\u041C\u0430\u043B\u0430\u0439\u0441\u044C\u043A\u0430",mt:"\u041C\u0430\u043B\u044C\u0442\u0456\u0439\u0441\u044C\u043A\u0430",nl:"\u041D\u0456\u0434\u0435\u0440\u043B\u0430\u043D\u0434\u0441\u044C\u043A\u0430",no:"\u041D\u043E\u0440\u0432\u0435\u0437\u044C\u043A\u0430",pl:"\u041F\u043E\u043B\u044C\u0441\u044C\u043A\u0430",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u044C\u043A\u0430",ro:"\u0420\u0443\u043C\u0443\u043D\u0441\u044C\u043A\u0430",ru:"\u0420\u043E\u0441\u0456\u0439\u0441\u044C\u043A\u0430",sa:"\u0421\u0430\u043D\u0441\u043A\u0440\u0438\u0442",sk:"\u0421\u043B\u043E\u0432\u0430\u0446\u044C\u043A\u0430",sl:"\u0421\u043B\u043E\u0432\u0435\u043D\u0441\u044C\u043A\u0430",sm:"\u0421\u0430\u043C\u043E\u0430\u043D\u0441\u044C\u043A\u0430",so:"\u0421\u043E\u043C\u0430\u043B\u0456\u0439\u0441\u044C\u043A\u0430",sr:"\u0421\u0435\u0440\u0431\u0441\u044C\u043A\u0430",sv:"\u0428\u0432\u0435\u0434\u0441\u044C\u043A\u0430",ta:"\u0422\u0430\u043C\u0456\u043B\u044C\u0441\u044C\u043A\u0430",th:"\u0422\u0430\u0439\u0441\u044C\u043A\u0430",tr:"\u0422\u0443\u0440\u0435\u0446\u044C\u043A\u0430",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",vi:"\u0412'\u0454\u0442\u043D\u0430\u043C\u0441\u044C\u043A\u0430",yi:"\u0407\u0434\u0438\u0448",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u044C\u043A\u0430",zu:"\u0417\u0443\u043B\u0443\u0441\u044C\u043A\u0430"},layout:{bitmagnet_on_service:"bitmagnet \u043D\u0430 {{service}}",change_theme:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u043C\u0443",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",sponsor:"\u0421\u043F\u043E\u043D\u0441\u043E\u0440",support_bitmagnet:"\u041F\u0456\u0434\u0442\u0440\u0438\u043C\u0430\u0442\u0438 bitmagnet",translate:"\u041F\u0435\u0440\u0435\u043A\u043B\u0430\u0441\u0442\u0438"},paginator:{first_page:"\u041F\u0435\u0440\u0448\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",items_per_page:"\u0415\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u0446\u0456",last_page:"\u041E\u0441\u0442\u0430\u043D\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",next_page:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",page_x:"\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 {{x}}",previous_page:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044F \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0430",x_to_y:"{{x}} \u0434\u043E {{y}}",x_to_y_of_z:"{{x}} \u0434\u043E {{y}} \u0437 {{z}}"},routes:{admin:"\u0410\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440",dashboard:"\u041F\u0430\u043D\u0435\u043B\u044C \u0443\u043F\u0440\u0430\u0432\u043B\u0456\u043D\u043D\u044F",home:"\u0413\u043E\u043B\u043E\u0432\u043D\u0430",jobs:"\u0417\u0430\u0432\u0434\u0430\u043D\u043D\u044F",queues:"\u0427\u0435\u0440\u0433\u0438",torrents:"\u0422\u043E\u0440\u0440\u0435\u043D\u0442\u0438",visualize:"\u0412\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0443\u0432\u0430\u0442\u0438"},torrents:{classification:"\u041A\u043B\u0430\u0441\u0438\u0444\u0456\u043A\u0430\u0446\u0456\u044F",clear_search:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u043F\u043E\u0448\u0443\u043A",copy:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438",copy_to_clipboard:"\u041A\u043E\u043F\u0456\u044E\u0432\u0430\u0442\u0438 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0456\u043D\u0443",delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438",delete_action_cannot_be_undone:"\u0426\u044E \u0434\u0456\u044E \u043D\u0435 \u043C\u043E\u0436\u043D\u0430 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438",delete_are_you_sure:"\u0412\u0438 \u0432\u043F\u0435\u0432\u043D\u0435\u043D\u0456, \u0449\u043E \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u0435\u0439 \u0442\u043E\u0440\u0440\u0435\u043D\u0442?",deselect_all:"\u0417\u043D\u044F\u0442\u0438 \u0432\u0438\u0434\u0456\u043B\u0435\u043D\u043D\u044F",edit_tags:"\u0420\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u0435\u0433\u0438",episodes:"\u0415\u043F\u0456\u0437\u043E\u0434\u0438",external_links:"\u0417\u043E\u0432\u043D\u0456\u0448\u043D\u0456 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",file_index:"\u0406\u043D\u0434\u0435\u043A\u0441 \u0444\u0430\u0439\u043B\u0443",file_path:"\u0428\u043B\u044F\u0445 \u0434\u043E \u0444\u0430\u0439\u043B\u0443",file_size:"\u0420\u043E\u0437\u043C\u0456\u0440 \u0444\u0430\u0439\u043B\u0443",file_type:"\u0422\u0438\u043F \u0444\u0430\u0439\u043B\u0443",files:"\u0424\u0430\u0439\u043B\u0438",files_count_n:"{{count}} \u0444\u0430\u0439\u043B\u0456\u0432",files_no_info:"\u0406\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u044F \u043F\u0440\u043E \u0444\u0430\u0439\u043B\u0438 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",files_single:"\u041E\u0434\u0438\u043D \u0444\u0430\u0439\u043B",genres:"\u0416\u0430\u043D\u0440\u0438",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",info_hashes:"\u0425\u0435\u0448\u0456 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",languages:"\u041C\u043E\u0432\u0438",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",magnet:"\u041C\u0430\u0433\u043D\u0435\u0442",magnet_links:"\u041C\u0430\u0433\u043D\u0435\u0442-\u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",new_tag:"\u041D\u043E\u0432\u0438\u0439 \u0442\u0435\u0433",order_by:"\u0421\u043E\u0440\u0442\u0443\u0432\u0430\u0442\u0438 \u0437\u0430",order_direction_toggle:"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043D\u0430\u043F\u0440\u044F\u043C\u043E\u043A",ordering:{files_count:"\u041A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u0444\u0430\u0439\u043B\u0456\u0432",info_hash:"\u0425\u0435\u0448 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457",leechers:"\u041B\u0456\u0447\u0435\u0440\u0438",name:"\u041D\u0430\u0437\u0432\u0430",published_at:"\u0414\u0430\u0442\u0430 \u043F\u0443\u0431\u043B\u0456\u043A\u0430\u0446\u0456\u0457",relevance:"\u0410\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0456\u0441\u0442\u044C",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",size:"\u0420\u043E\u0437\u043C\u0456\u0440",updated_at:"\u0414\u0430\u0442\u0430 \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F"},original_release_date:"\u0414\u0430\u0442\u0430 \u043E\u0440\u0438\u0433\u0456\u043D\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043F\u0443\u0441\u043A\u0443",permalink:"\u041F\u043E\u0441\u0442\u0456\u0439\u043D\u0435 \u043F\u043E\u0441\u0438\u043B\u0430\u043D\u043D\u044F",poster:"\u041F\u043E\u0441\u0442\u0435\u0440",published:"\u041E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E",rating:"\u0420\u0435\u0439\u0442\u0438\u043D\u0433",refresh:"\u041E\u043D\u043E\u0432\u0438\u0442\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0438",reprocess:{force_rematch:"\u041F\u0440\u0438\u043C\u0443\u0441\u043E\u0432\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0436\u0435 \u0437\u0456\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u043A\u043E\u043D\u0442\u0435\u043D\u0442",match_content_by_external_api_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u0437\u043E\u0432\u043D\u0456\u0448\u043D\u0456\u0439 API",match_content_by_local_search:"\u0417\u0456\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u043D\u0442\u0435\u043D\u0442 \u0447\u0435\u0440\u0435\u0437 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0438\u0439 \u043F\u043E\u0448\u0443\u043A",reprocess:"\u041F\u0435\u0440\u0435\u0440\u043E\u0431\u0438\u0442\u0438"},s_l:"S / L",search:"\u041F\u043E\u0448\u0443\u043A",seeders:"\u0421\u0456\u0434\u0435\u0440\u0438",select_all:"\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0456",sendto:"\u041D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438",showing_x_of_y_files:"\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E {{x}} \u0437 {{y}} \u0444\u0430\u0439\u043B\u0456\u0432",size:"\u0420\u043E\u0437\u043C\u0456\u0440",source:"\u0414\u0436\u0435\u0440\u0435\u043B\u043E \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0430",summary:"\u0417\u0432\u0435\u0434\u0435\u043D\u043D\u044F",tags:{delete:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",delete_tip:"\u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0442\u0435\u0433\u0438 \u0437 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",placeholder:"\u0422\u0435\u0433\u0438...",put:"\u0421\u0442\u0430\u0432\u0442\u0435 \u0442\u0435\u0433\u0438",put_tip:"\u0414\u043E\u0434\u0430\u0439\u0442\u0435 \u0442\u0435\u0433\u0438 \u0434\u043E \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432",set:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0442\u0435\u0433\u0438",set_tip:"\u0417\u0430\u043C\u0456\u043D\u0438\u0442\u0438 \u0442\u0435\u0433\u0438 \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 \u0442\u043E\u0440\u0440\u0435\u043D\u0442\u0456\u0432"},title:"\u041D\u0430\u0437\u0432\u0430",toggle_drawer:"\u041F\u0435\u0440\u0435\u043C\u043A\u043D\u0443\u0442\u0438 \u043F\u0430\u043D\u0435\u043B\u044C",votes_count_n:"{{count}} \u0433\u043E\u043B\u043E\u0441\u0456\u0432"},version:{bitmagnet_version:"\u0412\u0435\u0440\u0441\u0456\u044F bitmagnet {{version}}",unknown:"\u043D\u0435\u0432\u0456\u0434\u043E\u043C\u043E"}};var At={content_types:{plural:{all:"\u5168\u90E8",audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",game:"\u6E38\u620F",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"},singular:{audiobook:"\u6709\u58F0\u4E66",comic:"\u6F2B\u753B",ebook:"\u7535\u5B50\u4E66",game:"\u6E38\u620F",movie:"\u7535\u5F71",music:"\u97F3\u4E50",null:"\u672A\u77E5",software:"\u8F6F\u4EF6",tv_show:"\u7535\u89C6\u8282\u76EE",xxx:"\u8272\u60C5"}},dashboard:{event:{created:"\u5DF2\u521B\u5EFA",failed:"\u5931\u8D25",processed:"\u5DF2\u5904\u7406",updated:"\u5DF2\u66F4\u65B0"},interval:{all:"\u5168\u90E8",days:"\u5929",days_1:"1\u5929",hours:"\u5C0F\u65F6",hours_1:"1\u5C0F\u65F6",hours_12:"12\u5C0F\u65F6",hours_6:"6\u5C0F\u65F6",minutes:"\u5206\u949F",minutes_1:"1\u5206\u949F",minutes_15:"15\u5206\u949F",minutes_30:"30\u5206\u949F",minutes_5:"5\u5206\u949F",off:"\u5173\u95ED",seconds_10:"10\u79D2",seconds_30:"30\u79D2",weeks_1:"1\u5468"},metrics:{event:"\u4E8B\u4EF6",resolution:"\u5206\u8FA8\u7387",throughput:"\u541E\u5410\u91CF",timeframe:"\u65F6\u95F4\u8303\u56F4",toggle_legend:"\u5207\u6362\u56FE\u4F8B"},queues:{created:"\u5DF2\u521B\u5EFA",created_at:"\u521B\u5EFA\u4E8E",enqueue_jobs:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",enqueue_torrent_processing_batch:"\u52A0\u5165\u961F\u5217\u7684\u79CD\u5B50\u5904\u7406\u6279\u6B21",failed:"\u5931\u8D25",jobs_enqueued:"\u52A0\u5165\u961F\u5217\u7684\u4EFB\u52A1",latency:"\u5EF6\u8FDF",payload:"\u6709\u6548\u8F7D\u8377",pending:"\u5F85\u5904\u7406",priority:"\u4F18\u5148\u7EA7",process_orphaned_torrents_only:"\u4EC5\u5904\u7406\u5B64\u7ACB\u7684\u79CD\u5B50",processed:"\u5DF2\u5904\u7406",purge_jobs:"\u6E05\u9664\u4EFB\u52A1",purge_queue_jobs:"\u6E05\u9664\u961F\u5217\u4EFB\u52A1",queue:"\u961F\u5217",queue_purged:"\u961F\u5217\u5DF2\u6E05\u9664",queues:"\u961F\u5217",ran_at:"\u8FD0\u884C\u4E8E",retry:"\u91CD\u8BD5",total_counts_by_status:"\u6309\u72B6\u6001\u7EDF\u8BA1\u603B\u6570"}},facets:{content_type:"\u5185\u5BB9\u7C7B\u578B",file_type:"\u6587\u4EF6\u7C7B\u578B",genre:"\u7C7B\u578B",language:"\u8BED\u8A00",queue:"\u961F\u5217",status:"\u72B6\u6001",torrent_source:"\u79CD\u5B50\u6765\u6E90",torrent_tag:"\u79CD\u5B50\u6807\u7B7E",video_resolution:"\u89C6\u9891\u5206\u8FA8\u7387",video_source:"\u89C6\u9891\u6765\u6E90"},file_types:{archive:"\u6863\u6848",audio:"\u97F3\u9891",data:"\u6570\u636E",document:"\u6587\u6863",image:"\u56FE\u50CF",software:"\u8F6F\u4EF6",subtitles:"\u5B57\u5E55",unknown:"\u672A\u77E5",video:"\u89C6\u9891"},general:{all:"\u5168\u90E8",dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",none:"\u65E0",page_not_found:"\u9875\u9762\u672A\u627E\u5230",refresh:"\u5237\u65B0",status:"\u72B6\u6001"},health:{bitmagnet_is_status:"bitmagnet\u662F{{status}}",check_failed_with_error:"\u68C0\u67E5\u5931\u8D25\uFF0C\u9519\u8BEF",component:"\u7EC4\u4EF6",components:{dht:"DHT",postgres:"Postgres",tmdb:"TMDB"},dismiss:"\u5FFD\u7565",error:"\u9519\u8BEF",status:"\u72B6\u6001",statuses:{degraded:"\u964D\u7EA7",down:"\u5173\u95ED",error:"\u9519\u8BEF",inactive:"\u4E0D\u6D3B\u8DC3",started:"\u5DF2\u542F\u52A8",unknown:"\u672A\u77E5",up:"\u8FD0\u884C\u4E2D"},summary:"\u5065\u5EB7\u6982\u8FF0",worker:"\u5DE5\u4F5C\u8005",workers:{dht_crawler:"DHT\u722C\u866B",http_server:"HTTP\u670D\u52A1\u5668",queue_server:"\u961F\u5217\u670D\u52A1\u5668"}},languages:{af:"\u5357\u975E\u8377\u5170\u8BED",ar:"\u963F\u62C9\u4F2F\u8BED",az:"\u963F\u585E\u62DC\u7586\u8BED",be:"\u767D\u4FC4\u7F57\u65AF\u8BED",bg:"\u4FDD\u52A0\u5229\u4E9A\u8BED",bs:"\u6CE2\u65AF\u5C3C\u4E9A\u8BED",ca:"\u52A0\u6CF0\u7F57\u5C3C\u4E9A\u8BED",ce:"\u8F66\u81E3\u8BED",co:"\u79D1\u897F\u5609\u8BED",cs:"\u6377\u514B\u8BED",cy:"\u5A01\u5C14\u58EB\u8BED",da:"\u4E39\u9EA6\u8BED",de:"\u5FB7\u8BED",el:"\u5E0C\u814A\u8BED",en:"\u82F1\u8BED",es:"\u897F\u73ED\u7259\u8BED",et:"\u7231\u6C99\u5C3C\u4E9A\u8BED",eu:"\u5DF4\u65AF\u514B\u8BED",fa:"\u6CE2\u65AF\u8BED",fi:"\u82AC\u5170\u8BED",fr:"\u6CD5\u8BED",he:"\u5E0C\u4F2F\u6765\u8BED",hi:"\u5370\u5730\u8BED",hr:"\u514B\u7F57\u5730\u4E9A\u8BED",hu:"\u5308\u7259\u5229\u8BED",hy:"\u4E9A\u7F8E\u5C3C\u4E9A\u8BED",id:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u8BED",is:"\u51B0\u5C9B\u8BED",it:"\u610F\u5927\u5229\u8BED",ja:"\u65E5\u8BED",ka:"\u683C\u9C81\u5409\u4E9A\u8BED",ko:"\u97E9\u8BED",ku:"\u5E93\u5C14\u5FB7\u8BED",lt:"\u7ACB\u9676\u5B9B\u8BED",lv:"\u62C9\u8131\u7EF4\u4E9A\u8BED",mi:"\u6BDB\u5229\u8BED",mk:"\u9A6C\u5176\u987F\u8BED",ml:"\u9A6C\u62C9\u96C5\u62C9\u59C6\u8BED",mn:"\u8499\u53E4\u8BED",ms:"\u9A6C\u6765\u8BED",mt:"\u9A6C\u8033\u4ED6\u8BED",nl:"\u8377\u5170\u8BED",no:"\u632A\u5A01\u8BED",pl:"\u6CE2\u5170\u8BED",pt:"\u8461\u8404\u7259\u8BED",ro:"\u7F57\u9A6C\u5C3C\u4E9A\u8BED",ru:"\u4FC4\u8BED",sa:"\u68B5\u8BED",sk:"\u65AF\u6D1B\u4F10\u514B\u8BED",sl:"\u65AF\u6D1B\u6587\u5C3C\u4E9A\u8BED",sm:"\u8428\u6469\u4E9A\u8BED",so:"\u7D22\u9A6C\u91CC\u8BED",sr:"\u585E\u5C14\u7EF4\u4E9A\u8BED",sv:"\u745E\u5178\u8BED",ta:"\u6CF0\u7C73\u5C14\u8BED",th:"\u6CF0\u8BED",tr:"\u571F\u8033\u5176\u8BED",uk:"\u4E4C\u514B\u5170\u8BED",vi:"\u8D8A\u5357\u8BED",yi:"\u610F\u7B2C\u7EEA\u8BED",zh:"\u4E2D\u6587",zu:"\u7956\u9C81\u8BED"},layout:{bitmagnet_on_service:"bitmagnet\u5728{{service}}",change_theme:"\u66F4\u6539\u4E3B\u9898",external_links:"\u5916\u90E8\u94FE\u63A5",sponsor:"\u8D5E\u52A9\u5546",support_bitmagnet:"\u652F\u6301bitmagnet",translate:"\u7FFB\u8BD1"},paginator:{first_page:"\u7B2C\u4E00\u9875",items_per_page:"\u6BCF\u9875\u9879\u76EE\u6570",last_page:"\u6700\u540E\u4E00\u9875",next_page:"\u4E0B\u4E00\u9875",page_x:"\u7B2C{{x}}\u9875",previous_page:"\u4E0A\u4E00\u9875",x_to_y:"{{x}}\u5230{{y}}",x_to_y_of_z:"{{x}}\u5230{{y}}\uFF0C\u5171{{z}}"},routes:{admin:"\u7BA1\u7406\u5458",dashboard:"\u4EEA\u8868\u76D8",home:"\u9996\u9875",jobs:"\u4EFB\u52A1",queues:"\u961F\u5217",torrents:"\u79CD\u5B50",visualize:"\u53EF\u89C6\u5316"},torrents:{classification:"\u5206\u7C7B",clear_search:"\u6E05\u9664\u641C\u7D22",copy:"\u590D\u5236",copy_to_clipboard:"\u590D\u5236\u5230\u526A\u8D34\u677F",delete:"\u5220\u9664",delete_action_cannot_be_undone:"\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500",delete_are_you_sure:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u6B64\u79CD\u5B50\u5417\uFF1F",deselect_all:"\u53D6\u6D88\u5168\u9009",edit_tags:"\u7F16\u8F91\u6807\u7B7E",episodes:"\u5267\u96C6",external_links:"\u5916\u90E8\u94FE\u63A5",file_index:"\u6587\u4EF6\u7D22\u5F15",file_path:"\u6587\u4EF6\u8DEF\u5F84",file_size:"\u6587\u4EF6\u5927\u5C0F",file_type:"\u6587\u4EF6\u7C7B\u578B",files:"\u6587\u4EF6",files_count_n:"{{count}}\u4E2A\u6587\u4EF6",files_no_info:"\u65E0\u6587\u4EF6\u4FE1\u606F",files_single:"\u5355\u4E2A\u6587\u4EF6",genres:"\u7C7B\u578B",info_hash:"\u4FE1\u606F\u54C8\u5E0C",info_hashes:"\u4FE1\u606F\u54C8\u5E0C",languages:"\u8BED\u8A00",leechers:"\u4E0B\u8F7D\u8005",magnet:"\u78C1\u529B\u94FE\u63A5",magnet_links:"\u78C1\u529B\u94FE\u63A5",new_tag:"\u65B0\u6807\u7B7E",order_by:"\u6392\u5E8F\u4F9D\u636E",order_direction_toggle:"\u5207\u6362\u65B9\u5411",ordering:{files_count:"\u6587\u4EF6\u6570",info_hash:"\u4FE1\u606F\u54C8\u5E0C",leechers:"\u4E0B\u8F7D\u8005",name:"\u540D\u79F0",published_at:"\u53D1\u5E03\u4E8E",relevance:"\u76F8\u5173\u6027",seeders:"\u4E0A\u4F20\u8005",size:"\u5927\u5C0F",updated_at:"\u66F4\u65B0\u4E8E"},original_release_date:"\u539F\u59CB\u53D1\u5E03\u65E5\u671F",permalink:"\u6C38\u4E45\u94FE\u63A5",poster:"\u6D77\u62A5",published:"\u5DF2\u53D1\u5E03",rating:"\u8BC4\u5206",refresh:"\u5237\u65B0\u7ED3\u679C",reprocess:{force_rematch:"\u5F3A\u5236\u91CD\u65B0\u5339\u914D\u5DF2\u5339\u914D\u7684\u5185\u5BB9",match_content_by_external_api_search:"\u901A\u8FC7\u5916\u90E8API\u641C\u7D22\u5339\u914D\u5185\u5BB9",match_content_by_local_search:"\u901A\u8FC7\u672C\u5730\u641C\u7D22\u5339\u914D\u5185\u5BB9",reprocess:"\u91CD\u65B0\u5904\u7406"},s_l:"S / L",search:"\u641C\u7D22",seeders:"\u4E0A\u4F20\u8005",select_all:"\u5168\u9009",sendto:"\u53D1\u9001\u81F3",showing_x_of_y_files:"\u663E\u793A{{x}}\u4E2A\uFF0C\u5171{{y}}\u4E2A\u6587\u4EF6",size:"\u5927\u5C0F",source:"\u79CD\u5B50\u6765\u6E90",summary:"\u6458\u8981",tags:{delete:"\u5220\u9664\u6807\u7B7E",delete_tip:"\u4ECE\u9009\u5B9A\u7684\u79CD\u5B50\u4E2D\u5220\u9664\u6807\u7B7E",placeholder:"\u6807\u7B7E...",put:"\u6DFB\u52A0\u6807\u7B7E",put_tip:"\u4E3A\u9009\u5B9A\u7684\u79CD\u5B50\u6DFB\u52A0\u6807\u7B7E",set:"\u8BBE\u7F6E\u6807\u7B7E",set_tip:"\u66FF\u6362\u9009\u5B9A\u79CD\u5B50\u7684\u6807\u7B7E"},title:"\u6807\u9898",toggle_drawer:"\u5207\u6362\u62BD\u5C49",votes_count_n:"{{count}}\u7968"},version:{bitmagnet_version:"bitmagnet\u7248\u672C{{version}}",unknown:"\u672A\u77E5"}};var ue={ar:bt,ca:yt,de:vt,en:kt,es:xt,fr:wt,hi:Tt,ja:St,nl:Ct,pt:Mt,ru:zt,tr:Pt,uk:qt,zh:At};var Et=(()=>{class t{getTranslation(e){return pe(this,null,function*(){if(e in ue){let a=ue[e];return Dt(a)}else return Promise.reject(new Error(`Translation not found: ${e}`))})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),pa=["__missing__","__fallback__"],Dt=t=>Object.fromEntries(Object.entries(t).flatMap(([r,e])=>{if(typeof e=="object")e=Dt(e);else if(typeof e=="string"&&pa.includes(e))return[];return[[r,e]]}));var jt=[{path:"",pathMatch:"full",redirectTo:"torrents"},{path:"torrents",loadComponent:()=>import("./chunk-772YMJAF.js").then(t=>t.TorrentsComponent),children:[{path:"",loadComponent:()=>import("./chunk-AD44SZ3W.js").then(t=>t.TorrentsSearchComponent)},{path:"permalink/:infoHash",loadComponent:()=>import("./chunk-XV4HCVW7.js").then(t=>t.TorrentPermalinkComponent)}]},{path:"dashboard",loadComponent:()=>import("./chunk-JJA23WI2.js").then(t=>t.DashboardComponent),children:[{path:"",loadComponent:()=>import("./chunk-QH626ZBN.js").then(t=>t.DashboardHomeComponent)},{path:"queues",pathMatch:"full",redirectTo:"queues/visualize"},{path:"queues",loadComponent:()=>import("./chunk-F7JDKAJX.js").then(t=>t.QueueDashboardComponent),children:[{path:"visualize",loadComponent:()=>import("./chunk-5NKXLN2Y.js").then(t=>t.QueueVisualizeComponent)},{path:"jobs",loadComponent:()=>import("./chunk-HJUFYB7B.js").then(t=>t.QueueJobsComponent)},{path:"admin",loadComponent:()=>import("./chunk-WUPPTVXO.js").then(t=>t.QueueAdminComponent)}]},{path:"torrents",loadComponent:()=>import("./chunk-AYWXSEWP.js").then(t=>t.TorrentsDashboardComponent)}]},{path:"**",loadComponent:()=>import("./chunk-MVSJKDSJ.js").then(t=>t.NotFoundComponent)}];var It={providers:[Pe({eventCoalescing:!0}),He(jt,Ve()),ht("animations"),se(Ae()),se(),Ye(()=>({link:u(gt).create({uri:ft}),cache:new Je({typePolicies:{Query:{fields:{search:{merge(r,e){return q(q({},r),e)}}}}}})})),Ge({config:{availableLangs:[{id:"ar",label:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"},{id:"ca",label:"Catal\xE0"},{id:"de",label:"Deutsch"},{id:"en",label:"English"},{id:"es",label:"Espa\xF1ol"},{id:"fr",label:"Fran\xE7ais"},{id:"hi",label:"\u0939\u093F\u0928\u094D\u0926\u0940"},{id:"ja",label:"\u65E5\u672C\u8A9E"},{id:"nl",label:"Nederlands"},{id:"pt",label:"Portugu\xEAs"},{id:"ru",label:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"},{id:"tr",label:"T\xFCrk\xE7e"},{id:"uk",label:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430"},{id:"zh",label:"\u4E2D\u6587"}],defaultLang:"en",fallbackLang:"en",missingHandler:{useFallbackTranslation:!0},reRenderOnLangChange:!0,prodMode:!1},loader:Et}),Ke(Ne())]};var ha=new O("Browser Storage",{providedIn:"root",factory:()=>localStorage}),J=(()=>{class t{constructor(e){this.storage=e}get(e){return this.storage.getItem(e)}set(e,a){this.storage.setItem(e,a)}remove(e){this.storage.removeItem(e)}clear(){this.storage.clear()}static{this.\u0275fac=function(a){return new(a||t)(G(ha))}}static{this.\u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ga={classic:{key:"classic",label:"Classic",dark:!1},clean:{key:"clean",label:"Clean",dark:!1},neon:{key:"neon",label:"Neon",dark:!0},tundra:{key:"tundra",label:"Tundra",dark:!0}},W=ga,Ft="classic",Lt="tundra";var ce="bitmagnet-theme",Y=(()=>{class t{constructor(){this.document=u(K),this.browserStorage=u(J),this._window=this.document.defaultView,this.selectedThemeSubject=new he(void 0),this.selectedTheme$=this.selectedThemeSubject.asObservable(),this.themes=Object.values(W),this.getPreferredTheme=()=>this.getStoredTheme()??this.getAutoTheme(),this.getStoredTheme=()=>{let e=this.browserStorage.get(ce);return e&&e in W?e:void 0},this.getAutoTheme=()=>this.windowMatchMediaPrefersDark()?.matches?Lt:Ft,this.setTheme=e=>{this.setActiveTheme(e),this.setStoredTheme(this.selectedTheme??"auto")},this.setActiveTheme=e=>{e==="auto"||!(e in W)?(e=this.getAutoTheme(),this.selectedTheme=void 0):this.selectedTheme=e,this.document.documentElement.setAttribute("data-bitmagnet-theme",e),this.selectedThemeSubject.next(this.selectedTheme)},this.setStoredTheme=e=>{e==="auto"?this.browserStorage.remove(ce):this.browserStorage.set(ce,e)},this.setActiveTheme(this.getPreferredTheme()),this.windowMatchMediaPrefersDark()?.addEventListener("change",()=>{this.getStoredTheme()||this.setActiveTheme(this.getAutoTheme())})}windowMatchMediaPrefersDark(){return this._window&&this._window.matchMedia?this._window.matchMedia("(prefers-color-scheme: dark)"):void 0}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ya=t=>({version:t});function va(t,r){if(t&1&&(E(0),i(1,"span",1),_(2),s(),D()),t&2){let e=r.$implicit,a=p();l(),g("matTooltip",e("version.bitmagnet_version",ze(2,ya,a.versionUnknown?e("version.unknown"):a.version))),l(),b(a.version)}}var de="v-unknown",Bt=(()=>{class t{constructor(){this.apollo=u(We),this.version=de,this.versionUnknown=!0}ngOnInit(){this.apollo.query({query:tt}).pipe(ge(e=>e.data.version)).subscribe({next:e=>{e?(this.version=e,this.versionUnknown=!1):(this.version=de,this.versionUnknown=!0)},error:()=>{this.version=de}})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-version"]],standalone:!0,features:[y],decls:1,vars:0,consts:[[4,"transloco"],[1,"version",3,"matTooltip"]],template:function(a,o){a&1&&A(0,va,3,4,"ng-container",0)},dependencies:[U,Q,X,at],encapsulation:2})}}return t})();var Rt="bitmagnet-language",Ht=(()=>{class t{constructor(){this.transloco=u(Oe),this.browserStorage=u(J),this.availableLanguages=this.transloco.getAvailableLangs(),this.transloco.setActiveLang(this.getPreferredLanguage())}getPreferredLanguage(){return this.getStoredLanguage()??this.getAutoLanguage()}getStoredLanguage(){let e=this.browserStorage.get(Rt);return e&&this.transloco.isLang(e)?e:void 0}getAutoLanguage(){let e=navigator?.language?.split("-")?.[0];return this.transloco.isLang(e)?e:"en"}setLanguage(e){this.transloco.setActiveLang(e),this.browserStorage.set(Rt,e)}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275prov=h({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ka=["element"],_e=(()=>{class t{static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-theme-emitter-color"]],viewQuery:function(a,o){if(a&1&&R(ka,5),a&2){let n;H(n=V())&&(o.element=n.first)}},inputs:{color:"color"},standalone:!0,features:[y],decls:2,vars:2,consts:[["element",""]],template:function(a,o){a&1&&m(0,"div",null,0),a&2&&S("theme-emitter-color "+o.color)},encapsulation:2})}}return t})();var xa=["lightdark"];function wa(t,r){if(t&1&&m(0,"app-theme-emitter-color",1),t&2){let e=r.$implicit;g("color",e)}}var Vt=(()=>{class t{constructor(){this.service=u(pt),this.themeManager=u(Y),this.themeColors=mt,this.themeManager.selectedTheme$.subscribe(()=>{this.updateThemeColors()})}ngAfterViewInit(){this.updateThemeColors()}updateThemeColors(){let e={};for(let o of this.elements??[])e[o.color]=getComputedStyle(o.element.nativeElement).color;let a=this.lightdark&&getComputedStyle(this.lightdark.nativeElement).color==="rgb(0, 0, 0)"?"dark":"light";this.service.setInfo({colors:e,type:a})}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-theme-emitter"]],viewQuery:function(a,o){if(a&1&&(R(xa,5),R(_e,5)),a&2){let n;H(n=V())&&(o.lightdark=n.first),H(n=V())&&(o.elements=n)}},standalone:!0,features:[y],decls:5,vars:0,consts:[["lightdark",""],[3,"color"],[1,"theme-emitter-lightdark"]],template:function(a,o){a&1&&(E(0),L(1,wa,1,1,"app-theme-emitter-color",1,Se),m(3,"div",2,0),D()),a&2&&(l(),B(o.themeColors))},dependencies:[_e],styles:["[_nghost-%COMP%]{display:none}.theme-emitter-color.background[_ngcontent-%COMP%]{color:var(--mat-app-background-color)}.theme-emitter-color.foreground[_ngcontent-%COMP%]{color:var(--mat-app-text-color)}"]})}}return t})();var Sa=["*"],Ca=(t,r)=>r.key,Ma=(t,r)=>r.id,za=()=>({service:"Discord"}),Pa=()=>({service:"GitHub"}),qa=()=>({service:"OpenCollective"});function Aa(t,r){if(t&1&&(i(0,"h1")(1,"a",22),m(2,"mat-icon",23),i(3,"span",24),_(4,"bitmagnet"),s(),m(5,"app-version"),s()(),i(6,"nav")(7,"a",25,3),m(9,"mat-icon",23),_(10),s(),i(11,"a",26,4)(13,"mat-icon"),_(14,"dashboard"),s(),_(15),s()()),t&2){let e=P(8),a=P(12),o=p().$implicit;l(7),S(e.isActive?"active":""),l(3),oe(" ",o("routes.torrents")," "),l(),S(a.isActive?"active":""),l(4),oe(" ",o("routes.dashboard")," ")}}function Ea(t,r){if(t&1&&(i(0,"h1")(1,"a",27),m(2,"mat-icon",23),s()(),i(3,"button",28,4)(5,"mat-icon"),_(6,"dashboard"),s()()),t&2){let e=P(4),a=p().$implicit;l(3),S(e.isActive?"active":""),g("matTooltip",a("routes.dashboard"))}}function Da(t,r){if(t&1){let e=ae();i(0,"a",29),re("click",function(){let o=Z(e).$implicit,n=p(2);return $(n.themeManager.setTheme(o.key))}),i(1,"mat-icon"),_(2),s(),_(3),s()}if(t&2){let e=r.$implicit,a=p(2);S(e.key===a.themeManager.selectedTheme?"active":""),l(2),b(e.dark?"dark_mode":"light_mode"),l(),b(e.label)}}function ja(t,r){if(t&1){let e=ae();i(0,"a",30),re("click",function(){let o=Z(e).$implicit,n=p(2);return $(n.translateManager.setLanguage(o.id))}),_(1),s()}if(t&2){let e=r.$implicit,a=p().$implicit,o=p();S(e.id===o.translateManager.getPreferredLanguage()?"active":""),g("matTooltip",e.id===o.translateManager.getPreferredLanguage()?void 0:a("languages."+e.id)),l(),b(e.label)}}function Ia(t,r){if(t&1&&(i(0,"a",19)(1,"mat-icon"),_(2,"favorite"),s()()),t&2){let e=p().$implicit;g("matTooltip",e("layout.sponsor"))}}function Fa(t,r){if(t&1&&(i(0,"a",20)(1,"mat-icon"),_(2,"favorite"),s(),_(3),s()),t&2){let e=p().$implicit;g("matTooltip",e("layout.support_bitmagnet")),l(3),b(e("layout.sponsor"))}}function La(t,r){if(t&1&&(E(0),i(1,"mat-toolbar",6),A(2,Aa,16,6)(3,Ea,7,3),m(4,"span",7)(5,"app-health-widget"),i(6,"button",8)(7,"mat-icon"),_(8,"apparel"),s()(),i(9,"mat-menu",9,0),L(11,Da,4,4,"a",10,Ca),s(),i(13,"button",11)(14,"mat-icon"),_(15,"translate"),s()(),i(16,"mat-menu",9,1),L(18,ja,2,4,"a",12,Ma),s(),i(20,"button",13),m(21,"mat-icon",14),s(),i(22,"mat-menu",9,2)(24,"a",15),_(25,"bitmagnet.io"),s(),i(26,"a",16),_(27),s(),i(28,"a",17),_(29),s(),i(30,"a",18),_(31),s()(),A(32,Ia,3,1,"a",19)(33,Fa,4,2,"a",20),s(),i(34,"div",21),Me(35),s(),m(36,"app-theme-emitter"),D()),t&2){let e=r.$implicit,a=P(10),o=P(17),n=P(23),c=p();l(2),te(c.breakpoints.sizeAtLeast("Medium")?2:3),l(4),g("matMenuTriggerFor",a)("matTooltip",e("layout.change_theme")),l(5),B(c.themeManager.themes),l(2),g("matMenuTriggerFor",o)("matTooltip",e("layout.translate")),l(5),B(c.translateManager.availableLanguages),l(2),g("matTooltip",e("layout.external_links"))("matMenuTriggerFor",n),l(7),b(e("layout.bitmagnet_on_service",N(11,za))),l(2),b(e("layout.bitmagnet_on_service",N(12,Pa))),l(2),b(e("layout.bitmagnet_on_service",N(13,qa))),l(),te(c.breakpoints.sizeAtLeast("Medium")?33:32)}}var Ot=(()=>{class t{constructor(){this.themeManager=u(Y),this.translateManager=u(Ht),this.breakpoints=u(ut),this.title=u(je),this.router=u(Le),this.health=u(ct)}static{this.\u0275fac=function(a){return new(a||t)}}static{this.\u0275cmp=f({type:t,selectors:[["app-layout"]],standalone:!0,features:[y],ngContentSelectors:Sa,decls:1,vars:0,consts:[["themesMenu","matMenu"],["languagesMenu","matMenu"],["externalLinksMenu","matMenu"],["linkTorrents","routerLinkActive"],["linkDashboard","routerLinkActive"],[4,"transloco"],[1,"toolbar-header"],[1,"spacer"],["mat-icon-button","","aria-label","Theme",3,"matMenuTriggerFor","matTooltip"],[1,"layout-header-menu"],["mat-menu-item","",3,"class"],["mat-icon-button","",3,"matMenuTriggerFor","matTooltip"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"matTooltip","class"],["mat-icon-button","",3,"matTooltip","matMenuTriggerFor"],["svgIcon","external-link"],["mat-menu-item","","href","https://bitmagnet.io","target","_blank"],["mat-menu-item","","href","https://discord.gg/6mFNszX8qM","target","_blank"],["mat-menu-item","","href","https://github.com/bitmagnet-io/bitmagnet","target","_blank"],["mat-menu-item","","href","https://opencollective.com/bitmagnet","target","_blank"],["mat-icon-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],["mat-button","","href","https://opencollective.com/bitmagnet","target","_blank",1,"button-sponsor",3,"matTooltip"],[1,"app-content"],["routerLink","torrents"],["svgIcon","magnet"],[1,"name"],["mat-button","","routerLink","torrents","routerLinkActive",""],["mat-button","","routerLink","dashboard","routerLinkActive",""],["routerLink","/torrents"],["mat-icon-button","","routerLink","dashboard","routerLinkActive","",3,"matTooltip"],["mat-menu-item","",3,"click"],["mat-menu-item","","matTooltipPosition","right","matTooltipShowDelay","500",3,"click","matTooltip"]],template:function(a,o){a&1&&(Ce(),A(0,La,37,14,"ng-container",5))},dependencies:[U,Ze,et,$e,ot,st,nt,it,lt,Q,Be,Re,X,_t,dt,Vt,Bt],styles:[".mat-toolbar.toolbar-header[_ngcontent-%COMP%]{position:sticky;top:0;z-index:10;--mat-toolbar-title-text-size: 22px;--mat-toolbar-standard-height: 56px;--mat-icon-color: #fff;padding:0 20px;--mdc-text-button-label-text-size: 15px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin-top:-2px;margin-right:20px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:4px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{margin-left:10px;margin-right:16px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] app-version[_ngcontent-%COMP%]{font-size:13px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] .mdc-button[_ngcontent-%COMP%]{margin-left:6px;--mdc-text-button-label-text-weight: bold;--mat-text-button-horizontal-padding: 12px;--mdc-text-button-container-height: 30px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%]{position:absolute;left:340px;top:0;height:56px;padding-top:14px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:10px}.mat-toolbar.toolbar-header[_ngcontent-%COMP%] nav[_ngcontent-%COMP%] mat-icon[data-mat-icon-name=magnet][_ngcontent-%COMP%]{margin-top:-5px;overflow:visible}.app-content[_ngcontent-%COMP%]{z-index:1;padding-bottom:10px}.layout-header-menu[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{font-weight:700}"]})}}return t})();var Gt=(t,r)=>t.setDefaultFontSetClass("material-icons-outlined","material-symbols-outlined").addSvgIcon("magnet",r.bypassSecurityTrustResourceUrl("magnet.svg")).addSvgIcon("external-link",r.bypassSecurityTrustResourceUrl("external-link.svg")).addSvgIcon("binary",r.bypassSecurityTrustResourceUrl("binary.svg")).addSvgIcon("queue",r.bypassSecurityTrustResourceUrl("queue.svg"));var Nt=(()=>{class t{constructor(e,a){this.title="bitmagnet",Gt(e,a)}static{this.\u0275fac=function(a){return new(a||t)(ee(rt),ee(Ie))}}static{this.\u0275cmp=f({type:t,selectors:[["app-root"]],standalone:!0,features:[y],decls:2,vars:0,template:function(a,o){a&1&&(i(0,"app-layout"),m(1,"router-outlet"),s())},dependencies:[Fe,Ot]})}}return t})();De(Nt,It).catch(t=>console.error(t)); diff --git a/webui/src/app/graphql/generated/index.ts b/webui/src/app/graphql/generated/index.ts index a1ffd806..8e8f1c3c 100644 --- a/webui/src/app/graphql/generated/index.ts +++ b/webui/src/app/graphql/generated/index.ts @@ -29,6 +29,23 @@ export type ClientId = | 'QBittorrent' | 'Transmission'; +export type ClientMutation = { + __typename?: 'ClientMutation'; + sendTo?: Maybe; +}; + + +export type ClientMutationSendToArgs = { + clientID?: InputMaybe; + infoHashes?: InputMaybe>; +}; + +export type ClientSendToConfigQuery = { + __typename?: 'ClientSendToConfigQuery'; + enabled: Scalars['Boolean']['output']; + sendTo: Array; +}; + export type Content = { __typename?: 'Content'; adult?: Maybe; @@ -98,21 +115,6 @@ export type ContentTypeFacetInput = { filter?: InputMaybe>>; }; -export type DownloadClientConfigQuery = { - __typename?: 'DownloadClientConfigQuery'; - enabled: Scalars['Boolean']['output']; -}; - -export type DownloadClientMutation = { - __typename?: 'DownloadClientMutation'; - download?: Maybe; -}; - - -export type DownloadClientMutationDownloadArgs = { - infoHashes?: InputMaybe>; -}; - export type Episodes = { __typename?: 'Episodes'; label: Scalars['String']['output']; @@ -275,16 +277,16 @@ export type MetricsBucketDuration = export type Mutation = { __typename?: 'Mutation'; - downloadclient: DownloadClientMutation; + client: ClientMutation; queue: QueueMutation; torrent: TorrentMutation; }; export type Query = { __typename?: 'Query'; - downloadClient: DownloadClientConfigQuery; health: HealthQuery; queue: QueueQuery; + sendToConfig: ClientSendToConfigQuery; torrent: TorrentQuery; torrentContent: TorrentContentQuery; version: Scalars['String']['output']; @@ -899,12 +901,13 @@ export type TorrentFileFragment = { __typename?: 'TorrentFile', infoHash: string export type TorrentFilesQueryResultFragment = { __typename?: 'TorrentFilesQueryResult', totalCount: number, hasNextPage?: boolean | null, items: Array<{ __typename?: 'TorrentFile', infoHash: string, index: number, path: string, size: number, fileType?: FileType | null, createdAt: string, updatedAt: string }> }; -export type DownloadMutationVariables = Exact<{ +export type ClientSendToMutationVariables = Exact<{ + clientID?: InputMaybe; infoHashes: Array | Scalars['Hash20']['input']; }>; -export type DownloadMutation = { __typename?: 'Mutation', downloadclient: { __typename?: 'DownloadClientMutation', download?: void | null } }; +export type ClientSendToMutation = { __typename?: 'Mutation', client: { __typename?: 'ClientMutation', sendTo?: void | null } }; export type QueueEnqueueReprocessTorrentsBatchMutationVariables = Exact<{ input: QueueEnqueueReprocessTorrentsBatchInput; @@ -958,10 +961,10 @@ export type TorrentSetTagsMutationVariables = Exact<{ export type TorrentSetTagsMutation = { __typename?: 'Mutation', torrent: { __typename?: 'TorrentMutation', setTags?: void | null } }; -export type DownloadClientEnabledQueryVariables = Exact<{ [key: string]: never; }>; +export type SendToConfigQueryVariables = Exact<{ [key: string]: never; }>; -export type DownloadClientEnabledQuery = { __typename?: 'Query', downloadClient: { __typename?: 'DownloadClientConfigQuery', enabled: boolean } }; +export type SendToConfigQuery = { __typename?: 'Query', sendToConfig: { __typename?: 'ClientSendToConfigQuery', enabled: boolean, sendTo: Array } }; export type HealthCheckQueryVariables = Exact<{ [key: string]: never; }>; @@ -1249,10 +1252,10 @@ export const TorrentFilesQueryResultFragmentDoc = gql` hasNextPage } ${TorrentFileFragmentDoc}`; -export const DownloadDocument = gql` - mutation Download($infoHashes: [Hash20!]!) { - downloadclient { - download(infoHashes: $infoHashes) +export const ClientSendToDocument = gql` + mutation ClientSendTo($clientID: ClientID, $infoHashes: [Hash20!]!) { + client { + sendTo(clientID: $clientID, infoHashes: $infoHashes) } } `; @@ -1260,8 +1263,8 @@ export const DownloadDocument = gql` @Injectable({ providedIn: 'root' }) - export class DownloadGQL extends Apollo.Mutation { - override document = DownloadDocument; + export class ClientSendToGQL extends Apollo.Mutation { + override document = ClientSendToDocument; constructor(apollo: Apollo.Apollo) { super(apollo); @@ -1393,10 +1396,11 @@ export const TorrentSetTagsDocument = gql` super(apollo); } } -export const DownloadClientEnabledDocument = gql` - query DownloadClientEnabled { - downloadClient { +export const SendToConfigDocument = gql` + query SendToConfig { + sendToConfig { enabled + sendTo } } `; @@ -1404,8 +1408,8 @@ export const DownloadClientEnabledDocument = gql` @Injectable({ providedIn: 'root' }) - export class DownloadClientEnabledGQL extends Apollo.Query { - override document = DownloadClientEnabledDocument; + export class SendToConfigGQL extends Apollo.Query { + override document = SendToConfigDocument; constructor(apollo: Apollo.Apollo) { super(apollo); diff --git a/webui/src/app/graphql/graphql.service.ts b/webui/src/app/graphql/graphql.service.ts index 200241af..8164f35d 100644 --- a/webui/src/app/graphql/graphql.service.ts +++ b/webui/src/app/graphql/graphql.service.ts @@ -82,25 +82,29 @@ export class GraphQLService { .pipe(map((r) => r.data.torrent.suggestTags)); } - clientDownload(input: generated.DownloadMutationVariables): Observable { + clientSendToTarget( + input: generated.ClientSendToMutationVariables, + ): Observable { return this.apollo - .mutate({ - mutation: generated.DownloadDocument, + .mutate< + generated.ClientSendToMutation, + generated.ClientSendToMutationVariables + >({ + mutation: generated.ClientSendToDocument, variables: input, fetchPolicy, }) .pipe(map(() => void 0)); } - downloadClientEnabledQuery(): Observable { + clentSendToConfig(): Observable { return this.apollo - .query< - generated.DownloadClientEnabledQuery, - generated.DownloadClientEnabledQueryVariables - >({ - query: generated.DownloadClientEnabledDocument, - }) - .pipe(map((r) => r.data.downloadClient.enabled)); + .query( + { + query: generated.SendToConfigDocument, + }, + ) + .pipe(map((r) => r.data.sendToConfig)); } } diff --git a/webui/src/app/i18n/translations/ar.json b/webui/src/app/i18n/translations/ar.json index 212d91ff..48e9fe07 100644 --- a/webui/src/app/i18n/translations/ar.json +++ b/webui/src/app/i18n/translations/ar.json @@ -64,11 +64,8 @@ "enqueue_jobs": "إدراج الوظائف في الطابور", "enqueue_torrent_processing_batch": "إدراج دفعة معالجة التورنت في الطابور", "failed": "فشل", - "force_rematch": "فرض إعادة المطابقة للمحتوى المطابق بالفعل", "jobs_enqueued": "الوظائف المدرجة في الطابور", "latency": "التأخير", - "match_content_by_external_api_search": "مطابقة المحتوى من خلال البحث في API الخارجية", - "match_content_by_local_search": "مطابقة المحتوى من خلال البحث المحلي", "payload": "الحمولة", "pending": "قيد الانتظار", "priority": "الأولوية", @@ -245,8 +242,6 @@ "delete_action_cannot_be_undone": "لا يمكن التراجع عن هذا الإجراء", "delete_are_you_sure": "هل أنت متأكد أنك تريد حذف هذا التورنت؟", "deselect_all": "إلغاء تحديد الكل", - "download": "تنزيل", - "download_confirm": "هل أنت متأكد من أنك تريد تنزيل ملفات التورنت المحددة؟", "edit_tags": "تحرير العلامات", "episodes": "الحلقات", "external_links": "روابط خارجية", @@ -295,6 +290,7 @@ "search": "بحث", "seeders": "الباذرون", "select_all": "تحديد الكل", + "sendto": "أرسل إلى", "showing_x_of_y_files": "عرض {{x}} من {{y}} ملفات", "size": "الحجم", "source": "مصدر التورنت", diff --git a/webui/src/app/i18n/translations/ca.json b/webui/src/app/i18n/translations/ca.json index 0dc30b22..07278c13 100644 --- a/webui/src/app/i18n/translations/ca.json +++ b/webui/src/app/i18n/translations/ca.json @@ -5,6 +5,7 @@ "audiobook": "Audiollibres", "comic": "Còmics", "ebook": "Llibres electrònics", + "game": "Jocs", "movie": "Pel·lícules", "music": "Música", "null": "Desconegut", @@ -16,14 +17,22 @@ "audiobook": "Audiollibre", "comic": "Còmic", "ebook": "Llibre electrònic", + "game": "Joc", "movie": "Pel·lícula", "music": "Música", + "null": "Desconegut", "software": "Desconegut", "tv_show": "Programa de TV", "xxx": "XXX" } }, "dashboard": { + "event": { + "created": "Creat", + "failed": "Error", + "processed": "Processat", + "updated": "Actualitzat" + }, "interval": { "all": "Tot", "days": "Dies", @@ -58,6 +67,7 @@ "jobs_enqueued": "Tasques encuades", "latency": "Latència", "payload": "Contingut", + "pending": "Pendent", "priority": "Prioritat", "process_orphaned_torrents_only": "Processa només els torrents orfes", "processed": "Processat", @@ -67,6 +77,7 @@ "queue_purged": "Cua purgada", "queues": "Cues", "ran_at": "Executat a", + "retry": "Torna a intentar", "total_counts_by_status": "Recompte total per estat" } }, @@ -75,6 +86,8 @@ "file_type": "Tipus de Fitxer", "genre": "Gènere", "language": "Idioma", + "queue": "Cua", + "status": "Estat", "torrent_source": "Origen del Torrent", "torrent_tag": "Etiqueta del Torrent", "video_resolution": "Resolució del Vídeo", @@ -109,6 +122,9 @@ "postgres": "Postgres", "tmdb": "TMDB" }, + "dismiss": "Descarta", + "error": "Error", + "status": "Estat", "statuses": { "degraded": "Degradat", "down": "Caigut", @@ -200,6 +216,7 @@ }, "paginator": { "first_page": "Primera pàgina", + "items_per_page": "Elements per pàgina", "last_page": "Elements per pàgina", "next_page": "Pàgina següent", "page_x": "Pàgina {{x}}", @@ -233,7 +250,9 @@ "file_size": "Mida del fitxer", "file_type": "Tipus de fitxer", "files": "Fitxers", + "files_count_n": "{{count}} fitxers", "files_no_info": "{{count}} fitxers", + "files_single": "Fitxer únic", "genres": "Gèneres", "info_hash": "Informació del resum", "info_hashes": "Informació dels resums", @@ -271,6 +290,7 @@ "search": "Cerca", "seeders": "Sembradors", "select_all": "Seleccionar-ho tot", + "sendto": "Envia a", "showing_x_of_y_files": "Mostrant {{x}} de {{y}} fitxers", "size": "Mida", "source": "Origen del torrent", diff --git a/webui/src/app/i18n/translations/de.json b/webui/src/app/i18n/translations/de.json index 3914d723..af1241b3 100644 --- a/webui/src/app/i18n/translations/de.json +++ b/webui/src/app/i18n/translations/de.json @@ -64,11 +64,8 @@ "enqueue_jobs": "Jobs einreihen", "enqueue_torrent_processing_batch": "Torrent-Verarbeitungsbatch einreihen", "failed": "Fehlgeschlagen", - "force_rematch": "Erneutes Zuordnen von bereits zugeordneten Inhalten erzwingen", "jobs_enqueued": "Jobs eingereiht", "latency": "Latenz", - "match_content_by_external_api_search": "Inhalte durch externe API-Suche zuordnen", - "match_content_by_local_search": "Inhalte durch lokale Suche zuordnen", "payload": "Nutzlast", "pending": "Ausstehend", "priority": "Priorität", @@ -245,8 +242,6 @@ "delete_action_cannot_be_undone": "Diese Aktion kann nicht rückgängig gemacht werden", "delete_are_you_sure": "Sind Sie sicher, dass Sie diesen Torrent löschen möchten?", "deselect_all": "Alle abwählen", - "download": "Herunterladen", - "download_confirm": "Möchten Sie die ausgewählten Torrents wirklich herunterladen?", "edit_tags": "Tags bearbeiten", "episodes": "Episoden", "external_links": "Externe Links", @@ -295,6 +290,7 @@ "search": "Suche", "seeders": "Seeders", "select_all": "Alle auswählen", + "sendto": "Senden an", "showing_x_of_y_files": "{{x}} von {{y}} Dateien anzeigen", "size": "Größe", "source": "Torrent-Quelle", diff --git a/webui/src/app/i18n/translations/en.json b/webui/src/app/i18n/translations/en.json index 266b5369..401a3d31 100644 --- a/webui/src/app/i18n/translations/en.json +++ b/webui/src/app/i18n/translations/en.json @@ -242,8 +242,6 @@ "delete_action_cannot_be_undone": "This action cannot be undone", "delete_are_you_sure": "Are you sure you want to delete this torrent?", "deselect_all": "Deselect All", - "download": "Download", - "download_confirm": "Are you sure you want to download the selected torrents?", "edit_tags": "Edit tags", "episodes": "Episodes", "external_links": "External links", @@ -292,6 +290,7 @@ "search": "Search", "seeders": "Seeders", "select_all": "Select All", + "sendto": "Send to", "showing_x_of_y_files": "Showing {{x}} of {{y}} files", "size": "Size", "source": "Torrent Source", diff --git a/webui/src/app/i18n/translations/es.json b/webui/src/app/i18n/translations/es.json index f4978fc1..4dea3a75 100644 --- a/webui/src/app/i18n/translations/es.json +++ b/webui/src/app/i18n/translations/es.json @@ -64,11 +64,8 @@ "enqueue_jobs": "Encolar trabajos", "enqueue_torrent_processing_batch": "Encolar lote de procesamiento de torrents", "failed": "Fallido", - "force_rematch": "Forzar nueva coincidencia de contenido ya coincidente", "jobs_enqueued": "Trabajos encolados", "latency": "Latencia", - "match_content_by_external_api_search": "Coincidir contenido por búsqueda de API externa", - "match_content_by_local_search": "Coincidir contenido por búsqueda local", "payload": "Carga útil", "pending": "Pendiente", "priority": "Prioridad", @@ -245,8 +242,6 @@ "delete_action_cannot_be_undone": "Esta acción no se puede deshacer", "delete_are_you_sure": "¿Está seguro de que desea eliminar este torrent?", "deselect_all": "Deseleccionar todo", - "download": "Descargar", - "download_confirm": "¿Estás seguro de que deseas descargar los torrents seleccionados?", "edit_tags": "Editar etiquetas", "episodes": "Episodios", "external_links": "Enlaces externos", @@ -295,6 +290,7 @@ "search": "Buscar", "seeders": "Seeders", "select_all": "Seleccionar todo", + "sendto": "Enviar a", "showing_x_of_y_files": "Mostrando {{x}} de {{y}} archivos", "size": "Tamaño", "source": "Fuente del torrent", diff --git a/webui/src/app/i18n/translations/fr.json b/webui/src/app/i18n/translations/fr.json index 2e16c1ff..2cb8c898 100644 --- a/webui/src/app/i18n/translations/fr.json +++ b/webui/src/app/i18n/translations/fr.json @@ -64,11 +64,8 @@ "enqueue_jobs": "Mettre les taches en file d'attente", "enqueue_torrent_processing_batch": "Mettre le traitement des torrents en file d'attente", "failed": "Échoué", - "force_rematch": "Forcer le rematch du contenu déjà apparié", "jobs_enqueued": "Tâches en attente", "latency": "Latence", - "match_content_by_external_api_search": "Apparier le contenu par recherche API externe", - "match_content_by_local_search": "Apparier le contenu par recherche locale", "payload": "Charge utile", "pending": "En attente", "priority": "Priorité", @@ -245,8 +242,6 @@ "delete_action_cannot_be_undone": "Cette action ne peut pas être annulée", "delete_are_you_sure": "Êtes-vous sûr de vouloir supprimer ce torrent?", "deselect_all": "Tout désélectionner", - "download": "Télécharger", - "download_confirm": "Êtes-vous sûr de vouloir télécharger les torrents sélectionnés ?", "edit_tags": "Modifier les tags", "episodes": "Épisodes", "external_links": "Liens externes", @@ -295,6 +290,7 @@ "search": "Rechercher", "seeders": "Seeders", "select_all": "Tout sélectionner", + "sendto": "Envoyer à", "showing_x_of_y_files": "Affichage de {{x}} sur {{y}} fichiers", "size": "Taille", "source": "Source du torrent", diff --git a/webui/src/app/i18n/translations/hi.json b/webui/src/app/i18n/translations/hi.json index 1f784566..f5ef04ea 100644 --- a/webui/src/app/i18n/translations/hi.json +++ b/webui/src/app/i18n/translations/hi.json @@ -64,11 +64,8 @@ "enqueue_jobs": "जॉब्स को कतार में लगाएं", "enqueue_torrent_processing_batch": "टोरेंट प्रोसेसिंग बैच कतार में लगाएं", "failed": "असफल", - "force_rematch": "पहले से मेल खाई सामग्री को फिर से मिलाएं", "jobs_enqueued": "जॉब्स कतार में लगाई गईं", "latency": "लेटेंसी", - "match_content_by_external_api_search": "बाहरी API खोज से सामग्री का मिलान करें", - "match_content_by_local_search": "स्थानीय खोज से सामग्री का मिलान करें", "payload": "पेलोड", "pending": "बकाया", "priority": "प्राथमिकता", @@ -225,7 +222,6 @@ "page_x": "पृष्ठ {{x}}", "previous_page": "पिछला पृष्ठ", "x_to_y": "{{x}} से {{y}} तक", - "x_to_y_of_y": "__missing__", "x_to_y_of_z": "{{x}} से {{y}} तक {{z}} में" }, "routes": { @@ -246,8 +242,6 @@ "delete_action_cannot_be_undone": "यह क्रिया पूर्ववत नहीं की जा सकती", "delete_are_you_sure": "क्या आप वाकई इस टोरेंट को हटाना चाहते हैं?", "deselect_all": "सभी को अचयनित करें", - "download": "डाउनलोड करें", - "download_confirm": "क्या आप वाकई चयनित टोरेंट डाउनलोड करना चाहते हैं?", "edit_tags": "टैग संपादित करें", "episodes": "एपिसोड्स", "external_links": "बाहरी लिंक", @@ -296,6 +290,7 @@ "search": "खोज", "seeders": "सीडर्स", "select_all": "सभी का चयन करें", + "sendto": "भेजना", "showing_x_of_y_files": "{{x}} में से {{y}} फ़ाइलें दिखा रहा है", "size": "आकार", "source": "टोरेंट स्रोत", diff --git a/webui/src/app/i18n/translations/ja.json b/webui/src/app/i18n/translations/ja.json index 37173439..b9353fbd 100644 --- a/webui/src/app/i18n/translations/ja.json +++ b/webui/src/app/i18n/translations/ja.json @@ -64,11 +64,8 @@ "enqueue_jobs": "ジョブをキューに入れる", "enqueue_torrent_processing_batch": "トレント処理バッチをキューに入れる", "failed": "失敗", - "force_rematch": "既に一致したコンテンツを強制的に再一致させる", "jobs_enqueued": "キューに追加されたジョブ", "latency": "レイテンシ", - "match_content_by_external_api_search": "外部API検索でコンテンツを一致させる", - "match_content_by_local_search": "ローカル検索でコンテンツを一致させる", "payload": "ペイロード", "pending": "保留中", "priority": "優先順位", @@ -225,7 +222,6 @@ "page_x": "ページ {{x}}", "previous_page": "前のページ", "x_to_y": "{{x}} から {{y}} まで", - "x_to_y_of_y": "__missing__", "x_to_y_of_z": "{{x}} から {{y}} までの {{z}}" }, "routes": { @@ -246,8 +242,6 @@ "delete_action_cannot_be_undone": "この操作は元に戻せません", "delete_are_you_sure": "このトレントを削除してもよろしいですか?", "deselect_all": "すべての選択を解除", - "download": "ダウンロード", - "download_confirm": "選択したトレントをダウンロードしてもよろしいですか?", "edit_tags": "タグを編集", "episodes": "エピソード", "external_links": "外部リンク", @@ -296,6 +290,7 @@ "search": "検索", "seeders": "シーダー", "select_all": "すべて選択", + "sendto": "送信先", "showing_x_of_y_files": "{{x}} 件中 {{y}} 件表示", "size": "サイズ", "source": "トレントソース", diff --git a/webui/src/app/i18n/translations/nl.json b/webui/src/app/i18n/translations/nl.json index 4861ec79..b707c4b5 100644 --- a/webui/src/app/i18n/translations/nl.json +++ b/webui/src/app/i18n/translations/nl.json @@ -64,11 +64,8 @@ "enqueue_jobs": "Voeg taken toe aan wachtrij", "enqueue_torrent_processing_batch": "Torrentverwerkingsbatch toevoegen", "failed": "Mislukt", - "force_rematch": "Forceer nieuwe match van al gematchte inhoud", "jobs_enqueued": "Taken in wachtrij gezet", "latency": "Latentie", - "match_content_by_external_api_search": "Match inhoud via externe API-zoekopdracht", - "match_content_by_local_search": "Match inhoud via lokale zoekopdracht", "payload": "Inhoud", "pending": "In afwachting", "priority": "Prioriteit", @@ -225,7 +222,6 @@ "page_x": "Pagina {{x}}", "previous_page": "Vorige pagina", "x_to_y": "{{x}} tot {{y}}", - "x_to_y_of_y": "__missing__", "x_to_y_of_z": "{{x}} tot {{y}} van {{z}}" }, "routes": { @@ -246,8 +242,6 @@ "delete_action_cannot_be_undone": "Deze actie kan niet ongedaan worden gemaakt", "delete_are_you_sure": "Weet u zeker dat u deze torrent wilt verwijderen?", "deselect_all": "Deselecteer alles", - "download": "Downloaden", - "download_confirm": "Weet u zeker dat u de geselecteerde torrents wilt downloaden?", "edit_tags": "Tags bewerken", "episodes": "Afleveringen", "external_links": "Externe links", @@ -296,6 +290,7 @@ "search": "Zoeken", "seeders": "Seeders", "select_all": "Alles selecteren", + "sendto": "Verzenden naar", "showing_x_of_y_files": "{{x}} van {{y}} bestanden weergegeven", "size": "Grootte", "source": "Torrentbron", diff --git a/webui/src/app/i18n/translations/pt.json b/webui/src/app/i18n/translations/pt.json index ffa4f16f..bf044f98 100644 --- a/webui/src/app/i18n/translations/pt.json +++ b/webui/src/app/i18n/translations/pt.json @@ -64,11 +64,8 @@ "enqueue_jobs": "Enfileirar trabalhos", "enqueue_torrent_processing_batch": "Enfileirar lote de processamento de torrents", "failed": "Falhou", - "force_rematch": "Forçar nova correspondência de conteúdo já correspondido", "jobs_enqueued": "Trabalhos enfileirados", "latency": "Latência", - "match_content_by_external_api_search": "Correspondência de conteúdo por pesquisa de API externa", - "match_content_by_local_search": "Correspondência de conteúdo por pesquisa local", "payload": "Carga útil", "pending": "Pendente", "priority": "Prioridade", @@ -225,7 +222,6 @@ "page_x": "Página {{x}}", "previous_page": "Página anterior", "x_to_y": "{{x}} a {{y}}", - "x_to_y_of_y": "__missing__", "x_to_y_of_z": "{{x}} a {{y}} de {{z}}" }, "routes": { @@ -246,8 +242,6 @@ "delete_action_cannot_be_undone": "Esta ação não pode ser desfeita", "delete_are_you_sure": "Tem certeza de que deseja excluir este torrent?", "deselect_all": "Desmarcar todos", - "download": "Baixar", - "download_confirm": "Tem certeza de que deseja baixar os torrents selecionados?", "edit_tags": "Editar tags", "episodes": "Episódios", "external_links": "Links externos", @@ -296,6 +290,7 @@ "search": "Buscar", "seeders": "Seeders", "select_all": "Selecionar tudo", + "sendto": "Enviar para", "showing_x_of_y_files": "Mostrando {{x}} de {{y}} arquivos", "size": "Tamanho", "source": "Fonte do torrent", diff --git a/webui/src/app/i18n/translations/ru.json b/webui/src/app/i18n/translations/ru.json index fd8d1ce5..e2d53e8c 100644 --- a/webui/src/app/i18n/translations/ru.json +++ b/webui/src/app/i18n/translations/ru.json @@ -64,11 +64,8 @@ "enqueue_jobs": "Добавить задания в очередь", "enqueue_torrent_processing_batch": "Добавить партию для обработки торрентов", "failed": "Ошибка", - "force_rematch": "Принудительное повторное сопоставление уже сопоставленного контента", "jobs_enqueued": "Задания добавлены в очередь", "latency": "Задержка", - "match_content_by_external_api_search": "Сопоставить контент через внешний API", - "match_content_by_local_search": "Сопоставить контент через локальный поиск", "payload": "Данные", "pending": "В ожидании", "priority": "Приоритет", @@ -225,7 +222,6 @@ "page_x": "Страница {{x}}", "previous_page": "Предыдущая страница", "x_to_y": "{{x}} до {{y}}", - "x_to_y_of_y": "__missing__", "x_to_y_of_z": "{{x}} до {{y}} из {{z}}" }, "routes": { @@ -246,8 +242,6 @@ "delete_action_cannot_be_undone": "Это действие нельзя отменить", "delete_are_you_sure": "Вы уверены, что хотите удалить этот торрент?", "deselect_all": "Снять выделение", - "download": "Скачать", - "download_confirm": "Вы уверены, что хотите скачать выбранные торренты?", "edit_tags": "Редактировать теги", "episodes": "Эпизоды", "external_links": "Внешние ссылки", @@ -296,6 +290,7 @@ "search": "Поиск", "seeders": "Сидеры", "select_all": "Выбрать все", + "sendto": "Отправить", "showing_x_of_y_files": "Показано {{x}} из {{y}} файлов", "size": "Размер", "source": "Источник торрента", diff --git a/webui/src/app/i18n/translations/tr.json b/webui/src/app/i18n/translations/tr.json index 1066f123..0d6d02e8 100644 --- a/webui/src/app/i18n/translations/tr.json +++ b/webui/src/app/i18n/translations/tr.json @@ -64,11 +64,8 @@ "enqueue_jobs": "İşleri Kuyruğa Al", "enqueue_torrent_processing_batch": "Torrent İşleme Paketini Kuyruğa Al", "failed": "Başarısız", - "force_rematch": "Eşleşmiş içeriği yeniden eşleştir", "jobs_enqueued": "Kuyruğa Alınan İşler", "latency": "Gecikme", - "match_content_by_external_api_search": "Dış API aramasıyla içeriği eşleştir", - "match_content_by_local_search": "Yerel aramayla içeriği eşleştir", "payload": "Veri Yükü", "pending": "Beklemede", "priority": "Öncelik", @@ -225,7 +222,6 @@ "page_x": "{{x}}. Sayfa", "previous_page": "Önceki Sayfa", "x_to_y": "{{x}} - {{y}} arası", - "x_to_y_of_y": "__missing__", "x_to_y_of_z": "{{x}} ile {{y}} arası, toplam {{z}}" }, "routes": { @@ -246,8 +242,6 @@ "delete_action_cannot_be_undone": "Bu işlem geri alınamaz", "delete_are_you_sure": "Bu torrent'i silmek istediğinizden emin misiniz?", "deselect_all": "Tüm Seçimleri Kaldır", - "download": "İndir", - "download_confirm": "Seçilen torrentleri indirmek istediğinizden emin misiniz?", "edit_tags": "Etiketleri Düzenle", "episodes": "Bölümler", "external_links": "Dış Bağlantılar", @@ -296,6 +290,7 @@ "search": "Ara", "seeders": "Seeders", "select_all": "Tümünü Seç", + "sendto": "Gönder", "showing_x_of_y_files": "{{y}} dosyanın {{x}} tanesi gösteriliyor", "size": "Boyut", "source": "Torrent Kaynağı", diff --git a/webui/src/app/i18n/translations/uk.json b/webui/src/app/i18n/translations/uk.json index a087bca0..bfb0aae0 100644 --- a/webui/src/app/i18n/translations/uk.json +++ b/webui/src/app/i18n/translations/uk.json @@ -64,11 +64,8 @@ "enqueue_jobs": "Додати завдання до черги", "enqueue_torrent_processing_batch": "Додати пакет для обробки торрентів", "failed": "Помилка", - "force_rematch": "Примусово повторно зіставити вже зіставлений контент", "jobs_enqueued": "Завдання додано в чергу", "latency": "Затримка", - "match_content_by_external_api_search": "Зіставити контент через зовнішній API", - "match_content_by_local_search": "Зіставити контент через локальний пошук", "payload": "Дані", "pending": "В очікуванні", "priority": "Пріоритет", @@ -225,7 +222,6 @@ "page_x": "Сторінка {{x}}", "previous_page": "Попередня сторінка", "x_to_y": "{{x}} до {{y}}", - "x_to_y_of_y": "__пропав__", "x_to_y_of_z": "{{x}} до {{y}} з {{z}}" }, "routes": { @@ -246,8 +242,6 @@ "delete_action_cannot_be_undone": "Цю дію не можна скасувати", "delete_are_you_sure": "Ви впевнені, що хочете видалити цей торрент?", "deselect_all": "Зняти виділення", - "download": "Завантажити", - "download_confirm": "Ви впевнені, що хочете завантажити вибрані торренти?", "edit_tags": "Редагувати теги", "episodes": "Епізоди", "external_links": "Зовнішні посилання", @@ -296,6 +290,7 @@ "search": "Пошук", "seeders": "Сідери", "select_all": "Вибрати всі", + "sendto": "Надіслати", "showing_x_of_y_files": "Показано {{x}} з {{y}} файлів", "size": "Розмір", "source": "Джерело торрента", diff --git a/webui/src/app/i18n/translations/zh.json b/webui/src/app/i18n/translations/zh.json index e6c1d984..ffde4493 100644 --- a/webui/src/app/i18n/translations/zh.json +++ b/webui/src/app/i18n/translations/zh.json @@ -64,11 +64,8 @@ "enqueue_jobs": "加入队列的任务", "enqueue_torrent_processing_batch": "加入队列的种子处理批次", "failed": "失败", - "force_rematch": "强制重新匹配已匹配的内容", "jobs_enqueued": "加入队列的任务", "latency": "延迟", - "match_content_by_external_api_search": "通过外部API搜索匹配内容", - "match_content_by_local_search": "通过本地搜索匹配内容", "payload": "有效载荷", "pending": "待处理", "priority": "优先级", @@ -245,8 +242,6 @@ "delete_action_cannot_be_undone": "此操作无法撤销", "delete_are_you_sure": "您确定要删除此种子吗?", "deselect_all": "取消全选", - "download": "下载", - "download_confirm": "您确定要下载选定的种子吗?", "edit_tags": "编辑标签", "episodes": "剧集", "external_links": "外部链接", @@ -295,6 +290,7 @@ "search": "搜索", "seeders": "上传者", "select_all": "全选", + "sendto": "发送至", "showing_x_of_y_files": "显示{{x}}个,共{{y}}个文件", "size": "大小", "source": "种子来源", diff --git a/webui/src/app/torrents/torrents-bulk-actions.component.html b/webui/src/app/torrents/torrents-bulk-actions.component.html index 679a0df2..4e5b02a8 100644 --- a/webui/src/app/torrents/torrents-bulk-actions.component.html +++ b/webui/src/app/torrents/torrents-bulk-actions.component.html @@ -4,7 +4,7 @@ class="tab-group-bulk-actions" [selectedIndex]="selectedTabIndex" (focusChange)=" - selectTab($event.index == (downloadEnabled ? 6 : 5) ? 0 : $event.index) + selectTab($event.index == (sendToEnabled ? 6 : 5) ? 0 : $event.index) " [mat-stretch-tabs]="false" > @@ -171,32 +171,28 @@ - @if (downloadEnabled) { + @if (sendToEnabled) { - download_for_offline + arrow_top_right @if (breakpoints.sizeAtLeast("Medium")) { - {{ t("torrents.download") }} + {{ t("torrents.sendto") }} } - -

- {{ t("torrents.download_confirm") }} -

-
- + @for (target of sendToTargets; let j = $index; track target) { + + }
diff --git a/webui/src/app/torrents/torrents-bulk-actions.component.ts b/webui/src/app/torrents/torrents-bulk-actions.component.ts index 088e51bb..75cf8d51 100644 --- a/webui/src/app/torrents/torrents-bulk-actions.component.ts +++ b/webui/src/app/torrents/torrents-bulk-actions.component.ts @@ -40,7 +40,8 @@ export class TorrentsBulkActionsComponent implements OnInit { selectedItems = new Array(); selectedInfoHashes = new Array(); - downloadEnabled = false; + sendToEnabled = false; + sendToTargets = new Array(); ngOnInit() { this.selectedItems$.subscribe((items) => { @@ -48,9 +49,10 @@ export class TorrentsBulkActionsComponent implements OnInit { this.selectedInfoHashes = items.map((i) => i.infoHash); }); this.newTagCtrl.reset(); - this.graphQLService.downloadClientEnabledQuery().subscribe({ - next: (enabled: boolean) => { - this.downloadEnabled = enabled; + this.graphQLService.clentSendToConfig().subscribe({ + next: (config: generated.ClientSendToConfigQuery) => { + this.sendToTargets = config.sendTo; + this.sendToEnabled = config.enabled && config.sendTo.length > 0; }, }); } @@ -208,15 +210,13 @@ export class TorrentsBulkActionsComponent implements OnInit { .subscribe(); } - downloadTorrents() { + sendToTorrents(sendTo: generated.ClientId) { const infoHashes = this.selectedItems.map(({ infoHash }) => infoHash); this.graphQLService - .clientDownload({ infoHashes }) + .clientSendToTarget({ clientID: sendTo, infoHashes: infoHashes }) .pipe( catchError((err: Error) => { - this.errorsService.addError( - `Error downloading torrents: ${err.message}`, - ); + this.errorsService.addError(`Error sending torrents: ${err.message}`); return EMPTY; }), ) From 5e9e12d67f36dd1e1f7198de985c2a9faeb2989d Mon Sep 17 00:00:00 2001 From: rraymondgh Date: Mon, 16 Jun 2025 14:56:11 +0000 Subject: [PATCH 13/14] 1. sub-package structure 2. complete enum with generators 3. ntfy client --- graphql/schema/enums.graphqls | 5 - graphql/schema/scalars.graphqls | 1 + internal/client/adapter/common.go | 72 ++ internal/client/adapter/ntfy.go | 39 ++ internal/client/{ => adapter}/qbittorrent.go | 8 +- internal/client/{ => adapter}/transmission.go | 8 +- internal/client/client.go | 69 +- internal/client/config.go | 15 +- internal/client/model/client_id.go | 7 + internal/client/model/client_id_enum.go | 179 +++++ internal/gql/gql.gen.go | 657 +++++++++--------- internal/gql/gqlgen.yml | 9 + internal/gql/gqlmodel/gen/model.gen.go | 160 ++--- internal/gql/resolvers/mutation.resolvers.go | 6 +- webui/src/app/graphql/codegen.ts | 1 + webui/src/app/graphql/generated/index.ts | 13 +- .../torrents-bulk-actions.component.ts | 4 +- 17 files changed, 712 insertions(+), 541 deletions(-) create mode 100644 internal/client/adapter/common.go create mode 100644 internal/client/adapter/ntfy.go rename internal/client/{ => adapter}/qbittorrent.go (81%) rename internal/client/{ => adapter}/transmission.go (84%) create mode 100644 internal/client/model/client_id.go create mode 100644 internal/client/model/client_id_enum.go diff --git a/graphql/schema/enums.graphqls b/graphql/schema/enums.graphqls index bd4aafdd..166ca94a 100644 --- a/graphql/schema/enums.graphqls +++ b/graphql/schema/enums.graphqls @@ -170,8 +170,3 @@ enum QueueJobsOrderByField { ran_at priority } - -enum ClientID { - Transmission - QBittorrent -} diff --git a/graphql/schema/scalars.graphqls b/graphql/schema/scalars.graphqls index a3f44eba..3f9c52d7 100644 --- a/graphql/schema/scalars.graphqls +++ b/graphql/schema/scalars.graphqls @@ -4,3 +4,4 @@ scalar DateTime scalar Duration scalar Void scalar Year +scalar ClientID diff --git a/internal/client/adapter/common.go b/internal/client/adapter/common.go new file mode 100644 index 00000000..1875f297 --- /dev/null +++ b/internal/client/adapter/common.go @@ -0,0 +1,72 @@ +package adapter + +import ( + "context" + + "github.com/bitmagnet-io/bitmagnet/internal/client" + clientmodel "github.com/bitmagnet-io/bitmagnet/internal/client/model" + q "github.com/bitmagnet-io/bitmagnet/internal/database/query" + "github.com/bitmagnet-io/bitmagnet/internal/database/search" + "github.com/bitmagnet-io/bitmagnet/internal/model" +) + +type content = []search.TorrentContentResultItem + +type clientWorker interface { + AddInfoHashes(ctx context.Context, req client.AddInfoHashesRequest) error + sendTo(ctx context.Context, content *content) error +} + +type CommonClient struct { + config *client.Config + search search.Search + client clientWorker +} + +func New(cfg *client.Config, search search.Search) CommonClient { + cc := CommonClient{ + config: cfg, + search: search, + } + + return cc +} + +func (c CommonClient) downloadCategory(contentType model.ContentType) string { + category := c.config.Categories[contentType] + if category == "" { + category = c.config.DefaultCategory + } + + return category +} + +func (c CommonClient) AddInfoHashes(ctx context.Context, req client.AddInfoHashesRequest) error { + switch req.ClientID { + case clientmodel.IDTransmission: + c.client = transmissionClient{CommonClient: c} + case clientmodel.IDQBittorrent: + c.client = qBitClient{CommonClient: c} + case clientmodel.IDNtfy: + c.client = ntfy{CommonClient: c} + default: + return clientmodel.ErrInvalidID + } + + options := []q.Option{ + q.Where( + search.TorrentContentInfoHashCriteria(req.InfoHashes...), + ), + search.TorrentContentCoreJoins(), + search.HydrateTorrentContentContent(), + search.HydrateTorrentContentTorrent(), + q.Limit(uint(len(req.InfoHashes))), + } + + sr, err := c.search.TorrentContent(ctx, options...) + if err != nil { + return err + } + + return c.client.sendTo(ctx, &sr.Items) +} diff --git a/internal/client/adapter/ntfy.go b/internal/client/adapter/ntfy.go new file mode 100644 index 00000000..cbe3b85a --- /dev/null +++ b/internal/client/adapter/ntfy.go @@ -0,0 +1,39 @@ +package adapter + +import ( + "context" + "fmt" + + "github.com/bitmagnet-io/bitmagnet/internal/client/model" + "github.com/go-resty/resty/v2" +) + +type ntfy struct { + CommonClient +} + +func (n ntfy) sendTo(ctx context.Context, content *content) error { + sendTo, ok := n.config.GetSendTo(model.IDNtfy) + if !ok { + return model.ErrInvalidID + } + + topic, exists := n.config.Categories["ntfy"] + if !exists { + topic = "magnet" + } + + r := resty.New().R().SetContext(ctx) + + for _, item := range *content { + resp, err := r.SetBody(item.Torrent.MagnetURI()). + Post(fmt.Sprintf("http://%v:%v/%v", sendTo.Host, sendTo.Port, topic)) + if err != nil { + return err + } else if resp.IsError() { + return fmt.Errorf("[%v] %v", resp.StatusCode(), resp.Request.URL) + } + } + + return nil +} diff --git a/internal/client/qbittorrent.go b/internal/client/adapter/qbittorrent.go similarity index 81% rename from internal/client/qbittorrent.go rename to internal/client/adapter/qbittorrent.go index 23c5a151..5dc5ec81 100644 --- a/internal/client/qbittorrent.go +++ b/internal/client/adapter/qbittorrent.go @@ -1,11 +1,11 @@ -package client +package adapter import ( "context" "fmt" "github.com/autobrr/go-qbittorrent" - "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" + "github.com/bitmagnet-io/bitmagnet/internal/client/model" ) type qBitClient struct { @@ -13,9 +13,9 @@ type qBitClient struct { } func (c qBitClient) sendTo(ctx context.Context, content *content) error { - sendTo, ok := c.config.GetSendTo(gen.ClientIDQBittorrent) + sendTo, ok := c.config.GetSendTo(model.IDQBittorrent) if !ok { - return fmt.Errorf("undefined sendTo: %+v", c.config.SendTo) + return model.ErrInvalidID } qb := qbittorrent.NewClient(qbittorrent.Config{ diff --git a/internal/client/transmission.go b/internal/client/adapter/transmission.go similarity index 84% rename from internal/client/transmission.go rename to internal/client/adapter/transmission.go index fd8b915a..3637bbb8 100644 --- a/internal/client/transmission.go +++ b/internal/client/adapter/transmission.go @@ -1,11 +1,11 @@ -package client +package adapter import ( "context" "fmt" "net/url" - "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" + "github.com/bitmagnet-io/bitmagnet/internal/client/model" "github.com/hekmon/transmissionrpc/v3" ) @@ -14,9 +14,9 @@ type transmissionClient struct { } func (c transmissionClient) sendTo(ctx context.Context, content *content) error { - sendTo, ok := c.config.GetSendTo(gen.ClientIDTransmission) + sendTo, ok := c.config.GetSendTo(model.IDTransmission) if !ok { - return nil + return model.ErrInvalidID } endpoint, err := url.Parse( diff --git a/internal/client/client.go b/internal/client/client.go index 7b4a0f93..c6a614eb 100644 --- a/internal/client/client.go +++ b/internal/client/client.go @@ -1,76 +1,11 @@ package client import ( - "context" - "fmt" - - q "github.com/bitmagnet-io/bitmagnet/internal/database/query" - "github.com/bitmagnet-io/bitmagnet/internal/database/search" - "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" - "github.com/bitmagnet-io/bitmagnet/internal/model" + "github.com/bitmagnet-io/bitmagnet/internal/client/model" "github.com/bitmagnet-io/bitmagnet/internal/protocol" ) type AddInfoHashesRequest struct { - ClientID gen.ClientID + ClientID model.ID InfoHashes []protocol.ID } - -type content = []search.TorrentContentResultItem - -type clientWorker interface { - AddInfoHashes(ctx context.Context, req AddInfoHashesRequest) error - sendTo(ctx context.Context, content *content) error -} - -type CommonClient struct { - config *Config - search search.Search - client clientWorker -} - -func New(cfg *Config, search search.Search) CommonClient { - cc := CommonClient{ - config: cfg, - search: search, - } - - return cc -} - -func (c CommonClient) downloadCategory(contentType model.ContentType) string { - category := c.config.Categories[contentType] - if category == "" { - category = c.config.DefaultCategory - } - - return category -} - -func (c CommonClient) AddInfoHashes(ctx context.Context, req AddInfoHashesRequest) error { - switch req.ClientID { - case gen.ClientIDTransmission: - c.client = transmissionClient{CommonClient: c} - case gen.ClientIDQBittorrent: - c.client = qBitClient{CommonClient: c} - default: - return fmt.Errorf("not implemented %s", req.ClientID) - } - - options := []q.Option{ - q.Where( - search.TorrentContentInfoHashCriteria(req.InfoHashes...), - ), - search.TorrentContentCoreJoins(), - search.HydrateTorrentContentContent(), - search.HydrateTorrentContentTorrent(), - q.Limit(uint(len(req.InfoHashes))), - } - - sr, err := c.search.TorrentContent(ctx, options...) - if err != nil { - return err - } - - return c.client.sendTo(ctx, &sr.Items) -} diff --git a/internal/client/config.go b/internal/client/config.go index abb76b1f..1e988e7d 100644 --- a/internal/client/config.go +++ b/internal/client/config.go @@ -1,7 +1,7 @@ package client import ( - "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" + clientmodel "github.com/bitmagnet-io/bitmagnet/internal/client/model" "github.com/bitmagnet-io/bitmagnet/internal/model" ) @@ -33,7 +33,7 @@ func NewDefaultConfig() Config { return cfg } -func (c Config) GetSendTo(id gen.ClientID) (SendTo, bool) { +func (c Config) GetSendTo(id clientmodel.ID) (SendTo, bool) { for _, c := range c.SendTo { if c.ID == string(id) { return c, true @@ -43,14 +43,13 @@ func (c Config) GetSendTo(id gen.ClientID) (SendTo, bool) { return SendTo{}, false } -func (c Config) All() []gen.ClientID { - all := make([]gen.ClientID, 0) +func (c Config) All() []clientmodel.ID { + all := make([]clientmodel.ID, 0) for _, s := range c.SendTo { - for _, valid := range gen.AllClientID { - if s.ID == valid.String() { - all = append(all, valid) - } + id, err := clientmodel.ParseID(s.ID) + if err == nil { + all = append(all, id) } } diff --git a/internal/client/model/client_id.go b/internal/client/model/client_id.go new file mode 100644 index 00000000..42839f2b --- /dev/null +++ b/internal/client/model/client_id.go @@ -0,0 +1,7 @@ +package model + +//go:generate go run github.com/abice/go-enum --marshal --names --nocomments --sql --sqlnullstr --values -f client_id.go + +// ID represents client that has an implemented interface +// ENUM(QBittorrent, Transmission, Ntfy) +type ID string diff --git a/internal/client/model/client_id_enum.go b/internal/client/model/client_id_enum.go new file mode 100644 index 00000000..ef6211ea --- /dev/null +++ b/internal/client/model/client_id_enum.go @@ -0,0 +1,179 @@ +// Code generated by go-enum DO NOT EDIT. +// Version: +// Revision: +// Build Date: +// Built By: + +package model + +import ( + "database/sql/driver" + "encoding/json" + "errors" + "fmt" + "strings" +) + +const ( + IDQBittorrent ID = "QBittorrent" + IDTransmission ID = "Transmission" + IDNtfy ID = "Ntfy" +) + +var ErrInvalidID = fmt.Errorf("not a valid ID, try [%s]", strings.Join(_IDNames, ", ")) + +var _IDNames = []string{ + string(IDQBittorrent), + string(IDTransmission), + string(IDNtfy), +} + +// IDNames returns a list of possible string values of ID. +func IDNames() []string { + tmp := make([]string, len(_IDNames)) + copy(tmp, _IDNames) + return tmp +} + +// IDValues returns a list of the values for ID +func IDValues() []ID { + return []ID{ + IDQBittorrent, + IDTransmission, + IDNtfy, + } +} + +// String implements the Stringer interface. +func (x ID) String() string { + return string(x) +} + +// IsValid provides a quick way to determine if the typed value is +// part of the allowed enumerated values +func (x ID) IsValid() bool { + _, err := ParseID(string(x)) + return err == nil +} + +var _IDValue = map[string]ID{ + "QBittorrent": IDQBittorrent, + "Transmission": IDTransmission, + "Ntfy": IDNtfy, +} + +// ParseID attempts to convert a string to a ID. +func ParseID(name string) (ID, error) { + if x, ok := _IDValue[name]; ok { + return x, nil + } + return ID(""), fmt.Errorf("%s is %w", name, ErrInvalidID) +} + +// MarshalText implements the text marshaller method. +func (x ID) MarshalText() ([]byte, error) { + return []byte(string(x)), nil +} + +// UnmarshalText implements the text unmarshaller method. +func (x *ID) UnmarshalText(text []byte) error { + tmp, err := ParseID(string(text)) + if err != nil { + return err + } + *x = tmp + return nil +} + +var errIDNilPtr = errors.New("value pointer is nil") // one per type for package clashes + +// Scan implements the Scanner interface. +func (x *ID) Scan(value interface{}) (err error) { + if value == nil { + *x = ID("") + return + } + + // A wider range of scannable types. + // driver.Value values at the top of the list for expediency + switch v := value.(type) { + case string: + *x, err = ParseID(v) + case []byte: + *x, err = ParseID(string(v)) + case ID: + *x = v + case *ID: + if v == nil { + return errIDNilPtr + } + *x = *v + case *string: + if v == nil { + return errIDNilPtr + } + *x, err = ParseID(*v) + default: + return errors.New("invalid type for ID") + } + + return +} + +// Value implements the driver Valuer interface. +func (x ID) Value() (driver.Value, error) { + return x.String(), nil +} + +type NullID struct { + ID ID + Valid bool + Set bool +} + +func NewNullID(val interface{}) (x NullID) { + err := x.Scan(val) // yes, we ignore this error, it will just be an invalid value. + _ = err // make any errcheck linters happy + return +} + +// Scan implements the Scanner interface. +func (x *NullID) Scan(value interface{}) (err error) { + if value == nil { + x.ID, x.Valid = ID(""), false + return + } + + err = x.ID.Scan(value) + x.Valid = (err == nil) + return +} + +// Value implements the driver Valuer interface. +func (x NullID) Value() (driver.Value, error) { + if !x.Valid { + return nil, nil + } + return x.ID.String(), nil +} + +// MarshalJSON correctly serializes a NullID to JSON. +func (n NullID) MarshalJSON() ([]byte, error) { + const nullStr = "null" + if n.Valid { + return json.Marshal(n.ID) + } + return []byte(nullStr), nil +} + +// UnmarshalJSON correctly deserializes a NullID from JSON. +func (n *NullID) UnmarshalJSON(b []byte) error { + n.Set = true + var x interface{} + err := json.Unmarshal(b, &x) + if err != nil { + return err + } + err = n.Scan(x) + return err +} diff --git a/internal/gql/gql.gen.go b/internal/gql/gql.gen.go index 7a38d04d..9b84a5af 100644 --- a/internal/gql/gql.gen.go +++ b/internal/gql/gql.gen.go @@ -14,13 +14,14 @@ import ( "github.com/99designs/gqlgen/graphql" "github.com/99designs/gqlgen/graphql/introspection" + "github.com/bitmagnet-io/bitmagnet/internal/client/model" "github.com/bitmagnet-io/bitmagnet/internal/database/query" "github.com/bitmagnet-io/bitmagnet/internal/database/search" "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel" "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" "github.com/bitmagnet-io/bitmagnet/internal/metrics/queuemetrics" "github.com/bitmagnet-io/bitmagnet/internal/metrics/torrentmetrics" - "github.com/bitmagnet-io/bitmagnet/internal/model" + model1 "github.com/bitmagnet-io/bitmagnet/internal/model" "github.com/bitmagnet-io/bitmagnet/internal/protocol" "github.com/bitmagnet-io/bitmagnet/internal/queue/manager" gqlparser "github.com/vektah/gqlparser/v2" @@ -64,7 +65,7 @@ type DirectiveRoot struct { type ComplexityRoot struct { ClientMutation struct { - SendTo func(childComplexity int, clientID *gen.ClientID, infoHashes []protocol.ID) int + SendTo func(childComplexity int, clientID *model.ID, infoHashes []protocol.ID) int } ClientSendToConfigQuery struct { @@ -444,10 +445,10 @@ type ComplexityRoot struct { } type ClientMutationResolver interface { - SendTo(ctx context.Context, obj *gqlmodel.ClientMutation, clientID *gen.ClientID, infoHashes []protocol.ID) (*string, error) + SendTo(ctx context.Context, obj *gqlmodel.ClientMutation, clientID *model.ID, infoHashes []protocol.ID) (*string, error) } type ContentResolver interface { - OriginalLanguage(ctx context.Context, obj *model.Content) (*model.Language, error) + OriginalLanguage(ctx context.Context, obj *model1.Content) (*model1.Language, error) } type MutationResolver interface { Torrent(ctx context.Context) (gqlmodel.TorrentMutation, error) @@ -464,13 +465,13 @@ type QueryResolver interface { SendToConfig(ctx context.Context) (gen.ClientSendToConfigQuery, error) } type QueueJobResolver interface { - RanAt(ctx context.Context, obj *model.QueueJob) (*time.Time, error) + RanAt(ctx context.Context, obj *model1.QueueJob) (*time.Time, error) } type QueueQueryResolver interface { Jobs(ctx context.Context, obj *gqlmodel.QueueQuery, input gqlmodel.QueueJobsQueryInput) (gqlmodel.QueueJobsQueryResult, error) } type TorrentResolver interface { - Sources(ctx context.Context, obj *model.Torrent) ([]gqlmodel.TorrentSourceInfo, error) + Sources(ctx context.Context, obj *model1.Torrent) ([]gqlmodel.TorrentSourceInfo, error) } type TorrentMutationResolver interface { Delete(ctx context.Context, obj *gqlmodel.TorrentMutation, infoHashes []protocol.ID) (*string, error) @@ -480,7 +481,7 @@ type TorrentMutationResolver interface { Reprocess(ctx context.Context, obj *gqlmodel.TorrentMutation, input gen.TorrentReprocessInput) (*string, error) } type TorrentQueryResolver interface { - Files(ctx context.Context, obj *gqlmodel.TorrentQuery, input gqlmodel.TorrentFilesQueryInput) (query.GenericResult[model.TorrentFile], error) + Files(ctx context.Context, obj *gqlmodel.TorrentQuery, input gqlmodel.TorrentFilesQueryInput) (query.GenericResult[model1.TorrentFile], error) } type QueueEnqueueReprocessTorrentsBatchInputResolver interface { @@ -516,7 +517,7 @@ func (e *executableSchema) Complexity(typeName, field string, childComplexity in return 0, false } - return e.complexity.ClientMutation.SendTo(childComplexity, args["clientID"].(*gen.ClientID), args["infoHashes"].([]protocol.ID)), true + return e.complexity.ClientMutation.SendTo(childComplexity, args["clientID"].(*model.ID), args["infoHashes"].([]protocol.ID)), true case "ClientSendToConfigQuery.enabled": if e.complexity.ClientSendToConfigQuery.Enabled == nil { @@ -2460,11 +2461,6 @@ enum QueueJobsOrderByField { ran_at priority } - -enum ClientID { - Transmission - QBittorrent -} `, BuiltIn: false}, {Name: "../../graphql/schema/metrics.graphqls", Input: `enum MetricsBucketDuration { minute @@ -2861,6 +2857,7 @@ scalar DateTime scalar Duration scalar Void scalar Year +scalar ClientID `, BuiltIn: false}, {Name: "../../graphql/schema/torrent_content.graphqls", Input: `input TorrentContentSearchQueryInput { queryString: String @@ -3078,18 +3075,18 @@ func (ec *executionContext) field_ClientMutation_sendTo_args(ctx context.Context func (ec *executionContext) field_ClientMutation_sendTo_argsClientID( ctx context.Context, rawArgs map[string]any, -) (*gen.ClientID, error) { +) (*model.ID, error) { if _, ok := rawArgs["clientID"]; !ok { - var zeroVal *gen.ClientID + var zeroVal *model.ID return zeroVal, nil } ctx = graphql.WithPathContext(ctx, graphql.NewPathWithField("clientID")) if tmp, ok := rawArgs["clientID"]; ok { - return ec.unmarshalOClientID2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx, tmp) + return ec.unmarshalOClientID2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐID(ctx, tmp) } - var zeroVal *gen.ClientID + var zeroVal *model.ID return zeroVal, nil } @@ -3706,7 +3703,7 @@ func (ec *executionContext) _ClientMutation_sendTo(ctx context.Context, field gr }() resTmp, err := ec.ResolverMiddleware(ctx, func(rctx context.Context) (any, error) { ctx = rctx // use context from middleware stack in children - return ec.resolvers.ClientMutation().SendTo(rctx, obj, fc.Args["clientID"].(*gen.ClientID), fc.Args["infoHashes"].([]protocol.ID)) + return ec.resolvers.ClientMutation().SendTo(rctx, obj, fc.Args["clientID"].(*model.ID), fc.Args["infoHashes"].([]protocol.ID)) }) if err != nil { ec.Error(ctx, err) @@ -3814,9 +3811,9 @@ func (ec *executionContext) _ClientSendToConfigQuery_sendTo(ctx context.Context, } return graphql.Null } - res := resTmp.([]gen.ClientID) + res := resTmp.([]model.ID) fc.Result = res - return ec.marshalNClientID2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientIDᚄ(ctx, field.Selections, res) + return ec.marshalNClientID2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐIDᚄ(ctx, field.Selections, res) } func (ec *executionContext) fieldContext_ClientSendToConfigQuery_sendTo(_ context.Context, field graphql.CollectedField) (fc *graphql.FieldContext, err error) { @@ -3832,7 +3829,7 @@ func (ec *executionContext) fieldContext_ClientSendToConfigQuery_sendTo(_ contex return fc, nil } -func (ec *executionContext) _Content_type(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_type(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_type(ctx, field) if err != nil { return graphql.Null @@ -3858,7 +3855,7 @@ func (ec *executionContext) _Content_type(ctx context.Context, field graphql.Col } return graphql.Null } - res := resTmp.(model.ContentType) + res := resTmp.(model1.ContentType) fc.Result = res return ec.marshalNContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx, field.Selections, res) } @@ -3876,7 +3873,7 @@ func (ec *executionContext) fieldContext_Content_type(_ context.Context, field g return fc, nil } -func (ec *executionContext) _Content_source(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_source(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_source(ctx, field) if err != nil { return graphql.Null @@ -3920,7 +3917,7 @@ func (ec *executionContext) fieldContext_Content_source(_ context.Context, field return fc, nil } -func (ec *executionContext) _Content_id(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_id(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_id(ctx, field) if err != nil { return graphql.Null @@ -3964,7 +3961,7 @@ func (ec *executionContext) fieldContext_Content_id(_ context.Context, field gra return fc, nil } -func (ec *executionContext) _Content_title(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_title(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_title(ctx, field) if err != nil { return graphql.Null @@ -4008,7 +4005,7 @@ func (ec *executionContext) fieldContext_Content_title(_ context.Context, field return fc, nil } -func (ec *executionContext) _Content_releaseDate(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_releaseDate(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_releaseDate(ctx, field) if err != nil { return graphql.Null @@ -4031,7 +4028,7 @@ func (ec *executionContext) _Content_releaseDate(ctx context.Context, field grap if resTmp == nil { return graphql.Null } - res := resTmp.(model.Date) + res := resTmp.(model1.Date) fc.Result = res return ec.marshalODate2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐDate(ctx, field.Selections, res) } @@ -4049,7 +4046,7 @@ func (ec *executionContext) fieldContext_Content_releaseDate(_ context.Context, return fc, nil } -func (ec *executionContext) _Content_releaseYear(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_releaseYear(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_releaseYear(ctx, field) if err != nil { return graphql.Null @@ -4072,7 +4069,7 @@ func (ec *executionContext) _Content_releaseYear(ctx context.Context, field grap if resTmp == nil { return graphql.Null } - res := resTmp.(model.Year) + res := resTmp.(model1.Year) fc.Result = res return ec.marshalOYear2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx, field.Selections, res) } @@ -4090,7 +4087,7 @@ func (ec *executionContext) fieldContext_Content_releaseYear(_ context.Context, return fc, nil } -func (ec *executionContext) _Content_adult(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_adult(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_adult(ctx, field) if err != nil { return graphql.Null @@ -4113,7 +4110,7 @@ func (ec *executionContext) _Content_adult(ctx context.Context, field graphql.Co if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullBool) + res := resTmp.(model1.NullBool) fc.Result = res return ec.marshalOBoolean2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullBool(ctx, field.Selections, res) } @@ -4131,7 +4128,7 @@ func (ec *executionContext) fieldContext_Content_adult(_ context.Context, field return fc, nil } -func (ec *executionContext) _Content_originalLanguage(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_originalLanguage(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_originalLanguage(ctx, field) if err != nil { return graphql.Null @@ -4154,7 +4151,7 @@ func (ec *executionContext) _Content_originalLanguage(ctx context.Context, field if resTmp == nil { return graphql.Null } - res := resTmp.(*model.Language) + res := resTmp.(*model1.Language) fc.Result = res return ec.marshalOLanguageInfo2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx, field.Selections, res) } @@ -4178,7 +4175,7 @@ func (ec *executionContext) fieldContext_Content_originalLanguage(_ context.Cont return fc, nil } -func (ec *executionContext) _Content_originalTitle(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_originalTitle(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_originalTitle(ctx, field) if err != nil { return graphql.Null @@ -4201,7 +4198,7 @@ func (ec *executionContext) _Content_originalTitle(ctx context.Context, field gr if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullString) + res := resTmp.(model1.NullString) fc.Result = res return ec.marshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx, field.Selections, res) } @@ -4219,7 +4216,7 @@ func (ec *executionContext) fieldContext_Content_originalTitle(_ context.Context return fc, nil } -func (ec *executionContext) _Content_overview(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_overview(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_overview(ctx, field) if err != nil { return graphql.Null @@ -4242,7 +4239,7 @@ func (ec *executionContext) _Content_overview(ctx context.Context, field graphql if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullString) + res := resTmp.(model1.NullString) fc.Result = res return ec.marshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx, field.Selections, res) } @@ -4260,7 +4257,7 @@ func (ec *executionContext) fieldContext_Content_overview(_ context.Context, fie return fc, nil } -func (ec *executionContext) _Content_runtime(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_runtime(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_runtime(ctx, field) if err != nil { return graphql.Null @@ -4283,7 +4280,7 @@ func (ec *executionContext) _Content_runtime(ctx context.Context, field graphql. if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullUint16) + res := resTmp.(model1.NullUint16) fc.Result = res return ec.marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint16(ctx, field.Selections, res) } @@ -4301,7 +4298,7 @@ func (ec *executionContext) fieldContext_Content_runtime(_ context.Context, fiel return fc, nil } -func (ec *executionContext) _Content_popularity(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_popularity(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_popularity(ctx, field) if err != nil { return graphql.Null @@ -4324,7 +4321,7 @@ func (ec *executionContext) _Content_popularity(ctx context.Context, field graph if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullFloat32) + res := resTmp.(model1.NullFloat32) fc.Result = res return ec.marshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat32(ctx, field.Selections, res) } @@ -4342,7 +4339,7 @@ func (ec *executionContext) fieldContext_Content_popularity(_ context.Context, f return fc, nil } -func (ec *executionContext) _Content_voteAverage(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_voteAverage(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_voteAverage(ctx, field) if err != nil { return graphql.Null @@ -4365,7 +4362,7 @@ func (ec *executionContext) _Content_voteAverage(ctx context.Context, field grap if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullFloat32) + res := resTmp.(model1.NullFloat32) fc.Result = res return ec.marshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat32(ctx, field.Selections, res) } @@ -4383,7 +4380,7 @@ func (ec *executionContext) fieldContext_Content_voteAverage(_ context.Context, return fc, nil } -func (ec *executionContext) _Content_voteCount(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_voteCount(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_voteCount(ctx, field) if err != nil { return graphql.Null @@ -4406,7 +4403,7 @@ func (ec *executionContext) _Content_voteCount(ctx context.Context, field graphq if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullUint) + res := resTmp.(model1.NullUint) fc.Result = res return ec.marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx, field.Selections, res) } @@ -4424,7 +4421,7 @@ func (ec *executionContext) fieldContext_Content_voteCount(_ context.Context, fi return fc, nil } -func (ec *executionContext) _Content_attributes(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_attributes(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_attributes(ctx, field) if err != nil { return graphql.Null @@ -4450,7 +4447,7 @@ func (ec *executionContext) _Content_attributes(ctx context.Context, field graph } return graphql.Null } - res := resTmp.([]model.ContentAttribute) + res := resTmp.([]model1.ContentAttribute) fc.Result = res return ec.marshalNContentAttribute2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentAttributeᚄ(ctx, field.Selections, res) } @@ -4482,7 +4479,7 @@ func (ec *executionContext) fieldContext_Content_attributes(_ context.Context, f return fc, nil } -func (ec *executionContext) _Content_collections(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_collections(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_collections(ctx, field) if err != nil { return graphql.Null @@ -4508,7 +4505,7 @@ func (ec *executionContext) _Content_collections(ctx context.Context, field grap } return graphql.Null } - res := resTmp.([]model.ContentCollection) + res := resTmp.([]model1.ContentCollection) fc.Result = res return ec.marshalNContentCollection2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentCollectionᚄ(ctx, field.Selections, res) } @@ -4542,7 +4539,7 @@ func (ec *executionContext) fieldContext_Content_collections(_ context.Context, return fc, nil } -func (ec *executionContext) _Content_metadataSource(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_metadataSource(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_metadataSource(ctx, field) if err != nil { return graphql.Null @@ -4568,7 +4565,7 @@ func (ec *executionContext) _Content_metadataSource(ctx context.Context, field g } return graphql.Null } - res := resTmp.(model.MetadataSource) + res := resTmp.(model1.MetadataSource) fc.Result = res return ec.marshalNMetadataSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐMetadataSource(ctx, field.Selections, res) } @@ -4592,7 +4589,7 @@ func (ec *executionContext) fieldContext_Content_metadataSource(_ context.Contex return fc, nil } -func (ec *executionContext) _Content_externalLinks(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_externalLinks(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_externalLinks(ctx, field) if err != nil { return graphql.Null @@ -4618,7 +4615,7 @@ func (ec *executionContext) _Content_externalLinks(ctx context.Context, field gr } return graphql.Null } - res := resTmp.([]model.ExternalLink) + res := resTmp.([]model1.ExternalLink) fc.Result = res return ec.marshalNExternalLink2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐExternalLinkᚄ(ctx, field.Selections, res) } @@ -4642,7 +4639,7 @@ func (ec *executionContext) fieldContext_Content_externalLinks(_ context.Context return fc, nil } -func (ec *executionContext) _Content_createdAt(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_createdAt(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_createdAt(ctx, field) if err != nil { return graphql.Null @@ -4686,7 +4683,7 @@ func (ec *executionContext) fieldContext_Content_createdAt(_ context.Context, fi return fc, nil } -func (ec *executionContext) _Content_updatedAt(ctx context.Context, field graphql.CollectedField, obj *model.Content) (ret graphql.Marshaler) { +func (ec *executionContext) _Content_updatedAt(ctx context.Context, field graphql.CollectedField, obj *model1.Content) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Content_updatedAt(ctx, field) if err != nil { return graphql.Null @@ -4730,7 +4727,7 @@ func (ec *executionContext) fieldContext_Content_updatedAt(_ context.Context, fi return fc, nil } -func (ec *executionContext) _ContentAttribute_source(ctx context.Context, field graphql.CollectedField, obj *model.ContentAttribute) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentAttribute_source(ctx context.Context, field graphql.CollectedField, obj *model1.ContentAttribute) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentAttribute_source(ctx, field) if err != nil { return graphql.Null @@ -4774,7 +4771,7 @@ func (ec *executionContext) fieldContext_ContentAttribute_source(_ context.Conte return fc, nil } -func (ec *executionContext) _ContentAttribute_key(ctx context.Context, field graphql.CollectedField, obj *model.ContentAttribute) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentAttribute_key(ctx context.Context, field graphql.CollectedField, obj *model1.ContentAttribute) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentAttribute_key(ctx, field) if err != nil { return graphql.Null @@ -4818,7 +4815,7 @@ func (ec *executionContext) fieldContext_ContentAttribute_key(_ context.Context, return fc, nil } -func (ec *executionContext) _ContentAttribute_value(ctx context.Context, field graphql.CollectedField, obj *model.ContentAttribute) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentAttribute_value(ctx context.Context, field graphql.CollectedField, obj *model1.ContentAttribute) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentAttribute_value(ctx, field) if err != nil { return graphql.Null @@ -4862,7 +4859,7 @@ func (ec *executionContext) fieldContext_ContentAttribute_value(_ context.Contex return fc, nil } -func (ec *executionContext) _ContentAttribute_metadataSource(ctx context.Context, field graphql.CollectedField, obj *model.ContentAttribute) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentAttribute_metadataSource(ctx context.Context, field graphql.CollectedField, obj *model1.ContentAttribute) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentAttribute_metadataSource(ctx, field) if err != nil { return graphql.Null @@ -4888,7 +4885,7 @@ func (ec *executionContext) _ContentAttribute_metadataSource(ctx context.Context } return graphql.Null } - res := resTmp.(model.MetadataSource) + res := resTmp.(model1.MetadataSource) fc.Result = res return ec.marshalNMetadataSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐMetadataSource(ctx, field.Selections, res) } @@ -4912,7 +4909,7 @@ func (ec *executionContext) fieldContext_ContentAttribute_metadataSource(_ conte return fc, nil } -func (ec *executionContext) _ContentAttribute_createdAt(ctx context.Context, field graphql.CollectedField, obj *model.ContentAttribute) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentAttribute_createdAt(ctx context.Context, field graphql.CollectedField, obj *model1.ContentAttribute) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentAttribute_createdAt(ctx, field) if err != nil { return graphql.Null @@ -4956,7 +4953,7 @@ func (ec *executionContext) fieldContext_ContentAttribute_createdAt(_ context.Co return fc, nil } -func (ec *executionContext) _ContentAttribute_updatedAt(ctx context.Context, field graphql.CollectedField, obj *model.ContentAttribute) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentAttribute_updatedAt(ctx context.Context, field graphql.CollectedField, obj *model1.ContentAttribute) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentAttribute_updatedAt(ctx, field) if err != nil { return graphql.Null @@ -5000,7 +4997,7 @@ func (ec *executionContext) fieldContext_ContentAttribute_updatedAt(_ context.Co return fc, nil } -func (ec *executionContext) _ContentCollection_type(ctx context.Context, field graphql.CollectedField, obj *model.ContentCollection) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentCollection_type(ctx context.Context, field graphql.CollectedField, obj *model1.ContentCollection) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentCollection_type(ctx, field) if err != nil { return graphql.Null @@ -5044,7 +5041,7 @@ func (ec *executionContext) fieldContext_ContentCollection_type(_ context.Contex return fc, nil } -func (ec *executionContext) _ContentCollection_source(ctx context.Context, field graphql.CollectedField, obj *model.ContentCollection) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentCollection_source(ctx context.Context, field graphql.CollectedField, obj *model1.ContentCollection) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentCollection_source(ctx, field) if err != nil { return graphql.Null @@ -5088,7 +5085,7 @@ func (ec *executionContext) fieldContext_ContentCollection_source(_ context.Cont return fc, nil } -func (ec *executionContext) _ContentCollection_id(ctx context.Context, field graphql.CollectedField, obj *model.ContentCollection) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentCollection_id(ctx context.Context, field graphql.CollectedField, obj *model1.ContentCollection) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentCollection_id(ctx, field) if err != nil { return graphql.Null @@ -5132,7 +5129,7 @@ func (ec *executionContext) fieldContext_ContentCollection_id(_ context.Context, return fc, nil } -func (ec *executionContext) _ContentCollection_name(ctx context.Context, field graphql.CollectedField, obj *model.ContentCollection) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentCollection_name(ctx context.Context, field graphql.CollectedField, obj *model1.ContentCollection) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentCollection_name(ctx, field) if err != nil { return graphql.Null @@ -5176,7 +5173,7 @@ func (ec *executionContext) fieldContext_ContentCollection_name(_ context.Contex return fc, nil } -func (ec *executionContext) _ContentCollection_metadataSource(ctx context.Context, field graphql.CollectedField, obj *model.ContentCollection) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentCollection_metadataSource(ctx context.Context, field graphql.CollectedField, obj *model1.ContentCollection) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentCollection_metadataSource(ctx, field) if err != nil { return graphql.Null @@ -5202,7 +5199,7 @@ func (ec *executionContext) _ContentCollection_metadataSource(ctx context.Contex } return graphql.Null } - res := resTmp.(model.MetadataSource) + res := resTmp.(model1.MetadataSource) fc.Result = res return ec.marshalNMetadataSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐMetadataSource(ctx, field.Selections, res) } @@ -5226,7 +5223,7 @@ func (ec *executionContext) fieldContext_ContentCollection_metadataSource(_ cont return fc, nil } -func (ec *executionContext) _ContentCollection_createdAt(ctx context.Context, field graphql.CollectedField, obj *model.ContentCollection) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentCollection_createdAt(ctx context.Context, field graphql.CollectedField, obj *model1.ContentCollection) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentCollection_createdAt(ctx, field) if err != nil { return graphql.Null @@ -5270,7 +5267,7 @@ func (ec *executionContext) fieldContext_ContentCollection_createdAt(_ context.C return fc, nil } -func (ec *executionContext) _ContentCollection_updatedAt(ctx context.Context, field graphql.CollectedField, obj *model.ContentCollection) (ret graphql.Marshaler) { +func (ec *executionContext) _ContentCollection_updatedAt(ctx context.Context, field graphql.CollectedField, obj *model1.ContentCollection) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ContentCollection_updatedAt(ctx, field) if err != nil { return graphql.Null @@ -5337,7 +5334,7 @@ func (ec *executionContext) _ContentTypeAgg_value(ctx context.Context, field gra if resTmp == nil { return graphql.Null } - res := resTmp.(*model.ContentType) + res := resTmp.(*model1.ContentType) fc.Result = res return ec.marshalOContentType2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx, field.Selections, res) } @@ -5557,7 +5554,7 @@ func (ec *executionContext) _Episodes_seasons(ctx context.Context, field graphql } return graphql.Null } - res := resTmp.([]model.Season) + res := resTmp.([]model1.Season) fc.Result = res return ec.marshalNSeason2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐSeasonᚄ(ctx, field.Selections, res) } @@ -5581,7 +5578,7 @@ func (ec *executionContext) fieldContext_Episodes_seasons(_ context.Context, fie return fc, nil } -func (ec *executionContext) _ExternalLink_metadataSource(ctx context.Context, field graphql.CollectedField, obj *model.ExternalLink) (ret graphql.Marshaler) { +func (ec *executionContext) _ExternalLink_metadataSource(ctx context.Context, field graphql.CollectedField, obj *model1.ExternalLink) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ExternalLink_metadataSource(ctx, field) if err != nil { return graphql.Null @@ -5607,7 +5604,7 @@ func (ec *executionContext) _ExternalLink_metadataSource(ctx context.Context, fi } return graphql.Null } - res := resTmp.(model.MetadataSource) + res := resTmp.(model1.MetadataSource) fc.Result = res return ec.marshalNMetadataSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐMetadataSource(ctx, field.Selections, res) } @@ -5631,7 +5628,7 @@ func (ec *executionContext) fieldContext_ExternalLink_metadataSource(_ context.C return fc, nil } -func (ec *executionContext) _ExternalLink_url(ctx context.Context, field graphql.CollectedField, obj *model.ExternalLink) (ret graphql.Marshaler) { +func (ec *executionContext) _ExternalLink_url(ctx context.Context, field graphql.CollectedField, obj *model1.ExternalLink) (ret graphql.Marshaler) { fc, err := ec.fieldContext_ExternalLink_url(ctx, field) if err != nil { return graphql.Null @@ -6148,7 +6145,7 @@ func (ec *executionContext) _LanguageAgg_value(ctx context.Context, field graphq } return graphql.Null } - res := resTmp.(model.Language) + res := resTmp.(model1.Language) fc.Result = res return ec.marshalNLanguage2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx, field.Selections, res) } @@ -6298,7 +6295,7 @@ func (ec *executionContext) fieldContext_LanguageAgg_isEstimate(_ context.Contex return fc, nil } -func (ec *executionContext) _LanguageInfo_id(ctx context.Context, field graphql.CollectedField, obj *model.Language) (ret graphql.Marshaler) { +func (ec *executionContext) _LanguageInfo_id(ctx context.Context, field graphql.CollectedField, obj *model1.Language) (ret graphql.Marshaler) { fc, err := ec.fieldContext_LanguageInfo_id(ctx, field) if err != nil { return graphql.Null @@ -6342,7 +6339,7 @@ func (ec *executionContext) fieldContext_LanguageInfo_id(_ context.Context, fiel return fc, nil } -func (ec *executionContext) _LanguageInfo_name(ctx context.Context, field graphql.CollectedField, obj *model.Language) (ret graphql.Marshaler) { +func (ec *executionContext) _LanguageInfo_name(ctx context.Context, field graphql.CollectedField, obj *model1.Language) (ret graphql.Marshaler) { fc, err := ec.fieldContext_LanguageInfo_name(ctx, field) if err != nil { return graphql.Null @@ -6386,7 +6383,7 @@ func (ec *executionContext) fieldContext_LanguageInfo_name(_ context.Context, fi return fc, nil } -func (ec *executionContext) _MetadataSource_key(ctx context.Context, field graphql.CollectedField, obj *model.MetadataSource) (ret graphql.Marshaler) { +func (ec *executionContext) _MetadataSource_key(ctx context.Context, field graphql.CollectedField, obj *model1.MetadataSource) (ret graphql.Marshaler) { fc, err := ec.fieldContext_MetadataSource_key(ctx, field) if err != nil { return graphql.Null @@ -6430,7 +6427,7 @@ func (ec *executionContext) fieldContext_MetadataSource_key(_ context.Context, f return fc, nil } -func (ec *executionContext) _MetadataSource_name(ctx context.Context, field graphql.CollectedField, obj *model.MetadataSource) (ret graphql.Marshaler) { +func (ec *executionContext) _MetadataSource_name(ctx context.Context, field graphql.CollectedField, obj *model1.MetadataSource) (ret graphql.Marshaler) { fc, err := ec.fieldContext_MetadataSource_name(ctx, field) if err != nil { return graphql.Null @@ -7103,7 +7100,7 @@ func (ec *executionContext) fieldContext_Query___schema(_ context.Context, field return fc, nil } -func (ec *executionContext) _QueueJob_id(ctx context.Context, field graphql.CollectedField, obj *model.QueueJob) (ret graphql.Marshaler) { +func (ec *executionContext) _QueueJob_id(ctx context.Context, field graphql.CollectedField, obj *model1.QueueJob) (ret graphql.Marshaler) { fc, err := ec.fieldContext_QueueJob_id(ctx, field) if err != nil { return graphql.Null @@ -7147,7 +7144,7 @@ func (ec *executionContext) fieldContext_QueueJob_id(_ context.Context, field gr return fc, nil } -func (ec *executionContext) _QueueJob_queue(ctx context.Context, field graphql.CollectedField, obj *model.QueueJob) (ret graphql.Marshaler) { +func (ec *executionContext) _QueueJob_queue(ctx context.Context, field graphql.CollectedField, obj *model1.QueueJob) (ret graphql.Marshaler) { fc, err := ec.fieldContext_QueueJob_queue(ctx, field) if err != nil { return graphql.Null @@ -7191,7 +7188,7 @@ func (ec *executionContext) fieldContext_QueueJob_queue(_ context.Context, field return fc, nil } -func (ec *executionContext) _QueueJob_status(ctx context.Context, field graphql.CollectedField, obj *model.QueueJob) (ret graphql.Marshaler) { +func (ec *executionContext) _QueueJob_status(ctx context.Context, field graphql.CollectedField, obj *model1.QueueJob) (ret graphql.Marshaler) { fc, err := ec.fieldContext_QueueJob_status(ctx, field) if err != nil { return graphql.Null @@ -7217,7 +7214,7 @@ func (ec *executionContext) _QueueJob_status(ctx context.Context, field graphql. } return graphql.Null } - res := resTmp.(model.QueueJobStatus) + res := resTmp.(model1.QueueJobStatus) fc.Result = res return ec.marshalNQueueJobStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatus(ctx, field.Selections, res) } @@ -7235,7 +7232,7 @@ func (ec *executionContext) fieldContext_QueueJob_status(_ context.Context, fiel return fc, nil } -func (ec *executionContext) _QueueJob_payload(ctx context.Context, field graphql.CollectedField, obj *model.QueueJob) (ret graphql.Marshaler) { +func (ec *executionContext) _QueueJob_payload(ctx context.Context, field graphql.CollectedField, obj *model1.QueueJob) (ret graphql.Marshaler) { fc, err := ec.fieldContext_QueueJob_payload(ctx, field) if err != nil { return graphql.Null @@ -7279,7 +7276,7 @@ func (ec *executionContext) fieldContext_QueueJob_payload(_ context.Context, fie return fc, nil } -func (ec *executionContext) _QueueJob_priority(ctx context.Context, field graphql.CollectedField, obj *model.QueueJob) (ret graphql.Marshaler) { +func (ec *executionContext) _QueueJob_priority(ctx context.Context, field graphql.CollectedField, obj *model1.QueueJob) (ret graphql.Marshaler) { fc, err := ec.fieldContext_QueueJob_priority(ctx, field) if err != nil { return graphql.Null @@ -7323,7 +7320,7 @@ func (ec *executionContext) fieldContext_QueueJob_priority(_ context.Context, fi return fc, nil } -func (ec *executionContext) _QueueJob_retries(ctx context.Context, field graphql.CollectedField, obj *model.QueueJob) (ret graphql.Marshaler) { +func (ec *executionContext) _QueueJob_retries(ctx context.Context, field graphql.CollectedField, obj *model1.QueueJob) (ret graphql.Marshaler) { fc, err := ec.fieldContext_QueueJob_retries(ctx, field) if err != nil { return graphql.Null @@ -7367,7 +7364,7 @@ func (ec *executionContext) fieldContext_QueueJob_retries(_ context.Context, fie return fc, nil } -func (ec *executionContext) _QueueJob_maxRetries(ctx context.Context, field graphql.CollectedField, obj *model.QueueJob) (ret graphql.Marshaler) { +func (ec *executionContext) _QueueJob_maxRetries(ctx context.Context, field graphql.CollectedField, obj *model1.QueueJob) (ret graphql.Marshaler) { fc, err := ec.fieldContext_QueueJob_maxRetries(ctx, field) if err != nil { return graphql.Null @@ -7411,7 +7408,7 @@ func (ec *executionContext) fieldContext_QueueJob_maxRetries(_ context.Context, return fc, nil } -func (ec *executionContext) _QueueJob_runAfter(ctx context.Context, field graphql.CollectedField, obj *model.QueueJob) (ret graphql.Marshaler) { +func (ec *executionContext) _QueueJob_runAfter(ctx context.Context, field graphql.CollectedField, obj *model1.QueueJob) (ret graphql.Marshaler) { fc, err := ec.fieldContext_QueueJob_runAfter(ctx, field) if err != nil { return graphql.Null @@ -7455,7 +7452,7 @@ func (ec *executionContext) fieldContext_QueueJob_runAfter(_ context.Context, fi return fc, nil } -func (ec *executionContext) _QueueJob_ranAt(ctx context.Context, field graphql.CollectedField, obj *model.QueueJob) (ret graphql.Marshaler) { +func (ec *executionContext) _QueueJob_ranAt(ctx context.Context, field graphql.CollectedField, obj *model1.QueueJob) (ret graphql.Marshaler) { fc, err := ec.fieldContext_QueueJob_ranAt(ctx, field) if err != nil { return graphql.Null @@ -7496,7 +7493,7 @@ func (ec *executionContext) fieldContext_QueueJob_ranAt(_ context.Context, field return fc, nil } -func (ec *executionContext) _QueueJob_error(ctx context.Context, field graphql.CollectedField, obj *model.QueueJob) (ret graphql.Marshaler) { +func (ec *executionContext) _QueueJob_error(ctx context.Context, field graphql.CollectedField, obj *model1.QueueJob) (ret graphql.Marshaler) { fc, err := ec.fieldContext_QueueJob_error(ctx, field) if err != nil { return graphql.Null @@ -7519,7 +7516,7 @@ func (ec *executionContext) _QueueJob_error(ctx context.Context, field graphql.C if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullString) + res := resTmp.(model1.NullString) fc.Result = res return ec.marshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx, field.Selections, res) } @@ -7537,7 +7534,7 @@ func (ec *executionContext) fieldContext_QueueJob_error(_ context.Context, field return fc, nil } -func (ec *executionContext) _QueueJob_createdAt(ctx context.Context, field graphql.CollectedField, obj *model.QueueJob) (ret graphql.Marshaler) { +func (ec *executionContext) _QueueJob_createdAt(ctx context.Context, field graphql.CollectedField, obj *model1.QueueJob) (ret graphql.Marshaler) { fc, err := ec.fieldContext_QueueJob_createdAt(ctx, field) if err != nil { return graphql.Null @@ -7739,7 +7736,7 @@ func (ec *executionContext) _QueueJobStatusAgg_value(ctx context.Context, field } return graphql.Null } - res := resTmp.(model.QueueJobStatus) + res := resTmp.(model1.QueueJobStatus) fc.Result = res return ec.marshalNQueueJobStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatus(ctx, field.Selections, res) } @@ -8054,7 +8051,7 @@ func (ec *executionContext) _QueueJobsQueryResult_items(ctx context.Context, fie } return graphql.Null } - res := resTmp.([]model.QueueJob) + res := resTmp.([]model1.QueueJob) fc.Result = res return ec.marshalNQueueJob2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobᚄ(ctx, field.Selections, res) } @@ -8216,7 +8213,7 @@ func (ec *executionContext) _QueueMetricsBucket_status(ctx context.Context, fiel } return graphql.Null } - res := resTmp.(model.QueueJobStatus) + res := resTmp.(model1.QueueJobStatus) fc.Result = res return ec.marshalNQueueJobStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatus(ctx, field.Selections, res) } @@ -8713,7 +8710,7 @@ func (ec *executionContext) _ReleaseYearAgg_value(ctx context.Context, field gra if resTmp == nil { return graphql.Null } - res := resTmp.(*model.Year) + res := resTmp.(*model1.Year) fc.Result = res return ec.marshalOYear2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx, field.Selections, res) } @@ -8863,7 +8860,7 @@ func (ec *executionContext) fieldContext_ReleaseYearAgg_isEstimate(_ context.Con return fc, nil } -func (ec *executionContext) _Season_season(ctx context.Context, field graphql.CollectedField, obj *model.Season) (ret graphql.Marshaler) { +func (ec *executionContext) _Season_season(ctx context.Context, field graphql.CollectedField, obj *model1.Season) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Season_season(ctx, field) if err != nil { return graphql.Null @@ -8907,7 +8904,7 @@ func (ec *executionContext) fieldContext_Season_season(_ context.Context, field return fc, nil } -func (ec *executionContext) _Season_episodes(ctx context.Context, field graphql.CollectedField, obj *model.Season) (ret graphql.Marshaler) { +func (ec *executionContext) _Season_episodes(ctx context.Context, field graphql.CollectedField, obj *model1.Season) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Season_episodes(ctx, field) if err != nil { return graphql.Null @@ -9036,7 +9033,7 @@ func (ec *executionContext) fieldContext_SuggestedTag_count(_ context.Context, f return fc, nil } -func (ec *executionContext) _Torrent_infoHash(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_infoHash(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_infoHash(ctx, field) if err != nil { return graphql.Null @@ -9080,7 +9077,7 @@ func (ec *executionContext) fieldContext_Torrent_infoHash(_ context.Context, fie return fc, nil } -func (ec *executionContext) _Torrent_name(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_name(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_name(ctx, field) if err != nil { return graphql.Null @@ -9124,7 +9121,7 @@ func (ec *executionContext) fieldContext_Torrent_name(_ context.Context, field g return fc, nil } -func (ec *executionContext) _Torrent_size(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_size(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_size(ctx, field) if err != nil { return graphql.Null @@ -9168,7 +9165,7 @@ func (ec *executionContext) fieldContext_Torrent_size(_ context.Context, field g return fc, nil } -func (ec *executionContext) _Torrent_hasFilesInfo(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_hasFilesInfo(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_hasFilesInfo(ctx, field) if err != nil { return graphql.Null @@ -9212,7 +9209,7 @@ func (ec *executionContext) fieldContext_Torrent_hasFilesInfo(_ context.Context, return fc, nil } -func (ec *executionContext) _Torrent_singleFile(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_singleFile(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_singleFile(ctx, field) if err != nil { return graphql.Null @@ -9253,7 +9250,7 @@ func (ec *executionContext) fieldContext_Torrent_singleFile(_ context.Context, f return fc, nil } -func (ec *executionContext) _Torrent_extension(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_extension(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_extension(ctx, field) if err != nil { return graphql.Null @@ -9276,7 +9273,7 @@ func (ec *executionContext) _Torrent_extension(ctx context.Context, field graphq if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullString) + res := resTmp.(model1.NullString) fc.Result = res return ec.marshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx, field.Selections, res) } @@ -9294,7 +9291,7 @@ func (ec *executionContext) fieldContext_Torrent_extension(_ context.Context, fi return fc, nil } -func (ec *executionContext) _Torrent_filesStatus(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_filesStatus(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_filesStatus(ctx, field) if err != nil { return graphql.Null @@ -9320,7 +9317,7 @@ func (ec *executionContext) _Torrent_filesStatus(ctx context.Context, field grap } return graphql.Null } - res := resTmp.(model.FilesStatus) + res := resTmp.(model1.FilesStatus) fc.Result = res return ec.marshalNFilesStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFilesStatus(ctx, field.Selections, res) } @@ -9338,7 +9335,7 @@ func (ec *executionContext) fieldContext_Torrent_filesStatus(_ context.Context, return fc, nil } -func (ec *executionContext) _Torrent_filesCount(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_filesCount(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_filesCount(ctx, field) if err != nil { return graphql.Null @@ -9361,7 +9358,7 @@ func (ec *executionContext) _Torrent_filesCount(ctx context.Context, field graph if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullUint) + res := resTmp.(model1.NullUint) fc.Result = res return ec.marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx, field.Selections, res) } @@ -9379,7 +9376,7 @@ func (ec *executionContext) fieldContext_Torrent_filesCount(_ context.Context, f return fc, nil } -func (ec *executionContext) _Torrent_fileType(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_fileType(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_fileType(ctx, field) if err != nil { return graphql.Null @@ -9402,7 +9399,7 @@ func (ec *executionContext) _Torrent_fileType(ctx context.Context, field graphql if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullFileType) + res := resTmp.(model1.NullFileType) fc.Result = res return ec.marshalOFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFileType(ctx, field.Selections, res) } @@ -9420,7 +9417,7 @@ func (ec *executionContext) fieldContext_Torrent_fileType(_ context.Context, fie return fc, nil } -func (ec *executionContext) _Torrent_fileTypes(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_fileTypes(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_fileTypes(ctx, field) if err != nil { return graphql.Null @@ -9443,7 +9440,7 @@ func (ec *executionContext) _Torrent_fileTypes(ctx context.Context, field graphq if resTmp == nil { return graphql.Null } - res := resTmp.([]model.FileType) + res := resTmp.([]model1.FileType) fc.Result = res return ec.marshalOFileType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileTypeᚄ(ctx, field.Selections, res) } @@ -9461,7 +9458,7 @@ func (ec *executionContext) fieldContext_Torrent_fileTypes(_ context.Context, fi return fc, nil } -func (ec *executionContext) _Torrent_files(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_files(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_files(ctx, field) if err != nil { return graphql.Null @@ -9484,7 +9481,7 @@ func (ec *executionContext) _Torrent_files(ctx context.Context, field graphql.Co if resTmp == nil { return graphql.Null } - res := resTmp.([]model.TorrentFile) + res := resTmp.([]model1.TorrentFile) fc.Result = res return ec.marshalOTorrentFile2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentFileᚄ(ctx, field.Selections, res) } @@ -9520,7 +9517,7 @@ func (ec *executionContext) fieldContext_Torrent_files(_ context.Context, field return fc, nil } -func (ec *executionContext) _Torrent_sources(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_sources(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_sources(ctx, field) if err != nil { return graphql.Null @@ -9576,7 +9573,7 @@ func (ec *executionContext) fieldContext_Torrent_sources(_ context.Context, fiel return fc, nil } -func (ec *executionContext) _Torrent_seeders(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_seeders(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_seeders(ctx, field) if err != nil { return graphql.Null @@ -9599,7 +9596,7 @@ func (ec *executionContext) _Torrent_seeders(ctx context.Context, field graphql. if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullUint) + res := resTmp.(model1.NullUint) fc.Result = res return ec.marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx, field.Selections, res) } @@ -9617,7 +9614,7 @@ func (ec *executionContext) fieldContext_Torrent_seeders(_ context.Context, fiel return fc, nil } -func (ec *executionContext) _Torrent_leechers(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_leechers(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_leechers(ctx, field) if err != nil { return graphql.Null @@ -9640,7 +9637,7 @@ func (ec *executionContext) _Torrent_leechers(ctx context.Context, field graphql if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullUint) + res := resTmp.(model1.NullUint) fc.Result = res return ec.marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx, field.Selections, res) } @@ -9658,7 +9655,7 @@ func (ec *executionContext) fieldContext_Torrent_leechers(_ context.Context, fie return fc, nil } -func (ec *executionContext) _Torrent_tagNames(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_tagNames(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_tagNames(ctx, field) if err != nil { return graphql.Null @@ -9702,7 +9699,7 @@ func (ec *executionContext) fieldContext_Torrent_tagNames(_ context.Context, fie return fc, nil } -func (ec *executionContext) _Torrent_magnetUri(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_magnetUri(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_magnetUri(ctx, field) if err != nil { return graphql.Null @@ -9746,7 +9743,7 @@ func (ec *executionContext) fieldContext_Torrent_magnetUri(_ context.Context, fi return fc, nil } -func (ec *executionContext) _Torrent_createdAt(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_createdAt(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_createdAt(ctx, field) if err != nil { return graphql.Null @@ -9790,7 +9787,7 @@ func (ec *executionContext) fieldContext_Torrent_createdAt(_ context.Context, fi return fc, nil } -func (ec *executionContext) _Torrent_updatedAt(ctx context.Context, field graphql.CollectedField, obj *model.Torrent) (ret graphql.Marshaler) { +func (ec *executionContext) _Torrent_updatedAt(ctx context.Context, field graphql.CollectedField, obj *model1.Torrent) (ret graphql.Marshaler) { fc, err := ec.fieldContext_Torrent_updatedAt(ctx, field) if err != nil { return graphql.Null @@ -9948,7 +9945,7 @@ func (ec *executionContext) _TorrentContent_torrent(ctx context.Context, field g } return graphql.Null } - res := resTmp.(model.Torrent) + res := resTmp.(model1.Torrent) fc.Result = res return ec.marshalNTorrent2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrent(ctx, field.Selections, res) } @@ -10027,7 +10024,7 @@ func (ec *executionContext) _TorrentContent_contentType(ctx context.Context, fie if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullContentType) + res := resTmp.(model1.NullContentType) fc.Result = res return ec.marshalOContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx, field.Selections, res) } @@ -10068,7 +10065,7 @@ func (ec *executionContext) _TorrentContent_contentSource(ctx context.Context, f if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullString) + res := resTmp.(model1.NullString) fc.Result = res return ec.marshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx, field.Selections, res) } @@ -10109,7 +10106,7 @@ func (ec *executionContext) _TorrentContent_contentId(ctx context.Context, field if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullString) + res := resTmp.(model1.NullString) fc.Result = res return ec.marshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx, field.Selections, res) } @@ -10150,7 +10147,7 @@ func (ec *executionContext) _TorrentContent_content(ctx context.Context, field g if resTmp == nil { return graphql.Null } - res := resTmp.(*model.Content) + res := resTmp.(*model1.Content) fc.Result = res return ec.marshalOContent2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContent(ctx, field.Selections, res) } @@ -10277,7 +10274,7 @@ func (ec *executionContext) _TorrentContent_languages(ctx context.Context, field if resTmp == nil { return graphql.Null } - res := resTmp.([]model.Language) + res := resTmp.([]model1.Language) fc.Result = res return ec.marshalOLanguageInfo2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguageᚄ(ctx, field.Selections, res) } @@ -10371,7 +10368,7 @@ func (ec *executionContext) _TorrentContent_videoResolution(ctx context.Context, if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullVideoResolution) + res := resTmp.(model1.NullVideoResolution) fc.Result = res return ec.marshalOVideoResolution2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoResolution(ctx, field.Selections, res) } @@ -10412,7 +10409,7 @@ func (ec *executionContext) _TorrentContent_videoSource(ctx context.Context, fie if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullVideoSource) + res := resTmp.(model1.NullVideoSource) fc.Result = res return ec.marshalOVideoSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoSource(ctx, field.Selections, res) } @@ -10453,7 +10450,7 @@ func (ec *executionContext) _TorrentContent_videoCodec(ctx context.Context, fiel if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullVideoCodec) + res := resTmp.(model1.NullVideoCodec) fc.Result = res return ec.marshalOVideoCodec2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoCodec(ctx, field.Selections, res) } @@ -10494,7 +10491,7 @@ func (ec *executionContext) _TorrentContent_video3d(ctx context.Context, field g if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullVideo3D) + res := resTmp.(model1.NullVideo3D) fc.Result = res return ec.marshalOVideo3D2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideo3D(ctx, field.Selections, res) } @@ -10535,7 +10532,7 @@ func (ec *executionContext) _TorrentContent_videoModifier(ctx context.Context, f if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullVideoModifier) + res := resTmp.(model1.NullVideoModifier) fc.Result = res return ec.marshalOVideoModifier2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoModifier(ctx, field.Selections, res) } @@ -10576,7 +10573,7 @@ func (ec *executionContext) _TorrentContent_releaseGroup(ctx context.Context, fi if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullString) + res := resTmp.(model1.NullString) fc.Result = res return ec.marshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx, field.Selections, res) } @@ -10617,7 +10614,7 @@ func (ec *executionContext) _TorrentContent_seeders(ctx context.Context, field g if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullUint) + res := resTmp.(model1.NullUint) fc.Result = res return ec.marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx, field.Selections, res) } @@ -10658,7 +10655,7 @@ func (ec *executionContext) _TorrentContent_leechers(ctx context.Context, field if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullUint) + res := resTmp.(model1.NullUint) fc.Result = res return ec.marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx, field.Selections, res) } @@ -11615,7 +11612,7 @@ func (ec *executionContext) fieldContext_TorrentContentSearchResult_aggregations return fc, nil } -func (ec *executionContext) _TorrentFile_infoHash(ctx context.Context, field graphql.CollectedField, obj *model.TorrentFile) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentFile_infoHash(ctx context.Context, field graphql.CollectedField, obj *model1.TorrentFile) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentFile_infoHash(ctx, field) if err != nil { return graphql.Null @@ -11659,7 +11656,7 @@ func (ec *executionContext) fieldContext_TorrentFile_infoHash(_ context.Context, return fc, nil } -func (ec *executionContext) _TorrentFile_index(ctx context.Context, field graphql.CollectedField, obj *model.TorrentFile) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentFile_index(ctx context.Context, field graphql.CollectedField, obj *model1.TorrentFile) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentFile_index(ctx, field) if err != nil { return graphql.Null @@ -11703,7 +11700,7 @@ func (ec *executionContext) fieldContext_TorrentFile_index(_ context.Context, fi return fc, nil } -func (ec *executionContext) _TorrentFile_path(ctx context.Context, field graphql.CollectedField, obj *model.TorrentFile) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentFile_path(ctx context.Context, field graphql.CollectedField, obj *model1.TorrentFile) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentFile_path(ctx, field) if err != nil { return graphql.Null @@ -11747,7 +11744,7 @@ func (ec *executionContext) fieldContext_TorrentFile_path(_ context.Context, fie return fc, nil } -func (ec *executionContext) _TorrentFile_extension(ctx context.Context, field graphql.CollectedField, obj *model.TorrentFile) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentFile_extension(ctx context.Context, field graphql.CollectedField, obj *model1.TorrentFile) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentFile_extension(ctx, field) if err != nil { return graphql.Null @@ -11770,7 +11767,7 @@ func (ec *executionContext) _TorrentFile_extension(ctx context.Context, field gr if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullString) + res := resTmp.(model1.NullString) fc.Result = res return ec.marshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx, field.Selections, res) } @@ -11788,7 +11785,7 @@ func (ec *executionContext) fieldContext_TorrentFile_extension(_ context.Context return fc, nil } -func (ec *executionContext) _TorrentFile_fileType(ctx context.Context, field graphql.CollectedField, obj *model.TorrentFile) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentFile_fileType(ctx context.Context, field graphql.CollectedField, obj *model1.TorrentFile) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentFile_fileType(ctx, field) if err != nil { return graphql.Null @@ -11811,7 +11808,7 @@ func (ec *executionContext) _TorrentFile_fileType(ctx context.Context, field gra if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullFileType) + res := resTmp.(model1.NullFileType) fc.Result = res return ec.marshalOFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFileType(ctx, field.Selections, res) } @@ -11829,7 +11826,7 @@ func (ec *executionContext) fieldContext_TorrentFile_fileType(_ context.Context, return fc, nil } -func (ec *executionContext) _TorrentFile_size(ctx context.Context, field graphql.CollectedField, obj *model.TorrentFile) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentFile_size(ctx context.Context, field graphql.CollectedField, obj *model1.TorrentFile) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentFile_size(ctx, field) if err != nil { return graphql.Null @@ -11873,7 +11870,7 @@ func (ec *executionContext) fieldContext_TorrentFile_size(_ context.Context, fie return fc, nil } -func (ec *executionContext) _TorrentFile_createdAt(ctx context.Context, field graphql.CollectedField, obj *model.TorrentFile) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentFile_createdAt(ctx context.Context, field graphql.CollectedField, obj *model1.TorrentFile) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentFile_createdAt(ctx, field) if err != nil { return graphql.Null @@ -11917,7 +11914,7 @@ func (ec *executionContext) fieldContext_TorrentFile_createdAt(_ context.Context return fc, nil } -func (ec *executionContext) _TorrentFile_updatedAt(ctx context.Context, field graphql.CollectedField, obj *model.TorrentFile) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentFile_updatedAt(ctx context.Context, field graphql.CollectedField, obj *model1.TorrentFile) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentFile_updatedAt(ctx, field) if err != nil { return graphql.Null @@ -11987,7 +11984,7 @@ func (ec *executionContext) _TorrentFileTypeAgg_value(ctx context.Context, field } return graphql.Null } - res := resTmp.(model.FileType) + res := resTmp.(model1.FileType) fc.Result = res return ec.marshalNFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileType(ctx, field.Selections, res) } @@ -12137,7 +12134,7 @@ func (ec *executionContext) fieldContext_TorrentFileTypeAgg_isEstimate(_ context return fc, nil } -func (ec *executionContext) _TorrentFilesQueryResult_totalCount(ctx context.Context, field graphql.CollectedField, obj *query.GenericResult[model.TorrentFile]) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentFilesQueryResult_totalCount(ctx context.Context, field graphql.CollectedField, obj *query.GenericResult[model1.TorrentFile]) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentFilesQueryResult_totalCount(ctx, field) if err != nil { return graphql.Null @@ -12181,7 +12178,7 @@ func (ec *executionContext) fieldContext_TorrentFilesQueryResult_totalCount(_ co return fc, nil } -func (ec *executionContext) _TorrentFilesQueryResult_hasNextPage(ctx context.Context, field graphql.CollectedField, obj *query.GenericResult[model.TorrentFile]) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentFilesQueryResult_hasNextPage(ctx context.Context, field graphql.CollectedField, obj *query.GenericResult[model1.TorrentFile]) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentFilesQueryResult_hasNextPage(ctx, field) if err != nil { return graphql.Null @@ -12222,7 +12219,7 @@ func (ec *executionContext) fieldContext_TorrentFilesQueryResult_hasNextPage(_ c return fc, nil } -func (ec *executionContext) _TorrentFilesQueryResult_items(ctx context.Context, field graphql.CollectedField, obj *query.GenericResult[model.TorrentFile]) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentFilesQueryResult_items(ctx context.Context, field graphql.CollectedField, obj *query.GenericResult[model1.TorrentFile]) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentFilesQueryResult_items(ctx, field) if err != nil { return graphql.Null @@ -12248,7 +12245,7 @@ func (ec *executionContext) _TorrentFilesQueryResult_items(ctx context.Context, } return graphql.Null } - res := resTmp.([]model.TorrentFile) + res := resTmp.([]model1.TorrentFile) fc.Result = res return ec.marshalNTorrentFile2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentFileᚄ(ctx, field.Selections, res) } @@ -12310,7 +12307,7 @@ func (ec *executionContext) _TorrentListSourcesResult_sources(ctx context.Contex } return graphql.Null } - res := resTmp.([]model.TorrentSource) + res := resTmp.([]model1.TorrentSource) fc.Result = res return ec.marshalNTorrentSource2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentSourceᚄ(ctx, field.Selections, res) } @@ -12850,7 +12847,7 @@ func (ec *executionContext) _TorrentQuery_files(ctx context.Context, field graph } return graphql.Null } - res := resTmp.(query.GenericResult[model.TorrentFile]) + res := resTmp.(query.GenericResult[model1.TorrentFile]) fc.Result = res return ec.marshalNTorrentFilesQueryResult2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋdatabaseᚋqueryᚐGenericResult(ctx, field.Selections, res) } @@ -13053,7 +13050,7 @@ func (ec *executionContext) fieldContext_TorrentQuery_metrics(ctx context.Contex return fc, nil } -func (ec *executionContext) _TorrentSource_key(ctx context.Context, field graphql.CollectedField, obj *model.TorrentSource) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentSource_key(ctx context.Context, field graphql.CollectedField, obj *model1.TorrentSource) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentSource_key(ctx, field) if err != nil { return graphql.Null @@ -13097,7 +13094,7 @@ func (ec *executionContext) fieldContext_TorrentSource_key(_ context.Context, fi return fc, nil } -func (ec *executionContext) _TorrentSource_name(ctx context.Context, field graphql.CollectedField, obj *model.TorrentSource) (ret graphql.Marshaler) { +func (ec *executionContext) _TorrentSource_name(ctx context.Context, field graphql.CollectedField, obj *model1.TorrentSource) (ret graphql.Marshaler) { fc, err := ec.fieldContext_TorrentSource_name(ctx, field) if err != nil { return graphql.Null @@ -13428,7 +13425,7 @@ func (ec *executionContext) _TorrentSourceInfo_importId(ctx context.Context, fie if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullString) + res := resTmp.(model1.NullString) fc.Result = res return ec.marshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx, field.Selections, res) } @@ -13469,7 +13466,7 @@ func (ec *executionContext) _TorrentSourceInfo_seeders(ctx context.Context, fiel if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullUint) + res := resTmp.(model1.NullUint) fc.Result = res return ec.marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx, field.Selections, res) } @@ -13510,7 +13507,7 @@ func (ec *executionContext) _TorrentSourceInfo_leechers(ctx context.Context, fie if resTmp == nil { return graphql.Null } - res := resTmp.(model.NullUint) + res := resTmp.(model1.NullUint) fc.Result = res return ec.marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx, field.Selections, res) } @@ -13777,7 +13774,7 @@ func (ec *executionContext) _VideoResolutionAgg_value(ctx context.Context, field if resTmp == nil { return graphql.Null } - res := resTmp.(*model.VideoResolution) + res := resTmp.(*model1.VideoResolution) fc.Result = res return ec.marshalOVideoResolution2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx, field.Selections, res) } @@ -13950,7 +13947,7 @@ func (ec *executionContext) _VideoSourceAgg_value(ctx context.Context, field gra if resTmp == nil { return graphql.Null } - res := resTmp.(*model.VideoSource) + res := resTmp.(*model1.VideoSource) fc.Result = res return ec.marshalOVideoSource2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx, field.Selections, res) } @@ -17546,7 +17543,7 @@ func (ec *executionContext) _ClientSendToConfigQuery(ctx context.Context, sel as var contentImplementors = []string{"Content"} -func (ec *executionContext) _Content(ctx context.Context, sel ast.SelectionSet, obj *model.Content) graphql.Marshaler { +func (ec *executionContext) _Content(ctx context.Context, sel ast.SelectionSet, obj *model1.Content) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, contentImplementors) out := graphql.NewFieldSet(fields) @@ -17681,7 +17678,7 @@ func (ec *executionContext) _Content(ctx context.Context, sel ast.SelectionSet, var contentAttributeImplementors = []string{"ContentAttribute"} -func (ec *executionContext) _ContentAttribute(ctx context.Context, sel ast.SelectionSet, obj *model.ContentAttribute) graphql.Marshaler { +func (ec *executionContext) _ContentAttribute(ctx context.Context, sel ast.SelectionSet, obj *model1.ContentAttribute) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, contentAttributeImplementors) out := graphql.NewFieldSet(fields) @@ -17745,7 +17742,7 @@ func (ec *executionContext) _ContentAttribute(ctx context.Context, sel ast.Selec var contentCollectionImplementors = []string{"ContentCollection"} -func (ec *executionContext) _ContentCollection(ctx context.Context, sel ast.SelectionSet, obj *model.ContentCollection) graphql.Marshaler { +func (ec *executionContext) _ContentCollection(ctx context.Context, sel ast.SelectionSet, obj *model1.ContentCollection) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, contentCollectionImplementors) out := graphql.NewFieldSet(fields) @@ -17909,7 +17906,7 @@ func (ec *executionContext) _Episodes(ctx context.Context, sel ast.SelectionSet, var externalLinkImplementors = []string{"ExternalLink"} -func (ec *executionContext) _ExternalLink(ctx context.Context, sel ast.SelectionSet, obj *model.ExternalLink) graphql.Marshaler { +func (ec *executionContext) _ExternalLink(ctx context.Context, sel ast.SelectionSet, obj *model1.ExternalLink) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, externalLinkImplementors) out := graphql.NewFieldSet(fields) @@ -18156,7 +18153,7 @@ func (ec *executionContext) _LanguageAgg(ctx context.Context, sel ast.SelectionS var languageInfoImplementors = []string{"LanguageInfo"} -func (ec *executionContext) _LanguageInfo(ctx context.Context, sel ast.SelectionSet, obj *model.Language) graphql.Marshaler { +func (ec *executionContext) _LanguageInfo(ctx context.Context, sel ast.SelectionSet, obj *model1.Language) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, languageInfoImplementors) out := graphql.NewFieldSet(fields) @@ -18200,7 +18197,7 @@ func (ec *executionContext) _LanguageInfo(ctx context.Context, sel ast.Selection var metadataSourceImplementors = []string{"MetadataSource"} -func (ec *executionContext) _MetadataSource(ctx context.Context, sel ast.SelectionSet, obj *model.MetadataSource) graphql.Marshaler { +func (ec *executionContext) _MetadataSource(ctx context.Context, sel ast.SelectionSet, obj *model1.MetadataSource) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, metadataSourceImplementors) out := graphql.NewFieldSet(fields) @@ -18511,7 +18508,7 @@ func (ec *executionContext) _Query(ctx context.Context, sel ast.SelectionSet) gr var queueJobImplementors = []string{"QueueJob"} -func (ec *executionContext) _QueueJob(ctx context.Context, sel ast.SelectionSet, obj *model.QueueJob) graphql.Marshaler { +func (ec *executionContext) _QueueJob(ctx context.Context, sel ast.SelectionSet, obj *model1.QueueJob) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, queueJobImplementors) out := graphql.NewFieldSet(fields) @@ -19166,7 +19163,7 @@ func (ec *executionContext) _ReleaseYearAgg(ctx context.Context, sel ast.Selecti var seasonImplementors = []string{"Season"} -func (ec *executionContext) _Season(ctx context.Context, sel ast.SelectionSet, obj *model.Season) graphql.Marshaler { +func (ec *executionContext) _Season(ctx context.Context, sel ast.SelectionSet, obj *model1.Season) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, seasonImplementors) out := graphql.NewFieldSet(fields) @@ -19251,7 +19248,7 @@ func (ec *executionContext) _SuggestedTag(ctx context.Context, sel ast.Selection var torrentImplementors = []string{"Torrent"} -func (ec *executionContext) _Torrent(ctx context.Context, sel ast.SelectionSet, obj *model.Torrent) graphql.Marshaler { +func (ec *executionContext) _Torrent(ctx context.Context, sel ast.SelectionSet, obj *model1.Torrent) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, torrentImplementors) out := graphql.NewFieldSet(fields) @@ -19657,7 +19654,7 @@ func (ec *executionContext) _TorrentContentSearchResult(ctx context.Context, sel var torrentFileImplementors = []string{"TorrentFile"} -func (ec *executionContext) _TorrentFile(ctx context.Context, sel ast.SelectionSet, obj *model.TorrentFile) graphql.Marshaler { +func (ec *executionContext) _TorrentFile(ctx context.Context, sel ast.SelectionSet, obj *model1.TorrentFile) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, torrentFileImplementors) out := graphql.NewFieldSet(fields) @@ -19779,7 +19776,7 @@ func (ec *executionContext) _TorrentFileTypeAgg(ctx context.Context, sel ast.Sel var torrentFilesQueryResultImplementors = []string{"TorrentFilesQueryResult"} -func (ec *executionContext) _TorrentFilesQueryResult(ctx context.Context, sel ast.SelectionSet, obj *query.GenericResult[model.TorrentFile]) graphql.Marshaler { +func (ec *executionContext) _TorrentFilesQueryResult(ctx context.Context, sel ast.SelectionSet, obj *query.GenericResult[model1.TorrentFile]) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, torrentFilesQueryResultImplementors) out := graphql.NewFieldSet(fields) @@ -20334,7 +20331,7 @@ func (ec *executionContext) _TorrentQuery(ctx context.Context, sel ast.Selection var torrentSourceImplementors = []string{"TorrentSource"} -func (ec *executionContext) _TorrentSource(ctx context.Context, sel ast.SelectionSet, obj *model.TorrentSource) graphql.Marshaler { +func (ec *executionContext) _TorrentSource(ctx context.Context, sel ast.SelectionSet, obj *model1.TorrentSource) graphql.Marshaler { fields := graphql.CollectFields(ec.OperationContext, sel, torrentSourceImplementors) out := graphql.NewFieldSet(fields) @@ -21147,26 +21144,32 @@ func (ec *executionContext) marshalNBoolean2bool(ctx context.Context, sel ast.Se return res } -func (ec *executionContext) unmarshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx context.Context, v any) (gen.ClientID, error) { - var res gen.ClientID - err := res.UnmarshalGQL(v) +func (ec *executionContext) unmarshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐID(ctx context.Context, v any) (model.ID, error) { + tmp, err := graphql.UnmarshalString(v) + res := model.ID(tmp) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx context.Context, sel ast.SelectionSet, v gen.ClientID) graphql.Marshaler { - return v +func (ec *executionContext) marshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐID(ctx context.Context, sel ast.SelectionSet, v model.ID) graphql.Marshaler { + res := graphql.MarshalString(string(v)) + if res == graphql.Null { + if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { + ec.Errorf(ctx, "the requested element is null which the schema does not allow") + } + } + return res } -func (ec *executionContext) unmarshalNClientID2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientIDᚄ(ctx context.Context, v any) ([]gen.ClientID, error) { +func (ec *executionContext) unmarshalNClientID2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐIDᚄ(ctx context.Context, v any) ([]model.ID, error) { var vSlice []any if v != nil { vSlice = graphql.CoerceList(v) } var err error - res := make([]gen.ClientID, len(vSlice)) + res := make([]model.ID, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) - res[i], err = ec.unmarshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx, vSlice[i]) + res[i], err = ec.unmarshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐID(ctx, vSlice[i]) if err != nil { return nil, err } @@ -21174,40 +21177,11 @@ func (ec *executionContext) unmarshalNClientID2ᚕgithubᚗcomᚋbitmagnetᚑio return res, nil } -func (ec *executionContext) marshalNClientID2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientIDᚄ(ctx context.Context, sel ast.SelectionSet, v []gen.ClientID) graphql.Marshaler { +func (ec *executionContext) marshalNClientID2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐIDᚄ(ctx context.Context, sel ast.SelectionSet, v []model.ID) graphql.Marshaler { ret := make(graphql.Array, len(v)) - var wg sync.WaitGroup - isLen1 := len(v) == 1 - if !isLen1 { - wg.Add(len(v)) - } for i := range v { - i := i - fc := &graphql.FieldContext{ - Index: &i, - Result: &v[i], - } - ctx := graphql.WithFieldContext(ctx, fc) - f := func(i int) { - defer func() { - if r := recover(); r != nil { - ec.Error(ctx, ec.Recover(ctx, r)) - ret = nil - } - }() - if !isLen1 { - defer wg.Done() - } - ret[i] = ec.marshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx, sel, v[i]) - } - if isLen1 { - f(i) - } else { - go f(i) - } - + ret[i] = ec.marshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐID(ctx, sel, v[i]) } - wg.Wait() for _, e := range ret { if e == graphql.Null { @@ -21226,11 +21200,11 @@ func (ec *executionContext) marshalNClientSendToConfigQuery2githubᚗcomᚋbitma return ec._ClientSendToConfigQuery(ctx, sel, &v) } -func (ec *executionContext) marshalNContentAttribute2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentAttribute(ctx context.Context, sel ast.SelectionSet, v model.ContentAttribute) graphql.Marshaler { +func (ec *executionContext) marshalNContentAttribute2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentAttribute(ctx context.Context, sel ast.SelectionSet, v model1.ContentAttribute) graphql.Marshaler { return ec._ContentAttribute(ctx, sel, &v) } -func (ec *executionContext) marshalNContentAttribute2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentAttributeᚄ(ctx context.Context, sel ast.SelectionSet, v []model.ContentAttribute) graphql.Marshaler { +func (ec *executionContext) marshalNContentAttribute2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentAttributeᚄ(ctx context.Context, sel ast.SelectionSet, v []model1.ContentAttribute) graphql.Marshaler { ret := make(graphql.Array, len(v)) var wg sync.WaitGroup isLen1 := len(v) == 1 @@ -21274,11 +21248,11 @@ func (ec *executionContext) marshalNContentAttribute2ᚕgithubᚗcomᚋbitmagnet return ret } -func (ec *executionContext) marshalNContentCollection2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentCollection(ctx context.Context, sel ast.SelectionSet, v model.ContentCollection) graphql.Marshaler { +func (ec *executionContext) marshalNContentCollection2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentCollection(ctx context.Context, sel ast.SelectionSet, v model1.ContentCollection) graphql.Marshaler { return ec._ContentCollection(ctx, sel, &v) } -func (ec *executionContext) marshalNContentCollection2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentCollectionᚄ(ctx context.Context, sel ast.SelectionSet, v []model.ContentCollection) graphql.Marshaler { +func (ec *executionContext) marshalNContentCollection2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentCollectionᚄ(ctx context.Context, sel ast.SelectionSet, v []model1.ContentCollection) graphql.Marshaler { ret := make(graphql.Array, len(v)) var wg sync.WaitGroup isLen1 := len(v) == 1 @@ -21322,13 +21296,13 @@ func (ec *executionContext) marshalNContentCollection2ᚕgithubᚗcomᚋbitmagne return ret } -func (ec *executionContext) unmarshalNContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, v any) (model.ContentType, error) { +func (ec *executionContext) unmarshalNContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, v any) (model1.ContentType, error) { tmp, err := graphql.UnmarshalString(v) - res := model.ContentType(tmp) + res := model1.ContentType(tmp) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, sel ast.SelectionSet, v model.ContentType) graphql.Marshaler { +func (ec *executionContext) marshalNContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, sel ast.SelectionSet, v model1.ContentType) graphql.Marshaler { res := graphql.MarshalString(string(v)) if res == graphql.Null { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -21357,11 +21331,11 @@ func (ec *executionContext) marshalNDateTime2timeᚐTime(ctx context.Context, se return res } -func (ec *executionContext) marshalNExternalLink2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐExternalLink(ctx context.Context, sel ast.SelectionSet, v model.ExternalLink) graphql.Marshaler { +func (ec *executionContext) marshalNExternalLink2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐExternalLink(ctx context.Context, sel ast.SelectionSet, v model1.ExternalLink) graphql.Marshaler { return ec._ExternalLink(ctx, sel, &v) } -func (ec *executionContext) marshalNExternalLink2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐExternalLinkᚄ(ctx context.Context, sel ast.SelectionSet, v []model.ExternalLink) graphql.Marshaler { +func (ec *executionContext) marshalNExternalLink2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐExternalLinkᚄ(ctx context.Context, sel ast.SelectionSet, v []model1.ExternalLink) graphql.Marshaler { ret := make(graphql.Array, len(v)) var wg sync.WaitGroup isLen1 := len(v) == 1 @@ -21405,13 +21379,13 @@ func (ec *executionContext) marshalNExternalLink2ᚕgithubᚗcomᚋbitmagnetᚑi return ret } -func (ec *executionContext) unmarshalNFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileType(ctx context.Context, v any) (model.FileType, error) { +func (ec *executionContext) unmarshalNFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileType(ctx context.Context, v any) (model1.FileType, error) { tmp, err := graphql.UnmarshalString(v) - res := model.FileType(tmp) + res := model1.FileType(tmp) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileType(ctx context.Context, sel ast.SelectionSet, v model.FileType) graphql.Marshaler { +func (ec *executionContext) marshalNFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileType(ctx context.Context, sel ast.SelectionSet, v model1.FileType) graphql.Marshaler { res := graphql.MarshalString(string(v)) if res == graphql.Null { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -21421,13 +21395,13 @@ func (ec *executionContext) marshalNFileType2githubᚗcomᚋbitmagnetᚑioᚋbit return res } -func (ec *executionContext) unmarshalNFilesStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFilesStatus(ctx context.Context, v any) (model.FilesStatus, error) { +func (ec *executionContext) unmarshalNFilesStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFilesStatus(ctx context.Context, v any) (model1.FilesStatus, error) { tmp, err := graphql.UnmarshalString(v) - res := model.FilesStatus(tmp) + res := model1.FilesStatus(tmp) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNFilesStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFilesStatus(ctx context.Context, sel ast.SelectionSet, v model.FilesStatus) graphql.Marshaler { +func (ec *executionContext) marshalNFilesStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFilesStatus(ctx context.Context, sel ast.SelectionSet, v model1.FilesStatus) graphql.Marshaler { res := graphql.MarshalString(string(v)) if res == graphql.Null { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -21590,13 +21564,13 @@ func (ec *executionContext) marshalNInt2uint(ctx context.Context, sel ast.Select return res } -func (ec *executionContext) unmarshalNLanguage2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx context.Context, v any) (model.Language, error) { +func (ec *executionContext) unmarshalNLanguage2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx context.Context, v any) (model1.Language, error) { tmp, err := graphql.UnmarshalString(v) - res := model.Language(tmp) + res := model1.Language(tmp) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNLanguage2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx context.Context, sel ast.SelectionSet, v model.Language) graphql.Marshaler { +func (ec *executionContext) marshalNLanguage2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx context.Context, sel ast.SelectionSet, v model1.Language) graphql.Marshaler { res := graphql.MarshalString(string(v)) if res == graphql.Null { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -21610,11 +21584,11 @@ func (ec *executionContext) marshalNLanguageAgg2githubᚗcomᚋbitmagnetᚑioᚋ return ec._LanguageAgg(ctx, sel, &v) } -func (ec *executionContext) marshalNLanguageInfo2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx context.Context, sel ast.SelectionSet, v model.Language) graphql.Marshaler { +func (ec *executionContext) marshalNLanguageInfo2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx context.Context, sel ast.SelectionSet, v model1.Language) graphql.Marshaler { return ec._LanguageInfo(ctx, sel, &v) } -func (ec *executionContext) marshalNMetadataSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐMetadataSource(ctx context.Context, sel ast.SelectionSet, v model.MetadataSource) graphql.Marshaler { +func (ec *executionContext) marshalNMetadataSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐMetadataSource(ctx context.Context, sel ast.SelectionSet, v model1.MetadataSource) graphql.Marshaler { return ec._MetadataSource(ctx, sel, &v) } @@ -21628,11 +21602,11 @@ func (ec *executionContext) marshalNMetricsBucketDuration2githubᚗcomᚋbitmagn return v } -func (ec *executionContext) marshalNQueueJob2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJob(ctx context.Context, sel ast.SelectionSet, v model.QueueJob) graphql.Marshaler { +func (ec *executionContext) marshalNQueueJob2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJob(ctx context.Context, sel ast.SelectionSet, v model1.QueueJob) graphql.Marshaler { return ec._QueueJob(ctx, sel, &v) } -func (ec *executionContext) marshalNQueueJob2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobᚄ(ctx context.Context, sel ast.SelectionSet, v []model.QueueJob) graphql.Marshaler { +func (ec *executionContext) marshalNQueueJob2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobᚄ(ctx context.Context, sel ast.SelectionSet, v []model1.QueueJob) graphql.Marshaler { ret := make(graphql.Array, len(v)) var wg sync.WaitGroup isLen1 := len(v) == 1 @@ -21680,13 +21654,13 @@ func (ec *executionContext) marshalNQueueJobQueueAgg2githubᚗcomᚋbitmagnetᚑ return ec._QueueJobQueueAgg(ctx, sel, &v) } -func (ec *executionContext) unmarshalNQueueJobStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatus(ctx context.Context, v any) (model.QueueJobStatus, error) { +func (ec *executionContext) unmarshalNQueueJobStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatus(ctx context.Context, v any) (model1.QueueJobStatus, error) { tmp, err := graphql.UnmarshalString(v) - res := model.QueueJobStatus(tmp) + res := model1.QueueJobStatus(tmp) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNQueueJobStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatus(ctx context.Context, sel ast.SelectionSet, v model.QueueJobStatus) graphql.Marshaler { +func (ec *executionContext) marshalNQueueJobStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatus(ctx context.Context, sel ast.SelectionSet, v model1.QueueJobStatus) graphql.Marshaler { res := graphql.MarshalString(string(v)) if res == graphql.Null { if !graphql.HasFieldError(ctx, graphql.GetFieldContext(ctx)) { @@ -21808,11 +21782,11 @@ func (ec *executionContext) marshalNReleaseYearAgg2githubᚗcomᚋbitmagnetᚑio return ec._ReleaseYearAgg(ctx, sel, &v) } -func (ec *executionContext) marshalNSeason2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐSeason(ctx context.Context, sel ast.SelectionSet, v model.Season) graphql.Marshaler { +func (ec *executionContext) marshalNSeason2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐSeason(ctx context.Context, sel ast.SelectionSet, v model1.Season) graphql.Marshaler { return ec._Season(ctx, sel, &v) } -func (ec *executionContext) marshalNSeason2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐSeasonᚄ(ctx context.Context, sel ast.SelectionSet, v []model.Season) graphql.Marshaler { +func (ec *executionContext) marshalNSeason2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐSeasonᚄ(ctx context.Context, sel ast.SelectionSet, v []model1.Season) graphql.Marshaler { ret := make(graphql.Array, len(v)) var wg sync.WaitGroup isLen1 := len(v) == 1 @@ -21951,7 +21925,7 @@ func (ec *executionContext) marshalNSuggestedTag2ᚕgithubᚗcomᚋbitmagnetᚑi return ret } -func (ec *executionContext) marshalNTorrent2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrent(ctx context.Context, sel ast.SelectionSet, v model.Torrent) graphql.Marshaler { +func (ec *executionContext) marshalNTorrent2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrent(ctx context.Context, sel ast.SelectionSet, v model1.Torrent) graphql.Marshaler { return ec._Torrent(ctx, sel, &v) } @@ -22035,11 +22009,11 @@ func (ec *executionContext) marshalNTorrentContentSearchResult2githubᚗcomᚋbi return ec._TorrentContentSearchResult(ctx, sel, &v) } -func (ec *executionContext) marshalNTorrentFile2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentFile(ctx context.Context, sel ast.SelectionSet, v model.TorrentFile) graphql.Marshaler { +func (ec *executionContext) marshalNTorrentFile2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentFile(ctx context.Context, sel ast.SelectionSet, v model1.TorrentFile) graphql.Marshaler { return ec._TorrentFile(ctx, sel, &v) } -func (ec *executionContext) marshalNTorrentFile2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentFileᚄ(ctx context.Context, sel ast.SelectionSet, v []model.TorrentFile) graphql.Marshaler { +func (ec *executionContext) marshalNTorrentFile2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentFileᚄ(ctx context.Context, sel ast.SelectionSet, v []model1.TorrentFile) graphql.Marshaler { ret := make(graphql.Array, len(v)) var wg sync.WaitGroup isLen1 := len(v) == 1 @@ -22107,7 +22081,7 @@ func (ec *executionContext) unmarshalNTorrentFilesQueryInput2githubᚗcomᚋbitm return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTorrentFilesQueryResult2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋdatabaseᚋqueryᚐGenericResult(ctx context.Context, sel ast.SelectionSet, v query.GenericResult[model.TorrentFile]) graphql.Marshaler { +func (ec *executionContext) marshalNTorrentFilesQueryResult2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋdatabaseᚋqueryᚐGenericResult(ctx context.Context, sel ast.SelectionSet, v query.GenericResult[model1.TorrentFile]) graphql.Marshaler { return ec._TorrentFilesQueryResult(ctx, sel, &v) } @@ -22191,11 +22165,11 @@ func (ec *executionContext) unmarshalNTorrentReprocessInput2githubᚗcomᚋbitma return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalNTorrentSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentSource(ctx context.Context, sel ast.SelectionSet, v model.TorrentSource) graphql.Marshaler { +func (ec *executionContext) marshalNTorrentSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentSource(ctx context.Context, sel ast.SelectionSet, v model1.TorrentSource) graphql.Marshaler { return ec._TorrentSource(ctx, sel, &v) } -func (ec *executionContext) marshalNTorrentSource2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentSourceᚄ(ctx context.Context, sel ast.SelectionSet, v []model.TorrentSource) graphql.Marshaler { +func (ec *executionContext) marshalNTorrentSource2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentSourceᚄ(ctx context.Context, sel ast.SelectionSet, v []model1.TorrentSource) graphql.Marshaler { ret := make(graphql.Array, len(v)) var wg sync.WaitGroup isLen1 := len(v) == 1 @@ -22626,13 +22600,13 @@ func (ec *executionContext) marshalOBoolean2bool(ctx context.Context, sel ast.Se return res } -func (ec *executionContext) unmarshalOBoolean2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullBool(ctx context.Context, v any) (model.NullBool, error) { - var res model.NullBool +func (ec *executionContext) unmarshalOBoolean2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullBool(ctx context.Context, v any) (model1.NullBool, error) { + var res model1.NullBool err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOBoolean2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullBool(ctx context.Context, sel ast.SelectionSet, v model.NullBool) graphql.Marshaler { +func (ec *executionContext) marshalOBoolean2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullBool(ctx context.Context, sel ast.SelectionSet, v model1.NullBool) graphql.Marshaler { return v } @@ -22652,40 +22626,41 @@ func (ec *executionContext) marshalOBoolean2ᚖbool(ctx context.Context, sel ast return res } -func (ec *executionContext) unmarshalOClientID2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx context.Context, v any) (*gen.ClientID, error) { +func (ec *executionContext) unmarshalOClientID2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐID(ctx context.Context, v any) (*model.ID, error) { if v == nil { return nil, nil } - var res = new(gen.ClientID) - err := res.UnmarshalGQL(v) - return res, graphql.ErrorOnPath(ctx, err) + tmp, err := graphql.UnmarshalString(v) + res := model.ID(tmp) + return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOClientID2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋgqlᚋgqlmodelᚋgenᚐClientID(ctx context.Context, sel ast.SelectionSet, v *gen.ClientID) graphql.Marshaler { +func (ec *executionContext) marshalOClientID2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐID(ctx context.Context, sel ast.SelectionSet, v *model.ID) graphql.Marshaler { if v == nil { return graphql.Null } - return v + res := graphql.MarshalString(string(*v)) + return res } -func (ec *executionContext) marshalOContent2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContent(ctx context.Context, sel ast.SelectionSet, v *model.Content) graphql.Marshaler { +func (ec *executionContext) marshalOContent2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContent(ctx context.Context, sel ast.SelectionSet, v *model1.Content) graphql.Marshaler { if v == nil { return graphql.Null } return ec._Content(ctx, sel, v) } -func (ec *executionContext) unmarshalOContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx context.Context, v any) (model.NullContentType, error) { - var res model.NullContentType +func (ec *executionContext) unmarshalOContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx context.Context, v any) (model1.NullContentType, error) { + var res model1.NullContentType err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx context.Context, sel ast.SelectionSet, v model.NullContentType) graphql.Marshaler { +func (ec *executionContext) marshalOContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx context.Context, sel ast.SelectionSet, v model1.NullContentType) graphql.Marshaler { return v } -func (ec *executionContext) unmarshalOContentType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx context.Context, v any) ([]model.NullContentType, error) { +func (ec *executionContext) unmarshalOContentType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx context.Context, v any) ([]model1.NullContentType, error) { if v == nil { return nil, nil } @@ -22694,7 +22669,7 @@ func (ec *executionContext) unmarshalOContentType2ᚕgithubᚗcomᚋbitmagnetᚑ vSlice = graphql.CoerceList(v) } var err error - res := make([]model.NullContentType, len(vSlice)) + res := make([]model1.NullContentType, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) res[i], err = ec.unmarshalOContentType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx, vSlice[i]) @@ -22705,7 +22680,7 @@ func (ec *executionContext) unmarshalOContentType2ᚕgithubᚗcomᚋbitmagnetᚑ return res, nil } -func (ec *executionContext) marshalOContentType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx context.Context, sel ast.SelectionSet, v []model.NullContentType) graphql.Marshaler { +func (ec *executionContext) marshalOContentType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullContentType(ctx context.Context, sel ast.SelectionSet, v []model1.NullContentType) graphql.Marshaler { if v == nil { return graphql.Null } @@ -22746,7 +22721,7 @@ func (ec *executionContext) marshalOContentType2ᚕgithubᚗcomᚋbitmagnetᚑio return ret } -func (ec *executionContext) unmarshalOContentType2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, v any) ([]*model.ContentType, error) { +func (ec *executionContext) unmarshalOContentType2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, v any) ([]*model1.ContentType, error) { if v == nil { return nil, nil } @@ -22755,7 +22730,7 @@ func (ec *executionContext) unmarshalOContentType2ᚕᚖgithubᚗcomᚋbitmagnet vSlice = graphql.CoerceList(v) } var err error - res := make([]*model.ContentType, len(vSlice)) + res := make([]*model1.ContentType, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) res[i], err = ec.unmarshalOContentType2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx, vSlice[i]) @@ -22766,7 +22741,7 @@ func (ec *executionContext) unmarshalOContentType2ᚕᚖgithubᚗcomᚋbitmagnet return res, nil } -func (ec *executionContext) marshalOContentType2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, sel ast.SelectionSet, v []*model.ContentType) graphql.Marshaler { +func (ec *executionContext) marshalOContentType2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, sel ast.SelectionSet, v []*model1.ContentType) graphql.Marshaler { if v == nil { return graphql.Null } @@ -22807,16 +22782,16 @@ func (ec *executionContext) marshalOContentType2ᚕᚖgithubᚗcomᚋbitmagnet return ret } -func (ec *executionContext) unmarshalOContentType2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, v any) (*model.ContentType, error) { +func (ec *executionContext) unmarshalOContentType2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, v any) (*model1.ContentType, error) { if v == nil { return nil, nil } tmp, err := graphql.UnmarshalString(v) - res := model.ContentType(tmp) + res := model1.ContentType(tmp) return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOContentType2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, sel ast.SelectionSet, v *model.ContentType) graphql.Marshaler { +func (ec *executionContext) marshalOContentType2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐContentType(ctx context.Context, sel ast.SelectionSet, v *model1.ContentType) graphql.Marshaler { if v == nil { return graphql.Null } @@ -22879,13 +22854,13 @@ func (ec *executionContext) unmarshalOContentTypeFacetInput2ᚖgithubᚗcomᚋbi return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalODate2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐDate(ctx context.Context, v any) (model.Date, error) { - var res model.Date +func (ec *executionContext) unmarshalODate2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐDate(ctx context.Context, v any) (model1.Date, error) { + var res model1.Date err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalODate2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐDate(ctx context.Context, sel ast.SelectionSet, v model.Date) graphql.Marshaler { +func (ec *executionContext) marshalODate2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐDate(ctx context.Context, sel ast.SelectionSet, v model1.Date) graphql.Marshaler { return v } @@ -22938,16 +22913,16 @@ func (ec *executionContext) marshalOEpisodes2ᚖgithubᚗcomᚋbitmagnetᚑioᚋ return ec._Episodes(ctx, sel, v) } -func (ec *executionContext) unmarshalOFacetLogic2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFacetLogic(ctx context.Context, v any) (*model.FacetLogic, error) { +func (ec *executionContext) unmarshalOFacetLogic2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFacetLogic(ctx context.Context, v any) (*model1.FacetLogic, error) { if v == nil { return nil, nil } tmp, err := graphql.UnmarshalString(v) - res := model.FacetLogic(tmp) + res := model1.FacetLogic(tmp) return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOFacetLogic2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFacetLogic(ctx context.Context, sel ast.SelectionSet, v *model.FacetLogic) graphql.Marshaler { +func (ec *executionContext) marshalOFacetLogic2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFacetLogic(ctx context.Context, sel ast.SelectionSet, v *model1.FacetLogic) graphql.Marshaler { if v == nil { return graphql.Null } @@ -22955,17 +22930,17 @@ func (ec *executionContext) marshalOFacetLogic2ᚖgithubᚗcomᚋbitmagnetᚑio return res } -func (ec *executionContext) unmarshalOFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFileType(ctx context.Context, v any) (model.NullFileType, error) { - var res model.NullFileType +func (ec *executionContext) unmarshalOFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFileType(ctx context.Context, v any) (model1.NullFileType, error) { + var res model1.NullFileType err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFileType(ctx context.Context, sel ast.SelectionSet, v model.NullFileType) graphql.Marshaler { +func (ec *executionContext) marshalOFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFileType(ctx context.Context, sel ast.SelectionSet, v model1.NullFileType) graphql.Marshaler { return v } -func (ec *executionContext) unmarshalOFileType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileTypeᚄ(ctx context.Context, v any) ([]model.FileType, error) { +func (ec *executionContext) unmarshalOFileType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileTypeᚄ(ctx context.Context, v any) ([]model1.FileType, error) { if v == nil { return nil, nil } @@ -22974,7 +22949,7 @@ func (ec *executionContext) unmarshalOFileType2ᚕgithubᚗcomᚋbitmagnetᚑio vSlice = graphql.CoerceList(v) } var err error - res := make([]model.FileType, len(vSlice)) + res := make([]model1.FileType, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) res[i], err = ec.unmarshalNFileType2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileType(ctx, vSlice[i]) @@ -22985,7 +22960,7 @@ func (ec *executionContext) unmarshalOFileType2ᚕgithubᚗcomᚋbitmagnetᚑio return res, nil } -func (ec *executionContext) marshalOFileType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []model.FileType) graphql.Marshaler { +func (ec *executionContext) marshalOFileType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐFileTypeᚄ(ctx context.Context, sel ast.SelectionSet, v []model1.FileType) graphql.Marshaler { if v == nil { return graphql.Null } @@ -23032,23 +23007,23 @@ func (ec *executionContext) marshalOFileType2ᚕgithubᚗcomᚋbitmagnetᚑioᚋ return ret } -func (ec *executionContext) unmarshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat32(ctx context.Context, v any) (model.NullFloat32, error) { - var res model.NullFloat32 +func (ec *executionContext) unmarshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat32(ctx context.Context, v any) (model1.NullFloat32, error) { + var res model1.NullFloat32 err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat32(ctx context.Context, sel ast.SelectionSet, v model.NullFloat32) graphql.Marshaler { +func (ec *executionContext) marshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat32(ctx context.Context, sel ast.SelectionSet, v model1.NullFloat32) graphql.Marshaler { return v } -func (ec *executionContext) unmarshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat64(ctx context.Context, v any) (model.NullFloat64, error) { - var res model.NullFloat64 +func (ec *executionContext) unmarshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat64(ctx context.Context, v any) (model1.NullFloat64, error) { + var res model1.NullFloat64 err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat64(ctx context.Context, sel ast.SelectionSet, v model.NullFloat64) graphql.Marshaler { +func (ec *executionContext) marshalOFloat2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullFloat64(ctx context.Context, sel ast.SelectionSet, v model1.NullFloat64) graphql.Marshaler { return v } @@ -23145,23 +23120,23 @@ func (ec *executionContext) marshalOHash202ᚕgithubᚗcomᚋbitmagnetᚑioᚋbi return ret } -func (ec *executionContext) unmarshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx context.Context, v any) (model.NullUint, error) { - var res model.NullUint +func (ec *executionContext) unmarshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx context.Context, v any) (model1.NullUint, error) { + var res model1.NullUint err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx context.Context, sel ast.SelectionSet, v model.NullUint) graphql.Marshaler { +func (ec *executionContext) marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint(ctx context.Context, sel ast.SelectionSet, v model1.NullUint) graphql.Marshaler { return v } -func (ec *executionContext) unmarshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint16(ctx context.Context, v any) (model.NullUint16, error) { - var res model.NullUint16 +func (ec *executionContext) unmarshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint16(ctx context.Context, v any) (model1.NullUint16, error) { + var res model1.NullUint16 err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint16(ctx context.Context, sel ast.SelectionSet, v model.NullUint16) graphql.Marshaler { +func (ec *executionContext) marshalOInt2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullUint16(ctx context.Context, sel ast.SelectionSet, v model1.NullUint16) graphql.Marshaler { return v } @@ -23213,7 +23188,7 @@ func (ec *executionContext) marshalOInt2ᚕintᚄ(ctx context.Context, sel ast.S return ret } -func (ec *executionContext) unmarshalOLanguage2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguageᚄ(ctx context.Context, v any) ([]model.Language, error) { +func (ec *executionContext) unmarshalOLanguage2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguageᚄ(ctx context.Context, v any) ([]model1.Language, error) { if v == nil { return nil, nil } @@ -23222,7 +23197,7 @@ func (ec *executionContext) unmarshalOLanguage2ᚕgithubᚗcomᚋbitmagnetᚑio vSlice = graphql.CoerceList(v) } var err error - res := make([]model.Language, len(vSlice)) + res := make([]model1.Language, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) res[i], err = ec.unmarshalNLanguage2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx, vSlice[i]) @@ -23233,7 +23208,7 @@ func (ec *executionContext) unmarshalOLanguage2ᚕgithubᚗcomᚋbitmagnetᚑio return res, nil } -func (ec *executionContext) marshalOLanguage2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguageᚄ(ctx context.Context, sel ast.SelectionSet, v []model.Language) graphql.Marshaler { +func (ec *executionContext) marshalOLanguage2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguageᚄ(ctx context.Context, sel ast.SelectionSet, v []model1.Language) graphql.Marshaler { if v == nil { return graphql.Null } @@ -23335,7 +23310,7 @@ func (ec *executionContext) unmarshalOLanguageFacetInput2ᚖgithubᚗcomᚋbitma return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOLanguageInfo2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguageᚄ(ctx context.Context, sel ast.SelectionSet, v []model.Language) graphql.Marshaler { +func (ec *executionContext) marshalOLanguageInfo2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguageᚄ(ctx context.Context, sel ast.SelectionSet, v []model1.Language) graphql.Marshaler { if v == nil { return graphql.Null } @@ -23382,7 +23357,7 @@ func (ec *executionContext) marshalOLanguageInfo2ᚕgithubᚗcomᚋbitmagnetᚑi return ret } -func (ec *executionContext) marshalOLanguageInfo2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx context.Context, sel ast.SelectionSet, v *model.Language) graphql.Marshaler { +func (ec *executionContext) marshalOLanguageInfo2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐLanguage(ctx context.Context, sel ast.SelectionSet, v *model1.Language) graphql.Marshaler { if v == nil { return graphql.Null } @@ -23457,7 +23432,7 @@ func (ec *executionContext) unmarshalOQueueJobQueueFacetInput2ᚖgithubᚗcomᚋ return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOQueueJobStatus2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatusᚄ(ctx context.Context, v any) ([]model.QueueJobStatus, error) { +func (ec *executionContext) unmarshalOQueueJobStatus2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatusᚄ(ctx context.Context, v any) ([]model1.QueueJobStatus, error) { if v == nil { return nil, nil } @@ -23466,7 +23441,7 @@ func (ec *executionContext) unmarshalOQueueJobStatus2ᚕgithubᚗcomᚋbitmagnet vSlice = graphql.CoerceList(v) } var err error - res := make([]model.QueueJobStatus, len(vSlice)) + res := make([]model1.QueueJobStatus, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) res[i], err = ec.unmarshalNQueueJobStatus2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatus(ctx, vSlice[i]) @@ -23477,7 +23452,7 @@ func (ec *executionContext) unmarshalOQueueJobStatus2ᚕgithubᚗcomᚋbitmagnet return res, nil } -func (ec *executionContext) marshalOQueueJobStatus2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatusᚄ(ctx context.Context, sel ast.SelectionSet, v []model.QueueJobStatus) graphql.Marshaler { +func (ec *executionContext) marshalOQueueJobStatus2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐQueueJobStatusᚄ(ctx context.Context, sel ast.SelectionSet, v []model1.QueueJobStatus) graphql.Marshaler { if v == nil { return graphql.Null } @@ -23662,13 +23637,13 @@ func (ec *executionContext) unmarshalOReleaseYearFacetInput2ᚖgithubᚗcomᚋbi return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx context.Context, v any) (model.NullString, error) { - var res model.NullString +func (ec *executionContext) unmarshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx context.Context, v any) (model1.NullString, error) { + var res model1.NullString err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx context.Context, sel ast.SelectionSet, v model.NullString) graphql.Marshaler { +func (ec *executionContext) marshalOString2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullString(ctx context.Context, sel ast.SelectionSet, v model1.NullString) graphql.Marshaler { return v } @@ -23772,7 +23747,7 @@ func (ec *executionContext) unmarshalOTorrentContentOrderByInput2ᚕgithubᚗcom return res, nil } -func (ec *executionContext) marshalOTorrentFile2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentFileᚄ(ctx context.Context, sel ast.SelectionSet, v []model.TorrentFile) graphql.Marshaler { +func (ec *executionContext) marshalOTorrentFile2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐTorrentFileᚄ(ctx context.Context, sel ast.SelectionSet, v []model1.TorrentFile) graphql.Marshaler { if v == nil { return graphql.Null } @@ -24004,47 +23979,47 @@ func (ec *executionContext) unmarshalOTorrentTagFacetInput2ᚖgithubᚗcomᚋbit return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOVideo3D2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideo3D(ctx context.Context, v any) (model.NullVideo3D, error) { - var res model.NullVideo3D +func (ec *executionContext) unmarshalOVideo3D2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideo3D(ctx context.Context, v any) (model1.NullVideo3D, error) { + var res model1.NullVideo3D err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOVideo3D2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideo3D(ctx context.Context, sel ast.SelectionSet, v model.NullVideo3D) graphql.Marshaler { +func (ec *executionContext) marshalOVideo3D2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideo3D(ctx context.Context, sel ast.SelectionSet, v model1.NullVideo3D) graphql.Marshaler { return v } -func (ec *executionContext) unmarshalOVideoCodec2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoCodec(ctx context.Context, v any) (model.NullVideoCodec, error) { - var res model.NullVideoCodec +func (ec *executionContext) unmarshalOVideoCodec2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoCodec(ctx context.Context, v any) (model1.NullVideoCodec, error) { + var res model1.NullVideoCodec err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOVideoCodec2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoCodec(ctx context.Context, sel ast.SelectionSet, v model.NullVideoCodec) graphql.Marshaler { +func (ec *executionContext) marshalOVideoCodec2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoCodec(ctx context.Context, sel ast.SelectionSet, v model1.NullVideoCodec) graphql.Marshaler { return v } -func (ec *executionContext) unmarshalOVideoModifier2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoModifier(ctx context.Context, v any) (model.NullVideoModifier, error) { - var res model.NullVideoModifier +func (ec *executionContext) unmarshalOVideoModifier2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoModifier(ctx context.Context, v any) (model1.NullVideoModifier, error) { + var res model1.NullVideoModifier err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOVideoModifier2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoModifier(ctx context.Context, sel ast.SelectionSet, v model.NullVideoModifier) graphql.Marshaler { +func (ec *executionContext) marshalOVideoModifier2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoModifier(ctx context.Context, sel ast.SelectionSet, v model1.NullVideoModifier) graphql.Marshaler { return v } -func (ec *executionContext) unmarshalOVideoResolution2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoResolution(ctx context.Context, v any) (model.NullVideoResolution, error) { - var res model.NullVideoResolution +func (ec *executionContext) unmarshalOVideoResolution2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoResolution(ctx context.Context, v any) (model1.NullVideoResolution, error) { + var res model1.NullVideoResolution err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOVideoResolution2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoResolution(ctx context.Context, sel ast.SelectionSet, v model.NullVideoResolution) graphql.Marshaler { +func (ec *executionContext) marshalOVideoResolution2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoResolution(ctx context.Context, sel ast.SelectionSet, v model1.NullVideoResolution) graphql.Marshaler { return v } -func (ec *executionContext) unmarshalOVideoResolution2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx context.Context, v any) ([]*model.VideoResolution, error) { +func (ec *executionContext) unmarshalOVideoResolution2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx context.Context, v any) ([]*model1.VideoResolution, error) { if v == nil { return nil, nil } @@ -24053,7 +24028,7 @@ func (ec *executionContext) unmarshalOVideoResolution2ᚕᚖgithubᚗcomᚋbitma vSlice = graphql.CoerceList(v) } var err error - res := make([]*model.VideoResolution, len(vSlice)) + res := make([]*model1.VideoResolution, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) res[i], err = ec.unmarshalOVideoResolution2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx, vSlice[i]) @@ -24064,7 +24039,7 @@ func (ec *executionContext) unmarshalOVideoResolution2ᚕᚖgithubᚗcomᚋbitma return res, nil } -func (ec *executionContext) marshalOVideoResolution2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx context.Context, sel ast.SelectionSet, v []*model.VideoResolution) graphql.Marshaler { +func (ec *executionContext) marshalOVideoResolution2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx context.Context, sel ast.SelectionSet, v []*model1.VideoResolution) graphql.Marshaler { if v == nil { return graphql.Null } @@ -24105,16 +24080,16 @@ func (ec *executionContext) marshalOVideoResolution2ᚕᚖgithubᚗcomᚋbitmagn return ret } -func (ec *executionContext) unmarshalOVideoResolution2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx context.Context, v any) (*model.VideoResolution, error) { +func (ec *executionContext) unmarshalOVideoResolution2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx context.Context, v any) (*model1.VideoResolution, error) { if v == nil { return nil, nil } tmp, err := graphql.UnmarshalString(v) - res := model.VideoResolution(tmp) + res := model1.VideoResolution(tmp) return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOVideoResolution2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx context.Context, sel ast.SelectionSet, v *model.VideoResolution) graphql.Marshaler { +func (ec *executionContext) marshalOVideoResolution2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoResolution(ctx context.Context, sel ast.SelectionSet, v *model1.VideoResolution) graphql.Marshaler { if v == nil { return graphql.Null } @@ -24177,17 +24152,17 @@ func (ec *executionContext) unmarshalOVideoResolutionFacetInput2ᚖgithubᚗcom return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) unmarshalOVideoSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoSource(ctx context.Context, v any) (model.NullVideoSource, error) { - var res model.NullVideoSource +func (ec *executionContext) unmarshalOVideoSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoSource(ctx context.Context, v any) (model1.NullVideoSource, error) { + var res model1.NullVideoSource err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOVideoSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoSource(ctx context.Context, sel ast.SelectionSet, v model.NullVideoSource) graphql.Marshaler { +func (ec *executionContext) marshalOVideoSource2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐNullVideoSource(ctx context.Context, sel ast.SelectionSet, v model1.NullVideoSource) graphql.Marshaler { return v } -func (ec *executionContext) unmarshalOVideoSource2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx context.Context, v any) ([]*model.VideoSource, error) { +func (ec *executionContext) unmarshalOVideoSource2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx context.Context, v any) ([]*model1.VideoSource, error) { if v == nil { return nil, nil } @@ -24196,7 +24171,7 @@ func (ec *executionContext) unmarshalOVideoSource2ᚕᚖgithubᚗcomᚋbitmagnet vSlice = graphql.CoerceList(v) } var err error - res := make([]*model.VideoSource, len(vSlice)) + res := make([]*model1.VideoSource, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) res[i], err = ec.unmarshalOVideoSource2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx, vSlice[i]) @@ -24207,7 +24182,7 @@ func (ec *executionContext) unmarshalOVideoSource2ᚕᚖgithubᚗcomᚋbitmagnet return res, nil } -func (ec *executionContext) marshalOVideoSource2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx context.Context, sel ast.SelectionSet, v []*model.VideoSource) graphql.Marshaler { +func (ec *executionContext) marshalOVideoSource2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx context.Context, sel ast.SelectionSet, v []*model1.VideoSource) graphql.Marshaler { if v == nil { return graphql.Null } @@ -24248,16 +24223,16 @@ func (ec *executionContext) marshalOVideoSource2ᚕᚖgithubᚗcomᚋbitmagnet return ret } -func (ec *executionContext) unmarshalOVideoSource2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx context.Context, v any) (*model.VideoSource, error) { +func (ec *executionContext) unmarshalOVideoSource2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx context.Context, v any) (*model1.VideoSource, error) { if v == nil { return nil, nil } tmp, err := graphql.UnmarshalString(v) - res := model.VideoSource(tmp) + res := model1.VideoSource(tmp) return &res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOVideoSource2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx context.Context, sel ast.SelectionSet, v *model.VideoSource) graphql.Marshaler { +func (ec *executionContext) marshalOVideoSource2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐVideoSource(ctx context.Context, sel ast.SelectionSet, v *model1.VideoSource) graphql.Marshaler { if v == nil { return graphql.Null } @@ -24336,17 +24311,17 @@ func (ec *executionContext) marshalOVoid2ᚖstring(ctx context.Context, sel ast. return res } -func (ec *executionContext) unmarshalOYear2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, v any) (model.Year, error) { - var res model.Year +func (ec *executionContext) unmarshalOYear2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, v any) (model1.Year, error) { + var res model1.Year err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOYear2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, sel ast.SelectionSet, v model.Year) graphql.Marshaler { +func (ec *executionContext) marshalOYear2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, sel ast.SelectionSet, v model1.Year) graphql.Marshaler { return v } -func (ec *executionContext) unmarshalOYear2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, v any) ([]*model.Year, error) { +func (ec *executionContext) unmarshalOYear2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, v any) ([]*model1.Year, error) { if v == nil { return nil, nil } @@ -24355,7 +24330,7 @@ func (ec *executionContext) unmarshalOYear2ᚕᚖgithubᚗcomᚋbitmagnetᚑio vSlice = graphql.CoerceList(v) } var err error - res := make([]*model.Year, len(vSlice)) + res := make([]*model1.Year, len(vSlice)) for i := range vSlice { ctx := graphql.WithPathContext(ctx, graphql.NewPathWithIndex(i)) res[i], err = ec.unmarshalOYear2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx, vSlice[i]) @@ -24366,7 +24341,7 @@ func (ec *executionContext) unmarshalOYear2ᚕᚖgithubᚗcomᚋbitmagnetᚑio return res, nil } -func (ec *executionContext) marshalOYear2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, sel ast.SelectionSet, v []*model.Year) graphql.Marshaler { +func (ec *executionContext) marshalOYear2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, sel ast.SelectionSet, v []*model1.Year) graphql.Marshaler { if v == nil { return graphql.Null } @@ -24378,16 +24353,16 @@ func (ec *executionContext) marshalOYear2ᚕᚖgithubᚗcomᚋbitmagnetᚑioᚋb return ret } -func (ec *executionContext) unmarshalOYear2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, v any) (*model.Year, error) { +func (ec *executionContext) unmarshalOYear2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, v any) (*model1.Year, error) { if v == nil { return nil, nil } - var res = new(model.Year) + var res = new(model1.Year) err := res.UnmarshalGQL(v) return res, graphql.ErrorOnPath(ctx, err) } -func (ec *executionContext) marshalOYear2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, sel ast.SelectionSet, v *model.Year) graphql.Marshaler { +func (ec *executionContext) marshalOYear2ᚖgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋmodelᚐYear(ctx context.Context, sel ast.SelectionSet, v *model1.Year) graphql.Marshaler { if v == nil { return graphql.Null } diff --git a/internal/gql/gqlgen.yml b/internal/gql/gqlgen.yml index 8c4e7336..d995be6a 100644 --- a/internal/gql/gqlgen.yml +++ b/internal/gql/gqlgen.yml @@ -180,3 +180,12 @@ models: TorrentMetricsBucket: model: - github.com/bitmagnet-io/bitmagnet/internal/metrics/torrentmetrics.Bucket + ClientID: + model: github.com/bitmagnet-io/bitmagnet/internal/client/model.ID + enum_values: + Ntfy: + value: github.com/bitmagnet-io/bitmagnet/internal/client/model.IDNtfy + QBittorrent: + value: github.com/bitmagnet-io/bitmagnet/internal/client/model.IDQBittorrent + Transmission: + value: github.com/bitmagnet-io/bitmagnet/internal/client/model.IDTransmission diff --git a/internal/gql/gqlmodel/gen/model.gen.go b/internal/gql/gqlmodel/gen/model.gen.go index 9ff0eb90..7f953c56 100644 --- a/internal/gql/gqlmodel/gen/model.gen.go +++ b/internal/gql/gqlmodel/gen/model.gen.go @@ -9,27 +9,28 @@ import ( "time" "github.com/99designs/gqlgen/graphql" + "github.com/bitmagnet-io/bitmagnet/internal/client/model" "github.com/bitmagnet-io/bitmagnet/internal/metrics/queuemetrics" "github.com/bitmagnet-io/bitmagnet/internal/metrics/torrentmetrics" - "github.com/bitmagnet-io/bitmagnet/internal/model" + model1 "github.com/bitmagnet-io/bitmagnet/internal/model" "github.com/bitmagnet-io/bitmagnet/internal/protocol" ) type ClientSendToConfigQuery struct { Enabled bool `json:"enabled"` - SendTo []ClientID `json:"sendTo"` + SendTo []model.ID `json:"sendTo"` } type ContentTypeAgg struct { - Value *model.ContentType `json:"value,omitempty"` - Label string `json:"label"` - Count int `json:"count"` - IsEstimate bool `json:"isEstimate"` + Value *model1.ContentType `json:"value,omitempty"` + Label string `json:"label"` + Count int `json:"count"` + IsEstimate bool `json:"isEstimate"` } type ContentTypeFacetInput struct { - Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` - Filter graphql.Omittable[[]*model.ContentType] `json:"filter,omitempty"` + Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` + Filter graphql.Omittable[[]*model1.ContentType] `json:"filter,omitempty"` } type GenreAgg struct { @@ -40,9 +41,9 @@ type GenreAgg struct { } type GenreFacetInput struct { - Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` - Logic graphql.Omittable[*model.FacetLogic] `json:"logic,omitempty"` - Filter graphql.Omittable[[]string] `json:"filter,omitempty"` + Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` + Logic graphql.Omittable[*model1.FacetLogic] `json:"logic,omitempty"` + Filter graphql.Omittable[[]string] `json:"filter,omitempty"` } type HealthCheck struct { @@ -58,15 +59,15 @@ type HealthQuery struct { } type LanguageAgg struct { - Value model.Language `json:"value"` - Label string `json:"label"` - Count int `json:"count"` - IsEstimate bool `json:"isEstimate"` + Value model1.Language `json:"value"` + Label string `json:"label"` + Count int `json:"count"` + IsEstimate bool `json:"isEstimate"` } type LanguageFacetInput struct { - Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` - Filter graphql.Omittable[[]model.Language] `json:"filter,omitempty"` + Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` + Filter graphql.Omittable[[]model1.Language] `json:"filter,omitempty"` } type Mutation struct { @@ -87,14 +88,14 @@ type QueueJobQueueFacetInput struct { } type QueueJobStatusAgg struct { - Value model.QueueJobStatus `json:"value"` - Label string `json:"label"` - Count int `json:"count"` + Value model1.QueueJobStatus `json:"value"` + Label string `json:"label"` + Count int `json:"count"` } type QueueJobStatusFacetInput struct { - Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` - Filter graphql.Omittable[[]model.QueueJobStatus] `json:"filter,omitempty"` + Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` + Filter graphql.Omittable[[]model1.QueueJobStatus] `json:"filter,omitempty"` } type QueueJobsAggregations struct { @@ -113,11 +114,11 @@ type QueueJobsOrderByInput struct { } type QueueMetricsQueryInput struct { - BucketDuration MetricsBucketDuration `json:"bucketDuration"` - Statuses graphql.Omittable[[]model.QueueJobStatus] `json:"statuses,omitempty"` - Queues graphql.Omittable[[]string] `json:"queues,omitempty"` - StartTime graphql.Omittable[*time.Time] `json:"startTime,omitempty"` - EndTime graphql.Omittable[*time.Time] `json:"endTime,omitempty"` + BucketDuration MetricsBucketDuration `json:"bucketDuration"` + Statuses graphql.Omittable[[]model1.QueueJobStatus] `json:"statuses,omitempty"` + Queues graphql.Omittable[[]string] `json:"queues,omitempty"` + StartTime graphql.Omittable[*time.Time] `json:"startTime,omitempty"` + EndTime graphql.Omittable[*time.Time] `json:"endTime,omitempty"` } type QueueMetricsQueryResult struct { @@ -125,15 +126,15 @@ type QueueMetricsQueryResult struct { } type ReleaseYearAgg struct { - Value *model.Year `json:"value,omitempty"` - Label string `json:"label"` - Count int `json:"count"` - IsEstimate bool `json:"isEstimate"` + Value *model1.Year `json:"value,omitempty"` + Label string `json:"label"` + Count int `json:"count"` + IsEstimate bool `json:"isEstimate"` } type ReleaseYearFacetInput struct { - Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` - Filter graphql.Omittable[[]*model.Year] `json:"filter,omitempty"` + Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` + Filter graphql.Omittable[[]*model1.Year] `json:"filter,omitempty"` } type SuggestTagsQueryInput struct { @@ -171,16 +172,16 @@ type TorrentContentOrderByInput struct { } type TorrentFileTypeAgg struct { - Value model.FileType `json:"value"` - Label string `json:"label"` - Count int `json:"count"` - IsEstimate bool `json:"isEstimate"` + Value model1.FileType `json:"value"` + Label string `json:"label"` + Count int `json:"count"` + IsEstimate bool `json:"isEstimate"` } type TorrentFileTypeFacetInput struct { - Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` - Logic graphql.Omittable[*model.FacetLogic] `json:"logic,omitempty"` - Filter graphql.Omittable[[]model.FileType] `json:"filter,omitempty"` + Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` + Logic graphql.Omittable[*model1.FacetLogic] `json:"logic,omitempty"` + Filter graphql.Omittable[[]model1.FileType] `json:"filter,omitempty"` } type TorrentFilesOrderByInput struct { @@ -189,7 +190,7 @@ type TorrentFilesOrderByInput struct { } type TorrentListSourcesResult struct { - Sources []model.TorrentSource `json:"sources"` + Sources []model1.TorrentSource `json:"sources"` } type TorrentMetricsQueryInput struct { @@ -219,9 +220,9 @@ type TorrentSourceAgg struct { } type TorrentSourceFacetInput struct { - Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` - Logic graphql.Omittable[*model.FacetLogic] `json:"logic,omitempty"` - Filter graphql.Omittable[[]string] `json:"filter,omitempty"` + Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` + Logic graphql.Omittable[*model1.FacetLogic] `json:"logic,omitempty"` + Filter graphql.Omittable[[]string] `json:"filter,omitempty"` } type TorrentTagAgg struct { @@ -232,33 +233,33 @@ type TorrentTagAgg struct { } type TorrentTagFacetInput struct { - Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` - Logic graphql.Omittable[*model.FacetLogic] `json:"logic,omitempty"` - Filter graphql.Omittable[[]string] `json:"filter,omitempty"` + Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` + Logic graphql.Omittable[*model1.FacetLogic] `json:"logic,omitempty"` + Filter graphql.Omittable[[]string] `json:"filter,omitempty"` } type VideoResolutionAgg struct { - Value *model.VideoResolution `json:"value,omitempty"` - Label string `json:"label"` - Count int `json:"count"` - IsEstimate bool `json:"isEstimate"` + Value *model1.VideoResolution `json:"value,omitempty"` + Label string `json:"label"` + Count int `json:"count"` + IsEstimate bool `json:"isEstimate"` } type VideoResolutionFacetInput struct { - Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` - Filter graphql.Omittable[[]*model.VideoResolution] `json:"filter,omitempty"` + Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` + Filter graphql.Omittable[[]*model1.VideoResolution] `json:"filter,omitempty"` } type VideoSourceAgg struct { - Value *model.VideoSource `json:"value,omitempty"` - Label string `json:"label"` - Count int `json:"count"` - IsEstimate bool `json:"isEstimate"` + Value *model1.VideoSource `json:"value,omitempty"` + Label string `json:"label"` + Count int `json:"count"` + IsEstimate bool `json:"isEstimate"` } type VideoSourceFacetInput struct { - Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` - Filter graphql.Omittable[[]*model.VideoSource] `json:"filter,omitempty"` + Aggregate graphql.Omittable[*bool] `json:"aggregate,omitempty"` + Filter graphql.Omittable[[]*model1.VideoSource] `json:"filter,omitempty"` } type Worker struct { @@ -274,47 +275,6 @@ type WorkersQuery struct { ListAll WorkersListAllQueryResult `json:"listAll"` } -type ClientID string - -const ( - ClientIDTransmission ClientID = "Transmission" - ClientIDQBittorrent ClientID = "QBittorrent" -) - -var AllClientID = []ClientID{ - ClientIDTransmission, - ClientIDQBittorrent, -} - -func (e ClientID) IsValid() bool { - switch e { - case ClientIDTransmission, ClientIDQBittorrent: - return true - } - return false -} - -func (e ClientID) String() string { - return string(e) -} - -func (e *ClientID) UnmarshalGQL(v any) error { - str, ok := v.(string) - if !ok { - return fmt.Errorf("enums must be strings") - } - - *e = ClientID(str) - if !e.IsValid() { - return fmt.Errorf("%s is not a valid ClientID", str) - } - return nil -} - -func (e ClientID) MarshalGQL(w io.Writer) { - fmt.Fprint(w, strconv.Quote(e.String())) -} - type HealthStatus string const ( diff --git a/internal/gql/resolvers/mutation.resolvers.go b/internal/gql/resolvers/mutation.resolvers.go index ef798184..7c89eaf0 100644 --- a/internal/gql/resolvers/mutation.resolvers.go +++ b/internal/gql/resolvers/mutation.resolvers.go @@ -9,6 +9,8 @@ import ( "github.com/bitmagnet-io/bitmagnet/internal/classifier" "github.com/bitmagnet-io/bitmagnet/internal/client" + "github.com/bitmagnet-io/bitmagnet/internal/client/adapter" + "github.com/bitmagnet-io/bitmagnet/internal/client/model" "github.com/bitmagnet-io/bitmagnet/internal/gql" "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel" "github.com/bitmagnet-io/bitmagnet/internal/gql/gqlmodel/gen" @@ -17,8 +19,8 @@ import ( ) // SendTo is the resolver for the sendTo field. -func (r *clientMutationResolver) SendTo(ctx context.Context, obj *gqlmodel.ClientMutation, clientID *gen.ClientID, infoHashes []protocol.ID) (*string, error) { - return nil, client.New(&r.ClientConfig, r.Search).AddInfoHashes(ctx, +func (r *clientMutationResolver) SendTo(ctx context.Context, obj *gqlmodel.ClientMutation, clientID *model.ID, infoHashes []protocol.ID) (*string, error) { + return nil, adapter.New(&r.ClientConfig, r.Search).AddInfoHashes(ctx, client.AddInfoHashesRequest{ ClientID: *clientID, InfoHashes: infoHashes, diff --git a/webui/src/app/graphql/codegen.ts b/webui/src/app/graphql/codegen.ts index de880f47..fa95f06b 100644 --- a/webui/src/app/graphql/codegen.ts +++ b/webui/src/app/graphql/codegen.ts @@ -32,6 +32,7 @@ const config: CodegenConfig = { Hash20: "string", Void: "void", Year: "number", + ClientID: "string", }, }, }, diff --git a/webui/src/app/graphql/generated/index.ts b/webui/src/app/graphql/generated/index.ts index 8e8f1c3c..22972054 100644 --- a/webui/src/app/graphql/generated/index.ts +++ b/webui/src/app/graphql/generated/index.ts @@ -17,6 +17,7 @@ export type Scalars = { Boolean: { input: boolean; output: boolean; } Int: { input: number; output: number; } Float: { input: number; output: number; } + ClientID: { input: string; output: string; } Date: { input: string; output: string; } DateTime: { input: string; output: string; } Duration: { input: string; output: string; } @@ -25,10 +26,6 @@ export type Scalars = { Year: { input: number; output: number; } }; -export type ClientId = - | 'QBittorrent' - | 'Transmission'; - export type ClientMutation = { __typename?: 'ClientMutation'; sendTo?: Maybe; @@ -36,14 +33,14 @@ export type ClientMutation = { export type ClientMutationSendToArgs = { - clientID?: InputMaybe; + clientID?: InputMaybe; infoHashes?: InputMaybe>; }; export type ClientSendToConfigQuery = { __typename?: 'ClientSendToConfigQuery'; enabled: Scalars['Boolean']['output']; - sendTo: Array; + sendTo: Array; }; export type Content = { @@ -902,7 +899,7 @@ export type TorrentFileFragment = { __typename?: 'TorrentFile', infoHash: string export type TorrentFilesQueryResultFragment = { __typename?: 'TorrentFilesQueryResult', totalCount: number, hasNextPage?: boolean | null, items: Array<{ __typename?: 'TorrentFile', infoHash: string, index: number, path: string, size: number, fileType?: FileType | null, createdAt: string, updatedAt: string }> }; export type ClientSendToMutationVariables = Exact<{ - clientID?: InputMaybe; + clientID?: InputMaybe; infoHashes: Array | Scalars['Hash20']['input']; }>; @@ -964,7 +961,7 @@ export type TorrentSetTagsMutation = { __typename?: 'Mutation', torrent: { __typ export type SendToConfigQueryVariables = Exact<{ [key: string]: never; }>; -export type SendToConfigQuery = { __typename?: 'Query', sendToConfig: { __typename?: 'ClientSendToConfigQuery', enabled: boolean, sendTo: Array } }; +export type SendToConfigQuery = { __typename?: 'Query', sendToConfig: { __typename?: 'ClientSendToConfigQuery', enabled: boolean, sendTo: Array } }; export type HealthCheckQueryVariables = Exact<{ [key: string]: never; }>; diff --git a/webui/src/app/torrents/torrents-bulk-actions.component.ts b/webui/src/app/torrents/torrents-bulk-actions.component.ts index 75cf8d51..0fd5737d 100644 --- a/webui/src/app/torrents/torrents-bulk-actions.component.ts +++ b/webui/src/app/torrents/torrents-bulk-actions.component.ts @@ -41,7 +41,7 @@ export class TorrentsBulkActionsComponent implements OnInit { selectedInfoHashes = new Array(); sendToEnabled = false; - sendToTargets = new Array(); + sendToTargets = new Array(); ngOnInit() { this.selectedItems$.subscribe((items) => { @@ -210,7 +210,7 @@ export class TorrentsBulkActionsComponent implements OnInit { .subscribe(); } - sendToTorrents(sendTo: generated.ClientId) { + sendToTorrents(sendTo: generated.Scalars["ClientID"]["input"]) { const infoHashes = this.selectedItems.map(({ infoHash }) => infoHash); this.graphQLService .clientSendToTarget({ clientID: sendTo, infoHashes: infoHashes }) From 4d43e43d7a6d68a39f77829cb133aa9706a54f38 Mon Sep 17 00:00:00 2001 From: rraymondgh Date: Wed, 18 Jun 2025 15:29:46 +0000 Subject: [PATCH 14/14] enums defined once --- graphql/schema/enums.graphqls | 6 +++ graphql/schema/scalars.graphqls | 1 - internal/client/config.go | 9 ++--- internal/gql/enums/enums.go | 2 + internal/gql/gql.gen.go | 38 ++++++++++++++++++- internal/gql/gqlgen.yml | 7 ---- webui/src/app/graphql/codegen.ts | 1 - webui/src/app/graphql/generated/index.ts | 14 ++++--- .../torrents-bulk-actions.component.ts | 4 +- 9 files changed, 59 insertions(+), 23 deletions(-) diff --git a/graphql/schema/enums.graphqls b/graphql/schema/enums.graphqls index 166ca94a..50586d3a 100644 --- a/graphql/schema/enums.graphqls +++ b/graphql/schema/enums.graphqls @@ -170,3 +170,9 @@ enum QueueJobsOrderByField { ran_at priority } + +enum ClientID { + QBittorrent + Transmission + Ntfy +} diff --git a/graphql/schema/scalars.graphqls b/graphql/schema/scalars.graphqls index 3f9c52d7..a3f44eba 100644 --- a/graphql/schema/scalars.graphqls +++ b/graphql/schema/scalars.graphqls @@ -4,4 +4,3 @@ scalar DateTime scalar Duration scalar Void scalar Year -scalar ClientID diff --git a/internal/client/config.go b/internal/client/config.go index 1e988e7d..75b326f8 100644 --- a/internal/client/config.go +++ b/internal/client/config.go @@ -6,7 +6,7 @@ import ( ) type SendTo struct { - ID string + ID clientmodel.ID Host string Port string Username string @@ -35,7 +35,7 @@ func NewDefaultConfig() Config { func (c Config) GetSendTo(id clientmodel.ID) (SendTo, bool) { for _, c := range c.SendTo { - if c.ID == string(id) { + if c.ID == id { return c, true } } @@ -47,9 +47,8 @@ func (c Config) All() []clientmodel.ID { all := make([]clientmodel.ID, 0) for _, s := range c.SendTo { - id, err := clientmodel.ParseID(s.ID) - if err == nil { - all = append(all, id) + if s.ID.IsValid() { + all = append(all, s.ID) } } diff --git a/internal/gql/enums/enums.go b/internal/gql/enums/enums.go index 96b98f75..33ef361d 100644 --- a/internal/gql/enums/enums.go +++ b/internal/gql/enums/enums.go @@ -1,6 +1,7 @@ package enums import ( + clientmodel "github.com/bitmagnet-io/bitmagnet/internal/client/model" "github.com/bitmagnet-io/bitmagnet/internal/database/search" "github.com/bitmagnet-io/bitmagnet/internal/model" ) @@ -31,4 +32,5 @@ var Enums = []enum{ newEnum("TorrentContentOrderByField", search.TorrentContentOrderByNames()), newEnum("TorrentFilesOrderByField", search.TorrentFilesOrderByNames()), newEnum("QueueJobsOrderByField", search.QueueJobsOrderByNames()), + newEnum("ClientID", clientmodel.IDNames()), } diff --git a/internal/gql/gql.gen.go b/internal/gql/gql.gen.go index 9b84a5af..ffe021e8 100644 --- a/internal/gql/gql.gen.go +++ b/internal/gql/gql.gen.go @@ -2461,6 +2461,12 @@ enum QueueJobsOrderByField { ran_at priority } + +enum ClientID { + QBittorrent + Transmission + Ntfy +} `, BuiltIn: false}, {Name: "../../graphql/schema/metrics.graphqls", Input: `enum MetricsBucketDuration { minute @@ -2857,7 +2863,6 @@ scalar DateTime scalar Duration scalar Void scalar Year -scalar ClientID `, BuiltIn: false}, {Name: "../../graphql/schema/torrent_content.graphqls", Input: `input TorrentContentSearchQueryInput { queryString: String @@ -21179,9 +21184,38 @@ func (ec *executionContext) unmarshalNClientID2ᚕgithubᚗcomᚋbitmagnetᚑio func (ec *executionContext) marshalNClientID2ᚕgithubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐIDᚄ(ctx context.Context, sel ast.SelectionSet, v []model.ID) graphql.Marshaler { ret := make(graphql.Array, len(v)) + var wg sync.WaitGroup + isLen1 := len(v) == 1 + if !isLen1 { + wg.Add(len(v)) + } for i := range v { - ret[i] = ec.marshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐID(ctx, sel, v[i]) + i := i + fc := &graphql.FieldContext{ + Index: &i, + Result: &v[i], + } + ctx := graphql.WithFieldContext(ctx, fc) + f := func(i int) { + defer func() { + if r := recover(); r != nil { + ec.Error(ctx, ec.Recover(ctx, r)) + ret = nil + } + }() + if !isLen1 { + defer wg.Done() + } + ret[i] = ec.marshalNClientID2githubᚗcomᚋbitmagnetᚑioᚋbitmagnetᚋinternalᚋclientᚋmodelᚐID(ctx, sel, v[i]) + } + if isLen1 { + f(i) + } else { + go f(i) + } + } + wg.Wait() for _, e := range ret { if e == graphql.Null { diff --git a/internal/gql/gqlgen.yml b/internal/gql/gqlgen.yml index d995be6a..449184ab 100644 --- a/internal/gql/gqlgen.yml +++ b/internal/gql/gqlgen.yml @@ -182,10 +182,3 @@ models: - github.com/bitmagnet-io/bitmagnet/internal/metrics/torrentmetrics.Bucket ClientID: model: github.com/bitmagnet-io/bitmagnet/internal/client/model.ID - enum_values: - Ntfy: - value: github.com/bitmagnet-io/bitmagnet/internal/client/model.IDNtfy - QBittorrent: - value: github.com/bitmagnet-io/bitmagnet/internal/client/model.IDQBittorrent - Transmission: - value: github.com/bitmagnet-io/bitmagnet/internal/client/model.IDTransmission diff --git a/webui/src/app/graphql/codegen.ts b/webui/src/app/graphql/codegen.ts index fa95f06b..de880f47 100644 --- a/webui/src/app/graphql/codegen.ts +++ b/webui/src/app/graphql/codegen.ts @@ -32,7 +32,6 @@ const config: CodegenConfig = { Hash20: "string", Void: "void", Year: "number", - ClientID: "string", }, }, }, diff --git a/webui/src/app/graphql/generated/index.ts b/webui/src/app/graphql/generated/index.ts index 22972054..19194965 100644 --- a/webui/src/app/graphql/generated/index.ts +++ b/webui/src/app/graphql/generated/index.ts @@ -17,7 +17,6 @@ export type Scalars = { Boolean: { input: boolean; output: boolean; } Int: { input: number; output: number; } Float: { input: number; output: number; } - ClientID: { input: string; output: string; } Date: { input: string; output: string; } DateTime: { input: string; output: string; } Duration: { input: string; output: string; } @@ -26,6 +25,11 @@ export type Scalars = { Year: { input: number; output: number; } }; +export type ClientId = + | 'Ntfy' + | 'QBittorrent' + | 'Transmission'; + export type ClientMutation = { __typename?: 'ClientMutation'; sendTo?: Maybe; @@ -33,14 +37,14 @@ export type ClientMutation = { export type ClientMutationSendToArgs = { - clientID?: InputMaybe; + clientID?: InputMaybe; infoHashes?: InputMaybe>; }; export type ClientSendToConfigQuery = { __typename?: 'ClientSendToConfigQuery'; enabled: Scalars['Boolean']['output']; - sendTo: Array; + sendTo: Array; }; export type Content = { @@ -899,7 +903,7 @@ export type TorrentFileFragment = { __typename?: 'TorrentFile', infoHash: string export type TorrentFilesQueryResultFragment = { __typename?: 'TorrentFilesQueryResult', totalCount: number, hasNextPage?: boolean | null, items: Array<{ __typename?: 'TorrentFile', infoHash: string, index: number, path: string, size: number, fileType?: FileType | null, createdAt: string, updatedAt: string }> }; export type ClientSendToMutationVariables = Exact<{ - clientID?: InputMaybe; + clientID?: InputMaybe; infoHashes: Array | Scalars['Hash20']['input']; }>; @@ -961,7 +965,7 @@ export type TorrentSetTagsMutation = { __typename?: 'Mutation', torrent: { __typ export type SendToConfigQueryVariables = Exact<{ [key: string]: never; }>; -export type SendToConfigQuery = { __typename?: 'Query', sendToConfig: { __typename?: 'ClientSendToConfigQuery', enabled: boolean, sendTo: Array } }; +export type SendToConfigQuery = { __typename?: 'Query', sendToConfig: { __typename?: 'ClientSendToConfigQuery', enabled: boolean, sendTo: Array } }; export type HealthCheckQueryVariables = Exact<{ [key: string]: never; }>; diff --git a/webui/src/app/torrents/torrents-bulk-actions.component.ts b/webui/src/app/torrents/torrents-bulk-actions.component.ts index 0fd5737d..75cf8d51 100644 --- a/webui/src/app/torrents/torrents-bulk-actions.component.ts +++ b/webui/src/app/torrents/torrents-bulk-actions.component.ts @@ -41,7 +41,7 @@ export class TorrentsBulkActionsComponent implements OnInit { selectedInfoHashes = new Array(); sendToEnabled = false; - sendToTargets = new Array(); + sendToTargets = new Array(); ngOnInit() { this.selectedItems$.subscribe((items) => { @@ -210,7 +210,7 @@ export class TorrentsBulkActionsComponent implements OnInit { .subscribe(); } - sendToTorrents(sendTo: generated.Scalars["ClientID"]["input"]) { + sendToTorrents(sendTo: generated.ClientId) { const infoHashes = this.selectedItems.map(({ infoHash }) => infoHash); this.graphQLService .clientSendToTarget({ clientID: sendTo, infoHashes: infoHashes })